How can I simulate field oriented control system for a PMSM with a torque load?

I'm trying to simulate a field oriented control system for a permanent magnet synchronous motor. I used standard Matlab simulink blocks in creating the system. My requirement is to create a system where the load torque can change randomly and the suppled electromagnetic torque can also changed accodrding to the need. When the load is in torque form the system doesn't produce any electromagnetic torque or speed. Torque keeps oscillating around load torque value and speed around '0'. When the form of load is changed to speed it produces an acceptable torque and speed which needs to be tuned by tuning PI controllers. I have attached the simulation file and the initializing Matlab script file. I'm unnable to identify exact the problem. Am I missing some theory component/ or trying to simulate it wrong?

2 Comments

Hi I have a question for you, did you use just standard Simulink without BlockSet or Siimscape. I have a BLDC running a sensorless feedback speed control and want to simulate it in Matlab so that I can make changes to the Observer. I'm concerned about the simulation pracricality of having a 21.5kHz PWM signal and a servo with less than 1Hz bandwidth. I don't want the sim to take 12hrs ;)
Thanks,
Brian
Hi Brian,
I am working in the sensorless feedback control too but for the BLAC. I wanna share ideas with you if possible. thanks

Sign in to comment.

 Accepted Answer

The problem was in the angle conversion. I was missing mechanical angle to electrical angle conversion. By adding it the problem was fixed.

More Answers (0)

Categories

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

Tags

Asked:

on 28 Jun 2020

Commented:

on 18 Mar 2024

Community Treasure Hunt

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

Start Hunting!