10
1 Amme 3500 : System Dynamics and Control Block Diagrams Dr Stefan Williams Slide 2 Dr. Stefan B. Williams Amme 3500 : Introduction Course Outline Week Date Content Assignment Notes 1 1 Mar Introduction 2 8 Mar Frequency Domain Modelling 3 15 Mar Transient Performance and the s-plane 4 22 Mar Block Diagrams Assign 1 Due 5 29 Mar Feedback System Characteristics 6 5 Apr Root Locus Assign 2 Due 7 12 Apr Root Locus 2 8 19 Apr Bode Plots No Tutorials 26 Apr BREAK 9 3 May Bode Plots 2 Assign 3 Due 10 10 May State Space Modeling 11 17 May State Space Design Techniques 12 24 May Advanced Control Topics 13 31 May Review Assign 4 Due 14 Spare Slide 3 Dr. Dunant Halim Amme 3500 : Block Diagrams Block Diagrams As we saw in the introductory lecture, a subsystem can be represented with an input, an output and a transfer function H(s) U(s) Y(s) * N.S. Nise (2004) Control Systems EngineeringWiley & Sons Input: control surfaces (flap, aileron), wind gust Aircraft output: pitch, yaw, roll Slide 4 Dr. Dunant Halim Amme 3500 : Block Diagrams Block Diagrams Many systems are composed of multiple subsystems In this lecture we will examine methods for combining subsystems and simplifying block diagrams

Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

  • Upload
    lamtruc

  • View
    216

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

1

Amme 3500 : System Dynamics and Control

Block Diagrams

Dr Stefan Williams

Slide 2 Dr. Stefan B. Williams Amme 3500 : Introduction

Course Outline Week Date Content Assignment Notes 1 1 Mar Introduction 2 8 Mar Frequency Domain Modelling 3 15 Mar Transient Performance and the s-plane 4 22 Mar Block Diagrams Assign 1 Due 5 29 Mar Feedback System Characteristics 6 5 Apr Root Locus Assign 2 Due 7 12 Apr Root Locus 2 8 19 Apr Bode Plots No Tutorials 26 Apr BREAK 9 3 May Bode Plots 2 Assign 3 Due 10 10 May State Space Modeling 11 17 May State Space Design Techniques 12 24 May Advanced Control Topics 13 31 May Review Assign 4 Due 14 Spare

Slide 3 Dr. Dunant Halim Amme 3500 : Block Diagrams

Block Diagrams

•  As we saw in the introductory lecture, a subsystem can be represented with an input, an output and a transfer function

H(s) U(s) Y(s)

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Input: control surfaces (flap, aileron), wind gust Aircraft output: pitch, yaw, roll

Slide 4 Dr. Dunant Halim Amme 3500 : Block Diagrams

Block Diagrams

•  Many systems are composed of multiple subsystems

•  In this lecture we will examine methods for combining subsystems and simplifying block diagrams

Page 2: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

2

Slide 5 Dr. Dunant Halim Amme 3500 : Block Diagrams

Examples of subsystems

•  Automobile control:

Sensing Measurements

Steering Mechanism Automobile Control

Desired course of travel

Actual course of travel

- +

Slide 6 Dr. Dunant Halim Amme 3500 : Block Diagrams

Examples of Subsystems

•  Antenna control

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 7 Dr. Dunant Halim Amme 3500 : Block Diagrams

Mathematical Modelling

•  In the time domain, the input-output relationship is usually expressed in terms of a differential equation

h(t) u(t) y(t)

•  (an-1, …, a0, bm, … b0) are the system’s parameters, n ≥ m

•  The system is LTI (Linear Time Invariant) iff the parameters are time-invariant

•  n is the order of the system

1

1 0 01

( ) ( ) ( )( ) ( )n n m

n mn n m

d y t d y t d u ta a y t b b u tdt dt dt

− −+ + + = + +L L

Slide 8 Dr. Dunant Halim Amme 3500 : Block Diagrams

Mathematical Modelling

•  In the Laplace domain, the input-output relationship is usually expressed in terms of an algebraic equation in terms of s

H(s) U(s) Y(s)

11 0 0( ) ( ) ( ) ( ) ( )n n m

n ms Y s a s Y s a Y s b s U s bU s−−+ + + = + +L L

Page 3: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

3

Slide 9 Dr. Dunant Halim Amme 3500 : Block Diagrams

Cascaded systems

•  In time, a cascaded system requires a convolution

•  In the Laplace domain, this is simply a product

H(s) U(s) Y1(s)

H1(s) Y(s)

1( ) ( ) ( ) ( )Y s U s H s H s=

( ) ( ) ( ) ( ) τττ dthuthtu −∫≡∗ ∞∞−

