Fixed Point implementation for a Microcontroller

Embedded Fixed Point Implementation of your ideal floating point control designs
73.0 次下载
更新时间 2017/9/29

查看许可证

This example demonstrates an easy three click workflow to convert an ideal floating-point model of a fuel rate control algorithm to an embedded fixed point implementation using the Fixed-Point Tool.
It also demonstrates how you can use the Fixed-Point Tool to compress the Look up table memory footprint by choosing the right word length for your look up table and the breakpoints. You can further compare smaller word length and its impact on the numerical behavior of the algorithm in the Simulink data inspector. You can use the Fixed-Point Tool UI as well as the command line interface.
This will help you to take your motor and power control algorithms from floating point to efficient fixed point implementation on microcontrollers or on FPGAs.
Here is the link to the videos showing how to use the Fixed-Point Tool:
https://www.mathworks.com/videos/converting-double-precision-design-to-embedded-efficient-fixed-point-design-1504212832864.html
https://www.mathworks.com/videos/comparing-different-fixed-point-data-types-for-efficient-design-1504208644872.html

引用格式

MathWorks Fixed Point Team (2024). Fixed Point implementation for a Microcontroller (https://www.mathworks.com/matlabcentral/fileexchange/64496-fixed-point-implementation-for-a-microcontroller), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Fixed Point 的更多信息
社区

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

microcontroller_fixed_point/

版本 已发布 发行说明
1.0.0.0

Added Copyright notices.