PocketMagic

PocketMagic

Where Technology meets magic


Android
45 Posts
BlackBerry
4 Posts
Electronics
68 Posts
Hardware
120 Posts
High Voltage
49 Posts
iPhone
4 Posts
Linux
2 Posts
Nuclear
20 Posts
Optics
11 Posts
Photography
7 Posts
Photoshop
3 Posts
Research
19 Posts
Reviews
18 Posts
Robotics
8 Posts
Security
7 Posts
Software
73 Posts
Symbian
2 Posts
Tubes
18 Posts
Windows
3 Posts
Windows Mobile
11 Posts

Top Articles!       See PocketMagic on Facebook


uRADMonitor - Online Radiation monitoring station | 14830 Views | Rate 70.28
uRADMonitor - Online Radiation monitoring station
Developing for Blackberry 10 | 63 Views | Rate 63
Developing for Blackberry 10
Bluetooth and iOS - Use Bluetooth in your iPhone apps | 17826 Views | Rate 57.88
Bluetooth and iOS - Use Bluetooth in your iPhone apps
NMEA GPS Library for AVR Microcontrollers | 4785 Views | Rate 56.96
NMEA GPS Library for AVR Microcontrollers
Building a robot – Part 2 | 4542 Views | Rate 44.53
Building a robot – Part 2
Programmatically Injecting Events on Android - Part 2 | 4884 Views | Rate 44.4
Programmatically Injecting Events on Android - Part 2
Simple Switched power Supplies | 15925 Views | Rate 41.47
Simple Switched power Supplies
Capacitor Discharge Microspot Welder / Cutter | 11198 Views | Rate 36.24
Capacitor Discharge Microspot Welder / Cutter

 
  

Electric Fence – 20KV pulses for perimeter defense


By Radu Motisan Posted on September 8th, 2011 , 8505 Views (Rate 13.72)



  




Here is an electric fence, perimeter protection circuit, designed to run on batteries, and provide configurable pulses of up to 20KV, to protect a tent perimeter against bears or other animals, out in the wild.

The high voltage generated is not dangerous because of the low current (and power), but it will produce intense pain.

The circuit:

The device uses two 555 timer circuits to generated a variable frequency, variable width pulses, that are used to drive an auto induction coil. For my design I've used a VW Bosch induction coil with excellent results. The power is provided by 8 AA 1.5V batteries, connected in series for 12V. The frequency and the pulse width can be adjusted using two potentiometers. The frequency specifies how often will the high voltage pulses be generated and so fed into the perimeter wire, while the pulse width influences the amount of energy fed into the coil, and so how much high voltage energy will be sent into the wire (more energy, more painful the discharge will be).

The circuit , the batteries and the induction coil are enclosed in a waterproof plastic recipient. The high voltage output should be connected to a loop of metallic wire placed around the protected perimeter. This high voltage line should be insulated from ground (use some plastic for that). The cold output should be connected to a good ground: insert a 50cm steel pipe or wire into the ground. Rocky soils or dry soils need a better ground (use a longer wire and bury it as deep as possible).





Circuit diagram:

The PCB layout can be downloaded here: ElectricFenceVer1.0
Note: The circuit will not work well with a flyback transformer used instead of the induction coil. A good quality induction coil is a must for this device to work as expected. If testing the output, make sure you set the device to minimum power, by adjusting the pulse width. The shocks at higher power are painful!

Test video:

The PCB Layout in PDF: ElectricFenceV1






  

More on PocketMagic:

Programmatically Injecting Events on Android - Part 1 | 10041 Views | Rate 26.01
Programmatically Injecting Events on Android - Part 1
CDV-742 Dosimeter and CDV-750 Dosimeter Charger | 101 Views | Rate 25.25
CDV-742 Dosimeter and CDV-750 Dosimeter Charger
Victoreen CDV-717 Remote Gamma Survey dosimeter | 99 Views | Rate 24.75
Victoreen CDV-717 Remote Gamma Survey dosimeter
Atmega8 and enc28J60 for ethernet support | 7154 Views | Rate 24.33
Atmega8 and enc28J60 for ethernet support
How to set the AVR Fusebits | 1660 Views | Rate 23.71
How to set the AVR Fusebits
ATMega128 and HD44780 LCD using 3 Wires with the 74HC164 | 2013 Views | Rate 22.88
ATMega128 and HD44780 LCD using 3 Wires with the 74HC164

