System for detecting light transmittance of pesticide and veterinary drugs

By designing a light transmittance detection system for agricultural and veterinary medicines, using op amps and MOS tubes to automatically control the brightness of the light source, combined with in-phase amplifier circuits, the problems of narrow detection range and low accuracy in traditional detection methods are solved, and the reagents with lower light transmittance are achieved high-precision detection.

CN222105335UActive Publication Date: 2024-12-03SHANDONG YUNTANG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420936780.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-12-03
Estimated Expiration
2034-04-30

AI Technical Summary

Technical Problem

In traditional pesticide residue detection methods, amplifiers with fixed PWM frequency and fixed magnification result in narrow detection range and low accuracy, and inability to effectively detect reagents with lower light transmittance.

Method used

A pesticide and veterinary medicine light transmittance detection system was designed, using op amp U1A and op amp U2A, combined with MOS tube and light emitting diode, the brightness of the light source is automatically controlled through the PWM output signal of the MCU, and the same phase consisting of op amp U2A and silicon photocells. Amplification circuit improves signal amplification capability and achieves accurate detection of light transmittance.

Benefits of technology

The sampling accuracy of reagents with lower light transmittance is improved, the detection range is expanded, and the detection accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222105335U_ABST
    Figure CN222105335U_ABST
Patent Text Reader

Abstract

The utility model discloses a pesticide and veterinary drug light transmittance detection system which comprises an operational amplifier U1A, the model of the operational amplifier U1A is LMV358IDR, a pin 3 of the operational amplifier U1A is connected with one end of a resistor R3, one end of a capacitor C3 and one end of a resistor R2, the other end of the resistor R3 and the other end of the capacitor C3 are grounded, the other end of the resistor R2 is connected with one end of a capacitor C2 and one end of a resistor R1, the other end of the capacitor C2 is grounded, and the other end of the resistor R1 is connected to a PWM output signal of an MCU. The method has the advantages that the sampling precision of a reagent with lower light transmittance is improved, the detection precision is improved, and the detection range is wide.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to a light transmittance detection circuit, more precisely to a technology for detecting the light transmittance of a reagent, and belongs to the field of electronic technology. Background Art

[0002] In the pesticide residue detection industry, colorimetry is often used to detect pesticide residues in reagents. Traditional pesticide residue detection uses a fixed PWM frequency at one end to control the brightness of the light source, and a photocell with a fixed amplification factor amplifier at the other end. The fixed PWM causes the brightness of the light source to be fixed, and the amplifier with a fixed amplification factor has a lower limit of the signal, that is, the electrical signal below a certain value cannot be amplified. By making PWM variable, the electrical signal that could not be amplified before can be amplified to the required range, which has the disadvantages of narrow detection range and low detection accuracy. Utility Model Content

[0003] The technical problem to be solved by the utility model is to provide a light transmittance detection system for agricultural and veterinary drugs in view of the above shortcomings, thereby improving the sampling accuracy of reagents with lower light transmittance, improving the detection accuracy, and widening the detection range.

[0004] In order to solve the above technical problems, the utility model adopts the following technical solutions:

[0005] The transmittance detection system of agricultural and veterinary drugs includes an operational amplifier U1A. The model of the operational amplifier U1A is LMV358IDR. Pin 3 of the operational amplifier U1A is connected to one end of a resistor R3, one end of a capacitor C3 and one end of a resistor R2. The other end of the resistor R3 and the other end of the capacitor C3 are grounded. The other end of the resistor R2 is connected to one end of a capacitor C2 and one end of a resistor R1. The other end of the capacitor C2 is grounded. The other end of the resistor R1 is connected to the PWM output signal of the MCU.

[0006] Furthermore, pin 1 of the operational amplifier U1A is connected to the G pole of the MOS tube Q1, the S pole of the MOS tube Q1 is connected to one end of the resistor R5 and pin 2 of the operational amplifier U1A, the D pole of the MOS tube Q1 is connected to one end of the resistor R4 and one end of the light-emitting diode D1, and the other end of the resistor R4 is connected to the VDD_1 power supply.

[0007] Furthermore, the detection system also includes a MOS tube Q2, the S pole of the MOS tube Q2 is connected to the other end of the light-emitting diode D1, the G pole of the MOS tube Q2 is connected to one end of a resistor R6 and a D pole of the MOS tube Q3, the other end of the resistor R6 and the D pole of the MOS tube Q2 are connected to a VDD_1 power supply, the G pole of the MOS tube Q3 is connected to one end of a resistor R7 and is connected to a PWM enable signal of the MCU, and the other end of the resistor R7 and the S pole of the MOS tube Q3 are grounded.

