• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Security and Alarm / Make this Solar Powered Fence Charger Circuit

DIY Circuits | Learn Basics | Arduino Coding




Make this Solar Powered Fence Charger Circuit

Last Updated on March 15, 2020 by Swagatam 114 Comments

A Fence charger or energizer is an equipment which is used for charging(electrifying) a fence or a boundary in order to protect the inside premise from human or animal interventions.

Since these boundaries are mostly of large fields and parks, are normally away from the main cities, and powering them through some renewable option becomes more suitable than from utility grids which may become difficult to acquire in such remote areas.

The circuit of a solar electric fence charger explained here does not depend on traditional power source for operating, rather gets it 24/7 from a self sustained solar power conversion set up.The circuit is very simple to understand.

The fence charger circuit is basically a switching circuit which involves a few diodes and a high voltage capacitor.

How the Circuits Works

The diodes are used for rectifying the AC from a small step up transformer so that it gets stored inside the high voltage capacitor.

When this voltage reaches a particular threshold, the SCR fires and discharges the entire stored voltage inside the capacitor.

The above discharging of the capacitor is done or rather dumped inside the primary section of an automobile ignition coil.

The sudden dumping of the above high voltage inside the ignition coils primary, steps up the surge into several thousands of volts into the secondary winding of the ignition coil.

This stepped up voltage is used for energizing the fences or the boundaries appropriately.

However the above operations requires an AC input at the levels of around 100 to 220volts.

This voltage is generated by suitably processing the input DC from a solar panel set up.

The voltage from the solar panel is first controlled to a suitable level and then it's used for operating a triggering circuit.

The triggering circuit consists of a IC 555 oscillator which switches the voltage obtained from the solar panel controller into the transformers input, so that the output from the transformer generates the required 220V AC for powering the ignition circuit.

The solar panel output also charges a small 12V/7AH battery so that the power can be used after dusk, when sun energy is not available.

Parts List

  • 10k, 100k, 1k 1/4 watt 5% = 1 each
  • 470 ohms, 100 ohms 1/2 watt 5% = 1 each
  • preset 100k = 1no
  • Capacitor 1uF/25V, 100uF/25V electrolytic - 1 each
  • Capacitpr 0.01uF disc ceramic = 1 no
  • Capacitor 105/400V PPC = 1no, near the SCR

Semiconductors

  • 1N4007 = 4 nos,
  • IC 555 = 1no
  • LED red 5mm = 1no
  • Transistor TIP122 = 1no
  • SCR BT151 = 1no
  • Transformer = 0-12V/220V 1 amp
  • Ignition Coil from 2-wheeler or 3-wheeler

The above circuit can be powered through the following solar panel current controlled battery charger circuit:

For complete explanation of the circuit please refer this solar voltage regulator circuit.

Parts List

  • R1 = 120 ohms
  • P1 = 10k pot (not 2k)
  • R4 = replace with link
  • R3 = 0.6 ohm 1 watt
  • Transistor BC547 = 1no
  • IC LM338 = 1no
  • Diode 1N5408 = 1no
  • Solar Panel = 16 V / 2 amp
  • Battery 12 V 7 Ah

 Fence Charger using a Stand-alone Inverter

Video clip showing the working details of the fence charger circuit. The video basically highlights the strength of the sparks generated by the CDI coil and how effectively this can be used when integrated with a farm fence.

You'll also like:

  • warning2BsecurityWireless Home Security Circuit – Solar Powered
  • table 1Battery Low Voltage Alarm Circuit
  • DIY Taser Gun Circuit – Stun Gun Circuit
  • 2 Simple Earth Leakage Circuit Breaker (ELCB) Explained

Filed Under: Security and Alarm Tagged With: Charger, Fence, Powered, Solar

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Make this EMF Pump Circuit and Go Ghost Hunting
Next Post: 4 Simple Battery Desulfator Circuits Explored »

Reader Interactions

Comments

Jeffrey Skurka says:
July 30, 2024 at 2:55 pm

Do you have a layout of a circuit board for these designs?
Solar Powered Fence Charger Circuit

Reply
Swagatam says:
July 30, 2024 at 5:09 pm

Sorry, I do not have a PCB layout for this project…

Reply
Jean-Michel Farley says:
January 6, 2022 at 8:10 pm

Hey Swagatan,
I’m planning to use the first circuit to protect a hive from bears.

– The output cap is a ”PPC”, what is it? Could an electrolytic capacitor be used instead?

