MATLAB and Simulink Training

Course Details

This two-day course describes techniques for the modeling, controls, and validation of electric motor drives using Simulink®, Simscape Electrical™, Motor Control Blockset™, Embedded Coder, and C2000™ Microcontroller Blockset. 

Topics include:
 
  • Modeling and parametrization of a motor drive.
  • Controls implementation for a three-phase brushless motor.
  • Performance characterization of a motor drive.
  • Configuration of motor controller peripherals.
  • Communications with the motor controller.
  • Deployment and testing of a motor control algorithm. 

Day 1 of 2


Electric Machine Operating Principles

Objective: Introduce electromechanical energy conversion principles and their applications towards electric machines.

  • Overview of electric motors
  • Electric machine operating principles
  • Clarke and Park transform
  • Motor control development workflow

Three-Phase Brushless Motors

Objective: Model three-phase brushless motors using lumped parameter and high-fidelity models. Simulate the motor drive and examine the motor behavior under different operating conditions.

  • Three-phase brushless motor
  • Tabulated motor model data
  • Three-phase inverter
  • Pulse-width modulation implementation
  • Open-loop voltage control

Field-Oriented Control

Objective: Implement current control for a three-phase brushless motor using field-oriented control. Tune the controller and validate the controller performance.

  • Field-oriented control (FOC)
  • Current control implementation
  • Controller tuning

Variable-Speed Drives

Objective: Implement a variable-speed drive by considering the motor performance under different operating regions. Extend the operation of the motor to high speeds using field-weakening control.

  • Maximum-torque-per-ampere
  • Field weakening
  • Torque speed characteristics
  • Speed control

Day 2 of 2


Sensors and Peripherals

Objective: Configure and test the analog-to-digital converter (ADC), pulse-width modulation (PWM), and position sensor peripherals on hardware.  

  • General purpose IO drivers
  • PWM drivers
  • Quadrature encoders
  • ADC drivers

Host-Target Communications

Objective: Set up the motor controller to run stand-alone while receiving commands and transmitting feedback information to a host model. 

  • Two-model approach
  • Serial communication interface
  • Host model setup

Controller Execution

Objective: Synchronize motor controller task execution using an interrupt-based approach. Deploy the motor controller onto hardware using a deployment harness.

  • ADC and PWM interrupts
  • Deployment harness
  • Rate transitions

Parameter Estimation

Objective: Use parameter estimation techniques to experimentally determine motor parameters.

  • Parameter estimation
  • Plant validation

Level: Intermediate

Prerequisites:

MATLAB Fundamentals and Simulink Fundamentals. This course is intended for intermediate or advanced Simulink users.

Duration: 2 day

Languages: 中文

View schedule and enroll