SlideShare a Scribd company logo
State-Space Modeling
David W. Graham
EE 327
2
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
3
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
4
Transfer Functions vs. State-Space Models
• Transfer functions provide only input and output
behavior
– No knowledge of the inner workings of the system
– System is essentially a “black box” that performs
some functions
• State-space models also represent the internal
behavior of the system
H(s)X(s) Y(s)
5
Definitions
V – Input vector
• Can be multiple inputs
• Written as a column vector
( )
( )
( )
( )











=
tv
tv
tv
tv
R

2
1
Y – Output vector
• A function of the input and the
present state of the internal
variables
( )
( )
( )
( )











=
ty
ty
ty
ty
M

2
1
6
Definitions
X – State vector
• Information of the current
condition of the internal
variables
• N is the “dimension” of the
state model (number of
internal state variables)
( )
( )
( )
( )











=
tx
tx
tx
tx
N

2
1
X – “Next state” vector
• Derivative of the state vector
• Provides knowledge of where
the states are going
– Direction (+ or -)
– How fast (magnitude)
• A function fo the input and the
present state of the internal
variables
( )
( )
( )
( )











=
tx
tx
tx
tx
N




 2
1
7
State-Space Equations
General form of the state-space model
Two equations –
( )
( )ty
tx
( ) ( ) ( )( )
( ) ( ) ( )( )ttvtxgty
ttvtxftx
,,
,,
=
=
8
Linear State-Space Equations
( ) ( ) ( )
( ) ( ) ( )tDvtCxty
tBvtAxtx
+=
+=
( ) ( )
( )
( ) vector
vector
vectors
1
1
1,
×→
×→
×→
Mty
Rtv
Ntxtx 
RMD
NMC
RNB
NNA
×→
×→
×→
×→ system matrix
input matrix
output matrix
matrix representing direct
coupling from system inputs
to system outputs
If A, B, C, D are constant over time, then the system is also time invariant
→ Linear Time Invariant (LTI) system
9
Construction of State Equations
from a Differential Equation
(Let there be no derivatives of the input)
• The dimension of the state equations (number of state variables)
should equal the order of the differential equation
• Let one state variable equal the output (y(t))
• Let one state variable equal the derivative of the output
• Let one state variable equal the (N-1)-th derivative of the output
(where N is the order of the differential equation)
• Find the derivative of each of the newly defined state equations
– In terms of the other state variables and the outputs
• Write the state equations

9
Construction of State Equations
from a Differential Equation
(Let there be no derivatives of the input)
• The dimension of the state equations (number of state variables)
should equal the order of the differential equation
• Let one state variable equal the output (y(t))
• Let one state variable equal the derivative of the output
• Let one state variable equal the (N-1)-th derivative of the output
(where N is the order of the differential equation)
• Find the derivative of each of the newly defined state equations
– In terms of the other state variables and the outputs
• Write the state equations


More Related Content

PDF
State space analysis
PPSX
linear algebra in control systems
PPTX
Week 15 state space rep may 25 2016 final
PPT
PDF
The Controller Design For Linear System: A State Space Approach
PPTX
State equations for physical systems
PPT
State space analysis, eign values and eign vectors
State space analysis
linear algebra in control systems
Week 15 state space rep may 25 2016 final
The Controller Design For Linear System: A State Space Approach
State equations for physical systems
State space analysis, eign values and eign vectors

What's hot (20)

PDF
Modern Control System (BE)
PDF
Controllability and observability
PDF
State space courses
PPTX
Conversion of transfer function to canonical state variable models
PPTX
Advance control theory
PPTX
Discrete state space model 9th &10th lecture
PPT
Data Structures 2
PPTX
Generalized Isomorphism between Synchronous Circuits and State Machines
PPTX
Matlab: Discrete Linear Systems
PPTX
Seismic data processing
DOCX
Best,worst,average case .17581556 045
PDF
Digital Communication - Stochastic Process
PPT
REDES NEURONALES Performance Optimization
PPTX
Edsc 304 lesson 1
PPTX
Lecture 02: Preliminaries of Data structure
PPT
Sorting algorithms
PPT
Sorting
PPTX
SCHEDULING DAGs WITHOUT CONSIDERING COMMUNICATION
PPTX
Review of basic data structures
PPT
Sparse Matrix and Polynomial
Modern Control System (BE)
Controllability and observability
State space courses
Conversion of transfer function to canonical state variable models
Advance control theory
Discrete state space model 9th &10th lecture
Data Structures 2
Generalized Isomorphism between Synchronous Circuits and State Machines
Matlab: Discrete Linear Systems
Seismic data processing
Best,worst,average case .17581556 045
Digital Communication - Stochastic Process
REDES NEURONALES Performance Optimization
Edsc 304 lesson 1
Lecture 02: Preliminaries of Data structure
Sorting algorithms
Sorting
SCHEDULING DAGs WITHOUT CONSIDERING COMMUNICATION
Review of basic data structures
Sparse Matrix and Polynomial
Ad

