STM32G4 Totem Pole PFC: Digital Solution Design Considerations

Presented by: Chill Ye, Industrial Power & Energy Technology Innovation Center, STMicroelectronics Asia Pacific

Agenda

  1. Totem Pole PFC and Design Challenges
  2. 3kW Totem Pole PFC Digital Solution
  3. STM32G4 Mainstream Series
  4. Summary

1. Totem Pole PFC and Design Challenges

How to Improve Key Factors Affecting PFC Efficiency?

Traditional Boost PFC:

Diagram Description: A traditional boost PFC circuit featuring a bridge rectifier (Si diodes), an inductor, switches (SiC), and a 400V DC link capacitor. Key elements include conduction loss from rectifier bridge diodes (Vf) and three discrete components in series on the power path.

Comparison of PFC Topologies and Efficiency Improvement

The Totem Pole configuration is beneficial for achieving high efficiency and high power density in PFC topologies.

Active Bridge PFC

Half-Bridge PFC

Totem Pole PFC

Totem Pole PFC Positive Half-Cycle Working Principle

Switches S1, S2: High-speed switches. Switches S3, S4: Low-speed switches.

Positive Half-Cycle (VAC > 0): Main switch: S2 controls input current charging the PFC inductor to produce a sinusoidal waveform. Synchronous switch: S1 is a complementary switch, providing a discharge path for inductor current. Normally closed switch: S4. Normally open switch: S3.

Diagram Description: Circuit diagrams showing current charging (S2 closed) and discharging (S2 open) paths for the positive half-cycle, with gate control signals (VGSI, VGS2, VGS3, VGS4) plotted against time.

Totem Pole PFC Negative Half-Cycle Working Principle

Switches S1, S2: High-speed switches. Switches S3, S4: Low-speed switches.

Negative Half-Cycle (VAC < 0): Main switch: S1 controls input current charging the PFC inductor to produce a sinusoidal waveform. Synchronous switch: S2 is a complementary switch, providing a discharge path for inductor current. Normally closed switch: S3. Normally open switch: S4.

Diagram Description: Circuit diagrams showing current charging (S1 closed) and discharging (S1 open) paths for the negative half-cycle, with gate control signals (VGSI, VGS2, VGS3, VGS4) plotted against time.

Advantages of SiC MOSFETs in Totem Pole PFC

Diagram Description: Comparison of SJ MOSFET and SiC MOSFET circuits in a Totem Pole PFC configuration, highlighting the improvement in reverse recovery.

Design Challenge: Peak Current at AC Zero Crossing

When AC input transitions from positive to negative.

Design Challenge: Reliable AC Zero-Crossing Detection

Mis-triggering at AC zero crossing causes short-circuit breakdown.

Design Challenge: AC Frequency Jump Test

When AC frequency changes (e.g., 50Hz to 60Hz), the firmware continues to operate with negative half-cycle logic. S3 remains closed, causing a large current spike through D1 and S3.

Diagram Description: Oscilloscope traces showing the effect of an AC frequency jump, illustrating the current spike caused by incorrect logic during the transition.

2. 3kW TTP PFC Digital Solution

3kW CCM Totem Pole PFC Solution

Power density up to 82W/inch³.

Compliant with IEC61000-4-11 and IEC61000-3-2.

Key Features:

Applications:

Digital Platform - STM32G474

Ideal for applications requiring advanced and rich analog peripherals.

Main Applications:

Functional Block Diagram

Key Digital Features:

Diagram Description: A block diagram illustrating the PFC control system, including AC input, EMI filter, inrush current control, PFC choke, switches (S1-S4), bulk capacitor, and various control modules like ZCD, current sensing, OCP, PWM, OVP, fan control, temperature monitoring, PLL, reset, input metering, and UART communication.

Current Sampling Strategy in Totem Pole

Sampling Considerations and Configuration:

Positive Half-Cycle: Sample current at PWM count period, then PI calculation.

Negative Half-Cycle: Sample current at PWM count reset point, then PI calculation.

Diagram Description: Waveforms showing current sampling points for positive and negative half-cycles, along with corresponding gate control signals (VGSI, VGS2) and AC voltage (VAC).

FMAC (Mathematical Filter Accelerator)

FMAC frees up CPU/interrupt resources, allowing more software algorithms (non-linear control, feedforward, etc.). FMAC is built around 2x16-bit multipliers and 26-bit accumulators for FIR and IIR filters.

Diagram Description: Illustrates the IIR filter structure and shows how the FMAC unit replaces software-based PID/nPnZ calculations for the current loop ISR, optimizing performance.

AC Zero-Crossing Detection

HW ZCD circuit + HW/SW filters: Simple but sensitive to noise. HW ZCD signal updates only every half AC cycle, limiting response speed.

SW PLL (Frequency/Phase Tracking): Uses HW ZCD, MCU frequency detection, frequency/phase identification, sync error, LPF, VCO.

Diagram Description: Compares HW ZCD with HW/SW filters against a SW PLL approach for AC zero-crossing detection, showing signal processing blocks and waveforms.

PFC Control Algorithm

Diagram Description: Control loop block diagram showing VAC input processed through ADC, RMS, 1/Vrms², Gv, Km, and FMAC (Gi) to control MOSFETs. Vbulk and IL are also fed into ADCs. Voltage loop operates at 10kHz, current loop at 70kHz.

