AC Induction Motor Example
8 - 30 C2000 Microcontroller Workshop - Numerical Concepts
value. The plots start from a step change in reference speed from 0.0 to 0.5 and 1024 samples are
taken.
AC Induction Motor Example
GLOBAL_Q = 24, system stable
IQmath: speed
IQmath: current
Floating-Point: speed
Floating-Point: current
The speed eventually settles to the desired reference value and the stator current exhibits a clean
and stable oscillation. The block diagram slide shows at which points in the control system the
plots are taken from.
I8Q24 Fractions:
0
+∞
-∞
What’s Happening Here?
Equal Precision in the Computation Region
In the region where these particular computations occur, the
precision of single-precision floating-point just happens to equal
the precision of the I8Q24 format.
So, both produce similar results!
Floating-Point:
0
+∞
-∞
Same precision as I8Q24