LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

watt meter

hello guys,

i'm trying to build a circuit for calculating kwh for a dc application. can anyone help me how to build in labview , share vi if possible 

0 Kudos
Message 1 of 17
(3,805 Views)

?@MrRao wrote:

hello guys,

i'm trying to build a circuit for calculating kwh for a dc application. can anyone help me how to build in labview , share vi if possible 


  • Not all Forum participants are "guys".
  • I'm not an engineer, but even I could build such a circuit (it might not be "ideal", and a good EE would probably sneer, but it should work ...)
  • Why don't you put in a little effort, design the circuit, and you "share" it with us?  Why should we "do your work" for you?

Bob Schor

0 Kudos
Message 2 of 17
(3,775 Views)

I'm sorry for not sharing the VI screen. here i attached the VI Screen. let me know is it correct? or need to be changed.

Thanks.

2019-03-08.png   

0 Kudos
Message 3 of 17
(3,762 Views)

Wh meter for DC power

 

Well the basic formula you are using is about as good as you can do without an actual wattmeter with Ah integration. (Watts/time)

 

What exactly is your issue?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 17
(3,748 Views)

I don't see where you are doing any accumulation of the watts.  You are just taking the current power and multiplying it the amount of time the program has been running.

 

So if you had 1 kW the first hour, 2 kW the 2nd hour, 3 kW the 3rd hour, you would have used 6 kWH.    But your VI takes the latest value of kW (3) and multiplies it by 3 hours making it look like 9 kWh.

 

You probably want a shift register to accumulate your watts as you read them.

0 Kudos
Message 5 of 17
(3,747 Views)

Ravens Fan brings up a good point... I missed that. 

 

Also doing it this way you have to make a certain amount of assumptions 

 

The biggest being that you have to assume that your power is going to remain constant between measurement intervals. 

 

Depending on your source, load, and sample rate this may or may not be constant. Having done a comparison when charging a battery between calculating Ah [(V*I)/t] and actual Wh integration there was as much as a %20 difference due to the "constant power" assumption at one second intervals.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 17
(3,745 Views)

But for what it's worth, we decided that calculating was close enough for this one project and here is how I did it.

Ah2.PNGAh1.PNG

I just realized that this was calculating Amp Hours not Watt Hours...

Well it's basically the same thing (not really) but Wh = (V*I)/t instead of just I/t

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 7 of 17
(3,732 Views)

i need to find the power consumption used by the load, where consumption should be in kwh units, in this case current is not constant its varies, and what ever the value kwh is displayed in labview that should be matched with watt meter i'm using G.T. Power RC Watt for comparing with labview measurements.

 

0 Kudos
Message 8 of 17
(3,713 Views)

Is this method your trying tell me to do, please check it , and let me know, or should i take amp/hrs then multiply with load Voltage to get the watt/h. is it so let me know how to implement 

Note: Current is not constant. 

 

2019-03-09.png

0 Kudos
Message 9 of 17
(3,711 Views)

can u explain me how did you got time in hrs.

0 Kudos
Message 10 of 17
(3,709 Views)