Similar to State space modeling_introduction (20)

PDF
State space analysis-1-43.pdf state space
PPT
lecture19-2xwwdver21119095256-7ef20eb1.ppt
PPT
lecture1 (9).ppt
PDF
Modern Control - Lec07 - State Space Modeling of LTI Systems
PPT
CMU Advanced Controls M60AC Lesson #2.ppt
PPT
CMU Advanced Controls M60AC Lesson #2.ppt
PPTX
INTRODUCTION TO STATE SPACE ANALYSIS basic
PPT
State Space Representation of Mechanical System
PDF
control systems.pdf
PDF
3.State-Space Representation of Systems.pdf
PPT
UNIT-V-PPT state space of system model .ppt
PDF
6. Chapter 6 - State Space Modeling (3).pdf
PPTX
lecture_11-12_modern_control_theory.pptx
PPT
Introduction
PDF
Week_2.pdf State Variable Modeling, State Space Equations
PPT
State_space_represenation_&_analysis.ppt
PPTX
state space representation,State Space Model Controllability and Observabilit...
PDF
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
PDF
ACS Lecture 01.pdf
PDF
STATE_SPACE_ANALYSIs STATE_SPACE_ANALYSIs
State space analysis-1-43.pdf state space
lecture19-2xwwdver21119095256-7ef20eb1.ppt
lecture1 (9).ppt
Modern Control - Lec07 - State Space Modeling of LTI Systems
CMU Advanced Controls M60AC Lesson #2.ppt
CMU Advanced Controls M60AC Lesson #2.ppt
INTRODUCTION TO STATE SPACE ANALYSIS basic
State Space Representation of Mechanical System
control systems.pdf
3.State-Space Representation of Systems.pdf
UNIT-V-PPT state space of system model .ppt
6. Chapter 6 - State Space Modeling (3).pdf
lecture_11-12_modern_control_theory.pptx
Introduction
Week_2.pdf State Variable Modeling, State Space Equations
State_space_represenation_&_analysis.ppt
state space representation,State Space Model Controllability and Observabilit...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
ACS Lecture 01.pdf
STATE_SPACE_ANALYSIs STATE_SPACE_ANALYSIs
Ad

Recently uploaded (20)

