Professional Documents
Culture Documents
Note:
These compensating networks increase the steady state accuracy of the
system. An important point to be noted here is that the increase in the
steady state accuracy brings instability to the system.
How Compensation is done??
By introducing poles and zeros in the system thereby causes changes
in the transfer function of the system.
Due to this, performance specifications of the system change.
Types of compensation
The simplest network used for compensator are known as lead, lag
network.
Lead Lag Compensation
𝑮𝒄 𝒔
A system which has one pole and one dominating zero (the zero which is closer to the
origin than all over zeros is known as dominating zero.) is known as lead network.
A system which has one zero and one dominating pole ( the pole which is closer to
origin that all other poles is known as dominating pole) is known as lag network.
Phase Lead Compensation
Standard form of
Transfer function of
compensation
α = α α
=
α
α ( ) ( ) α )
G’ G(s) = = K’
( ) ( )
𝐺 𝑠 G(s)
Role of lead compensation
α= α α
=
α
α ( ) ( ) α )
G’ G(s) = = K’
( ) ( )
Role of lag compensation
Larger gains at lower
frequencies; have the potential
to improve steady-state error
constants.
However, phase lag
characteristic could reduce
phase margin.
Note: If K K
Designing a Phase Lead Compensation
Step2: Draw bode plot of given function and find phase margin φ.
Step6: Find T ω =
√α
(s) =
function is : G(s) =
K
s(1+0.1s) (1+0.001s)
Such that It will full fill the following specifications
• Phase margin ≥ 45°
• Velocity constant K = 1000
Solution:
G(s) G(s) 𝐺 𝑠
α K
G’ G(s) =
s(1+0.1s) (1+0.001s)
K’ α )
=
s(1+0.1s) (1+0.001s)
Velocity error Constant
K’ α )
G’
s(1+0.1s) (1+0.001s)
3. Find φ = φ φ+ε= °
-0+5= ° Note that: Gain of the compensated system K
= 1000 , so 1/7.51 should be cancelled from
lead compensation
φ
4. α = φ
Step 8: Overall Transfer Function:
α = 7.51
function is : G(s) =
s(s )
Kc = 10
K’ = 40
PM = °
40(1+0.227s)
G’(S) = s(s = 41.7
)( . ) s(s )( . )
System Phase margin φ = °
, 7. Put the values of α an T in
Specified phase margin φ °
equation in
3. Find φ = φ φ+ε= °
- °
+5= °
G’(s) =
φ s(s ) )
4. α = φ
Step 8: Overall Transfer Function:
α = 4.2 Here G(s) = then,
s(s )
Step 4: Calculate ω φ
Step 5 : Calculate α φ
Mark the magnitude in dB at
frequency ω and
Step 6: Find T
(nearest zero = ( )th of ω )
ω
α
T=
ω = 1.1
rad/sec
Designing a Phase Lead Compensation
Step 7: Put the value of α and T in
( ) (α )
G’ G(s) = K’
( )
Given:
K
G(s) =
s(s+2) (s+20)
α = α
Let
K α K′ α
Overall Transfer function G’(s) = * = *
s(s+2) (s+20) s(s+2) (s+20)
1.
20 α
G’(s) = *
s(10+.5s) (1+0.05s)
20 ( )
G’(s) =
s(1+0.5s) (1+0.05s)( )
function is : G(s) =
s(s )( . )
5(10s+1)
G’(s) =
s(s
Compensation Design using root locus technique
Compensation Design using root locus technique
Some remarks
Solution:
φ °
= -180°
φ= °
Step 5: Find poles and zeros from graph
In the root locus graph plot the closed loop
dominant pole .
Join P and 0.
Draw the horizontal line PS.
Bisect angle SPO
φ
Draw angle = ° on both side of bisector line.
In lead compensator point nearer to origin is
zero and farther point is pole.
Design principles:
Don’t reshape the root locus
Adding the open loop pole and zero from the compensator should only result in a
small change to the angle criterion.
Angles from compensator pole and zero to any (important) point on the locus must
be similar.
Pole and zero must be close together.
Lag Compensators Design with an example
= 1 K’ = 2.664
S = -0.4+j0.69
Step 2 continue or incase if only ζ given
ω
Draw a line for ζ = 5 from cos
= °
K’ = 0.8*0.9*3.7 = 2.664
Step 3: Find β from Kv
β = 7.507
Step 4: Find T
= 1/10th * -1 = - 0.1
= 0.1* = - 0.0133
Tβ .
. ( . )
G(s)
( )( )( . )
Lag Compensators Design with an example
1
G(s) =
s(s+2)
Design a lag compensator to achieve damping coefficient ζ ≈ 0.45 and
velocity error constant Kv ≥ 20.
Solution:
=
s(s+2)
Step 3 : Find Gain K’
Draw a line for ζ ≈ 0.45 cos
°
=
°
Draw line from negative real axis
and note the distance from the intersection
point to each pole and zeros.
K’
K’ ≈ 5
Step 4: Find β using kv:
∗( )
20 =
( )( )
Tβ
∗
=β β=8
Step 5: Find T
Generally, pole of the compensator design is placed at 1/10th distance of nearest
pole of the system.
= 1/10th * 2 = 0.2
= 0.2* = 0.025
Tβ
Proportional, Integral, and Derivative (PID) controllers
P-controller
I-controller
D-controller
PI controller
PD- controller
PID is simply an equation that the controller uses to evaluate the controlled
variables.
The control physical variables may be temperature, pressure, flow rate, and tank
level.
First, the engineer must choose the structure of the PID controller, for
example P only, P and I, or all three terms P, I, and D.
To design a control system and achieve the desired results, we need to
have the knowledge of PID controller in details.
Proportional Control
The proportional controller produces an output, which is proportional to
error signal.
Proportional controllers are commonly used in simple control systems, such as home
heating and cooling systems.
Integral Control
With proportional control, there is normally a control error in steady state.
The role is to reduce the error between the actual output and the desired output
The main function of the integral action is to make sure that the process output
agrees with the setpoint in steady state.
Controller error is e(t) = SP - PV. In the plot below (click for a large view), the
integral sum of error is computed as the shaded areas between the SP and PV
traces.
Function of the Integral Term
Integral Control
The integral controller produces an output, which is integral of the error
signal.
They are effective in reducing overshoot but can cause oscillations in the output
signal.
For example, if a derivative controller is used to maintain the speed of a motor, and
the desired speed is 1000 RPM, the controller will adjust the output signal based on
how fast the motor is accelerating or decelerating. If the motor is accelerating too
quickly, the output signal will be adjusted to slow it down. If the motor is
decelerating too quickly, the output signal will be adjusted to speed it up. This
process continues until the motor reaches the desired speed.
PID controllers are more accurate and effective than single-element controllers but
are more complex to use and understand.