Sei sulla pagina 1di 6

2018 4th International Conference for Convergence in Technology (I2CT)

SDMIT Ujire, Mangalore, India. Oct 27-28, 2018

Development of Electrical Fence Energizet for a Farm


Fencing System
Aditya S Vyas R. Radha. Bharath Y.K.
The National Institute of Engineering, The National Institute of Engineering, The National Institute of Engineering,
Manandavadi Road, Mysuru – 570 008 Manandavadi Road, Mysuru – 570 008 Manandavadi Road, Mysuru – 570 008
adityasy10@gmail.com

Abstract— There has always been a conflict between animal A conventional fence energizer as shown in Fig. 1 involves
life and agricultural produce at the boundaries of farms and a single high-tension transformer, which is driven by a
other agricultural sites which are situated in proximity to wild switching circuit in turn controlled by a controller, which also
life habitat. Wild animal infiltration into agricultural sites may monitors the transformer output with the help of a feedback
result in loss of agricultural assets while the preventive measures circuit. The power source can be DC source like battery or
taken against animal infiltration can endanger wild animal lives. solar panel, or a single-phase AC main. The conventional
This paper proposes an electrical fence energizer scheme, whose fences generate a high voltage of 10kV or above at a low
motive is to resolve the above-mentioned conflict with the help of frequency of around 0.75~2 Hz. Thus in conventional fences a
a balanced focus on its safety and effectiveness while being
high voltage is always present in the intervals of 0.5~1.5
economical to implement.
seconds. When an animal comes in contact with the fence, it
Keywords—Fencing Systems, Fence Energizer, Induction coil. gets hit with the pulsating high voltage and moves away.
However, if the animal is stuck then it will be hit with multiple
I. INTRODUCTION pulses for prolonged durations, which may kill the animal.
Further, there are several reports and incidences [3], [4], and
An electric fencing system is a system designed to prevent
[5], which suggest that the available fences are not safe for
subjects (animals or humans) from escaping out or intruding
animals and have caused many casualties over the years at the
into a specified boundary by the means of an electrical shock.
fence boundaries. Illegal fence energizing, unsafe fences which
In a conventional electrical fencing system, the fence is don't detect if animals get stuck or have persistent presence are
charged to a suitable high voltage by the fence energizer. the prime reasons for many animal casualties. The available
Whenever a subject tries to cross the fence, it encounters the energizers are expensive and not viable for farmers and other
fence wires which being at a high voltage drives an electrical landowners nearby forests hence forcing them to illegally
current through the body [1]. Depending on the magnitude of energize the fence from mains supply, which can be fatal for
electrical current through body, there can be various effects animals.
from tickles to death. The magnitude of current through body
Hence in the conventional fences there is a tradeoff
however depends on fence voltage and the body resistances
between effectiveness, safety and cost, which ultimately threats
[2]. For the normal body resistances the fence voltage is so
the life of animal.
adjusted that the current through the body will cause the
subject to momentarily lose control over its body and move The energizer proposed addresses this issue by having a
away from the fence, thus effectively deterring the subject balanced focus on safety and effectiveness, while having an
away from the fence boundary without harming it. The high economical cost. The energizer has several superior features,
voltage is applied in the form of short duration pulses, which which allow it to maintain safety, and effectiveness together.
ensures that the subject has enough time to safely move away The designed fence energizer has a completely different
from the fence, without being subjected to continuous electric behavior when compared to conventional fences. Under normal
current, which can cause death in a small duration, hence conditions with no subject present on the fence, the fence
ensuring safety. behaves as a dead fence, with no high voltage on the fence
power wires. Only when a subject comes in contact with the
fence, a sensing mechanism triggers the system and a high
voltage is generated and then applied on to the fence wires. But
the applied high voltage is only for a short duration, after
which the system will withdraw high voltage from the fence
and try to detect any presence; if the subject is still present then
again a high voltage is applied. This cycle repeats for a few
times, after which the system understands that the subject is
persistent and then the fence is shut down, with alarm
activation and a notification to the owner through SMS.
Further, the designed fence also can operate independently on
each zone of the boundary, where any interruption in a
Fig. 1. Conventional Energizer scheme particular zone will not interfere in the operation of the other
zones.