PDF
Delivers.ai: 2020–2026 Autonomous Journey
PDF
How much horsepower does a Volvo EC210Cl have.pdf
PPTX
capstoneoooooooooooooooooooooooooooooooooo
PDF
Volvo EC300D L EC300DL excavator weight Manuals.pdf
PDF
Todays Technician Automotive Heating & Air Conditioning Classroom Manual and ...
PDF
Physics class 12thstep down transformer project.pdf
PPTX
vsdfhlahsadfjkhasihdflakjsdfhlajdhlfkjahfdljkash
PPTX
Intro to ISO 9001 2015.pptx for awareness
PDF
How much does a e145 excavator weight.pdf
PDF
Volvo ecr88 problems Manual Download.pdf
PPTX
Type of Sentence & SaaaaaaaaaadddVA.pptx
PDF
computer system to create, modify, analyse or optimize an engineering design.
PDF
Honda Dealership SNS Evaluation pdf/ppts
PPTX
Chapter-1.pptxhhhhhhhhhhhhhhhhhhhhhhhhhh
PDF
Volvo ecr58 plus Service Manual Download
PPTX
Gayatri Cultural Educational Society.pptx
PDF
Caterpillar Cat 315C Excavator (Prefix CJC) Service Repair Manual Instant Dow...
PDF
Volvo ecr58 problems Repair Manual Pdf Download
PPTX
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
PDF
3-REasdfghjkl;[poiunvnvncncn-Process.pdf
Delivers.ai: 2020–2026 Autonomous Journey
How much horsepower does a Volvo EC210Cl have.pdf
capstoneoooooooooooooooooooooooooooooooooo
Volvo EC300D L EC300DL excavator weight Manuals.pdf
Todays Technician Automotive Heating & Air Conditioning Classroom Manual and ...
Physics class 12thstep down transformer project.pdf
vsdfhlahsadfjkhasihdflakjsdfhlajdhlfkjahfdljkash
Intro to ISO 9001 2015.pptx for awareness
How much does a e145 excavator weight.pdf
Volvo ecr88 problems Manual Download.pdf
Type of Sentence & SaaaaaaaaaadddVA.pptx
computer system to create, modify, analyse or optimize an engineering design.
Honda Dealership SNS Evaluation pdf/ppts
Chapter-1.pptxhhhhhhhhhhhhhhhhhhhhhhhhhh
Volvo ecr58 plus Service Manual Download
Gayatri Cultural Educational Society.pptx
Caterpillar Cat 315C Excavator (Prefix CJC) Service Repair Manual Instant Dow...
Volvo ecr58 problems Repair Manual Pdf Download
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
3-REasdfghjkl;[poiunvnvncncn-Process.pdf

State space modeling_introduction

  • 2. 2 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
  • 3. 3 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
  • 4. 4 Transfer Functions vs. State-Space Models • Transfer functions provide only input and output behavior – No knowledge of the inner workings of the system – System is essentially a “black box” that performs some functions • State-space models also represent the internal behavior of the system H(s)X(s) Y(s)
  • 5. 5 Definitions V – Input vector • Can be multiple inputs • Written as a column vector ( ) ( ) ( ) ( )            = tv tv tv tv R  2 1 Y – Output vector • A function of the input and the present state of the internal variables ( ) ( ) ( ) ( )            = ty ty ty ty M  2 1
  • 6. 6 Definitions X – State vector • Information of the current condition of the internal variables • N is the “dimension” of the state model (number of internal state variables) ( ) ( ) ( ) ( )            = tx tx tx tx N  2 1 X – “Next state” vector • Derivative of the state vector • Provides knowledge of where the states are going – Direction (+ or -) – How fast (magnitude) • A function fo the input and the present state of the internal variables ( ) ( ) ( ) ( )            = tx tx tx tx N      2 1
  • 7. 7 State-Space Equations General form of the state-space model Two equations – ( ) ( )ty tx ( ) ( ) ( )( ) ( ) ( ) ( )( )ttvtxgty ttvtxftx ,, ,, = =
  • 8. 8 Linear State-Space Equations ( ) ( ) ( ) ( ) ( ) ( )tDvtCxty tBvtAxtx += += ( ) ( ) ( ) ( ) vector vector vectors 1 1 1, ×→ ×→ ×→ Mty Rtv Ntxtx  RMD NMC RNB NNA ×→ ×→ ×→ ×→ system matrix input matrix output matrix matrix representing direct coupling from system inputs to system outputs If A, B, C, D are constant over time, then the system is also time invariant → Linear Time Invariant (LTI) system
  • 9. 9 Construction of State Equations from a Differential Equation (Let there be no derivatives of the input) • The dimension of the state equations (number of state variables) should equal the order of the differential equation • Let one state variable equal the output (y(t)) • Let one state variable equal the derivative of the output • Let one state variable equal the (N-1)-th derivative of the output (where N is the order of the differential equation) • Find the derivative of each of the newly defined state equations – In terms of the other state variables and the outputs • Write the state equations 
  • 10. 9 Construction of State Equations from a Differential Equation (Let there be no derivatives of the input) • The dimension of the state equations (number of state variables) should equal the order of the differential equation • Let one state variable equal the output (y(t)) • Let one state variable equal the derivative of the output • Let one state variable equal the (N-1)-th derivative of the output (where N is the order of the differential equation) • Find the derivative of each of the newly defined state equations – In terms of the other state variables and the outputs • Write the state equations 