element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Vertical Farming
  • Challenges & Projects
  • Design Challenges
  • Vertical Farming
  • More
  • Cancel
Vertical Farming
Blog Modular Farm Blog: Post 10 - Solar Energy Part II
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jmbranco76
  • Date Created: 12 Oct 2015 10:54 PM Date Created
  • Views 634 views
  • Likes 2 likes
  • Comments 2 comments
  • modular_farm
  • hydroponic
  • net_zero_energy_farming
  • grow_sharp
  • solar_energy
Related
Recommended

Modular Farm Blog: Post 10 - Solar Energy Part II

jmbranco76
jmbranco76
12 Oct 2015

Hi vertical farmers,

 

In the previous post we presented our Maximum Power Point Tracking (MPPT) solar module converter hardware. We described the circuitry, the measured variables and the sensors used.

 

On this post we will go deeper into the algorithmic approach to extract the maximum available power from the solar panel keeping an eye on the battery charge condition to avoid stress factors that can reduce battery lifetime and lead to premature battery failure.

 

MPPT Topology

We are using a buck converter controlled by a duty cycle generated by Silicon Labs EFM32ZG board running the MPPT algorithm. This topology presents a linear voltage transfer function with the duty cycle. In this way we can modify the solar panel operating voltage to maximize its power output.

The maximum available power extractable from the solar panel depends mainly on the load, the irradiance levels and the temperature. The MPPT relates essentially with the operating load conditions.

 

The Algorithm

There are several algorithms available ranging in complexity and required measurement variables. We will use one of the most popular and simple algorithms for the MPPT for now, the Perturb and Observe (P&O). It consists on introducing a small perturbation on the panel operating voltage by changing the converter duty cycle and checking the result on instantaneous power. If the power increases, the sweep is maintained on the duty cycle otherwise a perturbation on the opposite direction is introduced. This is a continuous process and even when the maximum power point (MPP) is reached the algorithm will oscillate around the correct value wasting a small amount of energy. This is a small disadvantage for a simple and robust algorithm compared with much more complex algorithms allowing a marginal increase on the extractable power. Since we are never using full power to charge the battery due to the allowed current charging rates this becomes a good trade-off.

To implement the P&O algorithm only the solar voltage and the solar current are required to be measured. Nevertheless because we need to take care of the battery charging conditions we need to monitor as well battery voltage and current.

This means we measure all the required variables to run more complex MPPT algorithms if required. At the moment this is out of the scope for this competition.

 

image

Figure 1. Perturb and observe (P&O) algorithm flowchart.

 

Our Battery

Our battery is composed by four lithium-ion cells of 10 Ah connected in series to reach an output voltage of about 13 V. The cell specifications are shown on table 1.

Those cells withstand fast charge current rates of 2 C (20 A) meaning they would go from no charge to full charge in half hour. But we will adopt the recommended charge rate of 1 C (10 A) to avoid some temperature stress on the cells and extend their life cycle. In this way the maximum instantaneous charge power allowed will be approximately 130 W. So our algorithm should protect the batteries from charging at higher current ratios and from overcharging when full charge is reached.

 

Table 1. Cell Specification

image

 

Implementation

This was certainly the most challenging part till so far. We decided to build a prototype for debugging functionality prior to invest on making and assembling a more definitive PCB. We were struggling with all kind of unexpected problems like intermittent failures, bad readings or circuit oscillations. It took a good dose of patience and a lot of improvements related wiring, reducing current loops, filtering oscillations, MOSFET driving optimizing until we could measure reliably all the data over the solar panel full voltage range. And this is still ongoing.

We will make a break on this topic as it is more than advisable to port the design to the designed PCB. In this way we will take the time to build and assemble a new MPPT prototype based on the designed PCB.

Nevertheless we would like to share some of the achievements till so far.

 

Data Logging

We were able to log the solar panel voltage and current as well as the charge battery voltage and current and the control signal (PWM).

We used the EFM32ZG virtual COM port and a serial terminal to read the data. An example of the logged data is shown on the following image:

 

image

Figure 2. Log file of solar panel voltage, current and power named Svolt, Scurr and Spower respectively.

 

The collected data is plotted on Figure 3.

 

Graphs

image

Figure 3. MPPT plots.

 

The solar panel with a dimension of 992 x 1968 cm was under direct sunlight for more than a minute. After that, a strip of 15 x 992 cm was covered with an opaque material for about 15 seconds. The covered area was then doubled during the next 20 seconds (Partial Shading 2).

From Figure 3 we can conclude the following:

  • The algorithm initially takes a few seconds before reach the MPPT for the desired charging voltage. The plotted battery voltage is actually the voltage on the anode of a diode placed between the circuit and the battery. Therefore, the voltage is decoupled from the battery voltage when the output voltage of the MPPT is below the charging voltage.
  • The circuit respects the maximum charge voltage of 15 V. This value is an input parameter to the MPPT.
  • During Partial Shading 1 and 2 the value of the converter duty cycle (PWM) is adjusted to control the output voltage being able to charge the battery. During a strong shading the panel voltage was too low to charge the battery. The duty cycle reaches 100% during this moment and the output voltage is almost equal to the solar panel voltage.

 

As always if you have any questions or comments please feel free to comment this post.

 

Thanks for following and keep connected!

  • Sign in to reply
  • jmbranco76
    jmbranco76 over 9 years ago in reply to DAB

    Hi DAB


    we have different configurations possible. The MPPT is there only to maximize the extractable panel energy. We use mainly the measured solar power for this purpose (with P&O algorithm). On the other side we have the battery and our Modular Farm Setup as shown on the following figure:

    image

    The consumption profile of our system will be evaluated once everything is functional but it will change dynamically, being  the main power consumption elements the LEDs and the Water pumps.


    The battery have a  limited maximum charge rate and available capacity. It has a capacity of 10Ah with an average output voltage of about 12.8V. So if we run the system only on battery we can supply 128W for one hour or 12.8W for 10 hours. Is this a limitation ?! Probably yes, but we will evaluate and adapt our power consumption to avoid run out of energy, optimize our system efficiency and at the end we may conclude we need a different battery capacity.


    With simple arithmetic we can get the instantaneous power generation, the energy being stored and the energy consumption of our modular farm.


    If the battery reaches full charge it will be switched off from the system by the BMS to avoid overcharge and the power converter will just supply the system power consumption. On this stage the MPPT will not work as such and will just control the voltage that supplies the modular farm system matching its consumption in this way.


    All the stored energy will be used by our system. The BMS can integrate and indicate the energy stored on the battery. With this setup we do not have a fixed rate for storage and for consumption for the collected energy.


    Please let me know if you still need further clarification.


    Thanks,


    José


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 9 years ago

    I understand the MPPT concept, but I am still confused as to how much of the available solar energy is actually being captured for reuse.

     

    If you have 1 Watt per square meter of solar array, then you should be able to collect one watt/hour of energy for one hour of exposure time.

    So how does that translate into your charging circuit and storage circuit as you pull the energy out of your storage  for later use?

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube