SLAU927B June 2024 – November 2024 MSPM0G3507
ADC configuration for three phase current sensing: The default pin configurations for ADC currents for three phase current sensing are shown in Table 2-12 and Table 2-5, depending on the DRV device used. The required connections are three ADC inputs connected to the three CSA outputs from the motor driver or external CSAs.
ADC0 and ADC1 are two simultaneous-sampling 4Msps analog-to-digital converters that are used to measure phase currents and voltages. ADC0 and ADC1 measure phase currents simultaneously and bus voltage sequentially depending on the rotor angle under normal motor run conditions.
An optional low-pass RC filter can be placed in series from the CSA outputs to the ADC inputs to filter out any high-frequency noise from the switching output signals for proper ADC sampling as shown in Figure 2-2.
Choose a filtering frequency fc that it at least 10 times the PWM switching frequency (fPWM). Use Equation 1 to calculate fc based on the RC filter design.
MSPM0 Pin | Function | DRV Connection | DRV Function |
---|---|---|---|
A0_3 | ADC0, channel 3 input | SOA | Phase A current sense output |
A0_2 | ADC0, channel 2 input | SOB | Phase B current sense output |
A1_2 | ADC1, channel 2 input | SOB | Phase B current sense output |
A1_1 | ADC1, channel 1 input | SOC | Phase C high side PWM input |
MSPM0 Pin | Function | DRV Connection | DRV Function |
---|---|---|---|
A1_2 | ADC1, channel 2 input | SOA | Phase A current sense output |
A0_3 | ADC0, channel 2 input | SOB | Phase B current sense output |
A1_3 | ADC1, channel 3 input | SOC | Phase C high side PWM input |
In single shunt current sensing ADC0 and ADC1 are used to sample the same shunt current at two different instances in a single PWM cycle to estimate the three phase currents. User need to configure both the ADCs to sample the same current sense output and configure the Memory '0' index for current sensing channels for appropriate FOC operation.
MSPM0 Pin | Function | DRV Connection | DRV Function |
---|---|---|---|
A0_3 | ADC 0, Channel 3 Input | SOX | DC bus current sense |
A1_2 | ADC 1, Channel 2 Input | SOX | DC bus current sense |