LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage RMS half cycle

Solved!
Go to solution

Looking at my example, instead of adding 20 to the value of the shift register, which holds the index, add 10.  But you need to leave the length of the sub-array to 20.  Try to figure out what to do on your own.  If you can't, someone else here will have to give you the solution because I am going out of town for a week tomorrow morning.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 11 of 12
(1,101 Views)

HI,

 

 

 

16853i73FF5FB2402E677A

 

Source: http://www.zes.com/download/application-notes/zes_applicat_105_leistungsmessung_e.pdf

 

Read 10ms (D0), calc the integral (I0) and keep that value in a shift register (init)

get the next 10ms of data (D1)

Now in a loop: while fetching the next 10ms of data (D2) calc the integral of the available 10ms D1->I1 and calc the RMS with I0,I1 and pipe the I1 in the shift register.... 

 

Sorry , a diagram would have tell more than the text and it would have been coded while typing ....currently no LV onboard...

 

Homework: How big is the error if you miss the periode of your signal? (assuming every possible start phase)

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 12 of 12
(1,087 Views)