Documente Academic
Documente Profesional
Documente Cultură
AIM:
To simulate the time response characteristic of higher-order Multi-
input multi output (MIMO) liner system using state variable formulation.
APPARATUS REQUIRED:
MATLAB 6.5
THEORY:
Time Domain Specification
The desired performance characteristics of control systems are specified in
terms of time domain specification. System with energy storage elements
cannot respond instantaneously and will exhibit transient responses, whenever
they are subjected to inputs or disturbances.
The desired performance characteristics of a system of any order may be
specified in terms of the transient response to a units step input signal.
The transient response of a system to a unit step input depends on the initial
conditions. Therefore to compare the time response of various systems it is
necessary to start with standard initial conditions. The most practical standard is
to start with the system at rest and output and all time derivatives there of zero.
The transient response of a practical control system often exhibits damped
oscillation before reaching steady state.
The transient response characteristics of a control system to a unit step input
are specified in terms of the following time domain specifications.
1. Delay time, td
2. Rise time, tr
3. Peak time, tp
4. Maximum overshoot, Mp
5. Setting time, ts
FORMULA:
π −θ
Risetime =
ωd
1 −ζ 2
where θ = tan −1
ζ
Damped frequency of oscillation,
ωd = ωn 1 − ζ 2
PROCEDURE:
7. Enter the command window of the MATLAB.
8. Create a new workspace by selecting new file.
9. Complete your model.
10.Run the model by either pressing F5 or start simulation.
11.View the results.
12.Analysis the stability of the system for various values of gain.
PROBLEM:
Obtain the step response of series RLC circuit with R = 1.3KΩ , L = 26mH and
C=3.3µ f using MATLAB M – File.
PROGRAM:
num = [ 0 0 1 ]
den = [ 1 0.2 1 ]
impulse (num, den)
grid
title (‘ unit impulse response plot’)
Result:
EXPT.NO :
DATE :
AIM:
(i) To obtain the bode plot, Nyquist plot and root locus of the given
transfer function.
(ii) To analysis the stability of given linear system using MATLAB.
APPARATUS REQUIRED:
System with MATLAB
THEORY:
Frequency Response:
The frequency response is the steady state response of a system when the
input to the system is a sinusoidal signal.
Frequency response analysis of control system can be carried either
analytically or graphically. The various graphical techniques available for
frequency response analysis are
1. Bode Plot
2. Polar plot (Nyquist plot)
3. Nichols plot
4. M and N circles
5. Nichols chart
Bode plot:
The bode plot is a frequency response plot of the transfer function of a
system. A bode plot consists of two graphs. One is plot of the magnitude of a
sinusoidal transfer function versus log ω . The other is plot of the phase angle of a
sinusoidal transfer function versus logω .
The main advantage of the bode plot is that multiplication of magnitude can
be converted into addition. Also a simple method for sketching an approximate log
magnitude curve is available.
Polar plot:
The polar plot of a sinusoidal transfer function G (jω ) on polar coordinates
as ω is varied from zero to infinity. Thus the polar plot is the locus of vectors
[G (jω ) ] ∠ G (jω ) as ω is varied from zero to infinity. The polar plot is also
called Nyquist plot.
Root Locus:
The root locus technique is a powerful tool for adjusting the location of
closed loop poles to achieve the desired system performance by varying one or
more system parameters.
The path taken by the roots of the characteristics equation when open loop
gain K is varied from 0 to ∞ are called root loci (or the path taken by a root of
characteristic equation when open loop gain K is varied from 0 to ∞ is called root
locus.)
Resonant Peak, Mr
Resonant Frequency, ω r
The bandwidth is the range of frequency for which the system gain is more
than -3db. The frequency at which the gain is -3db is called cut off frequency.
Bandwidth is usually defined for closed loop system and it transmits the signals
whose frequencies are less than cut-off frequency. The bandwidth is a measured of
the ability of a feedback system to produce the input signal, noise rejection
characteristics and rise time. A large bandwidth corresponds to a small rise time or
fast response.
Cut-Off Rate:
The slope of the log-magnitude curve near the cut off frequency is called
cut-off rate. The cut-off rate indicates the ability of the system to distinguish the
signal from noise.
Gain Margin, Kg
The gain margin, Kg is defined as the reciprocal of the magnitude of open
loop transfer function at phase cross over frequency. The frequency at witch the
phase of open loop transfer function is 180 is called the phase cross over
frequency, ω pc.
Phase Margin, γ
The phase marginγ , is that amount of additional phase lag at the gain cross
over frequency required to bring the system to the verge of instability, the gain
cross over frequency ω gc is the frequency at which the magnitude of open loop
transfer function is unity (or it is the frequency at which the db magnitude is zero).
PROCEDURE:
Problem 1
MATLAB Program
a = [0 1 ; -25 -4]
b = [1 1 ; 0 1]
c = [1 1 ; 1 1]
d = [0 0 ; 0 0]
bode (a, b, c, d)
grid
title (‘BODE DIAGRAM’)
Problem 2 1
Draw the Nyquist plot for G(s) =
s( s + 1)
MATLAB Program
num = [0 0 0]
den = [1 1 0]
nyquist (num,den)
v = [-2,2,-5,5]
axis (v)
grid
title (‘Nyquist Plot’)
Problem 2
Obtain the root focus plot of the given open loop T.F is
K
s ( s + 0.5)( s 2 + 0.6 s +10 )
G(s) H (s) =
MATLAB Program
num = [0 0 0 0 1]
den = [11.1 10.3 5 0]
rlocus (num,den)
grid
title [‘Root Locus Plot’]
Result:
EXPT.NO :
DATE :
AIM:
To find the percentage peak overshoot and steady state error of the
given P, PI and PID
APPARATUS REQUIRED:
MATLAB, SIMULINK
THEORY:
A controller is similar to an amplifier. It is used in closed loop control
system to enhance the system output.
In proportional controller, the output is proportional to the input. Kp
represents the gain constant of proportional contoller.
VO R
KP = =1 + F
Vi RI
derivative combined action has the advantages of the three individual control
actions.
The transfer function of the controller is given by
Vo (s) / Vi (s) = Kp (1 + 1 / (Ti + Td))
where Vo = output voltage
Vi = input voltage
Ti = integral time constant
Td = derivative time constant
Kp = gain constant
PROCEDURE:
PROPORTIONAL CONTROLLER:
1. Make the connections as per the circuit diagram
2. Set the values by using knobs on the trainer as follows:
♣ Input amplitude to 1 V (p-p)
♣ Frequency at low value
4. For various values of Kc, observe the waveforms
4. The above steps are repeated for a few non – zero values of Kd.
5. The improvement in transient performance is observed using CRO
with increasing values of Kd, while the steady state error remains unchanged.
6. Calculate the values of peak overshoot and steady state error.
Result:
APPARATUS REQUIRED:
System employed with MATLAB 6.5
THEORY:
The control systems are designed to perform specific taskes. When
performance specification are given for single input. Single output linear time
invariant systems. Then the system can be designed by using root locus or
frequency response plots.
The first step in design is the adjustment of gain to meet the desired
specifications. In practical system. Adjustment of gain alone will not be sufficient
to meet the given specifications. In many cases, increasing the gain may result poor
stability or instability. In such case, it is necessary to introduce additional devices
or component in the system to alter the behavior and to meet the desired
specifications. Such a redesign or addition of a suitable device is called
compensations. A device inserted into the system for the purpose or satisfying the
specifications is called compensator. The compensator behavior introduces pole &
zero in open loop transfer function to modify the performance of the system.
The different types of electrical or electronic compensators used are lead
compensator and lag compensator.
In control systems compensation required in the following situations.
1. When the system is absolutely unstable then compensation is required
to stabilize the system and to meet the desired performance.
2. When the system is stable. Compensation is provided to obtain the
desired performance.
LAG COMPENSATOR:
A compensator having the characteristics of a lag network is called a lag
compensator. If a sinusoidal signal is applied to a lag network, then in steady state
the output will have a phase lag with respect input.
FORMULA:
B y0
Gain = =
A x0
= 20 log( B / A)
Phase θ = − sin −1 ( x0 / A)
= − sin −1 ( y 0 / B )
PROCEDURE:
With out compensator:
1. Make the connection as per the circuit diagram.
2. Apply the 2V p-p sin wave input and observe the waveform.
3. Very the frequency of the sin wave input and tabulate the values of xo and yo
figure
step(de*sys_cl, t)
sys_cl=feedback (pitch,10);
de=0.2;
t=0:0.01:10;
bode(sys_cl, t)
grid on
title ( 'BODE PLOT FOR CLOSED LOOP SYSTEM WITHOUT
COMPENSATOR')
EXPT.NO :
DATE :
AIM:
APPARATUS REQUIRED:
THEORY:
Speed can be controlled by varying (i) flux per pole (ii) resistance of armature circuit and
(iii) applied voltage.
It is known that N ∝ Eb. If applied voltage is kept, Eb = V – IaRa will
φ
Remain constant. Then, N ∝ 1
φ
By decreasing the flux speed can be increased and vice versa. Hence this
method is called field control method. The flux of the DC shunt motor can be
changed by changing field current, Ish with the help of shunt field rheostat. Since
the Ish relatively small, the shunt filed rheostat has to carry only a small current,
which means Ish2 R loss is small. This method is very efficient. In non-interpolar
machines, speed can be increased by this methods up to the ratio 2: 1. In interpolar
machine, a ratio of maximum to minimum speed of 6:1 which is fairly common.
FORMULA:
Armature Control D.C. Shunt motor:
Km
Transfer Function =
S (1 + TmS)
Km = 1 / Avg Kb
Tm = JRa / Kb Kt
Sl.No If Ia S1 S2 N V T Eb ω Kb = Eb / ω
Kt = ∆ T / ∆ Ia
Eb = V-Ia Ra
Constant Values
J = 0.039 Kg2m
B = 0.030 N / rpm
K
Transfer Function =
Js2 (1 + ζ s)
K = Kt / Rf
ζ = Lf / Rf = V Zf2 – Rf2 / 2π f / Rf
ω = 2π N / 60
T = r ( S1 – S2 ) * 9.81 N-m and r = .075m
Avg Kb =
Avg Ra =
PRECAUTIONS:
At starting,
• The field rheostat should be kept in minimum resistance position
Finding Kb
1. Keep all switches in OFF position.
2. Initially keep voltage adjustment POT in minimum potential position.
3. Initially keep armature and field voltage adjustment POT in minimum
position.
4. Connect the module armature output A and AA to motor armature terminal
A and AA respectively, and field F and FF to motor field terminal F and FF
respectively.
5. Switch ON the power switch, S1, S2.
6. Set the field voltage 50% of the rated value.
7. Set the field current 50% of the rated value.
8. Tight the belt an take down the necessary readings for the table – 1 to find
the value of Kb.
9. Plot the graph Torque as Armature current to find Kt.
Finding Ra
1. Keep all switches in OFF position.
2. Initially keep voltage adjustment POT in minimum position.
3. Initially keep armature and field voltage adjustment POT in minimum
potential position.
4. Connect module armature output A and AA to motor armature terminal
A to AA respectively.
5. Switch ON the power switch and S1.
6. Now armature voltage and armature current are taken by varying the
armature POT with in the rated armature current value.
7. The average resistance value in the table -2 gives the armature resistance.
Finding Rf
1. Keep all switches in OFF position.
2. Keep armature field voltage POT in minimum potential position.
3. Initially keep armature and field voltage adjustment POT in minimum
potential position.
4. Connect module filed output F and FF to motor filed terminal F and FF
respectively.
5. Switch ON the power, S1 and S2.
6. Now filed voltage and filed current are taken by varying the armature POT
with in the rated armature current value.
7. Tabulate the value in the table no – 3 average resistance values give the fied
resistance.
Finding Zf
1. Keep all switches in OFF position.
2. Keep armature and field voltage POT in minimum position.
3. Initially keep armature and field voltage adjustment POT in minimum
position.
4. Connect module varaic output P and N to motor filed terminal F and FF
respectively.
5. Switch on the power note down reading for the various AC supply by
adjusting varaic for the table no – 4.
Finding Ktl
1. Keep all switches OFF position.
2. Initially keep voltage adjustment POT in minimum potential position.
3. Initially keep armature and field voltage adjustment POT in minimum
position.
4. Connect the module armature output A and AA to motor armature terminal
and AA respectively, and field F and FF to motor field terminal F and FF
respectively.
5. Switch ON the power switch, S1 and S2.
6. Set the filed voltage at rated value (48V).
7. Adjust the armature voltage using POT on the armature side till it reaches
the 1100 rpm.
8. Tight the belt and take down the necessary reading for the table – 5 Ktl
9. Plot the graph Torque as Field current to find Ktl
OBSERVATION TABLE FOR TRANSFER FUNCTION OF ARMATURE
CONTROL DC SERVO MOTOR:
Avg Rf =
Table No:4 To find Zf
If (amp)
Sl.No Vf (Volt) Zf = Vf / If
mA
Avg Zf =
l
Table No: 5 To find K t
Sl.No If Ia S1 S2 T( N – m) N (rpm)
MODEL GRAPH:
∆ Ktl = ∆ T /
∆ ∆ Kt = ∆ T / ∆ Ia
∆ ∆ If
T
T
T T
∆
∆ If
Ia
MODEL CALCULATION:
Result: