SlideShare ist ein Scribd-Unternehmen logo
1 von 50
State Space Representation of
System
Dr.Ziad Saeed Mohammed
E .T .C-N.T.U
2019-2020
outline
• How to find mathematical model, called a state-
space representation, for a linear, time-invariant
system
• How to convert between transfer function and
state space models
Modeling
3
Derive mathematical models for
• Electrical systems
• Mechanical systems
• Electromechanical system
Electrical Systems:
• Kirchhoff’s voltage & current laws
Mechanical systems:
• Newton’s laws
4
State-Space Modeling
• Alternative method of modeling a system than
▫ Differential / difference equations
▫ Transfer functions
• Uses matrices and vectors to represent the system
parameters and variables
• In control engineering, a state space
representation is a mathematical model of a
physical system as a set of input, output and state
variables related by first-order differential
equations. To abstract from the number of inputs,
outputs and states, the variables are expressed as
vectors.
5
Motivation for State-Space Modeling
• Easier for computers to perform matrix algebra
▫ e.g. MATLAB does all computations as matrix math
• Handles multiple inputs and outputs
• Provides more information about the system
▫ Provides knowledge of internal variables (states)
Primarily used in complicated, large-scale
systems
State space model composed of 2 equations;
1. State equation
State
Space Model
2. Output equation
6
• A is called the state matrix,
• B the input matrix,
• C the output matrix, and
• D the direct transmission matrix.
Definitions
• State- The state of a dynamic system is the
smallest set of variables (called state variables)
such that knowledge of these variables at t=t0 ,
together with knowledge of the input for t ≥ t0 ,
completely determines the behavior of the
system for any time t to to.
• Note that the concept of state is by no means
limited to physical systems. It is applicable to
biological systems, economic systems, social
systems, and others.
State Variables:
• The state variables of a dynamic system are the
variables making up the smallest set of variables
that determine the state of the dynamic system.
• If at least n variables x1, x2, …… , xn are needed
to completely describe the behavior of a
dynamic system (so that once the input is given
for t ≥ t0 and the initial state at t=to is specified,
the future state of the system is completely
determined), then such n variables are a set of
state variables.
State Vector:
• A vector whose elements are the state variables.
• If n state variables are needed to completely
describe the behavior of a given system, then
these n state variables can be considered the n
components of a vector x. Such a vector is called
a state vector.
• A state vector is thus a vector that determines
uniquely the system state x(t) for any time t≥ t0,
once the state at t=t0 is given and the input u(t)
for t ≥ t0 is specified.
State Space:
• The n-dimensional space whose coordinate axes
consist of the x1 axis, x2 axis, ….., xn axis, where
x1, x2,…… , xn are state variables, is called a
state space.
• "State space" refers to the space whose axes are
the state variables. The state of the system can
be represented as a vector within that space.
• State-Space Equations. In state-space analysis
we are concerned with three types of variables
that are involved in the modeling of dynamic
systems: input variables, output variables, and
state variables.
• The number of state variables to completely
define the dynamics of the system is equal to the
number of integrators involved in the system.
• Assume that a multiple-input, multiple-output
system involves n integrators. Assume also that
there are r inputs u1(t), u2(t),……. ur(t) and m
outputs y1(t), y2(t), …….. ym(t).
• Define n outputs of the integrators as state variables:
x1(t), x2(t), ……… xn(t). Then the system may be
described by:
• The outputs y1(t), y2(t), ……… ym(t) of the
system may be given by
• If we define
• then Equations (2–8) and (2–9) become
• where Equation (2–10) is the state equation and
Equation (2–11) is the output equation. If vector
functions f and/or g involve time t explicitly, then the
system is called a time varying system.
• If Equations (2–10) and (2–11) are linearized
about the operating state, then we have the
following linearized state equation and output
equation:
• A(t) is called the state matrix,
• B(t) the input matrix,
• C(t) the output matrix, and
• D(t) the direct transmission matrix.
• A block diagram representation of Equations (2–12) and
(2–13) is shown in Figure
• If vector functions f and g do not involve time t
explicitly then the system is called a time-
invariant system. In this case, Equations (2–12)
and (2–13) can be simplified to
•Equation (2–14) is the state equation of the
linear, time-invariant system and
•Equation (2–15) is the output equation for the
same system.
Correlation Between Transfer Functions
and State-Space Equations
• The "transfer function" of a continuous time-
invariant linear state-space model can be derived
in the following way:
First, taking the Laplace transform of
Yields
Example
26
Find state model of
System shown in the Fig.
Solution
• A practical approach is to assign the current in the inductor L, i(t), and
the voltage across the capacitor C, ec(t), as the state variables.
• The reason for this choice is because the state variables are directly
related to the energy-storage element of a system. The inductor stores
kinetic energy, and the capacitor stores electric potential energy.
• By assigning i(t) and ec(t) as state variables, we have a complete
description of the past history (via the initial states) and the present and
future states of the network.
Example
The state equation:
27
This format is also known as the state form if we set
OR
Example
28
write the state equations of the electric network shown in the Fig.
Solution: The state equations of the network are obtained by writing the
voltages across the inductors and the currents in the capacitor in terms of the three
state variables. The state equations are
Example
In vector-matrix form, the state equations are written as
29
Where
Example 3.1 P.138
PROBLEM: Given the electrical network of Figure shown, find
a state-space representation if the output is the current through
the resistor.
30
Solution
Select the state variables by writing the derivative equation for all energy storage
elements, that is, the inductor and the capacitor. Thus,
1
2
Example 3.1
Apply network theory, such as Kirchhoffs voltage and current
laws, to obtain ic and vL in terms of the state variables, vc and iL.
At Node 1,
31
which yields ic in terms of the state variables, vc and iL . Around the outer
loop,
3
4
Example 3.1
Substitute the results of Eqs. (3) and (4) into Eqs. (1) and (2) to
obtain the following state equations:
32
OR
Find the output eq. since the output is iR(t)
The final result for the state-space representation is
Example
33
Find the state eq. of the
mechanical system shown
Solution
Example 3.3 P.142
PROBLEM: Find the state equations for the translational
mechanical system shown in Figure.
34
Example 3.3 P.142
SOLUTION: First write the differential equations for the
network in Figure, using the methods of Chapter 2 to find the
Laplace-transformed equations of motion.
35
Example 3.3 P.142
36
In Vector Matrix
3.5 Converting a Transfer Function to State
Space
In the last section, we applied the state-space representation to
electrical and mechanical systems. We learn how to convert a
transfer function representation to a state-space representation in
this section.
One advantage of the state-space representation is that it can be
used for the simulation of physical systems on the digital
computer. Thus, if we want to simulate a system that is
represented by a transfer function, we must first convert the
transfer function representation to state space.
37
Converting T.F to S.S
• System modeling in state space can take on many
representations
• Although each of these models yields the same output for a
given input, an engineer may prefer a particular one for
several reasons.
• Another motive for choosing a particular set of state
variables and state-space model is ease of solution.
38
3.6 Converting from State Space to a
Transfer Function
•
39
Converting From S.S to T.F
•
40
CONTROLLABILITY:
Full-state feedback design commonly relies on pole-placement
techniques. It is important to note that a system must be completely
controllable and completely observable to allow the flexibility to place all
the closed-loop system poles arbitrarily. The concepts of controllability and
observability were introduced by Kalman in the 1960s.
A system is completely controllable if there exists an unconstrained
control u(t) that can transfer any initial state x(t0) to any other desired
location x(t) in a finite time, t0≤t≤T.
For the system
Bu
Ax
x 


