Close
0%
0%

PV Charger

Panel level charger for 56V battery stacks.

Similar projects worth following
PVC is a panel level charger that connects to a common electrical bus to charge a 56V battery stack (Lead-Acid or LiFePo). It works with panels up to 500W, and since each panel has its own charger, partial shading of the array does not stop power output. When finished, the chargers will be controlled by a central charge controller that communicates using Power Line Communication (PLC) via the electrical bus.

This is the next iteration of my solar charger work. The last one, Solar Charger & Balancer, was intended to handle a string of PV panels in a mix of parallel & series configurations, and included a battery balancer. PVC follows the trend with residential inverters and is designed as a panel level charger that can handle up to 500W and dumps a regulated 56V onto a common rail that can be aggregated with other panels to charge a battery stack. It also incorporates the hardware MPP tracking design that was proved out in Solar Charger & Balancer.

I chose to stick with 56V because it is a relatively safe voltage and doesn't require insane currents to get to a few kilowatts. Sticking to moderate voltages also reduces design complexity, component stresses, and cost. Whereas Solar Charger & Balancer used a SEPIC converter, PVC is a dirt-simple, non-synchronous, non-isolated, flyback. There's no requirement to buck & boost the panel voltage since even the most efficient 500W monocyrstaline panels' MPP voltages are well below 56V. It is significantly smaller because of this.

PVC is intended to bolt directly to the back of the panel and connect to a common bus that charges the battery. With independent converters, some sort of controller is required to coordinate the chargers and protect the battery stack from being over charged. It is possible to include a charge algorithm in PVC's firmware, but it would be nice to have some centralized control to monitor the total charge in & out, health of the panels/chargers, etc. So, I have decided to use Power Line Communication (PLC) to communicate with the chargers. The PLC & controller will be added to the next design revision: this initial design only includes the converter core.

SPECS
Preliminary specifications of development board based on bench and limited field testing. With a Vin less than ~ 32V, the output power will be thermally limited. In reality, most PV panels with MPPs less than 35V are rated for 400W or less and will be the limiting factor.

  • Vin: 25 - 40V DC
  • Ain: 13.3 - 21.3A
  • Vout: 56V
  • Aout: 8.9A
  • Pout: 500W
  • Peak efficiency: 95.7%
  • Average efficiency: 94%
  • Topology: interleaved, non-isolated & non-synchronous flyback
  • Switching frequency: 200kHz
  • Control mode: peak current
  • Controller: PIC16F1776
  • MPP method: hardware tracking of Vin
  • Cooling: natural convection via heatskink to case
  • Operating temperature: -40 - +50C unverified
  • PCB dimensions (LxWxH): 11.5x7.2x4cm (4.53x2.83x1.57")

THEORY OF OPERATION
The converter consists of two non-isolated flybacks running 180 degrees out of phase. This reduces peak currents in the plant and reduces input/output current & voltage ripple. Each phase employs an inner current mode control loop that manages the duty cycle with an outer common voltage loop. In theory, this ensures that the power output of both phases is equal. A low-side MOSFET and Schottky output diode form the plant switching pair, and each contain an RC snubber to control ringing.

Input & output voltage sensing is performed with resistive dividers that provides the sense signal for both the input & output voltage control loops. Current sensing is performed with a high-side sense resistor and an amplifier that provides the appropriate ramp signal for the current loop. Since the amplifier's bias positive supply is Vin, a level shifter (Q101, Q103) is required to ground reference the signal. R101/R108 & R113/R117 set the gain for each phase.

The Microchip PIC controller configures peripherals (Opamp, Comparators, timers COG, PWM, PRG)  at boot so that the converters operate autonomously. With the exception of output over-volt protection, the PIC MCU functions as an administrative controller that provides an RS232 console interface and manages the startup configuration. Various operating parameters are stored in NVM including MPP tracking voltage, output voltage, current limit, etc.

A type 2 compensation network is used for the output voltage control loop: the error signal...

Read more »

pvc-bom-250820.xlsx

sheet - 13.38 kB - 11/13/2025 at 02:21

Download

pvc-kicad-250820.zip

Zip Archive - 739.84 kB - 11/13/2025 at 02:16

Download

pvcrc-b56.zip

Zip Archive - 707.13 kB - 11/13/2025 at 02:09

Download

pvc-fw-v3_0-b114.zip

Zip Archive - 745.36 kB - 11/13/2025 at 02:09

Download

pvc-common-b74.zip

Zip Archive - 51.26 kB - 11/13/2025 at 02:09

Download

View all 9 files

  • Updated Hardware & Firmware

    Brian Cornell11/13/2025 at 02:51 0 comments

    Quick update for work that continues at a snails pace. I'm now referring to the PV Chargers as micro chargers (as opposed to string). I've had several of them in operation 4+ months on my test array and that has allowed me to make many tweaks to the firmware for more reliable PLC communication and improved exception handling. I've also expanded the command set and cobbled together a remote console that is used for control & monitoring of the chargers.

    The hardware has also undergone minor revisions, mostly to reinforce the Vin/out terminals for improved mechanical stability and to prevent shorting. The original NTCs for temperature sensing went obsolete and have been replaced (same location/footprint, but the calibration changed and that is incorporated in the newest firmware).

    I've also ditched the clumsy MC4 cable connectors in favor of bulkhead versions. This makes the units much easier to work with. The part #s for these aren't in the BOM, but can be ordered from Mouser (male MC4 - 654-H4SMM4DMS, female MC4 - 654-H4SFM4DMS). In the pictures (the one of the open case is from the temperature calibration run for the new NTCs) below you'll also notice different connecting wire from the PCB to the MC4 connectors: this wire is much easier to work with (still 12 AWG) and is more appropriate for the application & operating environment. This too can be ordered from Mouser: Brown 12AWG - 650-216250-000, Red 12AWG - 650-55A0111-12-2.

    It's important to weatherproof the Bud CU-234 enclosure with a neutral curing sealant like DOWSIL 737. This means applying a bead to the lip of the case or lid as well as both the case & mounting plate holes.

    The files section contains all the updated firmware, BOM, and KiCad v9 files.

View project log

Enjoy this project?

Share

Discussions

Brian Cornell wrote 10/16/2023 at 23:36 point

Hi Dan, yes. The revised PCB will include a mounting bracket that doubles as a heat sink to conduct heat from the board to the case.

  Are you sure? yes | no

Dan Maloney wrote 10/16/2023 at 17:33 point

Interesting. Since this is going on the back of the panel, are you planning on some kind of weatherproof enclosure?

  Are you sure? yes | no

Does this project spark your interest?

Become a member to follow this project and never miss any updates