[0008] Furthermore, the pesticide transmittance detection system also includes an operational amplifier U2A, the model of which is LMV358IDR, and pin 3 of the operational amplifier U2A is connected to one end of a resistor R2 and one end of a resistor R1, the other end of the resistor R1 is grounded, and the other end of the resistor R2 is connected to pin 1 of the silicon photocell U1, and pin 2 of the silicon photocell U1 is grounded.

[0009] Furthermore, pin 2 of the op amp U2A is connected to one end of a resistor R3, one end of a resistor R4 and one end of a capacitor C2, the other end of the resistor R3 is grounded, pin 1 of the op amp U2A is connected to pin 5 of the op amp U2B, the other end of the resistor R4 and the other end of the capacitor C2, the model of the op amp U2B is LMV358IDR, pin 6 of the op amp U2B is connected to pin 7 of the op amp U2B, pin 7 of the op amp U2B is connected to one end of the capacitor C3 and one end of the capacitor C4, and connected to the ADC input port of the MCU, the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.

[0010] The utility model adopts the above technical solution, and compared with the prior art, has the following technical effects:

[0011] The sampling accuracy of reagents with lower light transmittance is improved, the detection accuracy is improved, and the detection range is wide. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the specific implementation of the utility model or the technical solution in the prior art, the following is a brief introduction to the drawings required for the specific implementation or the prior art description. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale.

[0013] Figure 1 and Figure 2 The utility model is a circuit diagram of the light transmittance detection system of Chinese agricultural veterinary drugs. DETAILED DESCRIPTION

[0014] Embodiment 1, as Figure 1 and Figure 2As shown, the light transmittance detection system of agricultural veterinary drugs includes an operational amplifier U1A, the model of the operational amplifier U1A is LMV358IDR, the 3rd pin of the operational amplifier U1A is connected to one end of a resistor R3, one end of a capacitor C3 and one end of a resistor R2, the other end of the resistor R3 and the other end of the capacitor C3 are grounded, the other end of the resistor R2 is connected to one end of a capacitor C2 and one end of a resistor R1, the other end of the capacitor C2 is grounded, the other end of the resistor R1 is connected to the PWM output signal of the MCU, the 1st pin of the operational amplifier U1A is connected to the G pole of the MOS tube Q1, the S pole of the MOS tube Q1 is connected to one end of a resistor R5 and Pin 2 of the op amp U1A, the D pole of the MOS tube Q1 is connected to one end of the resistor R4 and one end of the light emitting diode D1, the other end of the resistor R4 is connected to the VDD_1 power supply, the other end of the light emitting diode D1 is connected to the S pole of the MOS tube Q2, the G pole of the MOS tube Q2 is connected to one end of the resistor R6 and the D pole of the MOS tube Q3, the other end of the resistor R6 and the D pole of the MOS tube Q2 are connected to the VDD_1 power supply, the G pole of the MOS tube Q3 is connected to one end of the resistor R7 and is connected to the PWM enable signal of the MCU, and the other end of the resistor R7 and the S pole of the MOS tube Q3 are grounded.

[0015] The agricultural and veterinary drug transmittance detection system also includes an operational amplifier U2A, the model of the operational amplifier U2A is LMV358IDR, the 3rd pin of the operational amplifier U2A is connected to one end of a resistor R2 and one end of a resistor R1, the other end of the resistor R1 is grounded, the other end of the resistor R2 is connected to the 1st pin of the silicon photocell U1, the 2nd pin of the silicon photocell U1 is grounded, the 2nd pin of the operational amplifier U2A is connected to one end of a resistor R3, one end of a resistor R4 and one end of a capacitor C2, the other end of the resistor R3 is grounded, the 1st pin of the operational amplifier U2A is connected to the 5th pin of the operational amplifier U2B, the other end of the resistor R4 and the other end of the capacitor C2, the model of the operational amplifier U2B is LMV358IDR, the 6th pin of the operational amplifier U2B is connected to the 7th pin of the operational amplifier U2B, the 7th pin of the operational amplifier U2B is connected to one end of the capacitor C3 and one end of the capacitor C4, and is connected to the ADC input port of the MCU, and the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.