h (t) u(t) y1(t)

h1(t) y(t)

1( ) ( ( )* ( ))* ( )y t u t h t h t=

Slide 10 Dr. Dunant Halim Amme 3500 : Block Diagrams

A General Control System •  Many control systems can be

characterised by these components/subsystems

Sensor

Actuator Process Control

Reference D(s)

Output Y(s)

- +

Error E(s)

Control Signal U(s)

Plant

Disturbance

Sensor Noise

Feedback H(s)

Slide 11 Dr. Dunant Halim Amme 3500 : Block Diagrams

Simplifying Block Diagrams

•  The objectives of a block diagram are – To provide an understanding of the signal

flows in the system – To enable modelling of complex systems from

simple building blocks – To allow us to generate the overall system

transfer function •  A few rules allow us to simplify complex

block diagrams into familiar forms Slide 12 Dr. Dunant Halim Amme 3500 : Block Diagrams

Components of a Block Diagram

•  A block diagram is made up of signals, systems, summing junctions and pickoff points

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Page 4: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

4

Slide 13 Dr. Dunant Halim Amme 3500 : Block Diagrams

Typical Block Diagram Elements

•  Cascaded Systems

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 14 Dr. Dunant Halim Amme 3500 : Block Diagrams

Typical Block Diagram Elements

•  Parallel Systems

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 15 Dr. Dunant Halim Amme 3500 : Block Diagrams

Typical Block Diagram Elements

•  Feedback Form ( ) ( ) ( ) ( )( ) ( ) ( )E s R s H s C sC s G s E s

= −=

( )

( ) ( ) ( ) ( )( )

( ) ( ) 1 ( ) ( ) ( )( ) ( )( ) 1 ( ) ( )

C s R s H s C sG s

G s R s H s G s C sC s G sR s H s G s

= −

= +

=+

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 16 Dr. Dunant Halim Amme 3500 : Block Diagrams

Moving Past A Summation

a)  To the left past a summing junction

b)  To the right past a summing junction

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Page 5: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

5

Slide 17 Dr. Dunant Halim Amme 3500 : Block Diagrams

Moving Past Pick-Off Points

a)  To the left past a summing junction

b)  To the right past a summing junction

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 18 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example I : Simplifying Block Diagrams

•  Consider this block diagram

•  We wish to find the transfer function between the input R(s) and C(s)

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 19 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example I: Simplifying Block Diagrams

a)  Collapse the summing junctions

b)  Form equivalent cascaded system in the forward path and equivalent parallel system in the feedback path

c)  Form equivalent feedback system and multiply by cascaded G1(s) * N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 20 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example II : Simplifying Block Diagrams

•  Form the equivalent system in the forward path

•  Move 1/s to the left of the pickoff point

•  Combine the parallel feedback paths

•  Compute C(s)/R(s) using feedback formula

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Page 6: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

6

Slide 21 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example III: Shuttle Pitch Control

•  Manipulating block diagrams is important but how do they relate to the real world?

•  Here is an example of a real system that incorporates feedback to control the pitch of the vehicle (amongst other things)

Slide 22 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example III: Shuttle Pitch Control

•  The control mechanisms available include the body flap, elevons and engines

•  Measurements are made by the vehicle’s inertial unit, gyros and accelerometers * N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 23 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example III : Shuttle Pitch Control •  A simplified model of

a pitch controller is shown for the space shuttle

•  Assuming other inputs are zero, can we find the transfer function from commanded to actual pitch?

* N.S. Nise (2004) “Control Systems Engineering” Wiley & Sons

Slide 24 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example III : Shuttle Pitch Control

_s_ K1

G1(s)G2(s) K1K2 Pitch Reference Output

- + -

+

- +

1

s2

•  Combine G1 and G2. •  Push K1 to the right past the summing junction

Page 7: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

7

Slide 25 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example III: Shuttle Pitch Control

_s_ K1

K1K2 G1(s)G2(s) Pitch Reference Output

- + -

+

- +

1

_s2_ K1K2

•  Push K1K2 to the right past the summing junction •  Hence 1 2 1 2

2

1 2 1 21 1 2

( ) ( )( )1 ( ) ( ) 1

K K G s G sT ss sK K G s G sK K K

=⎛ ⎞

+ + +⎜ ⎟⎝ ⎠

Slide 26 Dr. Dunant Halim Amme 3500 : Block Diagrams

Example III: Shuttle Pitch Control

•  Matlab provides us with a tool called Simulink that allows us to represent systems by their block diagram

•  We’ll take a bit of time to see how we construct a Simulink model of this system

Slide 27 Dr. Dunant Halim Amme 3500 : Block Diagrams

Closed Loop Feedback

