A METHOD AND AN APPARATUS FOR MEASURING THE OUTPUT VOLTAGE ON AN ELECTRIC FENCE AND FOR PRODUCING ELECTRIC PULSES IN SAID FENCE

Abstract: In an electric fence energising apparatus, in which a chargeable discharge capacitor is connected over the primary winding of a transformer, to the secondary winding of which the fence is connected to receive pulses at the discharge of the capacitor, the discharge time of the capacitor serves as a measure of the voltage of the corresponding output pulse on the fence. The primary winding of the transformer (T1) is divided into two oppositely connected windings (P1, P2), the discharge capacitor (C3) being arranged to be discharged through a first one (P2) of the primary windings. A voltage determined by the discharge of the capacitor is produced over the second of the primary windings (P1) during the discharge process. A measuring unit (6) measures the time of the duration of this voltage over the second primary winding (P1), determined by the discharge of the capacitor.

Description: A method and an apparatus for measuring the output voltaσe on an electric fence and for producing electric 5 pulses in said fence. The present invention relates to a method for measuring the output voltage on an electric fence and an apparatus for producing electric pulses in said fence, a chargeable 10 discharge capacitor being connected over the primary winding of a transformer, to the secondary winding of which the fence is connected for receiving pulses at the discharge of the capacitor. The voltage of pulses transmitted on a fence must be 15 measured, i.a. because it is required by the provisions for such fences that the voltage is below a predetermined threshold, normally 2 V. Earlier this measurement has been done with measuring circuits arranged on the secondary side. However, as the 20 control equipment provided for producing the pulses is located on the primary side of the transformer, this previous technique suffers from some disadvantages. It also involves difficulties to carry out the measurement on the secondary side of the transformer as the voltage is high and currents 25 are low, which makes it difficult to power e.g. a light emitting diode, which requires a comparetivly large current. The object of the present invention is to provide a method and an apparatus of the kind mentioned by way of introduction, which makes it possible to measure the output 30 voltage of the fence from the primary side. This object is achieved by the method according to the % invention by measuring the discharge time of the discharge capacitor as a measure of the voltage of the corresponding " output pulse on the electric fence. 35 At the apparatus according to the invention this object is achieved in that the primary winding of the transformer is divided into two oppositely connected windings and the discharge capacitor is arranged to be discharged through the first primary winding r a voltage determined by the capacitor charge being generated over the other primary winding during he discharge process, and a measuring unit being arranged to measure the duration time of this voltage, determined by the discharge of the capacitor, over the second primary winding, said time being a measure of the voltage of the output pulse on the fence. The solution according to the invention is advatageous as a direct measurement on the discharge capacitor would require measurement at a point with a continously high voltage. Due to the large coupling inductance of the transformer there will thus be a high voltage over the first primary winding also when the secondary side is short circuited. At a large load on the fence the output voltage will decrease considerably below the unloaded voltage of the apparatus. In this range of operation the voltage will depend on the resistive load and is thus proportional to the current draw. This results in an output voltage directly related to the corresponding discharge time. According to one preferable embodiment of the apparatus according to the invention the measuring unit is arranged to measure the length of the time during which one end of the other primary winding has a potential which is distinguishing for the discharge process. An embodiment of the device according to the invention, chosen as an example, will now be described with reference to the enclosed drawing, which shows a circuit diagram of a battery driven apparatus for an electric fence of the kind according to the invention. In the battery operated electric fence energiser, shown in Figure 1, the battery, not shown, is intended to be connected to terminals l and W2. SI is a switch for connecting and disconnecting the battery. The elctric fence apparatus is connected at terminals OUT and GND over the secondary side of a transformer TI. The primary side of the transformer TI is divided into two windings, coupled in two opposite directions, i.e. an energy recovery winding PI and a pulse winding P2. A discharge capacitor C3 is connected over the pulse winding P2. During the charging interval of the capacitor C3 a transistor Trl included in a DC-DC converter 2, is controlled by short pulses from a micro processor, not shown, included a control unit 4. This results in a short current from the battery through the transistor Trl and an inductance LI, connected in serie with said transistor. When the transistor Trl subsequently is cut off a voltage will be produced over the the inductance LI, which results in a current to the capacitor C3 through a diode D3 coupled to the inductance LI. The voltage over the capacitor C3 will thus increase somewhat for each such current impulse. The voltage over the capacitor C3 is sensed by a measuring unit 6 over a resistor R2 and when a predetermined maximum voltage has been obtained the charging process is interrupted. During a subsequent discharge process a thyristor TYR1, connected in serie with the diode D3, the winding P2 and an inductance L2, is ignited from the micro processor in the control unit 4. Normally the micro processor is programmed to ignite the thyristor TYR1 after a predetermined time from the preceding pulse. A current will then start flowing from the capacitor C3 through the winding P2, the inductance L2 and the thyristor TYR1. In this connection the inductance L2 has the function of limiting the increase rate of the current. After a certain time, when the voltage over the primary side of the transformer TI has reached its value, the micro processor in the control unit 4 will ignite a thyristor TYR2, connected in parallell with the inductance L2 and the thyristor TYR1, whereby the energy in the capacitor C3 will be drained through the winding P2 of the transformer TI and the thyristor TYR2. The pulse through the winding P2 will be stept up by the transformer so as to obtain an output pulse of typically 4-8 kV on the secondary side of the transformer TI, to which the electrical fence is connected. The operating voltage of the battery is typically in the range 5-9 V and the charging energy amounts to 100-350 mJ. The pulse length is normally 1,4 seconds. The voltage over the capacitor C3 is continously measured through the resistor R2 for security reasons. If the voltage does not develop in a predescribed manner the charging from the micro processor of the control unit 4 is interrupted. During the subsequent energy recovery process the side of the energy recovery winding PI connected to the energy storing capacitor Cl goes positive and a current will flow through the diode D2 and the storing capacitor Cl will be charged, i.e. energy recovered from the fence is restored in the storing capacitor Cl. A diode DI arranged between the terminal Wl and the switch SI prevents the recovered energy from going into the battery. This is because as soon as the voltage over the capacitor Cl rises over the battery voltage the diode DI will be blocked. The diode DI is conveniently a Schottky diode. The current which is recovered in the energy recovery winding also tends to charge the discharge capacitor C3 negatively. Through a diode D4 connected over the thyristor TYR1 this charge is later discharged through the transformer and is turned to a positive charge in C3 through the inductance of the transformer. During the subsequent discharge phase for the discharge capacitor C3 the recovery energy stored in the storing capacitor Cl is first consumed, since the diode DI is blocking as long as the voltage over the capacitor Cl is larger than the battery voltage. Not until the energy of the storing capacitor Cl has been drained so that the voltage has decreased below the battery voltage, current is beginning to be drawn from the battery for charging of the capacitor C3. Preferably the voltage of the discharge capacitor C3 is measured when the energi of the storing capacitor Cl has been drained, and the remaining voltage over the discharge capacitor C3 is calculated. From this the average current required for reaching the correct capacitor voltage at the end of the discharge period is determined and this average current is drawn from the battery. Such a constant current consumption without heavy current top values is advantagous for the battery. A switch S2 connected to the measuring unit as shown makes possible switching between two operational modes. One of this, called "training", means that full output voltage is used all the time and is intended to be used during the learning time of the animals. During the other operational mode, called "normal", each full power pulse is followed by a number of pulses of lower power, which reduces the energy consumption and thus increases the lifetime of the battery. In order for the rise time of the outout pulse not to be too short, e.e. in order not to make the rate of the discharge of the discharge capacitor too high, the transformer TI is designed to achieve a high coupling inductance. A filter is arranged on the primary side of the transformer, which attenuates high frequency components, above 150 kHz. The filter consists, on the one hand, of the capacitor C2 connected over the windings PI and P2 of the transformer TI and the inductance L2 connected between the primary winding P2 and ground, and, on the other hand, of the leakage inductance of the transformer TI. By connecting the capacitor C2 over the two oppositely connected windings PI and P2, the effect of the capacitor in the filter is reinforced. To get a large filtering effect, i.e. a long rise time of the pulse and yet low losses, the inductance L2 of the filter is only connected into circuit during the first part of the pulse. During the second part of the pulse the thyristor TYR2 is conducting and is conducts the current past the inductance L2. Otherwise an undesired voltage drop should appear over the inductance L2 due to its resistance, with consequent losses. At an electric fence of the kind in question provisions often require that an indication is made when the voltage is above a predetermined level, normally 2 kV. Due to this the voltage on the fence must be measured. As the control unit of the apparatus is located on the primary side of the transformer TI it is desireable that this voltage measurement can be made from the primary side. It is then not suitable to measure directly on the discharge capacitor as the voltage over the winding P2 is high all the time due to the coupling inductance of the transformer. At a high load the output voltage on the fence will decrease considerably below the unloaded output voltage of the apparatus and in this range of operation the voltage is depending on the resistive load and is thus proportional to the current draw. This implies that the output voltage on the fence is directly related to the discharge time of the capacitor C3. During pulse transmission the voltage over the primary winding P2 is transformed to the primary winding PI. The upper part of the winding PI will thus have a potantial of about +100 Volt during the discharge of the capacitor C3. At the end of the discharge, when the energy recovery process starts as descibed above, the potential at the upper part of the winding PI will go steeply negative. With the measuring unit 6 the potential at the upper part of the winding PI is sensed via a resistance RI and the time from the start of the discharge process, e.g. the moment when the thyristor TYR1 is ignited, until the potential rapidly starts to decrease, is mesaured by the measuring unit 6 and this time provides a measure of the output voltage. From the control unit 4 a suitable indicator device e.g. a light emitting diode, can be controlled in dependence of this measured time to indicate that the output voltage is above the predetermined limit according to standards.

