Get Started with Motor Control Blockset
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.
- Create and Validate Model for Motor Control System
Create, deploy, and validate control algorithm for motor control system.
- Run 3-Phase AC Motors in Open-Loop Control and Calibrate ADC Offset
This example uses open-loop control (also known as scalar control or Volts/Hz control) to run a motor.
- Estimate Motor Parameters Using Motor Control Blockset Parameter Estimation Tool
Estimate motor parameters by using parameter estimation feature in Motor Control Blockset.
- Program Control Flow of Motor Control Blockset Examples
Design control flow of field-oriented control algorithm.
- How to Use Hall Validity and Hall Decoder Blocks
Integrate Hall sensors with control algorithm to decode rotor position and speed.
- How to Use Field Oriented Control Autotuner Block
Use the Field Oriented Control Autotuner block to tune PI control loops in field-oriented control applications.
- Estimate Control Gains and Use Utility Functions
Perform control parameter tuning for speed and torque control subsystems.
- Hardware Connections
Connect motors, sensors, and power supply to hardware boards.
- Model Configuration Parameters
Configure Simulink model to interface with supported target hardware.
About Motor Control
- Open-Loop and Closed-Loop Control
Describes open-loop, closed-loop motor control, and transition from open-loop to closed-loop control.
- Field-Oriented Control (FOC)
Implement speed control for PMSM and induction motor by using field-oriented control.
- Six-Step Commutation
Implement speed control for BLDC motor by using six-step commutation.
- Direct Torque Control (DTC)
Implement speed control for PMSM by controlling motor flux and torque.
- Host-Target Communication
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.
- Per-Unit System
Defines a normalized unit system by using the base values.
Motor Control Algorithms
Implementation, Calibration, and Debugging Techniques for Embedded Systems
Motor Control Blockset Overview
Learn about Motor Control Blockset capabilities