EXPERIMENT_3 (2)
EXPERIMENT_3 (2)
Lab Assignment: 03
Submitted by:
EE24BTECH11205
EE24BTECH11213
Course Instructor:
1
Bode Plot
[1]
Bode plots are a useful way to visualize how a system responds to different frequencies.
Developed by Hendrik Bode, these plots consist of two graphs—one showing the magni-
tude (or gain) and the other showing the phase shift, both plotted against frequency on
a logarithmic scale. They help engineers and researchers understand how signals behave
when they pass through a system, making them an essential tool in electronics, control
systems, and signal processing.
One of the main reasons Bode plots are so important is that they make it easier to
analyze and design systems that work with different frequencies. Instead of dealing with
complex mathematical equations, engineers can simply look at these plots to understand
how a system amplifies or attenuates signals at various frequencies. Bode plots also help
in determining stability by providing insights into phase and gain margins, which are
key factors in designing reliable systems. Since they use logarithmic scaling, they can
represent a wide range of frequencies in a clear and manageable way.
Bode plots are especially useful when working with filters, such as low-pass and
high-pass filters. In a low-pass filter, for example, the magnitude plot remains steady at
lower frequencies but starts to drop sharply after a certain point, indicating that higher
frequencies are being blocked. On the other hand, a high-pass filter does the opposite,
allowing higher frequencies to pass while reducing the strength of lower-frequency sig-
nals. By analyzing these plots, engineers can fine-tune filters for applications like audio
processing, communication systems, and noise reduction.
Experiment 3 2
Bode Plot
1
H(s) =
1 + sRC
where R is the resistance, C is the capacitance, and s is the complex frequency variable
in the Laplace domain. Low-pass filters have numerous real-life applications across various
fields, including audio processing, communication systems, and medical devices. In audio
engineering, they are used to eliminate high-frequency noise, ensuring clear and smooth
sound output in speakers and recording systems. In communication systems, low-pass
filters help in demodulating signals by removing high-frequency interference, enhancing
signal quality in radios, televisions, and mobile networks. They are also crucial in medical
imaging, such as electrocardiograms (ECGs), where they filter out unwanted noise to
provide accurate heart rate monitoring. s represents the complex frequency variable.
This equation helps determine how the filter responds to different input frequencies.
Low pass filters are widely used in practical applications. In audio systems, they
help eliminate high-frequency noise, resulting in clearer sound quality. In image process-
ing, they are used for blurring effects by removing sharp transitions in pixel intensity. In
Experiment 3 3
Bode Plot
control systems, they smooth out signal fluctuations to ensure stable operation. Addition-
ally, in communication systems, they help remove unwanted high-frequency interference,
improving the clarity of transmitted signals.
Overall, the low pass filter is an essential component in both analog and digital sys-
tems, playing a key role in enhancing signal quality and ensuring smooth system perfor-
mance.
10kΩ
Vin Vout
100µF
GND
A low-pass filter allows low-frequency signals to pass while attenuating higher frequencies.
The simplest form is a first-order RC low-pass filter, consisting of a resistor (R) and a
capacitor (C) in series, with the output taken across the capacitor.
The circuit’s transfer function is derived from voltage division:
Vout (s) 1
H(s) = =
Vin (s) 1 + sRC
where:
1
|H(jω)| = q
1 + (ωRC)2
Experiment 3 4
Bode Plot
1
20 log10 |H(jω)| = 20 log10 q
1 + (ωRC)2
1
At the cutoff frequency ωc = RC
, the gain is:
!
1
20 log10 √ = −3 dB
2
• At ω = ωc , θ(ω) = −45◦
Magnitude Plot:
Phase Plot:
The Bode plot of a first-order RC low-pass filter consists of a magnitude plot that
rolls off at -20 dB/decade beyond the cutoff frequency and a phase plot that transitions
from 0° to -90°. This analysis helps in designing and understanding filtering effects in
various electronic applications.
Experiment 3 5
Bode Plot
−10
Magnitude (dB)
−20
−30
−40
−1,000
Phase (Degrees)
−2,000
−3,000
−4,000
−5,000
Experiment 3 6
Bode Plot
R1 R2 Vout
C1 C2
• ⇒ Increased Gain
A single-stage amplifier may not provide sufficient gain, whereas cascading multiple
stages amplifies the signal significantly, improving overall performance.
• ⇒ Higher Bandwidth
In communication systems, cascading helps extend the bandwidth of amplifiers and
filters, allowing efficient signal transmission.
A cascaded filter consists of multiple filtering stages connected in series. Each stage
Experiment 3 7
Bode Plot
contributes to the overall attenuation and phase shift. The total transfer function of an
n-stage cascaded filter is obtained by multiplying the individual transfer functions.
For a single-stage low-pass RC filter, the transfer function is given by:
1
H1 (s) =
1 + sRC
When multiple such stages are cascaded, the overall transfer function becomes:
n
1
H(s) =
1 + sRC
n
1
|H(jω)| =
1 + jωRC
1
Magnitude (dB) = 20n log10 q
1 + (ωRC)2
1
fc =
2πRC
For an n-stage cascaded filter, the effective cutoff frequency is adjusted as:
1 1
fc′ = fc · (2 n − 1)− 2
Experiment 3 8
Bode Plot
which means that each additional stage increases the attenuation rate, improving
signal suppression at higher frequencies.
The phase shift also increases with more stages, leading to a total phase shift of:
This means that for a two-stage cascaded filter, the total phase shift approaches
−180◦ , and for three stages, it approaches −270◦ .
By increasing the number of cascaded stages, the filter achieves a steeper roll-off,
better suppression of unwanted signals, and an improved transition band. However,
the increased phase shift and potential signal distortion must be considered in practical
applications.
.
1
H(jω) = (1)
1 + jωRC
where:
Experiment 3 9
Bode Plot
At specific frequencies:
• At high frequencies (ω ≫ 1/RC), θ ≈ −90◦ , meaning the output lags the input
significantly.
!
f
θ(f ) = − tan−1 (4)
fc
1
where fc = 2πRC
is the cutoff frequency.
This shows a gradual transition from 0◦ at low frequencies to −90◦ at high frequen-
cies, indicating that the low-pass filter introduces progressive phase lag as frequency
increases. The phase difference θ can be calculated using the formula:
∆t
θ= × 360◦ (5)
T
Experiment 3 10
Bode Plot
where:
• T = 1
f
is the time period of the signal.
1
T = ≈ 6.289 sec (6)
0.159
0.96
θ= × 360◦ ≈ 54.9◦ (7)
6.289
Thus, the phase differences for the respective frequencies are approximately:
Experiment 3 11
Bode Plot
Figure 1: phase1
0.3 EXPERIMENT
[2]
10kΩ
Vin Vout
10µF
GND
Experiment 3 12
Bode Plot
f 3.5 -3.1
Experiment 3 13
Bode Plot
Figure 2: phase2
10kΩ 10kΩ
Vin Vout
100µF 100µF
GND
Experiment 3 14
Bode Plot
f 2.79 -5.04
1000f 0 -123
Table 3: Table with Images, Frequencies, Output Voltages, and Bode Plot Val-
ues(STAGE2)
Experiment 3 15
Bode Plot
f 1.77 -9.1
Experiment 3 16
Bode Plot
12 }
13
14 int main () {
15 double base_frequency ;
18
19 double frequencies [] = {
20 0.1 * base_frequency ,
21 1 * base_frequency ,
22 10 * base_frequency ,
23 100 * base_frequency ,
24 1000 * base_frequency
25 };
Experiment 3 17
Bode Plot
27
30
34 }
35
36 return 0;
37 }
0.0 4.9752
0.2 3.5373
1.6 0.4980
15.9 0.0500
159.0 0.0050
Experiment 3 18
Bode Plot
Experiment 3 19
Bode Plot
Experiment 3 20
Bode Plot
Experiment 3 21