PMSM motor cannot start up when using launchpad F28379D + FOC in simulink

11 views (last 30 days)
Hello everyone,
I'm currently working on controlling an 11 kW IPMSM motor using the FOC reference file 'mcb_pmsm_foc_qep_f28379d.slx'.
I've updated the motor and inverter parameters, and the simulation ran successfully after tuning the PI gains, as shown in the provided graph.
However, I'm encountering an issue after deploying the generated code to the Launchpad F28379D. The motor fails to start up after triggering enable switch from Host control GUI with the same PI gains used in simulation. The motor remains stopped and draws a very high current from the DC source. This triggers the protection circuit, tripping the inverter. The graph below illustrates the motor's phase-a current (yellow channel) against the PWM signal from startup to the tripped state.
is there anyone facing the same problem?
I am highly appreciated if you can advise and share solution for this issue?
Your Sincerely.

Answers (1)

MathWorks Motor Control Blockset Team
MathWorks Motor Control Blockset Team on 13 Nov 2025 at 4:28
Run the example in open-loop control mode to validate the hardware setup and motor. The example has an open loop start-up. Modify the example to remain in open-loop. Follow the "EnClosedLoop" data store block and write the value '0'. Build and flash. Start the motor using host model. The motor is expected to spin. This might draw higher than normal current and heat up the motor. Hence, limit the operation to only a few seconds (upto 10 seconds).
If motor spins in the above test, ensure offset calibration as mentioned in the example annotation.
Ensure the current measurement is correct and currents entering the motor phases are sensed as positive values.
Ensure the motor parameters are correctly updated in the example initialization script as this impacts the current and speed PI controller gains.

Categories

Find more on Motor Control Blockset in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!