Difference between revisions of "Metal detector configuration v4"

From Awesome Baozam
Jump to: navigation, search
(Parameters description)
(Parameters description)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
[[File:Combie_manual_coil.png|right|thumb|200px|Fig. 1: Recommended configuration of the metal detector winding]]
+
[[File:Combie_manual_coil.png|right|thumb|200px|Fig. 1: Recommended configuration of the metal detector coil / antenna]]
  
 
=== General functionality description ===
 
=== General functionality description ===
  
Device works as mono (only one winding) metal detector. So device has a connector for metal detectors winding, separate LED indication output, separate parameters for choosing sound indication and groups of parameters "Metal" and "Metal Adv."  for tuning.
+
Device works as mono (only one coil, or antenna) metal detector. So device has a connector for metal detectors coil, separate LED indication output, separate parameters for choosing sound indication and groups of parameters "Metal" and "Metal Adv."  for tuning.
  
The system responde to a moving metal in the area of ​​the metal detectors winding. If reaction correspond to metal detection settings it consider as alarm. So internal state is changing to alarm state, alarm counter is incrementing, common system buzzer is switching-on ("slow beeps" by default), correspond external LED indication is switching-on.
+
The system responde to a moving metal in the area of ​​the metal detectors antenna. If reaction correspond to metal detection settings it consider as alarm. So internal state is changing to alarm state, alarm counter is incrementing, common system buzzer is switching-on ("slow beeps" by default), correspond external LED2 indication is switching-on.
 
After a short time when metal is not moving or it is out of the detection area, if reaction is less then metal detection settings it consider as end of alarm. So internal state is changing to normal state, common system buzzer and corresponded external LED indication is switching-off.
 
After a short time when metal is not moving or it is out of the detection area, if reaction is less then metal detection settings it consider as end of alarm. So internal state is changing to normal state, common system buzzer and corresponded external LED indication is switching-off.
  
Line 13: Line 13:
  
 
=== Hardware configuration ===
 
=== Hardware configuration ===
Device has on board connector for metal detector winding with following contacts.
+
Device has on board connector for metal detector coil with following contacts.
 
{|border=1 cellpadding=5
 
{|border=1 cellpadding=5
 
|-
 
|-
|Pin 1||1-st end of winding
+
|Pin 1||1-st end of coil
 
|-
 
|-
 
|Pin 2||N.C. or GND
 
|Pin 2||N.C. or GND
 
|-
 
|-
|Pin 3||2-nd end of winding
+
|Pin 3||2-nd end of coil
 
|}
 
|}
  
 
The recommended configuration of the metal detector winding is shown in Figure 1.
 
The recommended configuration of the metal detector winding is shown in Figure 1.
  
The recommended winding of the metal detector should contain three concentric coils of a stranded wire with a cross section of 0.25 .. 1 mm2. The ends of the winding (1, 2) must be twisted with each other to reduce the effect of external electromagnetic radiation.  
+
The recommended coil of the metal detector should contain three concentric turns of a stranded wire with a cross section of 0.25 .. 1 mm2. The ends of the coil(1, 2) must be twisted with each other to reduce the effect of external electromagnetic radiation.  
  
In general, the winding can be of arbitrary shape, configuration, and contain 3 or 4 coils. The parameters of the winding wiggle on the frequency of the metal detection circuit, the geometric dimensions of the winding affect the sensitivity in the detection of metal.
+
In general, the winding can be of arbitrary shape, configuration, and contain 3 or 4 turns. The parameters of the coil wiggle on the frequency of the metal detection circuit, the geometric dimensions of the antenna affect the sensitivity in the detection of metal.
  
 
In the case of installation sequentially in a row with a number of pedestals > 2 to reduce the mutual influence, it is recommended to change the frequency in the metal detecting circuit of each even pedestal (even/odd). To do this, you need to permanently remove both jumpers that are on the board near the metal detector connector, which will change the frequency of the metal detector.  
 
In the case of installation sequentially in a row with a number of pedestals > 2 to reduce the mutual influence, it is recommended to change the frequency in the metal detecting circuit of each even pedestal (even/odd). To do this, you need to permanently remove both jumpers that are on the board near the metal detector connector, which will change the frequency of the metal detector.  
Line 34: Line 34:
  
 
=== Parameters description ===
 
