get started with motor control blockset -凯发k8网页登录
motor control blockset™ provides simulink® blocks and reference examples for developing and deploying motor control algorithms as optimized c and hdl code on target microcontrollers, fpgas, or systems-on-chip (soc). build motor control algorithms with clarke and park transform, maximum torque per ampere (mtpa), six-step commutation, and lookup table (lut)-based field weakening control blocks. you can process signals from encoders, hall sensors, and resolvers with sensor decoder blocks or implement sensorless control with estimator blocks to compute rotor position and speed. the blocks generate code that you can use in workflows involving misra c™ and iso® 26262 functional safety standards.
reference examples included in motor control blockset help you understand how to develop, tune, and validate motor control algorithms using desktop and real-time simulation. examples include algorithms for closed-loop motor control for induction motors, switched reluctance motors (srm), synchronous motors like brushless dc motors (bldc), and surface-mount and interior permanent magnet synchronous motors (pmsm). you can reuse the same algorithms to generate production-ready, compact, and traceable fixed- or floating-point code. you can also use the reference examples to implement algorithms for motor control hardware kits supported by the blockset.
tutorials
create, deploy, and validate control algorithm for motor control system.
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.
design control flow of field-oriented control algorithm.
integrate hall sensors with control algorithm to decode rotor position and speed.
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.
configure simulink model to interface with supported target hardware.
about motor 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.
implement speed control for pmsm by controlling motor flux and torque.
describes host model, target model, and how they communicate.
describes offsets for hall sensor, quadrature encoder, and current sensor adc.
defines a normalized unit system by using the base values.
motor control algorithms
implementation, calibration, and debugging techniques for embedded systems
featured examples
videos
learn about motor control blockset capabilities