[0016] One end of the resistor R1 is connected to the PWM output signal of the MCU, the gate of the MOS tube Q3 is connected to the PWM enable signal of the MCU, and the operational amplifier U1A is responsible for comparing the PWM signal after passing through the two-stage RC low-pass filter. One output end of the operational amplifier U1A is directly connected to the gate of the MOS tube Q1. The source of the MOS tube Q1 is grounded after passing through the resistor R5, and a feedback signal is drawn out at the node of the resistor R5 and the source of the MOS tube Q1 and connected back to the reverse input end of the operational amplifier U1A. This forms a circuit that can automatically control the brightness of the light source by the current flowing through the MOS tube Q1. Resistor R5 and the negative terminal of the light-emitting diode are connected as pull-up resistors. When the signal fed back by R5 is higher than the in-phase input terminal of op amp U1A, op amp U1A outputs a low level, MOS tube Q1 is turned off, and light source D1 is turned off. After the light-emitting diode D1 is turned off for a period of time, the current flowing through the MOS tube Q1 decreases, and the feedback signal on resistor R5 is lower than the value of the in-phase input terminal of op amp U1A. At this time, op amp U1A outputs a high level, MOS tube Q1 is turned on, and light-emitting diode D1 is lit. The above process is repeated, which can ensure that the MCU only needs to give a PWM pulse to flexibly change the intensity of the light source. Due to the error between the circuit components, when the MCU outputs a pulse to turn off the light source, the light source is not completely turned off. Therefore, a light source power supply control circuit consisting of MOS tube Q2, MOS tube Q3, resistor R6 and resistor R7 is introduced. When the MCU outputs a low level, the N-channel MOS tube Q3 is turned off. At this time, the P-channel MOS tube Q2 is also turned off because the gate and drain potentials are consistent. At this time, no current flows through the light-emitting diode D1. When the MCU outputs a high level, the N-channel MOS tube Q3 is turned on because the gate voltage is higher than the source voltage, causing the gate of the MOS tube Q2 to be pulled down. At this time, the gate and drain potentials of the MOS tube Q2 are inconsistent, causing the MOS tube Q2 to be turned on, and the light-emitting diode D1 will receive the input current.

[0017] for Figure 2 For example, the output end of the silicon photocell op amp U1A converts the uA-level current into an mV-level voltage signal after passing through the resistor R1. The mV-level voltage signal is converted into a V-level voltage signal through the common-mode amplifier circuit composed of the op amp U2A, capacitor C2, resistor R3 and resistor R4. Finally, this output voltage passes through the voltage follower composed of the op amp U2B again to achieve isolation of the output end from the input end. This signal is finally sent to the ADC input port of the MCU. The current light transmittance intensity is calculated through real-time collection of this signal, and the transmittance is collected inside the MCU.

[0018] The description of the present invention is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present invention to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. The light transmittance detection system for agricultural and veterinary drugs is characterized by: It includes an operational amplifier U1A, the model of which is LMV358IDR. Pin 3 of the operational amplifier U1A is connected to one end of a resistor R3, one end of a capacitor C3 and one end of a resistor R2. The other end of the resistor R3 and the other end of the capacitor C3 are grounded. The other end of the resistor R2 is connected to one end of a capacitor C2 and one end of a resistor R1. The other end of the capacitor C2 is grounded. The other end of the resistor R1 is connected to the PWM output signal of the MCU.

2. The agricultural and veterinary drug transmittance detection system according to claim 1, characterized in that: Pin 1 of the operational amplifier U1A is connected to the G pole of the MOS tube Q1, the S pole of the MOS tube Q1 is connected to one end of the resistor R5 and pin 2 of the operational amplifier U1A, the D pole of the MOS tube Q1 is connected to one end of the resistor R4 and one end of the light-emitting diode D1, and the other end of the resistor R4 is connected to the VDD_1 power supply.

3. The agricultural and veterinary drug transmittance detection system according to claim 1, characterized in that: The detection system also includes a MOS tube Q2, the S pole of the MOS tube Q2 is connected to the other end of the light-emitting diode D1, the G pole of the MOS tube Q2 is connected to one end of a resistor R6 and a D pole of the MOS tube Q3, the other end of the resistor R6 and the D pole of the MOS tube Q2 are connected to a VDD_1 power supply, the G pole of the MOS tube Q3 is connected to one end of a resistor R7 and is connected to a PWM enable signal of the MCU, and the other end of the resistor R7 and the S pole of the MOS tube Q3 are grounded.

4. The agricultural and veterinary drug transmittance detection system according to claim 1, characterized in that: The pesticide transmittance detection system also includes an operational amplifier U2A, the model of which is LMV358IDR. Pin 3 of the operational amplifier U2A is connected to one end of a resistor R2 and one end of a resistor R1, the other end of the resistor R1 is grounded, the other end of the resistor R2 is connected to pin 1 of the silicon photocell U1, and pin 2 of the silicon photocell U1 is grounded.

5. The agricultural and veterinary drug transmittance detection system according to claim 4, characterized in that: Pin 2 of the op amp U2A is connected to one end of a resistor R3, one end of a resistor R4 and one end of a capacitor C2, the other end of the resistor R3 is grounded, pin 1 of the op amp U2A is connected to pin 5 of the op amp U2B, the other end of the resistor R4 and the other end of the capacitor C2, the model of the op amp U2B is LMV358IDR, pin 6 of the op amp U2B is connected to pin 7 of the op amp U2B, pin 7 of the op amp U2B is connected to one end of the capacitor C3 and one end of the capacitor C4, and connected to the ADC input port of the MCU, the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.