Metal foreign matter detection circuit and metal foreign matter detector
By designing a metal foreign matter detection circuit including a power supply module, a signal generation module, a signal conditioning module and an alarm counting module, the problem of difficult balance of cost and accuracy in the prior art is solved, and stable detection under harsh working conditions is achieved. Reduces the cost and volume of the detector and improves detection accuracy.
Patent Information
- Application Number
- CN202411439920.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2024-12-06
AI Technical Summary
Existing metal foreign matter detection methods cannot balance costs and accuracy according to enterprise needs, and cannot guarantee long-term stable work under harsh working conditions, and the complex structure leads to excessive cost.
A metal foreign matter detection circuit is designed, including a power supply module, signal generation module, signal conditioning module, judgment module and alarm counting module. The peak detection circuit and integrated voltage comparator are used to adjust the threshold through a sliding rheostat, and a monostable trigger is used. and buzzer simplifies the circuit structure and reduces costs.
It realizes stable and accurate metal detection in a variety of industrial environments, reduces the cost and volume of the detector, improves the system service life and detection accuracy, and is suitable for a variety of complex industrial production environments.
Smart Images

Figure CN119087528A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of foreign body detection, and in particular to a metal foreign body detection circuit and a metal foreign body detector. Background Art
[0002] The presence of metal foreign matter will not only reduce the quality of industrial products, but also cause serious consequences if it appears in food. Therefore, the detection of metal foreign matter is very important for the production process of all walks of life.
[0003] In actual industrial production, there are many metal detection methods. Among them, although eddy current metal sensors still occupy a large market due to their advantages such as high linearity and strong resolution, traditional eddy current sensors and their systems still have certain limitations in use. For example, in the process of practical application, there are several problems often encountered when using eddy current metal sensors: the price of common ordinary eddy current sensors will increase accordingly after the accuracy is improved, which is too expensive for companies that need to use them on a large scale; and many sensors on the market are too precise, resulting in too complex structures, which cannot guarantee long-term stable operation in harsh working conditions, and are not suitable for the needs of enterprises. It can be seen that the existing metal foreign body detection methods cannot balance cost and accuracy according to the needs of enterprises, and can extend corresponding functions when necessary. Summary of the invention
[0004] In order to solve the problems existing in the above-mentioned prior art, the present invention provides a metal foreign body detection circuit and a metal foreign body detector to solve the technical problem that the existing metal foreign body detection method cannot balance cost and accuracy according to enterprise needs, and can extend the corresponding functions when needed.
[0005] A metal foreign body detection circuit comprises: a power supply module, a signal generation module, a signal conditioning module, a judgment module and an alarm counting module;
[0006] The power supply module is used to provide a DC voltage;
[0007] The signal generating module is used to detect metal and generate a detection signal;
[0008] The signal conditioning module is used to condition the detection signal;
[0009] The judgment module is used to judge the metal situation according to the conditioned detection signal;
[0010] The alarm counting module is used to detect, count and alarm metals.
[0011] Furthermore, the signal conditioning module includes a peak detection circuit, which includes a voltage comparator and an integrated operational amplifier. In order to avoid the continuous impact of high-frequency signals on the circuit, which may reduce the service life of the system, the peak detection circuit will be used to adjust the signal waveform. This adjustment can not only increase the service life of the system, but also accurately describe the magnitude of the reduction in signal amplitude when the system detects a metal foreign body. By converting the AC signal to the DC signal, the accurate signal change can be accurately output to the subsequent module.
[0012] Furthermore, the signal generating module includes an LC oscillation circuit and a metal detection coil, and the metal detection coil is arranged at the inductance of the frequency selection network in the LC oscillation circuit; because the metal detection coil is located in the frequency selection network, when a metal conductor exists, the resisting magnetic field generated by the eddy current will cause the relevant physical properties of the detection coil to change, thereby reducing the output of the signal generating circuit.
[0013] Furthermore, the judgment module includes a plurality of integrated voltage comparators, the inverting input terminal of the integrated voltage comparator is connected to the sliding rheostat, and the non-inverting input terminal of the integrated voltage comparator is connected to the output terminal of the signal conditioning module. Under different working conditions, due to the different sizes of metal foreign bodies, the threshold of the judgment module needs to be adjusted in time. When the volume of the detected metal is small, the reference voltage should be adjusted as small as possible, and attention should be paid to the linear decrease of the threshold so that the distance judgment can also change linearly. At the same time, if the metal foreign body is large, the reference voltage needs to be increased accordingly; by adjusting the voltage after the external power supply and the sliding rheostat are divided as the reference voltage, the reference voltage, i.e. the threshold, can be flexibly adjusted.
[0014] Furthermore, the judgment module also includes a plurality of LED lights, and the LED lights are arranged corresponding to the integrated voltage comparators.
[0015] Furthermore, the output end of the signal conditioning module is connected to a monostable trigger, and the monostable trigger is used to convert the input voltage signal into a pulse signal.
[0016] The generation of eddy current phenomenon causes the amplitude of the oscillation signal to attenuate, and also reduces the output of the peak detector. Set the time base circuit to monostable mode. Once a metal foreign body is present, the falling edge of the peak detector will trigger the monostable operation of the time base chip and output a square wave signal for the alarm counting module to work. The monostable pulse signal is stable and not easily affected by external interference, which can ensure that the circuit can count and alarm more stably and accurately. The pulse width needs to be selected appropriately. An unreasonable design may cause the counting module to malfunction due to the pulse width being too narrow.
[0017] Furthermore, the alarm counting module includes an alarm sub-module and a counting sub-module, the counting sub-module includes multiple cascaded counters and decoders, the alarm sub-module includes a buzzer, the buzzer input end is connected to a transistor, the transistor base is connected to a first resistor to limit the current flowing into the base, and a second resistor is connected between the transistor base and the emitter to prevent the transistor from being falsely triggered by a small signal in the circuit.
[0018] Furthermore, the power supply module includes a forward power supply and a reverse power supply, wherein the forward power supply is provided with a self-locking switch, wherein the reverse power supply is used to power the integrated voltage comparator, and the forward power supply is also provided with an electrolytic capacitor and a bypass capacitor for filtering and protection.
[0019] A metal foreign body detector comprises a fixing frame and a metal foreign body detection circuit. The fixing frame is used to fix the metal foreign body detection circuit on a production line and protect the metal foreign body detection circuit at the same time.
[0020] Furthermore, the fixing frame comprises a containing box and a bracket, the containing box is used to fix the metal foreign body detection circuit, and the bracket is used to fix the containing box on the production line.
[0021] The beneficial effects of the present invention include:
[0022] The metal detection circuit designed by the present invention has a simple structure, and only uses two types of complex devices, an amplifier and a comparator, without involving a single-chip microcomputer, and the amplifier is only used in a signal conditioning module; the overall structure has a lower cost, and at the same time, the simple pure circuit structure has a stronger detection stability, and can be applied to a variety of complex industrial production environments.
[0023] Secondly, with the simplification of the circuit structure, the entire metal detection process is also simpler. First, the peak detection circuit of the signal conditioning module is used to convert the detection signal output by the signal generating module into direct current, and then the judgment module is used to determine whether the voltage is lower than the threshold. If it is lower than the threshold, an alarm is directly triggered. The specific threshold setting can be adjusted by adjusting the sliding rheostat as needed. The operation is simple, and the simple detection process can ensure the stability of the detection results and is less affected by interference.
[0024] Finally, based on the simple design of the overall detection circuit, the metal foreign body detector is smaller in size and lower in cost. Installing it on the production line can reduce the layout cost and is also more convenient to install. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is an overall architecture diagram of a metal foreign body detection circuit involved in an embodiment of the present application.
[0026] Figure 2A diagram of simulation results of the signal conditioning module involved in an embodiment of the present application.
[0027] Figure 3 Simulation results of the judgment module involved in the embodiment of the present application Figure 1 .
[0028] Figure 4 Simulation results of the judgment module involved in the embodiment of the present application Figure 2 .
[0029] Figure 5 A diagram of simulation results of the alarm counting module involved in an embodiment of the present application.
[0030] Figure 6 This is a schematic diagram of an application of a metal foreign body detector involved in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0032] A metal foreign body detection circuit, such as Figure 1 As shown, it includes: a power supply module, a signal generation module, a signal conditioning module, a judgment module and an alarm counting module;
[0033] The power supply module is used to provide a DC voltage;
[0034] The signal generating module is used to detect metal and generate a detection signal;
[0035] The signal conditioning module is used to condition the detection signal;
[0036] The judgment module is used to judge the metal situation according to the conditioned detection signal;
[0037] The alarm counting module is used to detect, count and alarm metals.
[0038] Specifically, the detection signal is an eddy current signal; this circuit mainly realizes the screening and counting of metal foreign bodies through analog circuit design, and has the advantages of accurate detection, low cost, simple structure, and high reliability.
[0039] In another embodiment, the signal conditioning module includes a peak detection circuit, and the peak detection circuit includes a voltage comparator and an integrated operational amplifier. In order to avoid the continuous impact of high-frequency signals on the circuit, which leads to a reduction in the service life of the system, the peak detection circuit is used to adjust the signal waveform. This adjustment can not only increase the service life of the system, but also accurately describe the magnitude of the reduction in signal amplitude when the system detects a metal foreign body. By converting the AC signal to the DC signal, the accurate signal change can be accurately output to the subsequent module.
[0040] The voltage comparator used in this embodiment is TLC372, and the integrated operational amplifier used is LM358.
[0041] The following three issues are mainly considered when designing a peak detection circuit:
[0042] ① Accuracy problem:
[0043] The design goal of peak detection is to accurately collect the peak value of the output signal and use it as the output, so the circuit must have sufficient accuracy to ensure that it can capture the peak voltage of the oscillation circuit. Therefore, in the design of this circuit, it is necessary to carefully analyze the advantages and disadvantages of various related circuits to find a circuit that is very suitable for high-frequency peak detection.
[0044] ②Speed problem:
[0045] The output of the peak detection circuit is real-time. In order to quickly and accurately track the rapid changes of tiny voltages in eddy current detection, the designed circuit needs to have a fast response time to meet the needs of high-speed signal processing. In order to improve the response speed of the circuit, it is necessary to continuously optimize and improve the circuit structure.
[0046] ③Stability issues:
[0047] Since the entire system needs to work for a long time under harsh working conditions, the peak detection circuit is also required to have a long-term stable output and suppress external interference as much as possible. Therefore, the circuit also needs to add various feedback adjustments and related compensations to reduce the impact of interference and other uncertain factors on system stability.
[0048] The working process of the signal conditioning module of the eddy current sensor metal foreign body detection system can be roughly described as follows: when the circuit starts working, if the input sinusoidal signal is in the positive half cycle; only a voltage signal larger than the previous peak value passes, at this time the negative phase terminal voltage of the voltage comparator is larger than the in-phase terminal, and a low voltage is output. The low voltage is amplified by the operational amplifier and output to the in-phase terminal of the voltage comparator for detecting a larger peak value. At the same time, the second operational amplifier of the integrated operational amplifier will act as a voltage follower to follow and output the peak value.
[0049] If the sinusoidal signal is less than the previous peak value, the voltage output is in a high impedance state (the same applies to the negative half axis of the sinusoidal signal). The capacitor will hold the peak value of the previous moment and input it to the in-phase terminal of the voltage comparator, while maintaining the output of the peak value of the previous moment. This design avoids the introduction of diodes in the circuit to interfere with the measurement of the circuit. The voltage comparator pulls the lowest output to zero potential, reduces the follow-up stroke, and speeds up the follow-up response time. Due to the high input impedance of the op amp and the combination of the capacitor, the circuit will discharge faster, the peak detection will be more accurate, and the operation will be more stable.
[0050] The simulation results of peak detection are as follows: Figure 2 shown.
[0051] In another embodiment, the signal generating module includes an LC oscillation circuit and a metal detection coil, and the metal detection coil is arranged at the inductance of the frequency selection network in the LC oscillation circuit; because the metal detection coil is located in the frequency selection network, when a metal conductor exists, the resisting magnetic field generated by the eddy current will cause the relevant physical properties of the detection coil to change, thereby reducing the output of the signal generating circuit.
[0052] Specifically, the LC oscillation circuit uses a capacitor three-point LC oscillation circuit, which is characterized by a relatively fixed output frequency. Eddy current metal detection chooses this circuit precisely because its circuit frequency output is fixed, which can enhance the ability to suppress external interference. In the actual design, the inductor part is designed as a detection coil. The metal detection coil is wound with 0.2mm electronic wire, and its coil diameter is 5cm.
[0053] When using a 5cm diameter coil for detection, it has a very good detection capability for circular thin metal foreign bodies. Due to the setting of the judgment circuit threshold, the system will not trigger the alarm counting module for smaller metal foreign bodies, but the judgment circuit indicator light will make a judgment on the existence of smaller metal foreign bodies. The metal system can detect a minimum cylindrical metal foreign body with a radius of 0.5mm and a length of 1mm. At this time, the red light of LED1 will light up to indicate the presence of metal foreign bodies, but it is not enough to trigger the threshold of the alarm and counting modules.
[0054] A large number of experiments on the system show that when the radius of the foreign body is within the range of 5.5-6 cm and the thickness is less than 1.5-2 cm, the detection sensitivity is very high and the linearity is good. The eddy current is concentrated within the range of 1-2 mm on the surface of the circular foreign body. The radius of the metal foreign body that can trigger the alarm count of the system is at least greater than or equal to 1 cm, that is, the surface area of the metal foreign body is at least greater than 3.5 cm2 and the thickness is greater than 0.05 mm. The detection system can trigger the alarm prompt and count display.
[0055] In another embodiment, the judgment module includes a plurality of integrated voltage comparators, the inverting input terminal of the integrated voltage comparator is connected to the sliding rheostat, and the non-inverting input terminal of the integrated voltage comparator is connected to the output terminal of the signal conditioning module. Under different working conditions, due to the different sizes of metal foreign bodies, the threshold of the judgment module needs to be adjusted in time. When the volume of the detected metal is small, the reference voltage should be adjusted as small as possible, and attention should be paid to the linear decrease of the threshold so that the distance judgment can also change linearly. At the same time, if the metal foreign body is large, the reference voltage needs to be increased accordingly; by adjusting the voltage after the external power supply and the sliding rheostat are divided as the reference voltage, the reference voltage, i.e., the threshold, can be flexibly adjusted.
[0056] The judgment module further includes a plurality of LED lights, and the LED lights are arranged corresponding to the integrated voltage comparators.
[0057] The judgment module selects LM393 as the logic judgment chip. Compared with the voltage comparator mainly used for high-precision, such as TLC372, it has a lower cost and has a wide range of power adaptability, which can greatly improve the working ability under harsh working conditions.
[0058] In addition, its output can be directly connected to TTL, so there is no need for an additional level conversion circuit here to directly connect with the subsequent timing circuit, which greatly simplifies the circuit design process, simplifies the circuit design structure, increases the reliability of the circuit, and also improves the overall work efficiency of the system.
[0059] The specific workflow is as follows:
[0060] When an eddy current signal is detected, the energy of the circuit is attenuated due to the resistance of the opposing magnetic field generated by the eddy current to the circuit, causing the voltage at the same-direction input terminal to decrease. If it is less than the reference voltage, the voltage comparator outputs a low level. Due to the voltage drop between the pull-up resistor and the output terminal, the LED light is turned on, indicating the generation of the eddy current signal.
[0061] Taking the power supply of the oscillation circuit as +5V as an example, the effective value of the output will not exceed +5V. Selecting the reference voltage of 4V, 3V, 2V, and 1V can detect metal foreign bodies within the range of 2dm-4dm, and the LED light prompt is also linearly related to the distance of the foreign body. Roughly one light is on for every 10cm close to the coil. The sensitivity of the system can be adjusted by adjusting the reference voltage, that is, adjusting the resistance of the sliding rheostat. When the entire system detects metal foreign bodies with a radius greater than 5cm, the maximum discrimination distance is 4dm, and the detection linearity is good.
[0062] The simulation results of the specific judgment module are as follows Figure 3-4 As shown. Among them, Figure 3For local simulation of the circuit, two pull-up resistors are selected in actual debugging to improve circuit stability because it is found in actual simulation that when the same-direction input terminal is the same as the reference voltage, the voltage comparator may output a voltage of about 3.5V-4V, and only one pull-up resistor will cause false triggering of the LED. Figure 4 This is the working state when the presence of metal foreign matter is detected and the voltage comparator outputs an unstable voltage in the early stage. When the two input pins are the same, the voltage comparator outputs an unstable voltage of 3.29V, which meets the requirements.
[0063] The output end of the signal conditioning module is connected to a monostable trigger, and the monostable trigger is used to convert the input voltage signal into a pulse signal. The pulse width calculation formula of the pulse signal is as follows:
[0064]
[0065] t w ≈1.1RC
[0066] t w is the output pulse width (i.e., high level duration), t1 is the rising edge time of the output signal; t2 is the falling edge time; t w The difference in this time period is the pulse width. The resistance and capacitance together determine the time constant of charging or discharging, which in turn affects the pulse width. The capacitance determines the rate of charge storage, which also affects the pulse width of the timer. V cc is the power supply voltage; the 555 timer is usually driven by a stable power supply; t w ≈1.1RC: This is a simplified pulse width formula, which is approximately 1.1 times the product of resistance and capacitance; it represents the duration of the high level after the low level triggers the 555 timer in monostable mode.
[0067] The generation of eddy current phenomenon causes the amplitude of the oscillation signal to attenuate, and also reduces the output of the peak detector. Set the time base circuit to monostable mode. Once a metal foreign body exists, the falling edge of the peak detector will trigger the monostable operation of the time base chip and output a square wave signal for the alarm counting module to work. The monostable pulse signal is stable and not easily affected by external interference, which can ensure that the circuit can count and alarm more stably and accurately. The pulse width needs to be selected appropriately. An unreasonable design may cause the counting module to malfunction due to the pulse width being too narrow.
[0068] In another embodiment, the alarm counting module includes an alarm sub-module and a counting sub-module, the counting sub-module includes multiple cascaded counters and decoders, the alarm sub-module includes a buzzer, the buzzer input end is connected to a transistor, the base of the transistor is connected to a first resistor to limit the current flowing into the base, and a second resistor is connected between the base and the emitter of the transistor to prevent the transistor from being falsely triggered by a small signal in the circuit.
[0069] Specifically, in this embodiment,
[0070] The counter in the counting submodule is 74LS192 and the decoder is CD4511. After power-on, the two 74LS192 counter chips are initialized to 00 state, that is, their respective BCD code outputs are 0000 and the digital tube displays 00. When the CLK signal triggers the counting chip, the counter increments according to the preset counting direction (addition). The tens and ones counters work simultaneously, and the carry output of the tens counter is connected to the clock input of the ones counter to achieve linkage counting.
[0071] The BCD code output by the counter is sent to the CD4511 decoder for conversion. The decoder converts the BCD code into the corresponding seven-segment code signal and drives the digital tube to display the corresponding number. When the counter needs to be reset, the PL terminal of 74LS192 is set to a low level through the zeroing circuit. The introduction of the electrolytic capacitor in the zeroing circuit is to solve the problem of switch button jitter and increase system stability. At this time, the counter will be reset immediately and the digital tube will display 00.
[0072] The transistor in the alarm submodule is SS8050; the transistor will be used as a switch to control the on and off of the buzzer. When the pulse signal is not triggered, the circuit is equivalent to a closed switch. When a pulse signal is generated, the transistor works in a saturated state, which is equivalent to an open switch. The external power supply is directly connected to the buzzer to turn it on and alarm.
[0073] The simulation results of the specific alarm counting module are as follows Figure 5 shown.
[0074] In another embodiment, the power supply module includes a forward power supply and a reverse power supply, wherein the forward power supply is provided with a self-locking switch, wherein the reverse power supply is used to power the integrated voltage comparator, and the forward power supply is also provided with an electrolytic capacitor and a bypass capacitor for filtering and protection.
[0075] Specifically, the positive power supply introduces +5V into the circuit through the DC-002 socket, and the self-locking switch can keep the power on and off for a long time, making the system more energy-efficient. Since the internal circuit does not have additional filtering processing, electrolytic capacitors and bypass capacitors are added to the power circuit for filtering and protection. The main function is to filter out high-frequency noise in the external power supply and increase the stability of the circuit. The introduction of electrolytic capacitors can also prevent accidental touches from causing the circuit to be instantly connected, protecting the components in the circuit from instantaneous overload current.
[0076] The reverse power supply uses the ICL7660 power polarity reversal integrated chip.
[0077] A metal foreign body detector, such as Figure 6 As shown, it includes a fixing frame and a metal foreign body detection circuit, wherein the fixing frame is used to fix the metal foreign body detection circuit on the production line and protect the metal foreign body detection circuit at the same time.
[0078] In another embodiment, the fixing frame includes a containing box and a bracket, the containing box is used to fix the metal foreign body detection circuit, and the bracket is used to fix the containing box on the production line.
[0079] The above-mentioned embodiments only express the specific implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the protection scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the technical solution concept of the present application, and these all belong to the protection scope of the present application.
Claims
1. A metal foreign body detection circuit, characterized in that: include: Power supply module, signal generation module, signal conditioning module, judgment module and alarm counting module; The power supply module is used to provide a DC voltage; The signal generating module is used to detect metal and generate a detection signal; The signal conditioning module is used to condition the detection signal; The judgment module is used to judge the metal situation according to the conditioned detection signal; The alarm counting module is used to detect, count and alarm metals.
2. A metal foreign body detection circuit according to claim 1, characterized in that: The signal conditioning module includes a peak detection circuit, and the peak detection circuit includes a voltage comparator and an integrated operational amplifier.
3. A metal foreign body detection circuit according to claim 1, characterized in that: The signal generating module comprises an LC oscillating circuit and a metal detecting coil, wherein the metal detecting coil is arranged at the inductance of the frequency selecting network in the LC oscillating circuit.
4. A metal foreign body detection circuit according to claim 1, characterized in that: The judgment module includes a plurality of integrated voltage comparators, the inverting input end of the integrated voltage comparator is connected to the sliding resistor, and the non-inverting input end of the integrated voltage comparator is connected to the output end of the signal conditioning module.
5. The metal foreign body detection circuit according to claim 1, characterized in that: The judgment module further includes a plurality of LED lights, and the LED lights are arranged corresponding to the integrated voltage comparators.
6. A metal foreign body detection circuit according to claim 1, characterized in that: The output end of the signal conditioning module is connected to a monostable trigger, and the monostable trigger is used to convert an input voltage signal into a pulse signal.
7. A metal foreign body detection circuit according to claim 1, characterized in that: The alarm counting module includes an alarm submodule and a counting submodule, the counting submodule includes multiple cascaded counters and decoders, the alarm submodule includes a buzzer, the buzzer input end is connected to a transistor, the transistor base is connected to a first resistor to limit the current flowing into the base, and a second resistor is connected between the transistor base and the emitter to prevent the transistor from being falsely triggered by a small signal in the circuit.
8. The metal foreign body detection circuit according to claim 1, characterized in that: The power supply module comprises a forward power supply and a reverse power supply, and a self-locking switch is arranged in the forward power supply.
9. A metal foreign body detector, comprising a fixing frame and a metal foreign body detection circuit, wherein the fixing frame is used to fix the metal foreign body detection circuit on a production line and protect the metal foreign body detection circuit at the same time.
10. The metal foreign body detector according to claim 9, characterized in that: The fixing frame comprises a containing box and a bracket, wherein the containing box is used to fix the metal foreign body detection circuit, and the bracket is used to fix the containing box on the production line.
Citation Information
Cited By
Foreign matter prevention alarm system based on rubber floor vulcanization equipment
CN119862429A
