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.

TMS320F28027F: F28027F + DRV8353S: Over-current protection best practice and scaling/offset questions

Guru 14780 points

Part Number: TMS320F28027F
Other Parts Discussed in Thread: DRV8353

Hi,

We are controlling a 3-phase motor with F28027F + DRV8353S.

Today our “over-current” check is very simple: we monitor Iq_ref (q-axis current command) and trigger a fault when it is over a threshold for N cycles. We would like to use a more standard / recommended method.

Could you please advise on the following?

  1. Recommended over-current protection
    What is the best practice for this combination?
    Is it recommended to use DRV8353S OCP → nFAULT → F28027F ePWM Trip-Zone for fast shutdown, and use ADC current (Id/Iq or phase current) only as a secondary check?

  2. IQ_FULL_SCALE_CURRENT / ADC_FULL_SCALE_CURRENT
    Our project uses auto-generated values:

  • IQ_FULL_SCALE_CURRENT = 23.5 A

  • ADC_FULL_SCALE_CURRENT = 47.18 A
    Can you confirm what these parameters mean and how we should calculate the correct values from shunt resistor / amplifier gain / ADC range?

  1. Current offset calibration (Offset Current)
    When we enable offset current calibration, the motor runs much smoother, but calibration takes about 5 seconds.
    Is it OK to run this calibration only once at power-up and keep the offset value fixed during operation?
    What is a typical recommended calibration time / sample count?

  2. Unused pins setting
    Some GPIO/ADC pins are not connected on our PCB.
    What is the recommended firmware setting to avoid noise (e.g., input with pull-up, output, analog mode, etc.)?

Thanks,

Conor