Professional Documents
Culture Documents
02.what Bode Plots Represent - The Frequency Domain
02.what Bode Plots Represent - The Frequency Domain
02.what Bode Plots Represent - The Frequency Domain
Overview Freq Domain Asymptotic plots Making Plot Examples Drawing Tool BodePlotGui Rules Table
Printable
Contents
Why Sine Waves?
Determining system output given input and transfer function
Interactive Demo
Things to try
Key Concept: It is useful to study the response of a system to sinusoidal inputs
Key Concept: The frequency response is shown with two plots, one for magnitude and
one for phase.
An animation
This is why sine waves are important. Not because they are common, but because we can represent
arbitrarily complex functions using only these very simple function.
For a system of the type we are studying (linear constant coefficient) if the input to a system is sinusoidal at a
particular frequency, then the output of the system is also a sinusoid at the same frequency, but typically with a
different amplitude or phase. Put another way, if the input to a system (described by the transfer function H(s)) is
A·cos(ω·t+φ) then the output is M·A·cos(ω·t+φ+θ). This is likewise true for sine, since it simply a cosine with φ=-
π2 radians (or -90°). This is shown below.
In this diagram the magnitude of the sinusoid has changed by a factor of M (which we will take to be a positive
real number) and the phase has changed by a factor of θ (a real number, not necessarily positive). It is our task
to find the value of M and θ for a particular system, H(s), at a particular frequency, ω. We call M the magnitude
of the system (or transfer function) at ω, and we call θ the phase of the system at that frequency.
Using complex impedances it is possible to find the transfer function of a circuit. For example, the circuit
below is described by the transfer function, H(s), where s= jω.
Circuit Transfer Function
Vout (s) 1
H (s) = =
Vin (s) 1 + sRC
1 1
H (s) = H (jω) =
1 + 2s 1 + j2ω
Generally we know the input Vin and want to find the output Vout. We can do this by simple multiplication
1
Vout (jω) = Vin (jω) ⋅ H (jω) = Vin (jω) ⋅
1 + j2ω
If we have a phasor representation for the input and the transfer function, the multiplication is simple (multiply
magnitudes and add phases). Finding the output becomes easy. Try it out.
Interactive Demo
Choose a transfer function.
Magnitude of H(jω), (i.e., |H(jω
1 1
H (s) = H (jω) =
1+2s 1+j2ω 1
1.6 1.6
H (s) = H (jω) =
|H(jω)|
s2 +0.5s+1.6 2
(1.6−ω )+j(0.5⋅ω)
0.45
1∠0°,
-45
The output is M·A∠(θ+φ) = 0.45∠-63.4°. -63.4
Time
Magnitude Phase
Domain
-90
0 1 2
0.45·cos(1·t
H(jω) 0.45 -63.4° ω
+ -63.4°)
1·cos(1·t +
Input 1 0°
0°)
Output 0.45 -63.4°
0.45·cos(1·t Vin(t) & Vout(t) vs. t
+ -63.4°)
2
1 delay, Td
Td
Directions for Use
Vin(t), Vout(t)
0
Use the radio buttons to choose a
transfer function, and the sliders to -1 period, T
choose the frequency, amplitude and
-2
phase of the input (you can also set 0 2 4 6 8 10 12
frequency by clicking and dragging in time
either of the top two graphs.)
Things to try
Choose the first order (upper) transfer function, set ω=1, A=1, φ=0, so the input is A·cos(ωt+0°)=cos(t). The
paragraph just below the sliders shows how to calculate the value of the transfer function at that frequency, and
it is a complex number with a magnitude (M) of 0.5 and a phase angle (θ) of -63.4°. To find the output we
multiply magnitudes (A·M=0.5) and add phases (φ+θ=-63.4°), so the output is 0.5·cos(t-63.4°).
Now increase frequency. You can see from the graph that the magnitude of the transfer function drops, so the
magnitude of the output drops. Also, the phase decreases, so the ratio Td/T decreases.
Change the value of A (second slider). This changes the magnitude of the input, and since the output magnitude
is simply A·M the magnitude of the output changes commensurately.
Change the value of the input phase, φ, and note that the input function slides back and forth. Since the
difference in phase between input and output (θ) is determined by the transfer function, the output moves back
and forth the same amount.
If you make the value of ω a small number, the magnitude of the transfer function is close to 1, and the phase is
close to zero, so input and output are almost the same.
Now select the second transfer function. Note that as you change ω there is a range of frequencies for which the
output is actually larger than the input. Also, as the frequency gets high, the phase of the transfer function
approaches -180° so the output is inverted relative to the input (and Td≈½·T).
Note: all angles are given in degrees. They should be changed to radians before evaluation by calculator or computer.
Sinusoidal functions are important because functions of time can be broken down into a sum of
sinusoids. Given a system given with a sinusoidal input, we can determine the output in a
straightforward manner from the transfer function. These two facts, together, make the determination of
a transfer functions to sinusoidal inputs a useful endeavor (and, ultimately, quite powerful).
Key Concept: The frequency response is shown with two plots, one for magnitude and one for
phase.
The frequency response of a system is presented as two graphs: one showing magnitude and one
showing phase. The phasor representation of the transfer function can then be easily determined at
any frequency. The magnitude of the output is the magnitude of the phasor representation of the
transfer function (at a given frequency) multiplied by the magnitude of the input. The phase of the
output is the phase of the transfer function added to the phase of the input.
A Bode plot is simply a plot of magnitude and phase of a tranfer function as frequency varies.
However, we will want to be able to display a large range of frequencies and magnitudes, so we will
plot vsthe logarithm of frequency, and use a logarithmic (dB, or decibel) scale for the magnitude as
well. We'll explore that in the next installment.
An animation
To get a more intuitive idea of what the frequency response represents, consider the system below. (Hit start
button to show animation)
Click here for an animation of an analogous electrical system.
u k
m
b
2.5
u
y
-2.5
The input is a sinusoidal function whose frequency increases with time. You can see by the animation that at
low frequencies (and low times) the input and output are equal in magnitude, and in phase (after the initial
startup transient dies out). This is shown by a magnitude of one and a phase of zero on the plots of magnitude
and phase of H(jω). At intermediate frequencies (and times) the system is somewhat resonant, and the output
actually gets larger than the input (but there is a growing phase lag, i.e., negative phase). As frequency
increases further, the output decreases; again, you can see this both in the animation and in the magnitude plot.
The outline of the peaks of the output plot is similar to the magnitude plot above. The phase is not as obvious,
but it obviously starts at 0° and then decreases to -180° (you may need to zoom in to see the phase shift). At
high frequencies (phase near -180°) the two waveforms are completely out of phase; when one is at a
maximum, the other is at a minimum.
References
© Copyright 2005 to 2022 Erik Cheever This page may be freely used for educational purposes, but the url must be referenced.
Comments? Questions? Suggestions? Corrections?
Erik Cheever Department of Engineering Swarthmore College