Professional Documents
Culture Documents
Outlines
1. 2. 3. 4. 5. 6. 7. Calculating the Time-Domain Solution Spring-Mass Damper Example Analyzing a Step Response Analyzing an Impulse Response Analyzing a General Time-Domain Simulation Obtaining Time Response Data 2nd Order System
Represents any initial conditions of the states in the model. Represents the solution of the model at the initial conditions. This solution is known as the free response.
The Control Design and Simulation Module contains two VIs to help you measure the step response of a system and then analyze that response.
The CD Step Response VI returns a graph of the step response. The CD Parametric Time Response VI returns the following response data that helps you analyze the step response.
Example
This spring-mass damper system described by the following state-space model:
spring-mass damper
Example
Example
You can see that the step input causes this system to settle at a steady-state value of 0.02 cm. When you use the CD Parametric Time Response VI to analyze the step response of this system, you obtain the following response data: Rise time (tr) 1.42 seconds Maximum overshoot (Mp) 79.90% Peak time (tp) 4.54 seconds Settling time (ts) 89.89 seconds Steady state gain 0.02 cm Peak value (yp) 0.04 cm
1. 2.
Example
Consider the system described in the SpringMass Damper Example
Example
Consider the system described in the SpringMass Damper Example. Figure below shows how you simulate the response of this system to a square wave input.
Example
Notice that the CD Linear Simulation VI converts the continuous state-space model to a discrete model using the Zero-Order-Hold method. This conversion uses a Delta t input of approximately 0.3. This block diagram bundles the statespace model and the square wave as the input to the Linear Simulation Graph.