lecture 7 - step response & system behaviour
TRANSCRIPT
Lecture 7 Slide 1PYKC 2 Feb 2021 DE2 β Electronics 2
Lecture 7
Step Response & System Behaviour
Prof Peter YK Cheung
Dyson School of Design Engineering
URL: www.ee.ic.ac.uk/pcheung/teaching/DE2_EE/E-mail: [email protected]
Lecture 7 Slide 2PYKC 2 Feb 2021 DE2 β Electronics 2
Step Response of a 1st order system (DE1.3 L8 S3)
! Consider what happens to the circuit shown here as the switch is closed at t = 0. We are interested in y(t).
! Apply KVL around the loop, we get:
! This is a simple first-order differential equation with constant coefficients.
! We can model closing the switch at t=0 as:
! Then the solution of the differential equation is:
! You should be familiar with this from Electronics 1 last year: t = RC, the time-constant
y
π π‘ π + π¦ π‘ = π₯ π‘ , ππ’π‘ π = πΆππ¦ππ‘ π‘βπππππππ
π πΆππ¦ππ‘ + π¦ = π₯
π₯ π‘ = π π’(π‘)
y(t)
π¦(π‘) = π 1 β π 789: π’(π‘)
Lecture 7 Slide 3PYKC 2 Feb 2021 DE2 β Electronics 2
Modelling using Laplace Transform
ππ ππ π + π = π
s-domain analysis
π― π =π
ππ + πL L-1
R
C
π₯ π‘ = ππ’(π‘)
π π = πΓ1π
! Take LT of x(t): β π₯ π‘ = π π = β πΓπ’ π‘ = πΓβ π’ π‘ = πΓGH
π₯ π‘ = ππ’(π‘) π¦(π‘) = π 1 β π 789: π’(π‘)
! Find transfer function H(s) of the circuit by taking the Laplace Transform of the differential equation:
π π = π» π π π = πΓ1π Γ
1ππ + 1
π¦ π‘ =?
ππ π π + π π = π π
βΉ π» π =π π π π =
1ππ + 1
Lecture 7 Slide 4PYKC 2 Feb 2021 DE2 β Electronics 2
Forward & Inverse Laplace Transform
! Remember: the definition of the Laplace Transform is:L
L [x(t)] = X (s) = x(t)eβst dt0
β
β«
L4.1
L β1
L β1 [X (s)] = x(t) = 12Ο j
X (s)est ds, Ο β βΟβ jΟ
Ο+ jΟ
β«
! The definition of the Inverse Laplace Transform is:
Lecture 7 Slide 5PYKC 2 Feb 2021 DE2 β Electronics 2
Laplace transform Pairs (1)
! Finding inverse Laplace transform requires integration in the complex plane β beyond scope of this course.
! So, use a Laplace transform table (analogous to the Fourier Transform table).
L4.1
**
Lecture 7 Slide 7PYKC 2 Feb 2021 DE2 β Electronics 2
! Finding inverse Laplace transform of . (use partial fraction)
! To find k1 which corresponds to the term (s+0) in denominator, cover up (s+0) in Y(s), and substitute s = 0 (i.e. s+0=0) in the remaining expression:
! Similarly for k2, cover the (s+1/t) term, and substitute s = -1/t, we get:
! Therefore
Finding Inverse Laplace Transform via partial fraction
L4.1
π π =1π Γ
N1 ππ + N1 π
π π =1π Γ
N1 ππ + N1 π
=πGπ +
πPπ + N1 π
πP = Q1π Γ
N1 ππ + N1 π HR7 NG S
= β1
πG = Q1π Γ
N1 ππ + N1 π HRT
= 1
π π =1π β
1π + N1 π
Lecture 7 Slide 8PYKC 2 Feb 2021 DE2 β Electronics 2
! So, we get:
! Use Laplace Transform table, pair 5: πU8π’ π‘ βΊ GH7U
! Same as results from slide 2 using differential equation.
From Laplace Domain back to Time Domain
s-domain analysis
π― π =N1 π
π + N1 π
L L-1π₯ π‘ = ππ’(π‘)
π π = πΓ1π
π π = π» π π π = πΓ1π Γ
N1 ππ + N1 π
π¦ π‘ =?
π π = π(1π β
1π + N1 π
)
L
β7G π π = πβ7G1π β
1π + N1 π
= π π’ π‘ β π78S π’ π‘ = πΓ(1 β π7
8S)Γπ’ π‘
Lecture 7 Slide 9PYKC 2 Feb 2021 DE2 β Electronics 2
! Finding the inverse Laplace transform of .
! The partial fraction of this expression is less straight forward. If the power of numerator polynomial (M) is the same as that of denominator polynomial (N), we need to add the coefficient of the highest power in the numerator to the normal partial fraction form:
! Solve for k1 and k2 via βcoveringβ:
! Therefore
! Using pairs 1 & 5:
Another Examples of Inverse Laplace Transform
22 5( 1)( 2)
ss s
-+ +
L4.1
Lecture 7 Slide 10PYKC 2 Feb 2021 DE2 β Electronics 2
! In Lab 3, we use the Bulb Board system, and it was known that the light bulb part of the system has a transfer function as shown:
! Therefore the light bulb itself has an exponential response with a time constant t = 38 ms.
! Remember, for a 1st order system, the output step response reaches the following percentages of final value after n x t, n=1,2,3,β¦:
Transfer function of a light bulb
Time = t 2t 3t 4t
Final value 63.2% 86.5% 95% 98.2%
Lecture 7 Slide 11PYKC 2 Feb 2021 DE2 β Electronics 2
! Once you know the transfer function B(s) of a system, you can evaluate its frequency response by evaluating H(s) at s = jw:
! Therefore, for our light bulb (not including the 2nd order electronic circuit, the frequency response is:
! From DE1 Electronics 1, you know that this is a low pass filter β gain drops with increasing frequency.
From Transfer function to Frequency Response
π΅ ππ = Zπ΅(π )HR[\
π΅ ππ = ]1
(1 + 0.038π ) HR[\
π΅(ππ) = G(GbT.Tcd[\)
= GGbT.Tcde\e
Lecture 7 Slide 12PYKC 2 Feb 2021 DE2 β Electronics 2
! Let us consider a general second order system with a transfer function of the general form:
π» π =π(π )π(π ) =
πPπ P + πGπ + πTπ P + πGπ + πT
! To simplify the problem a bit, let us assuming that b2 = b1 = 0. The above equation can be rewritten as:
! where: β’ πT = πT , the resonant (or natural) frequency in rad/sec
β’ π = hiP hj
, the damping factor (no unit) (pronounced as zeta)
β’ πΎ = ljhj
, gain of the system
Transfer Function of a 2nd order system
π» π =πT
π P + πGπ + πT= πΎ
πTP
π P + 2π πTπ + πTP
Lecture 7 Slide 13PYKC 2 Feb 2021 DE2 β Electronics 2
! Let us take the transfer function H(s) of the 2nd order system used in Bulb Box as an example:
β’ πT = πT = 31.62 , the resonant frequency = 5Hz
β’ π = hiP hj
= oP GTTT
= 0.079 the damping factor (very small, ideal = 1)
β’ πΎ = ljhj= 1 , gain of the system at DC or zero frequency
! Since the damping factor is very small (much smaller than 1), this system is highly oscillatory.
Physical meaning of ππ, π, and π²
π» π =πT
π P + πGπ + πT= πΎ
πTP
π P + 2ππTπ + πTP
Lecture 7 Slide 14PYKC 2 Feb 2021 DE2 β Electronics 2
! Let us consider the transfer function H(s) again:
! The unit step response of the system is (i.e. π₯ π‘ = π’ π‘ , πππ π π = 1/π ):
! We want to say something about the dynamic characteristic of this system by finding the natural frequency πT and the damping factor π.
! To do that, we find need to find the root of the quadratic: π P + 2ππTπ + πTP
The importance of damping factor
π» π =πT
π P + πGπ + πT= πΎ
πTP
π P + 2ππTπ + πTP
π π =1π π» π =
1π πΎ
πTP
π P + 2ππTπ + πTP
π =β2ππT Β± (2ππT)P β4πTP
2= βππT Β± πT πP β 1
Lecture 7 Slide 15PYKC 2 Feb 2021 DE2 β Electronics 2
! Depending on the value of the damping factor π, there are five cases of interest, each having a specific behaviour:
! Root of denominator:
Five cases of behaviour
π» π =πT
π P + πGπ + πT= πΎ
πTP
π P + 2ππTπ + πTP
π = βππT Β± πT πP β 1
Lecture 7 Slide 16PYKC 2 Feb 2021 DE2 β Electronics 2
Step Response for different damping factors
underdamped
Overdamped
Critically damped
Lecture 7 Slide 17PYKC 2 Feb 2021 DE2 β Electronics 2
Step Response at ππ, π = π. π
High resonant frequency
Takes around 4 cycles to settle to final value
Lecture 7 Slide 18PYKC 2 Feb 2021 DE2 β Electronics 2
Frequency response of 2nd order system
Normalised frequency βπ πT
underdamped
Overdamped
Lecture 7 Slide 19PYKC 2 Feb 2021 DE2 β Electronics 2
A video demonstrating an underdamped oscillatory system