Analog Solar Charge Controller System With Battery Health Monitor.
by 24sea065 in Circuits > Electronics
52 Views, 1 Favorites, 0 Comments
Analog Solar Charge Controller System With Battery Health Monitor.
This project is a completely analog solar charge controller that can take care of a lithium battery bank when 5V solar panels are used. This project includes a real-time battery status check with two power outputs 5V as well as 12V. In contrast to purely digital solar charge controllers, this project makes use of highly reliable operational amplifiers (LM324) to execute the logic for switching.
Supplies
Semiconductors & ICs:
- U1, U4 (LM324): Quad Operational Amplifier used for comparator logic.
- U2 (L7805): 5V Linear Voltage Regulator for stable logic power.
- Q1 (BC558): PNP Transistor to drive the solar relay.
- Q2 (BC547): NPN Transistor to drive the load relay.
Switching & Protection:
- K1, K2: 5V SPDT Relays for solar and load switching.
- D2, D4 (1N5408): High-current Power Diodes.
- D1, D5 (1N4007): Flyback protection diodes for relay coils.
Passive Components:
- RV1, RV2 (10kΩ Potentiometers): Used for calibrating charge and discharge limits.
- R9, R15 (100kΩ Resistors): Provide hysteresis to prevent relay chatter.
- C3, C4 (10µF Electrolytic Capacitors): For regulator input/output stability.
- C1, C2, C5, C6 (100nF Ceramic Capacitors): Noise decoupling for Op-Amp inputs.
Hardware:
- Aluminum Enclosure: Conductive housing for the final build.
- Voltage Reader: Digital display for battery monitoring.
- 3x 1800mAh Batteries & 3x 5V Solar Panels.
Downloads
Circuit Design and Theory
Understanding the Analog Logic Description:
The brain of the system is the LM324 Quad Op-Amp. I used two of its four stages as comparators:
- Solar Cut-off (U1A): Compares battery voltage via RV1. When the battery is full, Q1 (BC558) activates Relay K1 to disconnect the solar ground.
- Load Cut-off (U4A): Monitors deep discharge. If the battery falls below the limit set by RV2, Q2 (BC547) switches Relay K2 to turn off the load. I included R9 and R15 (100kΩ) for hysteresis to ensure the relays don't switch rapidly (chatter) when the voltage is right at the threshold.
Downloads
Prototype and Calibration
Breadboarding and Threshold Tuning Description:
Before moving to the final build, I assembled the circuit on a breadboard. I used a variable power supply to simulate the battery voltage.
- Adjusting RV1: I set the power supply to 12.6V (full) and turned RV1 until the solar relay clicked off.
- Adjusting RV2: I dropped the supply to 10.5V (low) and adjusted RV2 until the load relay disconnected.
- Hysteresis check: I ensured the 100kΩ resistors provided a stable 'swing' so the system remained steady.
Enclosure Fabrication and Assembly
Preparing the Aluminum Chassis Description:
I chose an aluminum enclosure for its durability and heat dissipation. I drilled cutouts for the voltage reader, the main toggle switch, and the USB/12V outlets. Important Note: Because aluminum is conductive, I had to ensure the L7805 regulator and the PCB were properly insulated from the chassis to avoid ground loops or short circuits. And also i add another L7805 regulator for take 5v out for the 5v phone charger outlet(USB). Then I stick a insulating black color sticker on enclosure to get a good look.
Final Testing and Troubleshooting
Real-world Calibration and Lessons Learned Description:
The final assembly in the metal box showed some slight variations compared to the prototype. I had to recalibrate RV1 and RV2 slightly to account for the voltage drop in the internal wiring. The system now successfully charges via the 5V solar panels and provides a safe, regulated 5V output for mobile devices and a 12V output for heavier loads.