help required for fixed point conversion
2 ビュー (過去 30 日間)
古いコメントを表示
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.
回答 (2 件)
Ayush Kumar Jaiswal
2022 年 6 月 19 日
編集済み: Ayush Kumar Jaiswal
2022 年 6 月 19 日
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
9 件のコメント
Ayush Kumar Jaiswal
2022 年 6 月 20 日
Float subsystem also gives zeros as an output. You mean to say that after converting to fixed point both subsystems are giving zeros? Then please share the un-converted model.
参考
カテゴリ
Help Center および File Exchange で Fixed Point についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!