•  We have suggested that many control systems take on a familiar feedback form

•  Intuition tells us that feedback is useful – imagine driving your car with your eyes closed

•  Let us examine why this is the case from a mathematical perspective

Slide 28 Dr. Dunant Halim Amme 3500 : Block Diagrams

Single-Loop Feedback System

Desired Value

Output

Transducer

+ -

Feedback Signal

error

Controller Plant

Control Signal

( )K s ( )G s

H

( )d t ( )e t ( )u t ( )y t

( )f t

•  Error Signal •  The goal of the Controller K(s) is:

Ø To produce a control signal u(t) that drives the ‘error’ e(t) to zero

( ) ( ) ( ) ( ) ( )e t d t f t d t Ky t= − = −

Page 8: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

8

Slide 29 Dr. Dunant Halim Amme 3500 : Block Diagrams

Controller Objectives •  Controller cannot drive error to zero

instantaneously as the plant G(s) has dynamics •  Clearly a ‘large’ control signal will move the

plant more quickly •  The gain of the controller should be large so that

even small values of e(t) will produce large values of u(t)

•  However, large values of gain will cause instability

Slide 30 Dr. Dunant Halim Amme 3500 : Block Diagrams

Feedforward & Feedback •  Driving a Formula-1 car •  Feedforward control: pre-emptive/predictable

action: prediction of car’s direction of travel (assuming the model is accurate enough)

•  Feeback control: corrective action since the model is not perfect + noise

Slide 31 Dr. Dunant Halim Amme 3500 : Block Diagrams

Why Use Feedback ? •  Perfect feed-forward controller: Gn

•  Output and error: n

Gy d GlG

= +

1n

Ge d y d GlG

⎛ ⎞= − = − −⎜ ⎟

⎝ ⎠

•  Only zero when: nG G=

0l =

(Perfect Knowledge)

(No load or disturbance)

( )y t( )d t1/ nG

( )l t

++

G

Slide 32 Dr. Dunant Halim Amme 3500 : Block Diagrams

Why Use Feedback ? ud y

le

++ −

+K G

unity feedback

controller plant

demand output

A sensor

load

, ( ),e d y y G u l u Ke= − = + =

No dynamics Here !

( ) ( )e d y d G u l d G Ke l= − = − + = − +

So:

Page 9: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

9

Slide 33 Dr. Dunant Halim Amme 3500 : Block Diagrams

Closed Loop Equations

e d GKe Gl= − −

( )1 KG e d Gl+ = −Collect terms:

11 1

Ge d lKG KG

= −+ +

Or:

Demand to Error Transfer Function

Load to Error Transfer Function

Slide 34 Dr. Dunant Halim Amme 3500 : Block Diagrams

Closed Loop Equations

1GKG+

Kdl

y++

Equivalent Open Loop Block Diagram

1 1GK Gy d lKG KG

= −+ +

Similarly

Demand to Output Transfer Function

Load to Output Transfer Function

Slide 35 Dr. Dunant Halim Amme 3500 : Block Diagrams

Rejecting Loads and Disturbances

1Gy lKG

=+

Load to Output Transfer Function

If K is big: 1KG >>

1 0Gy l lKG K

≈ = ≈

If K is big:

Perfect Disturbance Rejection Independent of knowing G Regardless of l

Slide 36 Dr. Dunant Halim Amme 3500 : Block Diagrams

Tracking Performance

1GKy dKG

=+

Demand to Output Transfer Function

If K is big: 1KG >>

GKy d dKG

≈ =

If K is big:

Perfect Tracking of Demand Independent of knowing G Regardless of l

Page 10: Course Outline - AMME Current Student Information Pagesweb.aeromech.usyd.edu.au/.../Course_documents/material/lectures/... · Course Outline Week Date Content Assignment Notes 1 1

10

Slide 37 Dr. Dunant Halim Amme 3500 : Block Diagrams

Two Key Problems

ud yl

e++ −

+K G

( )u K d y= −Power: Large K requires large actuator power u

Slide 38 Dr. Dunant Halim Amme 3500 : Block Diagrams

Two Key Problems

ud yl

e++ −

+K G

( )u K d y n= − +Noise:

Large K amplifies sensor noise u Kd∝

In practise a Compromise K is required

+n

Slide 39 Dr. Dunant Halim Amme 3500 : Block Diagrams

Conclusions

•  We have examined methods for computing the transfer function by reducing block diagrams to simple form

•  We have also presented arguments for using feedback in control systems

•  Next week, we will look at more closely on feedback control

Slide 40 Dr. Dunant Halim Amme 3500 : Block Diagrams

Further Reading

•  Nise – Sections 5.1-5.3

•  Franklin & Powell – Section 3.2