Owning Palette: Parametric Model Estimation VIs
Installed With: System Identification Toolkit
Estimates the parameters of a state-space (SS) model for an unknown system. You must manually select the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.
Place on the block diagram | Find on the Functions palette |
SI Estimate State-Space Model (Subspace SISO Waveform)
structure selector determines additional matrices of the state-space model you want to estimate.
| |||||||||
stimulus signal specifies the input waveform of the stimulus signal. | |||||||||
response signal specifies the input waveform of the response signal. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
Kalman gain returns the Kalman gain of the state-space model. The dimension of Kalman gain equals number of states. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space model.
| |||||||||
noise returns the disturbance e(t) in the estimated system model. | |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| |||||||||
initial states returns the initial states of the state-space model. The dimension of initial states equals number of states. |
SI Estimate State-Space Model (Subspace SISO Array)
structure selector determines additional matrices of the state-space model you want to estimate.
| |||||||||
stimulus signal specifies the input array of the stimulus signal. | |||||||||
response signal specifies the input array of the response signal. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
sampling rate specifies the sampling frequency in hertz. The value of sampling rate must be greater than 0. The default is 1. | |||||||||
Kalman gain returns the Kalman gain of the state-space model. The dimension of Kalman gain equals number of states. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space model.
| |||||||||
noise returns the disturbance e(t) in the estimated system model. | |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| |||||||||
initial states returns the initial states of the state-space model. The dimension of initial states equals number of states. |
SI Estimate State-Space Model (Subspace MISO Waveform)
structure selector determines additional matrices of the state-space model you want to estimate.
| |||||||||
stimulus signals specifies the input waveform array of the stimulus signals. Each element of the array is the waveform of one stimulus signal. | |||||||||
response signal specifies the input waveform of the response signal. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
Kalman gain returns the Kalman gain of the state-space model. The dimension of Kalman gain equals number of states. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space (SS) model.
| |||||||||
noise returns the disturbance e(t) in the estimated system model. | |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| |||||||||
initial states returns the initial states of the state-space model. The dimension of initial states equals number of states. |
SI Estimate State-Space Model (Subspace MISO Array)
structure selector determines additional matrices of the state-space model you want to estimate.
| |||||||||
stimulus signals specifies the input array of the stimulus signals. Each row in the array is one stimulus signal. | |||||||||
response signal specifies the input array of the response signal. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
sampling rate specifies the sampling frequency in hertz. The value of sampling rate must be greater than 0. The default is 1. | |||||||||
Kalman gain returns the Kalman gain of the state-space model. The dimension of Kalman gain equals number of states. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space (SS) model.
| |||||||||
noise returns the disturbance e(t) in the estimated system model. | |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| |||||||||
initial states returns the initial states of the state-space model. The dimension of initial states equals number of states. |
SI Estimate State-Space Model (Subspace MIMO Waveform)
structure selector determines additional matrices of the state-space model you want to estimate.
| |||||||||
stimulus signals specifies the input waveform array of the stimulus signals. Each element of the array is the waveform of one stimulus signal. | |||||||||
response signals specifies the input waveform array of the response signals. Each element of the array is the waveform of one response signal. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
Kalman gain returns the Kalman gain of the state-space model. The dimension of Kalman gain equals number of states. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space (SS) model.
| |||||||||
noises returns the disturbances e(t) in the estimated system model. | |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| |||||||||
initial states returns the initial states of the state-space model. The dimension of initial states equals number of states. |
SI Estimate State-Space Model (Subspace MIMO Array)
structure selector determines additional matrices of the state-space model you want to estimate.
| |||||||||
stimulus signals specifies the input array of the stimulus signals. Each row in the array is one stimulus signal. | |||||||||
response signals specifies the input array of the response signals. Each row in the array is one response signal. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
sampling rate specifies the sampling frequency in hertz. The value of sampling rate must be greater than 0. The default is 1. | |||||||||
Kalman gain returns the Kalman gain of the state-space model. The dimension of Kalman gain equals number of states. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space (SS) model.
| |||||||||
noises returns the disturbances e(t) in the estimated system model. | |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| |||||||||
initial states returns the initial states of the state-space model. The dimension of initial states equals number of states. |
SI Estimate State-Space Model (Realization SISO)
impulse response is the input array of the impulse response. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
length specifies the number of data points of the impulse response to use when estimating the state-space model. The value must be less than or equal to the array size of the impulse response. The default is -1, which means this VI uses all data points of the impulse response. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
sampling rate is the signal sampling rate in hertz. The value of sampling rate must be greater than 0. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space model.
| |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
SI Estimate State-Space Model (Realization MIMO)
impulse responses is the input array of the impulse response. | |||||||||
number of states specifies the number of states of the system model. The value of number of states must be greater than 0. The default is 4. | |||||||||
length specifies the number of data points of the impulse response to use when estimating the state-space model. The value must be less than or equal to the array size of the impulse response. The default is -1, which means this VI uses all data points of the impulse response. | |||||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||||
sampling rate is the signal sampling rate in hertz. The value of sampling rate must be greater than 0. | |||||||||
system model out returns information about the model structure, nominal or estimated parameters, identification result, and so on. Use the Model Management VIs to retrieve the information system model out contains.
| |||||||||
coefficients of state-space model returns the coefficients of the state-space model.
| |||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
SI Estimate State-Space Model Details
You can use the SI Estimate Orders of System Model VI to estimate the optimal order of the state-space model. In some cases, the optimal orders returned by the SI Estimate Orders of System Model VI might not be appropriate for the number of states. You can use the singular values output of the State-Space instances of the SI Estimate Orders of System Model VI to obtain the optimal number of states. You can display singular values using an XY graph. The turning point in the curve specifies the optimal number of states.
The LabVIEW System Identification Toolkit estimates discrete state-space models using two methods: the realization and the deterministic-stochastic subspace methods. The realization method uses the system impulse response as the input. You can use the SI Estimate Impulse Response VI to compute the impulse response from stimulus and response signals.
The realization method estimates only the deterministic part, A, B, C, D, of the system and does not include the stochastic part, K, in the model structure. The deterministic-stochastic subspace method includes both the deterministic and stochastic parts in the model structure. Therefore, you must choose the subspace method if you want to include the stochastic part in the model. Otherwise, you can use the realization method.
Examples
Refer to the following VIs for examples of using the SI Estimate State-Space Model VI:
- Discrete State-Space Model (Direct Method) VI: labview\examples\System Identification\Getting Started\Closed-Loop Estimation.llb
- Estimate State-Space Model from Impulse Response VI: labview\examples\System Identification\Getting Started\Parametric Estimation.llb