Peak Current Elimination Solution

During blanking, all MOSFETs are turned off to ensure safe power switch control and prevent short-circuiting the output DC capacitor.

Blanking + Soft-Starting Solution: Active switches S1 or S2 are controlled by soft duty cycle.

Diagram Description: Shows the Totem Pole PFC circuit during blanking and soft-starting phases, with waveforms illustrating VAC, IL, and gate signals (S1, S2, S3, S4) over time.

Peak Current Elimination Solution

Suspend control loop during blanking to avoid the current loop integrator generating large PWM pulses, causing current spikes.

Suspend current loop during blanking.

Diagram Description: Illustrates the control loop suspension during the blanking time, showing the current loop computation being halted and restarted, with a block diagram of the PI controller (Kp, Ki, Kd).

AC Frequency Jump Solution

Use high-speed comparators to handle reverse current. Dynamically set thresholds for positive/negative half-cycles. Turn off all PWM via comparators upon triggering the threshold. Once reverse current occurs, it will be clamped.

Diagram Description: Shows AC waveforms and oscilloscope traces demonstrating the solution for AC frequency jumps, highlighting how fast comparators and PWM control prevent current spikes.

3. STM32G4 Mainstream Series

STM32G474 MCU

Ideal for digital control with high-precision PWM and rich analog peripherals.

Connectivity:

External Interface:

Accelerators:

Math Accelerators:

Timers:

Analog:

Core:

Main Applications:

STM32G4 Product Matrix

Shows different STM32G4 series (G484, G474, G483, G473, G441, G431) with varying Flash/RAM sizes and pin counts. Legend: Crypto AES-256.

Diagram Description: A matrix displaying STM32G4 microcontroller variants based on Flash memory/RAM size and pin count, categorizing devices by series.

STM32G4 Hardware Solutions

Accelerate evaluation, prototyping, and design speed.

STM32 Nucleo:

Evaluation Boards:

Motor Control Kits:

Discovery Kits:

STM32G4 Software Tools

Full support for the Arm Cortex-M ecosystem.

STM32CubeMX:

IDE Compilation and Debugging:

STM32 Programming Tools:

Digital Power Workshops developed with Biricha

Combines industry-leading ST MCUs with Biricha's tools and training.

Biricha digital power:

4. Summary

STM32G4 digital control solutions help achieve high performance and reliability for continuous mode Totem Pole PFC.

PDF preview unavailable. Download the PDF instead.

PE2 06 Chill Ye Totem Pole PFC Using STM32G4 CN reviewed Microsoft PowerPoint for Microsoft 365

Related Documents

Preview STM32G4 Mixed Signal MCU Hands-On Workshop Guide
A comprehensive guide for the STM32G4 Mixed Signal MCU Hands-On Workshop, covering software installation, key features of the STM32G4 series, and practical lab exercises. Learn about advanced analog peripherals, mathematical accelerators, and dual-bank flash technology.
Preview STMicroelectronics STM32G4 Series Mainstream MCUs: High-Performance Mixed-Signal MCUs
Explore the STMicroelectronics STM32G4 series, featuring powerful Arm Cortex-M4 MCUs with advanced analog peripherals, DSP capabilities, CAN-FD, USB Type-C PD, and optimized for motor control and industrial applications.
Preview STM32G4 Series: Enabling Advanced Mixed-Signal Applications
An overview of STMicroelectronics' STM32G4 series microcontrollers, detailing their advanced analog peripherals, high performance, robust security features, and suitability for mixed-signal applications across various sectors including motor control, industrial equipment, consumer electronics, and digital power.
Preview STM32G4/H7 Digital Power Application Sharing
An overview of STMicroelectronics' STM32G4 and STM32H7 microcontrollers for digital power applications, highlighting features like HRTIM, math accelerators, and performance for various power solutions, presented at the Industrial Summit 2021 in Shenzhen.
Preview STM32L Series: Ultra-Low-Power 32-bit MCUs for Creative Applications
Explore the STM32L series of ultra-low-power 32-bit microcontrollers from STMicroelectronics. Discover the STM32L0, STM32L1, and STM32L4 product lines, their features, performance, and applications for energy-efficient embedded systems.
Preview STMicroelectronics STM32L Series: Ultra-Low-Power 32-bit MCUs
Explore the STMicroelectronics STM32L series of ultra-low-power 32-bit microcontrollers (MCUs), featuring the Arm Cortex-M0+, M3, M4, and M33 cores. Discover their features, applications, development tools, and ecosystem for energy-efficient embedded systems.
Preview STM32 Low Power Modes: A Comprehensive Guide
Explore low-power modes and power consumption reduction techniques for STM32 microcontrollers. This guide covers STM32F446RE and STM32L073RZ, measurement tools like X-NUCLEO-LPM01A, and debugging tips for embedded systems development.
Preview Optimizing Power Consumption on STM32U5 Microcontrollers: An Application Note
This application note from STMicroelectronics details how to optimize power consumption for the STM32U5 series of Arm Cortex-M33 microcontrollers, covering low-power modes, ICACHE efficiency, flash memory, and use-case specific optimizations.