Linear Circuit Analysis


Bode plots

A Bode plot is a graph of the frequency response of a system. In general, a Bode plot consists of two graphs: the Bode magnitude plot and the Bode phase plot. The ordinate of the graph denotes the frequency (usualy on a log scale) while the abscisa denotes the magnitude or the phase of response function. CircuitsU can generate two types of problems in which the student has to:

  1. Draw the Bode magnitue plot of a given transfer function $H(\textcolor{blue}{s})$
  2. Find the transfer function $H(\textcolor{blue}{s})$ correspoding to a given Bode magnitude plot
Only magnitude Bode plots are currently implemented in CircuitsU.

Standard form of a transfer function

To draw the Bode plot of a transfer function $H(\textcolor{blue}{s})$, it is instrumental to first bring $H(\textcolor{blue}{s})$ to its standard form. The standard form of a transfer function is obtained by writting it as the ratio of two polynomials of the complex frequency $\textcolor{blue}{s}$, in which each polynomial is written as the product of first or second order polynomials in $\textcolor{blue}{s}$ with real coefficients: $$\begin{equation}H(\textcolor{blue}{s})=K_0 \textcolor{blue}{s}^{\pm N} \times \frac{ \left(1 + \frac{\textcolor{blue}{s}}{\omega_{11}}\right)^{n_{11}} \left(1 + \frac{\textcolor{blue}{s}}{\omega_{12}}\right)^{n_{12}} ...\left(1 + \frac{2 \zeta_{21} \textcolor{blue}{s}}{\omega_{21}} +\frac{\textcolor{blue}{s}^2}{\omega_{21}^2}\right)^{n_{21}}...} {\left(1 + \frac{\textcolor{blue}{s}}{\omega_{31}}\right)^{n_{31}} \left(1 + \frac{\textcolor{blue}{s}}{\omega_{32}}\right)^{n_{32}} ...\left[1 + \frac{2 \zeta_{41} \textcolor{blue}{s}}{\omega_{41}} +\frac{\textcolor{blue}{s}^2}{\omega_{41}^2}\right]^{n_{41}}...} \end{equation}$$ or, in terms of $\textcolor{blue}{s}=\textcolor{blue}{j} \omega$ $$\begin{equation}H(\textcolor{blue}{j} \omega)=K_0 (\textcolor{blue}{j} \omega)^{\pm N} \times \frac{ \left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{11}}\right)^{n_{11}} \left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{12}}\right)^{n_{12}} ... \left[1 + 2 \zeta_{21} \frac{\textcolor{blue}{j} \omega}{\omega_{21}} +\frac{(\textcolor{blue}{j} \omega _{21})^2}{\omega_{21}^2}\right]^{n_{21}}...} {\left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{31}}\right)^{n_{31}} \left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{32}}\right)^{n_{32}} ... \left[1 + 2 \zeta_{41} \frac{\textcolor{blue}{j} \omega}{\omega_{41}} +\frac{(\textcolor{blue}{j} \omega _{41})^2}{\omega_{41}^2}\right]^{n_{41}}...} \end{equation}$$ In the above expressions:

  1. $K_0$ is a frequency-independent factor.
  2. $\omega_{ij}$ are called break frequencies. The break frequencies can be either zeros if they appear in the numerator or poles if they appear in the denominator of the main fraction.
  3. $\zeta_{ij}$ are the damping factors associated with the respective breaking frequencies. Notice that $ 0 \le \zeta_{ij} \lt 1 $, otherwise, this term has real roots and degenerates into two zeros or poles. The damping factors can be associated only with complex zeros and poles.
  4. $n_{ij}$ are the orders associated with the respective breaking frequencies ($n_{ij} = 1, 2, 3,...$).
  5. The roots of the second order polynomials (or quadratic terms) are complex, with a non-zero imaginary part. If the roots of the quadratic terms were real, they should be split into the product of two first order polynomials with real roots.
