Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and...

29
Lec 4 . Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10

Transcript of Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and...

Page 1: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Lec 4 . Graphical System Representations and Simplifications

• Block Diagrams

• Signal Flow Graphs and Mason’s Formula

• Reading: 3.9-3.10

Page 2: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Block Diagrams

• Graphical representation of interconnected systems– A system may consist of multiple subsystems: the output of one

may be the input to another– Each subsystem is represented by a functional block, labeled

with the corresponding transfer function– Blocks are connected by arrows to indicate signal flow directions

• Advantage– Easy for visualization purpose– Can represent a class of similar systems

Page 3: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Basic Components of Block Diagrams

(Functional) block

Summing point+

Branch point

Signal flow

Page 4: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Cascaded/Parallel Connected Systems

Cascaded systems:

Parallel connected systems:

+

Page 5: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

(Negative) Feedback Connected Systems

Feedback connected systems:

+

Feedforward transfer function (FTF):

Open-loop transfer function (OTF):

Closed-loop transfer function (CTF):

Page 6: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Positive Feedback Connected Systems

+

Closed-loop transfer function:

Page 7: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Unity Feedback System

Unit feedback connected systems: H(s)=1

+

Closed-loop transfer function:

Page 8: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Feedback Control System

Closed-loop transfer function:

Remark: by adjusting the controller C(s), one can change the close-loop transfer function to achieve desired properties.

+

plantcontroller

Page 9: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Block Diagram Reduction

Often times the block diagram under study is complicated

Use previous basic steps to reduce the complexity of block diagram

Example:

+ +

Page 10: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Another Example

+ +

Page 11: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Operations for Simplifying Block Diagrams

“Slide a branch point past a functional block (forward)”

Page 12: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Application to Previous Example

+ +

Page 13: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Another Operation for Simplifying Block Diagrams

“Slide a summation point past a functional block (backward)”

+ +

Page 14: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Application to Previous Example

+ +

Page 15: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Signal Flow Graphs

• An alternative graphical representation of interconnections of subsystems

• Advantage compared with block diagrams– A systematic way to compute the transfer function

from any input to any output

Page 16: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

A Simple Example

Block diagram: Signal flow graph:

Basic component of a signal flow graph:

Node: represents a signal• Each node is labeled with the corresponding signal

Branch: directed line segment connecting two nodes• Signal can only flow along the specified direction• Each branch is associated with a transmittance or gain

+

Page 17: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Type of Nodes

Block diagram: Signal flow graph:

• Input nodes: nodes with only outgoing branches• Output nodes: nodes with only incoming branches• Mixed nodes: both incoming and outgoing branches• An output node can be made from an arbitrary node by

adding an outgoing branch of unit gain

+

Page 18: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

What Happen At a Mixed Node?

At a mixed node, signals of all incoming branches are added and the result is transmitted to all outgoing branches

At node Z:

At node W:

At node U:

At node W:

Page 19: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

A More Complicated Example

Signal flow graph:

Block diagram:

+ +

Page 20: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Simplifying Signal Flow Graphs

Cascaded systems:

Parallel connected systems:

Feedback connected systems:

Page 21: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

However, In General

Transfer function from U to Y?

Page 22: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Mason’s Formula: A Direct Approach

• Path: a sequence of connected branches (following arrow directions)– Forward path: start from an input node and end at an output node– Forward path gain: product of all branch gains along a forward path

• Loop: a closed path (starts and ends at the same node)– Loop gain: product of all branch gains along a loop

• Notouching loops: loops that do not have shared nodes

Page 23: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Determinant of A Graph

1- (sum of all individual loop gains) + (sum of gain products of all two nontouching loops) - (sum of gain products of all three nontouching loops) + …

Determinant of a graph without any loop is 1

Page 24: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Mason’s Formula

• Transfer function from an input node to an output node– Compute the determinant of the signal flow graph

– Find all forward paths with path gains P1,…,Pk

– For each forward path Pi, find its cofactor i , i.e., the determinant of the sub-graph with all the loops touching Pi removed

– Transfer function from input node to the output node is given by

Page 25: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Application to the Previous Example

Forward path Forward path gain Pi i

Page 26: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Another Example

Page 27: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Systems with Multiple Inputs and Outputs

• MIMO system– m inputs u1,…,um– n outputs y1,…,yn

• Laplace transform of the k-th output is

where is the transfer function from ui to yk

• Transfer matrix:

Page 28: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Example I• One input: F• Two outputs: x and y

• Transfer matrix H(s)=[H1(s), H2(s)]

Page 29: Lec 4. Graphical System Representations and Simplifications Block Diagrams Signal Flow Graphs and Mason’s Formula Reading: 3.9-3.10 TexPoint fonts used.

Example II

• Two inputs: u1, u2

• Two outputs: y1, y2

• Transfer matrix H(s)?

+ +