Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modeling in the Time Domain - State-Space

Similar presentations

Presentation on theme: "Modeling in the Time Domain - State-Space"— Presentation transcript:

1 Modeling in the Time Domain - State-Space

2 Mathematical Models Classical or frequency-domain technique
State-Space or Modern or Time-Domain technique

3 Classical or Frequency-Domain Technique
Advantages Converts differential equation into algebraic equation via transfer functions. Rapidly provides stability & transient response info. Disadvantages Applicable only to Linear, Time-Invariant (LTI) systems or their close approximations. LTI limitation became a problem circa 1960 when space applications became important.

4 State-Space or Modern or Time-Domain Technique
Advantages Provides a unified method for modeling, analyzing, and designing a wide range of systems using matrix algebra. Nonlinear, Time-Varying, Multivariable systems Disadvantages Not as intuitive as classical method. Calculations required before physical interpretation is apparent

5 State-Space Representation
An LTI system is represented in state-space format by the vector-matrix differential equation (DE) as: Dynamic equation(s) Measurement equations The vectors x, y, and u are the state, output and input vectors. The matrices A, B, C, and D are the system, input, output, and feedforward matrices.

6 Definitions System variables: Any variable that responds to an input or initial conditions. State variables: The smallest set of linearly independent system variables such that the initial condition set and applied inputs completely determine the future behavior of the set. Linear Independence: A set of variables is linearly independent if none of the variables can be written as a linear combination of the others.

7 Definitions (continued)
State vector: An (n x 1) column vector whose elements are the state variables. State space: The n-dimensional space whose axes are the state variables. Graphic representation of state space and a state vector

8 The minimum number of state variables is equal to:
the order of the DE’s describing the system. the order of the denominator polynomial of its transfer function model. the number of independent energy storage elements in the system. Remember the state variables must be linearly independent! If not, you may not be able to solve for all the other system variables, or even write the state equations.

9 Example 1: Epidemic Disease




13 Discrete State Space Model (Linear System)



16 16



19 19

20 Discrete State Space (Nonlinear System)



23 23



26 26

27 27








35 Case Study: Pharmaceutical Drug Absorption
Advantages of the state-space approach are the ability to focus on component parts of the system and to represent multiple-input, multiple-output systems.

36 Pharmaceutical Drug Absorption Problem
We wish to describe the distribution of a drug in the body by dividing the process into compartments: dosage, absorption site, blood, peripheral compartment, and urine. Each is the amount of drug in that particular compartment.

37 Pharmaceutical Drug Absorption Solution
1. Assume dosage is released at a rate proportional to concentration. 2. Assume rate of accumulation at a site is a linear function of the dosage of the donor compartment and the resident dosage. Then,

38 Pharmaceutical Drug Absorption Solution
3. Define the state vector as the dosage amount in each compartment and assume we measure the dosage in each compartment. Then,

39 Converting a Transfer Function to State Space
State variables are not unique. A system can be accurately modeled by several different sets of state variables. Sometimes the state variables are selected because they are physically meaningful. Sometimes because they yield mathematically tractable state equations. Sometimes by convention.

40 Phase-variable Format
1. Consider the DE 2. The minimum number of state variables is n since the DE is of nth order. 3. Choose the output and its derivatives as state variables.

41 Phase-variable Format (continued)
4. Arrange in vector-matrix format Note the transfer function format

42 Example 3.4 equivalent block diagram showing phase-variables. Note: y(t) = c(t)

43 Transfer Function with Numerator Polynomial

44 Transfer Function with Numerator Polynomial (continued)
1. From the first block: 2. Therefore,

45 Transfer Function with Numerator Polynomial (continued)
3. The measurement (observation) equation is obtained from the second transfer function.

46 Example 3.5

47 Converting from State Space to a Transfer Function
Taking the Laplace transform,

48 Example 3.6 p.p.152-153 Solve by hand
Solve using MATLAB’s ‘ss’ and ‘tf’ commands

49 Linearization Demonstration of how to linearize a nonlinear state space model about a nominal solution. Application of linearization to guidance and control of a lunar mission.

Download ppt "Modeling in the Time Domain - State-Space"

Similar presentations

Ads by Google