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!