=== Parameters description ===
 +
[[Parameters_Features|Parameters features explanation]]
  
[[File:Combie manual metaldet 2.1.png|thumb|right|450px|Fig. 3: An example of changing the state of the metal detection (state) in time depending on the indicator value (dV) and the influence of the tuning parameters (th, th in delay, th out delay)]]
+
[[File:Combie manual metaldet 2.1.png|thumb|right|450px|Fig. 3: Detection algorithm 0. An example of changing the metal detector alarm state in time depending on the response value (dV) and the influence of the tuning parameters (th, in delay, out delay)]]
 +
 
 +
[[File:Combie criteria.png|thumb|right|450px|Fig. 4: Main detection algorithm 1. An example of changing the the metal detector alarm state in time depending on dV, criteria and the influence of the tuning parameters (sense_th, criteria_th)]]
  
 
:  
 
:  
Line 41: Line 44:
 
'''Parameters of "Metal" group.'''
 
'''Parameters of "Metal" group.'''
  
* '''algo''' - detection algorithm. ''Features: [1], [0, 1], [RWS].''
+
   
: '''''0''''' - simple metal detector. Detection is depended only on sensitivity "sense_th" and triggering time "in time" settings.
+
: '''''1''''' - metal detector with advanced filtering. Detection is depended on sensitivity "sense_th" and criteria level "criteria_th".
+
:: This provides the sense-time filtering from near passed small and fast metal object (phones, watches, keys etc.).
+
 
+
 
* '''dV''' - the response of the system to the metal. ''Features: [var], [float], [RW], [Monitor only].''
 
* '''dV''' - the response of the system to the metal. ''Features: [var], [float], [RW], [Monitor only].''
  
 
* '''sense_th''' - sensitivity threshold detection setting. The parameter values ​​are selected based on the noise level.  
 
* '''sense_th''' - sensitivity threshold detection setting. The parameter values ​​are selected based on the noise level.  
: ''Features: [0.3], [0.01 .. 1.00], [RWS].''  
+
: ''Features: [0.3], [0.01 .. 10.00], [RWS].''  
  
 
* '''criteria''' - time-sense based estimation of metal response. This is the main response value for detection.  
 
* '''criteria''' - time-sense based estimation of metal response. This is the main response value for detection.  
: This calculated for '''algo''' > 0. ''Features [var], [float], [RW], [Monitor only].''
+
: ''Features [var], [float], [RW], [Monitor only].''
  
 
* '''criteria_th''' - [approx. x100 ms] the time-based detection setting. The parameter value ​​is selected dependent on desired  
 
* '''criteria_th''' - [approx. x100 ms] the time-based detection setting. The parameter value ​​is selected dependent on desired  
 
: time filtering level vs detection range. This means the minimum time for target bag detection.  
 
: time filtering level vs detection range. This means the minimum time for target bag detection.  
 
: Also it means the maximum time when visitors personal metal smartphone, watch, keys etc. don't makes alarm.  
 
: Also it means the maximum time when visitors personal metal smartphone, watch, keys etc. don't makes alarm.  
: This affected when '''algo''' > 0. ''Features [60], [1.0 .. 100.0], [RWS].''
+
: ''Features [60], [1.0 .. 100.0], [RWS].''
  
* '''period ave''' - a estimated value of oscillation period in the metal detector loop. Ussualy this range can be 50..4320 ticks.  
+
* '''period ave''' - estimated value of oscillation period in the metal detector loop. Usualy this range can be 50..4320 ticks.  
 
: If its equal to zero this means no oscillation in metal detector loop. ''Features [var], [uint], [RW], [Monitor only].''  
 
: If its equal to zero this means no oscillation in metal detector loop. ''Features [var], [uint], [RW], [Monitor only].''  
  
 
* '''period set''' - [samples] the period setting of metal detector loop frequency. For normal operation of the metal detector,  
 
* '''period set''' - [samples] the period setting of metal detector loop frequency. For normal operation of the metal detector,  
: it is necessary to set '''period set''' equal or close (+-10 smaples) to '''period ave'''. ''Features [1950], [int], [RWS].''
+
: it is necessary to set '''period set''' equal or close (+-10 smaples) to '''period ave'''. ''Features [1950], [uint], [RWS].''
  
