Bi-directional Watt Meter - Page 1
Forum section: electronics / general

author: snipersquad100
author_rank: Frequent Contributor
timestamp: September 29, 2018, 03:33:05 pm
content: Can anyone tell me how I can monitor the direction of the current going to and from my electric meter?I got a watt meter on the positive cable but I don't know if it's coming from the grid or going to the grid via my solar panels.my solar setup is DIY so no fancy grid tie inverter telling you the whole picture.Thank you.

author: David Hess
author_rank: Super Contributor
timestamp: September 30, 2018, 03:11:47 am
content: The phase between the current and voltage reverses 180 degrees when power is reversed so you need a better watt meter.

author: Brumby
author_rank: Unknown
timestamp: September 30, 2018, 03:47:26 am
content: The old fashioned electromechanical disc meters were good at this. They would run backwards if you were feeding power back into the supply network.

author: snipersquad100
author_rank: Frequent Contributor
timestamp: October 01, 2018, 01:26:39 pm
content: Yes, those turning disc meters were great, I wish I still had one.David Hess, No shit. a better meter is what I'm asking advice for.Why are you answering a question I never asked? "The phase between the current and voltage reverses 180 degrees when power is reversed" I know what a sinusoidal waveform looks like, you fucking idiot.

author: JPortici
author_rank: Super Contributor
timestamp: October 01, 2018, 02:04:34 pm
content: dude, chill.

author: dmills
author_rank: Super Contributor
timestamp: October 01, 2018, 03:24:52 pm
content: Current transformer to get the current waveform, small centre tapped mains transformer to provide the voltage reference, a diode ring mixer to do the multiplication, lowpass and display on a centre zero moving coil meter, job done?Use the mains voltage reference to switch the diodes in the mixer (Effectively use it as the LO), and feed the current transformer output in where the RF would normally go, moving coil meter goes across the IF (DC coupled) output.73 Dan.

author: fourtytwo42
author_rank: Super Contributor
timestamp: October 01, 2018, 04:31:55 pm
content: Quote from: dmills on October 01, 2018, 03:24:52 pmI saw you post this idea somewhere else and I am intrigued, wouldn't this require a center tapped ct ?All the 50hz split core ct's I have seen used in this application are single winding, no center tap.

author: Simon
author_rank: Unknown
timestamp: October 01, 2018, 04:37:59 pm
content: Quote from: JPortici on October 01, 2018, 02:04:34 pmHe will be chilling for 2 days!

author: dmills
author_rank: Super Contributor
timestamp: October 01, 2018, 05:52:11 pm
content: Quote from: fourtytwo42 on October 01, 2018, 04:31:55 pmDivide the burden resistor for the CT into a series pair and use the junction (it will be small compared to the scaling resistor for a 50uA or so movement anyway), I see no reason to think it would not work, yea, a few tens of uA DC in the cores, but meh.The little mains transformer does of course need a centre tap, but that is trivial.What is more interesting to consider is the possibility of eliminating the mains transformer and doing the thing with a cap divider and equalising resistors, it would all be live chassis, but I think it would probably still work.Regards, Dan.

author: schmitt trigger
author_rank: Super Contributor
timestamp: October 01, 2018, 06:04:50 pm
content: Some of the power meter ICs from Analog Devices have a "reverse power" output precisely for this scenario.

author: fourtytwo42
author_rank: Super Contributor
timestamp: October 02, 2018, 10:03:13 am
content: Quote from: dmills on October 01, 2018, 05:52:11 pmThank you Dan I should have thought of that as I often use divided burdens to avoid a full bridge rectifier! I am certainly going to give this method a go because my present system (sampling mpu) has trouble discriminating direction with light distorted loads such as ccfl's. I have a gut feel this simple analogue solution is much betterRegardsFourtytwo

