An electric fence is a barrier that uses electric shocks to deter animals from crossing a boundary. The voltage of the shock may have effects ranging from discomfort to death. Most electric fences are used today for agricultural fencing and other forms of animal control, although they are frequently used to enhance the security of sensitive areas, such as military installations, prisons, and other security sensitive places; places exist where lethal voltages are used.
Electric fences are designed to create an electrical circuit when touched by a person or animal. A component called a power energizer converts power into a brief high voltage pulse. One terminal of the power energizer releases an electrical pulse along a connected bare wire about once per second. Another terminal is connected to a metal rod implanted in the earth, called a ground or earth rod. A person or animal touching both the wire and the earth during a pulse will complete an electrical circuit and will conduct the pulse, causing an electric shock. The effects of the shock depend upon the voltage, the energy of the pulse, the degree of contact between the recipient and the fence and ground and the route of the current through the body; it can range from barely noticeable to uncomfortable, painful or even lethal.
Early alternating current (AC) fence chargers used a transformer and a mechanically driven switch to generate the electrical pulses. The pulses were wide and the voltage unpredictable, with no-load peaks in excess of 10,000 volts and a rapid drop in voltage as the fence leakage increased. The switch mechanism was prone to failure. Later systems replaced the switch with a solid-state circuit, with an improvement in longevity but no change in pulse width or voltage control.
"Weed burner" fence chargers were popular for a time and featured a longer-duration output pulse that would destroy weeds touching the fence. These were responsible for many grass fires when used during dry weather. Although still available, they have declined in popularity.
Most modern fences emit pulses of high voltage at a given interval of time, and don't take into account whether there is an animal or person touching the conductive wires, except for the voltage multiplier based electric fence charger that stores high voltage potential and dumps its charges as soon as a conductive load (grounded animal/person) touches the wires.