Mechanical to Electrical Position
R2026bCompute electrical position of rotor from mechanical position
Libraries:
Motor Control Blockset /
Control /
Induction Machine /
Position Decoders /
Sensor Decoders
Motor Control Blockset /
Control /
Synchronous Machine /
Position Decoders /
Sensor Decoders
Motor Control Blockset HDL Support /
Sensor Decoders
Description
The Mechanical to Electrical Position block computes the electrical position of rotor by using its mechanical position, mechanical offset value, and the number of pole-pairs.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"mcblib/Control/Induction Machine/Position Decoders/Sensor Decoders/Mechanical to Electrical Position"
"mcblib/Control/Synchronous Machine/Position Decoders/Sensor Decoders/Mechanical to Electrical Position"
"mcbhdllib/Sensor Decoders/Mechanical to Electrical Position"
Example: add_block("mcblib/Control/Induction Machine/Position Decoders/Sensor Decoders/Mechanical to Electrical Position","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2020a



