Fence performance and test

Fence monitoring solution is built to measure the energize pulse voltage in real-time, such that various events on the fence can be detected.

The logic is built such that the pulses generated are acquired by the Lion tracker and analysed. A typical pulse is shown below

The measurement algorithm works by detecting the individual pulses and calculating various parameters:

  • Detect 5 pulses in 10s and use all measurements from each pulse to calculate the average

  • Peak is calculated as the average peak value of 5 pulse, shown as a raw value 0-255

    • Peak values can have quite some noise and may not be the best measure

  • Energy is calculated as the sum of all samples in a pulse, per pulse average is calculated

    • Energy is a better value as we are evaluating how much energy is delivered across the fence and is what deters the animals.

Calibration

Each fence sensor is calibrated to output the same energy level on a reference source. These measurements do not represent measurements in kV and must be scaled to that range in the decoder.

Send to port 93 a 2 byte value with the calibration factor multiplied by 10000; For example, the sensor is returning 1300 (pulse_voltage), we wish to calibrate this to 1800. Calculating from this 1.3846 factor, multiplied is 13856, convert this to hex 0x3616. Send this via downlink. To reset the values send 2 byte value 2710 (hex 0x2710) to port 93.

Last updated