Introduction: Short Circuit Protection for (almost) Any Power Supply
This instructable is about a universal short circuit protection that I've designed to use in bench power supplies. I've designed it to fit in most power supplies circuits. In order to this circuit fit in your bench power supply, you will need to do some calculations, but don't worry, I'll explain everything on the next steps.
Step 1: Understanding the Circuit
The circuit is really easy to understand.
A resistor of low value (the resistor value will be explained later) is connected in series with the output of the power supply. As current starts to flow through it, a small voltage drop will appear on it and we will use this voltage drop to determine whether the power supply out put is overloaded or short circuited.
The "heart" of this circuit is an operational amplifier (op amp) configured as a comparator (stage 2).
The way it works is really simple, you just need to follow this rule:
If the voltage on the non-inverting output is higher than the inverting output, then the output is set to "high" level.
If the voltage on the non-inverting output is lower than the inverting output, then the output is set to "low" level.
I put quote marks on "high" and "low" for a easier understanding of the op amp operation. It has nothing to do with logical micro controllers 5 volts levels. When the op amp is in "high level", its output will be very approximate of its positive supply voltage therefore, if you supply it +12V, the "high output level" voltage will approximate to +12V. When the op amp is in "low level", its output will be very approximate of its negative supply voltage therefore, if you connect its negative supply pin to ground, the "low output level" will be very near to 0v.
When we use op amps as comparators, we usually have an input signal and a reference voltage to compare this input signal.
So, we have a resistor with a variable voltage that is determined according with the current that flows through it and a reference voltage. Does this ring any bell on your mind? We're almost finished with the theory be brave and follow me.
As the voltage drop on the resistor in series with the power supply is too small, we need to amplify it a little bit because some op amps are not too accurate when comparing low voltages like 0,5 volts or lower. And that's why the first stage (stage 1) of this circuit is an amplifier using another op amp. A 3 to 4 times amplifications is more than enough in this case.
The op amp gain(av) is determined by the formula: av = (RF/R1)+1
In this case we've got 3.7 times of gain: av = (2700/1000)+1 = 3.7
The third stage of the circuit is the protection itself. Its a relay that you can connect directly directly with the output of your power supply if you are dealing with low current (2A) or you can connect it to a bigger relay if you are dealing with bigger current or even shut down a previous stage of you power supply forcing the output to shut down. This will vary with the power supply you've got. For example, if your power supply is based on a LM317, you can simply use the relay to physically disconnect the LM317 output pin from the power supply, as we are using the relay normally closed pin (I've uploaded a picture to better describe this example).
The PNP transistor on stage 3 just act like a seal to keep the relay turned on after the short circuit so you can press a button to disarm it. Why I didn't use the relay itself to do this? It's because the relay is too slow to do it.
Just think about it: At the moment the relay turns off the output of your power supply, the short circuit does not exist anymore and the comparator goes from high level to low level. As there is no more current flowing at the NPN transistor base, there is no more current flowing through the relay coil as well. When all these steps happens, the relay contacts did not had enough time to complete its course and connect to the other contacts to close the seal. The behavior of the circuit if I used the relay itself to close the seal would be the relay madly trying to turn off the output, but without success. I know I could have used a capacitor to supply enough current to the relay, but I would need a big capacitor and no one can grant that it would work 100% of the times the output of the power supply is shorted. Electrolytic capacitors fails over time, and failure is not a good option in this circuit.
To disarm the circuit a normally closed switch is connected in series with the base of the NPN transistor. By pressing this normally closed switch, it would open its contact and disconnect the base of the NPN transistor from the rest of the circuit breaking the seal and resetting the power supply output.
The 1uF capaciton on the NPN transistor base is just a threshold so a little peak consumption don't trigger the protection.
You can feed this circuit 9V to 15V. Just be careful to correctly choose your relay voltage and the capacitors voltage. And just to be clear, do not connect this circuit supply pins directly with you power supply output or it will be useless. Just imagine, if your output is shorted, there won't be enough voltage to supply the protection circuit. You will need to connect it on a stage before the output, maybe a dedicated voltage regulator just for it. A LM7812 will be more than enough.
Step 2: Choosing Series Resistor Value
I've created a separated step for this because this series resistor is the most crucial part of the circuit. As I've said before, this resistor is connected in series with the power supply output. As current starts to flow through it a small voltage drop will appear on it.
You need to choose a resistor that the voltage drop on it is around 0.5~0.7 volts when the overload current is passing through it. The overload current is the point that the protection circuit actuates and shuts down you power supply output to prevent damage on it.
You can choose a resistor by using ohms law: V=R*I. In this case we're going to use: R= V/I.
The first thing you need to determine is the overload current of your power supply. In this part I can't help you, you've got to know the maximum current your power supply can supply and therefore dimension your series resistor value.
Let's say your power supply can supply 3 amps(The voltage of your power supply does not matter in this case). So, we've got R= 0,6V/3A. R = 0.2 Ohm. If you calculated the resistor and the result is not a commercial value, don't worry. Just get a commercial value resistor that is near to your calculations results.
The next thing you must do is calculate the power dissipation on this resistor, so it does not burn when current is flowing through it. You can calculate the power dissipation by using the formula: P=V*I.
If we use our last example we would get: P=0.6V*3A. P=1.8W a 3W or even a 5W resistor would be more than enough.
Step 3: Bill of Materials
To build a board like mine, you will need:
1 - TL082 (dual op amp)
2 - 1N4148 (diode)
1 - TIP122 (NPN transistor)
1- BC558 (PNP transistor. You can use a BC557, BC556 or equivalent. They are all fine for this application)
1 - 2700ohm resistor
1 - 1000ohm resistor
1 - 10Kohm resistor
1 - 22Kohm resistor
1 - Series resistor (see previous step)
1 - 10Kohm potentiometer
1 - 470uf capacitor
1 - 1uf capacitor
1 - Normally Closed Momentary Switch (see attached picture. Any normally closed momentary switch will work fine)
1 - Relay model T74 (This is a very common relay model. Easy to find in
eBay. Just try to search for "G5LA-14" on eBay. There are many coil voltages and contacts amperage. If you dont want to use this model, make sure to change the PCB layout)
Step 4: Designing the Board
I've used Express PCB to design the board and the file I uploaded here is free for you to edit as you like. Edit it as you wish to fit the components you have. A PDF version of the board has been uploaded too if you don't even want to edit it or generate the PDFs yourself.
This circuit is not really that big so I've fit it on a 5cm x 5cm board.
Note: The board has an optional led (see PCB picture for more details, I've left a note there) so you can know when the protection circuit have disarmed the output of your power supply. If you don't want to use a led, you must short the pins that the led would be connected or else the circuit won't work. If you want to connect the led, the square pin is the anode and round pin is the cathode. You can connect any LED but high brights ones.
I've tested it on a bread board and you should test it too so you can know for sure if the protection circuit will work with our power supply.
Step 5: Etching and Soldering the Board
I used the toner transfer method to transfer the printed circuit to my PCB.
Tips for a good tone transfer:
- Print the circuit using a good laser jet printer.
- Use coated paper ( see: http://en.wikipedia.org/wiki/Coated_paper ) to print your circuit.
- Make sure your Iron can get as hot as 170ºC~200ºC (338ºF~392ºF).
- Before starting your tone transfer, clean the board using a thin steel wool. Your board will get really shinny and clean.
- You can always use YouTube to see new methods and how people make their transfer.
By following these tips, you will definitely get a good toner transfer.
After the tone transfer you can etch you board using your favorite etching method. I used iron perchlorate.
I did not took any picture while drilling the holes to mount the components, sorry about that. A drill with 1mm will do just fine.
If the output current of your power supply is higher than 2A, you should reinforce the lines of the series resistor and relay. See the attached PCB picture for more information.
Step 6: Testing and Calibrating the Circuit
To turn this circuit on, you will need to supply it a voltage that can be from 9V to 15V. See the attached picture for more information about the input.
To calibrate the circuit, measure the voltage on the op amp inverting input and turn the potentiometer. As you turn it the voltage will increase or decrease according to the side you are turning it. The value you need to adjust this potentiometer is the gain of the input stage times 0.6 Volts (something around 2.25 to 3 volts if your amplification stage is like mine).
This procedure takes some time and the best method to calibrate it is trial and fail. You may need to adjust a higher voltage on the potentiometer so the protection does not trigger on peaks. As I've said, it takes some time to calibrate it.
Step 7: The End
I've uploaded a small video of it working on my power supply that I've built some weeks ago.
The picture attached on this step is the protection circuit installed inside my bench power supply ( you can check it here).
And that's it. Any thing that I can help just ask on the comments and if you based on my project to make a new one please comment too, I'm very curious to know if you did a really nice upgrade to this project.
Question 1 day ago on Introduction
Can I buy this circuit online
Short circuit protector 220v ac
Question 1 year ago on Introduction
Dear sir. Your sketch looks nice. Can I use this circuit for 12vdc motor as over current disconnector in forward and reverse functions ? If no please suggest me sir.
Thank you sir.
Question 2 years ago on Step 6
thanks for this information.
i have 0-25v 5A voltmeter, i have a question please help me;
do i need to change the electronic materials? can i use the system u suggested?
Question 3 years ago on Introduction
Hi sir how are you. Dir i have dc 24v dc veritable supply how can i make short circuit protection please simple diagram send me thanks
4 years ago on Step 4
the relay takes 15 milliseconds to operate. this time can destroy the electronic gadget. the two types used are 1. grounding common terminal of LM317 and putting a diode between output of LM317 and load.
2. putting a fuse in series with load and a overated SCR between load and ground. triggering SCR, blows the fuse
Question 5 years ago
Can someone label the connections to me?
The way things are labeled seems incomplete.
The connections of schematic to the usage example don't match up.
The box marked "protection circuit" shows a connection labeled gnd but not the negative output.
Do all the VCC connections mean a connection to the PSU+?
The usage example shows only a connection from the relay common contact to the PSU+.
No wonder everyone is having so much trouble, none are probably connected the same.
5 years ago
hi can i use JRC4558 OP AMP? it is the most available OP AMP here, the TLO82 is not available here in our locality,
5 years ago
hi, the TL082 is not available here in our locality, can i use JRC 4558 instead its most widely used op amp here, or ne5532? tnx in advance,
5 years ago
Can this be used on a 0-30vdc variale power supply?
5 years ago
I have an old power supply 3A and 30V. Which relay should I use to be sure it wont blow?
5 years ago
hi, i was wondering if i can use this circuit for a 12v 1amp dual psu, and if so, how can i connect it, thanks in advance
7 years ago
Hi thanks for the circuit. I build it but when I turn on the power on, the relay just working and the LED light on and I have no power at the out put. I build it using your PCB design and all the boom list from above. Trying build another PCB about three time and replace the parts as I worried if the PCB damage or the parts broken. No succeed. Any suggestion please? Thanks.
Reply 5 years ago
Try first on breadbord.
Reply 7 years ago
Aadjust the potentiometer. If it is not adjusted it will cause the relay to turn ON. Turn it all the way to one side and turn ON the power supply. If the relay clicks than turn Off the power supply and turn the potentiometer to other end. Now when you turn the power supply on again the relay it shouldn't turn ON. That's the way i made it work.
Reply 7 years ago
Hi dimitart, thanks for you guide, finally I got it working. That do the tricks, before I try to adjust the inverting input to 2.5 - 2.8 volts but still not working. Thanks for your help..
6 years ago
i don't understand the pinout of the screw header, can you explane this?
Reply 5 years ago
Its a preset
6 years ago
It does not work and the LED shines with little intensity.
6 years ago
do you have proteus simulation
7 years ago
hi Azul, i'm trying to make this circuit but I can't get it to work. every time i connect my 12v supply to power the circuit the relay turns on. Even when I turn the potentiometer all the way to the left or right. Can you also explain to me what you mean with those two negative psu connection. I don't know where to connect them. As op-amp i'm using an ne5532 as transistors an bc557 and bd679. As the reference resistor i'm using aan 0,22 ohm 5 watt resistor. In the pictures you will find my breadboard layout. Thanks for your help.