304Lab2_FilterDesignAndAnalysis

304Lab2_FilterDesignAndAnalysis - EEE 304 Lab 2 Filter...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
EEE 304 – Lab 2 Filter Design and Analysis using LabVIEW
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1 Introduction This lab introduces some fundamental concepts in filter design and analysis using National Instruments LabVIEW, through a simple programming example. This exercise extensively uses LabVIEW functions in the Control Design Toolkit and the Digital Filter Design Toolkit . The objective of this lab exercise is to explore some of the basics in analog and digital filter design using the intuitive interface that LabVIEW provides. Exercise 1 This exercise provides the basic steps to create and analyze a continuous-time LTI model system and convert it into a discrete-time system. Furthermore, the response of the LTI system to arbitrary signals is computed. Figure 1 provides the block diagram for this exercise. TRANSFER FUNCTION MODEL BODE FREQUENCY RESPONSE STEP RESPONSE CONVERT TO A DISCRETE SYSTEM SIMULATION LOOP IMPLEMENT TRANSFER FUNCTION MODEL BUILD DIGITAL FILTER DIGITAL FILTER ANALYSIS Figure 1. Block Diagram for Exercise 1 1.1 Create a LTI System by Transfer Function Model A transfer function of an LTI system, given by the Laplace Transform of its impulse response, is a mathematical representation of the relation between the input and output of the system. The function CD Create Transfer Function Model ( Addons>>Control Design>>Model Construction ) of the Control Design Toolkit can be used to create the transfer function representation of a system. The parameters that are passed to this function are numerator , denominator , Sampling Time and Delay . This VI is a polymorphic VI i.e. it accepts different
Background image of page 2
2 types of input arguments and returns values corresponding to the input arguments. For this exercise, choose the option SISO (Single Input Single Output) to create a simple LTI system. Create a LTI system with the transfer function ( ) 2 () 1 1 Hs s = + using this function in LabVIEW (set numerator: 1; set denominator: [1 0 1]). 1.2 Bode Frequency Response of the LTI Model The function CD Bode ( Addons>>Control Design>>Frequency Response ) produces the Bode magnitude and the Bode phase plots of the system model on an XY graph. This is suitable for models created using CD Construct Transfer Function Model (with a frequency range) or by creating systems using other LabVIEW functions such as state space models, zero-pole gain models etc. You can use the default values for the frequency range and the number of points that LabVIEW provides. Compute the Bode magnitude plot in your block diagram by using the transfer function model created in the previous step with this VI. From the dropdown menu below the block, choose the option Frequency Range>>Transfer Function . Create a graph to display the magnitude plot in the Front panel. Right Click at the Bode Magnitude output and Create>> Indicator.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/01/2010 for the course EEE 304 taught by Professor Tsakalis during the Spring '10 term at University of Arizona- Tucson.

Page1 / 10

304Lab2_FilterDesignAndAnalysis - EEE 304 Lab 2 Filter...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online