Time Domain Analysis of Continuous Time...

17
1 Time Domain Analysis of Continuous Time Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh Lecture 7 [email protected] http://robotics.itee.uq.edu.au/~elec3004/ © 2013 School of Information Technology and Electrical Engineering at The University of Queensland March 20, 2013 Assignment 1 is up on Platypus! Due at the end of next week! Next week’s tutorial sessions are Q&A meetings Lab 1: Don’t forget the Pre-Lab Extra Session Needed ???? Space Audit this Friday and next Wednesday Sounds like an ideal time for a pop-quiz ELEC 3004: Systems 20 March 2013 - 2 Announcements: !

Transcript of Time Domain Analysis of Continuous Time...

Page 1: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

1

Time Domain Analysis of Continuous Time Systems

ELEC 3004: Systems: Signals & ControlsDr. Surya Singh

Lecture 7

[email protected]://robotics.itee.uq.edu.au/~elec3004/

© 2013 School of Information Technology and Electrical Engineering at The University of Queensland

March 20, 2013

• Assignment 1 is up on Platypus! – Due at the end of next week! – Next week’s tutorial sessions are Q&A meetings

Lab 1:• Don’t forget the Pre-Lab • Extra Session Needed ????

• Space Audit this Friday and next Wednesday– Sounds like an ideal time for a pop-quiz

ELEC 3004: Systems 20 March 2013 - 2

Announcements:

!

Page 2: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

2

ELEC 3004: Systems 20 March 2013 - 3

Today:Week Date Lecture Title

127-FebIntroduction1-MarSystems Overview

26-MarSignals & Signal Models8-MarSystem Models

313-MarLinear Dynamical Systems15-MarSampling & Data Acquisition

4 20-MarTime Domain Analysis of Continuous Time Systems22-MarSystem Behaviour & Stability

527-MarSignal Representation29-MarHoliday

610-AprFrequency Response & Fourier Transform12-AprAnalog Filters

717-AprIIR Systems19-AprFIR Systems

824-Aprz-Transform26-AprDiscrete-Time Signals

91-MayDiscrete-Time Systems3-MayDigital Filters

108-MayState-Space

10-MayControllability & Observability

1115-MayIntroduction to Digital Control17-MayStability of Digital Systems

1222-MayPID & Computer Control24-MayInformation Theory & Communications

1329-MayApplications in Industry31-MaySummary and Course Review

Properties:• Commutative: • Distributive:• Associative:• Shift:

if f1(t)*f2(t)=c(t), then f1(t-T)*f2(t)= f1(t)*f2(t-T)=c(t-T)• Identity (Convolution with an Impulse):

• Total Width:

ELEC 3004: Systems 20 March 2013 - 4

Convolution & Properties

Based on Lathi, SPLS, Sec 2.4-1

Page 3: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

3

• Convolution systems are linear:

• Convolution systems are causal: the output y(t) at time t depends only on past inputs

• Convolution systems are time-invariant(if we shift the signal, the output similarly shifts)

Convolution & Properties [II]

20 March 2013 -ELEC 3004: Systems 5

• Composition of convolution systems corresponds to:– multiplication of transfer functions– convolution of impulse responses

• Thus:– We can manipulate block diagrams with transfer functions as if

they were simple gains– convolution systems commute with each other

Convolution & Properties [III]

20 March 2013 -ELEC 3004: Systems 6

Page 4: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

4

• Convolution system with input u (u(t) = 0, t < 0) and output y:

• abbreviated:

• in the frequency domain:

Convolution & Systems

20 March 2013 -ELEC 3004: Systems 7

• In the time domain:

• In the frequency domain:– Y=G(U-Y)Y(s) = H(s)U(s)

Convolution & Feedback

20 March 2013 -ELEC 3004: Systems 8

Page 5: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

5

For c(τ)= :1. Keep the function f (τ) fixed 2. Flip (invert) the function g(τ) about the vertical axis (τ=0)

= this is g(-τ)3. Shift this frame (g(-τ)) along τ (horizontal axis) by t0.

= this is g(t0 -τ)

For c(t0):4. c(t0) = the area under the product of f (τ) and g(t0 -τ)

5. Repeat this procedure, shifting the frame by different values (positive and negative) to obtain c(t) for all values of t.

ELEC 3004: Systems 20 March 2013 - 9

Graphical Understanding of Convolution

Graphical Understanding of Convolution (Ex)

ELEC 3004: Systems 20 March 2013 - 10

Page 6: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

6

• We know that under feedback gain, the poles of the closed-loop system move– The root locus tells us where they go!– We can solve for this analytically*

– Root loci can be plotted for all sorts of parameters, not just gain!

Recall the Root Locus

Img(s)

Re(s)

Increasing k

11

-k

20 March 2013 -ELEC 3004: Systems 11