– I’ve read that you need about 1 joule to deter bear. Using the formula W=0.5 CVsquare and 220V, I get the need for a 41 uF capacitor. Is it still safe for human beings? It is too much in general in your opinion? It seems like a big upgrade from the 1uF capacitor.

– Should I increase the value of the output cap, do I need to increase the watt of the 100 and 470 ohm resistor?

– From what I have read about IC555 and calculated, this circuit give about 4,8 pulses per second, am I right? I need to increase the value of the resistors and cap at the right of the IC to diminish the pulse frequency?

Thanks for your help.

Reply
Swagatam says:
January 6, 2022 at 9:06 pm

Hi Jean,
The output cap should be specifically a PPC or MKT. You can search online with the phrase PPC capacitor, you will be able to get an exact idea regarding its type.
I am not sure about how much joule would be required, but the output from this generator is around 27 kV enough to kill a human being within minutes, so it should be enough to scare away any wild beast, even an elephant, according to me.
So no changes would be required in the existing circuit.
In the 555 circuit you can adjust the 100K pot to get the required ON/OFF timing, yes it will produce 4.8 Hz with the existing parts, which can be reduced by increasing the value of the 1uF capacitor, which can be an electrolytic capacitor

Reply
Jean-Michel Farley says:
January 7, 2022 at 10:23 pm

Thanks for your fast answer Swagatam.

Let’s say I’d want to energize more than a 100m of fence, what change would I need to do to the circuit?

Reply
Swagatam says:
January 8, 2022 at 9:19 am

I think for 100 meter coverage you can can build 10 such units and install them after every 10 meters. This will ensure uniform voltage range across the entire 100 meter area. Using a single powerful unit may not be good, since the voltage level might not be uniform across the full 100 meter distance.

Reply
PAUL says:
September 6, 2021 at 1:44 am

You say the ignition coil is from a two or three wheeler. Does this mean that a normal 4wheel car ignition coil cannot/should not be used?

Reply
Swagatam says:
September 6, 2021 at 7:56 am

All ignition coils will work, but 2 wheeler coils are cheaper and have modest amount of current which may be suitable for fence charger application

Reply
Daniel says:
August 31, 2021 at 12:36 am

Thank you!!

Reply
Jonathan Zapadenko says:
December 9, 2020 at 9:15 am

Where can I get the circuit board to make the fence charger??

Reply
Swagatam says:
December 9, 2020 at 11:38 am

Sorry PCB will need to be made to order

Reply
aguma alvin says:
March 15, 2020 at 12:32 pm

hello mr Swagatam. thank you for the work youre doing. i request you to help me with the list of components used in making the solar electric fence energizer

Reply
Swagatam says:
March 15, 2020 at 1:06 pm

Hello aguma, I have updated the parts list in the article

Reply
Tracer says:
September 25, 2019 at 5:20 am

Hello Swagatam,

Thank you for sharing.
Do you possibly have a circuit to test the output voltage of the coil to the fence, preferably a circuit that uses high bright LED’s?

Reply
Tracer says:
September 26, 2019 at 7:57 am

Hi Swagatam,

Thank you for your reply.
Your suggestion to use a resistive divider with 1Mohm resistors sounds promising, if you have the time would you care show how you would go about calculating a divider to measure the output voltage, (20KV), of your fence charger for example? I am also a little confused how a voltmeter or digital multimeter can measure the voltage when the maximum scale is 1000V DC.
Your assistance would be appreciated

Reply
Swagatam says:
September 26, 2019 at 11:45 am

Hi Tracer, The formula is:

Vout = Vin (R2 / R1 + R2)

Where is Vout is the meter voltage reading

Vin is the required high voltage value.

R1 is the high resistance value which can be 1M
R2 is the low resistance value which can be 10K.

R1 must be at the + side of the high voltage supply, R2 on the – side.

Meter should be connected across R2

Meter scale can be any lower DC range

Reply
Tracer says:
September 27, 2019 at 6:57 am

Hi Swagatam,
Thank you for the information you have provided, however I really don’t really understand what you are trying to say to help me find a solution. As I am dealing with High voltages I will keep on searching until I can find a safe solution to prevent damage to my test equipment and myself. I do appreciate your attempt to help

Reply
Swagatam says:
September 25, 2019 at 11:47 am

Hello Tracer,
an LED will not give any useful information. Instead you can put a resistive divider using a series 1M/10K resistor, and connect a DC voltmeter across the 10K. The result will be 100 times smaller than the output voltage, and therefore can be multiplied with 100

Reply
Balram Singh says:
April 10, 2018 at 4:37 pm

