| CAGE User's Guide | ![]() |
Lookup Table, Fixed Point
The advantage of using fixed-point precision is the reduction in computation needed for such numbers. However, it restricts the numbers available to the user.
For example, consider using a lookup table for the physical quantity spark advance for maximum brake torque (MBT spark). Typically, the range of values of MBT spark is 0 to 50 degrees. This is the physical data. The ECU can only store bytes of information and you want to restrict the hardware store to a range of 0 to 8, with at most one decimal place stored.
To adjust the fixed-point precision of the lookup table:
0 50.
0 8.
0 50.
To edit the size of the precision, choose from
In the preceding example, the hardware is restricted to 8 bytes and to one decimal place.
| Polynomial Ratio, Fixed Point | Surface Viewer | ![]() |