Main Content

Control and Simulate Torque of IPMSM in DQ Frame

Since R2024b

This example shows how to control the torque in an automotive electrical traction drive of an interior permanent magnet synchronous machine (IPMSM). The example controls and simulates the torque in the rotor direct-quadrature (DQ) reference frame. You can use the DQ reference frame to design the controller and to speed up the simulation. The IPMSM operates in both motoring and generating modes according to the load. An ideal angular velocity source provides the load. The Control subsystem uses an open-loop approach to control the IPMSM torque and a closed-loop approach to control the current. The control algorithm converts the torque request to the relevant current references. The reference DQ voltages feed the IPMSM. The simulation involves several torque steps in both motor and generator modes.

Open Model

View Simulation Results from Simscape Logging

This plot shows the requested and measured torque for the test as well as the DQ currents in the electric drive.

See Also

Related Topics