I wholeheartily thank you that you are doing a great job.
I have a problem that I want secure 2km agriculture farm but this circuit cover only 100 meter.
What machine parts will I change that cover such a ( 2km ) large area?

Reply
Swagatam says:
April 10, 2018 at 5:53 pm

You are most welcome!,
for increasing the range, I think you only have to upgrade the ignition coil specs…you can try a car ignition coil instead of the shown motorcycle coil

Reply
Sidhesh dessai says:
October 3, 2017 at 5:06 pm

Hi sir your site is very good n I already used many circuit that I used in my farm n now I’m goin for this bcos after Diwali we are going to grow chilly so I need to fence it, it is 4 Acer of land .

1st . Is One circuit is sufficient for fencing 4 acre and what guage wire I have to use ???

2nd what is the voltage of bt151 and tip 122 , 1uf capacitor voltage

Thanks

Reply
Sidhesh dessai says:
October 4, 2017 at 2:02 pm

Thanks sir, how to add siren to it and day night on off ,

Reply
Sidhesh dessai says:
October 7, 2017 at 6:52 am

Hi sir I have done that circuit on PCB
But I’m not getting sparks , I have used normal transformer, input 230v n out put 12v , 300 ma when I connected this I get output 11volt only n no sparks at ignition coil n transform er is getting hot n even tip122

Reply
Sidhesh dessai says:
October 7, 2017 at 3:00 pm

Hi sir thanks for reply, I already check tip is connected prprly , facing tip towards us first pin is base( is comin from pin 3 of 555 through 10k resistor ) ,2nd pin collector ( goin to transform 12v side ) , 3rd pin is emmitir ( is connected to output of transformar 230v side , which is negative to CDI coil) tip 122 is getting very hot , pulsing rate is ok since very fast led is blinking , I’m getting output to 12v only from transformar ,

Pls help me sir , if you have any other circuit which give even 10kv also it’s ok

Reply
Sidhesh dessai says:
October 13, 2017 at 10:02 am

Hi sir it will be great if you could explain with the daigram , (now don’t have to use tip 122 ?)

Last part of scr , capacitor , n 100ohm resistor will remain same or change ???

N what if i connect output of if 555 to the input of invertor circuit

Reply
Swagatam says:
October 13, 2017 at 12:13 pm

Sidhesh, the IC 555 will be required only to trigger the SCR, the inverter circuit can work independently, and will not require the IC 555 assistance…TIP122 will also be not required now.

I’ll try to update the design soon…

Reply
Swagatam says:
October 13, 2017 at 2:39 pm

…I have updated the diagram, you can check it out.

Reply
Sidhesh dessai says:
October 12, 2017 at 4:09 pm

Hi sir , I have completed the simple invertor circuit n it’s working , I have connected 10watt bulb n it’s glowing , it’s working fine , but my main concern is for fencing , pls tell now what should I do next

Reply
Swagatam says:
October 13, 2017 at 2:02 am

Hi Sidhesh, you can now build the CDI stage and configure it with the output of the inverter, for pulsing the SCR stage you will need a separate IC 555 astable circuit whose pin#3 will need to be configured with the SCr gate via a 1K resistor, and make sure to connect all the grounds together, you must connect the CdI ground, IC 555 power supply ground together, thi power supply can also be used for powering the inverter. If possible I’ll draw the design and update in the article…

Reply
Sidhesh dessai says:
October 9, 2017 at 8:15 am

Or is the differenct step up transformation

Or can I try with other invertor circuit of 45w output by giving input from the same circuit of urs only in place of transformar and rest as it is

Reply
Sidhesh dessai says:
October 9, 2017 at 8:10 am

Sorry it’s O/p 12v 300ma

Reply
Swagatam says:
October 9, 2017 at 11:19 am

I hope you have connected the 12V side with the TIP?? if yes then it should have worked

Reply
Sidhesh dessai says:
October 9, 2017 at 8:08 am

Hi sir I have done as u said but nothing change , but when I’m disconnect transformar tip is not getting heated up it remain cool I think there might be ptblom with the transform r ,

On transfrmr it is written as
07337100
I/p: ac 240v 50hz
I/p : 12v 300ma
Eng EI-350343

Or should I change the tranform r

Reply
Swagatam says:
October 9, 2017 at 11:17 am

Sidhesh, you are having difficulty with the IC 555 stage, you can try the following circuit, eliminate the entire IC 555 stage and replace it with this circuit. Don’t use TIP122 use any non-Darlington power transistor NPN

https://www.homemade-circuits.com/2012/02/how-to-make-simplest-inverter-circuit.html

