Component quality detection device of optical water quality sensor and detection method thereof
By designing a component quality detection device for optical water quality sensors, the problem of uneven quality of sensor components is solved, the effect of improving detection accuracy and consistency is achieved, and the production efficiency and product quality are improved.
Patent Information
- Application Number
- CN202411630302.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-18
AI Technical Summary
During the production process of water quality detectors, the quality of the light emitting diodes and photodiodes is uneven, resulting in unqualified detection accuracy and poor consistency of the sensor, and the manual detection is complex and low efficiency.
A component quality detection device for optical water quality sensors is designed, including reference upper plate diodes, reference lower plate diodes, lower plate rotating disks, etc., and the product quality is improved by setting detection standards, recording test data and storing records. and work efficiency.
Through this detection device, the quality of sensor components can be effectively improved, detection accuracy and consistency can be improved, waste output can be reduced, cost-saving, and work efficiency can be improved.
Smart Images

Figure CN119471282A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sensors, and in particular to a component quality detection device and a detection method of an optical water quality sensor. Background Art
[0002] Commonly used optical principles in water quality detectors include absorption photometry, fluorescence, colorimetry, etc. Among them, absorption photometry is one of the most common principles. It uses the property that light of a specific wavelength is absorbed by substances in the water when passing through the water sample, and determines the concentration of specific substances in the water sample by measuring the transmittance of light. The fluorescence rule uses the property that substances produce fluorescence after being irradiated with excitation light, and analyzes specific components in the water sample by measuring the fluorescence intensity. The colorimetric rule uses the difference in absorption, scattering or transmission of light of a specific wavelength by a substance solution, and analyzes specific components in the water sample by measuring the absorption, scattering or transmission intensity of light. These optical methods of detecting water quality parameters are inseparable from light-emitting diodes and photodiodes. When measuring different parameters, light-emitting diodes with wavelengths within a certain range and photodiodes with corresponding sensitivity are required. If the quality of the light-emitting diodes and photodiodes selected in the production process of the sensor is uneven, this will lead to the inability to effectively control the quality of the sensor, and some sensors will have unqualified detection accuracy and poor consistency between sensors. If they are tested and inspected manually one by one, the process will be complicated, the work efficiency will be relatively low, and operational errors will easily occur. At the same time, it is difficult to keep test records for each device.
[0003] Therefore, it is necessary to provide a component quality detection device and a detection method for an optical water quality sensor to effectively solve the above problems. Summary of the invention
[0004] The present invention provides a component quality detection device and a detection method for an optical water quality sensor, which improves product quality and worker work efficiency by setting detection standards, recording test data storage records and test serial numbers.
[0005] The embodiment of the present invention provides a component quality detection device of an optical water quality sensor, the detection device includes a reference upper plate diode, a reference lower plate diode, a lower plate first interface, a lower plate second interface, an upper plate first interface, an upper plate second interface, and a lower plate rotating disk;
[0006] The lower plate rotating disk is provided with a plurality of holes, the first hole among the plurality of holes is used to place the reference lower plate diode, and the remaining holes among the plurality of holes are used to place the diode to be tested, and the reference lower plate diode is used as a reference;
[0007] The first interface of the lower electrode plate and the second interface of the lower electrode plate are arranged under the first hole;
[0008] An upper plate corresponding to the lower plate rotating disk is arranged directly above the first hole position, the reference upper plate diode is placed on the upper plate, and the reference upper plate diode is used in conjunction with the reference lower plate diode;
[0009] When the first interface of the upper plate and the second interface of the upper plate are in electrical contact and the first interface of the lower plate and the second interface of the lower plate are in electrical contact, the reference lower plate diode generates a signal which is collected by a signal transmitting and signal detecting circuit to obtain a first ADC conversion value;
[0010] The motor driver controls the lower electrode plate rotating disk to rotate in sequence at preset angles so that the diodes to be detected placed in the remaining holes are in electrical contact with the first interface of the lower electrode plate and the second interface of the lower electrode plate, thereby obtaining multiple ADC conversion values corresponding to the diodes to be detected placed in the remaining holes.
[0011] Preferably, the diodes placed on the reference upper plate and the reference lower plate correspond to each other; when the diode placed on the reference upper plate is a light-emitting diode, the diode placed on the reference lower plate is a photodiode, and the detection device is a photodiode; when the diode placed on the reference upper plate is a photodiode, the diode placed on the reference lower plate is a light-emitting diode, and the detection device is a light-emitting diode.
[0012] Preferably, the plurality of hole positions are 12 hole positions, and the preset angle is correspondingly 30°.
[0013] Preferably, the remaining hole positions are the second hole position, the third hole position, the fourth hole position, the fifth hole position, the sixth hole position, the seventh hole position, the eighth hole position, the ninth hole position, the tenth hole position, the eleventh hole position, and the twelfth hole position, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value.
[0014] Preferably, when the reference lower plate diode is a photodiode, in the signal transmitting circuit, the first capacitor C1, the first resistor R1, and the second resistor R2 form a voltage divider circuit, the first capacitor C1 is used for voltage stabilization, the first resistor R1 and the second resistor R2 are divided to obtain VREF, the VREF is connected to the first amplifier U1 so that the VREF is transmitted to the first pin of the first amplifier U1 to generate a clamping voltage, so that the infrared diode Q1 and the third electron R3 have a first current I1 flowing in to generate a transmitting signal, wherein VREF = VCC*R2 / (R1+R2), I1 = VREF / R3;
[0015] In the signal detection circuit, the photodiode generates a second induced current I2 after receiving the transmission signal. The second amplifier U2, the second capacitor C2, and the fourth resistor R4 constitute a current acquisition circuit, wherein the second capacitor C2 is used for anti-interference, and the output voltage of the second amplifier U2 is V1. The third amplifier U3, the fifth resistor R5, the sixth resistor R6, and the third capacitor C3 constitute a voltage signal amplification circuit with an amplification factor of G. The ADC chip U4 is used to convert the voltage signal into a digital signal and transmit the data to U5 via the SPI communication method. The U5 transmits the detected data to the configuration screen via U6, wherein U5 is the controller MCU, U6 is the communication chip RS485, V1=R4*I2, G=1+R6 / R5.
[0016] Preferably, the PWM1 generated by U5 is connected to the seventh resistor R7 and U10, and the seventh resistor R7 is used for current limiting. After the motor driving chip U13 receives the PWM1 pulse signal, it drives the stepping motor to rotate to drive the lower plate rotating disk to rotate;
[0017] The IO1 generated by U5 is connected to the eighth resistor R8 and U11. After receiving the IO1, the motor driving chip U13 controls the stepping motor to rotate forward and reverse;
[0018] The IO2 generated by U5 is connected to the ninth resistor R9 and U12. After receiving the IO2, the motor driver chip U13 controls the motor driver to be in working state or sleep state.
[0019] Preferably, U14 leads to the first interface of the upper plate and the second interface of the upper plate, when IO3 outputs a low level, X_COM and Y_COM are closed, when IO3 outputs a high level, X_COM and Y_COM are disconnected, when IO4 and IO5 both output a low level, channel 0 is selected to access the photodiode, when IO4 outputs a low level and IO5 outputs a high level, channel 1 is selected to access the light-emitting diode;
[0020] U15 leads to the first interface of the lower plate and the second interface of the upper plate. When IO6 outputs a low level, X_COM and Y_COM are closed. When IO6 outputs a high level, X_COM and Y_COM are disconnected. When IO7 and IO8 both output a low level, channel 0 is selected to connect to the photodiode. When IO7 outputs a low level and IO7 outputs a high level, channel 1 is selected to connect to the light-emitting diode.
[0021] The embodiment of the present invention further provides a detection method for the component quality detection device of the above optical water quality sensor.
[0022] Select a reference lower plate diode and a corresponding reference upper plate diode;
[0023] Detecting the reference lower plate diode to obtain a first ADC conversion value;
[0024] Setting an allowable error range between the diode to be detected and the first ADC conversion value;
[0025] The upper electrode plate is stationary, and the stepping motor drives the lower electrode plate rotating disk to rotate by a preset angle to detect multiple ADC conversion values corresponding to the diode to be detected;
[0026] Comparing the error range between a plurality of ADC conversion values corresponding to the diode to be detected and the first ADC conversion value;
[0027] If the errors between the plurality of ADC conversion values of the diode to be detected and the first ADC conversion value exceed the allowable error range, the serial number of the corresponding diode is recorded.
[0028] Preferably, the plurality of hole positions are 12 hole positions, and the preset angle is correspondingly 30°.
[0029] Preferably, the remaining hole positions are the second hole position, the third hole position, the fourth hole position, the fifth hole position, the sixth hole position, the seventh hole position, the eighth hole position, the ninth hole position, the tenth hole position, the eleventh hole position, and the twelfth hole position, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value.
[0030] The technical solution of the embodiment of the present invention has the following beneficial effects:
[0031] The component quality detection device and detection method of the optical water quality sensor provided by the embodiment of the present invention, the detection device includes a reference upper electrode plate diode, a reference lower electrode plate diode, a lower electrode plate first interface, a lower electrode plate second interface, an upper electrode plate first interface, an upper electrode plate second interface, and a lower electrode plate rotating disk; a plurality of hole positions are arranged on the lower electrode plate rotating disk, the first hole position of the plurality of hole positions is used to place the reference lower electrode plate diode, the remaining hole positions of the plurality of hole positions are used to place the diode to be detected, and the reference lower electrode plate diode is used as a reference; the first interface of the lower electrode plate and the second interface of the lower electrode plate are arranged under the first hole position; an upper electrode plate corresponding to the lower electrode plate rotating disk is arranged directly above the first hole position, and the reference upper electrode plate diode is placed on the upper electrode plate , the reference upper plate diode and the reference lower plate diode are used in combination; when the first interface of the upper plate and the second interface of the upper plate are in electric contact and the first interface of the lower plate and the second interface of the lower plate are in electric contact, the reference lower plate diode generates a signal which is collected by a signal transmitting and signal detecting circuit to obtain a first ADC conversion value; the motor driver controls the lower plate rotating disk to rotate in sequence by a preset angle so that the diodes to be detected placed in the remaining hole positions are in electric contact with the first interface of the lower plate and the second interface of the lower plate, and a plurality of ADC conversion values corresponding to the diodes to be detected placed in the remaining hole positions are obtained, and by setting the detection standard, recording the test data storage record and the test serial number, the product quality is improved, the work efficiency of the workers is improved, the output of waste is reduced, and the cost is saved;
[0032] Further, the remaining hole positions are the second hole position, the third hole position, the fourth hole position, the fifth hole position, the sixth hole position, the seventh hole position, the eighth hole position, the ninth hole position, the tenth hole position, the eleventh hole position, and the twelfth hole position, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value, so that the ADC conversion values of 11 diodes to be detected can be detected simultaneously, thereby greatly improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present invention, not all embodiments. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0034] Figure 1A schematic structural diagram of a component quality detection device for an optical water quality sensor provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a signal transmission and signal detection circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of a motor drive circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention;
[0037] Figure 4 A schematic diagram of a light emitting diode upper and lower plate switching circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention;
[0038] Figure 5 A schematic diagram of a switching circuit of a photodiode upper and lower plates of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention;
[0039] Figure 6 A schematic flow chart of a detection method for a component quality detection device of an optical water quality sensor provided in accordance with an embodiment of the present invention.
[0040] Reference numerals:
[0041] 1. The first hole; 2. The second hole; 3. The third hole; 4. The fourth hole; 5. The fifth hole; 6. The sixth hole; 7. The seventh hole; 8. The eighth hole; 9. The ninth hole; 10. The tenth hole; 11. The eleventh hole; 12. The twelfth hole;
[0042] 111. Reference upper plate diode; 112. Reference lower plate diode; 113. Lower plate first interface; 114. Lower plate second interface; 115. Upper plate first interface; 116. Upper plate second interface; 117. Lower plate rotating disk. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0045] Based on the problems existing in the prior art, an embodiment of the present invention provides a component quality detection device and a detection method for an optical water quality sensor, which improves product quality and worker work efficiency by setting detection standards, recording test data storage records and test serial numbers.
[0046] Figure 1 A schematic structural diagram of a component quality detection device for an optical water quality sensor provided by an embodiment of the present invention; Figure 2 A schematic diagram of a signal transmission and signal detection circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention; Figure 3 A schematic diagram of a motor drive circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention; Figure 4 A schematic diagram of a light emitting diode upper and lower plate switching circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention; Figure 5 A schematic diagram of a photodiode upper and lower plate switching circuit of a component quality detection device of an optical water quality sensor provided by an embodiment of the present invention.
[0047] View now Figure 1-Figure 5 , an embodiment of the present invention provides a component quality detection device of an optical water quality sensor, the detection device includes a reference upper plate diode 111, a reference lower plate diode 112, a lower plate first interface 113, a lower plate second interface 114, an upper plate first interface 115, an upper plate second interface 116, and a lower plate rotating disk 117;
[0048] The lower plate rotating disk 117 is provided with a plurality of holes, the first hole 1 among the plurality of holes is used to place the reference lower plate diode 112, and the remaining holes among the plurality of holes are used to place the diodes to be tested, and the reference lower plate diode 112 is used as a reference;
[0049] The first interface 113 of the lower electrode plate and the second interface 114 of the lower electrode plate are arranged under the first hole position 1;
[0050] An upper plate corresponding to the lower plate rotating disk 117 is arranged directly above the first hole position 1, and the reference upper plate diode 111 is placed on the upper plate, and the reference upper plate diode 111 is used in conjunction with the reference lower plate diode 112;
[0051] When the upper plate first interface 115 and the upper plate second interface 116 are in electrical contact and the lower plate first interface 113 and the lower plate second interface 114 are in electrical contact, the reference lower plate diode 112 generates a signal which is collected by the signal transmission and signal detection circuit to obtain a first ADC conversion value;
[0052] The motor driver controls the lower plate rotating disk 117 to rotate in sequence at preset angles so that the diodes to be tested placed in the remaining holes are in electrical contact with the first interface 113 and the second interface 114 of the lower plate, thereby obtaining multiple ADC conversion values corresponding to the diodes to be tested placed in the remaining holes.
[0053] In a specific implementation, the diodes placed on the reference upper plate and the reference lower plate correspond to each other; when the diode 111 placed on the reference upper plate is a light-emitting diode, the diode 112 placed on the reference lower plate is a photodiode, and the detection device is a photodiode; when the diode 111 placed on the reference upper plate is a photodiode, the diode 112 placed on the reference lower plate is a light-emitting diode, and the detection device is a light-emitting diode.
[0054] In a specific implementation, the plurality of hole positions are 12 hole positions, and the preset angle is correspondingly 30°.
[0055] In a specific implementation, the remaining hole positions are the second hole position 2, the third hole position 3, the fourth hole position 4, the fifth hole position 5, the sixth hole position 6, the seventh hole position 7, the eighth hole position 8, the ninth hole position 9, the tenth hole position 10, the eleventh hole position 11, and the twelfth hole position 12, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value.
[0056] In a specific implementation, when the reference lower plate diode is a photodiode, in the signal transmission circuit, the first capacitor C1, the first resistor R1, and the second resistor R2 form a voltage divider circuit, the first capacitor C1 is used for voltage stabilization, the first resistor R1 and the second resistor R2 are divided to obtain VREF, the VREF is connected to the first amplifier U1 so that the VREF is transmitted to the first pin of the first amplifier U1 to generate a clamping voltage, so that the infrared diode Q1 and the third electron R3 have a first current I1 flowing in to generate a transmission signal, wherein VREF = VCC*R2 / (R1+R2), I1 = VREF / R3;
[0057] In the signal detection circuit, the photodiode generates a second induced current I2 after receiving the transmission signal. The second amplifier U2, the second capacitor C2, and the fourth resistor R4 constitute a current acquisition circuit, wherein the second capacitor C2 is used for anti-interference, and the output voltage of the second amplifier U2 is V1. The third amplifier U3, the fifth resistor R5, the sixth resistor R6, and the third capacitor C3 constitute a voltage signal amplification circuit with an amplification factor of G. The ADC chip U4 is used to convert the voltage signal into a digital signal and transmit the data to U5 via the SPI communication method. The U5 transmits the detected data to the configuration screen via U6, wherein U5 is the controller MCU, U6 is the communication chip RS485, V1=R4*I2, G=1+R6 / R5.
[0058] In a specific implementation, the PWM1 generated by the U5 is connected to the seventh resistor R7 and U10, and the seventh resistor R7 is used for current limiting. After the motor driving chip U13 receives the PWM1 pulse signal, it drives the stepping motor to rotate to drive the lower plate rotating disk to rotate;
[0059] The IO1 generated by U5 is connected to the eighth resistor R8 and U11. After receiving the IO1, the motor driving chip U13 controls the stepping motor to rotate forward and reverse;
[0060] The IO2 generated by U5 is connected to the ninth resistor R9 and U12. After receiving the IO2, the motor driver chip U13 controls the motor driver to be in working state or sleep state.
[0061] In a specific implementation, U14 leads to the first interface of the upper plate and the second interface of the upper plate. When IO3 outputs a low level, X_COM and Y_COM are closed. When IO3 outputs a high level, X_COM and Y_COM are disconnected. When IO4 and IO5 both output a low level, channel 0 is selected to access the photodiode. When IO4 outputs a low level and IO5 outputs a high level, channel 1 is selected to access the light-emitting diode.
[0062] U15 leads to the first interface of the lower plate and the second interface of the upper plate. When IO6 outputs a low level, X_COM and Y_COM are closed. When IO6 outputs a high level, X_COM and Y_COM are disconnected. When IO7 and IO8 both output a low level, channel 0 is selected to connect to the photodiode. When IO7 outputs a low level and IO7 outputs a high level, channel 1 is selected to connect to the light-emitting diode.
[0063] Figure 6 A schematic flow chart of a detection method for a component quality detection device of an optical water quality sensor provided in accordance with an embodiment of the present invention.
[0064] View now Figure 6The embodiment of the present invention further provides a detection method for a component quality detection device of the above optical water quality sensor, comprising:
[0065] Step S601: Select a reference lower plate diode 112 and a corresponding reference upper plate diode 111;
[0066] Step S602: Detect the reference lower plate diode 112 to obtain a first ADC conversion value;
[0067] Step S603: setting an allowable error range between the diode to be detected and the first ADC conversion value;
[0068] Step S604: the upper electrode plate does not move, and the stepper motor drives the lower electrode plate rotating disk 117 to rotate a preset angle to detect multiple ADC conversion values corresponding to the diode to be detected;
[0069] Step S605: comparing the error range between a plurality of ADC conversion values corresponding to the diode to be detected and the first ADC conversion value;
[0070] Step S606: If the errors between the plurality of ADC conversion values of the diode to be detected and the first ADC conversion value exceed the allowable error range, the serial number of the corresponding diode is recorded.
[0071] In a specific implementation, the plurality of hole positions are 12 hole positions, and the preset angle is correspondingly 30°.
[0072] In a specific implementation, the remaining hole positions are the second hole position 2, the third hole position 3, the fourth hole position 4, the fifth hole position 5, the sixth hole position 6, the seventh hole position 7, the eighth hole position 8, the ninth hole position 9, the tenth hole position 10, the eleventh hole position 11, and the twelfth hole position 12, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value.
[0073] In summary, the optical water quality sensor component quality detection device and detection method provided by the embodiment of the present invention, the detection device includes a reference upper pole plate diode, a reference lower pole plate diode, a lower pole plate first interface, a lower pole plate second interface, an upper pole plate first interface, an upper pole plate second interface, and a lower pole plate rotating disk; the lower pole plate rotating disk is provided with a plurality of hole positions, the first hole position of the plurality of hole positions is used to place the reference lower pole plate diode, the remaining hole positions of the plurality of hole positions are used to place the diode to be detected, and the reference lower pole plate diode is used as a reference; the lower pole plate first interface and the lower pole plate second interface are provided under the first hole position; an upper pole plate corresponding to the lower pole plate rotating disk is provided directly above the first hole position, and the reference upper pole plate second interface is placed on the upper pole plate The reference upper plate diode and the reference lower plate diode are used together; when the first interface of the upper plate and the second interface of the upper plate are in electric contact and the first interface of the lower plate and the second interface of the lower plate are in electric contact, the reference lower plate diode generates a signal, which is collected by the signal transmission and signal detection circuit to obtain a first ADC conversion value; the motor driver controls the lower plate rotating disk to rotate in sequence by a preset angle so that the diodes to be detected placed in the remaining hole positions are in electric contact with the first interface of the lower plate and the second interface of the lower plate, and multiple ADC conversion values corresponding to the diodes to be detected placed in the remaining hole positions are obtained, and by setting the detection standard, recording the test data storage record and the test serial number, the product quality is improved, the work efficiency of the workers is improved, the output of waste is reduced, and the cost is saved;
[0074] Further, the remaining hole positions are the second hole position, the third hole position, the fourth hole position, the fifth hole position, the sixth hole position, the seventh hole position, the eighth hole position, the ninth hole position, the tenth hole position, the eleventh hole position, and the twelfth hole position, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value, so that the ADC conversion values of 11 diodes to be detected can be detected simultaneously, thereby greatly improving the detection efficiency.
[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A component quality detection device for an optical water quality sensor, characterized in that: The detection device includes a reference upper plate diode, a reference lower plate diode, a lower plate first interface, a lower plate second interface, an upper plate first interface, an upper plate second interface, and a lower plate rotating disk; The lower plate rotating disk is provided with a plurality of holes, the first hole among the plurality of holes is used to place the reference lower plate diode, and the remaining holes among the plurality of holes are used to place the diode to be tested, and the reference lower plate diode is used as a reference; The first interface of the lower electrode plate and the second interface of the lower electrode plate are arranged under the first hole; An upper plate corresponding to the lower plate rotating disk is arranged directly above the first hole position, the reference upper plate diode is placed on the upper plate, and the reference upper plate diode is used in conjunction with the reference lower plate diode; When the first interface of the upper plate and the second interface of the upper plate are in electrical contact and the first interface of the lower plate and the second interface of the lower plate are in electrical contact, the reference lower plate diode generates a signal which is collected by a signal transmitting and signal detecting circuit to obtain a first ADC conversion value; The motor driver controls the lower electrode plate rotating disk to rotate in sequence at preset angles so that the diodes to be detected placed in the remaining holes are in electrical contact with the first interface of the lower electrode plate and the second interface of the lower electrode plate, thereby obtaining multiple ADC conversion values corresponding to the diodes to be detected placed in the remaining holes.
2. The component quality detection device of the optical water quality sensor according to claim 1, characterized in that: The diodes placed on the reference upper plate and the reference lower plate correspond to each other; when the diode placed on the reference upper plate is a light-emitting diode, the diode placed on the reference lower plate is a photodiode, and the detection device is a photodiode; when the diode placed on the reference upper plate is a photodiode, the diode placed on the reference lower plate is a light-emitting diode, and the detection device is a light-emitting diode.
3. The component quality detection device of the optical water quality sensor according to claim 1, characterized in that: The plurality of hole positions are 12 hole positions, and the preset angle is correspondingly 30°.
4. The component quality detection device of the optical water quality sensor according to claim 3, characterized in that: The remaining hole positions are the second hole position, the third hole position, the fourth hole position, the fifth hole position, the sixth hole position, the seventh hole position, the eighth hole position, the ninth hole position, the tenth hole position, the eleventh hole position, and the twelfth hole position, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value.
5. The component quality detection device of the optical water quality sensor according to claim 1, characterized in that: When the reference lower plate diode is a photodiode, in the signal transmitting circuit, the first capacitor C1, the first resistor R1, and the second resistor R2 form a voltage divider circuit, the first capacitor C1 is used for voltage stabilization, the first resistor R1 and the second resistor R2 obtain VREF through voltage division, and the VREF is connected to the first amplifier U1 so that the VREF is transmitted to the first pin of the first amplifier U1 to generate a clamping voltage, so that the infrared diode Q1 and the third electron R3 have a first current I1 flowing in to generate a transmitting signal, wherein VREF = VCC*R2 / (R1+R2), I1 = VREF / R3; In the signal detection circuit, the photodiode generates a second induced current I2 after receiving the transmission signal. The second amplifier U2, the second capacitor C2, and the fourth resistor R4 constitute a current acquisition circuit, wherein the second capacitor C2 is used for anti-interference, and the output voltage of the second amplifier U2 is V1. The third amplifier U3, the fifth resistor R5, the sixth resistor R6, and the third capacitor C3 constitute a voltage signal amplification circuit with an amplification factor of G. The ADC chip U4 is used to convert the voltage signal into a digital signal and transmit the data to U5 via the SPI communication method. The U5 transmits the detected data to the configuration screen via U6, wherein U5 is the controller MCU, U6 is the communication chip RS485, V1=R4*I2, G=1+R6 / R5.
6. The component quality detection device of the optical water quality sensor according to claim 5, characterized in that: The PWM1 generated by U5 is connected to the seventh resistor R7 and U10. The seventh resistor R7 is used for current limiting. After the motor driving chip U13 receives the PWM1 pulse signal, it drives the stepping motor to rotate to drive the lower plate rotating disk to rotate; The IO1 generated by U5 is connected to the eighth resistor R8 and U11. After receiving the IO1, the motor driving chip U13 controls the stepping motor to rotate forward and reverse; The IO2 generated by U5 is connected to the ninth resistor R9 and U12. After receiving the IO2, the motor driver chip U13 controls the motor driver to be in working state or sleep state.
7. The component quality detection device of the optical water quality sensor according to claim 1, characterized in that: U14 leads to the first interface of the upper plate and the second interface of the upper plate. When IO3 outputs a low level, X_COM and Y_COM are closed. When IO3 outputs a high level, X_COM and Y_COM are disconnected. When IO4 and IO5 both output a low level, channel 0 is selected to access the photodiode. When IO4 outputs a low level and IO5 outputs a high level, channel 1 is selected to access the light-emitting diode. U15 leads to the first interface of the lower plate and the second interface of the upper plate. When IO6 outputs a low level, X_COM and Y_COM are closed. When IO6 outputs a high level, X_COM and Y_COM are disconnected. When IO7 and IO8 both output a low level, channel 0 is selected to connect to the photodiode. When IO7 outputs a low level and IO7 outputs a high level, channel 1 is selected to connect to the light-emitting diode.
8. A detection method applicable to the component quality detection device of the optical water quality sensor as claimed in claim 1, characterized in that: Select a reference lower plate diode and a corresponding reference upper plate diode; Detecting the reference lower plate diode to obtain a first ADC conversion value; Setting an allowable error range between the diode to be detected and the first ADC conversion value; The upper electrode plate is stationary, and the stepping motor drives the lower electrode plate rotating disk to rotate by a preset angle to detect multiple ADC conversion values corresponding to the diode to be detected; Comparing the error range between a plurality of ADC conversion values corresponding to the diode to be detected and the first ADC conversion value; If the errors between the plurality of ADC conversion values of the diode to be detected and the first ADC conversion value exceed the allowable error range, the serial number of the corresponding diode is recorded.
9. The detection method according to claim 8, characterized in that: The plurality of hole positions are 12 hole positions, and the preset angle is correspondingly 30°.
10. The detection method according to claim 9, characterized in that: The remaining hole positions are the second hole position, the third hole position, the fourth hole position, the fifth hole position, the sixth hole position, the seventh hole position, the eighth hole position, the ninth hole position, the tenth hole position, the eleventh hole position, and the twelfth hole position, and the corresponding multiple ADC conversion values are the second ADC conversion value, the third ADC conversion value, the fourth ADC conversion value, the fifth ADC conversion value, the sixth ADC conversion value, the seventh ADC conversion value, the eighth ADC conversion value, the ninth ADC conversion value, the tenth ADC conversion value, the eleventh ADC conversion value, and the twelfth ADC conversion value.
Citation Information
Cited By
Component quality inspection apparatus for optical water quality sensor and inspection method therefor
WO2026103253A1