2022-05-21 03:36 AM
MCSDK 5.4.8 profiler work and MCWB work, code generated.
Motor is able to spin under MCWB, but even HALL option is selected, MCWB is spin without HALL and therefore its generated code is not aiming for HALL startup right?
I tried many different combination of below parameters, I can make small motor spin by adjust and focus below parameters, however when I try my skateboard motor (little bigger) I have no luck to make it work, I already spent 4 weeks to understand the speed_torq_ctrl.c and adjust parameters without any luck.
Can anyone help to tech me more on PID parameters ?
PID_SPEED_KP_DEFAULT
PID_SPEED_KI_DEFAULT
PID_SPEED_KD_DEFAULT
SP_KPDIV_LOG
SP_KIDIV_LOG
SP_KDDIV_LOG
IQMAX
many thanks in advance,
Danny
2023-10-06 01:08 AM
Hello @dannypkchan , sorry for responding so late, so I suggest you try with MCSDK 6.2 which brings many fixes. And before generating your project, profile your Motor then import it to the workbench. You can reply to me if you need anything as help
Regards