SPRACO3 October 2019 INA240 , LMG5200 , TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
Over-current monitoring is provided using on-chip comparator subsystem (CMPSS) module. The module has a programmable comparator and a programmable digital filter, the comparator generates the protection signal. The reference to the comparator is user programmable for both positive and negative currents limits. The digital filter module qualifies the comparator output signal, verifying its integrity by periodically sampling and validating the signal for a certain count time within a certain count window, where the periodicity, count, and count window are user programmable.
In the Expressions window, you can see the 'motorVars[0].curLimit' variable that sets the permitted current maximum through inline current shunt sensor.
'motorVars[0].tripFlagDMC' is a flag variable that represents the over-current trip status of the inverter. If this flag is set, then you can adjust the above settings and retry running the inverter by setting the flag 'motorVars[0].clearTripFlagDMC' to 1. This clears 'motorVars[0].tripFlagDMC', and clears the status in related CMPSS registers, and restarts the PWMs for the inverter.
The default current limit setting is to shut down the inverter if the phase current magnitude is greater than 6A. You can fine tune any of these settings to suit their needs. Once satisfactory values are identified, write them down, modify the code with these new values, and rebuild and reload for further tests.