978-1-5386-5232-9/18/$31.00 ©2018 IEEE 1


Fig. 2. Fence energizer block diagram

II. METHODOLOGY wires, while they all share a common ground. Secondly, unlike
conventional fences having only hot wires on the fence poles,
The block diagram in the Fig. 2 shows basic layout of the designed system has multiple wires having different
various elements of the energizer like the presence detection functions arranged on the fence poles. The fence poles
unit, induction coils, coil driver unit, relay unit, batteries, GSM incorporate Lighting wire-L, Barbed wire-B, Detection wires-
unit and the charging unit along with their interconnections. M, power wires + and ground wires - .
The energizer developed is a 4 zone independent energizer, A. Induction coil and Coil driver
hence has four independent induction coils for producing high
voltage pulses in each zone when a subject presence is detected To develop a high voltage strong enough to penetrate thick
in the corresponding zones. The energizer has nine outgoing skin of animals so that a sufficient amount of current is made
wires four detection wires M1, M2, M3, M4, four power wires to flow through their body, an induction coil is used. The
P1, P2, P3, P4 corresponding to each of the zones and a induction coil internally consists of two coils, a low voltage
common ground wire. The energizer has two batteries B1 and high current coil of few turns( up to 50 turns) which develops
B2 as power sources, where B1 is the main battery powering high amounts of magnetic flux 'ϕ' and a high voltage low
the induction coils and the detection unit, while B2 supplies the current coil of a few thousands of turns (1000~5000 turns),
power to the controller unit such that the grounds of both which are coupled magnetically on a high permittivity
batteries remain isolated and the controller has independent laminated core and have a common ground. To the low voltage
supply. The layout of the system is as shown in Fig. 3. coil a switched DC (chopped) is applied from the main battery
B1 under PWM scheme with the help of Coil driver circuit.
The switching action causes the flux developed by the primary
to change rapidly, inducing EMF in both the coils.
The EMF induced in a coil having 'n' turns is given by the
following equation

(1)
From (1) it is seen that the high voltage coil which has
large number of turns will have a higher voltage induced in it,
which is of the order of 15~20KV.The high voltage developed
is in pulsating fashion reflecting the switched DC applied to
the low voltage coil. Hence, the high voltage appears as pulses
of short duration and delivers only a low and safe current
enough to deter away the subject on the fence.
There are four such coils employed which are independent
to operate in each zone but are energized through a common
coil driver circuit which is controlled by the controller unit as
Fig. 3. Site implementation of fencing system per the program sequence. Further, the supply to the coils is
made available from the main battery through relays, which are
In order to incorporate the complex behavior of the also controlled by controller unit to switch coils when required.
designed fence energizer, the site implementation of the fence
around the boundary and on the fence poles requires special The coil driver circuit has a very simple operation of
modifications. Firstly, the fences on each side of the boundary switching the primary coil ON and OFF corresponding to the
are independent zones; they have different power and detection PWM signal provided by the controller unit. In order to

2
facilitate this operation the circuit involves an n-channel
enhancement type power MOSFET IRF-540, a MOSFET gate
driver IC TLP-250 that provides optical isolation for the
signals from the controller unit and correspondingly provides
higher amplitude signals to MOSFET gate with the help of
source 'Vgate', which has an independent ground 'GND-0'.
Further elements like resistors in the gate driver circuit ensure
that currents do not exceed limits and proper gate voltages are
maintained, a gate driver circuit is hence formed [6]. A
capacitor of 0.1μF is provided to act as turn OFF snubber,
which absorbs coil energy during turn OFF and hence saves the
MOSFET from high voltage spikes by the coil during turn
OFF. An induction coil in conjunction with coil driver circuit is
as shown in Fig. 4.
Fig. 5. Presence detection unit

The power supply to this unit is given through relay R5 NC


