Stopping power glitches
![william chan](https://forums.parallax.com/uploads/userpics/RBTCEMRWP85K/nQFR9OII9OM33.jpg)
My SX processor is powered by a transformerless circuit from 240v AC.
What I am afraid is that spikes from the AC line due to sparks and switching of loads may cause the SX to reset or go haywire.
What is the best way block these spikes?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
What I am afraid is that spikes from the AC line due to sparks and switching of loads may cause the SX to reset or go haywire.
What is the best way block these spikes?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Comments
The least you can do is use large, high voltage rated parts.
A wallwart will sacrifice itself and save your chips.
The next best thing is probably adding 2 or 3 big MOV's.
But then the first big surge will smoke them
and the second one will smoke your chip,
unless there is also a fuse before the MOV (which will definitely "reset" your chip...but hopefully not blow it).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
·
If this is an ESD event that you are trying to block, then this circuit might work for you.
·
It's basically a derivative of the type of ESD circuit that you would see in an IC, except that the PNP/NPN combo would be replaced with a single MOSFET.· The principle idea however is the same whether it's an actual ESD event, or there is an extremely noisy power supply.
·
The basic theory of operation is that you charge a capacitor through an RC·circuit·(22 Ohm + 470 Ohm + 100uF)· ...·this·in combination with the Zener creates a voltage reference (or low pass filter) between the capacitor and the 470 Ohm resistor that remains steady, even with a spike... we can’t really use this though to do much real work, because the 470 Ohm resistor is fairly high.· It limites the available current down to about 10mA.· If we lower the resistor value, then the available current increases, but the voltage reference becomes more susceptible to the noise spikes that we want to filter and stay away from, so·here in this circuit we are only using it as a voltage reference.· Next, notice the·PNP.· Under normal conditions, the PNP transistor is OFF.· Since the Base of the PNP is connected to our reference, if the Emitter experiences a positive voltage 0.6V above the reference (5.1 Volts in this case) due to a voltage spike on the input,·the PNP will turn on causing·the NPN transistor to also turn on.· Because of the configuration of the NPN, it is designed to snub or short out the voltage spike.· Depending on the amount of energy in your spikes, will·determine how the NPN transistor should be rated.·· That takes care of positive voltage spikes.· If the voltage spike goes the other direction, the reverse biased diode is all that's necessary to do the trick.· It too should be rated to handle the amount of energy in your spikes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 8/22/2008 3:55:46 AM GMT
Where you get this circuit? It looks ingenious!
But I think the zener should be at least 7v so that there is enough voltage drop for the 5v regulator.
I'll implement it in my board right away.
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Post Edited (william chan) : 8/22/2008 5:10:22 AM GMT
·
This circuit is typical of what is used in the IC industry for capturing an ESD event.... In most cases however a MOSFET transistor is used.
·
I converted it, so that Bi-polar transistors could be used also.··
·
"But I think the zener should be at least 7v so that there is enough voltage drop for the 5v regulator"
·
... The intent was that 'Vsupply' was somewhat regulated or close to the Zener voltage to begin with·... The output that was denoted as saying 'To Regulator',·should probably just say 'regulated' because in a sense it is a 5.1V regulator in it's own right.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 8/22/2008 6:17:21 AM GMT
John Bond
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·Select File Import on the simulator once it opens cut and paste code below and click import.
·This link will open the simulator http://www.falstad.com/circuit/
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!