Motor Control Blockset™ provides Simulink® blocks for creating and tuning field-oriented control and other algorithms for brushless motors. Blocks include Park and Clarke transforms, sensorless observers, field weakening, a space-vector generator, and an FOC autotuner. You can verify control algorithms in closed-loop simulation using the motor and inverter models included in the blockset.
The blockset parameter estimation tool runs predefined tests on your motor hardware for accurate estimation of stator resistance, d-axis and q-axis inductance, back EMF, inertia, and friction. You can incorporate these motor parameter values into a closed-loop simulation to analyze your controller design.
Reference examples show how to verify control algorithms in desktop simulation and generate compact C code that supports execution rates required for production implementation. The reference examples can also be used to implement algorithms for motor control hardware kits supported by the blockset.
This example uses open-loop control (also known as scalar control or Volts/Hz control) to run a motor.
Estimate motor parameters by using parameter estimation feature in Motor Control Blockset.
Perform control parameter tuning for speed and torque control subsystems.
Connect motors, sensors, and power supply to hardware boards.
Configure Simulink model to interface with supported target hardware.
Open-Loop and Closed-Loop Control
Describes open-loop, closed-loop motor control, and transition from open-loop to closed-loop control.
Implement speed control for PMSM and induction motor by using field-oriented control.
Implement speed control for BLDC motor by using six-step commutation.
Describes host model, target model, and how they communicate.
Current Sensor ADC Offset and Position Sensor Calibration
Describes offsets for Hall sensor, quadrature encoder, and current sensor ADC.
Defines a normalized unit system by using the base values.