Other Parts Discussed in Thread: DRV8329
Tool/software:
Hello my dear supporters and engineers,
We are using C:\ti\mspm0 sdk_2_03_00_07\examples\nortos\LP MSPM0G3507\motor_control_pmsm_sensorless_foc\sensorless-foc DRV8329 to turn the motor.
The motor has a very hard time entering the closed loop, so we need some motor tuning.
The final goal is to reduce alignment time and open loop time as much as possible to reach the target speed within 3 seconds.
To do so, first
pUserInputRegs->systemParams.speedLoopKp
pUserInputRegs->systemParams.speedLoopKi
pUserInputRegs->systemParams.currLoopKp
pUserInputRegs->systemParams.currLoopKi
We want to change these values.
Depending on how you change this value, the motor may not run even in open loop.
How to find the appropriate value?
motor status (Additional explanation, If necessary, I will ask questions in the next forum.)
- Long alignment time and open loop time are required to stably enter a closed loop.
- Even if it enters a closed loop, if the target speed is too large or too small, MOTOR_STALL occurs (FAULT1, FAULT2)
- Even when entering a closed loop, the maximum speed is 333hz, but even at 172hz, MOTOR_STALL occurs and the motor stops.
Please check this issue, and let me know if you need mor information.
Best regards,
Donguk