Skip to content

Armwan/Buck_Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

24V to 12V Buck Converter (3A, 50kHz) ⚡

A Mixed-Signal DC-DC Step-Down Converter featuring an Isolated Gate Driver and Smart Monitoring

Altium STM32 TL494 Status


📖 Project Overview

This repository contains the complete schematic and PCB design files for a 36W non-isolated buck converter. The primary challenges addressed in this design include driving a high-side power MOSFET and adhering to strict Electromagnetic Interference (EMI) control principles at a 50kHz switching frequency.

In this architecture, the core feedback loop is entirely analog, governed by the robust TL494 PWM controller. Meanwhile, an STM32F103 microcontroller (BluePill board) handles digital supervision, utilizing its ADC to monitor the output voltage and issuing enable/disable commands to the gate driver for software-level protection.

⚙️ Technical Specifications

Parameter Value Notes
Input Voltage (Vin) 24V DC -
Output Voltage (Vout) 12V DC Regulated via TL494 feedback loop
Nominal Output Current 3A Continuous in Continuous Conduction Mode (CCM)
Switching Frequency (Fsw) 50 kHz Set by internal oscillator ($R_T=22k\Omega$, $C_T=1nF$)
Power MOSFET IRF740 N-Channel, 400V, 10A
Freewheeling Diode MBR1045 Schottky, 45V, 10A (Ultrafast switching)
Output Filter $150\mu H$ + $1000\mu F$ Toroidal inductor designed for 30% current ripple

🧠 System Architecture

1. Analog Control Loop (TL494)

The 12V output is sampled via a precision voltage divider and compared against the TL494's internal 5V reference. To ensure absolute system stability and prevent oscillations, a compensation network (consisting of a 47kΩ resistor and a 100nF capacitor) is integrated into the error amplifier's feedback loop, improving the transient response.

2. Isolated Gate Driver (TLP250H & Bootstrap)

Since the MOSFET operates on the high side (floating source configuration), a TLP250H optocoupler IC is utilized to provide galvanic isolation and high peak current drive. Its power is supplied by a bootstrap circuit (featuring a UF4007 ultrafast diode and a 47µF capacitor), ensuring the gate-to-source voltage ($V_{GS}$) remains consistently high enough to fully enhance the MOSFET.

🎛️ Dual Control Strategy (Analog & Digital)

One of the standout features of this board is its hybrid control capability. The design incorporates a hardware jumper selection mechanism, allowing the user to seamlessly switch the PWM source driving the TLP250H optocoupler between a classical analog controller and a modern digital microcontroller.

1. Analog Control Mode (TL494)

  • Mechanism: The output voltage is stepped down via a precision resistor divider and fed into the TL494 error amplifier, which compares it against an internal 5V reference. The internal oscillator and comparator autonomously generate the necessary PWM signal to maintain a stable 12V output.
  • Advantages: Infinite resolution, zero-latency transient response, and extreme hardware reliability without the need to write or debug firmware.

2. Digital Control Mode (STM32)

  • Mechanism: The stepped-down output voltage is routed to an Analog-to-Digital Converter (ADC) pin on the STM32. The MCU reads this voltage, runs a software-based PID control algorithm, calculates the required duty cycle, and outputs a precise PWM signal via its advanced hardware timers.
  • Advantages: Maximum flexibility, the ability to implement advanced non-linear control algorithms, programmable soft-start, and real-time telemetry/monitoring.
  • Hardware Interface: A physical jumper block on the PCB allows the gate driver's input to be isolated from the TL494 and connected directly to the STM32's PWM output pin. This dual-feedback routing makes the board a perfect educational and developmental platform for power electronics.

🖥️ 3D Board Rendering

Below is the 3D visualization of the designed PCB generated in Altium Designer. The physical component placement strictly reflects the engineering principles discussed above:

3D PCB Render

  • Zoning Strategy: As seen in the render, the high-current power stage (input capacitors, heatsinks, and inductor) is localized to the top and right sections. The sensitive control logic (STM32 BluePill and TL494) is isolated in the lower-left "quiet" zone to prevent EMI disruptions.
  • Thermal Management: Adequate spacing is provided around the TO-220 packages (MOSFET and Diode) to accommodate external heatsinks without obstructing surrounding components.
  • Magnetic Isolation: The toroidal inductor ($L_1$) is positioned at a safe distance from the driver and control ICs to prevent magnetic flux interference.

📂 Repository Structure

├── Altium_Project/           # Main Altium project files (PrjPcb, SchDoc, PcbDoc)
├── Project_Library/          # Integrated project library (custom footprints & symbols)
├── Docs/                     # Comprehensive design report and calculations (PDF)
└── README.md                 # Project documentation (this file)

About

A 24V-to-12V (3A) Mixed-Signal Buck Converter. Features TL494 analog PWM, STM32 digital monitoring, and TLP250H isolated high-side gate drive.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors