Hello,
I'm working on creating a FOC control using Matlab and Simulink. You can see the model in the attachment. Then we will create a project from the FOC algorithm using CCS v3.3 and we'll run a PMSM connected to the Dual Motor Control Kit controlled by DSP28035 Control Card.
Now, in my model PWM signals are generated correctly. But the motor is not working properly. I'm working with 24V-400 BLY172S Anaheim Automation, the motor included in the kit.
Now I can build the project, but the motor rotates "in jumps". In other words, the motor rotates and stops several times per second, the motor rotation is not continuous. Also, the motor does not rotate if the velocity is small (50 rpm, for example) and if I set up a high currents Ia and Ib and high speed (Ia = Ib = 0.5 and 1500 rpm, for example), the motor temperature increases and stops. All this does not happen with software provided for you, which runs directly in CCS v3.3. With this program the range of work for Ia, Ib and the speed is great and the motor runs smoothly but the motor runs in open loop (Level 1).
What is the problem? Maybe I need to use HRPWM? Is this fact related to the sample time? (currently with a value of 2 ^ -15)?
I also wanted to know if there was any system that I can work in real time with the model variables. So, if I can modify the values of the currents Ia and Ib or motor speed in the model and, immediately, the motor adapts to these changes in real time, as your program.
Thanks in advance and sorry for my English,
Carlos