Sunday, February 9, 2025

Digital Power Supply Design Using A Microcontroller

- Advertisement -

As power demands rise, digital power supplies provide a forward-thinking solution, optimising efficiency and reducing component complexity through digital control.

A typical DC-DC power supply, such as a buck power supply, comprises an input supply, switching network, and passive elements (L and C) for filtering, feedback, compensation network, pulse width modulation (PWM), reference voltage, and output power.

DC-DC power supply system Block Diagram
Fig. 1: DC-DC power supply system (Credit: www.infineon.com)

A digital power supply replaces the analogue compensation network with an analogue-to-digital converter (ADC), compensation algorithm, and digital PWM implemented inside the microcontroller.

- Advertisement -

Advantages of Digital Power Supply

Digital power supplies present numerous benefits, primarily by eliminating components and reducing manufacturing costs. They enable systems design with multiple and variable outputs while minimising real estate requirements on circuit boards. A single microcontroller (MCU) can implement multiple power rails, significantly enhancing design efficiency.

Circuit for Digital power supply system with microcontroller
Fig. 2: Digital power supply system with microcontroller (Credit: www.infineon.com)

Furthermore, digital power supplies deliver higher efficiency across the entire operational range, offering the capability to combine multiple control loops or functions into a single device. The flexibility provided by software-programmable solutions allows for adjustments in control loop performance through software modifications, ensuring adaptability to changing requirements.

Circuit of Two types of switching regulators: (1) voltage mode control and (2) peak current mode control
Fig. 3: Two types of switching regulators: (L) voltage mode control and (R) peak current mode control (Credit: www.infineon.com)

Additionally, these systems support advanced features such as auto-tuning, self-testing, power-up sequence setups, communication across other channels, and even failure prediction, making them versatile and future-ready.

Disadvantages of Digital Power Supply

Despite their numerous advantages, digital power supplies come with certain limitations. The loop bandwidth is constrained by the computing power of the microcontroller and the overhead tasks it handles.

Additionally, the resolution of the PWM module limits the accuracy of feedback loop regulation. Constraints in ADC resolution and sampling rates further affect performance, while the overall capability of the microcontroller (CPU) remains a critical factor in determining the system’s effectiveness.

Types of compensators. (L) Type II compensator (R) Type III compensator Circuit
Fig. 4: Types of compensators. (L) Type II compensator (R) Type III compensator (Credit: www.infineon.com)

These challenges underline the need for careful design and component selection in digital power supply systems.

Control Algorithms in Switching Regulators

Typically, switching regulators have two types of control algorithms; each has advantages and disadvantages.

Voltage Mode Control (VMC)

  • Fixed switching frequency
  • Single feedback loop
  • Double pole compensation
  • Slower dynamic response

Peak Current Mode Control (PCMC)

  • Built-in current limiting
  • Faster response to input voltage changes
  • Two feedback loops
  • Single pole compensation
  • Slope compensation is required
  • Blanking is necessary to handle current spikes

Types of Compensators

Typically, there are two types of compensators:

OOPS! THIS IS EFY PRIME CONTENT...
which means that you need to be an EFY PRIME subscriber to read it.

EFY PRIME content is our best content. Hence, you need to make a small investment to access all of our content including EFY Prime content.

If you're already an EFY PRIME member, feel free to login below.

Else, CLICK HERE to invest in an EFY Prime account and become our VIP customer who can access all our content, and that too without the clutter of ads!

BENEFITS OF EFY PRIME MEMBERSHIP:
(1) Zero Clutter AD free experience
(2) Super-fast user experience
(3) Focussed reading experience with no distractions
(4) Access to all our content including our Best-of-Best which is EFY Prime

SHARE YOUR THOUGHTS & COMMENTS