DCL Polynomial Stability Functions
Module: Digital Control Library (DCL)
Functions
Name |
|
|---|---|
_DCL_CODE_ACCESS bool |
DCL_isStablePn1(float32_t a1) |
_DCL_CODE_ACCESS bool |
DCL_isStablePn2(float32_t a0, float32_t a1, float32_t a2) |
_DCL_CODE_ACCESS bool |
DCL_isStablePn3(float32_t a0, float32_t a1, float32_t a2, float32_t a3) |
Detailed Description
Defines polynomial stability functions
Functions Documentation
function DCL_isStablePn1
_DCL_CODE_ACCESS bool DCL_isStablePn1(
float32_t a1
)
Determines stability of a first order real polynomial P(z) = z + a1.
Parameters:
a1 Coefficient a1
Return: ‘true’ if the root has magnitude less than 1, ‘false’ otherwise
function DCL_isStablePn2
_DCL_CODE_ACCESS bool DCL_isStablePn2(
float32_t a0,
float32_t a1,
float32_t a2
)
Determines stability of a second order polynomial with real coefficients P(z) = a0 z^2 + a1 z + a2.
Parameters:
a0 Second order coefficient a1
a1 First order coefficient a1
a2 Coefficient a2
Return: ‘true’ if both roots have magnitude less than 1, ‘false’ otherwise
function DCL_isStablePn3
_DCL_CODE_ACCESS bool DCL_isStablePn3(
float32_t a0,
float32_t a1,
float32_t a2,
float32_t a3
)
Determines stability of a third order polynomial with real coefficients P(z) = a0 z^3 + a1 z^2 + a2 z + a3.
Parameters:
a0 Third order coefficient a1
a1 Second order coefficient a1
a2 First order coefficient a2
a3 Coefficient a3
Return: ‘true’ if all roots have magnitude less than 1, ‘false’ otherwise