LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Feedback loops for peak power algorithm of solar cell

Solved!
Go to solution

Hi. I have some experience with Labview but I am struggling with structures and feedback. I have an instrument that sets a load voltage and measures power. This will be connected to a solar cell which has a peak power point (see the plot in the picture). I need a simple program that will make the instrument oscillate around the peak power point. It needs to set the voltage, measure power, add an increment to the voltage, measure power, then either add or subtract voltage depending on whether the power has increased or decreased from the previous measurement. I have attached a diagram. V start and delta V will be given and fixed. I just don't know how to implement it with Labview code. Thank you for any help!

0 Kudos
Message 1 of 4
(2,500 Views)

It's nice to see you put pen to paper before you started coding. The description you gave screams to me State Machine. This structure should suit your needs. There are ton's of examples but I would start with a simple one.

Try to code one up and post questions when you get stuck.

 

Hope this helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 4
(2,495 Views)
Solution
Accepted by topic author WillB123

Hello

 

here a simulated loop of a simple peak search

 

it use shift register to memorize previous data

 

th time delay free the processor and also simulate the communication transfert with instrument

 

regards

 

Tinnitus

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
Message 3 of 4
(2,480 Views)

thank you very much, both of you

0 Kudos
Message 4 of 4
(2,457 Views)