In addition, we can identify the following terms:
Term Expression Comments
Zero at the orgin $(\textcolor{blue}{j} \omega)^{N}$ $N$ is the order of the zero
Pole at the orgin $(\textcolor{blue}{j} \omega)^{-N}$ $N$ is the order of the pole
Simple zero/pole
(also called real zero/pole)
$1 + \frac{\textcolor{blue}{j} \omega}{\omega_{0}}$ $\omega_0=\omega_{ij}$ is the break frequency
Simple zero/pole of order $n$
(also called real zero/pole)
$\left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{0}}\right)^{n}$ $n=n_{ij}$ is the order of the zero or pole
Quadratic zero/pole
(also called complex zero/pole)
$1 + 2 \zeta \frac{\textcolor{blue}{j} \omega}{\omega_{0}} +\frac{(\textcolor{blue}{j} \omega)^2}{\omega_{0}^2}$ $\zeta=\zeta_{ij}$ is the damping factor
Quadratic zero/pole or order $n$
(also called complex zero/pole)
$\left[1 + 2 \zeta \frac{\textcolor{blue}{j} \omega}{\omega_{0}} +\frac{(\textcolor{blue}{j} \omega)^2}{\omega_{0}^2}\right]^n$

Bode magnitude plots

The easiest way to make the Bode magnitude plot for a given transfer function is to plot the absolute value of $20 \log |H(\textcolor{blue}{j} \omega)|$ as a function of $\omega$ using tools such as Python, Matlab, Excel, etc. The plot made in this way provides the exact values of the transfer function and is represetented in the figures below using dashed lines. However, if such tools are not available (which is unlikely ourdays!) it is possible to sketch the plot using a number of simple rules that will be discussed below.

In general, when we make the Bode magnitude plot, it is customary to represent $20 \log |H(\textcolor{blue}{j} \omega)|$ instead of $|H(\textcolor{blue}{j} \omega)|$. The units of $20 \log |H(\textcolor{blue}{j} \omega)|$ are $\: \textcolor{gray}{dB}$ (decibels). On a log scale, and if the break frequencies are well separated from each other, the Bode magnitude plot appears to be made of straight lines, for which reason we often start by approximating the plot with straight lines that are sometimes connected with round (smooth) curves at the vertexes. Such a plot is called the straight-line Bode magnitude plot.

The straight-line Bode magnitude plot approximates the exact plot relatively well if the the break frequencies are separated from each other by a factor of at least 5-10 fold (that means that each break frequency is at least 5-10 times larger than the previous one). In this case, the shape of the Bode magnitude plot around the break frequency is mostly given by the properties of that break frequency and is not influenced much by the neighboring break points. Therefore, it is useful to analyze the Bode magnitude plots given by the different types of break frequencies separately. The table below describes the shape of the Bode magnitude plot for different types of break points and gives a few examples.

Behavior Examples
Zero at the orgin
$(\textcolor{blue}{j} \omega)^{N}$
  • The Bode magnitude plot starts with a $20 \times N \: \textcolor{gray}{dB/dec}$ slope at low frequencies
The example on the right shows the Bode magnitude plot for $H(\textcolor{blue}{j} \omega)=(\textcolor{blue}{j} \omega)^{2}$.
Pole at the orgin
$(\textcolor{blue}{j} \omega)^{-N}$
  • The Bode magnitude plot starts with a $-20 \times N \: \textcolor{gray}{dB/dec}$ slope at low frequencies
The example on the right shows the Bode magnitude plot for $H(\textcolor{blue}{j} \omega)=\frac{1}{\textcolor{blue}{j} \omega}$.
Simple zeros
$\left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{0}}\right)^n$
  • A zero of order $n$ increases the slope at its break frequency by $20 n \: \textcolor{gray}{dB/dec}$
  • The difference between the staight-line Bode magnitude plot and the exact value is $3.01 n\approx 3 n \: \textcolor{gray}{dB}$
