Metal detector configuration v2
Sommaire
General functionality description
Device can works in configuration of two separate mono (only one winding) metal detectors. So device has two connectors for metal detectors windings and also has two separate group of parameters (Metal 1 and Metal 2) for tuning.
The system response to a moving metal in the area of the metal detectors windings. 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"), external LEDs (2, 4) 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 LEDs indication are switching-off.
The device can send information about the number of Metal Detectors (Metal 1 and Metal 2) alarms for a period or a message about the operation based state variables to account the statistics of the alarms and for synchronization with the video surveillance systems. To do this, you need to set these variables as streams with the necessary parameters and save the changes.
Hardware configuration
Device has two connectors for metal detectors winding on board. They have the following contacts.
Pin 1 | 1-st end of winding |
Pin 2 | N.C. or GND |
Pin 3 | 2-nd end of winding |
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 shorted as possible and 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.
Parameters description
Parameters are from "Metal x" groups.
- dV - the response of the system to the metal.
- th - sensitivity detection setting. The parameter values are selected based on the noise level (0.5 .. 0.01).
- period ave (ticks) - a rough estimate of the period of oscillations in the circuit (in the system clock cycles 50..4320).
- period set (ticks) - the period settings of oscillations in the loop. For normal operation of the metal detector, it is necessary to set period set = period ave.
- dfreq - delta of measured frequency and estimated (period set) frequency.
- statistic - oscillogram of frequency measurement statistics results. For best performance it is recommended to beat the period ave that the maximum of statistic was in the middle of the graph .
- bsize - the size of the history buffer for analysis (100 - corresponds to 1 second maximum value 250, minimum 10)
- bwindow - analysis window (50 - corresponds to 0.5 sec). The buffer size / buffer window ratio affects the speed sensitivity of the metal.
- th in delay & th out delay - time setting for detection when dV is exceeded above th and at detection loss at dV is less than th.
- state - the state of metal detection.
- alarm counter - the lifetime metal alarms counter.
Parameters reserved for debug and precision tuning are
- hw filter - the hardware filter settings for precision tuning. Default value is 0.
- algo - the algorithm of frequency measurement. Default value is 3.
Set up procedure
1. 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.
2. 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.
3. 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..4300 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.
4. In the second stage, you should choose the period min (tick) < period avr for the entire range of changes, when exposed to metal. In general, the period min (tick) can be selected based on the current level of period avr using the condition
period min = period avr - 50. It corresponds to the maximum of statistic in the middle of the graph.
After setting the period min, you should save the settings.
5. If points 1 through 4 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 main sensitivity parameter is th. Also you can use buffer size, buffer window, th in delay & th out delay parameters, 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 of the metal compromise (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.
NB After the configuration, you must save the settings.
Metal Detector compatibility
1. 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.
2. 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).
3. 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.