ZHUOJIN-LOGOZhuojin Pipe Fitting Co., Ltd
Zhuojin Pipe Fitting Co., Ltd
STEEL PIPE · FITTING · WELDING TECHNICAL STUDY

Digital Control System for Pulsed MIG Welding Power Based on STM32

Literature Overview

This paper, published in China Welding (2015, Vol. 24, No. 2, pp. 75–80) by Wu Kaiyuan, Zhang Tao, He Zuwu, Li Huajia, and Cheng Jia from the School of Mechanical and Automotive Engineering at South China University of Technology, presents the design and experimental validation of a digital control system for pulsed MIG welding power sources. The system is built around the 32-bit STM32F103ZET6 microcontroller, leveraging its integrated PWM modules to achieve phase-shifted full-bridge soft-switching in the high-frequency inverter stage and medium-low frequency pulse waveform modulation in the welding current stage. The research was supported by the National Natural Science Foundation of China (Grant No. 51205136), the Doctoral Program of Higher Education (Grant No. 20100172120003), and the Fundamental Research Funds for the Central Universities (Key Program, Grant No. 2013ZZ034).

Core Technical Architecture

The control architecture addresses two distinct frequency domains simultaneously: the high-frequency inverter operation (typically 20–50 kHz) and the medium-low frequency pulsing modulation (typically 50–500 Hz) required for pulsed MIG welding. The STM32F103ZET6 microcontroller, operating at a 72 MHz clock frequency, provides sufficient computational throughput to handle both control loops within a single hardware platform.

The phase-shifted full-bridge soft-switching topology is selected to minimize switching losses in the high-frequency stage. By introducing a controlled phase shift between the leading and lagging legs of the full bridge, zero-voltage switching (ZVS) is achieved for the leading-leg switches and zero-current switching (ZCS) for the lagging-leg switches, depending on the load condition. This soft-switching strategy is critical for maintaining high efficiency at the power levels required for MIG welding (typically 200–450 A output).

The constant-current control of welding output current is implemented using an anti-windup PI control algorithm. The anti-windup mechanism prevents integrator saturation when the output current command exceeds the system's physical limits, which is particularly important during the transition between pulse-on and pulse-off phases in pulsed MIG welding.

Key Control Parameters and Design Considerations

Parameter Typical Range Design Rationale
Inverter switching frequency 20–50 kHz Balances transformer size vs. switching losses
Pulse frequency 50–500 Hz Controls droplet detachment and heat input
Peak current (Ipeak) 1.3–2.0 × average current Ensures stable short-circuit transition
Background current (Iback) 40–100 A Maintains arc stability during off-phase
PWM dead time 1–3 μs Prevents shoot-through in full-bridge
PI bandwidth 1–10 kHz Ensures fast current regulation

Control Algorithm Analysis

The anti-windup PI controller is a critical element of the system's stability. In conventional PI control, when the output current command changes rapidly—as occurs during the pulse-on to pulse-off transition—the integrator term can accumulate large errors, leading to overshoot and instability upon command return. The anti-windup algorithm clamps the integrator output to prevent this accumulation, ensuring that the controller responds predictably and quickly to the rapid current changes inherent in pulsed MIG welding.

The pulse waveform modulation is implemented through precise timing of the PWM duty cycles within the STM32's advanced timer modules. The microcontroller generates the pulse profile by modulating the effective duty cycle of the inverter output, thereby controlling the time-averaged welding current while maintaining the high-frequency switching for power conversion efficiency.

Experimental Validation and Process Quality

The experimental results demonstrate that the designed digital control system achieves:

From a practical standpoint, the use of a single 32-bit microcontroller for both the inverter and pulse modulation stages offers significant advantages in terms of system integration, cost reduction, and maintenance simplicity. The STM32 platform's robustness and wide industrial adoption make it well-suited for field deployment in manufacturing environments.

Engineering Practice Insights

In my experience with welding power source design, the transition from analog to digital control represents a fundamental shift in how welding processes are managed. Analog systems rely on discrete component networks for waveform generation and feedback loops, which are inherently limited in flexibility and precision. The STM32-based digital approach allows for:

For pipe welding applications—particularly in the context of pipeline girth welds using pulsed MIG—the ability to precisely control the pulse parameters is essential for managing heat input and minimizing the heat-affected zone (HAZ) width. This is particularly relevant for thick-wall carbon steel pipes where multi-pass welding with controlled interpass temperature is required.

Critical Reflections

The paper effectively demonstrates the feasibility of STM32-based digital control for pulsed MIG welding, but several practical considerations deserve emphasis. The 72 MHz clock speed of the STM32F103ZET6 is adequate for the described application, yet for more demanding multi-axis control or real-time arc sensing integration, higher-performance platforms may be warranted. Additionally, the paper does not extensively discuss electromagnetic compatibility (EMC) concerns, which are significant in welding power sources operating at high switching frequencies near sensitive welding equipment.

The phase-shifted full-bridge soft-switching approach, while efficient, introduces complexity in the control logic during load transients. In pulsed MIG welding, the rapid current transitions between peak and background levels constitute significant load transients that must be handled without compromising the soft-switching conditions. The stability and reliability claims in the paper suggest that this challenge was addressed, though detailed analysis of the transient behavior would strengthen the contribution.

This work represents a meaningful step toward affordable, high-performance welding power sources, and its principles are directly transferable to industrial welding applications where consistent pulse quality is required for repeatable weld quality.