|
AM243x Motor Control SDK
09.00.00
|
|
Go to the documentation of this file.
34 #ifndef _DCL_STABILITY_H_
35 #define _DCL_STABILITY_H_
60 return ((a1 * a1) < 1.0f);
76 b0 = a0 - a2 * a2 / a0;
77 b1 = a1 - a1 * a2 / a0;
78 c0 = b0 - b1 * b1 / b0;
80 return ((a0 > 0.0f) && (b0 > 0.0f) && (c0 > 0.0f));
97 b0 = a0 - a3 * a3 / a0;
98 b1 = a1 - a2 * a3 / a0;
99 b2 = a2 - a1 * a3 / a0;
100 c0 = b0 - b2 * b2 / b0;
101 c1 = b1 - b1 * b2 / b0;
102 d0 = c0 - c1 * c1 / c0;
104 return ((a0 > 0.0f) && (b0 > 0.0f) && (c0 > 0.0f) && (d0 > 0.0f));
119 #endif // _DCL_STABILITY_H_
_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...
Definition: dcl_stability.h:93
_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.
Definition: dcl_stability.h:72
#define _DCL_CODE_ACCESS
Defines the scope of dcl functions (static inline/extern inline/none)
Definition: dcl_common.h:55
_DCL_CODE_ACCESS bool DCL_isStablePn1(float32_t a1)
Determines stability of a first order real polynomial P(z) = z + a1.
Definition: dcl_stability.h:58
float float32_t
Defines single,double precision data type. Note: Assumes ABI to be TI_EABI, does not support legacy T...
Definition: dcl_common.h:51