we can determine whether the system is controllable by examining the
algebraic condition
  n
B
A
B
A
AB
B
rank 1
n
2



The matrix A is an nxn matrix an B is an nx1 matrix. For multi input systems,
B can be nxm, where m is the number of inputs.
For a single-input, single-output system, the controllability matrix Pc is
described in terms of A and B as
 
B
A
B
A
AB
B
P 1
n
2
c

 
which is nxn matrix. Therefore, if the determinant of Pc is nonzero, the system
is controllable.
Example:
Consider the system
   u
0
x
0
0
1
y
,
u
1
0
0
x
a
a
a
1
0
0
0
1
0
x
2
1
0




























 

















































1
2
2
2
2
2
2
1
0 a
a
a
1
B
A
,
a
1
0
AB
,
1
0
0
B
,
a
a
a
1
0
0
0
1
0
A
 
 














1
2
2
2
2
2
c
a
a
a
1
a
1
0
1
0
0
B
A
AB
B
P
The determinant of Pc =1 and ≠0 , hence this system is controllable.
Example.
Consider a system represented by the two state equations
1
2
2
1
1 x
d
x
3
x
,
u
x
2
x 




 

The output of the system is y=x2. Determine the condition of controllability.
   u
0
x
1
0
y
,
u
0
1
x
3
d
0
2
x 























 






























d
0
2
1
P
d
2
0
1
3
d
0
2
AB
and
0
1
B
c The determinant of pc is equal to d, which is
nonzero only when d is nonzero.
Dorf and Bishop, Modern Control Systems
OBSERVABILITY:
All the poles of the closed-loop system can be placed arbitrarily in the complex
plane if and only if the system is observable and controllable. Observability
refers to the ability to estimate a state variable.
A system is completely observable if and only if there exists a finite time T
such that the initial state x(0) can be determined from the
observation history y(t) given the control u(t).
Cx
y
and
Bu
Ax
x 



Consider the single-input, single-output system
where C is a 1xn row vector, and x is an nx1 column vector. This system is
completely observable when the determinant of the observability matrix P0
is nonzero.
The observability matrix, which is an nxn matrix, is written as













1
n
O
A
C
A
C
C
P

Example:
Consider the previously given system
 
0
0
1
C
,
a
a
a
1
0
0
0
1
0
A
2
1
0















Dorf and Bishop, Modern Control Systems
   
1
0
0
CA
,
0
1
0
CA 2


Thus, we obtain











1
0
0
0
1
0
0
0
1
PO
The det P0=1, and the system is completely observable. Note that
determination of observability does not utility the B and C matrices.
Example: Consider the system given by
 x
1
1
y
and
u
1
1
x
1
1
0
2
x 

















We can check the system controllability and observability using the Pc and P0
matrices.
From the system definition, we obtain
















2
2
AB
and
1
1
B
  









2
1
2
1
AB
B
Pc
Therefore, the controllability matrix is determined to be
det Pc=0 and rank(Pc)=1. Thus, the system is not controllable.
  









2
1
2
1
AB
B
Pc
Therefore, the controllability matrix is determined to be
Dorf and Bishop, Modern Control Systems
From the system definition, we obtain
   
1
1
CA
and
1
1
C 















1
1
1
1
CA
C
Po
Therefore, the observability matrix is determined to be
det PO=0 and rank(PO)=1. Thus, the system is not observable.
If we look again at the state model, we note that
2
1 x
x
y 

However,
  2
1
1
2
1
2
1 x
x
u
u
x
x
x
2
x
x 






 

Thus, the system state variables do not depend on u, and the system is not
controllable. Similarly, the output (x1+x2) depends on x1(0) plus x2(0) and does
not allow us to determine x1(0) and x2(0) independently. Consequently, the
system is not observable.
The observability matrix PO can be constructed in Matlab by using obsv
command.
From two-mass system,
Po =
1 1
1 1
rank_Po =
1
det_Po =
0
clc
clear
A=[2 0;-1 1];
C=[1 1];
Po=obsv(A,C)
rank_Po=rank(Po)
det_Po=det(Po) The system is not
observable.
Dorf and Bishop, Modern Control Systems

Weitere ähnliche Inhalte

Was ist angesagt?

Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 
state space modeling of electrical system
state space modeling of electrical systemstate space modeling of electrical system
state space modeling of electrical systemMirza Baig
 
Hvdc transmission & its applications
Hvdc transmission & its applicationsHvdc transmission & its applications
Hvdc transmission & its applicationsPooja Dubey
 
Week 17 digital control sytem
Week 17 digital control sytemWeek 17 digital control sytem
Week 17 digital control sytemCharlton Inao
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptxRaviMuthamala1
 
Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemAttaporn Ninsuwan
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observabilityjawaharramaya
 
Photovoltaic Power Conversion systems
Photovoltaic Power Conversion systems	Photovoltaic Power Conversion systems
Photovoltaic Power Conversion systems Niraj Solanki
 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...Waqas Afzal
 
Modern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemModern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemAmr E. Mohamed
 
PROCESS CONTROL module 1.pptx
PROCESS CONTROL module 1.pptxPROCESS CONTROL module 1.pptx
PROCESS CONTROL module 1.pptxglan Glandeva
 
Introduction to Control System : Open Loop System and Close Loop System
Introduction to Control System : Open Loop System and Close Loop SystemIntroduction to Control System : Open Loop System and Close Loop System
Introduction to Control System : Open Loop System and Close Loop SystemKazim Marfatiya
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsAmr E. Mohamed
 
Pneumatics and hydraulics ppt
Pneumatics and hydraulics pptPneumatics and hydraulics ppt
Pneumatics and hydraulics pptwifi0047
 
Control system lectures
Control system lectures Control system lectures
Control system lectures Naqqash Sajid
 

Was ist angesagt? (20)

Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
state space modeling of electrical system
state space modeling of electrical systemstate space modeling of electrical system
state space modeling of electrical system
 
Bode diagram
Bode diagramBode diagram
Bode diagram
 
Hvdc transmission & its applications
Hvdc transmission & its applicationsHvdc transmission & its applications
Hvdc transmission & its applications
 
Week 17 digital control sytem
Week 17 digital control sytemWeek 17 digital control sytem
Week 17 digital control sytem
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
 
Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
 
Photovoltaic Power Conversion systems
Photovoltaic Power Conversion systems	Photovoltaic Power Conversion systems
Photovoltaic Power Conversion systems
 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...
 
Modern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemModern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control System
 
Basic hydraulic circuit
Basic hydraulic circuitBasic hydraulic circuit
Basic hydraulic circuit
 
Control system unit(1)
Control system unit(1)Control system unit(1)
Control system unit(1)
 
PROCESS CONTROL module 1.pptx
PROCESS CONTROL module 1.pptxPROCESS CONTROL module 1.pptx
PROCESS CONTROL module 1.pptx
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Introduction to Control System : Open Loop System and Close Loop System
Introduction to Control System : Open Loop System and Close Loop SystemIntroduction to Control System : Open Loop System and Close Loop System
Introduction to Control System : Open Loop System and Close Loop System
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
Pneumatics and hydraulics ppt
Pneumatics and hydraulics pptPneumatics and hydraulics ppt
Pneumatics and hydraulics ppt
 
Chapter 06 - Generation of High Direct Current Voltages
Chapter 06 - Generation of High Direct Current VoltagesChapter 06 - Generation of High Direct Current Voltages
Chapter 06 - Generation of High Direct Current Voltages
 
Control system lectures
Control system lectures Control system lectures
Control system lectures
 

Ähnlich wie State Space Modeling Explained

State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systemsSarah Krystelle
 
Introduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima PanditIntroduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima PanditPurnima Pandit
 
lecture1ddddgggggggggggghhhhhhh (11).ppt
lecture1ddddgggggggggggghhhhhhh (11).pptlecture1ddddgggggggggggghhhhhhh (11).ppt
lecture1ddddgggggggggggghhhhhhh (11).pptHebaEng
 
Chapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.pptChapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.pptkhinmuyaraye
 
BEC- 26 control systems_unit-II
BEC- 26 control systems_unit-IIBEC- 26 control systems_unit-II
BEC- 26 control systems_unit-IIShadab Siddiqui
 
linear algebra in control systems
linear algebra in control systemslinear algebra in control systems
linear algebra in control systemsGanesh Bhat
 
Transfer Function Cse ppt
Transfer Function Cse pptTransfer Function Cse ppt
Transfer Function Cse pptsanjaytron
 
UNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .pptUNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .pptabbas miry
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lectureKhalaf Gaeid Alshammery
 
State space courses
State space coursesState space courses
State space coursesKAMEL HEMSAS
 
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...sravan66
 
Basic System Properties.ppt
Basic System Properties.pptBasic System Properties.ppt
Basic System Properties.pptYashhKalal
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)PRABHAHARAN429
 

Ähnlich wie State Space Modeling Explained (20)

State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systems
 
Introduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima PanditIntroduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima Pandit
 
lecture1ddddgggggggggggghhhhhhh (11).ppt
lecture1ddddgggggggggggghhhhhhh (11).pptlecture1ddddgggggggggggghhhhhhh (11).ppt
lecture1ddddgggggggggggghhhhhhh (11).ppt
 
Chapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.pptChapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.ppt
 
BEC- 26 control systems_unit-II
BEC- 26 control systems_unit-IIBEC- 26 control systems_unit-II
BEC- 26 control systems_unit-II
 
linear algebra in control systems
linear algebra in control systemslinear algebra in control systems
linear algebra in control systems
 
Transfer Function Cse ppt
Transfer Function Cse pptTransfer Function Cse ppt
Transfer Function Cse ppt
 
UNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .pptUNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .ppt
 
Introduction
IntroductionIntroduction
Introduction
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lecture
 