Reply
Swagatam says:
October 8, 2017 at 4:03 am

Sidhesh, remove everything from the transformer secondary and first confirm whether the transformer is generating 220V or not.

connect a 1N4007 diode across collector/emitter of tip122, anode to emitter, cathode to collector, this is supposed to be already present internally for the transistor but just for extra safety I am recommending this.

now connect a 10 watt bulb across the 220V side of the transformer and check whether it is glowing or not…

the supply voltage should be around 12V 2 amp to the 555 circuit.

add a heatsink to TIP122 to keep it cool.

the concept is too simple, if the 12V primary of the transformer is pulsated with a 12V Dc, the secondary 220V side will accordingly pulsate and generate 220V DC, through magnetic induction.

Reply
Swagatam says:
October 8, 2017 at 4:05 am

this circuit was designed by me for auto-rickshaws and has been thoroughly tested, it worked immediately for me…

Reply
Swagatam says:
October 7, 2017 at 10:49 am

Hi Sidhesh, make sure the IC 555 is oscillating, to confirm replace the 1uF capacitor with 10uF or higher, check whether the red LED is flashing or not, it should flash rapidly.

The output of the trafo must generate pulsating 220V in response to this oscillations, also make sure you have connected the TIP122 correctly, and it is not faulty…replace the 100 ohm at TIP122 base with a 10K

Reply
Sidhesh dessai says:
October 13, 2017 at 4:25 pm

Thank you very much sir , Ur great ,

Sir here instead of 2n3055 u mentioned tip31c is it same or different? Cos I have 2n3055

Reply
Swagatam says:
October 13, 2017 at 4:38 pm

You are welcome Sidhesh, you can use 2N3055 also, no problem with that… since the current is low for this circuit I preferred using smaller transistors like TIP31,,,,

Reply
Swagatam says:
October 4, 2017 at 3:47 pm

Sidhesh, for a day night switching you may have to use an external circuit and configure it with the fence charger, you can select one of the designs explained in this article:

https://www.homemade-circuits.com/2012/01/how-to-make-light-activated-day-night.html

for siren you might have to incorporate a vibration detector for detecting animal presence…it can be difficult to attach it with the fence charger and make it work…

Reply
Sidhesh dessai says:
October 7, 2017 at 6:56 am

I’ve used capacitor at scr 105/400v and base resistor for transistor tip122 is 180 ohms , when I checked input volt for transformar I’m getting 9.5 volt and out 11volt and transform is getting hot

Reply
Swagatam says:
October 7, 2017 at 10:50 am

it could be because your IC 555 is not oscillating or TIP 122 is faulty, or TIP not connected correctly

Reply
Swagatam says:
October 4, 2017 at 1:19 am

Thank you Sidhesh, I am glad you are enjoying my circuits,

Regarding the distance, I am not sure how much one ignition coil would be able to handle, you will have to check and verify this through a practical testing.

BT151 is rated at over 300V, TIP122C at 100V, the IC 555 1uF capacitor should be 25V, the one attached with the SCR should be 1uF/400V PPC

Reply
deep prajapati says:
June 13, 2017 at 2:25 am

20,000 v is dangerous for human. So, what should be the output voltage, ehich will not affect human and can be use as fencing for animals.?

Reply
Swagatam says:
June 13, 2017 at 1:14 pm

use 12V 2 amp as the input, this will make the 2kv very weak in current and not so harmful.. however it's your responsibility to check the results appropriately

Reply
Swagatam says:
June 13, 2017 at 1:11 pm

In the above circuits, if you use a DC source with lower current then the 2kv will be not dangerous, it will produce a nasty shock but won't kill anybody…

That said, it's responsibility to make sure that the calculations are done correctly…

Reply
Unknown says:
June 12, 2017 at 4:30 pm

20,000 v is dangerous for human. So, what should be the output voltage, ehich will not affect human and can be use as fencing for animals.?

Reply
Swagatam says:
June 13, 2017 at 11:33 am

2kv can be dangerous to animals and humans only if it's accompanied with some higher current.

In the above circuits, if you use a DC source with lower current then the 2kv will be not so dangerous, it will produce a nasty shock but won't kill anybody…

That said, it's responsibility to make sure that the calculations are done correctly…

Reply
priya sai says:
October 23, 2016 at 1:19 am

Would u give me the information about energiser used in this project sir..if posibl will u provide

Reply
Swagatam says:
October 23, 2016 at 4:06 am

it is a motorcycle CDI ignition coil

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Gagana on 9 Simple Solar Battery Charger Circuits
  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram

© 2026 · Swagatam Innovations