Download Engineering Slide 4. and more Slides Signals and Systems in PDF only on Docsity!
Part 2-5: Frequency-Response Analysis
- We have analyzed the system response for several input functions such as step, ramp, impulse, pulse inputs
- An extremely important matter of concern is a system’s response to periodic or repeating inputs. Examples are - Unbalanced rotating machinery (mechanical vibrations) - AC circuits - Vehicle dynamics and vibrations (automobile, rocket, etc) - Wing flutter due to high-speed aerodynamics - “Noise” in electromechanical systems
- We can model a repeating input with a sinusoidal function:
u ( t ) U sin w t
0
where U 0 = amplitude, w = frequency (rad/s)
NOTE : w = 2 p f where f = frequency in cycles/s or hertz (Hz)
Frequency Response
- When a linear system is excited by a sinusoidal input, the system output will initially oscillate at its own natural frequency(s) plus the frequency of the input (this is the transient response)
- If damping is present, the vibrations at the natural frequency(s) will eventually “die out” and the steady-state response will oscillate at the input frequency Frequency response is defined as the steady-state response of a system to a sinusoidal (periodic) input function. If a linear system is driven by a
sinusoidal input function with input frequency w, then the steady-state
system output will also be a sinusoidal function at the same frequency
Frequency Response (3) Input sinusoid
u ( t ) = U 0 sin w t
G ( s ) Output steady-state sinusoid
y ( t ) = Y 0 sin( w t + f)
Frequency Transfer Function
- In order to develop an equation for the frequency response consider the following third-order I/O equation:
- Now, consider an exponential input, u ( t ) = U ( s ) e st
, where s = s + j w is
a complex variable and U ( s ) is a complex function
- If s = 0 (zero real part), then s = j w and the input is
! y !! + 4 y !!+ 12 y! + 26 y = 2 u! + 3 u
u t U j e U j ( t j t ) j t w w w w w
( ) = ( ) = ( ) cos + sin
Real Complex (Real + Imag) Real Imaginary
Frequency Transfer Function (3)
- Recall our system I/O equation (for our example):
- The characteristic roots for this 3 rd - order system are r = – 2.932,
- Therefore, the transient response “dies out” at steady-state
- Now, substitute the exponential input and output equations into the I/O differential equation, with the knowledge that ! y !! + 4! y !+ 12 y! + 26 y = 2 u !+ 3 u j t y j Y j e w ! (^) = w ( w) j t y j Y j e w ( w ) ( w) 2 !! (^) = etc…
j t j t
j j j Y j e j U j e
w w
( w ) 4 ( w) 12 w 26 ( w) 2 w 3 ( w)
3 2
Result: ( ) ( ) 4 12 26 2 3 ( ) 3 2 U s Y s s s s s G s =
or, =
Frequency Transfer Function (4)
- Repeat last equation:
- Finally, form the ratio Y ( j w)/ U ( j w) , or output/input ( j ω) 3 + 4 ( j ω) 2 ( +^12 j^ ω^ +^26 ) Y^ (^ j^ ω) e^ j ω t
= ( 2 j ω + 3 ) U ( j ω) e
j ω t ( ) ( ) 4 ( ) 12 26 2 3 ( ) ( ) 3 2 w w w w w w w G j j j j j U j Y j =
= U ( j w) e j^ w t^ Y ( j w) e j^ w t
G ( j w)
Sinusoidal transfer function, G ( j w) Frequency transfer function, G ( j w) “frequency transfer function” (a complex function)
Polar Form of FTF f w w j G ( j ) = G ( j ) e Real axis Imaginary axis 0 G ( j w) Polar form 2 2 G ( j w) = Re +Im Magnitude of^ G ( j^ w) ϕ( j ω) = arg[ G ( j ω)] = tan
− 1 Im
Re
⎟ Angle (or argument) of^ G ( j^ w)
Re Im
f
Derivation of Frequency Response
- Next, we wish to derive an equation for the frequency response, which is the steady-state output of a system driven by a sinusoidal input
- The steady-state output (or forced response) is
- However, we can sub for the sinusoidal TF using its polar form j t j t y t Y j e G j U j e w w
( ) ( w ) ( w) ( w)
ss = = f w w j G ( j ) = G ( j ) e
Derivation of Frequency Response (3)
- If the sinusoidal input is a cosine function: u ( t ) = U 0 cos w t , then use the real part of
- Therefore, the steady-state output (when input is cosine) is
- Therefore, we can write the steady-state response (the
frequency response ) for a sine input function u ( t ) = U 0 sin w t
y ( t ) = G ( j w ) U cos^ ( w^ t + f) ss 0 j t e w ( ) ( ) sin( ) ss 0 y t = G j w U w t + f Frequency response for input u ( t ) = U 0 sin w t
Notes on Frequency Response
- Frequency response (repeated) for sine input ( ) ( ) sin( ) ss 0 y t = G j w U w t + f Frequency response Therefore, the steady-state response to a sinusoidal input is also a sinusoid with the same frequency as the input but with a phase shift Note that in the frequency response equation, all we need to completely characterize the frequency response are the two values: = = ( ) ( ) ( ) w w w U j Y j G j amplitude ratio of the output sinusoid to the input sinusoid ϕ( j ω) = arg[ G ( j ω)] = (^) phase shift between the output sinusoid and input sinusoid
= Y 0 / U 0
Frequency Response: Example (2) Sinusoidal transfer function:
w w
j
G j
Magnitude: ( ) 2 2 2 2
- 2 0. 02
w
w
G j = Using input frequency w = 50 rad/s we obtain G (^ j^ w) =^0.^6402
Phase angle of G ( j w) is computed by subtracting the phase
angle of the denominator from the phase angle of the numerator:
ϕ( j ω) = arg [ G ( j ω)] = arg [ 1 + j 0 ] − arg [ 1. 2 + 0. 02 j ω]
ϕ( j ω) = arg (^) [ G ( j ω)] = tan
⎟ −^ tan
− 1 0.^02 ω
⎟ à^ f^ = -^0.^6947 rad
Frequency Response: Example (3) Put it all together to obtain the frequency response: ( ) 1. 2804 sin( 50 0. 6947 ) ss I t = t - A The time shift or “time delay” D t between input and output sinusoids can be computed from the phase lag and the frequency
Frequency Response: Example Simulate the frequency response of the RL circuit (previous example) using Simulink
in +
E s Ls R s
I s
G s
Set amplitude = 2 and frequency = 50 rad/s
Frequency Response: Example (2) à Matches frequency response from previous example