Tool/software: Code Composer Studio
Hello ,everyone.
I have used the lab05b program driving my motor with the launchpad-28027F and DRV8305EVM.
Because my finial motor application current is very big. So I use the LEM hall sensor to sample the motor phase curent.
and I have confirmed that the InstaSPIN-foc program supported the LEM current sensing method.
but considering the system cost ,I just use two LEM current sensor to sample the phase current B and phase current C , and I use the KCL to calculate the phase current A.
and I have change the HAL_readAdcData() function in hal.h.
I have run the lab02b to identify my motor parameter and the lab03a to caculate the current and voltage offset . the motor can run well and the result is accurate.
and then I run the lab05b to spin my motor in speed mode ,my can spin well in speed mode.and the speed is stable.
but when I prepare to run the lab05a program to spin my motor in current mode ,the motor can not spin,even though I set the iq_ref_A is equal to 10A.
I confirm my motor and my motor controller is good and they can work well in lab05b speed mode.but it can not spin in lab05a current mode.
I just change the shunt resistor to the two LEM current sesor to sample the current B and C compare to the Launchpad-28027F and DRV8305EVM.
Please give a hand to solve the lab05a problem.
Thanks for your help!
Best Regards