(Normally Closed) contact. Hence, in standby condition the
presence detection unit remains energized while its shut down
under fence operation.
LM339N is a quad comparator IC, which internally
employs four operational amplifiers. The inverting and non-
inverting terminals of the op-amps are connected to a bridge
Fig. 4. Induction coil and coil driver network, whose one arm is open circuit. The subject coming in
When the MOSFET is turned ON, current from the battery contact between the detection wire and ground acting as a
flows through the primary of the induction coil and reaches a resistor will now be in place of the open circuited arm, this will
steady state value in a short duration depending on coil change the voltage at the inverting terminal and hence the
inductance, this sets up a magnetic field 'ϕ', in the primary coil, output of the op-amp. The output of each op-amp is used to
which links the secondary coil. When the MOSFET is turned drive optocoupler IC PC817. This after providing isolation
OFF, the current through the primary coil becomes zero; transfers the output to the controller unit.
causing the magnetic field instantly collapses, and due to very
fast rate of change of magnetic field, an EMF is induced in
both the coils. Since the secondary coil has very large number
of turns, the EMF induced for this drastic collapse of the field
in the secondary coil is very large (up to 20KV )but for a short
duration. Thus, the coil develops high voltage spikes. This
operation cycle of the coil is repeated for 100 times every
second, hence a period of 10ms. The PWM signal is so
programmed to have an ON time of 6ms and OFF time of 4ms,
hence operates at a duty cycle of 60%.
Fig. 6. Single zone PDU circuit
The coil driver circuit consists of a MOSFET gate driver IC
TLP 250 which is an optocoupler IC providing isolation to the Fig.6 shows the single zone connection of Presence
PWM signals from the controller unit. An additional supply Detection Unit. In the standby mode, the inverting terminal is
'Vgate' is provided to drive the MOSFET. When PWM signal lifted from the ground and is connected to the supply through
is high, the gate driver IC connects the gate of the MOSFET to the resistor R2. Thus, the voltage at the inverting terminal 'V-'
the power source 'Vgate', switching ON the MOSFET and is equal to supply voltage i.e. 12V. The non-inverting terminal
when PWM signal is low the MOSFET gate is grounded to connected to the supply through the voltage divider formed by
'GND-0' through the IC so that it switches OFF, hence the two R1 resistors. Thus the voltage at the non-inverting 'V+'
providing optimum conditions for MOSFET operation. is half the supply voltage i.e. 6V. Since V+ < V-, the output of
the comparator is low, i.e. output terminal is connected to
B. Presence detection unit ground and the internal LED of the PC817 is turned ON. This
The presence detection unit circuit is shown in the Fig 5. drives the PC817 and on the output side of PC817 there is
conduction from its collector to emitter, which hence grounds
The presence detection unit consists of two main integrated the controller sense wires and controller senses it as input
circuits- LM339N and PC817. Resistor R is 2.2KΩ and is LOW, thus under this condition the system remains
used as current limiting resistor for the input of PC817, inoperative.
resistors R1 and R2 are bridge network resistors, which have
the values of 1MΩ and 10MΩ respectively. Whenever there is presence of any subject on the fence in a
particular zone, the subject connects itself between inverting
terminal and ground. As the skin resistance is usually much

3
below 10MΩ [2], the voltage at inverting terminal 'V-' remains controller operates the relay R6 which shuts down the whole
below 6V under the presence of any subject on the fence, while system, only the controller, relay unit, GSM module remain
the non-inverting terminal is always at 6V. Since under this powered through the second power supply B2. The relay R6
condition V+ > V-, the comparator output becomes high, also operates the LED indicator I6, which indicates that the
which results in turn OFF of internal LED, which results in fence is shutdown due to interruption.
disconnection of sense wire of the controller from ground and
the controller reads it as input high. Thus triggering the system D. Controller unit
and activating the induction coil of that particular zone.
C. Relay unit

Fig. 8. Controller unit connections

The controller unit consists of ' ATMEL AT mega 328' as


