0% found this document useful (0 votes)
89 views3 pages

Experiment No. 5 Study of The Effect of A Forward-Path Lead Compensator On The Performance of A Linear Feedback Control System

1. The document describes an experiment to study the effect of a forward-path lead compensator on the performance of a linear feedback control system. 2. The experiment involves measuring gain and phase margins of the uncompensated system, analyzing the bode plot of a suggested lead compensator, and measuring gain and phase margins of the compensated system. 3. Results are compared through step responses of the uncompensated and compensated closed-loop systems, which show that the compensated system has better stability with lower overshoot despite increasing the system order.

Uploaded by

Subha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views3 pages

Experiment No. 5 Study of The Effect of A Forward-Path Lead Compensator On The Performance of A Linear Feedback Control System

1. The document describes an experiment to study the effect of a forward-path lead compensator on the performance of a linear feedback control system. 2. The experiment involves measuring gain and phase margins of the uncompensated system, analyzing the bode plot of a suggested lead compensator, and measuring gain and phase margins of the compensated system. 3. Results are compared through step responses of the uncompensated and compensated closed-loop systems, which show that the compensated system has better stability with lower overshoot despite increasing the system order.

Uploaded by

Subha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Department of Instrumentation and Electronics Engineering

Control Systems Laboratory

Experiment no. 5

Study of the Effect of a Forward-path Lead Compensator on the


Performance of a Linear Feedback Control System
Objective:

1. To measure the gain and phase margins of an uncompensated linear 3rd order,
type-1 system from its Bode plot.
2. To study the bode plot of a suggested forward-path lead compensator.
3. To recalculate the gain and phase margins of the compensated system.
4. To compare the step responses of the unity-feedback uncompensated and
compensated systems.

Software used:

Note the manufacturer’s name, version number and release date of the MATLAB
software in use.

Familiarization with the system:

The original or uncompensated open-loop system is of 3rd-order, type-1 variety and,


therefore, when operated with unity negative feedback will have a zero steady-state
error for a step input, irrespective of the value of the gain K. However, since the
velocity error coefficient Kc of the system equals K (prove this), the steady-state error
corresponding to a unit ramp input is 1/K. To attain a given value of this error, say

0.01, a K of 100 is required. Using the Routh-Hurwitz criterion, the value of the
critical gain Kc, for which the system is critically stable, can be determined. It will be
seen that since Kc is very close to 100, the closed-loop system will exhibit very poor
relative stability. It is manifested in the form of very low gain margin (GM) and
phase margin (PM) in the frequency domain and also in the form of a highly
oscillatory step response in the time domain.

One popular way of alleviating the stability problem, without compromising the given
velocity error specification, is to add a lead compensator block with a transfer
function Gc(s)= (1+aTs)/(1+Ts), a>1, before the plant. Verify that this modification
does not change the value of Kv, and thus the value of the steady state velocity error.
There are suitable design methods to determine values of ‘a’ and ‘T’, the two
parameters of the compensator, in order that given GM and PM specifications are
met. Without going into the design techniques, we will use a = 10 and T = 0.015
(second) for this experiment.

Procedure:

1. Click on the MATLAB icon on the desktop to invoke the MATLAB program. In
command window, go to file  new  m-file to open the MATLAB
editor/debugger. Copy the first twelve lines of the sample program given at the
end of this section. Use the file menu of the editor to save the code with a
filename expt6.m. Now the program can be executed by going to tools  run in the
editor window. From the MATLAB command window measure the values of gain
crossover frequency, phase margin, phase crossover frequency and gain margin of
the uncompensated system.
Reduce the plant gain K to 50 (= 100/2) now. Observe that the phase-vs-
frequency plot has remained unchanged, but the gain-vs-frequency plot has
shifted downwards by 6 dB (= 20 log 2). Again read the values of gain crossover
frequency, phase margin, phase crossover frequency and gain margin. Record the
data in the present and the previous paragraph in a single table.

2. Restore the value of K to 100 now. Copy five more lines of the sample program
(up to line 16). Run the program and make a free-hand sketch of the Bode plot of
the lead compensator. Using the data cursor record the values of very low
frequency gain, very high frequency gain, maximum phase lead m and the
corresponding angular frequency m.

3. Extend the program up to line 25 and run it. Observe the Bode plot of the
compensated system and read the values of gain crossover frequency, phase
margin, phase crossover frequency and gain margin.

4. Copy the remaining lines of the sample program. Observe the unit step responses
of the original and the compensated systems. Approximately measure the
maximum peak overshoots of the two systems.

5. Record the closed-loop transfer functions of the original and compensated


systems. Observe that the order of the system has increased after compensation
and yet the system has better relative stability.

SAMPLE PROGRAM:
clear; close; clc; % Expt 6 – Control Lab % (Line 1)
nump = [100]; % Specifies the plant TF numerator
denp = [0.01 1.01 1 0]; % Specifies the plant TF denominator
sysp = tf(nump,denp);
w = logspace (-1, 4, 100);
bode(sysp, w); grid on;
[Gm,Pm,Wcp,Wcg] = MARGIN(sysp); Gm_db = 20*log10(Gm);
Gm_db
Wcg
Pm
Wcp % (Line 11)
pause;
numc = [0.15 1];
denc = [0.015 1];
bode(numc, denc, w);
grid on; % (Line 16)
pause;
[num, den] = series (numc, denc, nump, denp); % The open-loop cascaded system
sys_OL = tf(num,den);
bode(sys_OL, w); grid on;
[Gm,Pm,Wcp,Wcg] = MARGIN(sys_OL); Gm_db = 20*log10(Gm);
Gm_db
Wcg
Pm
Wcp % (Line 25)
pause;
[n1, d1] = feedback (nump, denp, 1, 1, -1); % The original closed-loop system
t= 0:0.02:5;
y1 = step (n1, d1, t);
[n2, d2] = feedback (num, den, 1, 1, -1); % the compensated closed-loop system
y2 = step (n2, d2, t);
subplot(2,1,1);plot (t, y1); grid on; title('The original closed-loop system');
subplot(2,1,2);plot (t, y2); grid on; title('The compensated closed-loop system');

Report:

1. Reproduce all the data in tabular form and the free-hand sketch of the Bode plot of
the compensator obtained in step 2 of procedure. Compare the theoretical values
of m and m with the experimentally obtained ones.

2. Show that for a<1, a compensator with a transfer function G c(s)= (1+aTs)/(1+Ts)
always produces a phase lag, independent of the frequency. What should be a
suitable name for such a compensator?

3. Consider an operational amplifier-based, unity-gain, inverting amplifier with both


input and feedback resistors of value R. Connect capacitors C1 and C2 across the
input and feedback resistors, respectively. Derive the transfer function E o(s)/Ei(s)
and show that, barring the negative sign, it realizes Gc(s). Express ‘a’ and ‘T’ in
terms of the component values.

Rev 1/July 23, 2018

Roll no:

Signature of class teacher:


Date:

You might also like