Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

LAB REPORT # 03

AV-354 (FEEDBACK CONTROL SYSTEM)

To find Transfer Function using


FEEDBACK Commands
Simulink (MATLAB)

A/C GOHAR ALI


18092002
92 EC(A)

SUBMITTED TO: SQN LDR JAHANZEB


Task NO 01
Defining two Transfer function G(S) & C(S).

G = tf([2 5 1],[1 2 3])


C = tf([5 10],[1 10])

Plant & Controller with Unit Feedback:


Syntax for -ve feedback:

feedback_system = feedback(G*C,1)

The output is:


Plant with Controller in Negative Feedback Path:

Syntax:

feedback_system_2 = feedback(G,C,-1)

The output:
Positive Feedback Loop with Plant and Controller:

Syntax:

feedback_system_3 = feedback(G,C,+1)

The output:
Task NO 02

Defining Transfer Function K(S) & H(S):

K = tf(10*[1 2],conv(conv([1 0],[1 -1]),[1 3])


H = tf([1 1], [1 3])

The output:
Finding the Transfer Function T(s):

T = feedback(K,H,-1)

The output:
Step Response:

step(T)
Frequency response :

figure(2);
bode (T);
Root Locus:

figure(3)
rootlocus (T);

You might also like