author: richard.cs
author_rank: Super Contributor
timestamp: October 02, 2018, 10:21:19 am
content: I have done analogue ac power measurement as part of a solar dump load board I built, in this case the voltage and current signals were scaled and preconditioned with op-amps and fed into an AD633. The real power resulting has a strong 100 Hz component which is then filtered to DC. In my device this was used to provide a monitoring output, and also integrated (again in analogue) to track energy use within a 1 Watt-Hour window. Not the cheapest approach but it works very well. I've been meaning to post a write-up on here for over a year and not got around to it.For a simple visual indication of power I do rather like dmills idea of mixer with mains-derived LO. It seems a very elegant approach and I see no reason that splitting the burden to get a virtual centre tap should not work.

author: dmills
author_rank: Super Contributor
timestamp: October 02, 2018, 10:29:10 am
content: Anything has trouble at low loads, just because the magnitudes become rather puny.CCFLs (And LED lights with built in switchers) can be notoriously harmonic rich and sometimes of surprisingly piss poor power factor, I would expect to be having to sample at well over 1kHz do get these right with a digital solution.A log reading meter might be an idea (Read out in dBW!), much easier to see the small stuff.You will want the LO drive to be large compared to the burden voltage from the CT, and probably want the CT voltage to be small compared to two diode drops, but that should not be a problem.Regards, Dan.

author: fourtytwo42
author_rank: Super Contributor
timestamp: October 02, 2018, 02:19:57 pm
content: I tried the circuit (enclosed) and got a result shown here (pdf) but the output doesn't discriminate between leading and lagging phaseHave I made an error maybe ?

author: In Vacuo Veritas
author_rank: Frequent Contributor
timestamp: October 02, 2018, 02:32:36 pm
content: Quote from: snipersquad100 on October 01, 2018, 01:26:39 pmMale menopause, huh?

author: richard.cs
author_rank: Super Contributor
timestamp: October 02, 2018, 02:34:39 pm
content: Quote from: fourtytwo42 on October 02, 2018, 02:19:57 pmNo, it doesn't do that because it's projecting a two dimensional quantity onto a one dimensional output. It gives you the magnitude and sign of the real component of the power which is sufficient to do whatyouthe OP originally asked for, know whether power is flowing into or out of his house through the electric meter. Leading and lagging phase by the same amount affect the real power by the same amount so you don't see it in the output, and for the application given is unimportant. A normal domestic electric meter only records the real component.If you want to know the reactive component you could build a second one with the voltage reference at 90 degrees (you would have to shift it with more components, although in simulation you can just add 90 degrees) then that one would give you the magnitude and sign of the reactive power and you would have the full set of information.

author: fourtytwo42
author_rank: Super Contributor
timestamp: October 02, 2018, 02:40:40 pm
content: Quote from: richard.cs on October 02, 2018, 02:34:39 pmOoops please don't confuse me with the banned OP! I only hijacked the thread to carry on the discussion but thank you for your explanation I will go away and cogitate

author: richard.cs
author_rank: Super Contributor
timestamp: October 02, 2018, 04:04:14 pm
content: Quote from: fourtytwo42 on October 02, 2018, 02:40:40 pmSorry about that.Thanks for modelling it by the way, though I think some of the currents need re-scaling to get something that would work with real components, the BAT54s won't like that amount of current and it's not really needed.

author: dmills
author_rank: Super Contributor
timestamp: October 02, 2018, 04:52:28 pm
content: Yea, 1k or so in series with each of the mains transformer outputs would seem to be indicated...I make it about 950mV of output with power flowing one way, -950mV with power flowing the other with 100R limiting the diode current in each leg of the transformer, and whatever the CT is that you are simulating.I would add a trimmer somewhere to trim the zero because the phase shift thru the transformer will cause some offset.Looks reasonably usable, but you are grossly over driving the diode ring with 5V out of the CT, try more like a hundred mV, linearity will be much improved.

author: dmills
author_rank: Super Contributor
timestamp: October 02, 2018, 08:35:41 pm
content: Been playing, and here is another variant, a '3904 and '3906 as switches this time, but no need for the centre tapped voltage reference transformer.The nice thing is that by replacing the base resistor with a cap dropper you can probably get near enough 90 degrees phase shift if you want to look at reactive power instead.I think you can probably (at the cost of two more transistors and a couple of caps) come up with something having both real and reactive indication outputs.I am thinking an EDN circuit ideas submission?Regards, Dan.

author: station240
author_rank: Unknown
timestamp: October 03, 2018, 02:41:53 am
content: Quote from: fourtytwo42 on October 02, 2018, 02:40:40 pmOP isn't banned, just in 'the cooler' for 2 days.Not that I blame him, having in the past gotten academic replies to simple questions like "so what does your project do ?", and no I never did get a coherent reply to that question, even after 3 attempts.Maybe when the OP returns I might have something of use to him.

author: schmitt trigger
author_rank: Super Contributor
timestamp: October 03, 2018, 01:04:06 pm
content: I understand the OP's frustration, because similar situations have happened to me.But he did not have to use foul language.Anyways, across the many forums for many topics which I have lurked over the past 10 years, my impression is that the discourse has become angrier and angrier.

author: fourtytwo42
author_rank: Super Contributor
timestamp: October 03, 2018, 02:11:09 pm
content: Quote from: dmills on October 02, 2018, 08:35:41 pmThat is really cool Dan, I didn't get a chance to further play with the other after the suggestions here but this one is just Wowww!! I was thinking about how to use my existing non-centre tapped voltage trafo without consuming to much power and you just fixed it for meThank you kind sir and I would definitely rate that an EDN circuit ideaRegards, John

author: dmills
author_rank: Super Contributor
timestamp: October 03, 2018, 02:36:27 pm
content: Note that this is more of a phase sensitive ammeter then a true power meter, as the transistors operate in saturation as switches rather then as a true multiplier.As long as you know the supply voltage you can scale for real power, but it will not for example read half as much on a 120V circuit as it does on a 240V one at a given current, but that is probably acceptable for most uses.Regards, Dan.

author: fourtytwo42
author_rank: Super Contributor
timestamp: October 03, 2018, 05:44:52 pm
content: Quote from: dmills on October 03, 2018, 02:36:27 pmYes I see that but I think for both me, the OP and many other GTI people we are interested in the direction rather than super accurate power readings. IMOP this simple circuit replaces acres of complex software! In my case I have had real trouble on a simple micro dealing with all the weird current waveforms generated by various bits of domestic kit and here we have a simple analogue low pass filter that will integrate the lot and spit out a reliable result without a line of code, ohh utopia indeedOnce again Dan thankyou for your simple solution

author: dmills
author_rank: Super Contributor
timestamp: October 03, 2018, 08:14:36 pm
content: There is sometimes a tendency to do in many kB of code what can be done in trivial hardware with less thought involved, I hope Widlar would have approved.Do make good and damn sure that this thing actually does what you need, I have not exactly tested it. There is a bit of a dead band around voltage zero crossing before the opposite transistor turns on, and I think the bipolar version is actually a switched halfwave rectifier in effect....Mosfets (but watch for the body diode) might make better switches being as a mosfet in conduction is bidirectional, or even jfets, but I had one hell of a time getting that to work without some small offset in spice, and the things tend to be horribly badly matched.Finally, remember that spice is good at telling you what will NOT work, but can be fairly poor at indicating what will, you need to actually build the thing and verify it.

author: snipersquad100
author_rank: Frequent Contributor
timestamp: December 10, 2018, 06:06:26 pm
content: I'm Back

author: Miyuki
author_rank: Frequent Contributor
timestamp: December 10, 2018, 07:58:52 pm
content: Quote from: snipersquad100 on October 01, 2018, 01:26:39 pmI still have oneThey are still used here in countryside with overhead power lines as they are fairly robustWonder if it is still cheaper to made than digital one