estimator (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
estimator (MathScript RT Module Function)
Owning Class: ssdesign
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
SysEstSS = estimator(SysInSS, L)
SysEstSS = estimator(SysInSS, L, mout)
SysEstSS = estimator(SysInSS, L, mout, kinp)
Legacy Name: estim
Description
Defines a state estimator based on a list of known inputs, measured outputs, a linear time-invariant (LTI) state-space system model, and the estimator gain matrix. You can use the ackermann function to obtain the estimator gain matrix of a single-input single-output (SISO), single-input multiple-output (SIMO), or multiple-input single-output (MISO) LTI state-space model. Use the poleplace function to obtain the estimator gain matrix of a multiple-input multiple-output (MIMO) LTI state-space model.
Inputs
| Name | Description |
|---|---|
| SysInSS | Specifies the LTI state-space model for which you want to define a state estimator. |
| L | Specifies the estimator gain matrix. L is a real matrix. |
| mout | Specifies the measured outputs from the SysInSS model. mout is an integer vector. |
| kinp | Specifies the known inputs to the SysInSS model. kinp is an integer vector. |
Outputs
| Name | Description |
|---|---|
| SysEstSS | Returns the estimator structure this function defines. SysEstSS is a model in state-space form. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
Examples
A = [1, 1; -1, 2]
B = [1, 2]'
C = [2, 1]
SysInSS = ss(A,B,C,0)
L = ackermann(A', C', [-1 -3])'
SysEstSS = estimator(SysInSS, L)