ONLINE ELECTRONICS LTD
ID5002P MANUAL RevA01
Page 8 of 21
3.4.
DETECTION ALGORITHM
Below is a simplified flowchart for the ID5002P detection algorithm which is running while
LISTENING.
The image to the right shows what a
typical pig passage will look like
while in live display mode (see
section 3.5.8 SYSTEM MENU 2 – LIVE
DISPLAY).
Periodically calculate 100 bin FFT
(200Hz per bin)
Calculate Power In Band (PIB) between Lower
Frequency bin (LF) and Upper Frequency bin (UF)
Calculate Average Noise (AN)
over Average Noise Time
(AVT) period in minutes
Calculate Average Value (AV)
over Average Value Time
(AVT) period in seconds
Calculate Difference Level (DL)
= Average Value (AV) – Average Noise (AN)
DL > HL?
Display
“PIG APPROACH”
DL < LL?
Was DL > HL for
longer than DT?
PIG DETECTED
YES
YES
YES
NO
NO
NO
Clear
“PIG APPROACH”
1 0 0 0
G A I N
1 0 3
HL
LL
DL
DT
Y-SCALE
AMP
GAIN