The example on the right shows the Bode magnitude plot for $H(\textcolor{blue}{j} \omega)=\left(1 + \frac{\textcolor{blue}{j} \omega}{5}\right)^2$. The difference between the exact Bode magnitude plot and the straight-line Bode magnitude plot at the the break frequency is $3.01\cdot 2=6.02$.
Simple poles
$\frac{1}{\left(1 + \frac{\textcolor{blue}{j} \omega}{\omega_{0}}\right)^n}$
  • A pole of order $n$ decreases the slope at its break frequency by $20 n \: \textcolor{gray}{dB/dec}$
  • The difference between the staight-line Bode magnitude plot and the exact value is $-3.01 n\approx -3 n \: \textcolor{gray}{dB}$
The example on the right shows the Bode magnitude plot for $H(\textcolor{blue}{j} \omega)=\frac{1}{\left(1 + \frac{\textcolor{blue}{j} \omega}{10}\right)^3}$. The difference between the exact Bode magnitude plot and the straight-line Bode magnitude plot at the the break frequency is $-3.01\cdot 3=-9.03$.
Complex zeros
$1 + 2 \zeta \frac{\textcolor{blue}{j} \omega}{\omega_{0}} +\frac{(\textcolor{blue}{j} \omega)^2}{\omega_{0}^2}$
  • A complex zero increases the slope at its break frequency by $40 \: \textcolor{gray}{dB/dec}$
  • The difference between the staight-line Bode magnitude plot and the exact value is $-20 \log(2\zeta) \: \textcolor{gray}{dB}$, where $\zeta$ is the damping factor
  • If $\zeta \lt \frac{\sqrt{2}}{2}$ the exact Bode magnitude plot has a peak at $\omega_{max}=\omega_0 \sqrt{1-2\zeta^2}$. The difference between the staight-line Bode magnitude plot and the exact value at $\omega_{max}$ is $-20 \log\left(2\zeta\sqrt{1-\zeta^2}\right) \: \textcolor{gray}{dB}$
The example on the right shows the Bode magnitude plot for $H(\textcolor{blue}{j} \omega)=1 + 2 \cdot 0.6\cdot \frac{\textcolor{blue}{j} \omega}{15} +\frac{(\textcolor{blue}{j} \omega)^2}{15^2}$. Since $\zeta \lt 0.7$ the exact Bode magnitude plot has a minimum at $\omega_{max}=15\cdot \sqrt(1-2\cdot 0.6^2) \approx 7.94$.
Complex poles
$\frac{1}{1 + 2 \zeta \frac{\textcolor{blue}{j} \omega}{\omega_{0}} +\frac{(\textcolor{blue}{j} \omega)^2}{\omega_{0}^2)}}$
  • A complex pole decreases the slope at its break frequency by $40 \: \textcolor{gray}{dB/dec}$
  • The difference between the staight-line Bode magnitude plot and the exact value is $20 \log(2\zeta) \: \textcolor{gray}{dB}$, where $\zeta$ is the damping factor
  • If $\zeta \lt \frac{\sqrt{2}}{2} \approx 0.7$ the exact Bode magnitude plot has a peak at $\omega_{max}=\omega_0 \sqrt{1-2\zeta^2}$. The difference between the staight-line Bode magnitude plot and the exact value at $\omega_{max}$ is $20 \log\left(2\zeta\sqrt{1-\zeta^2}\right) \: \textcolor{gray}{dB}$
The example on the right shows the Bode magnitude plot for $H(\textcolor{blue}{j} \omega)=\frac{1}{1 + 2 \cdot 0.4\cdot \frac{\textcolor{blue}{j} \omega}{15} +\frac{(\textcolor{blue}{j} \omega)^2}{15^2}}$. Since $\zeta \lt 0.7$ the exact Bode magnitude plot has a maximum at $\omega_{max}=15\cdot \sqrt(1-2\cdot 0.4^2) \approx 12.36$.
Sample Solved Problems
The examples below are randomly generated.
See also
Read more

Hendrik Wade Bode
Bode plots