How to change rpm of 'Permanent Magnet Synchronous Motor Field-Oriented Control'
Show older comments
I am using c28035pmsmfoc_ert.slx to drive the attached motor of DRV8312-C2-kit.
How do I change the rpm for this model? I want to change from the default 1200 rpm to 3000 rpm.
I changed Speed_per_unit_scaler to 3000 rpm and set the variable in Desired Speed subsystem to +1.0, but the rpm is only 1500 or more.
6 Comments
Patxi
on 21 Dec 2020
Hello,
we have bought a DRV8312-C2-KIT but we have not found c28035pmsmfoc_ert.slx example in our downloaded and installed TI C2000 Piccolo Support from Embedded Coder (we are using MatLab 2019a and CCS 6.1).
Please, could you show us where did find exatly (the link) the package which contains it?
Which are the versions of MatLab, CCS, etc. that ou are using?
Thank you very much!
Patxi
tkry
on 22 Dec 2020
Patxi
on 7 Jan 2021
Hi Ryo,
thank you very much for your info. I have MatLab 2019a and CCS 6.2.0, and after load c28035pmsmfoc_ert it is compiled properly doing build (Build, load in eprom and run). The problem is in the last part, when the PC is connecting with the board and the debbuger/emulator can not do it, giving an error.
I have tried to use 28035 and XDS 100 v1 and v2 with Target Configuration in CCS but I can not get any result. Did you get any similar error initially?
Thank you very much!
Patxi
tkry
on 8 Jan 2021
Patxi
on 11 Jan 2021
Hi Ryo,
the problem was SW3, which is necessary to put in ON (DOWN) position. Now, I can program the Kit by using CCS, MATLAB/SIMULINK and UniFlash.
Thank you very much!
Patxi
Accepted Answer
More Answers (0)
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


