Control Engineering-1مرجع
Control Engineering-1مرجع
Course:
1- Introduction (control, plant, system, disturbance, open loop, closed loop,
control system specifications, types of c.s.)
2- Mathematical model (DE, Elect. C.s., Mech. C.s.)
3- State space models
4- Laplace transform & Transfer functions
5- Stability analysis (Pole-Zero Locations & Routh-test)
6- Block diagrams & Errors
7- Responses (complex & time responses, frequency response)
8- Open loop T.F. analysis (Root locus, Polar plot, Bode diagram ,
Nichols )
9- Stability analysis based on open loop T.F. analysis
Ref.: 1-Modern control Engineering, K. Ogata
2- Modern control System, Dorf
3-Advanced Control Engineering, Roland S. Burns
4- Modern control Technology Delmar
Weighting of assessments
3-determining the defference between the input and the output (error)
4-applying the error (manipulated variable) to the controller
English عربي
1-manual control تحكم يدوى
2-mechanical control تحكم ميكانيكى
3- electrical control تحكم كهربى
4- electronical control تحكم الكترونى
5-computer control تحكم باستخدام الحاسب
-Computer control stage contains :
English عربي
1-DDC direct digital control التحكم الرقمى المباشر
2-SCADA supervisory control and data aquisition تحكم ميكانيكى
3- DCS distributed control system التحكم المنتشر
4- PLC programmable logoc controller التحكم المنطقى المبرمج
5- DSP digital signal processor controller التحكم باالشارات الرقمية
6- intelligence controller(Fuzzy, Neural,….) التحكم الذكي
8- Controller: it is the machine intelligence of the control system and has a control
strategy. Which is the set of rules that the controller follows to determine its output to
an actuator. A controller compares controlled values with the desired values and has a
function to correct the deviation produced. The common types of Controllers are:
1-convential: a-on-off controller. b-Proportional controllers (P)
c-Integral controllers (I). d- Derivative controllers (D).
e-Proportional plus integral cont.(PI). f-Proportional plus derivative cont.(PD)
g- Proportional plus integral controllers plus Derivative (PID).
2-intelligent:- a-FUZZY. b-NURRAL. c-SCADA. Types of Controller
(compensation) configurations (arrangements)
1-Series compensation, 2- Parallel or feedback compensation.
3- Feed forward compensation. 4- State feedback control.
R + E C
R + E Contr
M
Proc
C _ _M Process
_
oller ess
Control
2-Follow-up system it causes an output to follow a set path that has been specified in
advance such as industrial robot moving parts from place to place.
linear system: it is a system in which the response to several inputs can be calculated
by treating one input at a time and adding the results i.e. can be apply the
superposition theorem (the response produced by the simultaneous application of two
different forcing functions is the sum of the two individaul resposes). Its advantages
are: 1-can solve analytically, 2-once solved the solution is valid,
1-time-varient 2-time-invarient
1- Single input single output SISO 2-Single input multi output SIMO
3- Multi input single output MISO 4-Multi input multi output MIMO
Linear time-invariant lumped system (LTIL)
Additivity property means that the response of the input [u1(t)+u2(t)] equals to the
sum of response of u1(t) and the response of u2(t).
homogeneity property means that the response of the input [αu1(t)] equals α times
the response of the input [u1(t)].
Lumped property if the effect of any past input u(t), for t ≤to , on future output y(t),
for t≥t0 , can be summarized by a finite number of initial conditions at t=to.
-linear motion ∑
1- The algebraic sum of all currents entering and leaving a node in an electrical
circuit at any given instant is zero
2- The algebraic sum of all voltages around a closed loop in an electrical circuit
at any given instant is zero
∑ ∑
∫
∑
̈ ̇ ̇ ∑ ̈ ̇
∑
̈ ̇ ̇ ∑ ̈ ̇
∑
S=σ+jω=ηωn+jω=attenuation+jfrequency=complex variable
[ ] ∫ [ ] ] ∫
2-Final value (steady state):
4- Inverse Laplace:
It can be obtained by using: 1-partial fraction for distinct poles and multiple poles or
2-Convolution theorem
State space
Transfer function: It is the ratio of the Laplace transform of the output (response)
with zero initial conditions to the Laplace transform of the input (driving) with zero
initial conditions for a linear time-invariant control system. It is a very easy way to
transform from the time domain (t-domain) to the complex domain (S-plane).
1-block of T.F. 2-summing point 3-branch (take off) point 4-lines of connection
5-arrows of flow directions.
system is stable if every bounded input excites a bounded output. Its output C(t) is
bounded to every bounded input r(t) means BIBO & C(t)=Ct(t)+ Css(t). Its closed
loop poles (roots of the characteristic equation) are in the left half of the S-plane.
1-Stable system has all closed loop poles in the left half of the S-plane
2-Critical stable system has all closed loop poles in the left half of the S-
plane but at least one is on the jw- axis
3-unstable system has at least one of the closed loop poles is in the right
half of the S-plane C(t)= ∞ & Ct(t) =∞.
, , ,
Responses analysis
1- Typical testing signal: it is the forcing or input signals to a control system. It used
to compare the performance of all systems on the same basis. It may be
,
Transient Response Table
System Step-response
Values
of η
0> η System is unstable undefined
η =0 System is critically Oscillatory
stable C(t)=1-cosωnt
0< η <1 System is stable Under-damped
C (s) K
1 1st order system It’s the system that can be described with a 1st order differential
R( s) 1 Ts equation, where K is a static gain, and T is the time constant
t
Unit step response
2
of 1st order system c(t ) K (1 e T ) where K is a static gain, and T is the time constant
Time Constant It is the time required for the 1st order system to reach 63.2% of its
3
(Tau) final output.
4
Settling time for
1st order system
ts 4T Time required for the output to reach 98% (or sometimes 95%) of
its final value.
It’s the system that can be described with a 2nd order differential
C ( s) n2
2 equation, where is the damping ratio, and n is the natural
5 2nd order system
R( s) s 2n s n2 nd
frequency in rad/sec. 2 order system may be overdamped,
critically damped or underdamped.
4 It is the time required for the response to reach and stay within
1 Settling time for tp 98% or 95% of the final value.
0 2nd order system n
, ,
Example 2
2-2 Frequency Response: it means the steady state part of the output
of a 1-linear 2-time-invariant 3- stable control system for a sinusoidal
input and it is also sinusoidal with magnitude ratio and phase shift
positive or negative and does not depend on the initial conditions.
Error: it is the difference between the input and the output for a unity
feedback control systems only. Or it is the difference between the input
and the feedback signal for a non-unity feedback control systems. It has
two types static and dynamic.
1-static error depends on two; the input and system parameters (T.F.)
2-dynamic error depends on three; the input and derivatives of the input
and system parameters (T.F.).
Case 1 static error with unity feedback (error=input-output)
Case 2 non-unity feedback (error = input-feedback signal)
It must convert non-unity feedback to unity feedback to find the equivalent inner loop
T.F.= Ge (s)=
1-Root locus
∑[ ]
‖ ‖
∑
‖ ‖
1-the root locus is symmetrical about the real axis in the S-plane
3-the root locus starts at the pole and ends at the zero or infinity
5-number of zeros= m at the nominator of the open loop TF= num [G(s)
H(s)]=0
16- the damping factor or coefficient ζ is straight line with slope Ө= arc
cosine (ζ) with respect to the negative real axis in the S-plane
17- the natural frequency ωn is a circle with radius = ωn and center at the
origin in the S-plane
| | or | |
4-Gain margin Gm: it is reciprocal of the magnitude of the output frequency response
at the Phase crossover frequency ωp
5-Phase margin γm: it is the angle of the output frequency response at the gain
crossover frequency plus 180 degrees.
( ) ( )
4- Gm=20log[Kc/K] db
There are three methods are: 1-polar plot 2-Bode diagram 3-Nichols plot
The main steps are: 1-Find the open loop TF= G(S)H(S) 2-Find the freq.open loop
TF= G(jω)H(jω)=
polar plot (Nyquist): is the plot of the locus of the vector in the Real-
imaginary plane in degrees as a straight line and determine M on this line
as ω changes from zero to infinity
%Laplace syms s t
x1=laplace(dirac(t))%impulse function
x2=laplace(5*t^0)%step function
x3=laplace(5*t)%ramp function
x5=laplace(sin(5*t))%sin function
x7=laplace(exp(-5*t))%exp function
x10=ilaplace(x1)%impulse function
%partial fraction
n=[1 2 3];d=[1 3 3 1];n1=[1 2];d1=[1 3 3 5];
g=tf(n,d), [r1,p1,k1]=residue(n,d), [n3,d3]=residue(r1,p1,k1)
%Stability five methods
1- [z,p,k]=tf2zp(n,d) , [n4,d4]=zp2tf(z,p,k); m=[-1 -2 -3];
2- r=roots(n), roots(d) %roots of n,d
3- pole(g), zero(g)%poles & zeros
4- rlocus(n,d) 5-zpmap(g)
%block diagrams
G3=series(g,g1), G4=parallel(g,g1)
G6=feedback(g,g1,-1)
t=0:0.1:8; r=t;%responces
y1=impulse(g); % 1-impulse response
y2=step(g); %OR-step(n,d)- 2-step response
y3=lsim(n,d,r,t); % 3-response to arbitrary input
subplot(421),plot(y1), subplot(422),plot(y2),
subplot(423),plot(y3)%figure for every one
%open loop analysis
subplot(424),rlocus(n,d) %- 1-Root locus
subplot(425),nyquist(n,d) %- 2-polar plot
subplot(426),nichols(n,d) %- 3-Nichols plot
subplot(427),bode(n,d) %- 4-Bode plot
subplot(428),margin(n,d) %- 5-margin plot