LabVIEW Control Design and Simulation Module

is_observable (MathScript RT Module Function)

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

is_observable (MathScript RT Module Function)

Owning Class: info

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

[observe, detect] = is_observable(SysInSS)

[observe, detect] = is_observable(SysInSS, tol)

[observe, detect] = is_observable(A, C, tol)

Legacy Name: isobsv

Description

Determines whether a system model is observable or detectable. A system of order n is observable if the observability matrix is full rank, meaning the rank of this matrix is equal to n. A system is detectable if all the unstable eigenvalues are observable.

Examples

Inputs

Name Description
SysInSS Specifies a linear time-invariant (LTI) system in transfer function, zero-pole-gain, or state-space form. This function converts transfer function and zero-pole-gain models to state-space form before determining whether the model is observable or detectable.
tol Specifies the tolerance in determining whether the observability matrix is rank-deficient. If a diagonal value in the A matrix of SysInSS is less than the value of tol, this function considers that value equal to 0. The default value of tol is 0.00000001. tol is a real scalar.
A Specifies an n x n state matrix, where n is the number of states. The default is an empty matrix. A is a real matrix.
C Specifies an r x n output matrix, where r is the number of outputs. The default is an empty matrix. C is a real matrix.

Outputs

Name Description
observe Returns 1 if the SysInSS model is observable. This output returns 0 if the model is not observable.
detect Returns 1 if the SysInSS model is detectable. This output returns 0 if the model is not detectable.

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 = eye(2);
C = [0 0];
observe = is_observable(A,C);

Related Topics

obsvstair
obsvmx
grammian
ctrbmx
ctrbstairs
is_controllable