top of page
Writer's pictureLMS RS

Design of a Buck-Boost Converter with PID Controller

Design of a Buck-Boost Converter with PID Controller

Introduction to the Buck-Boost Converter

A Buck-Boost converter is a type of DC-DC converter that can step up (boost) or step down (buck) an input voltage. The beauty of the Buck-Boost converter lies in its ability to handle both conditions, making it highly versatile for various applications. In this design, the output voltage is specified to be negative, which is typical in scenarios where negative voltages are required for load circuits.

Design Parameters

For this design, we have selected the following parameters:

  • Power Rating: 250 watts

  • Input Voltage Range: 27V (minimum) to 32V (maximum), with a chosen operating voltage of 30.7V.

  • Output Voltage: The target output is -12V, which will be regulated by the PID controller.

  • Switching Frequency: 10 kHz (which is typical for this type of converter)

These parameters will guide the component selection and system design to meet the power and voltage requirements.

Calculating the Key Components

Once the parameters are defined, we need to calculate the necessary components:

  • Inductance (L1): The inductor plays a critical role in regulating current through the circuit.

  • Capacitance (C1 and C0): Capacitors are used to filter the output and input voltages, smoothing out ripples and providing stable operation.

For the design, we will use a combination of inductors and capacitors to ensure efficient energy storage and transfer within the system. The formulas for calculating these values are derived from the power rating, input voltage, output voltage, and switching frequency.

Building the Converter Circuit

The next step is to assemble the converter circuit. Here’s how we approach it:

  1. DC Voltage Source: A DC voltage source is needed to power the system. For our design, we use an operating voltage of 30.7V.

  2. Switching Element (IGBT and Diode): We utilize an IGBT (Insulated Gate Bipolar Transistor) combined with a diode for switching. The IGBT controls the flow of current, while the diode ensures correct current direction.

  3. Inductors and Capacitors: We include the calculated inductors (L1) and capacitors (C1, C0) for filtering. The capacitors help smooth the output voltage to maintain stable performance.

  4. Load Resistor: We set the load resistance to approximately 0.6 ohms, calculated based on the desired power output of 250W.

The components are connected in series, and the values are adjusted to match the desired output characteristics.

Implementing PWM Control

To regulate the output voltage, we use a Pulse Width Modulation (PWM) control system. A PWM DC-DC generator is used to control the duty cycle of the IGBT switch. Initially, a duty cycle of 0.30 is set, which is then adjusted to maintain the desired output voltage. This control method helps in efficiently converting the power from the source to the load while regulating voltage levels.

Adding a PID Controller for Voltage Regulation

To ensure that the output voltage stays at -12V (despite variations in input voltage or load), we introduce a PID controller. A PID (Proportional-Integral-Derivative) controller adjusts the duty cycle in real-time to minimize the error between the actual output voltage and the reference voltage (-12V). The PID controller operates in a closed-loop system, continually adjusting based on the feedback received from the system.

Tuning the PID Controller

Initially, the PID controller is not tuned, so the system may not provide the expected results. To resolve this, the PID parameters (proportional, integral, and derivative gains) are tuned using MATLAB’s PID Tuner application. This application helps automatically adjust the PID settings to achieve optimal performance.

Through the tuning process, the PID controller learns how to respond to changes in input and adjusts the output to maintain the target voltage of -12V. The results are tested, and the PID controller is optimized for minimal ripple and steady voltage regulation.

Testing the System and Results

Once the PID controller is tuned, we test the system under different conditions. The output voltage remains stable at -12V, with minimal ripple, indicating that the controller is effectively managing the voltage regulation. To further test the system, we simulate a step change in reference voltage. The system should adjust the output from -12V to -10V when the reference voltage is changed.

In practice, the system does exactly this, demonstrating the controller’s ability to track changes in the reference voltage and maintain stable operation.

Conclusion

In this post, we demonstrated how to design a Buck-Boost converter and integrate a PID controller for precise voltage regulation. The process involved calculating key components, assembling the circuit, implementing PWM control, and tuning the PID controller to achieve stable output voltage. Through careful tuning, the PID controller successfully regulates the output, ensuring that the voltage remains close to the target value of -12V, even under varying conditions.

This design approach can be applied to other power conversion systems requiring precise voltage regulation and stable performance.

0 views0 comments

Comments


bottom of page