Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 23, 2018, 01:37:07 13:37


Login with username, password and session length


Pages: [1]
Print
Author Topic: Measurement of a Dual 220V  (Read 581 times)
0 Members and 1 Guest are viewing this topic.
Silent_Thunder
Junior Member
**
Offline Offline

Posts: 63

Thank You
-Given: 35
-Receive: 17



« on: February 04, 2018, 10:28:32 22:28 »

Hi everyone;
I have a problem regarding measurement of a Dual 220V .
I hope someone could have the time a help me out, thanks in advance Smiley

the circuit attached has 2 inputs , variable from 130 ~ 240V, both have neutral in common.
the output from each branch (AN1 and AN2) goes to 2 analouge input of a microcontroller.

when I apply input only to (L_IN and neutral) I get reading from both AN1 and AN2,
almost the same value for both, which is a problem.

and when I apply input for both (L_IN and OUTPUT) with neutral in common,
I get unexpected reading cuz some times <OUTPUT> is much higher than <L_IN>.

I want to separate the out from the circuit (AN1 and AN2).

any idea how I would do that ( putting in mind that the both input voltages share the neutral)

thank you for your time, and for the help

Regards
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4062

Thank You
-Given: 627
-Receive: 2254


There is no evidence that I muted SoNsIvRi


« Reply #1 on: February 04, 2018, 11:36:05 23:36 »

Is this in real mode or in simulator ie: Proteus
Logged

Note: Did you buy a $5 key to by-pass a please invite me request   Then you forget to post in the forum, then your account maybe resticted
Silent_Thunder
Junior Member
**
Offline Offline

Posts: 63

Thank You
-Given: 35
-Receive: 17



« Reply #2 on: February 05, 2018, 12:44:30 00:44 »

this is in real mode, in Proteus everything works fine, Proteus does not sense the cross talk between the 2 inputs.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4062

Thank You
-Given: 627
-Receive: 2254


There is no evidence that I muted SoNsIvRi


« Reply #3 on: February 05, 2018, 01:06:06 01:06 »

I would suspect your wiring, if your cable is running close to each other, it might be a voltage pick up.
I remember a project that worked well in the workshop, but on site where it was placed, there was a standing voltage on the signal leads. a few ferret beads and twisted pair wiring sorted the problem, but it was puzzle as to why.
Logged

Note: Did you buy a $5 key to by-pass a please invite me request   Then you forget to post in the forum, then your account maybe resticted
Silent_Thunder
Junior Member
**
Offline Offline

Posts: 63

Thank You
-Given: 35
-Receive: 17



« Reply #4 on: February 05, 2018, 01:16:05 01:16 »

I wish it was that simple Smiley
even if I applied single AC input, I get reading on both AN1 and AN2 channels
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4062

Thank You
-Given: 627
-Receive: 2254


There is no evidence that I muted SoNsIvRi


« Reply #5 on: February 05, 2018, 01:54:25 01:54 »

are you getting a reading on both AN1 and AN2 if you take the  microcontroller out of the circuit.
if you are, then check your wiring, I still thing its mains pickup.
Logged

Note: Did you buy a $5 key to by-pass a please invite me request   Then you forget to post in the forum, then your account maybe resticted
Top
Senior Member
****
Online Online

Posts: 333

Thank You
-Given: 42
-Receive: 1662


« Reply #6 on: February 05, 2018, 02:09:11 02:09 »

When L_IN goes negative current flows through D10.

Use half-wave rectifiers and connect GND to Neutral.
Logged
kreutz
Junior Member
**
Offline Offline

Posts: 84

Thank You
-Given: 224
-Receive: 30


« Reply #7 on: February 05, 2018, 05:07:41 05:07 »