* '''statistic''' - oscillogram of frequency measurement statistics results. When '''period ave''' == '''period ave''' the maximum of '''statistic''' will be in the middle of the graph. If oscillogram on the monitor graph is static this means that oscillation in metal detector loop was lost. ''Features [osc], [uint], [RO], [Oscillogram only].''
+
* '''statistic''' - oscillogram of frequency measurement statistics results. When '''period set''' == '''period ave''' the maximum of '''statistic''' will be in the middle of the graph. If oscillogram on the monitor graph is static this means that oscillation in metal detector loop was lost. ''Features [osc], [uint], [RO], [Oscillogram only].''
 
   
 
   
 
* '''bsize''' - [x10 ms] the size of the history buffer for analysis. This means time of frequency background measurement for '''dV''' calculation.  
 
* '''bsize''' - [x10 ms] the size of the history buffer for analysis. This means time of frequency background measurement for '''dV''' calculation.  
Line 81: Line 80:
 
Generally this contain infrequently or uncommonly used parameters.
 
Generally this contain infrequently or uncommonly used parameters.
  
* '''in delay''' & '''out delay''' - time setting for detection triggering when '''''dV''''' is exceeded above '''''sense_th''''' and at detection loss at '''''dV''''' is less than '''''sense_th'''''. This only affected when '''algo''' == 0. ''Features [20], [int], [RWS].''
+
* '''algo''' - detection algorithm. ''Features: [1], [0, 1], [RWS].''
 +
: '''''0''''' - simple metal detector. Detection is depended only on "sense_th" and "in time" (see Fig. 3).
 +
: '''''1''''' - metal detector with advanced filtering.  Detection is depended on "sense_th" and "criteria_th"  (see Fig. 4).
 +
:: This provides the sense-time filtering from near passed small and fast metal object (phones, watches, keys etc.).
 +
 
 +
* '''in delay''' & '''out delay''' - time setting for detection triggering when '''''dV''''' is exceeded above '''''sense_th''''' and at detection loss at '''''dV''''' is less than '''''sense_th'''''. This only affected when '''algo''' == 0. ''Features [20], [uint], [RWS].''
  
 
* '''dfreq''' - delta of measured frequency and estimated ('''period ave''') frequency. ''Features [var], [float], [RW], [Monitor only].''
 
* '''dfreq''' - delta of measured frequency and estimated ('''period ave''') frequency. ''Features [var], [float], [RW], [Monitor only].''
Line 110: Line 114:
 
* If previous steps have been successfully passed, the metal detector operates in the normal mode and the sensitivity of the detection should be adjusted.
 
* If previous steps have been successfully passed, the metal detector operates in the normal mode and the sensitivity of the detection should be adjusted.
 
: The sensitivity setting is performed using the variable '''dV''', so you should enable monitoring of this variable.  
 
: The sensitivity setting is performed using the variable '''dV''', so you should enable monitoring of this variable.  
: It is recommended to use '''algo''' == 1 for false alarms minimizing.
+
: It is recommended to use '''algo''' == 1 for false alarms minimizing (see Fig. 4).
 
: The main sensitivity parameters is '''sense_th'''. Also you can use '''bsize''', '''bwindow''', '''criteria_th''' based on their purpose, as described above.  
 
: The main sensitivity parameters is '''sense_th'''. Also you can use '''bsize''', '''bwindow''', '''criteria_th''' based on their purpose, as described above.  
 
: The parameter values ​​are selected to prevent false alarms, at the current noise level and at the same time to reach the maximum detection distance (Fig. 3).
 
: The parameter values ​​are selected to prevent false alarms, at the current noise level and at the same time to reach the maximum detection distance (Fig. 3).

Latest revision as of 12:42, 22 May 2018

Fig. 1: Recommended configuration of the metal detector coil / antenna

General functionality description

Device works as mono (only one coil, or antenna) metal detector. So device has a connector for metal detectors coil, separate LED indication output, separate parameters for choosing sound indication and groups of parameters "Metal" and "Metal Adv." for tuning.