The Root Locus• We often care about the effect of increasing gain of a control

compensator design:

1Multiplying by denominator:

HC yue

-

+r k

characteristic polynomial

20 March 2013 -ELEC 3004: Systems 12

Page 7: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

7

• Pole positions change with increasing gain– The trajectory of poles on the pole-zero plot with changing k is

called the “root locus”– This is sometimes quite complex

– (In practice you’d plot these with computers)

The root locus

Img(s)

Re(s)

Increasing k

20 March 2013 -ELEC 3004: Systems 13

Root Locus Drawing Rules

ELEC 3004: Systems 20 March 2013 - 14

Adapted from Qui, IFC 2010 – p. 201

Page 8: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

8

Root Locus Drawing Rules [II]

ELEC 3004: Systems 20 March 2013 - 15

Adapted from Qui, IFC 2010 – p. 201

≡ LTI systems for which the input & output are linear ODEs

• Total response = Zero-input response + Zero-state response

ELEC 3004: Systems 20 March 2013 - 16

Recall (Lecture 5, Slide 10):Linear Dynamic [Differential] System

Initial conditions External Input

Page 9: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

9

Recall: Second Order Systems

ELEC 3004: Systems 20 March 2013 - 17

Second Order Systems

ELEC 3004: Systems 20 March 2013 - 18

Page 10: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

10

Three Types:• I: Underdamped:

ELEC 3004: Systems 20 March 2013 - 19

Second Order Response

Three Types:• II: Critically Damped:

ELEC 3004: Systems 20 March 2013 - 20

Second Order Response

Page 11: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

11

Three Types:• III: Over Damped:

ELEC 3004: Systems 20 March 2013 - 21

Second Order Response

Unit-Step Response

ELEC 3004: Systems 20 March 2013 - 22

Second Order Response

Normalize

Page 12: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

12

ELEC 3004: Systems 20 March 2013 - 23

Second Order ResponseEnvelope Curves

• Delay time, td: The time required for the response to reach half the final value • Rise time, tr: The time required for the response to rise from 10% to 90%• Peak time, tp:The time required for the response to reach the first peak of the overshoot• Maximum (percent) overshoot, Mp:

• Settling time, ts: The time to be within 2-5% of the final value

ELEC 3004: Systems 20 March 2013 - 24

Second Order ResponseUnit Step Response Terms

Page 13: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

13

ELEC 3004: Systems 20 March 2013 - 25

Second Order ResponseSeeing this on the S-plane

• The addition of a zero (a s term) gives a system with a shorter rise time, a shorter peak time, and a larger overshoot

ELEC 3004: Systems 20 March 2013 - 26

Second Order ResponseThe Case of Adding a Zero

Increasing τ

Adapted from Qui, IFC 2010 – pp. 154-5

Page 14: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

14

• The addition of a pole (a 1/s term) slows down the system response and reduces the overshoot.

ELEC 3004: Systems 20 March 2013 - 27

Second Order ResponseThe Case of Adding a Zero

Increasing τ

Adapted from Qui, IFC 2010 – pp. 154-5

Example: Quarter-Car Model

ELEC 3004: Systems 20 March 2013 - 28

Page 15: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

15

Example: Quarter-Car Model (2)

ELEC 3004: Systems 20 March 2013 - 29

• Stability– A performance measure which informs the extent to which all the

all the poles of the transfer function have negative real parts– Aka:– Attempts to spontaneously disassemble itself

or

• Review: – Section 3.10 of Lathi

ELEC 3004: Systems 20 March 2013 - 30

Next Time…

Page 16: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

16

“Back to the Future”: Laplace Review!

ELEC 3004: Systems 20 March 2013 - 31

Source: Wikipedia, Laplace

• Moving pole positions change system response characteristicsRecall dynamic responses

Img(s)

Re(s)

“More unstable”

Faster

MoreOscillatory

More damped

Pure integrator

20 March 2013 -ELEC 3004: Systems 32

Page 17: Time Domain Analysis of Continuous Time Systemsrobotics.itee.uq.edu.au/~elec3004/2013/lectures/ELEC3004... · 2013-05-31 · 2 ELEC 3004: Systems 20 March 2013 - 3 Today: Week Date

17

• We can do more than just apply gain!– We can add dynamics into the controller that alter the open-loop

response

Dynamic compensation

112

u-y ycompensator plant

21

y-ycombined system

Increasing k

Img(s)

Re(s)

20 March 2013 -ELEC 3004: Systems 33

• Recognise the following:– A root locus starts at poles, terminates at zeros – “Holes eat poles”– Closely matched pole and zero dynamics cancel– The locus is on the real axis to the left of an odd number of poles

(treat zeros as ‘negative’ poles)

But what dynamics to add?

Img(s)

Re(s)

20 March 2013 -ELEC 3004: Systems 34