the microcontroller which is embedded along with its
Fig. 7. Relay unit connections auxiliaries to form an embedded system called the ARDUINO
UNO, which is shown along with its connections in the system
The relay unit employed is an 8-channel relay module as in Fig. 8.
shown in Fig. 7, which can be operated directly by the
controller unit under low logic at an operating potential of 5 The controller unit operates with a clock speed of 16MHz,
Volts. Further the relay coils are isolated from the controller it has 6 are analog pins and 14digital bidirectional pins of
unit via internally embedded Optocouplers present in the relay which 6 are capable of PWM. The unit has a total flash
module. memory of 32KB and a SRAM of 2KB.The controller can be
directly programmed from the Integrated Development
Of the 8 relays present ( R1, R2,........R8), the first four Environment (IDE) application from a personal computer.
relays (R1,R2,R3,R4) are for operating induction coils of the
four zones (Z1,Z2,Z3,Z4). These relays avail the switched The controller unit is configured such that digital pins 2,3,4
power from the coil driver unit to the induction coil of the and 5 act as input pins which sense change from the presence
corresponding zone. Further to these relays, indicators I1, I2, I3 detection unit for each of the four zones and digital pins
and I4 are connected; hence whenever a particular zone 12,11,10 and 9 act as output pins which drive zonal relays
induction coil is energized corresponding zone indicator will R1,R2,R3 and R4 respectively. The power establishing relay
turn ON. R5 is driven by the digital pin 7 and R6 is driven by pin 6. The
digital pin 13 acts as the PWM pin, which drives the coil driver
The fifth relay is (R5) is operated to establish power supply unit via MOSFET driver TLP250.
to either presence detection unit or to induction coils but not
both at the same time. Under normal state with no subject The controller is so programmed to run in a loop such that
present on the fence the relay R5 is in its normally closed state it individually checks the status of each digital input pin by if-
where the power from the battery flows to the presence else conditions one after the other and if there is a change in
detection unit, for detection purpose. Whenever a subject is any of the input digital pins, the program awaits for a certain
detected by the presence detection unit, the controller unit duration to ensure that the subject is persistent on the fence and
simultaneously operates relays R5 and a corresponding zone then jumps to a subroutine which activates a relay
relay (R1~R4). corresponding to the detected zone along with R5 and then a
PWM signal is generated on pin 13, thus high voltage is now
R5 also operates I5 indicator, which is an alarm. Thus as available on the detected zone for a fixed interval of time, after
soon as there is an interruption on any zone alarm is activated. which the program returns to the main loop and again starts to
The sixth relay R6 connects the battery to the relay R5 check each of the digital input pins and continues to repeat.
through the NC contact. Under normal condition the relay Any change in other zones is updated in consecutive iterations
remains inoperative, establishing power supply to entire of the program, thus simultaneous and independent operation
system. Only if the subject is persistent on the fence the of different zones is possible.

4
The complete hardware setup of the system proposed is as
shown in Fig. 9.

Fig. 11 Physical implementation of experimental setup.

During the conduction of the experiment, the following the


atmospheric conditions were recorded which are considered for
the calculation of the peak coil output voltage.
 Temperature (T): 28°C.
 Atmospheric pressure (P): 759.43torr.
 Vapour pressure of water (e): 28.349mmHg. (@ 28°C)

The air density factor is given by (2)

Fig. 9. Hardware setup of the system

III. EXPERIMENTAL ANALYSIS


In order to determine the peak output voltage of the Therefore, d=0.9727
induction coils, which will be directly applied on to the Experimentally, the spark gap (S) is found to be,
subject encountering the fence, an experimental setup is S= 6 mm.
created with two parallel electrodes as shown in the Fig 10
and Fig. 11. The peak voltage (Vp) is given by (3)

The peak voltage hence obtained is

Considering accuracy to be within ± 10%, the peak output


voltage varies between 18 to 21 kV
The simulation graph of induction coils showing coil output
Fig. 10 Scheme for measuring peak output voltage voltage, primary current and the PWM signal with respect to
time [8], is as shown in Fig 12.
The above experimental setup is spark gap method with
uniform field electrode gap [7]. The simultaneous variation of the PWM signal, Primary
coil current and the secondary coil output voltage with respect
The set up consists of an isolated chamber with two flat to the time can be observed from the graph. As soon as the
parallel electrodes, a fixed electrode connected to HV terminal signal turns high the MOSFET turns ON and the primary coil
of the coil under test and a moving electrode connected to current rises gradually due to the inductance of the coil and
ground. The electric field between the electrodes is spread reaches a steady state value and hence maximum possible
uniformly throughout the gap. The gap between the electrodes magnetic field ϕ is established. As soon as the PWM signal
is measured over a graduated scale. When the coil is energized turns low, the MOSFET turns OFF and the current in the
and the distance between the electrodes is gradually reduced, primary coil seizes to flow. This results in a rapid collapse of
on observation we can find a point at which the gap will have the magnetic field, which induces a high voltage spike in the
its first spark over. This point is the point at which the air in the secondary coil with a peak ranging from 15 to 20 kV. The high
chamber breaks down and there will be an arcing. This gap voltage spike generated has a very sharp peak with extremely
between the electrodes is recorded as the spark gap 'S' and is high rate of rise of voltage. This peak exists only for a few 100
used in calculating the peak output voltage of the coil. microseconds.