The system responde to a moving metal in the area of ​​the metal detectors antenna. If reaction correspond to metal detection settings it consider as alarm. So internal state is changing to alarm state, alarm counter is incrementing, common system buzzer is switching-on ("slow beeps" by default), correspond external LED2 indication is switching-on. After a short time when metal is not moving or it is out of the detection area, if reaction is less then metal detection settings it consider as end of alarm. So internal state is changing to normal state, common system buzzer and corresponded external LED indication is switching-off.

The device can send information about the number of metal detection alarms for a period (enabled, every 5 min by default) or immediately alarm states. To do this, you need to set these variables as streams with the necessary parameters and save the changes.

Hardware configuration

Device has on board connector for metal detector coil with following contacts.

Pin 1 1-st end of coil
Pin 2 N.C. or GND
Pin 3 2-nd end of coil

The recommended configuration of the metal detector winding is shown in Figure 1.

The recommended coil of the metal detector should contain three concentric turns of a stranded wire with a cross section of 0.25 .. 1 mm2. The ends of the coil(1, 2) must be twisted with each other to reduce the effect of external electromagnetic radiation.

In general, the winding can be of arbitrary shape, configuration, and contain 3 or 4 turns. The parameters of the coil wiggle on the frequency of the metal detection circuit, the geometric dimensions of the antenna affect the sensitivity in the detection of metal.

In the case of installation sequentially in a row with a number of pedestals > 2 to reduce the mutual influence, it is recommended to change the frequency in the metal detecting circuit of each even pedestal (even/odd). To do this, you need to permanently remove both jumpers that are on the board near the metal detector connector, which will change the frequency of the metal detector.


Parameters description

Parameters features explanation

Fig. 3: Detection algorithm 0. An example of changing the metal detector alarm state in time depending on the response value (dV) and the influence of the tuning parameters (th, in delay, out delay)
Fig. 4: Main detection algorithm 1. An example of changing the the metal detector alarm state in time depending on dV, criteria and the influence of the tuning parameters (sense_th, criteria_th)
  

Parameters of "Metal" group.


  • dV - the response of the system to the metal. Features: [var], [float], [RW], [Monitor only].
  • sense_th - sensitivity threshold detection setting. The parameter values ​​are selected based on the noise level.
Features: [0.3], [0.01 .. 10.00], [RWS].
  • criteria - time-sense based estimation of metal response. This is the main response value for detection.
Features [var], [float], [RW], [Monitor only].
  • criteria_th - [approx. x100 ms] the time-based detection setting. The parameter value ​​is selected dependent on desired
time filtering level vs detection range. This means the minimum time for target bag detection.
Also it means the maximum time when visitors personal metal smartphone, watch, keys etc. don't makes alarm.
Features [60], [1.0 .. 100.0], [RWS].
  • period ave - estimated value of oscillation period in the metal detector loop. Usualy this range can be 50..4320 ticks.
If its equal to zero this means no oscillation in metal detector loop. Features [var], [uint], [RW], [Monitor only].
  • period set - [samples] the period setting of metal detector loop frequency. For normal operation of the metal detector,
it is necessary to set period set equal or close (+-10 smaples) to period ave. Features [1950], [uint], [RWS].
  • statistic - oscillogram of frequency measurement statistics results. When period set == period ave the maximum of statistic will be in the middle of the graph. If oscillogram on the monitor graph is static this means that oscillation in metal detector loop was lost. Features [osc], [uint], [RO], [Oscillogram only].
  • bsize - [x10 ms] the size of the history buffer for analysis. This means time of frequency background measurement for dV calculation.
Features [500], [0 .. 500], [RWS].
  • bwindow - [x10 ms] analysis window. This means frequency filtering time for dV calculation.
The bsize / bwindow ratio affects on sensitivity speed of the metal detection. Features [20], [0 .. 500], [RWS].
  • alarm state - the state of metal detection. Features [var], [0, 1], [RW]. [Stream, Monitor, Alarms].
  • alarm counter [metal] - the lifetime metal alarms counter. Features [var], [uint], [RW]. [Stream, Monitor].
  

Parameters groups Metal Adv. for metal detection advanced tuning. Generally this contain infrequently or uncommonly used parameters.

  • algo - detection algorithm. Features: [1], [0, 1], [RWS].
