Hall Speed and Position
R2026bCompute speed and estimate position of rotor by using Hall sensors
Libraries:
Motor Control Blockset /
Control /
Synchronous Machine /
Position Decoders /
Sensor Decoders
Description
The Hall Speed and Position block computes the mechanical speed of the rotor by tracking changes in the Hall state. The block also estimates the electric position of the rotor by using the direction, Hall state, and external counter value inputs.
The block executes periodically after a fixed time interval that the controller algorithm defines.
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/Synchronous Machine/Position Decoders/Sensor Decoders/Hall Speed and Position"
Example: add_block("mcblib/Control/Synchronous Machine/Position Decoders/Sensor Decoders/Hall Speed and Position","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2020a


