lecture: block diagrams - computer action teamweb.cecs.pdx.edu/~tymerski/ece317/ece317...

18
ECE317 : Feedback and Control Lecture: Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer Engineering Portland State University 1

Upload: others

Post on 27-Jul-2020

4 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

ECE317 : Feedback and Control

Lecture: Block Diagrams

Dr. Richard Tymerski

Dept. of Electrical and Computer Engineering

Portland State University

1

Page 2: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Transfer function (review)

• A transfer function is defined by

• A system is assumed to be at rest. (zero initial condition)

• Transfer function is a generalization of “gain” concept.

2

Laplace transform of system output

Laplace transform of system input

input output

Page 3: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Impulse response (review)

• Suppose that r(t) is the unit impulse function and system is at rest.

• The output g(t) for the unit impulse input is called unit impulse response.

• Since R(s)=1, the transfer function can also be defined as the Laplace transform of impulse response:

3

System

Page 4: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Course roadmap

4

Laplace transform

Transfer function

Block Diagram

Linearization

Models for systems

• electrical

• mechanical

• example system

Modeling Analysis Design

Stability

• Pole locations

• Routh-Hurwitz

Time response

• Transient

• Steady state (error)

Frequency response

• Bode plot

Design specs

Frequency domain

Bode plot

Compensation

Design examples

Matlab & PECS simulations & laboratories

Page 5: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Block diagram

• Represents relations among signals and systems

• Very useful in control systems

• Also useful in computer simulations (Simulink)

• Elements• Block: transfer function (“gain” block)

• Arrow: signal

• Node: summation (or subtraction) of signals

Ea

5

Page 6: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Typical mistakes

Unclear which signal is “E”

Signal must be indicated on an arrow.

6

Page 7: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Typical mistakes (cont’d)

There must be only one output from a node.

Both are fine, but they have different meanings!

7

Page 8: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

8

Page 9: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

9

Page 10: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

10

Page 11: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Transfer function (TF) with feedback

Ea

• Negative feedback system

11

Page 12: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

12

Page 13: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

13

Page 14: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

14

Page 15: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Ex: TF of feedback systems

• Compute transfer functions from R(s) to Y(s).

𝑎 𝑏

𝑐 𝑑

Page 16: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

• Compute transfer function from D(s) to Y(s).

16

Page 17: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

17

𝑐

Page 18: Lecture: Block Diagrams - Computer Action Teamweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L5_Block_Diagrams.pdf · Block Diagrams Dr. Richard Tymerski Dept. of Electrical and Computer

Summary

• Block Diagrams• Multiple blocks, summers

• Application of negative feedback

• Overall closed loop transfer function via block diagram reduction

• Next lecture, time response introduction

18