Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

CD Discrete Algebraic Riccati Equations VI

LabVIEW 2012 Control Design and Simulation Module Help

Edition Date: June 2012

Part Number: 371894G-01

»View Product Info

Owning Palette: Solvers VIs

Requires: Control Design and Simulation Module

Calculates the symmetric positive definite, or stabilizing, matrix X that solves the following discrete algebraic Riccati equation (DARE).

X = A'XA–[A'XB+N].inv(B'XB+R).[A'XB+N]'+Q

algorithm specifies the type of algorithm to use to solve the equation.

If you select Automatic, this VI first solves the equation using a Schur algorithm. Then, if the residual number is greater than 1, this VI solves the equation again using an eigenvalues algorithm. This VI returns the solution whose residual number is smallest.

0Automatic (default)
A specifies an n x n state matrix, where n is the number of states.
B specifies an n x m input matrix, where m is the number of inputs.
Q is an n x n matrix specifying the state weight matrix. Q must be symmetric and positive semi-definite.
R is an m x m matrix specifying the input weight matrix. R must be symmetric and positive definite. The default is an identity matrix of appropriate dimensions.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
N is an n x m matrix specifying the state-input cross weight matrix. The value of N must be such that the matrix (QN.inv(R).N') is positive semi-definite. The default value of N is an empty matrix of appropriate dimensions.
Riccati Solution (X) returns the solution to the algebraic Riccati equation.
Gain (K) returns the gain matrix K such that K = inv(B'XB+R)(B'XA+N').
Closed-Loop Eigenvalues returns the eigenvalues of the matrix (ABK). These eigenvalues are the closed-loop pole locations.
Residuals returns the absolute residual of the Riccati Solution (X). This VI substitutes the solution X into X = A'XA–[A'XB+N].inv(B'XB+R).[A'XB+N]'+Q and applies the 1-norm, the largest absolute column sum of this equation.
error out contains error information. This output provides standard error out functionality.


 Was this document helpful?  submit
  Helpful Not Helpful