0% found this document useful (0 votes)
24 views

Samson - Lab 8 PAUS

The document contains two Bode plots. The first Bode plot shows the magnitude and phase response of the transfer function 25 / s^2 + 4s + 25. The second Bode plot shows the magnitude and phase response of the transfer function 9s^2 + 1.8s + 9 / s^3 - 7.8s^2 + 7.2s - 9. The document also includes a MATLAB code that defines several transfer functions using tf and performs various operations on them including feedback, parallel, series to obtain a final transfer function. The code then plots the Bode diagram for the final transfer function, which is a high order transfer function.

Uploaded by

denzordic
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Samson - Lab 8 PAUS

The document contains two Bode plots. The first Bode plot shows the magnitude and phase response of the transfer function 25 / s^2 + 4s + 25. The second Bode plot shows the magnitude and phase response of the transfer function 9s^2 + 1.8s + 9 / s^3 - 7.8s^2 + 7.2s - 9. The document also includes a MATLAB code that defines several transfer functions using tf and performs various operations on them including feedback, parallel, series to obtain a final transfer function. The code then plots the Bode diagram for the final transfer function, which is a high order transfer function.

Uploaded by

denzordic
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Bode Plot for Example 1:

Bode Diagram of 25 / s 2 + 4 s + 25

Magnitude (dB)

20

-20

-40

-60
0

Phase (deg)

-45
-90
-135
-180
-1

10

10

10

10

Frequency (rad/sec)

Bode Plot for Example 2:


Bode Diagram of 9 s 2 + 1.8 s + 9 / s 3 - 7.8 s 2 + 7.2 s - 9
10

Magnitude (dB)

0
-10
-20
-30

Phase (deg)

-40
0

-180

-360

-540
-2

10

-1

10

10

10

Frequency (rad/sec)

10

10

Problem:
1. Syntax
num1 = [1];
den1 = [1 7];
g1=tf(num1,den1);
num2=[1];
den2=[1 3 5];
g2=tf(num2,den2);
num3=[1];
den3=[1 8];
g3=tf(num3,den3);
num4=[1];
den4=[1 0];
4=tf(num4,den4);
num5=[7];
den5=[1 3];
g5=tf(num5,den5);
num6=[1];
den6=[1 7 5];
g6=tf(num6,den6);
num7=[5];
den7=[1 5];
g7=tf(num7,den7);
num8=[1];
den8=[1 9];
g8=tf(num8,den8);
f1=feedback(g1,g2);
p1=parallel(g3,g4);
f2=feedback(g7,g6);
s1=series(f2,g8);
f3=feedback(p1,s1);
s2=series(g1,f3);
f4=feedback(s2,g5);
bode(f4); title (2 s^6 + 56 s^5 + 614 s^4 + 3356 s^3 + 9552 s^2 + 13140 s + 6480 / s^8 + 39 s^7 +
627 s^6 + 5367 s^5 + 26326 s^4 + 74002 s^3 + 112348 s^2 + 79910 s + 19320)

Transfer Function:
2 s^6 + 56 s^5 + 614 s^4 + 3356 s^3 + 9552 s^2 + 13140 s + 6480
-------------------------------------------------------------------------------------------------------------------------------s^8 + 39 s^7 + 627 s^6 + 5367 s^5 + 26326 s^4 + 74002 s^3 + 112348 s^2 + 79910 s + 19320

Bode Diagram for the Transfer Function


2 s^6 + 56 s^5 + 614 s^4 + 3356 s^3 + 9552 s^2 + 13140 s + 6480
-------------------------------------------------------------------------------------------------------------------------------s^8 + 39 s^7 + 627 s^6 + 5367 s^5 + 26326 s^4 + 74002 s^3 + 112348 s^2 + 79910 s + 19320
0

Magnitude (dB)

-20
-40
-60
-80
-100
-120
0

Phase (deg)

-45
-90
-135
-180
-2

10

-1

10

10

10

Frequency (rad/sec)

10

10

FEU East Asia College


College of Engineering : College of Computer Studies

EEE Department

Frequency Response Analysis


Experiment Title

Experiment No. 5

Samson, Aldrin Steiner D.


2006 08123 / BSCPE / L31 / TH 7am-10am

Engr. Dennis B. Paus


Instructor

August 4, 2011

You might also like