Hello,
I bought the DRV8301-69 kit with F2806xF to evaluate it as my motor control (e-Bike application). I went through most of the labs, which are provided. So motor identification works, the motor control in 4 in speed and torque mode is working. But as you can imagine under load from zero senseless is not possible, that's why our motor has HALL sensors to make a better start.
So I tried the labs 11 until the lab 11e with the example of the HALL start. And the motor starts better/quieter (in all other labs motor makes big noise in low rpm under load on startup).
Unfortunately this is is the only lab, which acts weird. The motor does spin, but there are a couple of weird things:
1) I have to put a negative value in gMotorVars.SpeedRef_krpm in order to make it spin forward direction, In all other labs I can put in a positive number for forward spinning.
2) No matter how big the value is I put in gMotorVars.SpeedRef_krpm, it does always accelerate to the maximum rpm of the motor. Evevn if I put in just -0.2. Why?
3) The estimated speed does is also completely wrong. In all other labs this number matches with the gMotorVars.SpeedRef_krpm after the ramp up/down.
4) If the motor was started once, I can not stop it by putting zero in gMotorVars.SpeedRef_krpm, motor will make loud noises. DC voltage increases until my over voltage protection on DC side shuts off. Motor can only be stopped by putting a 0 in Run_Identify. But even then, if I change the gMotorVars.SpeedRef_krpm to zero then, put a 1 back to Run_Identify, motor controller is acting crazy --> loud noises, some spinning --> definitely unstable state.
I don't know, why this is happening. For me it seems like, that something basic is missing here... But I have no clue, because other projects work well... Also, do you have maybe an example with hall sensors and torque mode ?
Hall sensors are connected on J4 connector. They are working correctly. If I spin the motor by hand I can see the hall changes In the watch window changing.
I attached my user.h settings.
Hope you have an idea.