A frequency generator for digital metal detector
The ARM+FPGA dual-core digital metal detector frequency generator solves the problem of fixed frequency of traditional metal detectors, realizes flexible adjustment of frequency and phase, improves the performance and flexibility of the detector, and surpasses the traditional technology in performance on multiple indicators.
Patent Information
- Application Number
- CN202110341964.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-03-30
AI Technical Summary
The frequency generation method of traditional metal detectors is fixed and cannot be flexibly adjusted to adapt to complex detection environments. Replacing the crystal oscillator is time-consuming and laborious, and lacks operational flexibility.
It adopts ARM+FPGA dual-core digital metal detector frequency generator. The detection frequency and phase are set through the ARM host computer. The FPGA digital processing circuit calculates and generates the appropriate frequency and phase. It combines the waveform generator and the resonant circuit to achieve frequency adjustment. Provides high bandwidth, fast response and stability.
It achieves flexible adjustment of frequency and phase, improves the performance of metal detectors, far exceeds traditional technology in terms of bandwidth, frequency conversion speed, phase continuity and stability, and has higher operational flexibility and system upgrade capabilities.
Smart Images

Figure CN113109877B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of metal detectors, and in particular to a frequency generator of a digital metal detector. Background Art
[0002] As we all know, metal detectors generate carrier waves of a certain frequency to detect the presence of various metal foreign bodies. For different objects to be detected, the material response signals contained are different. Therefore, in the actual generation and detection process, it is necessary to flexibly adjust the detection frequency of the metal detector to adapt to various complex environments. Therefore, in the working process of the metal detector, whether the detection frequency can be flexibly adjusted and whether it is stable and reliable after the adjustment is a key link to measure whether the performance of the metal detector is superior. The frequency generation method of traditional metal detectors is through the method of fixed crystal oscillator plus analog chip. The detection frequency and phase generated by this method are generally fixed and cannot be changed, so it is often unable to adapt to various complex detection environments. Changing the transmission frequency by replacing the crystal oscillator is time-consuming and labor-intensive, and does not have operational flexibility. Summary of the invention
[0003] In view of the defects in the prior art, an object of the present invention is to provide a digital metal detector frequency generator.
[0004] A digital metal detector frequency generator provided by the present invention comprises an ARM host computer, an FPGA digital processing circuit, a waveform generator circuit, a transmitting resonant circuit and a receiving resonant circuit;
[0005] The ARM host computer is connected to the FPGA digital processing circuit, the FPGA digital processing circuit is connected to the waveform generator circuit, the waveform generator circuit is connected to the transmitting resonant circuit, and the transmitting resonant circuit is connected to the receiving resonant circuit.
[0006] Preferably, the ARM host computer is the front end of human-computer interaction. The ARM host computer sets the detection frequency w and frequency phase φ of the metal detector, and transmits the detection frequency w and frequency phase φ to the FPGA digital processing circuit.
[0007] Preferably, the FPGA digital processing circuit includes a phase accumulator, a phase adjuster and a waveform memory;
[0008] The phase accumulator is connected to the phase adjuster and performs calculations, and transmits the calculation results to the waveform memory.
[0009] Preferably, the phase accumulator is controlled by a detection frequency w, and the phase adjuster is controlled by a frequency phase φ.
[0010] Preferably, the waveform generator circuit comprises a DA converter and a low-pass filter;
[0011] The DA converter receives the output result of the waveform memory, and the low-pass filter receives the high-frequency harmonics of the DA converter.
[0012] Preferably, the output result of the low-pass filter is transformed by power amplification.
[0013] Preferably, the output result of the low-pass filter is output to a transmitting coil of a metal detector, and a capacitor is connected in parallel to the transmitting coil for resonance matching.
[0014] Preferably, the receiving resonant circuit receives the change of the electromagnetic field of the transmitting coil, and the receiving resonant circuit senses a small differential signal of the same frequency but different phase.
[0015] Preferably, the differential small signal is amplified and then transmitted to the main control board of the metal detector for algorithm processing.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] 1. The present invention is based on the DDS frequency synthesis technology of the metal detector, and a series of indicators such as relative bandwidth, frequency conversion speed, phase continuity, resolution and stability far exceed the level that can be achieved by traditional frequency synthesis technology.
[0018] 2. The solution of the present invention adopts an ARM+FPGA dual-core solution. In terms of completing system complexity and achieving rapid system response, ARM and FPGA have different focuses, which fully utilizes the strengths of ARM and FPGA and lays a solid foundation for future system upgrades and expansions. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0020] Figure 1 It is the overall circuit principle diagram of the present invention;
[0021] Figure 2 This is a schematic diagram of the FPGA digital processing circuit of the present invention. DETAILED DESCRIPTION
[0022] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0023] Reference Figure 1 and Figure 2 The present invention provides a digital metal detector frequency generator, including an ARM host computer, an FPGA digital processing circuit, a waveform generator circuit, a transmitting resonant circuit and a receiving resonant circuit; the ARM host computer is connected to the FPGA digital processing circuit, the FPGA digital processing circuit is connected to the waveform generator circuit, the waveform generator circuit is connected to the transmitting resonant circuit, and the transmitting resonant circuit is connected to the receiving resonant circuit. After the metal detector is automatically set, it will perform algorithm processing according to the actual material detection effect and automatically calculate the appropriate detection frequency w and phase φ.
[0024] After the two parameters w and φ are generated, they are sent to the FPGA digital processing circuit, and through a set of phase accumulators, phase adjusters and waveform memories formed inside the FPGA, the parallel input data required by the high-speed DA converter is generated.
[0025] The analog signal generated by the high-speed DA converter passes through a seventh-order elliptical low-pass filter and is smoothed to produce a sinusoidal waveform sin.
[0026] The sin signal passes through a set of power amplifier circuits to increase its amplitude, but the frequency and phase remain unchanged.
[0027] The amplified sin signal passes through the transmitting coil and switches different matching capacitors and coil turns through the relay to achieve the resonance effect.
[0028] Similar to the transmitting resonant matching circuit, the receiving resonant circuit also switches different matching capacitors and coil turns through relays to achieve resonant matching.
[0029] The receiving resonant circuit senses the change in the electromagnetic field of the receiving transmitting coil and senses a small differential AC signal of the same frequency but different phase. This small differential signal is amplified by a certain factor and then transmitted to the main control board of the metal detector for algorithm processing. 1.
[0030] The ARM host computer is the front end of human-computer interaction. In actual detection production, it can be used to set the detection frequency w and frequency phase φ of the metal detector. Finally, the detection frequency w and phase φ are transmitted to the FPGA digital processing circuit.
[0031] The FPGA digital processing circuit is designed with a combination of logic gates to form a set of phase accumulators, phase adjusters, and waveform memories. The phase accumulator is controlled by the frequency w, and the phase adjuster is controlled by the phase φ. The results calculated by the two are recorded as add. In addition, the data generated by the discrete sine wave analog signal of 2048 equal parts is solidified into the FPGA to form a waveform memory. The add of the phase accumulation result is the address of the waveform memory. Finally, the result output by the waveform memory is recorded as d.
[0032] The waveform generating circuit includes a DA converter and a low-pass filter. The D / A converter circuit integrates a 12bit / 100MSPS high-speed DA chip. The low-pass filter designs a seventh-order elliptical low-pass filter to absorb the high-frequency harmonics after the output of the DA chip, smooth the output waveform, and make the output signal sin closer to the sinusoidal analog signal.
[0033] The sinusoidal analog signal is output to the transmitting coil of the metal detector after power amplification and conversion. The transmitting coil is resonantly matched through parallel capacitors to achieve the maximum transmitting power.
[0034] The receiving resonant circuit senses the change in the electromagnetic field of the receiving transmitting coil and induces a small differential signal of the same frequency but different phase. This small differential signal is amplified 1000-10000 times and then transmitted to the main control board of the metal detector for algorithm processing.
[0035] The present invention is based on the DDS frequency synthesis technology of the metal detector, and a series of indicators such as relative bandwidth, frequency conversion speed, phase continuity, resolution and stability far exceed the level that can be achieved by traditional frequency synthesis technology.
[0036] The solution of the present invention adopts an ARM+FPGA dual-core solution. In completing system complexity and achieving system rapid response, ARM and FPGA have different focuses of division of labor, which gives full play to the strengths of ARM and FPGA and lays a solid foundation for future system upgrades and expansions.
[0037] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0038] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A digital metal detector frequency generator, characterized in that: It includes an ARM host computer, an FPGA digital processing circuit, a waveform generator circuit, a transmitting resonant circuit and a receiving resonant circuit; The ARM host computer is connected to the FPGA digital processing circuit, the FPGA digital processing circuit is connected to the waveform generator circuit, the waveform generator circuit is connected to the transmitting resonant circuit, and the transmitting resonant circuit is connected to the receiving resonant circuit; The ARM host computer is the front end of human-computer interaction. The ARM host computer sets the detection frequency w and frequency phase φ of the metal detector, and transmits the detection frequency w and frequency phase φ to the FPGA digital processing circuit; The FPGA digital processing circuit includes a phase accumulator, a phase adjuster and a waveform memory; The phase accumulator is connected to the phase adjuster and performs calculations, and transmits the calculation results to the waveform memory; The phase accumulator is controlled by the detection frequency w, and the phase adjuster is controlled by the frequency phase φ; The waveform generator circuit includes a DA converter and a low-pass filter; The DA converter receives the output result of the waveform memory, and the low-pass filter receives the high-frequency harmonics of the DA converter; The output result of the low-pass filter is transformed by power amplification to increase its amplitude, while the frequency and phase remain unchanged; The output result of the low-pass filter is output to the transmitting coil of the metal detector, and the transmitting coil is connected in parallel with a capacitor and resonant matching is performed; The receiving resonant circuit receives the change of the electromagnetic field of the transmitting coil, and the receiving resonant circuit senses a small differential signal with the same frequency but different phase.
2. A digital metal detector frequency generator according to claim 1, characterized in that: The differential small signal is amplified and then transmitted to the main control board of the metal detector for algorithm processing.
Citation Information
Patent Citations
Metal detecting door with parameter automatic setting function
CN103149594A
Cable path detection multi-frequency transmission system and method, and cable path detection instrument
CN107765316A
Full-digital through-feed type metal detection system
CN203551798U
Distributed type metal detection safety check door system
CN203799026U
