Download presentation
Published byJessica Marshall Modified over 9 years ago
1
f(t) m x(t) fd(t) LINEAR CONTROL C (Ns/m) k (N/m)
x(t) is the output variable and is measured by a displacement sensor. The output of a sensor is always an electrical output mainly voltage. In the Figure, f(t) is the actuating force that excites the system in order to produce the desired output x(t). On the other hand, fd(t) is the disturbance that works against actuating force and prevents the system to reach the desired output.
2
Actuators: V1 Gact (Force, Moment, etc.)
Actuators are used to drive the engineering systems. DC motors, servo motors, hydraulic and pneumatic system elements are the basic type of actuating elements. The inputs of the actuators are also voltage. One can write a transfer function in order to model the behaviour of an actuator. (Voltage) Gact V1 (Force, Moment, etc.)
3
Sensors: Sensors are the basic components of a control system that are used to measure the output/outputs of the system in order to obtain a feedback signal. The output of a sensor is mainly a voltage signal. One can write a transfer function in order to relate the input and output of the sensor. The input of a sensor is a physical event, temperature, pressure, displacement, velocity, acceleration, magnetic flux, rate of the fluid flow etc.) (Voltage) Displacement, pressure, temperature V2 Gsens
4
+ Gact OPEN-LOOP CONTROL -Fd Gsens V2 V1 F(t) x(t) 0.1 Volt/m
100 N/Volt 0.1 Volt/m
5
Let’s take Fd=0
6
Objective: The desired steady-state value of x(t) is 0. 05 m
Objective: The desired steady-state value of x(t) is 0.05 m. In this case, the sensor output voltage is calculated as The input voltage which is sufficient to obtain the output voltage, V2 is calculated as m=200 kg c=300 Ns/m k=5000 N/m The steady-state behaviour doesn’t include time variations and the system considered as static, then
9
V2(t) V2ss=0.005 Volt The Figure shows that, desired x(t) value is achieved if the external disturbance Fd is zero. If Fd is not zero!
10
Let’s take Fd=80 N.
11
Time (second) V2(t) Fd=0 Fd=80 N
12
+ - Gcont Gact -Fd Gsens V2 V1 F(t) x(t) E Vref
Can we obtain desired x(t) even if Fd is not zero. This is the main concern of a control process. This can be achieved via the impementation of a closed-loop control. Vref -Fd Gsens V2 + Gact V1 F(t) x(t) 100 N/Volt 0.1 Volt/m Gcont - E (Error) Feedback
14
The form of the transfer function of the controller is the most important parameter in a control application. Gcont can be Proportional, Derivative, Integral or a suitable combination of these three choices.
15
For proportional control, Gcont=Kp
Kp is the proportional constont, Ki is the integral constant and Kd is the derivative constant. For proportional control, Gcont=Kp Vref=0.005 Volt, Fd=80 N Let’s take Kp=1000
18
Open-loop Closed-loop, Kp=1000. Desired V2(t) Time (second)
19
For Kp=10000
21
ess ess V2(t) Time (second) Kp Closed-loop, Kp=10000 Desired Open-loop
22
By MATLAB Simulink
23
For proportional-derivative (PD) control, Gcont=Kp+Kds Kp=10000, Kd=100
25
PD Control by Simulink Reference Voltage:0.005 Volt Disturbance:-80 N
26
PD Control by Simulink Desired Time (second) V2(t)
27
PID Control by Simulink
Gc Controller
28
Effect of the PID parameters on the output
P Control: Kp=1000 PD Control: Kp=1000, Kd=1000 PI Control: Kp=1000, KI=1000 PID Control: Kp=1000, KI=1000, Kd=1000 Desired Output
29
Effect of the PID parameters on the output
30
STABILITY OF LINEAR CONTROL SYSTEMS
Among the many forms of performance specifications used in design, the most important requirement is that the system be stable. An unstable system is generally considered to be useless. The stability of a control system is directly related to the location of the roots of the charactersitic equation D(s). s-plane j Stable region Unstable region Stable region Unstable region
31
Example 1: Consider an open-loop control system 100 V1(s) V2(s) D(s)
32
s-plane D(s)=s2+9s+15 by MATLAB s1=-2.2087 >>a=[1 9 15];
by MATLAB s1= s2= >>a=[1 9 15]; >> roots (a) The two roots of D(s) are in the left hand side of the s-plane. It can be easily said that the open-loop system is stable. Time (s) V2(t) V2ss=6.66 Response of the system to a unit step input can be obtained by MATLAB as >>ns=[100]; >>ds=[1 9 15], >>step(ns, ds)
33
Example 2: V1(s) V2(s) 100 D(s) >>a=[1 3 75]; >> roots (a) s1= i s2= i
34
Response of the system to a unit step input can be obtained by MATLAB as
>>ds=[1 3 75], >>step(ns, ds) s-plane i V2ss=1.33 i
35
100 V1(s) V2(s) Example 3: D(s) >>a=[1 0 15]; >> roots (a) s1= i s2= i The real part of the roots are zero. No roots on the right-half s-plane and system is said to be marginally stable.
36
Response of the system to a unit step input can be obtained by MATLAB as
>>ds=[1 0 15], >>step(ns, ds) 3.873 i i s-plane V2(t) Time (s)
37
Example 4: V1(s) V2(s) 100 D(s) The real part of the roots are positive. Two roots are on the right-half s-plane and system is said to be unstable. >>a=[ ]; >> roots (a) s1= i s2= i
38
Response of the system to a unit step input can be obtained by MATLAB as
>>ds=[ ], >>step(ns, ds) i i s-plane V2(t) Unstable Time (s)
39
K + V2(s) R(s) - Example 4: System
Consider a closed-loop control system V2(s) K R(s) + - Controller Mason Formula:
40
K R(s) + - V2(s)
41
K + V2(s) R(s) - By using Mason formula D(s)
Forward Path Loop By using Mason formula D(s) Is the closed-loop control system stable? For what values of K, the system is said to be stable?
42
Routh-Hurwitz criterion: This criterion is an algebraic method that provides information about the stability of a linear time invariant system that has a characteristic equation with constant coefficients. The criterion tests whether any of the roots of characteristic equation lie in the right-half s-plane. The number of roots that lie on the j axis and in the right half plane is also indicated. s3 1 K+9 s2 5 3K+5 s1 0 s K+5 0 All terms must have the same sign. The number of positive roots is equal to the change in the sign.
43
K>-1.66 System is stable for all positive K values.
K+9 >0 , K>-9 3K+5 > 0, K> -1.66 0.4K+8>0, 0.4K>-8, K>-8/0.4, K>-20 K>-1.66 System is stable for all positive K values. s1= i s2= i s3= For K=10; Response of the system to a unit step input can be obtained by MATLAB as >>ns=[10 30]; >>ds=[ ], >>step(ns, ds) s-plane i i
44
Response to a unit step input, V2(t)
Time (s) Stable
45
Example 1: K R(s) + - V2(s) D(s)
46
K>0, 24K>0, 80K>0 K>0
s K s K 80K s s s1 s0
47
K=3x107 K=2.1386x107 K=5x105 K=2.34x105 K=1x105 Unstable Stable Unstable
48
K Example 2: + V2(s) R(s) - s3 1 200 s2 30 K s1 0 s0 K<6000
Kcritical=6000
49
By MATLAB, >>K=2000; >>ns=[K]; >>ds=[ K]; >>step(ns,ds) V2(t) Time (sec) K=2000 Stable
50
By MATLAB, >>K=6000; Marginally stable >>ns=[K];
>>ds=[ K]; >>step(ns,ds) Marginally stable K=6000 V2(t) D(s)=s3+30s2+200s+6000 >>ds=[ ]; >>roots(ds) p1= p2= i p3= i Time (sec)
51
By MATLAB, >>K=8000; >>ns=[K]; >>ds=[ K]; >>step(ns,ds) K=6000 V2(t) Time (sec) Unstable
52
ZIEGLER-NICHOLS DESIGN
The coefficients of the controller can be chosen according to Kcritical and critical which are calculated from Routh tabulation. Ziegler and Nichols recommended below relationships while determining the controller coefficients. For P control For PI control For PIDcontrol
53
Example 2: + V2(s) R(s) Gc(s) -
55
APPLICATION OF THE MASON FORMULA
K K1 + - R(s) Y(s)
57
Example: K K1 + - R(s) Y(s) N(s) s
58
With respect to R(s) With respect to N(s)
59
STEADY STATE ERRORS Y(s) R(s) E(s) + K -
The steady-state error value can be found for different inputs, R(s).
60
Step Input: R(t) R(t)=Au(t) A t(s) (Step input error coefficient)
The steady-state error for a step input with magnitude A.
61
Ramp Input: R(t) R(t)=At A=Tan() t(s) Ramp input error coefficient
62
Error coefficients and steady-state errors are valid for stable systems. Unity feedback systems are considered. Example: Find the step input and ramp input error coefficients and steady-state errors for the closed loop system whose forward path is given as There is no error for step input, A=1.
63
System has steady-state error for ramp input, A=1.
64
ROOT-LOCUS Method Consider a control system, K + R(s) Y(s) E(s) -
65
Root-Locus Plot: s+1=0, s=-1 Zeros: Np(s)=0
According to stability, the roots of the denominator of H(s) should lie on the left side of s-plane. Root Locus method gives the locations of the roots of the denominator with respect to varying controller gains, K. Root-Locus Plot: The root-locus plot of a closed loop system can be obtained easily by using the forward path transfer function of a closed loop control system. Example: Find the root locations of a closd loop cntrol system whose process transfer function is Zeros: Np(s)=0 s+1=0, s=-1 m = (number of zeros)=1
66
Plotting the root-locus :
Poles, Dp(s)=0, n=Number of poles = 4. p1=0 p2=-5 p3=-2+2i p4=-2-2i n-m=4-1=3 Plotting the root-locus : Determine the zeros and poles of the Gp(s) Determine the angles of asymptotes, Determine the intersection of asypmtotes, Determine the breakaway points. For the given system, zeros and poles are calculated as p1=0 p2=-5 p3=-2+2i p4=-2-2i z1=-1 n-m=4-1=3
67
Angles of asymptotes: Poles of Gp(s) Zeros of Gp(s) >>ns=[1 1];
Root-locus by MATLAB Poles of Gp(s) Zeros of Gp(s) >>ns=[1 1]; >>ds=[ ] >>rlocus(pay,payda)
68
Intersection of asymptotes:
Root-locus by MATLAB K 180o 60o Root-Locus curve is symmetrical with respect to the real axis. K=0 K K=0 K=0 Kc 300o K=0 Critical K value can be found by Routh tabulation. -2.66 K
69
Breakaway points: A Breakaway point is the intersection point of the root-locus curve on the real axis. These points can be found by,
70
s1= s2=-2.36 s3= i s4= i There are no breakaway points because the root-locus curve doesn’t intersect the real axis.
71
Example: Plot the Root-Locus graph of the Closed-loop control system whose process transfer function is given as K + R(s) Y(s) -
72
Example: Plot the Root-Locus graph of the Closed-loop control system whose process transfer function is given as K + R(s) Y(s) - Process Transfer Function Solution: Zeros and Poles of Gp(s) are found, s+3=0 s=-3, Number of zeros m=1 s1=0, s2=-5, s3=-6, s4=-1+1i, s5=-1-1i, Number of poles=5 Angles of the Asymptotes
73
Angles of the Asymptotes
Intersection point of the Asymptotes The Breakaway point is calculated as,
74
Np(s)=s+3 Dp(s)=s5+13s4+ 54s3+ 82s2+ 60s Breakaway point
75
>>rlocus(ns,ds)
Root Locus by MATLAB, >>ns=[1 3]; >>ds=[ ]; >>rlocus(ns,ds) Asymptote -2.5 45O 135O Intersection point K Breakaway Point Real Imaginary K=0
76
BODE PLOTS The bode plot gives information about the frequency response of a system. Consider a system whose input is a harmonic function F(s) Y(s) A A Cos(t) A Sin(t) +A -A Y(s)=G(s) F(s) The response y(t) can be written as,
77
Example: Find the response of the system (G(s)) , to a harmonic excitation given as f(t)=3*Cos (5*t). Take n=1 rad/sec, =0.3. Solution: A = 3, s=5 i, The response of the system to a harmonic input, A*cos(t), can be found for different excitation frequencies, . For harmonic response replace s by i. >> w=0:0.001:30; >> s=i*w; >>wn=1; >>ksi=0; >>gs=wn^2./(s.^2+2*ksi*wn+wn^2); >>plot(w,abs(gs))
78
Frequency Response of The System, n=1 rad/sec.
|G(i)| =0 =0.1 =0.5 =0.3 =0.707 =1 Frequency Response of The System, n=1 rad/sec. n Rezonance Rezonance Rezonance Frequency
79
BODE PLOT by MATLAB >>wn=1; >>ksi=0.3; >>ns=[wn^2];
>>ds=[1 2*ksi*wn wn^2]; >>bode(ns,ds)
80
BODE PLOT Y(s) R(s) + K - 1+G(s)=0 G(s)=-1 = -1 G(i) G(s) plane
Gain Margin Gm Phase Margin m G(i) Log10 -180 Gm m Log10|G(i)|
81
Example: Find the Gain and Phase margins of the system whose transfer function is given below,
>>ds=[ ]; >>bode(ns,ds) Gm=32.2 dB m=76.91
82
EXAMPLES E1: Draw the approximate Root-Locus graph of a control system given below. - + R Y K Solution: Find Zeros ans Poles of the Gp(s) m=1 n=3 Angles of the Asymptotes:
83
Real part of the roots goes to -4.5 as K goes to infinity.
Intersection of the Asymptotes with real axis -6 270 -2.5 -3i 3i -4.5 K=0 Real Imaginary K There is no breakaway point. The system remains stable for All positive K values. Real part of the roots goes to -4.5 as K goes to infinity.
84
E2. The forward path transfer function of a closed-loop control system is given as.
Find the Kt value which makes the ramp input error coefficient Kr=2. Find the steady state errors for unit step and unit ramp input for this Kt value. Kt=1.5 System has no steady-state error for unit step input. System has steady-state error for unit ramp input.
85
E3. The root-locus graph of a closed-loop control system whose denominator is D(s)=s3+2s2+(6+K)s+(3K+1) is given below. Find the coefficients (Kp, Kı, Kd) of a PID controller which will be employed in this control system. K -3 0.5 s= i s= i Solution: First of all, find Kcritical by Routh tabulation.
86
K<11 Kcritical=11 PID D(s)=s3+2s2+(6+K)s+(3K+1) s3 1 6+K s2 2 3K+1
87
Kp=6.6, KI= 9.078, Kd=1.2
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.