How is this data type conversion working?
Afficher commentaires plus anciens
I am trying to understand this host model for pmsm - mcb_pmsm_host_model_f28069m.slx
There is a PU conversion happening inside the transmission block which I have replicated in the image attached.

I have put displays after different operations. The first display is showing value after the gain block divides the input 3000 with 3582
The second display is after the Data Type Conversion2 block and third display is after the Data Type Conversion3 block
The Data Type Conversion2 is set to output fixdt(1,16,12) with Real World Value and floor rounding
The Data Type Conversion3 is set to output uint16 with Stored Integer and floor rounding.
I need to understand that how is a data type conversion block transforming my value of 0.8375 to 3430?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Motor Control Blockset dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!