Discrete - Time Signals and Systems

Total Page:16

File Type:pdf, Size:1020Kb

Discrete - Time Signals and Systems Discrete - Time Signals and Systems Z-Transform-FIR filters Yogananda Isukapalli FIR filters-Review M y[]nbx= å k [n - k]...general difference equation for FIR filters k =0 Filter Order = M: No. of memory blocks required in the filter implementation Filter Length, L = M+1: Total No. of samples required in calculating the output, M from memory (past) and one present sample Filter coefficients {bk}: Completely defines an FIR filter. All the properties of the filter can be understood through the coefficients Z- transform of impulse response h[] n results in 'transfer function', it is also known as 'system function' Hz( )[]= å hnz-n n From the previous lecture recall that Transfer function Yz() Hz()= Xz() Þ Yz( )()= HX z ()z Notice the mathematical simplicity of the above result Convolution becomes a simple multiplicatio n hn[]*« xn []() H z Xz() Calculating the output of a FIR filter using Z- transforms Steps involved 1) Find the Z- transform of input signal x[ n ] ¥ Xz()= å xnz []-n n=-¥ 2) Find the Z- transform of impulse response h[ n ] M Hz()= å h [nz] -n n=0 3) Multiply X( z ) and H(z ) to get Y() z 4) Obtain output y[] n by applying inverse Z- transform to Y ()z --1 yn[]¬¾! ¾® Y( z) Why to operate in transforms? Z-TRANSFORM-DOMAIN M Hz( )= å hnz [ ] -n n=0 {bk } TIME-DOMAIN FREQ-DOMAIN Fig 12.1 M M jwˆ jwˆ - jwˆ k y[n] = b x[n - k] He()= Hz () ˆ H (e ) = bke å k ze= jw å k=0 k=0 \ z= ejwˆ , makes both domains equal x[n] h[n] = d [n] -d [n -1] y[n] x[n] y[n] jwˆ - jwˆ n x[n] jwˆ - jwˆ y[n] H (e ) = åh[n]e H (e ) = 1- e n -n x[n] -1 y[n] Hz()= å hnz [] Hz()= 1- z n Fig 12.2 Same output from all three domains Computational complexity determines the domain Some of the filter properties are better understood in frequency or Z-domains Z and frequency transforms are related Example 1 Calculating the transfer function of the FIR filter with impulse response co- efficients given by, {[]}{2,0,3,0,2}hn = - {[]}{2,0,3,hn = - 0, 2} 4 Hz()= å hnz [] -n n=0 Hz( )=+ h [0] h[1] z----1234 + h [2] z + h [3]zhz + [4] =+2 0zzzz--12-- 3 0 - 3+ 2 - 4 = 2- 3z--2 + 2z 4 Example 2 Calculating the transfer function of the FIR filter described by the difference equation yn[]=+ xn [] 2[ xn -1]-3[ xn -2]-4[ xn -3] hn[]= bk hn[]= { 1,2,-3,-4} 3 H (zn)[= å hz] -n n=0 Hz( )=+ h [0] h [1]zhzhz---123 + [2] + [3] =+1 2z-12--34z--z 3 Example 3 Calculating the output of the FIR filter xn[ ]=+dd [ n -1]- [ n - 2] dd [ n -3]- [ n - 4] hn[ ]=+dd [ n ] 2 [ n -1] + 3 d [ n - 2] + 4 d [ n -3] z -n0 !d[-nn0 ]¬¾® z Xz()= zzzz--1234- - + - - Hz()=+1324z-12 +zz--+ 3 !Yz()= XzHz () () =( zzzz----1234- + - )( 1++24zz - 13z- 2+ - 3) =zz--12+ (- 1++ 2) (1- 2++ 3) z - 3 (- 1+ 2- 3+ 4) z - 4 +(- 2+ 3- 4)zzz---567+ (- 3++ 4) (- 4) =z--12++zzzzzz 2 - 3 + 2 - 4- 3- 56+ -- 4 - 7 Apply the inverse Z- transform --1 -n0 Z ! znn¬¾ ¾® d[-0 ] Yz()=+ z-1 z-2 + 2 z-34567+ 23zzzz----- + - 4 yn[ ]=++dd [ n -1] [ n - 2] 2 d [ n -3] + 2 d [ n - 4]- 3 d [ n -5] +dd[nn - 6]- 4 [ - 7] Example 4 Find the impulse response of the FIR filter xn[ ]= d [ n - 2] yn[ ]=+dd [ n ] 2 [ n -1] + 3 d [ n - 2] + 4 d [ n -3] z -n0 !d[-nn0 ]¬¾® z Xz()= z-2 Yz()=+ 1 2 z--1 ++ 3z 23 4z - Yz() ! Hz()= Xz() 12++zzz-12 3--+ 4 3 =234=+z2 z + + z-1 z-2 h[ n ]=++++dd [ n 2] 2dd [ n 1] 3 [ n ]+ 4 [ n-1]... non causal Example 5 Calculating the output of the FIR filter An 0££ 4 xn[]= 0 elsewhere n 1 2 0££n 3 hn[]= ( ) 0 elsewhere ¥ Xz()= å xnz []-n n=-¥ 4 ==+++++å Az-----n A(1 z1234 z z z ) n=0 ¥ Hz()= å hnz []-n n=-¥ 3 n ==å (1 2) z-n n=0 =+(1 (12) zzz---12+ ( 14) + (1 8)) 3 !Yz()= HzXz () () =(1Az+++++----1234 z z z )(112 +( ) z - 1 +( 14) z - 2 +( 18) z - 3 ) =+Az(1( 3 2) --12 +( 7 4) z +( 15 8) z - 3 +( 15 8) z - 4 + (7 8) z---56+ ( 3 8) zz+ (18) 7 ) yn[] = A(dd[nn ]+ ( 3 2) [- 1]+ ( 7 4) d [ n- 2]+ ( 15 8) d [ n- 3] +( 15 8)ddd [nnn- 4]+ ( 7 8) [- 5]+ ( 3 8) [- 6] + (1 8)d [n - 7]) Cascading Systems Fig 12.3 x[ n ]... input signal to the 1st FIRfilter h[ n ]... impulse response of the 1st FIRfilter w[ n ]... output of the 1st FIR filter and input to the 2 nd FIR filter y[ n ]... output of the 2nd filter, also this is the overall output Fig 12.4 z hn[]= h1 [ n][* h2 n]¬¾® Hz()= H12 () zH( z) Cascaded system can be replaced by a single filter with system function H() z Example 1 The impulse responses in a cascaded system are hn1[]= dd [] n-- [ n 1] hn2[]=+dd [] n [ n- 1] Find the impulse response of an effective system that can replace the cascading arrangement z -n0 !d[-nn0 ]¬¾® z zz hn1122[ ]¬¾®Hz(), h[ n] ¬¾® H () z -1 Hz1()= 1- z -1 Hz2 ()=+ 1 z --11 - 2 H (z) ==HzHz12() ()= ( 1- z)( 1+ z) 1- z hn[]= d [nn]-d[- 2] Example 2 Consider a system described by the difference equations wn[]= 3[] xn-- xn [ 1] yn[]= 2[] wn-- wn [ 1] Find the impulse response of an effective system that can replace the cascading arrangement hn11[]== bk () [3,1]- hn1[]= 3[]dd n-- [ n 1] hn22[]== bk () [2,1]- hn2[]= 2[]dd n-- [ n 1] z -n0 !d[-nn0 ]¬¾® z zz h1122[nhn ]¬¾® Hz(), [ ]¬¾® H () z -1 Hz1()= 3- z -1 Hz2 ()= 2- z --11 Hz()= HzHz12() ()= ( 3-- z)( 2 z ) --12 =+6 - 5zz hn[ ]= 6dd [ n ]-- 5 [ n 1]+ d [ n- 2] The system can now be expressed as one difference equation y[nxnxnxn ]= 6 [ ]-- 5 [ 1]+ [- 2] Example 3 The impulse response of an effective system, hn[ ]= dd [ n ]-- 2 [ n 1]+ 2 d [ n-- 2] d [ n - 3] Split the above filter into two cascaded filters such that the 1st system is described by, wn[]= xn []-- xn [ 1] z -n0 !d[-nn0 ]¬¾® z Hz()= 1- 2 z---123+ 2 z- z hn1[]= dd [] n-- [ n 1] -1 Hz1()= 1- z ! Hz()= H12 () zH () z Hz() Hz2 ()= Hz1() 12- zzz---123+ 2 - = 1- z-1 =1- zz--12+ h2[nnn ]= dd [ ]-- [ 1]+ d [ n- 2] yn[ ]= wn [ ]- wn [-- 1]+ w [n 2]ü ýComplete system wn[]= x []nxn- [1]- þ Fig 12.5 Example 4: Deconvolution Cascading of filters has an important practical application Undoing the effects of the first filter Example: Communication channel Undoing the effects of channel on signal is called equalization Yz()= H1 ()z HzXz2 () () if Y() z= X () z Þ HzHz12() ()= 1 -1 Assume H1 ( z )= 1- z 1 Hz2 ()= 1- z-1 Z-Transform & Unit circle The frequency or wˆ -- domain is a subset of z domain The general expression for Z is, z= re jwˆ , where, ' r ' is the radius of the circle z= ejwˆ , makes both domains equal jwˆ He()= Hz () ˆ ze= jw ˆ ! z= ejw = 1, the unit circle has a unique significance in the z- domain Gray dots, z= {- j,1, j} ìüpp wˆ = íý- ,0, îþ22 General Z- plane z= ejwˆ , special case z- domain= wˆ - domain Fig 12.6 Note that 'wˆ ' is the discrete- time frequency discussed in previous lectures -pwp££¬ˆ ¾® -11 £z £ Periodicity in wpˆ --- domain2 radians, one cycle in z - domain Zeros & Poles Consider the transfer function of an FIR filter Hz()= 1- 2 z---12+ 2 z- z3 Convert the above function as a polynomial in ' z ' (12- zz-1233+ 2--- zz) Hz( ) = z3 z32- 221zz+ - = z3 write the numerator in factored form, z3 - 221(1)()()zz233+ - = zzeze--jjpp -- (1)(zzeze--jjpp33 )( -- ) H ()z = z3 Zeros....The values of z for which H()0 z = In this example, H( z )== 0 for z{1,, ejjpp33 e- } Poles....The values of z for which H() z ® ¥ H( z )® ¥ for z = {0,0,0} note that z3 = 0 results in 3 roots It is also known as a 3rd order pole at z = 0 Significance of zeros in an p j FIR system : 3 ze2 = Except for a constant FIR system is completely characterized by the zeros 3 poles z1 = 1 The difference equation which desribes the relation between x[ n ] and y[n ], can p be found with the knowledge - j 3 ze3 = of zero locations Fig 12.7 Example 1 Find the poles and zeros for the transfer function? Hz( ) = 13- z--12+ 2 z Converting into a polynomial in '' z zz2 - 32+ Hz()= z2 write the numerator in factored form, zz2 - 3+= 2 ( z-- 2)( z 1) zeros==[ z1,][2, z2 1] nd polesp= [,1 p2 ]== [0,0] 2 order pole at z =0 Example 1 continued… Fig 12.8 Notice that both the zeros are on real axis, also notice one pole is not included in the unit circle. There is a double pole at z=0 Example 2 Find the poles and zeros of an FIR system described by the difference equation, yn[]= xn []--x [n 1]+ x [n - 2] Theimpulseresponsefunctionisgivenby hn[ ]= dd [ n ]-- [ n 1]+ d [ n- 2] z -n0 !d[-nn0 ]¬¾® z Hz( )1= - z--12+ z Converting into a polynomial in '' z zz2 - +1 Hz()= z2 write the numerator in factored form, zz233- +=1( ze--jjpp )( ze- ) zeros= [, ejjpp33 e- ], both on unit circle poles==[0,0] 2nd order pole at z =0 p 3 2 poles - p 3 Fig 12.9 Example 3 The zeros and poles of an FIR filter are given, zeros= [, ejjpp4 e- 4 ] poles = [0,0] Find the difference equation of the filter The numerator is obtained through multiplication of factors ()(ze--jjp 442 ze- p ) = z- 2 z+1 denominator through poles, z2 zz2 - 21+ Hz()= z2 = 1- 2zz--12+ Apply inverse Z- transform, hn[]= ddd [] n-- 2[ n 1]+ [ n- 2] The difference equation yn[]= xn []-- 2[ xn 1]+ xn [- 2] Notice that, because of conjugate zeros a sinusoid signal with p 4 frequency p 4 will be nulled out by this FIR filter Fig 12.10 Example 4, Application: Nulling filters The Graphical Design of a Comb filter • In medical applications, the 60Hz frequency of the power supply is often “picked up” by the test equipment (EKG recorder) • Also harmonically related frequencies such as f2 = 2x60 = 120Hz, and f3 = 3x60 = 180 Hz are generated because of non-linear phenomena.
Recommended publications
  • Moving Average Filters
    CHAPTER 15 Moving Average Filters The moving average is the most common filter in DSP, mainly because it is the easiest digital filter to understand and use. In spite of its simplicity, the moving average filter is optimal for a common task: reducing random noise while retaining a sharp step response. This makes it the premier filter for time domain encoded signals. However, the moving average is the worst filter for frequency domain encoded signals, with little ability to separate one band of frequencies from another. Relatives of the moving average filter include the Gaussian, Blackman, and multiple- pass moving average. These have slightly better performance in the frequency domain, at the expense of increased computation time. Implementation by Convolution As the name implies, the moving average filter operates by averaging a number of points from the input signal to produce each point in the output signal. In equation form, this is written: EQUATION 15-1 Equation of the moving average filter. In M &1 this equation, x[ ] is the input signal, y[ ] is ' 1 % y[i] j x [i j ] the output signal, and M is the number of M j'0 points used in the moving average. This equation only uses points on one side of the output sample being calculated. Where x[ ] is the input signal, y[ ] is the output signal, and M is the number of points in the average. For example, in a 5 point moving average filter, point 80 in the output signal is given by: x [80] % x [81] % x [82] % x [83] % x [84] y [80] ' 5 277 278 The Scientist and Engineer's Guide to Digital Signal Processing As an alternative, the group of points from the input signal can be chosen symmetrically around the output point: x[78] % x[79] % x[80] % x[81] % x[82] y[80] ' 5 This corresponds to changing the summation in Eq.
    [Show full text]
  • Lecture 3: Transfer Function and Dynamic Response Analysis
    Transfer function approach Dynamic response Summary Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis Paweł Malczyk Division of Theory of Machines and Robots Institute of Aeronautics and Applied Mechanics Faculty of Power and Aeronautical Engineering Warsaw University of Technology October 17, 2019 © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 1 / 31 Transfer function approach Dynamic response Summary Outline 1 Transfer function approach 2 Dynamic response 3 Summary © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 2 / 31 Transfer function approach Dynamic response Summary Transfer function approach 1 Transfer function approach SISO system Definition Poles and zeros Transfer function for multivariable system Properties 2 Dynamic response 3 Summary © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 3 / 31 Transfer function approach Dynamic response Summary SISO system Fig. 1: Block diagram of a single input single output (SISO) system Consider the continuous, linear time-invariant (LTI) system defined by linear constant coefficient ordinary differential equation (LCCODE): dny dn−1y + − + ··· + _ + = an n an 1 n−1 a1y a0y dt dt (1) dmu dm−1u = b + b − + ··· + b u_ + b u m dtm m 1 dtm−1 1 0 initial conditions y(0), y_(0),..., y(n−1)(0), and u(0),..., u(m−1)(0) given, u(t) – input signal, y(t) – output signal, ai – real constants for i = 1, ··· , n, and bj – real constants for j = 1, ··· , m. How do I find the LCCODE (1)? .
    [Show full text]
  • Designing Filters Using the Digital Filter Design Toolkit Rahman Jamal, Mike Cerna, John Hanks
    NATIONAL Application Note 097 INSTRUMENTS® The Software is the Instrument ® Designing Filters Using the Digital Filter Design Toolkit Rahman Jamal, Mike Cerna, John Hanks Introduction The importance of digital filters is well established. Digital filters, and more generally digital signal processing algorithms, are classified as discrete-time systems. They are commonly implemented on a general purpose computer or on a dedicated digital signal processing (DSP) chip. Due to their well-known advantages, digital filters are often replacing classical analog filters. In this application note, we introduce a new digital filter design and analysis tool implemented in LabVIEW with which developers can graphically design classical IIR and FIR filters, interactively review filter responses, and save filter coefficients. In addition, real-world filter testing can be performed within the digital filter design application using a plug-in data acquisition board. Digital Filter Design Process Digital filters are used in a wide variety of signal processing applications, such as spectrum analysis, digital image processing, and pattern recognition. Digital filters eliminate a number of problems associated with their classical analog counterparts and thus are preferably used in place of analog filters. Digital filters belong to the class of discrete-time LTI (linear time invariant) systems, which are characterized by the properties of causality, recursibility, and stability. They can be characterized in the time domain by their unit-impulse response, and in the transform domain by their transfer function. Obviously, the unit-impulse response sequence of a causal LTI system could be of either finite or infinite duration and this property determines their classification into either finite impulse response (FIR) or infinite impulse response (IIR) system.
    [Show full text]
  • Control Theory
    Control theory S. Simrock DESY, Hamburg, Germany Abstract In engineering and mathematics, control theory deals with the behaviour of dynamical systems. The desired output of a system is called the reference. When one or more output variables of a system need to follow a certain ref- erence over time, a controller manipulates the inputs to a system to obtain the desired effect on the output of the system. Rapid advances in digital system technology have radically altered the control design options. It has become routinely practicable to design very complicated digital controllers and to carry out the extensive calculations required for their design. These advances in im- plementation and design capability can be obtained at low cost because of the widespread availability of inexpensive and powerful digital processing plat- forms and high-speed analog IO devices. 1 Introduction The emphasis of this tutorial on control theory is on the design of digital controls to achieve good dy- namic response and small errors while using signals that are sampled in time and quantized in amplitude. Both transform (classical control) and state-space (modern control) methods are described and applied to illustrative examples. The transform methods emphasized are the root-locus method of Evans and fre- quency response. The state-space methods developed are the technique of pole assignment augmented by an estimator (observer) and optimal quadratic-loss control. The optimal control problems use the steady-state constant gain solution. Other topics covered are system identification and non-linear control. System identification is a general term to describe mathematical tools and algorithms that build dynamical models from measured data.
    [Show full text]
  • Finite Impulse Response (FIR) Digital Filters (II) Ideal Impulse Response Design Examples Yogananda Isukapalli
    Finite Impulse Response (FIR) Digital Filters (II) Ideal Impulse Response Design Examples Yogananda Isukapalli 1 • FIR Filter Design Problem Given H(z) or H(ejw), find filter coefficients {b0, b1, b2, ….. bN-1} which are equal to {h0, h1, h2, ….hN-1} in the case of FIR filters. 1 z-1 z-1 z-1 z-1 x[n] h0 h1 h2 h3 hN-2 hN-1 1 1 1 1 1 y[n] Consider a general (infinite impulse response) definition: ¥ H (z) = å h[n] z-n n=-¥ 2 From complex variable theory, the inverse transform is: 1 n -1 h[n] = ò H (z)z dz 2pj C Where C is a counterclockwise closed contour in the region of convergence of H(z) and encircling the origin of the z-plane • Evaluating H(z) on the unit circle ( z = ejw ) : ¥ H (e jw ) = åh[n]e- jnw n=-¥ 1 p h[n] = ò H (e jw )e jnwdw where dz = jejw dw 2p -p 3 • Design of an ideal low pass FIR digital filter H(ejw) K -2p -p -wc 0 wc p 2p w Find ideal low pass impulse response {h[n]} 1 p h [n] = H (e jw )e jnwdw LP ò 2p -p 1 wc = Ke jnwdw 2p ò -wc Hence K h [n] = sin(nw ) n = 0, ±1, ±2, …. ±¥ LP np c 4 Let K = 1, wc = p/4, n = 0, ±1, …, ±10 The impulse response coefficients are n = 0, h[n] = 0.25 n = ±4, h[n] = 0 = ±1, = 0.225 = ±5, = -0.043 = ±2, = 0.159 = ±6, = -0.053 = ±3, = 0.075 = ±7, = -0.032 n = ±8, h[n] = 0 = ±9, = 0.025 = ±10, = 0.032 5 Non Causal FIR Impulse Response We can make it causal if we shift hLP[n] by 10 units to the right: K h [n] = sin((n -10)w ) LP (n -10)p c n = 0, 1, 2, ….
    [Show full text]
  • Step Response of Series RLC Circuit ‐ Output Taken Across Capacitor
    ESE 271 / Spring 2013 / Lecture 23 Step response of series RLC circuit ‐ output taken across capacitor. What happens during transient period from initial steady state to final steady state? 1 ESE 271 / Spring 2013 / Lecture 23 Transfer function of series RLC ‐ output taken across capacitor. Poles: Case 1: ‐‐two differen t real poles Case 2: ‐ two identical real poles ‐ complex conjugate poles Case 3: 2 ESE 271 / Spring 2013 / Lecture 23 Case 1: two different real poles. Step response of series RLC ‐ output taken across capacitor. Overdamped case –the circuit demonstrates relatively slow transient response. 3 ESE 271 / Spring 2013 / Lecture 23 Case 1: two different real poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Uncorrected Bode Gain Plot Overdamped case –the circuit demonstrates relatively limited bandwidth 4 ESE 271 / Spring 2013 / Lecture 23 Case 2: two identical real poles. Step response of series RLC ‐ output taken across capacitor. Critically damped case –the circuit demonstrates the shortest possible rise time without overshoot. 5 ESE 271 / Spring 2013 / Lecture 23 Case 2: two identical real poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Critically damped case –the circuit demonstrates the widest bandwidth without apparent resonance. Uncorrected Bode Gain Plot 6 ESE 271 / Spring 2013 / Lecture 23 Case 3: two complex poles. Step response of series RLC ‐ output taken across capacitor. Underdamped case – the circuit oscillates. 7 ESE 271 / Spring 2013 / Lecture 23 Case 3: two complex poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Corrected Bode GiGain Plot Underdamped case –the circuit can demonstrate apparent resonant behavior.
    [Show full text]
  • Frequency Response and Bode Plots
    1 Frequency Response and Bode Plots 1.1 Preliminaries The steady-state sinusoidal frequency-response of a circuit is described by the phasor transfer function Hj( ) . A Bode plot is a graph of the magnitude (in dB) or phase of the transfer function versus frequency. Of course we can easily program the transfer function into a computer to make such plots, and for very complicated transfer functions this may be our only recourse. But in many cases the key features of the plot can be quickly sketched by hand using some simple rules that identify the impact of the poles and zeroes in shaping the frequency response. The advantage of this approach is the insight it provides on how the circuit elements influence the frequency response. This is especially important in the design of frequency-selective circuits. We will first consider how to generate Bode plots for simple poles, and then discuss how to handle the general second-order response. Before doing this, however, it may be helpful to review some properties of transfer functions, the decibel scale, and properties of the log function. Poles, Zeroes, and Stability The s-domain transfer function is always a rational polynomial function of the form Ns() smm as12 a s m asa Hs() K K mm12 10 (1.1) nn12 n Ds() s bsnn12 b s bsb 10 As we have seen already, the polynomials in the numerator and denominator are factored to find the poles and zeroes; these are the values of s that make the numerator or denominator zero. If we write the zeroes as zz123,, zetc., and similarly write the poles as pp123,, p , then Hs( ) can be written in factored form as ()()()s zsz sz Hs() K 12 m (1.2) ()()()s psp12 sp n 1 © Bob York 2009 2 Frequency Response and Bode Plots The pole and zero locations can be real or complex.
    [Show full text]
  • Linear Time Invariant Systems
    UNIT III LINEAR TIME INVARIANT CONTINUOUS TIME SYSTEMS CT systems – Linear Time invariant Systems – Basic properties of continuous time systems – Linearity, Causality, Time invariance, Stability – Frequency response of LTI systems – Analysis and characterization of LTI systems using Laplace transform – Computation of impulse response and transfer function using Laplace transform – Differential equation – Impulse response – Convolution integral and Frequency response. System A system may be defined as a set of elements or functional blocks which are connected together and produces an output in response to an input signal. The response or output of the system depends upon transfer function of the system. Mathematically, the functional relationship between input and output may be written as y(t)=f[x(t)] Types of system Like signals, systems may also be of two types as under: 1. Continuous-time system 2. Discrete time system Continuous time System Continuous time system may be defined as those systems in which the associated signals are also continuous. This means that input and output of continuous – time system are both continuous time signals. For example: Audio, video amplifiers, power supplies etc., are continuous time systems. Discrete time systems Discrete time system may be defined as a system in which the associated signals are also discrete time signals. This means that in a discrete time system, the input and output are both discrete time signals. For example, microprocessors, semiconductor memories, shift registers etc., are discrete time signals. LTI system:- Systems are broadly classified as continuous time systems and discrete time systems. Continuous time systems deal with continuous time signals and discrete time systems deal with discrete time system.
    [Show full text]
  • ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters
    Department of Electrical Engineering University of Arkansas ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters Dr. Jingxian Wu [email protected] 2 OUTLINE • FIR and IIR Filters • Filter Structures • Analog Filters • FIR Filter Design • IIR Filter Design 3 FIR V.S. IIR • LTI discrete-time system – Difference equation in time domain N M y(n) ak y(n k) bk x(n k) k 1 k 0 – Transfer function in z-domain N M k k Y (z) akY (z)z bk X (z)z k 1 k 0 M k bk z Y (z) k 0 H (z) N X (z) k 1 ak z k 1 4 FIR V.S. IIR • Finite impulse response (FIR) – difference equation in the time domain M y(n) bk x(n k) k 0 – Transfer function in the Z-domain M Y (z) k H (z) bk z X (z) k 0 – Impulse response h(n) [b ,b ,,b ] 0 1 M • The impulse response is of finite length finite impulse response 5 FIR V.S. IIR • Infinite impulse response (IIR) – Difference equation in the time domain N M y(n) ak y(n k) bk x(n k) k1 k0 – Transfer function in the z-domain M k bk z Y(z) k0 H (z) N X (z) k 1 ak z k1 – Impulse response can be obtained through inverse-z transform, and it has infinite length 6 FIR V.S. IIR • Example – Find the impulse response of the following system. Is it a FIR or IIR filter? Is it stable? 1 y(n) y(n 2) x(n) 4 7 FIR V.S.
    [Show full text]
  • Simplified, Physically-Informed Models of Distortion and Overdrive Guitar Effects Pedals
    Proc. of the 10th Int. Conference on Digital Audio Effects (DAFx-07), Bordeaux, France, September 10-15, 2007 SIMPLIFIED, PHYSICALLY-INFORMED MODELS OF DISTORTION AND OVERDRIVE GUITAR EFFECTS PEDALS David T. Yeh, Jonathan S. Abel and Julius O. Smith Center for Computer Research in Music and Acoustics (CCRMA) Stanford University, Stanford, CA [dtyeh|abel|jos]@ccrma.stanford.edu ABSTRACT retained, however, because intermodulation due to mixing of sub- sonic components with audio frequency components is noticeable This paper explores a computationally efficient, physically in- in the audio band. formed approach to design algorithms for emulating guitar distor- tion circuits. Two iconic effects pedals are studied: the “Distor- Stages are partitioned at points in the circuit where an active tion” pedal and the “Tube Screamer” or “Overdrive” pedal. The element with low source impedance drives a high impedance load. primary distortion mechanism in both pedals is a diode clipper This approximation is also made with less accuracy where passive with an embedded low-pass filter, and is shown to follow a non- components feed into loads with higher impedance. Neglecting linear ordinary differential equation whose solution is computa- the interaction between the stages introduces magnitude error by a tionally expensive for real-time use. In the proposed method, a scalar factor and neglects higher order terms in the transfer func- simplified model, comprising the cascade of a conditioning filter, tion that are usually small in the audio band. memoryless nonlinearity and equalization filter, is chosen for its The nonlinearity may be evaluated as a nonlinear ordinary dif- computationally efficient, numerically robust properties.
    [Show full text]
  • Digital Signal Processing Filter Design
    2065-27 Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis 26 October - 20 November, 2009 Digital Signal Processing Filter Design Massimiliano Nolich DEEI Facolta' di Ingegneria Universita' degli Studi di Trieste via Valerio, 10, 34127 Trieste Italy Filter design 1 Design considerations: a framework |H(f)| 1 C ıp 1 ıp ıs f 0 fp fs Passband Transition Stopband band The design of a digital filter involves five steps: Specification: The characteristics of the filter often have to be specified in the frequency domain. For example, for frequency selective filters (lowpass, highpass, bandpass, etc.) the specification usually involves tolerance limits as shown above. Coefficient calculation: Approximation methods have to be used to calculate the values hŒk for a FIR implementation, or ak, bk for an IIR implementation. Equivalently, this involves finding a filter which has H.z/ satisfying the requirements. Realisation: This involves converting H.z/ into a suitable filter structure. Block or flow diagrams are often used to depict filter structures, and show the computational procedure for implementing the digital filter. 1 Analysis of finite wordlength effects: In practice one should check that the quantisation used in the implementation does not degrade the performance of the filter to a point where it is unusable. Implementation: The filter is implemented in software or hardware. The criteria for selecting the implementation method involve issues such as real-time performance, complexity, processing requirements, and availability of equipment. 2 Finite impulse response (FIR) filter design A FIR filter is characterised by the equations N 1 yŒn D hŒkxŒn k kXD0 N 1 H.z/ D hŒkzk: kXD0 The following are useful properties of FIR filters: They are always stable — the system function contains no poles.
    [Show full text]
  • Control System Design Methods
    Christiansen-Sec.19.qxd 06:08:2004 6:43 PM Page 19.1 The Electronics Engineers' Handbook, 5th Edition McGraw-Hill, Section 19, pp. 19.1-19.30, 2005. SECTION 19 CONTROL SYSTEMS Control is used to modify the behavior of a system so it behaves in a specific desirable way over time. For example, we may want the speed of a car on the highway to remain as close as possible to 60 miles per hour in spite of possible hills or adverse wind; or we may want an aircraft to follow a desired altitude, heading, and velocity profile independent of wind gusts; or we may want the temperature and pressure in a reactor vessel in a chemical process plant to be maintained at desired levels. All these are being accomplished today by control methods and the above are examples of what automatic control systems are designed to do, without human intervention. Control is used whenever quantities such as speed, altitude, temperature, or voltage must be made to behave in some desirable way over time. This section provides an introduction to control system design methods. P.A., Z.G. In This Section: CHAPTER 19.1 CONTROL SYSTEM DESIGN 19.3 INTRODUCTION 19.3 Proportional-Integral-Derivative Control 19.3 The Role of Control Theory 19.4 MATHEMATICAL DESCRIPTIONS 19.4 Linear Differential Equations 19.4 State Variable Descriptions 19.5 Transfer Functions 19.7 Frequency Response 19.9 ANALYSIS OF DYNAMICAL BEHAVIOR 19.10 System Response, Modes and Stability 19.10 Response of First and Second Order Systems 19.11 Transient Response Performance Specifications for a Second Order
    [Show full text]