Please, make sure you let the capacitors discharge completely between tests. Even if you don't use half wave rectifiers, as suggested above, this circuit should work exactly as when simulated.
Check for conductive solder paste leftovers between AN1 and AN2 input pins of the micro-controller chip. Wiring might also be a problem as suggested by pickit2. Taking the micro controller out of the circuit is also a good troubleshooting hint. Recheck the wiring again... ground loops will also drive you crazy, check the micro controller power supply grounding and use a battery to replace it just in case.
Logged
Silent_Thunder
Junior Member
**
Offline Offline

Posts: 63

Thank You
-Given: 35
-Receive: 17



« Reply #8 on: February 05, 2018, 06:38:24 06:38 »

Thank you all for your support;
I'll modify it to half wave and see what that gonna lead me, and I will tell u what happens.
Logged
Silent_Thunder
Junior Member
**
Offline Offline

Posts: 63

Thank You
-Given: 35
-Receive: 17



« Reply #9 on: February 05, 2018, 08:55:12 08:55 »

I'd like to thank you all once again
I modified the input to half-wave rectifier, and now it works perfectly, with a small modification in calculation formula.
 Attached the new modification in case anyone came up with the same issue.


kind regards to all of you 
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4062

Thank You
-Given: 627
-Receive: 2254


There is no evidence that I muted SoNsIvRi


« Reply #10 on: February 05, 2018, 10:28:21 10:28 »

Safety note: putting an earth on the mains negative will not pass, electrical standards and approved codes of practice.
Logged

Note: Did you buy a $5 key to by-pass a please invite me request   Then you forget to post in the forum, then your account maybe resticted
enzine
Junior Member
**
Offline Offline

Posts: 71

Thank You
-Given: 359
-Receive: 40



« Reply #11 on: February 05, 2018, 10:00:01 22:00 »

In a similar case in the past I used custom measurement transformers (TV).

If you do not have stringent precision specifications, you could simply use two small power supply transformers, for example 220V / 6V ac.
Safety problems and cross-talk are solved.

Ciao
« Last Edit: February 05, 2018, 10:47:34 22:47 by enzine » Logged
Signal
Active Member
***
Online Online

Posts: 149

Thank You
-Given: 72
-Receive: 55


« Reply #12 on: February 08, 2018, 01:34:35 13:34 »

First step was to reject bridge rectifiers to allow common ground as Top pointed.

Second step is to reject C7 and C10 peak holders leaving C8 and C11 (at least 100uF each) as calculators of average amplitude that is more adequate measure than peak that is usually disturbed in real life.

Next step is to reject C8 and C11 to allow uC to calculate half-wave-true RMS. (positive side effect: much faster reaction on input changes)

Then to measure both half-waves you can use ...
... transformers as enzine suggested
... or HPF capacitor to shift "zero level to Vdd/2 before ADC inputs. (As positive side effect that variant is free from diodes as rectifier so measurement could be more precise.)
Code:
                   5VDC
                    |
                   6.8k
127VAC>--1uF--280k--|-----,---1k-->ADC
                   6.8k  10nF
                   _|_   _|_
... or opamp shifter without serial capacitor. (that variant is not justified because of next)
... or true-RMS specialized IC


Of course all above is only a theoretical exercise because I do not know the real target of that measurement.
Logged

Give a right name to a right game and play it right
jumulab
Junior Member
**
Offline Offline

Posts: 49

Thank You
-Given: 74
-Receive: 49


« Reply #13 on: February 08, 2018, 02:51:25 14:51 »

Connect the neutral line to common GND,  in this way you shouldhave the  reference unified
at the AC/DC rectifier and  get the good result in the A/D converter.



Posted on: February 08, 2018, 02:41:32 14:41 - Automerged

see this example of connection of a real 3 phase meter inputs. In the example we are taking measures over the AC
signal,  in you case yoy are rectifiing the ac and taking samples over the DC, but the connection schema is equivalent.
Only the reference pint  NEUTRAL is the key in the schema.


Posted on: February 08, 2018, 02:50:04 14:50 - Automerged

the second part of schematic
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC