help required for fixed point conversion
2 views (last 30 days)
Show older comments
I am using R14A and I have modelled angle tracking observer algoirthm in simulink. I have simulated model wih floating point and it works well. I used fixed point advisor. Although there are no errors, but the output is zero. Can anybody help us withthis.
Answers (2)
Ayush Kumar Jaiswal
on 19 Jun 2022
Edited: Ayush Kumar Jaiswal
on 19 Jun 2022
The problem of getting all the output as zeros could potentially be related to the proposed data type settings which results in overflows. You could verfiy that in the histograms produced after simulation.
Try increasing the word length in the Settings section of the fixed point tool, allowing more room for calculation and hence avoiding overflows.
Thanks
See Also
Categories
Find more on Manual Performance Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!