Claims: Claims. 1. A method for measuring the output voltage on an electric fence, a chargeable discharge capacitor being connected over the primary side of a transformer, to the secondary winding of which the fence is connected to receive pulses at the discharge of the capacitor, characterised by measuring the discharge time of the capacitor as a measure of the voltage of the corresponding output pulse on the electric fence. 2. An apparatus for producing electric pulses in an electric fence, comprising a chargeable discharge capacitor (C3) connected over the primary winding (P1,P2) of a transformer (TI) , to the secondary winding of which the fence is connected to receive pulses at the discharge of the capacitor, characterised in that the primary winding of the transformer is divided into two oppositely connected windings (P1,P2) , coupled in opposite directions, and that the discharge capacitor (C3) is arranged to be discharged through a first (P2) of said primary windings, a voltage determined by the discharge of said capacitor being produced over the second primary winding (PI) during the discharge process, and that a measuring unit (6) is arranged to measure the time of the duration of said voltage over the second primary winding (PI) determined by the discharge of the capacitor, which time provides a measure of the voltage of the output pulse on the electric fence. 3. An apparatus according to claim 2, wherein one end of the second primary winding (PI) has a specific potential during the discharge process, distinguishing the discharge process, said potential being changed at the end of the discharge, characterised in that the measuring unit (6) is arranged to measure the length of the time during which said end of the second winding (PI) has the potential distinguishing the discharge process. 4. An apparatus according to claims 2 and 3, characterised in that the measuring unit (6) controls an indicating means for indicating that the voltage of the fence is exceeding a predetermined threshold. 5. An apparatus according to claim 4, characterised in that said indicating means comprise a light emitting diode, the feeding of which is controlled by a micro processor in dependence of the time measured by the measuring unit (6) .

Inventors: ERIKSSON LARS-ARNE, ERIKSSON, LARS-ARNE
Applicants: ALFA LAVAL AGRI INT, ALFA-LAVAL AGRICULTURE INTERNATIONAL AB
Application year: 1992
Main classification: H05C1
IPC codes: H05C1, H05C3