Maximizing Solar Energy with Microcontroller Circuit

Click For Summary

Discussion Overview

The discussion revolves around designing a microcontroller circuit to maximize solar energy utilization. Participants explore various methods and considerations for optimizing energy capture from solar panels, particularly in the context of a thesis project.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related
  • Mathematical reasoning

Main Points Raised

  • One participant proposes a circuit design that uses a boost regulator and PWM control to optimize solar energy capture.
  • Another participant questions the assumption that battery voltage remains steady, suggesting that varying loads could affect optimal PWM settings.
  • Concerns are raised about how transient conditions, such as passing clouds, could impact the algorithm used for energy optimization.
  • There is a discussion about whether it is sufficient to focus solely on maximizing output current from the solar panels without considering battery voltage fluctuations.
  • Some participants suggest filtering or averaging measurements to improve stability in tracking maximum power points.
  • One participant expresses uncertainty about the relevance of battery voltage in the context of maximizing solar panel output current.

Areas of Agreement / Disagreement

Participants express differing views on the importance of battery voltage in optimizing solar energy capture, with some arguing it should be considered while others believe focusing on output current is sufficient. The discussion remains unresolved regarding the best approach to handle transient conditions and the role of battery voltage.

Contextual Notes

Participants highlight potential limitations in their assumptions about battery behavior and the effects of varying loads on PWM optimization. The discussion also reflects on the need for further exploration of measurement techniques and algorithm responsiveness.

Who May Find This Useful

Students and practitioners interested in solar energy systems, microcontroller applications, and optimization techniques in energy management may find this discussion relevant.

zafranax
Messages
15
Reaction score
0
our proposed thesis will be about solar panel..we want to design a circuit that will maximize the usage of the energy of the sun, whenever it is available in greater amount using microcontroller. we would like to ask some ideas to realize this project in order for us to complete our requirements and be able to graduate this coming march. hoping to receive your reply as soon as possible.thanks..GODBLESS.
 
Engineering news on Phys.org
Did you read this sticky, at the top of the forum?
https://www.physicsforums.com/showthread.php?t=224442
 
I did this same project when I was in college - so it's no longer available as a thesis :)

Easy, cheesy. Nah, I was stepping the output voltage up to the value of the battery bank. I used a boost regulator topology and controlled the PWM. It's a classic linear programming problem.

1. Start by assuming given PWM value will be optimal (x.nom)
2. Output a slightly higher PWM value to the boost circuit (PWM = x.nom + h)
2. Record the output current (y.high)
3. Decrement the PWM value (PWM = x.nom - h)
4. Record the output current (y.low)
5. Ascertain whether the initial guess, x.nom, was high or low using (y.high - y.low)
6. Increment decrement x.nom accordingly.
7. Goto step 2

Now, you may be thinking that I solved your problem for you - I haven't. I gave you the starting point that most people already know. The problem with this method is transients. What happens when a cloud comes by? Typically, the output shoots up as the cloud comes near and drops harshly when the cloud is overhead. How do you deal with this effect on your algorithm?

Then, there's the battery voltage. You may be thinking it's steady, but again, it's not. your job is to deliver the maximum current to the battery, but optimal PWM will change as the battery is loaded by pumps, refrigerators, whatever.

Go forth, mull it over. By now, you have the education to do an excellent job, so put your basics in place, make some theories, and test them. Leave extra inputs to your micro and make mistakes fast.

Best Wishes,

Mike Fortner
 
sophiecentaur said:
Did you read this sticky, at the top of the forum?
https://www.physicsforums.com/showthread.php?t=224442

For school projects, we generally allow them to be posted in the technical forums like EE. That's one exception in the Homework Help rules. Especially for more complex, upper-division projects.
 
Mike_In_Plano said:
Then, there's the battery voltage. You may be thinking it's steady, but again, it's not. your job is to deliver the maximum current to the battery, but optimal PWM will change as the battery is loaded by pumps, refrigerators, whatever.

I thought the fact that you only measure the current was a consequence of assuming that the battery voltage was steady during the time it takes to perturb and observe? If you maximize the output power (which would be equivalent to maximizing the current for a load with constant voltage) from the panels, wouldn't this be sufficient if your goal was to maximize charge current to the battery?

When you say the battery voltage is not steady, is that because you assume it is loaded with equipment that draws some kind of high frequency pulsed current or something of that sort?
 
It's not my place to do this work, and your answers don't have to be perfect. Perfection is the enemy of good. But, it's good to see what you can do to address these very real situations.

You have a method to ascertain improvements in x.nom. Must you react at every measurement, or can you filter / average the new value for x.nom? Is there an optimal sample rate to ignore an inverter (100 or 120Hz ripple)? Does your tracker react quickly or slowly? Does it decide when changes are excessive (Cloud)? Does it use a feed-forward measurement to compensate / ignore anything?

Again, it doesn't have to be perfect - especially if a feature will make the project late. Just consider what gives you a good, stable tracker. Make mistakes quickly.

- Mike
 
Mike_In_Plano said:
It's not my place to do this work, and your answers don't have to be perfect. Perfection is the enemy of good. But, it's good to see what you can do to address these very real situations.

You have a method to ascertain improvements in x.nom. Must you react at every measurement, or can you filter / average the new value for x.nom? Is there an optimal sample rate to ignore an inverter (100 or 120Hz ripple)? Does your tracker react quickly or slowly? Does it decide when changes are excessive (Cloud)? Does it use a feed-forward measurement to compensate / ignore anything?

Again, it doesn't have to be perfect - especially if a feature will make the project late. Just consider what gives you a good, stable tracker. Make mistakes quickly.

- Mike

Admittedly I'm drunk, but still -- I can't really relate your reply as to why the battery voltage matters when you're trying to track the maximum power point of the solar panel. Why is it not enough to ignore the battery voltage and simply focus on maximizing the output current of the solar panels? Unless you perturb and observe at a turtle's pace, I can't see how the battery voltage enters the equation.
 
thanks for the replies..i actually getting something in your ideas..im looking forward for more ideas..as of now we are planning to program a module for our microcontroller that maximize the usage of energy from the sun for our thesis project..GODBLESS
 
gnurf said:
I thought the fact that you only measure the current was a consequence of assuming that the battery voltage was steady during the time it takes to perturb and observe? If you maximize the output power (which would be equivalent to maximizing the current for a load with constant voltage) from the panels, wouldn't this be sufficient if your goal was to maximize charge current to the battery?

When you say the battery voltage is not steady, is that because you assume it is loaded with equipment that draws some kind of high frequency pulsed current or something of that sort?

Yes Gnurf I agree. For the purpose of battery charging it is sufficient to just maximize the current.

BTW. Mike's post following your post does not appear to be a reply to your post. This is just a hunch, but it looks to me like a repsonse to further questions asked of Mike by the OP through the forums PM (private messaging) feature.
 

Similar threads

  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
35
Views
8K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K