TIDUE53I march 2018 – july 2023 TMS320F28P550SJ , TMS320F28P559SJ-Q1
Critical to attaining a closed-loop control system is accurate current measurement of the inverter. In this design, current measurement is done at two locations with different sensing technologies. The first location is on the grid output using shunt resistors. Because the output is high voltage and the controller needs to remain isolated, the AMC1306M05 reinforced modulator is used to measure the resistor voltage drop. To keep system losses low, the AMC1306M05 has a ±50-mV input range. When compared to other devices with a typical input range of ±250 mV, the total power loss across the shunt is significantly reduced.
Sizing the shunt resistor for this design is a trade-off between sensing accuracy and power dissipation. A 0.002-Ω shunt provides a ±50-mV output signal at the approximate ±25-A output inverter but also only generates 0.5 W of heat at full load. When choosing an actual device, select a high accuracy value to eliminate the need to calibrate each sensor path.
The voltage across the shunt resistor is fed into the AMC1306M05 sigma-delta modulator, which generates the sigma-delta stream that is decoded by the SDFM demodulator present on the C2000™ MCU. The clock for the modulator is generated from the eCAP peripheral on the C2000 MCU, and the AMC1306M05 data is decided using the built-in SDFM modulator.
The second location is a Hall-effect sensor, which is used to sense the current through the inductor. The Hall-effect sensor has a built-in offset, and the range is different than what ADC can measure. Therefore, the voltage is scaled to match the ADC range using the circuit shown in Figure 2-39 and Equation 33. Of note here, the OPA4340 is used over the OPA4350 in the voltage sense path due to the lower bandwidth of the former. The low bandwidth helps to reduce accidental amplification of switching noise that can be picked up by long traces in the PCB.