SPRACT7 August   2020 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

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Fundamental Theories of FOC and Current Measurement
    1. 2.1 Basic Theory of FOC
    2. 2.2 Current Sensing Technique
      1. 2.2.1 Low-Side Current Measurement
        1. 2.2.1.1 Three-Shunt Current Sensing
        2. 2.2.1.2 Dual-Shunt Current Sensing
        3. 2.2.1.3 Single-Shunt Current Sensing
  5. 3Implementation of Single-Shunt Phase Current Reconstruction
    1. 3.1 Duty Cycle Compensation
    2. 3.2 PWM Phase Shift Compensation
    3. 3.3 Current Reconstruction
  6. 4Sensorless FOC With Single-Shunt Measurement
  7. 5Hardware Consideration for Single-Shunt Current Sensing
    1. 5.1 Slew Rate
    2. 5.2 Current Sensing Circuit
  8. 6Test Results
  9. 7Summary
  10. 8References

Test Results

Figure 6-1 shows the motor test setup used for verifying single-shunt solution. The inverter board used for this testing is DRV8312EVM_revD that has a shunt resistor in the inverter dc-link side as well as thee shunt resistors in FET low side. Also, F280049C controlCARD and TMDSADAP180TO100 adapter card was used for this test.

GUID-20200819-CA0I-SGDN-8TSR-MX6N5ZQM7JZL-low.jpg Figure 6-1 Motor Test Setup

In other to verify the proposed solution in this application report, firstly open-loop control which is called V/F without current control was carried out.

The delay time in current sensing loop for the inverter board used in this test is as following

  • Tr = 100 ns (Rise time of amplifier including power switches(MOSFET/IGBT) turn on time)
  • Ts = 100 ns (Settling time of amplifier)
  • TS&H = 170 ns (ADC Sample and Hold time, 1 + (14) + 2 = 17 SYSCLK)
  • TDT = 10 ns (Dead-time between top and bottom switch)
  • TPD = 38 ns (Gate driver propagation delay)

From Equation 2 and Equation 3, the two critical parameters for dc-link current sampling can be calculated as following.

T_MinAVDuration = TDT + Tr + Ts + TS&H
= 10 + 100 + 100 + 170 = 380 ns => 38 SYSCLK cycles (@100 MHz)
T_SampleDelay = TDT + TPD + Tr + Ts
= 10 + 38 + 100 + 100 = 248 ns => 25 SYSCLK cycles (@100 MHz)

Figure 6-2 shows dc-link current measured at the voltage vector of sector 1. Because the T_SampleDelay is set as 25 SYSCLK (250 nsec), the first ADC SOC is triggered after 250 nsec based on the falling edge of PWMC_TOP (SCH). It was confirmed that a clean signal can be sampled and converted by ADC without switching noise at the sensing point.

GUID-20200819-CA0I-WL5T-2MQW-FG9KRHT7DNRK-low.png Figure 6-2 DC-Link Current (@ sector 1, Vdref = 1 V, Vqref = 0 V), 200 ns/div

Figure 6-3 and Figure 6-4 show before and after applying the PWM compensation, respectively. Figure 6-3 shows the reconstructed phase current from dc link current without PWM compensation. This waveform has lots of distortion because the current are not properly measured at the output vector that has a small active duration less than a minimum active duration.

GUID-20200819-CA0I-QWPW-RZW7-QQQBHMQXPLXZ-low.png Figure 6-3 Reconstructed Phase Current Without PWM Compensation During Open-Loop V/F Operation (1.4V/20Hz)

On the contrary, Figure 6-4 shows the reconstructed phase motor current with PWM phase shift compensation described in Section 3.2. It shows that the phase current is reconstructed without any current distortion.

GUID-20200819-CA0I-TXCM-B9ZP-WHX7K4X05MNH-low.png Figure 6-4 Reconstructed Phase Current With PWM Phase Shift Compensation During Open-Loop V/F Operation (1.4V/20Hz)

Figure 6-5 shows a measured oscilloscope waveform of phase-A current while running at 30Hz with closed-loop current and speed PI regulator. Since no load current of the motor used in this test is too small to determine whether PWM compensation and current reconstruction algorithm work well, it was measured by applying some loads to the motor shaft by hand.

GUID-20200819-CA0I-BFH6-NBVR-6TVD08J6HZSW-low.png Figure 6-5 Measured Current in Phase A During Steady-State Operation at 30Hz (10ms/div, 1A/div)

Figure 6-6 shows reconstructed phase current captured from MCU during operation at 30Hz same as Figure 6-5. The Figure 6-5 and Figure 6-6 are almost identical waveform. It means that the PWM compensation and current reconstruction algorithm in this application report work well in load condition.

GUID-20200819-CA0I-XPJF-JM9B-1T3V8N2BW3BZ-low.png Figure 6-6 Reconstructed Current in Phase A During Steady-State Operation at 30Hz