Position Compensation
R2026bLibraries:
Motor Control Blockset /
Control /
Induction Machine /
Position Decoders /
Sensorless Estimators
Motor Control Blockset /
Control /
Synchronous Machine /
Position Decoders /
Sensorless Estimators
Description
The Position Compensation block compensates for position offset due to different types of delays in a system.
Motor control algorithms can introduce offsets in the computed position because of different algorithmic entities such as delays and filters. These offsets affect accuracy in motor control algorithms such as the field-oriented control (FOC) and direct-torque control (DTC). You can use this block to compensate for the offsets in the motor control algorithms.
The block uses the following computations for a sample delay compensation.
The block uses the following computations for a first-order Butterworth highpass and lowpass filter compensation.
For a highpass filter:
For lowpass filter:
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/Sensorless Estimators/Position Compensation"
"mcblib/Control/Synchronous Machine/Position Decoders/Sensorless Estimators/Position Compensation"
Example: add_block("mcblib/Control/Induction Machine/Position Decoders/Sensorless Estimators/Position Compensation","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2022b