This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069M: Dual motor identification

Part Number: TMS320F28069M
Other Parts Discussed in Thread: DRV8323

Hello,

I am developing a firmware for a custom dual motor electronic speed controller. I am using TMS320F28069M MCU with DRV8323 gate drivers. As a starting point for hardware evaluation I use InstaSPIN lab 10d (Dual Motor FOC). Everything works fine: the both motors run successfully and feedback circuits give desired results. Motor parameters are predefined in user.h files.

The issue occurs when I try to run motor identification. For that purpose I set:  

gMotorVars[0].Flag_enableUserParams = false;

gMotorVars[1].Flag_enableUserParams = false;

At this point motor #1 is identified successfully, but motor #2 can not pass identification (the motor does not spin during RampUp stage, reports almost infinite resistance and close to zero inductance).

What could be the cause of this different behavior?

The both motors are identical (T-motor MN705-S KV125 with Rs=36.5 mOhms, Ls = 32.5 uH, 14 pole pairs and about 5000 rpm max). The user header files are identical for both motors. The values are successfully passed to global structures gUserParams[0] and gUserParams[1].

I also have tried to swap physical motor circuits: I swapped PWM Channels and ADC channels. And everything is the same: motor defined as motor #1 in software (now different physical motor) successfully goes through Motor ID sequention, but Motor #2 can not pass the identification. So it seams that the cause of issue is in firmware.

Where should I dig further? Anny suggestion will be appreciated.

Regards,

Vladislavas