Hello,
I developped a board with a TMS320F28062F MCU and the DRV8301 (so based on the drv8301kit_revD).
The software is based on the lab_7 of instaSPIN FOC (Motorware 01_01_00_13).
My project needs to have 2 motors and so 2 BLDC boards. When the 2 boards received the same spinning command, I noticed a delay before one motor is spinning. Randomly, the delay appears on the motor 1, or the motor 2, or there are no delay.
I can notice this delay with one board and one motor on my desk.
Please see the log I made:
Green signal : it's not the current, instead i log gMotorVars.SpeedRef_Krpm
Blue signal : gMotorVars.SpeedRef_Krpm gMotorVars.Speed_Krpm
Red signal : gMotorVars.SpeedRef_Krpm gMotorVars.Torque_Nm
A log WITHOUT the delay
A log WITH the delay
In this case, the delay is around 560ms (75 samples * sampling time = 75 * 50 * 150µs = 562.5ms)
The motor is spinning between 0 and 3000 rpm.
You will find attached the gMotorVars structure and User.h file
How can I sort this problem out ?
Thank you in advance,
Best Regards,