Download presentation
1
Lecture 3: System Representation
Transfer Functions Graphical Representation State Space Representation Reading: Chap TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAAAAAA
2
Linear Difference Equation Representation
๐(๐) ๐ฆ(๐) Input e(k), and output y(k), k=0,1,2,โฆ. LTI system given by a linear difference equation Typically assume zero initial conditions: ๐ฆ ๐ + ๐ ๐โ1 ๐ฆ ๐โ1 +โฏ+ ๐ 0 ๐ฆ ๐โ๐ = ๐ ๐ ๐ ๐ + ๐ ๐โ1 ๐ ๐โ1 +โฏ+ ๐ 0 ๐ฆ ๐โ๐ ๐ฆ โ1 =๐ฆ โ2 =โฏ=๐ฆ โ๐ =0 ๐ โ1 =๐ โ2 =โฏ=๐ โ๐ =0
3
Transfer Function Take the z-transform of the linear difference equation to obtain transfer function of the discrete-time LTI system Linear difference equation representation for ? ๐ ๐ง = ๐ ๐ + ๐ ๐โ1 ๐ง โ1 +โฏ+ ๐ 0 ๐ง โ๐ 1+ ๐ ๐โ1 ๐ง โ1 +โฏ+ ๐ 0 ๐ง โ๐ ๐ธ(๐ง) ๐บ(๐ง) ๐ธ(๐ง) ๐(๐ง) ๐บ(๐ง) ๐บ(๐ง)= ๐งโ1 ๐งโ2 2
4
Time-Delay Element ๐(๐) ๐ฆ ๐ =๐(๐โ1) ๐ ๐(๐๐) ๐ฆ ๐๐ =๐( ๐โ1 ๐) ๐ ๐ธ(๐ง)
Consider a simple LTI discrete-time system whose output y(k) is obtained from the input e(k) by a delay of one time step: If the input e(k) is obtained by sampling a continuous-time: e(k)=e(kT), then the above operation is a time delay element by time T: The transfer function of the time-delay element is ๐(๐) ๐ฆ ๐ =๐(๐โ1) ๐ ๐(๐๐) ๐ฆ ๐๐ =๐( ๐โ1 ๐) ๐ ๐ธ(๐ง) ๐(๐ง) ๐ง โ1
5
Connection of Time Delay Elements
๐(๐) ๐ฆ(๐) ๐ ๐ ๐ ๐ (shift register using D flip-flops) A more complicated connection: ๐(๐) ๐ ๐ + ๐ฆ(๐) โ +
6
Simulation Diagram Simulation diagram is a graphical representation of systems consisting of basic elements of operations: Time-delay elements Summation Multiplication by constant Example: can be represented by a simulation diagram: ๐ฆ ๐ =2๐ ๐ โ๐ ๐โ1 โ๐ฆ(๐โ1) ๐(๐) ๐ฆ(๐) ๐ โ + ๐ โ
7
Example ๐ฆ ๐ โ4๐ฆ ๐โ1 +3๐ฆ(๐โ2)=๐ ๐โ1 โ2๐ ๐โ2 Simulation diagram:
8
Simulation Diagram for General Linear Difference Equation
9
(Signal) Flow Graph An alternative graphical representation of systems
Basic elements are Nodes: representing signals Branches: directed line segment connecting nodes, each with a gain At each node, signals of all incoming branches are summed and the result is transmitted to all outgoing branches Example: ๐ธ(๐ง) ๐(๐ง) ๐ธ(๐ง) ๐บ(๐ง) ๐(๐ง) ๐บ(๐ง) ๐ธ(๐ง) ๐(๐ง) ๐ธ(๐ง) 1 ๐(๐ง) + โ โ1 ๐(๐ง) ๐(๐ง)
10
Previous Example Simulation diagram: ๐ ๐ Flow graph:
๐ฆ ๐ =2๐ ๐ โ๐ ๐โ1 โ๐ฆ(๐โ1) Simulation diagram: ๐(๐) ๐ฆ(๐) ๐ โ + ๐ โ Flow graph: ๐(๐ง) โ ๐ง โ1 1 ๐ง โ1 ๐ธ(๐ง) โ1 โ1
11
Masonโs Formula To compute the transfer function from an input node to an output node in an arbitrary flow graph: Compute the determinant ๏ of the flow graph Find all forward paths with path gains P1,โฆ,Pk For each forward path Pi, i=1,โฆ,k, find the determinant (cofactor) ๏i of a (sub) signal flow graph obtained from the original one by removing by branches touching Pi Then the transfer function from the input node to the output node is
12
Determinant of Flow Graph
๏=1- (sum of all individual loop gains) + (sum of gain products of all two non-touching loops) - (sum of gain products of all three non-touching loops) + โฆ Example:
13
Application of Masonโs Formula
Forward path Forward path gain Pi ๏i
14
Example
15
Another Example Transfer function
16
State Space Representation
Concept of State Variables State-Variable Model Relation with Transfer Function Representation TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA
17
External vs Internal Models
Transfer functions: input-output (I/O, external) representations Modern perspective: state-variable model (Internal Model) Systems with identical I/O characteristics may possess drastically different internal structures Hard constraints on some internal variables Input and output variables are not enough
18
State-Variable Model Single Input Single Out (SISO) LTI Systems:
input is a scalar: output is a scalar: state x is a vector: A, B, C, D are matrices of proper dimensions The output y(k), k=0,1,โฆ can be uniquely determined from the input e(k), k=0,1,โฆ, and the initial condition x(0)
19
Numerical Solution Find y(k) for given input e(k) and initial state x(0) Recursive solution:
20
Transfer Function of State-Variable Model
Assuming zero initial condition x(0)=0, what is the transfer function from the input signal e(k) to the output signal y(k)?
21
Example Consider the system State variables: In vector form:
System evolution becomes: Output can be recovered as: Transfer function:
22
Obtaining State-Variable Model From Transfer Functions
Given a general transfer function how to obtain equivalent state-variable model? General procedure Draw a simulation diagram of the system (many choices) Assign a state variable to each time delay elementโs output Write the state equation, and the output equation from the diagram
23
One Possible Way Example:
24
Controller Canonical Form: Simulation Diagram
25
Controller Canonical Form: Flow Graph
Exercise: Check the transfer function from E(z) to Y(z) by Masonโs Formula
26
Observer Canonical Form: Simulation Diagram
Exercise: write the state-variable model
27
Example State Variables Model 1: controller canonical form
28
Alternative State Variable Model (I)
29
Alternative State Variable Model (II)
Conclusion: A transfer function G(z) can have many different equivalent state-variable models (A,B,C,D), as long as
30
Exercise State-variable model:
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.