Electrification

Motor Modeling and Simulation

Model and simulate motors and motor drives with different fidelity levels with Simulink and Simscape

Motor Control Blockset

Design and implement motor control algorithms

Motor modeling and motor simulation help you perform tasks ranging from system-level performance analysis to detailed electric motor drive design. Each task requires different physical effects to be captured in the motor model and motor simulation. Motor drive designers may need to import finite element analysis (FEA) data to optimize drive design parameters while minimizing losses. System engineers often rely on more abstract motor modeling that balances mechanical and electrical power to accelerate motor simulation and analyze system-level performance of a motor drive.

Simulink® and Simscape™ support multiple fidelity levels for motor modeling and motor simulation:

  • System design:
    • No pulse-width modulation (PWM) or power electronic switching
    • Simplified dynamics
    • Energy-based, steady-state equivalent and efficiency map modeling
  • Control design:
    • Ideal switching
    • Lumped-parameter modeling
    • Linear torque-current relationship
  • Motor drive design:
    • Non-ideal switching – physics-based modeling of power semiconductors
    • Saturation – nonlinear dependence on current and/or rotor angle
    • Spatial harmonics – including torque ripple caused by cogging and harmonics in the flux linkage

For rapid motor simulation, you can integrate tabulated loss information into a system design level motor model and check the behavior of your design as part of a larger system, while still accurately predicting overall system efficiency. You can develop a proof-of-concept electric drive control strategy for a hybrid electric vehicle using the control design fidelity level for permanent magnet synchronous motor modeling. You can ensure realistic motor simulation behavior by estimating parameter values based on measured data. To account for magnetic saturation or parameter variations under different load levels, you can incorporate FEA data that describes a nonlinear flux-current relationship in your motor model using the motor drive design fidelity level. The highest-fidelity motor simulation can be achieved using additional FEA data on spatial harmonics, to facilitate the development of torque ripple mitigation algorithms and optimize drive design.

Panel Navigation

Go from basic tasks to more advanced maneuvers by walking through interactive examples and tutorials.

Power Electronics Control

Explore the Power Electronics Control Community

The MathWorks community for students, researchers, and engineers using Simulink to apply power electronics control to Electric Vehicles, Renewable Energy, Battery Systems, Power Conversion, and Motor Control.

30-Day Free Trial

Get started

Understanding BLDC Motor Control Algorithms

Read ebook