solver (1)
solver (1)solver (1)
solver (1)
 
control systems.pdf
control systems.pdfcontrol systems.pdf
control systems.pdf
 
State space courses
State space coursesState space courses
State space courses
 
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
 
14599404.ppt
14599404.ppt14599404.ppt
14599404.ppt
 
State space analysis
State space analysisState space analysis
State space analysis
 
P73
P73P73
P73
 
Basic System Properties.ppt
Basic System Properties.pptBasic System Properties.ppt
Basic System Properties.ppt
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)
 
Control chap2
Control chap2Control chap2
Control chap2
 

Mehr von HebaEng

lecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
lecrfigfdtj x6 I f I ncccfyuggggrst3.pdflecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
lecrfigfdtj x6 I f I ncccfyuggggrst3.pdfHebaEng
 
LECtttttttttttttttttttttttttttttt2 M.pptx
LECtttttttttttttttttttttttttttttt2 M.pptxLECtttttttttttttttttttttttttttttt2 M.pptx
LECtttttttttttttttttttttttttttttt2 M.pptxHebaEng
 
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdflect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdfHebaEng
 
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdflect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdfHebaEng
 
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptxsensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptxHebaEng
 
Homework lehhhhghjjjjhgd thvfgycture 1.pdf
Homework lehhhhghjjjjhgd thvfgycture 1.pdfHomework lehhhhghjjjjhgd thvfgycture 1.pdf
Homework lehhhhghjjjjhgd thvfgycture 1.pdfHebaEng
 
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggPIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggHebaEng
 
math6.pdf
math6.pdfmath6.pdf
math6.pdfHebaEng
 
math1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdfmath1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdfHebaEng
 
digital10.pdf
digital10.pdfdigital10.pdf
digital10.pdfHebaEng
 
PIC Serial Communication_P2 (2).pdf
PIC Serial Communication_P2 (2).pdfPIC Serial Communication_P2 (2).pdf
PIC Serial Communication_P2 (2).pdfHebaEng
 
Instruction 3.pptx
Instruction 3.pptxInstruction 3.pptx
Instruction 3.pptxHebaEng
 
IO and MAX 2.pptx
IO and MAX 2.pptxIO and MAX 2.pptx
IO and MAX 2.pptxHebaEng
 
BUS DRIVER.pptx
BUS DRIVER.pptxBUS DRIVER.pptx
BUS DRIVER.pptxHebaEng
 
VRAM & DEBUG.pptx
VRAM & DEBUG.pptxVRAM & DEBUG.pptx
VRAM & DEBUG.pptxHebaEng
 
Instruction 4.pptx
Instruction 4.pptxInstruction 4.pptx
Instruction 4.pptxHebaEng
 
8086 memory interface.pptx
8086 memory interface.pptx8086 memory interface.pptx
8086 memory interface.pptxHebaEng
 
Opcode 2.pptx
Opcode 2.pptxOpcode 2.pptx
Opcode 2.pptxHebaEng
 
VRAM & DEBUG.pptx
VRAM & DEBUG.pptxVRAM & DEBUG.pptx
VRAM & DEBUG.pptxHebaEng
 
8086 opcode.pptx
8086 opcode.pptx8086 opcode.pptx
8086 opcode.pptxHebaEng
 

Mehr von HebaEng (20)

lecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
lecrfigfdtj x6 I f I ncccfyuggggrst3.pdflecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
lecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
 
LECtttttttttttttttttttttttttttttt2 M.pptx
LECtttttttttttttttttttttttttttttt2 M.pptxLECtttttttttttttttttttttttttttttt2 M.pptx
LECtttttttttttttttttttttttttttttt2 M.pptx
 
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdflect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
 
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdflect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
 
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptxsensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
 
Homework lehhhhghjjjjhgd thvfgycture 1.pdf
Homework lehhhhghjjjjhgd thvfgycture 1.pdfHomework lehhhhghjjjjhgd thvfgycture 1.pdf
Homework lehhhhghjjjjhgd thvfgycture 1.pdf
 
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggPIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
 
math6.pdf
math6.pdfmath6.pdf
math6.pdf
 
math1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdfmath1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdf
 
digital10.pdf
digital10.pdfdigital10.pdf
digital10.pdf
 
PIC Serial Communication_P2 (2).pdf
PIC Serial Communication_P2 (2).pdfPIC Serial Communication_P2 (2).pdf
PIC Serial Communication_P2 (2).pdf
 