0 - simple metal detector. Detection is depended only on "sense_th" and "in time" (see Fig. 3).
1 - metal detector with advanced filtering. Detection is depended on "sense_th" and "criteria_th" (see Fig. 4).
This provides the sense-time filtering from near passed small and fast metal object (phones, watches, keys etc.).
  • in delay & out delay - time setting for detection triggering when dV is exceeded above sense_th and at detection loss at dV is less than sense_th. This only affected when algo == 0. Features [20], [uint], [RWS].
  • dfreq - delta of measured frequency and estimated (period ave) frequency. Features [var], [float], [RW], [Monitor only].
  

Parameters groups |Dev Metal for magnet detector advanced testing and development purposes.

Note that this group is for special purposes and it's not recommended to change any of those parameters.
If there is a doubt that some of those parameters was changed you had better to start from the beginning after using Settings -> LDP to load default values.
Or you can check and set these values "manually" using the parameters tool tips.
  

Set up procedure

  • In general, for all devices, make sure that the electrical connections are made according to the instructions and provide the device with access to the Internet.
  • On the control page (Tuner), select the "Metal" parameter group, and display the "Monitor" graphs, the remaining parameter groups can be turned off for : convenient operation with the interface.
  • At the first stage, you should make sure that there is generation in the metal detecting circuit. To do this, turn on the monitoring of the variable period avr.
The values ​​of the variable period avr should be within the range of 50 .. 4320 units, the optimal range is 1500 .. 2100.
In normal mode, the period avr should change when exposed to moving metal near the winding. If period avr = 0 - there are no generation in the loop.
In this case, check the electrical connections of the winding, check the operation of the circuit with the recommended winding configuration,
and if the result has not changed, the metal detection circuit is faulty.
If, under the action of the metal near the winding period avr = const, a failure of the generation in the circuit occurred,
possibly because of the unreliable electrical connection of the winding.
You should set the period set = period avr. It corresponds to the maximum of statistic in the middle of the graph.
  • If previous steps have been successfully passed, the metal detector operates in the normal mode and the sensitivity of the detection should be adjusted.
The sensitivity setting is performed using the variable dV, so you should enable monitoring of this variable.
It is recommended to use algo == 1 for false alarms minimizing (see Fig. 4).
The main sensitivity parameters is sense_th. Also you can use bsize, bwindow, criteria_th based on their purpose, as described above.
The parameter values ​​are selected to prevent false alarms, at the current noise level and at the same time to reach the maximum detection distance (Fig. 3).
It should be noted that the range of detection of metal objects (aluminum bags) depends on their size and the speed of their movement.
To assess the detection, you can use the state variable, and counter and / or external LED indication.
Don't forget to save the settings.

Metal Detector compatibility

  • To ensure the joint operation of the metal detector with the radio frequency (RF) system, the noise level in the metal detecting circuit is increased, so in general, the sensitivity parameters in the metal detecting circuit should be changed (increase the values ​​of the parameter th).
The level of insertion noise from the transmitting and receiving RF windings depends both on the operation principle of the RF systems and on the mutual arrangement of the boards inside the pedestal and the incoming wires.
The best compatibility of the metal detector was achieved when working together with RF pulsed-action systems with a power network synchronization and systems with statistical choice of the pump moments.
Compatibility was not achieved with some RF continuous systems.
To minimize the effect of the RF system operating in the same rack with the metal detector, it is necessary to twist the connecting wires of the windings.
To minimize the mutual influence of the boards, their signal detection circuits should be placed as far as possible inside the pedestal.
  • In general, a statically metal near the metal detection winding (aluminum strut profile, electromagnetic shields, iron building structures), depending on the size and design, can reduce the sensitivity of the metal detection loop. Therefore, the best sensitivity of the metal detection loop is achieved by using non-metallic racks (plastic or acrylic).
  • The acoustomagnetic systems of the rack are located near the metal detector stand can damage the electronics on the board. This is due to the fact that, depending on the relative position and distance (electromagnetic coupling), large levels of the emf (up to 1 kV) can be generated in the winding of the metal detector.

Therefore, these versions of the combi-shop are not compatible with acoustomagnetic systems in one rack. Joint work with acoustomagnetic systems can be achieved by synchronizing the metal detection loop with the pump impulses of the acoustomagnetic system.