LabVIEW Control Design and Simulation Module

CD Initial Response VI

  • Updated2023-03-14
  • 10 minute(s) read

CD Initial Response VI

Owning Palette: Time Response VIs

Requires: Control Design and Simulation Module

Calculates the natural or zero-input response of the system. This VI returns the output of the system due to the initial states only. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.

Details  

Initial Response (State-Space)

States Graph Ref is a reference to the State Trajectory Graph. States Graph Ref configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
Response Graph Ref is a reference to the Initial Response graph. Response Graph Ref customizes the x-scale, y-scale, and legend properties. If you want to use the default settings for these properties, do not wire a value to this input.
State-Space Model contains a mathematical representation of and information about the system for which this VI calculates initial response.
Time Range contains information about the initial time, final time, and time step.
t0 is the initial time in seconds in the Step Response graph. The default is –1.
dt is the constant interval between successive values in the time vector. The default is –1.
tf is the final time in seconds up to which this VI calculates the step response. The default is –1.
Initial Conditions specifies the initial values of the states or outputs. The default is 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Response Plots Index specifies the index number of the inputs and outputs of the system.
Input # is the index number of the specific input to the system. This VI displays the response to this input on the Initial Response graph. The index is zero-based.
Output # is the index number of the specific output of the system that this VI displays on the Initial Response graph. The index is zero-based.
State Plots Index specifies the index number of the inputs and outputs of the system.
input # is the number of the specific input to the system due to which this VI displays the state trajectories in the State Trajectory Graph. The index is zero-based.
output # is the index number of the specific output of the system due to which this VI displays the state trajectories in the State Trajectory Graph. The index is zero-based.
Initial Response Graph returns an XY graph that shows the unforced response of the system when the initial conditions are X0.
State Trajectory Graph is an XY graph that shows the value of each state as a function of time. This VI computes the magnitude by solving the first order difference equation of the system.
Initial Response Data returns information about the initial response. To access the Initial Response Data, use the CD Get Time Response Data VI. When you use the CD Get Time Response Data VI to access the Initial Response Data, you do not need to specify an input value.
Time is the uniformly-spaced time vector against which this VI plots the initial response and the state trajectories.
Outputs Data returns data about the time response of the outputs to the inputs.
States Data returns data about the time response of the states to the inputs. For transfer function and zero-pole-gain models, this array is empty.
error out contains error information. This output provides standard error out functionality.

Initial Response (Transfer Function)

This VI calculates the unforced response of a transfer function system given by Transfer Function Model and Initial Condition.

Response Graph Ref is a reference to the Initial Response graph. Response Graph Ref customizes the x-scale, y-scale, and legend properties. If you want to use the default settings for these properties, do not wire a value to this input.
Transfer Function Model contains a mathematical representation of and information about the system for which this VI calculates initial response.
Time Range contains information about the initial time, final time, and time step.
t0 is the initial time in seconds in the Step Response graph. The default is –1.
dt is the constant interval between successive values in the time vector. The default is –1.
tf is the final time in seconds up to which this VI calculates the step response. The default is –1.
Initial Conditions specifies the initial values of the states or outputs. The default is 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Response Plots Index specifies the index number of the inputs and outputs of the system.
Input # is the index number of the specific input to the system. This VI displays the response to this input on the Initial Response graph. The index is zero-based.
Output # is the index number of the specific output of the system that this VI displays on the Initial Response graph. The index is zero-based.
Initial Response Graph returns an XY graph that shows the unforced response of the system when the initial conditions are X0.
Initial Response Data returns information about the initial response. To access the Initial Response Data, use the CD Get Time Response Data VI. When you use the CD Get Time Response Data VI to access the Initial Response Data, you do not need to specify an input value.
Time is the uniformly-spaced time vector against which this VI plots the initial response and the state trajectories.
Outputs Data returns data about the time response of the outputs to the inputs.
States Data returns data about the time response of the states to the inputs. For transfer function and zero-pole-gain models, this array is empty.
error out contains error information. This output provides standard error out functionality.

Initial Response (Zero-Pole-Gain)

This VI calculates the unforced response of a zero-pole-gain system given by Zero-Pole-Gain Model and Initial Condition.

Response Graph Ref is a reference to the Initial Response graph. Response Graph Ref customizes the x-scale, y-scale, and legend properties. If you want to use the default settings for these properties, do not wire a value to this input.
Zero-Pole-Gain Model contains a mathematical representation of and information about the system for which this VI calculates initial response.
Time Range contains information about the initial time, final time, and time step.
t0 is the initial time in seconds in the Step Response graph. The default is –1.
dt is the constant interval between successive values in the time vector. The default is –1.
tf is the final time in seconds up to which this VI calculates the step response. The default is –1.
Initial Conditions specifies the initial values of the states or outputs. The default is 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Response Plots Index specifies the index number of the inputs and outputs of the system.
Input # is the index number of the specific input to the system. This VI displays the response to this input on the Initial Response graph. The index is zero-based.
Output # is the index number of the specific output of the system that this VI displays on the Initial Response graph. The index is zero-based.
Initial Response Graph returns an XY graph that shows the unforced response of the system when the initial conditions are X0.
Initial Response Data returns information about the initial response. To access the Initial Response Data, use the CD Get Time Response Data VI. When you use the CD Get Time Response Data VI to access the Initial Response Data, you do not need to specify an input value.
Time is the uniformly-spaced time vector against which this VI plots the initial response and the state trajectories.
Outputs Data returns data about the time response of the outputs to the inputs.
States Data returns data about the time response of the states to the inputs. For transfer function and zero-pole-gain models, this array is empty.
error out contains error information. This output provides standard error out functionality.

CD Initial Response Details

In the state-space version of the CD Initial Response VI, the State Trajectory Graph is not available when the model contains transport delays. You can reduce the nonzero delay entries in the transport delay matrix with the CD Distribute Delay VI. However, distributing the transport delay does not accurately reflect the effect of the delay in the states. Therefore, when transport delays are present in state-space models, the CD Initial Response VI eliminates the state trajectories.

This VI supports input and output delays. This VI ignores transport delay information. Refer to the LabVIEW Control Design User Manual for more information about delays.

Log in to get a better experience