5
are effective and safe, are not economical hence are less
employed, while the ones economical are not safe staking the
life of animals. This scenario of fences in the market forces the
farmers and landowners nearby the forest reserves to employ
illegal energization of fences causing animal causalities.
The fencing system developed overcomes these drawbacks
of safety and effectiveness at an economical cost. The system
employs highly effective induction coils with a program
sequence that ensures the safety of the animal when stuck in
fence by monitoring the persistent presence of the animal on
the fence. Further features like zonal security, dead fence on
standby, GSM based notification service and independent
Fig. 12 Coil output voltage, Input current and PWM signal versus time power supply are provided, which are absent in most of the
conventional fences while having a cost much more
There exists a choice of controlling the energy in the output economical to the conventional fences available in the market.
voltage spike. The energy in the voltage spike is proportional
to the energy in the magnetic field setup by the primary coil. REFERENCES
The energy can be controlled by controlling the duty cycle of [1] M. Raymond Fish, A. Leslie Geddes, 'Conduction of Electrical Current
the PWM signal. If the duty cycle is such that the current is not to and Through The Human Body', 2009. [Online]. Available:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2763825/ .
allowed to reach the steady state value, then the energy is
[2] C. Schulze, M. Peters, W. Baumgärtner, P. Wohlsein, ' Electrical
reduced in the output of the coil. Thus if the ON time of the Injuries in Animals- Causes, Pathogenesis and MOrphological findings',
PWM signal is less than the time constant then coil energy can 2016. [Online]. Available:
be reduced, hence at lower duty cycles the energy in the output http://journals.sagepub.com/doi/full/10.1177/0300985816643371
is controllable. The variation of primary coil current and [3] W. Thomas, 'Electrical Fences poses a Threat', 2017. [online].
energy versus time constant of the coil [9], is as shown in Fig Available: http://www.thehindu.com/news/cities/Coimbatore/electric-
13. fences-poses-a-threat/article19406609.ece
[4] Badri Chatterjee, ' Indias Death Fields- more animals electrocuted',
2017. [online]. Available:
https://www.hindustantimes.com/mumbai-news/india-s-death-fields-
more-animals-electrocuted/story JcECsLsulIRkQHO9STIF3K.html
[5] Meera Bhardwaj, ' Electricfied fences of Karnataka farmers leave many
animals dead', 2017. [online]. Available:
http://www.newindianexpress.com/states/karnataka/2018/feb/20/electrifi
ed-fences-of-karnataka-farmers-leave-many-animals-dead-1776038.html
[6] Muhammad H. Rashid, Power Electronics Circuits, Devices, and
Applications, 3e, New Delhi: Pearson Education Inc, Chapter 17- Gate
Drive Circuits, pp. 771-779.
[7] Naidu, M.S. and Kamaraju, V., High Voltage Engineering,5e,New
Delhi:Mc Graw Hill Education, Chapter 7- Measurement of High
Voltages and Currents, pp. 226-237.
[8] Pico Technology - Automotive guided tests. [online]. Available:
https://www.picoauto.com/library/automotive-guided-tests/primary-
voltage-vs-current-vs-secondary/
Fig. 13. Primary coil current and energy versus time.
[9] Instructibles- ignition coil Current and energy versus time. [online].
IV. CONCLUSION Available: http://www.instructables.com/id/Ignition-Coil-High-Voltage-
Display/
This paper explains the drawbacks of conventional fence
energizer where there is a compromise between safety,
effectiveness and the overall cost. Conventional fences which

Potrebbero piacerti anche