69 Responses to “Electric Fence – 20KV pulses for perimeter defense”

  1. 1
    Variable duration, frequency and amplitude Pulse generator « PocketMagic:

    [...] and amplitude all configurable using three potentiometers. The pulse generator is based on my 20KV pulse generator. In this case, the induction coil is replaced with an inverter, that generates a configurable [...]

  2. 2
    victor:

    I wish you could listed down all the parts used so I could build myself one.
    thanks

  3. 3
    Radu Motisan:

    @victor, please see Circuit diagram . All the components are listed there.

  4. 4
    Victor:

    Thanks Radu. I overlooked that.

  5. 5
    Harsha:

    Hi Tks for This, How many Kilometers can fence this one?

  6. 6
    victor:

    how do YOU open the file for the PC layout? Its in Zip file. I cant open up the file. HELP!!!

    THANKS

  7. 7
    Radu:

    You will need Eagle software to open it

  8. 8
    VICTOR:

    Radu,

    isn’t there any other way? could you make the file into Abobe PDF? So it would still be alot easier?
    thank you

  9. 9
    VICTOR:

    Radu,

    Please transfer the file into Adobe PDF? thanks

  10. 10
    Radu Motisan:

    Victor, see it here: http://www.pocketmagic.net/wp-content/uploads/2011/09/ElectricFenceV1.pdf

  11. 11
    Victor:

    Hi Radu!!!
    thank you very much for the link!!! Fantastic!!! I was able to get the PCB diagram. One question though, this PCB diagram as you face it is the under part of the (copper side) of the board?? Right? Also would you have any suggestion as how I could efficiently print or transfer this diagram to the copper side of the PCB without losing detail? Im just a beginner in electronics this would be my second major project. I was able to build me a variable voltage regulator (dc) in the past. Now Im excited in creating your idea. Again thank you very much.

  12. 12
    Radu:

    Hi Victor,

    Yes, this is the mirrored version, showing exactly what you need to print on the copper side.

    Easiest way is to print it on paper, put it over your copper board and drill the holes.

    Then remove the paper and while keeping an eye on it, draw the connections between holes, using some resistant paint or lacquer and a sharp brush or any other tool you’re comfortable with.

    Use FeCl3 to corrode the rest of the copper, and you’re done.

  13. 13
    victor:

    Radu,

    what is the exact size (in inches) of the pcb? thanks

  14. 14
    jerry:

    can I get the electric fencer v1 in pdf layout with
    only conneting lines for laser printing on photo paper
    and then iron on to copper board.

  15. 15
    Tyc:

    Ai incercat pe gardul propriuzis?

  16. 16
    Radu:

    L-am dus cu mine la munte dar nu l-am instalat. Cand l-am realizat, din greseala am atins iesirea, dar era pe setare minima, si a fost dureros.
    Setare minima inseamna undeva pe la 1KV. Setarea maxima permite 20KV. Durata pulsului nu mai stiu cum era setata, dar “all-in-one” produce destul de multa durere.

    Vara trecuta am fost in elvetia si am atins din greseala un gard de vite, am sarit ca ars. Culmea, pulsul a venit numai la vreo 3 secunde dupa ce am atins firul, are deci o frecventa foarte mica ce foloseau ei acolo. Ca durere produsa a fost cu putin mai mult decat ce am simtit la al meu pe setare minima.

  17. 17
    Tyc:

    Daca impedanta nu e corespunzatoare ,tensiunea e prea mica in gard .
    Sant verificatoare pt gard – un voltmertu in trepte.

    https://picasaweb.google.com/112827018205146693954/ElectricFenceVer10?authkey=Gv1sRgCM_TqMLHq8TF9AE#5713536625245616866

  18. 18
    Radu Motisan:

    mi-am confectionat si eu o “sonda” de inalta tensiune, dar la ce gard mi-a trebuit mie, cat sa inconjur un cort, nu imi fac probleme pentru modificari prea mari in tensiune.

  19. 19
    Tyc:

    La noi sant probleme legale privind utilizarea ef.

  20. 20
    Scott:

    i will also would like to know How many Kilometers can fence this one do

  21. 21
    Panagiotis:

    Hello i have the same question with scott how many meters can fence?Also is the maximum diameter of the wire that can take?thanks a lot

  22. 22
    Radu Motisan:

    You’ll need to take into account wire resistance for distance voltage attenuation, and pillar insulators. At 20KV I expect these to be negligible, so you can use it for a few km easily.

  23. 23
    NIhal:

    can`t find 1N222A Transistor please tell other equalent transistor.

  24. 24
    Radu Motisan:

    any generic npn transistor will do.

  25. 25
    Jacob:

    Dear Radu, can you tell me the specific type of the induction coil?, please. If not, can you write all the specs about that you used.
    Thank you!

  26. 26
    Radu Motisan:

    It’s a normal auto induction coil, mine was a bosch, taken out from a VW car.

  27. 27
    Jak:

    Don’t you mean 1N2222A not 1N222A

  28. 28
    Jak:

    2N sorry

  29. 29
    Radu Motisan:

    Thanks Jak, yes it is a 2n2222, you can use any other generic NPN trnasistor.

  30. 30
    Nura:

    Hi, Nice Circuit, What happens when the HV Output is shortcircuit, like grass or weeds or direct short.

  31. 31
    Tyc:

    Not good … the voltage decreases to a value that is not usable .

  32. 32
    Tyc:

    -In cazul unui scurtcircuit cind rezistenta tinde spre 0 ohmi (sarma,direct short),daca e mentinut se termina bateriile ;
    -In cazul ierbii/alte plante (like grass or weeds )efectele gardului se manifesta asupra acestora ,nu asupra animalelor.

  33. 33
    Rob:

    Hi Radu
    I built this circuit, to use to energise a fence to protect some beehives. Unfortunately it is not functioning properly. There appears to be no pulse action at all, no matter what the position of the pots. When switching the board off, I get a spark, approx 5-7 mm. The main power transistor gets very hot if the power is left on. So I am not sure if there is an obvious explanation. I was very careful in wiring it up, but perhaps something is wrong. I tested all resistors with a meter as I installed them, so I know they are all correct. There is no specification given for some of the components, even in Perez’s original article in Home Power.(I got mine from Digi-Key). So this is a bit of an unknown, although I believe what I have should be fine. I guess I have to start over. It took me quite a while to assemble.

    Rob

  34. 34
    Radu Motisan:

    Hi Rob, there must be some errors in your circuit. You can also post a few pictures so I can have a look:

    The transistor should stay cool, unless you’re using some very high frequency (this is just a guess). Can you measure the oscillator frequency? Do you have a frequency meter, or a scope to show the signal on transistor’s base?

    What components have no specs? I built two such boards without any issues, one is here, the other one can be see at: http://www.pocketmagic.net/?p=2343

    so let’s see how to fix this.

  35. 35
    Sneha Pednekar:

    what is the specification of the battery is it 1.5V/8AA. plz reply me as early as possible. I am working on this project.

  36. 36
    Sneha Pednekar:

    I am working on this project and I am not getting the sparks. Do I need VW Bosch coil only? 8AA 1.5V does this type of batteries are available in the market? Please give me the details about the batteries as early as possible.

  37. 37
    Sneha Pednekar:

    Is ignition coil and induction coil one and the same thing. Please reply me ad early as possible. I will be very thank full of you

  38. 38
    Radu Motisan:

    @Sneha: normal alkaline AA 1.5V battery.
    Check the oscillator and see if it is working.
    The ignition coil used in auto is an induction coil.

  39. 39
    Sneha Pednekar:

    I have bought a two wheeler ignition coil, but its not working, oscillator is working only problem is the sparks. If i get the same induction coil as you have used then it will work? And you have used box type capacitor, but i have used ceramic ones will they effect the circuit?

  40. 40
    Sneha Pednekar:

    Can you suggest me a mini digital project with all the details?

  41. 41
    Sneha Pednekar:

    I am working on this project and I am not getting the sparks. Can you suggest me more details of your project

  42. 42
    Radu:

    you’ll need to check your circuit again, but also the ignition coil. feel free to post pics with what you did so far.

  43. 43
    juana:

    hi friend, great job!
    can you please tell me how many volts is C1 cap 1000 uF/??? volts?
    I am making this great project

  44. 44
    Radu Motisan:

    25V or more

  45. 45
    Al:

    What application(s) are required to open your files on a Mac?

  46. 46
    Ain:

    Hi, i’ve done this circuit and i got the pulse. but the output voltage does not reach up to kV. it only can go up to 300V. i’ve used hitachi ignition coil to step up the voltage. does ignition coil’s brand influence the value of output voltage? i need to achieve kV voltage for output in order to get a good result for my final year project. Please reply as soon as possible. thank you.

  47. 47
    Radu Motisan:

    Hello Ain, you might want to try a different coil as well. This is a very simple circuit, and little can go wrong about it.

  48. 48
    sidath:

    I wish you could listed down all the parts used so I could build myself one.
    thanks

  49. 49
    Radu Motisan:

    all the parts are listed in the circuit diagram. easy to build, nothing fancy.

  50. 50
    ngks:

    Hello, is this circuit power input can connect to the 12V car battery?
    Can i use the flyback transformer for the TV instead of the induction cail?

  51. 51
    Radu Motisan:

    @ngks: yes you can use a 12V car battery

    the flyback transformer produces high voltage but low current, you would need to rectify it and place a capacitor in parallel on the output, to get a shock . something similar can be seen here: http://www.pocketmagic.net/2011/09/battery-powered-high-voltage-multiplier-for-gas-igniter-or-stun-gun/

  52. 52
    Gary:

    Hi Radu,
    I built your 20kv electric fence circuit which works very well except – - every two or three minutes, the 2nd 555 (U2) goes u/s. Now I did use a Mosfet in place of the 2N3056, driven directly from the 555 via a 330 OHM resistor, i.e. did not use a PN2222 in between the 555 and Mosfet. Would this be the most likely cause of the constant failure of the 2nd 555 I.C. ?

  53. 53
    Radu Motisan:

    @gary, You might be getting some high voltage spikes back to your driver circuit. This can happen with some types of induction coils . Try putting a small snubber, across the coil’s primary : a small neon bulb and see if that helps.

    You need to use the PN2222 as well, for better results: it is used to properly amplify the trigger signal for the high power transistor (or mosfet in your case).

  54. 54
    Gary:

    Many thanks Radu, will incorporate both of your suggestions.

  55. 55
    umair:

    sir can you tell ignition coil of generator or motorbike can also be used in place of ignition coil of car.is voltages effected?

  56. 56
    Radu Motisan:

    @umair: yes you can use other ignition coils

  57. 57
    jhunflex:

    greetings radu’
    i plan to build the circuit soonest.how can i incorporate a relay circuit for alarm or sounder if someone touch the high voltage side.

  58. 58
    Radu Motisan:

    @jhunflex you should be able to detect a voltage drop in the high voltage line

  59. 59
    jhunflex:

    Thank’s radu..I’ll go to your suggestion very helpful to me.

  60. 60
    Paul Thompson:

    Hi, Please do not be tempted to convert this circuit to run from mains, from a DC adapter or battery charger. There was a fatal accident recently here when someone did this. The issue is that fences attract lightning, this breaks down the insulation in the adapter and 230Vac can then make its way back onto the fence. This is why fence safety standards like IEC60335.2.76 require 25kV isolation on the output transformer.
    Regards
    Paul

  61. 61
    nikolaos:

    Hi Radu,

    I have urgent need of your device as there is a threat from bears!
    Ιt’s possible to buy this device?
    (please for you email and don’t show this message if not must)

    Regards
    Nikos

  62. 62
    lawrence:

    pls, kindly mail a list of the component needed because i’m lost here the circuit diagram and image diagram and video have me confused

  63. 63
    Pulse generator (Variable duration, frequency and amplitude) « PocketMagic:

    [...] and amplitude all configurable using three potentiometers. The pulse generator is based on my 20KV pulse generator. In this case, the induction coil is replaced with an inverter, that generates a configurable [...]

  64. 64
    Ronnie Jochico:

    Hi Radu, good day can you give me the voltage of all capacitors in the circuit? then the wattage of all risistors, then the rectangular white one.. thanks… hoping for your reply.

  65. 65
    Radu Motisan:

    For caps use 25V or more. The resistors are 0.5W, unless otherwise specified.

  66. 66
    Ronnie Jochico:

    Thanks Radu, i’l do the cuircuit asap..

  67. 67
    Radu:

    Ok Ronnie, drop me a few pics when done, I’d like to see it.

  68. 68
    Jack ryan:

    Is there anything I can do to stop transistors from heating up

  69. 69
    Radu Motisan:

    @Jack: I didn’t experience any extreme heating

Thank you for commenting. Your comment won't show until approved, which can take some time.

Please copy the string q7z94I to the field below: