help required for fixed point conversion
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
5 comentarios
Respuestas (2)
Ayush Kumar Jaiswal
el 19 de Jun. de 2022
Editada: Ayush Kumar Jaiswal
el 19 de Jun. de 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
9 comentarios
Ayush Kumar Jaiswal
el 20 de Jun. de 2022
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.
Ver también
Categorías
Más información sobre Iterative Fixed-Point Conversion in Simulink en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!