power supply
power supply
(OP)
Hi,
I have a simple power supply circuit (please see: www.nangreaves.ca/ps.jpg). This circuit supplies 5V for the rest of my board. The PS input is AC line voltage. If someone were to plug my board into the wall socket backwards (switching hot and neutral) then my whole ground plane would suddenly be at line voltage. Is that a problem and what can I do about it?
Thanks
I have a simple power supply circuit (please see: www.nangreaves.ca/ps.jpg). This circuit supplies 5V for the rest of my board. The PS input is AC line voltage. If someone were to plug my board into the wall socket backwards (switching hot and neutral) then my whole ground plane would suddenly be at line voltage. Is that a problem and what can I do about it?
Thanks





RE: power supply
And for what possible reason are you tying DC parts of your system to the AC at all? Even if the user doesn't screw it up, there's no guarantee that the AC socket is wired correctly. Ignoring the human danger, there's the possibility of frying any equipment that's attached to your circuit, such as an oscilloscope (speaking from personal experience).
There's nothing quite so adrenaline pumping as having a piece of an IC go shooting by your ear when you connect the scope ground to the chassis, only the chassis is hot.
TTFN
RE: power supply
Part of my circuit (not shown) needs to know the AC voltage that is being applied to the board (this ia a power measurement device). That is done very simply by inserting a voltage divider across the AC live voltage and then into an A/D converter. But this forces me to tie my DC and AC grounds to keep a constant reference.
I am using a polarized plug, but, in the unlikely case that it does get plugged backwards, will haveing my ground plane at line voltage be a problem. My board is not user accessible, unless someone takes my box apart.
RE: power supply
RE: power supply
RE: power supply
As to your main question, yes it's a BAD idea, because you'll likely cook the crap out of your DC circuits. Transient delays within the circuit will likely result in large AC voltages appearing where they don't belong and damage parts. It's also unlikely that you can adequately isolate the chassis from AC coupling and the user will get a nasty surprise.
TTFN
RE: power supply
Since my device has a 3-pronged plug, an improperly wired outlet is really the only way it could get plugged in backwards. Does anyone how common backwards outlets are?
Thanks again
RE: power supply
If your appliance has its case fully isolated, a reverse connection will cause no harm to the user. (but you have to be cautious during development)
If you want to sell this product, you will need a UL approval. They will tell you all that you need to implement to be legally safe. In addition to protecting the user after some known rules, such a label will protect you legally in showing that you did your homework.
RE: power supply
Secondly, you have drawn an Earth symbol on your circuit, which nobody has commented on. That symbol means the protective conductor of the mains power supply, it does not mean a chassis connection. Whilst SPICE simulators use this symbol for signal 0V connections, it must never be used incorrectly in mains based circuitry as you have done. The chassis symbol is a collection of straight lines from the base plate at a 45 degree angle.
Now it would be less than ideal for me to just tell you what you can’t do. It is very straight forward to earth the DC supply 0V, in fact that is a very safe thing to do. OK. Then pot the mains signals down relative to earth as well. Use high value resistors so your earth leakage current is say less than 1mA. Use high integrity resistors since you don’t want to introduce an earth fault current. These resistors would be rated in excess of 3000V for example. Pot down both the live and the neutral conductors. Safety standards like you to treat live and neutral conductors with equal respect, just in case.
Now the signal has been potted down to a safe level you can use an off the shelf differential amplifier to measure the difference between the two potted down mains signals. This will give you a true scaled version of the mains voltage. If you need more than a couple of percent accuracy then put in a pot to adjust the gain. This makes a very safe scheme at low cost.
RE: power supply
Eliminate any pots you have in the circuit as these are huge sources of error in a voltage divider circuit that have to operate over a decent temperature range.
RE: power supply
the circuit from the line. You may use insulated circuit
with transformer or optocoupler coupling.
What do you have to measure on the line ( V,I,etc ) and with what kind of accuracy? How much delay ? How many samples per sec?
<nbucska@pcperipherals DOT com> subj: eng-tips
RE: power supply
Anyway, I do not see anything real wrong with your circuit except for the ground on the DC side of the circuit (ignoring the resistor configuration on the primary side of the transformer).
RE: power supply
The resistors on the primary (R1,2,3) are just jumpers that allow the circuit to be configured for 120V or 240V while the transformer outputs 10VAC regardless.
The case is plastic, and has no electrical connection. The ground symbol in the schematic just means my board's ground plane.
I am using a shunt resistor and a voltage divider for the I and V measurements. This is then fed into the ADE7753.
The ADE7753 has two fully differential voltage input channels. The maximum differential input voltage is ±0.5V. In addition, the maximum signal level is ±0.5 V with respect to GND.
The 0.5V differential requirement is easily met by selecting the right resistor values. But in order to meet the second requirement (sinal level within 0.5V of ground) I have to tie AC neutral to ground.
RE: power supply
RE: power supply
Have you thought about using measurement transformers ?
(That is the way it usually is done at the power plant, but yes, somewhat higher voltages and currents
You may have to do the current transformer yourself (remember to have the secondary side shunted with a few ohms), but you should be able to find, say, 1-5 VA mains transformers for the voltage.
If the transformer is for 115V, you can put a capacitor or a resistor in series with it to the AC supply.
Signal transformers can be used the same way, but be sure they follow the same standards isolationwise.
RE: power supply
I would take off the earth grounds shown on your schematic since they will not actually be there (at least in your design). Since this is not actually earth ground at your device, then there is no issue with polarity. Maybe I am missing something but I see no problems as long as that earth ground on your jpg file is not really an earth ground but a signal ground. As long as the A/D uses this same 'signal ground' then your okay (you may want to protect the input with a zener or something especially if the application can draw large currents on starting (motor), unless of course your continuous operation level is relatively low on the full scale you set up with your resistors). Good luck.
RE: power supply
TVs have run with a "hot" chassis for years, so it is not of itself a problem.
Since you have said that there are no connections to this circuit, I assume that there is a visual display interface, otherwise where is the output? Make sure you don’t accidentally connect up an interface such as an RS432 etc unless it goes through an isolation barrier.
RE: power supply
I considered measurement transformers, but size and cost are both critical design constraints for this project, and resistors beat transformers on both counts, hands down. Admitably, transformers have the benefit of isolation.
Thanks for the note about the ground symbol.
Now then, my last question. If the device were plugged in backwards, my local ground plane would be connected to the hot conductor. That local ground plane serves several digital logic chips which communicatewith each other through a serial bus. My assumption is that since those chips have no knowledge of earth ground, they will happily do their thing and function normally, not knowing that their local ground is sinusoidal with respect to earth. Simiarly, since my 5V linear regulator has no knowledge of earth ground, it will happily create a 5V power plane which is at all times 5V higher than the ground plane. Is this assumption reasonable?
This has been an excellent discussion so far, thank you all.
RE: power supply
http://www.circuitprotection.com/lvr/
Just a thought.
RE: power supply
At 50-60 Hz you will need some uF (many ?) before it could have an influence, and by then you would be way above the safety limit.
Not knowing your mechanics, I would say 1 nF would be a better guess for the coupling at hand.
I once had a TV set that worked that way.
It was before SCART was invented, the RF input was sent through certified capacitors, and the headphone output came through a transformer
RE: power supply
Since your whole circuit is at the same potential there should be no problem. You would only get an issue if there were to be some high impedance node in your circuit capacitively coupled to the case. The earthed case would act as a capacitor with 110V across the plates. If a high impedance node in your circuit were to couple strongly with the case then you might get a problem. The coupling from a wire to the case would be of the order of 10pF to 100pF, but no more than that. You should be able to work out if that much capacitive current flow would cause a problem to your circuit.
I get 100pF as 32Meg at 50Hz. Suppose you had a low power switch circuit using a 1Meg pull-up and no capacitor. You would get about 110/33=3V RMS on the open switch, which would probably cause a false reading. Just think of injecting a 100pF capacitor with 110V (relative to your circuit) on any nodes that are connected to wires or large pcb lands. That will tell you which parts of the circuit might be susceptible to problems.
RE: power supply
Your last post on your assumptions is true. Your comms should be isolated so no common ground should exist. Don't see any issues with your circuit other than the ones I told you about.
RE: power supply