How to change rpm of 'Permanent Magnet Synchronous Motor Field-Oriented Control'
Ältere Kommentare anzeigen
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 Kommentare
Patxi
am 21 Dez. 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
am 22 Dez. 2020
Patxi
am 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
am 8 Jan. 2021
Patxi
am 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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Sources finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



