This guide will help you to choose the right solar kit for your IoT.
Every place on earth performs differently when it comes to solar panels. The reason for that is related to the amount of sun, clouds, shadow, ... for that specific place.
You can find out quickly how your solar panel will perform in reality by using historical data. The website solarelectricityhandbook.com allows you to check out the data easily for almost every location in the world.
We used the 'Optimal Year Round' setting to have the best performance in every season of the year.
Solar irradiance for Ghent, Belgium (source)
If you look at the months we see that December has the lowest amount of sunlight available for Ghent, Belgium: 1030 KWh/m²/day.
Tip: Always use the lowest values to make sure it works in even the worst possible conditions.
Now that we know how much sunlight is available we can select our solar kit. The technology used in the solar panel plays a roll in how efficient the solar panel is (how much sunlight will be converted into electricity). Those information should be available in the datasheet of the solar panel provided by the manufacturer. However, our manufacturer didn't provide a detailed datasheet with this information so we used the following chart to determine the efficiency:
Solar efficiency for each technology through the years (source)
We are using a 'Single Crystal' solar panel, the current efficiency is around 25-27 %.
- Measure the voltage of each component that will be connected to the battery charged by the solar panel.
- Do the same with for the current of each component.
- We should calculate how much power in Watt's our device will use, this can be done pretty simple using the following formula:
Power P = Voltage V * Current I
Do this for every device that will be connected to the battery and take the sum of it. For example:Device Voltage Current Power Raspberry Pi A+ 5 V 0.15 A 0.75 W TP-Link TL-MR6400 (4G router) 12 V 0.15 A 1.80 W TOTAL: 2.55 W power consumption for all the devices connected to the battery.
- Now we need to take the efficiency of the solar panel and DC-DC convertor into account. Since our battery works on 12 V we need to convert it into 5 V to power the Raspberry Pi A+. These convertors have an efficiency between 75-85%. To combine the efficiencies you need to multiply them:
TOTAL EFFICIENCY = PANEL EFFICIENCY * DC-DC EFFICIENCY
We will do this for our example above: TOTAL= 0.25 * 0.75 = 0.19 (19 %)
Tip: Always use the lowest values to make sure it works in even the worst possible conditions.
-
Do you want to run the device 24/24 or not? The amount of hours/day is important to determine how much the devices will consume of the battery. In our case, the device only needs to running during the day (12 hours).
-
The actual size of the solar panel is determined by the efficiency, the power consumption of the devices, the amount of sunlight available for your location and how long the devices need to be active, let's bring them together! Convert the power consumption calculated in step III to Wh/day with this formula:
POWER USED DAY = POWER CONSUMPTION * HOURS OF OPERATION
In our example: CONSUMPTION EACH DAY = 2.55 W * 12 hours = 30.6 Wh/day We use the famous 'Rule of Three' for this. For example: But we forgot something! The efficiency we calculated in [step III.5](#iii-calculating-the-solar-panel-size)! We can do that using this formula:Available power Panel size 1030 Wh/day 1 m² 1 Wh/day 0.000970874 m² 30.6 Wh/day 0.029708738 m² ACTUAL SIZE = CALCULATED SIZE * TOTAL EFFICIENCY * CHARGER EFFICIENCY
For example (CHARGER EFFICIENCY = 1): ACTUAL SIZE = 0.029708738 m²/0.19 = 0.16 m² See the further for the real charger efficiency.
We selected a solar panel but we also need a battery to store the generated energy and a charger to keep the battery healthy. We will explain this using a simple example:
From the datasheet of a 80Wp solar panel:
No load voltage Nominal voltage Nominal current Short-circuit current 22.3 V 12 V 4.49 A 4.85 A If the charger has an efficiency of 100% then the nominal current (4.49 A) of the solar panel will be delivered to the battery, in the real world this isn't true of course.
Since our system is small we used a PWM based charger because it's cheap for small solar systems. You need to choose a charger that can handle the current from your solar panel and can handle the battery. Most chargers are compatible with 12/24 V lead acid batteries.
For our example we can buy a charger that can handle at least 6 A of charging current. We picked up this one: solar charger PWM.
For bigger solar systems a MPPT (Maximum Point to Point Tracker) charger is better because it's efficiency is much higher then in comparison with a PWM charger. Choosing a MPPT charger is almost the same process as with the PWM charger in the previous paragraph.
It all depends on how big you installation will be, in our case we only need to feed one device so a cheaper PWM charger is sufficient for our purpose. You can find more information here.
The size of your battery depends on how much generated energy you would like to store. We will explain the calculations using a simple example:
From the datasheet of a 12V lead acid 6.6 Ah:
Voltage Capacity 12 V 6.6 Ah In step III we did the calculations of the power consumption of our IoT, we can use that to figure out how long our IoT can run on a fully charged battery.
The capacity of a battery is defined as the as 'Ampere hour'. So the current that can flow in 1 hour is equal to 6.6 A, if our device uses 6.6 A then it runs exactly for 1 hour. To make the calculations easier we asume that the lead acid battery has a steady voltage of 12 V (in the real world this depends on the temperature, charging level, ...)
Available power capacity: 12 V * 6.6 A = 79.2 Wh
We use the famous 'Rule of Three' for this in a slightly different way then above. For example:
Power Time 79.2 W 1 hour 1 W 79.2 hours 2.55 W approx. 31 hours Using the calculations above, we determined that we need to buy a solar panel with a size of at least 0.16 m² for our example. Because we haven't no information about the charger efficiency we over dimension the solar panel a little bit. It's always advised to add some overhead as a reserve.
❗ Make sure that your IoT has a fuse between the load and the battery, some solar charges include them by default. If not, you need to get a fuse that can handle the short-circuit current of your battery. You can find more information here.