Lab Bode Plot - 2022
Lab Bode Plot - 2022
Lab Bode Plot - 2022
Date : _________________
Learning Outcomes
At the end of this laboratory, students should be able to:
✓ Generate the Bode Plot of a given transfer function using MATLAB
✓ Analyze the frequency response of a given system based on Bode Plot of the system
Instructions
PART A: Relationship between Frequency Response and Time Response
1. Consider the following systems,
5 500
G1 ( s ) = ; G4 ( s ) =
( s + 1 + 2i )(s + 1 − 2i ) ( s + 10 + 20i )(s + 10 − 20i )
20 413.1
G2 ( s ) = ; G5 ( s ) =
( s + 2 + 4i )(s + 2 − 4i ) ( s + 5 + 19.7i )(s + 5 − 19.7i )
101
G3 ( s ) = ;
( s + 1 + 10i )(s + 1 − 10i )
2. Generate the Bode Plots for the above systems on the same graph, using the MATLAB function
‘bode’ and identify the following parameters.
G1: BW = ________; r = _________; Mr = _________;
G2: BW = ________; r = _________; Mr = _________;
G3: BW = ________; r = _________; Mr = _________;
G4: BW = ________; r = _________; Mr = _________;
G5: BW = ________; r = _________; Mr = _________;
2022/2023
3. Generate the Step Response for the above systems on the same graph, using the MATLAB function
‘step’ and identify the following parameters.
G1: Tr = ________; Tp = _________;OS = ________%;
G2: Tr = ________; Tp = _________;OS = ________%;
G3: Tr = ________; Tp = _________;OS = ________%;
G4: Tr = ________; Tp = _________;OS = ________%;
G5: Tr = ________; Tp = _________;OS = ________%;
4. Based on the parameters in (2) and (3), discuss the relation between the frequency and time
response.
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
_____________________________________________________________________________
5∗(𝑠+4)
𝐺(𝑠) = and 𝐻(𝑠) = 2
𝑠(𝑠+1)(𝑠+3)(𝑠+6)
Plant
R(s) Y(s)
G(s)
_
H(s)
Feedback
2. From the plot determine Gain Margin and Phase Margin of the system.
Gm = ______________; Pm = _________________;
3. Base on the Bode plot determine the stability of the system, justify your answer.
2022/2023
4. Reduce the system gain by 30dB to improve the Gain Margin and Phase Margin for the system. Plot
the Bode Plots of both systems on the same graph. What are the new margins?
Gm = ______________; Pm = _________________;
20∗(𝑠+6)
𝐺(𝑠) = 𝑠(𝑠+1)(𝑠+3)(𝑠+5) and 𝐻(𝑠) = 1
6. From the plot determine Gain Margin and Phase Margin of the system.
Gm = ______________; Pm = _________________;
7. Base on the Bode plot determine the stability of the system, justify your answer.
8. What is the value of gain need to be reduced/added to make the system marginally stable?
_________
Conclusion
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_______________________________________________________________________________
2022/2023