Skip to the content
PCBKitNew board
2 layers138.5 × 108.5 mmBuck boost, the printed circuit board in 3D

Cargador solar buck-boost no inversor con control CC-CV en ESP32, simulación MATLAB/Simulink y diseño PCB en KiCad.

Size
138.5 × 108.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
41
Pads
103
Tracks, vias
162, 8
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
1 Aug 2026
Updated
3 Aug 2026

Overview

Buck boost is an open-source printed circuit board by IPrometheusI, from the IPrometheusI/buck-boost repository on GitHub, published under the MIT licence. It is a 2-layer board of 138.5 × 108.5 mm with 32 parts on 41 nets, routed with 162 tracks and 8 vias.

It is built around the ADS1115, AP2112K-3.3TRG1 and IRLZ44N, with the SS34, AO3401A and ECA-1HHG471B among its other parts. Its parts include 7 resistors, 5 capacitors, 3 diodes, 3 transistors and 3 connectors. It belongs with the power boards and the ESP32 boards of this library.

Main components

7

README

README.md

Cargador Solar Buck-Boost para Vehículos Eléctricos

Control CC-CV ESP32 MATLAB y Simulink KiCad Licencia MIT

Cargador de baterías Li-ion utilizando un convertidor DC/DC Buck-Boost no inversor alimentado por un panel solar de 6W, con control CC-CV (Corriente Constante -- Voltaje Constante) implementado en un ESP32.

Simulación CC-CV

Especificaciones

ParámetroValor
BateríaLi-ion 3.7V / 6000mAh
Voltaje de carga máximo4.2V
Corriente de carga (CC)~1.0A promedio
Panel solar6V / 6W, Vmpp real ~5.5V
InductorBourns 1140-102K-RC, 1mH
CapacitorPanasonic ECA-1HHG471B, 470uF/50V
Frecuencia PWM30kHz
MicrocontroladorESP32-DevKit V1
ADC externoADS1115 (16-bit, I2C)
Rshunt10mOhm (ROHM GMR100HJBFA10L0)

Topología

El convertidor utiliza una topología buck-boost no inversora con dos MOSFETs (Q1, Q2) y dos diodos Schottky (D1, D2), manteniendo la polaridad positiva en la salida para conectar la batería directamente.

Topología no inversora

La relación de conversión ideal es:

$$V_{out} = V_{in} \cdot \frac{D}{1 - D}$$

Control CC-CV

El algoritmo de carga opera en tres modos con prioridad descendente:

  1. Proteccion: si V_panel < 2.0V, mantiene D_min = 0.05.
  2. Voltaje Constante (CV): cuando V_bat >= 4.2V, reduce D agresivamente (2x step).
  3. Corriente Constante (CC): ajusta D para mantener I_carga ~1.0A promedio.

La corriente se mide con una resistencia shunt de 10mOhm y el ADS1115 en modo diferencial (resolucion ~0.78 mA/bit).

Simulacion (Simscape Electrical)

El modelo en Simulink utiliza datos reales de irradiancia solar (779 muestras, 9 mayo 2024) y emula el controlador CC-CV del ESP32.

Modelo Simulink completo

Resultados

  • Corriente de carga regulada a ~1.0A promedio (condiciones ideales)
  • Duty cycle estable en ~0.535 para Vin ~5.14V
  • Voltaje de salida ~3.81V, sin exceder 4.2V
  • Convergencia desde D_min en ~4.85s

Diseno PCB (KiCad)

Esquematico

Esquemático KiCad

PCB Layout

PCB layout

Vista 3D

PCB vista 3D

Requisitos de simulacion

  • MATLAB R2024a+
  • Simulink
  • Simscape + Simscape Electrical

Autores

  • Maickol Andres Fernandez Obando
  • Jordi Perez Barquero
  • Pablo Jose Navarro Robles
  • Vladimir Gonzales Morera

Instituto Tecnologico de Costa Rica -- I Semestre 2024

Licencia

Este proyecto esta bajo la Licencia MIT.

Parts

32
QtyValueFootprintReferences
4ERJ-PC3B1002VSamacsys:ERJPC3D9763VR1, R2, R3_10k1, R4_10k1
4MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3REF1, REF2, REF3, REF4
4~1_KiCad_Personal_Lib:CeramicCapacitorC2_100n1, C3_100n1, C4_10u1, C5_10u1
23301_KiCad_Personal_Lib:ResistorThroughHoleR5, R6
2IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q2
2LOGOLOGOG***, G1
2SS34Diode_SMD:D_SMAD1, D2
1100k1_KiCad_Personal_Lib:ResistorThroughHoleR7
110mSamacsys:GMR100HJBFA10L0Rshunt1
11140-102K-RC-1mH2_Samacsys_V2:1140102KRCL1
1ADS11151_KiCad_Personal_Lib:ADC-4CH-ADS1115U1
1AO3401APackage_TO_SOT_SMD:SOT-23Q3
1AP2112K-3.3TRG12_Samacsys_V2:SOT95P285X140-5NIC1
1Bat1_KiCad_Personal_Lib:SCREWTERMINAL-3.5MM-2J2
1Battery_HolderBattery:BatteryHolder_MPD_BH-18650-PCJ3
1ECA-1HHG471BSamacsys:CAPPRD500W65D1000H2200C1_470u1
1ESP321_KiCad_Personal_Lib:ESP32-DEVKITV1_ESP32-DEVKITV1I1
1Panel1_KiCad_Personal_Lib:SCREWTERMINAL-3.5MM-2J1
1WP59SURKSGWSamacsys:WP59EGCLED2

Questions

How big is the Buck boost PCB?

It measures 138.5 × 108.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Buck boost use?

32 parts, built around the ADS1115, AP2112K-3.3TRG1, IRLZ44N and SS34. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Buck boost KiCad files?

From the IPrometheusI/buck-boost repository on GitHub, at the commit this page was made from: the board is KiCad/BuckBoost/BuckBoost.kicad_pcb and its schematic KiCad/BuckBoost/BuckBoost.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Buck boost design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 6 layers84 × 98 mmFujiNet-5200-Rev0, the printed circuit board in 3D

    FujiNet-5200-Rev0

    FujiNetWIFI/fujinet-hardware

    Schematics and design files for FujiNet hardware

    145 parts142
  • 6 layers85.9 × 77.5 mmFrob2354, the printed circuit board in 3D

    Frob2354

    tschak909/frob-modern

    The Frob, An Apple II Atari 2600 Development System, re-made as an RP2354 based device.

    80 parts8
  • 2 layers40 × 61 mmEsp32-4to20ma board, the printed circuit board in 3D

    Esp32-4to20ma board

    Diode663/ESP32_4-20mA_Sensor

    Single-channel industrial 4-20 mA current-loop reader for ESPHome / Home Assistant. ESP32-S3 + INA226, USB-C powered, 24 V loop supply with a constant-current limiter. KiCad 10, generated from Python.

    59 partsCERN-OHL-P-2.0
  • 2 layers140 × 80 mmHet68-pwr vn, the printed circuit board in 3D

    Het68-pwr vn

    fedurca/het68_pcb

    pcb design description

    65 parts
  • 2 layers60 × 45 mmTracker lite, the printed circuit board in 3D

    Tracker lite

    Sanu0910/RFMW-ANT

    109 parts
  • 2 layers94 × 79 mm5 - Lizard Car, the printed circuit board in 3D

    5 - Lizard Car

    TRD-B/Lizard

    3D printed RC race car with custom electronics

    54 parts129CC-BY-4.0