Instruction 3.pptx
Instruction 3.pptxInstruction 3.pptx
Instruction 3.pptx
 
IO and MAX 2.pptx
IO and MAX 2.pptxIO and MAX 2.pptx
IO and MAX 2.pptx
 
BUS DRIVER.pptx
BUS DRIVER.pptxBUS DRIVER.pptx
BUS DRIVER.pptx
 
VRAM & DEBUG.pptx
VRAM & DEBUG.pptxVRAM & DEBUG.pptx
VRAM & DEBUG.pptx
 
Instruction 4.pptx
Instruction 4.pptxInstruction 4.pptx
Instruction 4.pptx
 
8086 memory interface.pptx
8086 memory interface.pptx8086 memory interface.pptx
8086 memory interface.pptx
 
Opcode 2.pptx
Opcode 2.pptxOpcode 2.pptx
Opcode 2.pptx
 
VRAM & DEBUG.pptx
VRAM & DEBUG.pptxVRAM & DEBUG.pptx
VRAM & DEBUG.pptx
 
8086 opcode.pptx
8086 opcode.pptx8086 opcode.pptx
8086 opcode.pptx
 

Kürzlich hochgeladen

办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一F La
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10uasjlagroup
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一Fi L
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxmapanig881
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfSumit Lathwal
 
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full NightCall Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 

Kürzlich hochgeladen (20)

办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptx
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
 
Call Girls in Pratap Nagar, 9953056974 Escort Service
Call Girls in Pratap Nagar,  9953056974 Escort ServiceCall Girls in Pratap Nagar,  9953056974 Escort Service
Call Girls in Pratap Nagar, 9953056974 Escort Service
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdf
 
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full NightCall Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
 

State Space Modeling Explained

  • 1. State Space Representation of System Dr.Ziad Saeed Mohammed E .T .C-N.T.U 2019-2020
  • 2. outline • How to find mathematical model, called a state- space representation, for a linear, time-invariant system • How to convert between transfer function and state space models
  • 3. Modeling 3 Derive mathematical models for • Electrical systems • Mechanical systems • Electromechanical system Electrical Systems: • Kirchhoff’s voltage & current laws Mechanical systems: • Newton’s laws
  • 4. 4 State-Space Modeling • Alternative method of modeling a system than ▫ Differential / difference equations ▫ Transfer functions • Uses matrices and vectors to represent the system parameters and variables • In control engineering, a state space representation is a mathematical model of a physical system as a set of input, output and state variables related by first-order differential equations. To abstract from the number of inputs, outputs and states, the variables are expressed as vectors.
  • 5. 5 Motivation for State-Space Modeling • Easier for computers to perform matrix algebra ▫ e.g. MATLAB does all computations as matrix math • Handles multiple inputs and outputs • Provides more information about the system ▫ Provides knowledge of internal variables (states) Primarily used in complicated, large-scale systems
  • 6. State space model composed of 2 equations; 1. State equation State Space Model 2. Output equation 6 • A is called the state matrix, • B the input matrix, • C the output matrix, and • D the direct transmission matrix.
  • 7. Definitions • State- The state of a dynamic system is the smallest set of variables (called state variables) such that knowledge of these variables at t=t0 , together with knowledge of the input for t ≥ t0 , completely determines the behavior of the system for any time t to to. • Note that the concept of state is by no means limited to physical systems. It is applicable to biological systems, economic systems, social systems, and others.
  • 8. State Variables: • The state variables of a dynamic system are the variables making up the smallest set of variables that determine the state of the dynamic system. • If at least n variables x1, x2, …… , xn are needed to completely describe the behavior of a dynamic system (so that once the input is given for t ≥ t0 and the initial state at t=to is specified, the future state of the system is completely determined), then such n variables are a set of state variables.
  • 9. State Vector: • A vector whose elements are the state variables. • If n state variables are needed to completely describe the behavior of a given system, then these n state variables can be considered the n components of a vector x. Such a vector is called a state vector. • A state vector is thus a vector that determines uniquely the system state x(t) for any time t≥ t0, once the state at t=t0 is given and the input u(t) for t ≥ t0 is specified.
  • 10. State Space: • The n-dimensional space whose coordinate axes consist of the x1 axis, x2 axis, ….., xn axis, where x1, x2,…… , xn are state variables, is called a state space. • "State space" refers to the space whose axes are the state variables. The state of the system can be represented as a vector within that space.
  • 11. • State-Space Equations. In state-space analysis we are concerned with three types of variables that are involved in the modeling of dynamic systems: input variables, output variables, and state variables. • The number of state variables to completely define the dynamics of the system is equal to the number of integrators involved in the system. • Assume that a multiple-input, multiple-output system involves n integrators. Assume also that there are r inputs u1(t), u2(t),……. ur(t) and m outputs y1(t), y2(t), …….. ym(t).
  • 12. • Define n outputs of the integrators as state variables: x1(t), x2(t), ……… xn(t). Then the system may be described by:
  • 13. • The outputs y1(t), y2(t), ……… ym(t) of the system may be given by
  • 14. • If we define
  • 15. • then Equations (2–8) and (2–9) become • where Equation (2–10) is the state equation and Equation (2–11) is the output equation. If vector functions f and/or g involve time t explicitly, then the system is called a time varying system.
  • 16. • If Equations (2–10) and (2–11) are linearized about the operating state, then we have the following linearized state equation and output equation:
  • 17. • A(t) is called the state matrix, • B(t) the input matrix, • C(t) the output matrix, and • D(t) the direct transmission matrix. • A block diagram representation of Equations (2–12) and (2–13) is shown in Figure
  • 18. • If vector functions f and g do not involve time t explicitly then the system is called a time- invariant system. In this case, Equations (2–12) and (2–13) can be simplified to •Equation (2–14) is the state equation of the linear, time-invariant system and •Equation (2–15) is the output equation for the same system.
  • 19. Correlation Between Transfer Functions and State-Space Equations • The "transfer function" of a continuous time- invariant linear state-space model can be derived in the following way: First, taking the Laplace transform of Yields
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Example 26 Find state model of System shown in the Fig. Solution • A practical approach is to assign the current in the inductor L, i(t), and the voltage across the capacitor C, ec(t), as the state variables. • The reason for this choice is because the state variables are directly related to the energy-storage element of a system. The inductor stores kinetic energy, and the capacitor stores electric potential energy. • By assigning i(t) and ec(t) as state variables, we have a complete description of the past history (via the initial states) and the present and future states of the network.
  • 27. Example The state equation: 27 This format is also known as the state form if we set OR
  • 28. Example 28 write the state equations of the electric network shown in the Fig. Solution: The state equations of the network are obtained by writing the voltages across the inductors and the currents in the capacitor in terms of the three state variables. The state equations are
  • 29. Example In vector-matrix form, the state equations are written as 29 Where
  • 30. Example 3.1 P.138 PROBLEM: Given the electrical network of Figure shown, find a state-space representation if the output is the current through the resistor. 30 Solution Select the state variables by writing the derivative equation for all energy storage elements, that is, the inductor and the capacitor. Thus, 1 2
  • 31. Example 3.1 Apply network theory, such as Kirchhoffs voltage and current laws, to obtain ic and vL in terms of the state variables, vc and iL. At Node 1, 31 which yields ic in terms of the state variables, vc and iL . Around the outer loop, 3 4
  • 32. Example 3.1 Substitute the results of Eqs. (3) and (4) into Eqs. (1) and (2) to obtain the following state equations: 32 OR Find the output eq. since the output is iR(t) The final result for the state-space representation is
  • 33. Example 33 Find the state eq. of the mechanical system shown Solution
  • 34. Example 3.3 P.142 PROBLEM: Find the state equations for the translational mechanical system shown in Figure. 34
  • 35. Example 3.3 P.142 SOLUTION: First write the differential equations for the network in Figure, using the methods of Chapter 2 to find the Laplace-transformed equations of motion. 35
  • 36. Example 3.3 P.142 36 In Vector Matrix
  • 37. 3.5 Converting a Transfer Function to State Space In the last section, we applied the state-space representation to electrical and mechanical systems. We learn how to convert a transfer function representation to a state-space representation in this section. One advantage of the state-space representation is that it can be used for the simulation of physical systems on the digital computer. Thus, if we want to simulate a system that is represented by a transfer function, we must first convert the transfer function representation to state space. 37
  • 38. Converting T.F to S.S • System modeling in state space can take on many representations • Although each of these models yields the same output for a given input, an engineer may prefer a particular one for several reasons. • Another motive for choosing a particular set of state variables and state-space model is ease of solution. 38
  • 39. 3.6 Converting from State Space to a Transfer Function • 39
  • 40. Converting From S.S to T.F • 40
  • 41. CONTROLLABILITY: Full-state feedback design commonly relies on pole-placement techniques. It is important to note that a system must be completely controllable and completely observable to allow the flexibility to place all the closed-loop system poles arbitrarily. The concepts of controllability and observability were introduced by Kalman in the 1960s. A system is completely controllable if there exists an unconstrained control u(t) that can transfer any initial state x(t0) to any other desired location x(t) in a finite time, t0≤t≤T.
  • 42. For the system Bu Ax x    we can determine whether the system is controllable by examining the algebraic condition   n B A B A AB B rank 1 n 2    The matrix A is an nxn matrix an B is an nx1 matrix. For multi input systems, B can be nxm, where m is the number of inputs. For a single-input, single-output system, the controllability matrix Pc is described in terms of A and B as   B A B A AB B P 1 n 2 c    which is nxn matrix. Therefore, if the determinant of Pc is nonzero, the system is controllable.
  • 43. Example: Consider the system    u 0 x 0 0 1 y , u 1 0 0 x a a a 1 0 0 0 1 0 x 2 1 0                                                                                1 2 2 2 2 2 2 1 0 a a a 1 B A , a 1 0 AB , 1 0 0 B , a a a 1 0 0 0 1 0 A                   1 2 2 2 2 2 c a a a 1 a 1 0 1 0 0 B A AB B P The determinant of Pc =1 and ≠0 , hence this system is controllable.
  • 44. Example. Consider a system represented by the two state equations 1 2 2 1 1 x d x 3 x , u x 2 x         The output of the system is y=x2. Determine the condition of controllability.    u 0 x 1 0 y , u 0 1 x 3 d 0 2 x                                                         d 0 2 1 P d 2 0 1 3 d 0 2 AB and 0 1 B c The determinant of pc is equal to d, which is nonzero only when d is nonzero. Dorf and Bishop, Modern Control Systems
  • 45. OBSERVABILITY: All the poles of the closed-loop system can be placed arbitrarily in the complex plane if and only if the system is observable and controllable. Observability refers to the ability to estimate a state variable. A system is completely observable if and only if there exists a finite time T such that the initial state x(0) can be determined from the observation history y(t) given the control u(t). Cx y and Bu Ax x     Consider the single-input, single-output system where C is a 1xn row vector, and x is an nx1 column vector. This system is completely observable when the determinant of the observability matrix P0 is nonzero.
  • 46. The observability matrix, which is an nxn matrix, is written as              1 n O A C A C C P  Example: Consider the previously given system   0 0 1 C , a a a 1 0 0 0 1 0 A 2 1 0                Dorf and Bishop, Modern Control Systems
  • 47.     1 0 0 CA , 0 1 0 CA 2   Thus, we obtain            1 0 0 0 1 0 0 0 1 PO The det P0=1, and the system is completely observable. Note that determination of observability does not utility the B and C matrices. Example: Consider the system given by  x 1 1 y and u 1 1 x 1 1 0 2 x                  
  • 48. We can check the system controllability and observability using the Pc and P0 matrices. From the system definition, we obtain                 2 2 AB and 1 1 B             2 1 2 1 AB B Pc Therefore, the controllability matrix is determined to be det Pc=0 and rank(Pc)=1. Thus, the system is not controllable.             2 1 2 1 AB B Pc Therefore, the controllability matrix is determined to be Dorf and Bishop, Modern Control Systems
  • 49. From the system definition, we obtain     1 1 CA and 1 1 C                 1 1 1 1 CA C Po Therefore, the observability matrix is determined to be det PO=0 and rank(PO)=1. Thus, the system is not observable. If we look again at the state model, we note that 2 1 x x y   However,   2 1 1 2 1 2 1 x x u u x x x 2 x x          
  • 50. Thus, the system state variables do not depend on u, and the system is not controllable. Similarly, the output (x1+x2) depends on x1(0) plus x2(0) and does not allow us to determine x1(0) and x2(0) independently. Consequently, the system is not observable. The observability matrix PO can be constructed in Matlab by using obsv command. From two-mass system, Po = 1 1 1 1 rank_Po = 1 det_Po = 0 clc clear A=[2 0;-1 1]; C=[1 1]; Po=obsv(A,C) rank_Po=rank(Po) det_Po=det(Po) The system is not observable. Dorf and Bishop, Modern Control Systems