Bode Diagrams
 Boris Poupet
 bpoupet@hotmail.fr

898Views
 0 Comments
Introduction
It is in the late 30’s that an American engineer named Hendrick Wade Bode designs a famous representation to study AC circuits in the frequency domain. These graphs are still nowadays very useful in electronics and automatism and are called Bode diagrams.
In this tutorial, we will give every necessary step in order to represent and read Bode diagrams.
First of all, we present every necessary concept that needs to be detailed previously. We will, therefore, give a recap about the notions of the transfer function, gain, and phase.
The following of the article consists of understanding how to read these diagrams, which provides much information about an unknown circuit.
The last section shows how to plot the diagrams of some of the most common electronic circuits. This process is useful to share the information in a compact form of a specific circuit in a manual user for example.
Definitions
The transfer function is the fundamental notion to understand before talking about Bode diagrams. Consider any linear electronic circuit defined by its transfer function T(jω) and represented in Figure 1 by a box, with one input and one output terminal:
The transfer function is defined by V_{out}=T(jω)×V_{in} with V_{in}=V_{in}e^{jωt}. Sometimes, we can note p or s=jω which is known as the Laplace variable.
From this transfer function, two important parameters can be computed. The first one is the gain/amplitude (G), which is found by taking the norm of this complex function: G=T(jω). In order to plot Bode diagrams, it is the gain in decibels (G_{dB}) that is considered: G_{dB}=20log(G).
A gain G_{dB}=0 indicates that the norms of the input and output are equal V_{in}=V_{out}, this is called a unitary gain. When G_{dB} tends to infinite negative values, no output is observed despite the presence of an input.
The second important parameter is the phase difference (ΔΦ) between the input and output. This phase difference is given by the argument of the transfer function: arg(T(jω))=ΔΦ. This equality comes from the fact that if we consider a ratio of complex numbers z_{1}/z_{2}, the argument is given by the differences of the arguments of the numerator and denominator, which proves the previous formula: arg(z_{1}/z_{2})=arg(z_{1})arg(z_{2}).
Presentation of Bode diagrams
The Bode diagram of an electronic circuit consists of two graphs that plot respectively the gain G_{dB} and the phase difference as a function of the frequency in logarithmic scale. Both of these graphs can have two representations that are shown in Figure 2: the real or asymptotic representation.
The real curve is associated with the analytical expression of the norm and the argument of the transfer function. The asymptotic representation is a straightline approximation also known as Bode pole. In this section, we study the Bode diagrams of a simple series RC lowpass filter which circuit is represented in the third section.
Figure 2 gives a lot of information, but in order to make it more clear and easy to read, we consider the real representations of the gain and phase plots separately in Figure 3 and Figure 4 as following.
The gain plot is divided into two regions labeled pass band and stop band which common border is defined by the cutoff frequency f_{c }and in this example is equal to 10 kHz. The pass band is the region where the gain is constant and equal to 0 dB (in the Bode pole approximation), the stop band is the region where the gain is strictly smaller than 3 dB and drastically decreases, this value and rate are commented more in detail in the following.
This specific frequency is characterized by G_{dB}(f_{c})=3 dB, but why is this value so relevant? Even if each circuit has different expressions for the transfer function and the cutoff frequency, the amplitude is always divided by √2 at f_{c}: T(f_{c})=T_{max}/√2. When converting this ratio in dB, it comes that 20log(1/√2)=3.
The importance of this value comes from the fact that the power is proportional to the square of the amplitude, hence when the amplitude is divided by √2, the power is divided by 2.
One last fact can be commented in Figure 3, it is indeed highlighted that at 100 kHz the gain is 23 dB. Since at 10 kHz the gain is 3 dB, we observe a loss of 20 dB per decade, also written 20 dB/dec. We will see later in the third section that this value is typical from a firstorder filter.
We can also extract some information from the phase plot shown in Figure 4 below:
Here the same cutoff frequency marks the border between the resistive and reactive behavior. At f_{c}, the phasedifference is indeed equal to 45°. Before f_{c}, the circuit behaves more like a resistor, in DC and lowfrequency regime, it is purely resistive. After f_{c}, the capacitance effect increases and at high frequencies, the circuit becomes purely reactive.
Common Bode diagrams
Firstorder filters
The previous section presents the Bode diagram of a series RC lowpass filter which circuit is represented in Figure 5:
We have seen that this filter is characterized by its cutoff frequency f_{c}=1/(2πRC), and it’s gain rolloff of 20 dB/dec. Let’s now consider another type of filter that can be realized with a parallel RC circuit shown in Figure 6:
It can be shown that the transfer function of this circuit is given by Equation 1, with p=jω.
When plotting the Bode diagrams associated with this transfer function, it becomes clear that the parallel RC circuit is a highpass filter:
For this example, we chose the same values of R and C than for the lowpass filter so that the cutoff frequency remains unchanged and equals 10 kHz.
Concerning the gain plot, we can say that it is the symmetrical plot of the lowpass filter with the vertical line given by the cutoff frequency value as the symmetrical axis. The pass and stop bands are inversed and a positive slope is now observed, which rate from the DC regime to the cutoff frequency is +20 dB/dec.
From the association of Bode diagrams, we can understand how bandpass and bandstop filters can be made. Consider indeed a lowpass and highpass filters which cutoff frequencies are respectively f_{cl} and f_{ch}. A bandstop filter behavior is observed if f_{cl}<f_{ch}:
In this example, f_{cl}=10 kHz and f_{ch}=20 kHz, the bandstopwidth is therefore given by Δf=f_{ch}f_{cl}=10 kHz. The resonance frequency f_{0} is given by the geometrical mean of the cutoff frequencies: f_{0}=√(f_{cl}+f_{ch})≈14 kHz. The gain plot of the bandstop filter is given by the logarithmic addition of these two curves:
A bandstop filter can be realized in practice by associating an RC highpass filter in parallel with an RC lowpass filter and choosing appropriate values for the resistor and capacitor in order to observe the desired behavior.
The dualcircuit of the bandstop filter can be made with the series association of the same RC filters. In this case, the cutoff frequencies must respect the inequality f_{ch}<f_{cl}:
The formulas for the bandwidth and resonance frequency still apply for the bandpass filter.
Secondorder filters
Secondorder filters are characterized by the presence of at least one term p^{2} in the expression of their transfer function. This term comes from the fact that two reactive components are present in the circuit.
We have already presented in the Series RLC circuit and Parallel RLC circuit tutorials two circuits that respectively make secondorder lowpass and highpass filters. Their associated transfer function and Bode gain plots are also shown in these articles.
Secondorder filters have the advantage of having a rolloff (for the lowpass filter) or an increase rate (for the highpass filter) of 40 dB/dec in absolute value, therefore, rejecting faster the undesired frequencies.
Such as for firstorder filters, secondorder bandstop and bandpass filters can be realized with the parallel or series associations of the elementary RLC lowpass and highpass filters.
Conclusion
Bode diagrams are a visual and efficient tool to represent the AC behavior of an electronic filter. They are associated with the transfer function of the circuit from which the gain and phase difference can be computed.
Bode diagrams can be plotted through some experimental methods in order to study and characterize an unknown circuit. The measure of the cutoff frequency, bandwidth (for band filters) and slope help us to determine the order, the components and the architecture of a circuit.
On the other hand, the knowledge of Bode diagrams of the elementary filters is essential to anticipate the behavior of a circuit and design customized filters.