This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
HI
I am using the PMSM: FOC Sensorless (Delfino F2833x) program from controlSUITE's High Voltage Motor Control and PFC development kit. I'm testing level3。At present, I have encountered a problem, although it also existed before, my pwm frequency is 10khz, which is stable at the beginning, but then there will be jitter and motor have oscillation , but I changed to 8khz to solve the problem. Now I look at the output of PI, but the previous situation will also occur, I don't know where the problem occurred. I have adjusted the parameters of P and I. Although the motor is stable, the output of PI is quite different from the reference. speed1.SPEED does not correspond to speedref, and speed1.Speedrpm does not correspond to the actual speed. Below is the output of PI I observed with an oscilloscope
Please make sure that the correct motor parameters are set, and try to tune the parameters for SMO, PI controllers. And also make sure that the current and voltage sensing signals are good enough for motor control.
HI Luo
Thank you for your answer, but there is no code involving motor parameters at level3 and before. At present, I have not tested the SMO module. I am currently testing the SPEED_FR module and PI module. The QEP module has been tested for electrical angles before and there is no problem. I found a very interesting point when testing yesterday, when my IqRef=_IQ(0.2), pi_iq.Out=_IQ(0.25).. When my IqRef=_IQ(0.3), pi_iq.Out=_IQ(0.32). Do you think my reference is too low? I try to reduce KP, but the motor jitter is the same as when the pwm frequency is 10khz as I mentioned above. Do you think it is due to the jitter caused by the dead time?Another question is SpeedRef=_IQ(0.15). What is the actual corresponding speed? Is it 150rpm? If not, what is the corresponding ratio?
You may take a look at the application note of the example project that has the detailed description of the questions you mentioned above. You can try to follow the guide to run the lelvel1 to level7 for understanding how to tune the example.
If you just want to run the motor for your system, you may refer to the latest motor control lab with InstaSPIN-FOC as below that could be easier to spin a motor without too much tuning works.
We have provided a software FAST library based solution that can support InstaSPIN with FAST on all of the C2000 devices with FPU. You may refer to the lab for the newer C2000 device in motor control SDK. The universal motor control lab is available in the current MCSDK, which can support a set of hardware kits and control algorithms for BLDC/PMSM drive. The kits include LAUNCHXL-F280025C, LAUNCHXL-F280039C, LAUNCHXL-F2800137 with BOOSTXL-DRV8323RS, BOOSTXL-DRV8323RH, DRV8353Rx-EVM, BOOSTXL-3PHGANINV, DRV8316REVM, or DRV8329AEVM inverter board for low voltage motor (max: 100Vdc) . TMDSCNCD280025C, TMDSCNCD2800137 , TMDSCNCD2800157 , or TMDSCNCD280039C with TMDSHVMTRINSPIN inverter board and TMDSADAP180TO100 for high voltage motor (max 350Vdc). And The control algorithms include sensorless InstaSPIN-FOC with FAST, Sensorless-FOC with eSMO, Sensored-FOC with incremental encoder, Sensored-FOC with hall sensor.
C2000WARE-MOTORCONTROL-SDK: https://www.ti.com/tool/C2000WARE-MOTORCONTROL-SDK
Universal Project and Lab User’s Guide: https://www.ti.com/lit/spruj26
Example lab project at the folder: C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f28002x
or C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f28003x
or C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f280013x