The problem
A DC-DC boost converter with MPPT for solar panels is a step-up switching circuit that holds a solar panel at the voltage where it delivers the most power and raises that voltage to the level a 12 V battery needs. An Arduino Nano measures the panel voltage and current, runs a perturb-and-observe search for the maximum power point, and adjusts the MOSFET duty cycle to stay near that point as sunlight changes. A small panel in weak light often produces too little voltage to charge a 12 V battery directly, so its energy goes unused even though the panel is still generating power. This project solves it in one low-voltage bench build: the boost stage steps the panel voltage up to the battery charging voltage, while the MPPT loop keeps the panel loaded at its maximum power point instead of at an arbitrary voltage. The result is a working solar charger for outdoor testing under sunlight, explainable from first principles.
10 W panel feeds about 12 V into the converter.
Follow the working sequence
How it works
This build works as a closed loop from sunlight to stored charge: the panel feeds the boost stage, sensors report voltage and current, the Nano searches for the maximum power point, and the duty cycle moves the panel there while the output charges the battery. A boost converter trades current for voltage: ideally Vout = Vin / (1 - D), so a longer MOSFET on-time raises the output voltage while output current falls by the same ratio. Each cycle the Nano compares panel power with the previous reading and steps the duty cycle by 1% (design target) toward higher power. While the MOSFET is on, panel current ramps through the inductor, storing energy in its magnetic field; when it turns off, the inductor voltage reverses and pushes it through the diode into the output capacitor and the battery. The LCD shows the latest readings, and the limiter caps the output at the absorption voltage as the battery fills.
- Sunlight falls on the 10 W solar panel and the panel produces DC voltage and current that vary with light level and temperature.
- The INA219 sensor measures panel voltage and current and reports them to the Arduino Nano over I2C, while a resistor divider reports the battery voltage.
- The Nano multiplies panel voltage by panel current to get instantaneous power and compares it with the power measured at the previous duty cycle.
- The perturb-and-observe loop steps the PWM duty cycle by 1% (design target) in the direction that increased power, or reverses direction when power fell, holding the panel near its maximum power point.
- The PWM signal drives the IRFZ44N MOSFET gate: while the MOSFET is on, the inductor stores energy, and while it is off, the inductor releases that energy through the Schottky diode into the output capacitor at a higher voltage.
- The boosted output charges the 12 V lead-acid battery up to the 14.4 V absorption limit (design target), then holds a 13.8 V float level (design target), while the LCD shows panel voltage, panel current, output voltage and charging power.
Tech stack:
- Arduino Nano (ATmega328P · 5 V · 16 MHz)
- IRFZ44N N-channel MOSFET · heatsink
- Toroidal power inductor · 100 µH (design target)
- Schottky diode · 3 A (design target)
- INA219 voltage and current sensor
- 16x2 LCD display
- Arduino IDE
- 10 W solar panel · 12 V nominal
| Parameter | Value |
|---|---|
| Solar panel | 10 W · maximum-power voltage approximately 12 V (design target) |
| Input voltage range | 9–13 V (design target operating range) |
| Controller | Arduino Nano · ATmega328P · 5 V · 16 MHz (datasheet) |
| MPPT algorithm | Perturb and observe · duty-cycle step 1% (design target) |
| Switching frequency | Approximately 31 kHz · Timer1 PWM (design target) |
| Power switch | IRFZ44N · 55 V · 49 A · 17.5 mΩ (datasheet maximum ratings) |
| Inductor | Toroidal · 100 µH (design target) |
| Output diode | Schottky · 3 A (design target) |
| Absorption voltage | 14.4 V (design target) |
| Float voltage | 13.8 V (design target) |
| Charge current limit | 1 A (design target) |
| Battery | 12 V lead-acid · 7 Ah recommended (design target) |
| Display | 16x2 character LCD · panel voltage · panel current · output voltage · power |
| Sensing | INA219 · panel voltage and current over I2C |
Project features
This build combines four capabilities that a plain solar charger does not offer: perturb-and-observe maximum power point tracking, a boost power stage built from a toroidal inductor and a MOSFET switch, battery-aware charge limiting, and live LCD readout of every electrical quantity. The Arduino Nano samples panel voltage and current, multiplies them to get instantaneous power, and nudges the PWM duty cycle one step, keeping the change when power rises and reversing it when power falls. The power stage stores energy in the inductor while the MOSFET is on and releases it through a Schottky diode into the output capacitor while it is off, raising the output above the panel voltage according to the duty cycle. Firmware caps the output at the absorption voltage and stops charging when the battery is full, while the LCD shows all four readings at a glance. Together they turn a small panel and a bench battery into a complete solar charger.
- [Perturb-and-observe MPPT] The Nano perturbs the PWM duty cycle by a 1% step, measures the resulting panel power, and keeps the direction of change while power rises, reversing it when power falls, so the panel stays near its maximum power point as sunlight changes.
- [Boost power stage] A toroidal inductor, an IRFZ44N MOSFET switch, a Schottky diode and an output capacitor step the panel voltage up to the battery charging voltage, with the output following the duty cycle instead of the raw panel voltage.
- [Battery charge limiting] Firmware caps the output at the 14.4 V absorption voltage (design target), drops to a 13.8 V float level (design target) when the battery is full, and limits charge current to 1 A (design target).
- [Live LCD readout] A 16x2 LCD shows panel voltage, panel current, output voltage and charging power, so the MPPT tracking and the boost action are visible without a multimeter or a computer.
- [Panel and output sensing] An INA219 sensor measures panel voltage and current over I2C, and a resistor divider monitors the battery voltage, giving the controller the two quantities the MPPT loop and the charge limiter need.
- [Adjustable tracking step] The perturb step size and the starting duty cycle are firmware constants, so the tracking speed can be tuned for fast-changing cloud cover or for steady sunshine during a demonstration.
- [Reverse-current blocking] The output Schottky diode blocks the battery from discharging back into the panel at night or when the panel is shaded, so the battery holds its charge with the panel connected.
What is included
- Working boost converter MPPT prototype (Arduino Nano, toroidal inductor, IRFZ44N MOSFET, Schottky diode, INA219 sensor, 16x2 LCD, 10 W solar panel)
- Complete firmware source code with perturb-and-observe MPPT and charge limiting
- Circuit and wiring diagrams with terminal-by-terminal connections
- Component list with part numbers and datasheet references
- Setup and calibration instructions, including the voltage-divider and current-sensor checks
- Project report PDF (background, methodology, boost-converter arithmetic, MPPT behaviour)
- PPT presentation for final review
- Viva Q&A preparation document (boost topology, MPPT, MOSFET switching, battery charging)
Limitations & prerequisites
- A boost stage can only step voltage up, never down: the demo panel is chosen with a maximum-power voltage near 12 V, below the 14.4 V charging voltage, and a panel with a higher operating voltage would need a buck stage instead.
- Perturb-and-observe tracking oscillates slightly around the maximum power point and can lose track briefly under fast-changing cloud; no efficiency figure was measured on this exact unit, so none is claimed.
- This is a demo-scale 10 W, 1 A (design target) bench charger, not a household solar charge controller: it cannot charge a home inverter battery bank or run mains appliances.
- Sensor readings carry the INA219 and resistor-divider tolerances and depend on calibration; the LCD values are indicative readings for demonstration, not laboratory measurements.
- The charge profile suits 12 V lead-acid batteries only; lithium-ion, LiFePO4 and 24 V systems need different voltage profiles and are not supported by this firmware.
- Solar output depends on weather, time of day and panel angle, so indoor testing under a lamp gives different readings from outdoor sunlight and must not be presented as sunlight performance.
- A lead-acid battery can deliver a large short-circuit current: the build includes a fuse on the battery lead, and the wiring must be checked with a multimeter before the battery is connected.
Frequently Asked Questions
How is this different from the bidirectional EV converter page?
This project is a one-way solar charger, while the EV converter page covers a bidirectional vehicle charger that moves power in both directions between a battery and a load. This build only ever moves power from the solar panel to a 12 V battery, at low-voltage DC, with no AC stage and no vehicle connection. The EV page instead handles charging and discharging a vehicle battery pack, which needs bidirectional switching, a different control problem and a different safety case. The two projects share the word converter but solve different problems: harvesting the most power from a small solar panel versus moving energy both ways for a vehicle.
How does perturb-and-observe MPPT actually find the maximum power point?
It searches by trial and measurement: the controller nudges the converter duty cycle one small step, measures the new panel power, and keeps stepping in the same direction while power rises. A solar panel has one voltage at which voltage times current is highest, and that voltage moves with sunlight and temperature, so a fixed duty cycle cannot stay on it. When a step makes power fall instead of rise, the controller reverses direction, which keeps the operating point hunting in small steps around the peak. Builder note: the bench build starts at a 50% duty cycle with a 1% perturb step, a compromise chosen during the build so the tracker follows a passing shadow without hunting visibly on the LCD.
Why use a boost converter instead of connecting the panel straight to the battery?
Because a direct connection pins the panel at the battery voltage, which is almost never the panel's maximum power point, and it cannot charge at all when the panel voltage falls below the battery voltage. In weak light a small panel still generates power but at too low a voltage to push charge into a 12 V battery, so that energy is simply lost with a direct connection. The boost stage lifts the panel voltage to the 14.4 V absorption level (design target) while the MPPT loop holds the panel at its best operating point. The combination therefore harvests power in light conditions where a direct connection would deliver nothing.
What panel and battery does the demo use?
The demo uses a 10 W solar panel with a maximum-power voltage near 12 V (design target) and a 12 V lead-acid battery of 7 Ah recommended (design target), with charge current limited to 1 A (design target). A larger panel can be fitted only with a redesign: the inductor, MOSFET, diode and fuse must be re-rated for the higher current, and the firmware limits must be changed to match. The battery must stay a 12 V lead-acid type, since the 14.4 V absorption and 13.8 V float setpoints (design targets) are specific to that chemistry. Other battery chemistries need different voltage profiles and are not supported.
Can the charging voltage or the MPPT step size be changed?
Yes, both are firmware constants that can be edited in the Arduino sketch and re-uploaded to the Nano, without changing any hardware. The absorption voltage, float voltage and charge-current limit are set as named constants at the top of the sketch, and the perturb step size is a single constant alongside them. The voltage setpoints must only be changed to values that suit the connected battery chemistry, because holding a lead-acid battery above its absorption voltage causes gassing and water loss. Any change should be verified with a multimeter on the output before the battery is reconnected.
Is this project suitable for a final-year project?
Yes — for Electrical, Electronics and Renewable Energy programs, because it combines power electronics, control theory, embedded programming and solar energy in one working bench-scale charger. It demonstrates the boost topology, the perturb-and-observe loop, embedded programming on the Arduino Nano, and solar energy through real outdoor testing under sunlight. The build is small enough for one team to assemble and explain end to end, yet the MPPT behaviour is a genuine engineering problem rather than a wiring exercise. The boost voltage relation Vout = Vin / (1 - D) gives the viva a derivation to walk through, and the LCD readings give concrete numbers to discuss.
Components & software requirements
- Arduino Nano (ATmega328P · 5 V · 16 MHz)
- IRFZ44N N-channel MOSFET · heatsink
- Toroidal power inductor · 100 µH (design target)
- Schottky diode · 3 A (design target)
- INA219 voltage and current sensor
- 16x2 LCD display
- Arduino IDE
- 10 W solar panel · 12 V nominal
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.