Control Assignment Rev 3
Control Assignment Rev 3
Control Engineering
REFERENCES
1. https://www.tutorialspoint.com/control_systems/control_systems_introduction.htm. [Online]
2. Advanced Textbooks in Control & Signal Processing – Control Engineering, Laszlo Keviczky, Ruth Bars, Jeno
Hetthessy.
3. http://engineering.electrical-equipment.org/panel-building/difference-between-open-loop-closed-loop-
systems. [Online]
4. https://www.electronics-tutorials.ws/systems/closed-loop-system.html. [Online]
5. https://www.tutorialspoint.com/control_systems/control_systems_time_domain_specifications.htm.
[Online]
6. https://www.sciencedirect.com/topics/engineering/laplace-transforms. [Online]
7. http://web.mit.edu/2.14/www/Handouts/PoleZero.pdf. [Online]
8. https://www.electrical4u.com/different-types-non-linearities-in-control-system. [Online]
APPENDICES
Appendix A - Task A – Linear System
Solution:
Continuous Time Position Control System:
1
A system where G ( s )= Assuming H = 1
s ( s+1 )
Where C = Output, R = Input, G = Transfer function along the forward path, H = Transfer function along the
feedback path
C G (s )
( s )=
R 1+G ( s ) H ( s )
The closed-loop transfer function is the forward-path transfer function divided by one plus the open-loop
transfer function.
C G (s )
( s )= Sub in 0 for S, where C(s) = 1
R 1+G ( s ) H ( s )
1
C s (s +1)
( s )= 1 = A( s2 + s+1 ¿ Bs2 +Cs
R 1
1+ +1
s ( s +1 )
2
1 = A(0 +0+ 1¿+ B ¿
1
C(s) = 2 1 = A(1), Therefore A = 1
s + s+ 1
Completing the Square: s2 + s+1=C (s) Determine B & C from the following:
1 2 3
( )
s+
2
+ =C ( s )
4
( 1+ B=0 ) Re - arrange to get B & C
A Bs C
C ( s) = s + 2 + 2
( s + s+1 ) ( s +s +1 )
A Bs+C
C ( s) = + 2
s ( s +s +1 )
1 √3
C(s) =
1
−1
−s−
2 +
√3 2 ( )( )
s 3
2
( s−−0.5 )2+ √
2
( s−−0.5 )2 ( √ 0.75 )
2 ( )
1 s +0.5 0.5
C(s) =
s
−¿ ( 2
( s +0.5 ) +0.75
+¿
)
( 5+0.5 )2 +0.75
This is the Unit Step response
1 b s−a
=1 = ⅇ at sin ( bt ) =ⅇ at cos ( bt )
s ( s−a )2+ b2 2
( s−a ) + b 2
Therefore the second order response to a unit step can be written as:
1 −0.5 t √3 t
C (t) = 1−ⅇ−0.5 t cos (( √ 0⋅ 75 2) t ) +
√3
ⅇ sin
2( )
Additional Performance Specification Calculations:
Rise Time:
1−ⅇ−ζ ωnt
π
π−
3
Where tr = = 2.41 seconds
√3
2
Peak Overshoot:
a1
% overshoot = ×100 , which equates to:
B
T
x 100, where ζ = 0.5 and ω n = 1, which is obtained when comparing the following:
−ζωn ( )
2
a 1=Be
K ω2 n 1
2 2 , with the transfer function
G ( s )= 2
S + 2ζ ωn+ ω n s + s +1
Therefore transient oscillation is ωd , then:
2π 2π
T= = = 7.26
ωd ωn √ 1−ζ 2
1
Settling Time:
2%
1
ts= ( )
ζ ωn
ln 50 = 7.82
5%
1
ts= ( )
ζ ωn
ln 20 = 5.99
Solution:
1
s ( s+1 )
k
G ( s ) H ( s )=
s ( s +1 )
Where k = 1
k
G ( s ) H ( s )= 2
( s + s)
k k
Sub in jω for s, G ( jω ) H ( jω) = =
( jω )2+ jω 2
−ω + jω
k (−ω2− jω )
G ( jω ) H ( jω) =
( −ω2 + jω) (−ω2− jω )
k ( −ω2 − jω )
G ( jω ) H ( jω) =
ω4 + ω2
Therefore: |G−( jω ) H ¿
K
Therefore: |G−( jω ) H ¿ =
ω + ω2
4
Determine Angle:
∠ G ( jω ) H ( jω)=tan −1 ( ba )
K− (−ω )
∠ G ( jω ) H ( jω)=tan −1 ( ) ω 4 +ω2
K (−ω 2 )
ω 4 +ω2
k (−ω )
¿ tan
−1
( ( ))
k −ω 2
¿ tan−1
( ωω ) 2
(K=1)
∠G(jω)H(jω)∠Gj𝜔Hj𝜔 -101.309 -116.565 -135 -146.309 -153.434 -168.690 -171.869 -172.874 -177.135 -178.854 -179.427
(deg)
Determine the frequency response of the Non - linear system with describing function:
And ∅ n ( ω ) = Phase shift between the fundamental component of the output & input
ⅇ (t )=E sin ωt
Non Linear Element – Output is m ( t ) , where m ( t ) , can be represented by its Fourier Series:
Mo
m (t) = + M 1 sin ( ωt + ∅1 ) + M 2 sin ( 2 ωt + ∅2 ) + M 3 sin ( 3 ωt+ ∅2 ) + ……………
2
M1
Gn ( ω ) =
E
∅ n ( ω ) =∅ 1
2π
Fourier expansion of a periodic function m ( t ) of period T = is:
ω
A0 n=∞ n=∞
m ( t )= + ∑ An cos n ωt + ∑ Bnsin nωt
2 n=1 n=1
Where
T
2
An= ∫ m(t )cos nωtⅆt
T 0
And
T
2
Bn= ∫ m(t )sin nωtⅆt
T 0
From this
2π
Where T =
ω
Since m ( t ) , is an odd function [ f ( t )=f (−t ) ] , then m ( t ) , contains no cosine or DC terms, or even harmonics:
n=∞
m ( t )= ∑ Bnsin nωt
n=1
T
2 T
Bn= ∫ m(t )sin nωtⅆt , as the function m ( t ) is symmetrical about , we can write:
T 0 4
T/4
2
Bn=4 x ∫ m(t)sin nωtⅆt
T 0
Therefore
t1 t/4
8 8
Bn= ∫ KE sin ωt .sin nωt dt+ ∫ KE sin ω t1 . sin nωt
T 0 T t1
8 KE
¿ ¿
T
cos ( A−B )−cos ( A+ B )=2 sin A sin B, hence sin ωt ⋅ sin nωt=¿ ¿
t1 t /4
8 KE 1
Bn = [ ∫ cos ( n−1 ) ωt −cos ( n+1 ) ωt dt+ sinω t 1 ∫ sinnωt dt]
T 20 t1
2π
Since T = , and by expanding sin ω t 1 . cos nωt by use of sin ( A+ B )−sin ( A−B )
ω
Where A = nω t 1 and B = ω t 1
Therefore:
And:
2 KE sin ( n+1 ) ω t 1
Bn= ¿+ ]
nπ n+1
To determine Gn, only B1 is required, as this is the fundamental frequency (1st harmonic), therefore, it can be
simplified to give n=1
2 KE sin 2 ω t 1
B 1=
π [
ω t 1+
2 ]
M1
The Describing Function is defined as G n ( ω ) = , and having completed the Fourier series can be
E
expressed as:
sin 2 ω t 1
Gn ( ω ) = { (
2k E
π
ω t 1+
2
,
)}
E
2k E sin 2 ω t 1
Gn ( ω ) =
π (
ω t 1+
2 )
Calculating values for ωt , where:
Therefore:
( m=2 )
( k =4 )
The systems stability with the Non Linearity remains stable, as −Gndoes not exceed -1, therefore doesn’t
cross the real axis on the Nyquist diagram as shown in the table below:
−Gn ( ω ) -0.25 -0.27162 -0.30313 -0.31156 -0.33765 -0.37366 -0.41051 -0.60036 -0.79375
( k =4 )
Solution:
1−ⅇ−Ts
G ( s )=k ( s )( s ( s1+1) )
Given K = 1
1
G ( s )=( 1−ⅇ−Ts )
( 2
s ( s+ 1 ) )
Partial Fraction Expansion:
1 A B C
2
s ( s+1 )
= (
+ 2+
s s ( s+1 ) )
1 s 2 C +s ( s+ 1 ) A+ ( s+ 1 ) B
=
s 2 ( s+1 ) s2 ( s+ 1 )
Sub in 0 for S
1=¿
B=1
Sub in -1 for S
2
1=(−1 ) C+ 0 (−1+1 ) A+ (−1+1 ) B
C=1
A = -1
1 A B C
= + 2+
s ( s+1 ) s s ( s+1 )
2
−1 1 1
G ( s )=( 1−ⅇ−T ) s
( + 2+
s s ( s+1 ) )
Taking Z Transforms:
F(s) F(z)
1 z
s z−1
1 Tz
s2 ( z−1 )2
1 z
( s+ a ) z−ⅇ−at
ⅇ−kTs z−k
1Tz z
) −z
G(z)=( 1−z
−1
(( 2
z−1 ) ( z−1 ) ( z−ⅇ−1 t ) )
Given T = 1
z−1 −1 1 x 1 z
G(z)= ( )(z
z 2
( z−1 ) ( z−1 ) ( z−0.368 ) )
−1 ( z−1 )( z−0.368 )+ ( z−0.368 ) + ( z−1 )2
G(z)=( z−1 )
( ( z−1 )2 ( z −0.368) )
−z 2+ 1.368 z−0.368+ z−0.368+ z 2−2 z+ 1
G(z)=( z−1 )
( ( z−1 ) (z−0.368) )
Simplifies to give the open loop transfer function:
C G ( z)
( z )=
R 1+G ( z ) H ( z )
0.368 z +0.264
c
( z )=
( 2
z −1.368 z +0.368 )
R 0.368 z +0.264
1+ 2
(
z −1.368 z +0.368 )
Simplifies to give the output as:
C 0.368 z +0.264
( z )= 2 or
R z −z +0.632
Determine the discrete time response using the Infinite power series method:
C 0.368 z +0.264
Where: ( z )= 2
R z −z +0.632
z 0.368+0.264
R ( z )=
z −1
and C ( z )=R ( z ) 2 (
z −z +0.632 )
Therefore:
0.368 z 2 +0.2642
c ( z) =
( 2−1 ) ( z 2−z +0.632 )
0.368 z 2+ 0.2642
c ( z) =
( z 3 −2 z 2 +1.632 z−0.638 )
Long Division ( Polynomial ) Multiply the denominator by the numerator:
0.368 z−1 + z−2+ 1.4 z−3+ 1.4 z−4 +1.147 z−5 +0.894 z−6
+0.801 z 7+ 0.868 z −8
Therefore C ( z ) = 0.368 z−1 + z−2+ 1.4 z−3+ 1.4 z−4 +1.147 z−5 +0.894 z−6 +0.801 z 7+ 0.868 z −8
Using the below equation we can express it as a difference equation for the discrete time
response:
Using the above and assuming zero conditions, the unit step response is determined:
Unit Step & Zero input as sampling has not started, i.e. the system is off
Therefore - c ( 1T )=0.368
c ( 2T )=1
c ( 4 T )=1.399
c ( 5T )=1.1468
c ( 6 T ) =0.8946
c ( 7 T )=0.8018
c ( 8 T ) =0.8684
C G ( z)
( z )=
R 1+G ( z ) H ( z )
0.368 z+ 0.264
C (∞)=
( z 2−z +0.632
=1
)
Hence there is no steady state error
Task A
Task B
Task C