Optical liquid detection device and detection method thereof

By using a pneumatic motor in the optical liquid detection device for cavity cleaning and beam correction compensation, the problems of detection cavity contamination and high maintenance costs are solved, and higher detection accuracy and service life are achieved.

CN118794892APending Publication Date: 2024-10-18IND TECH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310556535.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-13
Filing Date
2023-05-17
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Adding reagents to existing optical liquid detection devices can easily lead to contamination of the detection cavity, affecting detection accuracy. Moreover, the light source and light-collecting components require manual cleaning, resulting in high maintenance costs and insufficient service life and detection frequency.

Method used

An optical liquid detection device including a detection cavity, a pneumatic motor, a light source and a light-receiving element is designed. The pneumatic motor drives external gas to clean the detection cavity, and the light source and light-receiving element are used to adjust the beam intensity for correction and compensation, achieving Self-optical detection and self-cleaning.

Benefits of technology

The accuracy of optical liquid detection is improved, the service life and detection frequency of the device are extended, and maintenance costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118794892A_ABST
    Figure CN118794892A_ABST
Patent Text Reader

Abstract

The invention provides an optical liquid detection device and a detection method thereof. The optical liquid detection device comprises a detection cavity, a pneumatic motor, a light source and a light receiving element. The detection cavity is provided with a liquid inlet and an air inlet. One of the clean liquid and the detection liquid flows into the detection cavity through the liquid inlet. The pneumatic motor is connected to the air inlet of the detection cavity. The pneumatic motor drives external air to flow into the detection cavity through the air inlet. The light source is arranged in the detection cavity and emits a light beam penetrating through the detection cavity. The light receiving element is arranged in the detection cavity and used for receiving the light beam penetrating through the detection cavity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a detection device and a detection method thereof, and in particular to an optical liquid detection device and a detection method thereof. Background Art

[0002] In the existing optical liquid detection device, it usually includes a light source, a light receiving element and a detection cavity, and its detection method requires adding a reagent to the detection liquid in the detection cavity to make the detection liquid present a color.

[0003] However, the aforementioned method of adding reagents to the detection liquid in the detection cavity not only causes contamination of the detection cavity and leads to loss of detection accuracy, but also the light source and the light receiving element will face the problem of staining and dirtiness. Therefore, the detection cavity needs to be cleaned or replaced to restore accuracy, thereby failing to increase the service life and detection frequency. In addition, the light source and the light receiving element are generally cleaned manually and cannot be tested for a long time, resulting in increased maintenance costs. Summary of the invention

[0004] The optical liquid detection device of the present invention includes a detection cavity, an air motor, a light source and a light receiving element. The detection cavity has a liquid inlet and an air inlet. One of the clean liquid and the detection liquid flows into the detection cavity through the liquid inlet. The air motor is connected to the air inlet of the detection cavity. The air motor drives external gas to flow into the detection cavity through the air inlet. The light source is arranged in the detection cavity and emits a light beam passing through the detection cavity. The light receiving element is arranged in the detection cavity and is used to receive the light beam passing through the detection cavity.

[0005] The optical liquid detection method of the present invention uses the optical liquid detection device to monitor liquid, and the optical liquid detection method includes the following steps. Detect the light beam passing through the detection cavity in the cavity state or the clean liquid state, and establish a detection reference value according to the intensity of the detected light beam. Input external gas or clean liquid into the detection cavity, and after the external gas or clean liquid passes through the detection cavity, detect the intensity of the light beam to obtain a measurement value. Determine whether the absolute value of the error value between the detection reference value and the measurement value exceeds the critical error value. When the absolute value of the error value is less than the critical error value, adjust the intensity of the light beam according to the error value to correct the compensation measurement value as the detection reference value.

[0006] Based on the above, the optical liquid detection device and the detection method of the present invention determine the degree of dirtiness of the detection cavity by setting the light source and the light receiving element, and adjust the light frequency or current value of the light source providing the light beam according to the degree of dirtiness of the detection cavity to perform light source correction compensation, thereby improving the accuracy of subsequent optical liquid measurements (such as measuring the detection liquid), or by inputting clean liquid and using a pneumatic motor to draw external gas into the detection cavity, and cleaning the detection cavity by pumping air, so that the optical liquid detection device has a self-optical detection compensation and self-cleaning mechanism, thereby being able to improve the service life and detection frequency of the optical liquid detection device, and at the same time reduce the maintenance cost of the optical liquid detection device.

[0007] In order to make the above features and advantages of the present invention more clearly understood, embodiments are given below with reference to the accompanying drawings for detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a schematic diagram of an optical liquid detection device according to an embodiment of the present invention;

[0009] Figure 2 , Figure 3 for Figure 1 A partial enlarged schematic diagram of the linear motor moving back and forth;

[0010] Figure 4 for Figure 1 A block diagram showing the relationship between some components of the optical liquid detection device and the control processing unit;

[0011] Figure 5A , Figure 5B is a flowchart of the steps of an optical liquid detection method according to an embodiment of the present invention.

[0012] Description of Reference Numerals

[0013] 100: optical liquid detection device;

[0014] 105: control processing unit;

[0015] 110: detection cavity;

[0016] 111: liquid inlet;

[0017] 112: air inlet;

[0018] 113: injection port;

[0019] 114: exhaust port;

[0020] 120: pneumatic motor;

[0021] 130: light source;

[0022] 140: light receiving element;

[0023] 150: injection module;

[0024] 151: reagent storage tank;

[0025] 152: injection three-way valve;

[0026] 153: first one-way valve;

[0027] 154: second one-way valve;

[0028] 155a: valve body;

[0029] 155b: injection needle;

[0030] 160: pipeline assembly;

[0031] 161: first pipeline;

[0032] 162: second pipeline;

[0033] 163: the third pipeline;

[0034] 170: propulsion assembly;

[0035] 171: reagent temporary storage tank;

[0036] 172: piston;

[0037] 173: Connector;

[0038] 174: linear motor;

[0039] 180: water pumping motor;

[0040] 181: clean liquid storage tank;

[0041] 182: Detection liquid storage tank;

[0042] 183: water supply pipeline;

[0043] 190: cavity three-way valve;

[0044] S210, S220, S230, S240, S250, S251, S252, S253, S254, S255, S260, S261, S262, S270, S280: steps;

[0045] L1: beam;

[0046] CW: clean liquid;

[0047] TW: testing liquid;

[0048] RG: reagents;

[0049] M1: cavity state;

[0050] M2: clean liquid state;

[0051] mv ref1 : Cavity reference value;

[0052] mv ref2 :Clean liquid reference value;

[0053] mv1: cavity measurement value;

[0054] mv2: clean liquid measurement value;

[0055] mv3: detect liquid measurement value;

[0056] N1: number of measurements;

[0057] N2: predetermined limit;

[0058] ER1, ER2: error value;

[0059] CE1: Cavity critical error value;

[0060] CE2: Clean liquid critical error value. DETAILED DESCRIPTION

[0061] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.

[0062] Figure 1 is a schematic diagram of an optical liquid detection device according to an embodiment of the present invention. Figure 1 The optical liquid detection device 100 of the present embodiment includes a detection cavity 110 , a pneumatic motor 120 , a light source 130 and a light receiving element 140 .

[0063] The detection cavity 110 has a liquid inlet 111 and an air inlet 112, and the clean liquid CW and the detection liquid TW can flow into the detection cavity 110 through the liquid inlet 111. The pneumatic motor 120 is connected to the air inlet 112 of the detection cavity 110, and the pneumatic motor 120 drives external gas (not shown) to flow into the detection cavity 110 through the air inlet 112. The light source 130 is disposed in the detection cavity 110 and emits a light beam L1 passing through the detection cavity 110. The light receiving element 140 is disposed in the detection cavity 110 and is located on the transmission path of the light beam L1, so as to receive the light beam L1 passing through the detection cavity 110.

[0064] In detail, in this embodiment, the optical liquid detection device 100 further includes an injection module 150, and the detection cavity 110 further has an injection port 113. The injection module 150 is connected to the injection port 113 of the detection cavity 110, and the injection module 150 is used to inject the reagent RG into the detection cavity 110 containing the detection liquid TW through the injection port 113, so that the detection liquid TW is colored by adding the reagent RG, and further optical liquid detection can be performed.

[0065] Here, it should be noted that, in the present embodiment, the clean liquid CW and the detection liquid TW may be aqueous solutions, but may also be light-transmissive base liquids such as alcohol solutions, and are therefore not limited to water. In the present embodiment, the light beam L1 emitted by the light source 130 is, for example, visible light, but is not limited thereto. In the present embodiment, the wavelength of the light beam L1 is, for example, 680 nm, but is not limited thereto. In the present embodiment, when the detection liquid TW is detected, the light receiving element 140 detects the intensity of the light beam L1 passing through the detection cavity 110, the detection liquid TW, and the reagent RG to measure the ammonia nitrogen content in the detection liquid TW, but is not limited thereto.

[0066] It is worth mentioning that in the optical liquid detection device, before the light receiving element 140 performs optical liquid detection on the detection liquid TW, it is often necessary to add reagent RG to the detection liquid TW to make the detection liquid TW colored, thereby causing the detection cavity 110, the light source 130 and the light receiving element 140 to be stained and contaminated by the reagent RG, thereby affecting the accuracy of the optical liquid detection device.

[0067] Accordingly, the optical liquid detection device 100 of the present embodiment can be controlled by, for example, the control processing unit 105 ( Figure 4 ) and use the settings of the light source 130 and the light receiving element 140 to establish initial data, thereby determining the degree of dirtiness of the detection cavity 110, and adjusting the light emission frequency or current value of the light source 130 according to the degree of dirtiness of the detection cavity 110 to change the intensity of the light beam L1, that is, to perform light source correction compensation. The unit of the intensity of the light beam mentioned in the present invention may be milliwatts (mW). Furthermore, in this embodiment, a clean liquid CW may flow into the detection cavity 110 and an external gas (not shown) may be drawn into the detection cavity 110 by the pneumatic motor 120, and the detection cavity 110 may be cleaned or dried by introducing gas, so that the optical liquid detection device 100 has a self-optical detection compensation and self-cleaning mechanism, thereby improving the accuracy, service life and number of detections of the optical liquid detection device 100, and at the same time reducing the maintenance cost of the optical liquid detection device 100.

[0068] The optical liquid detection device 100 is further described below.

[0069] Figure 2, Figure 3 for Figure 1 A partial enlarged schematic diagram of the linear motor moving back and forth. Figure 4 for Figure 1 A block diagram showing the relationship between some components of an optical liquid detection device and a control processing unit.

[0070] Please refer to Figure 1 In this embodiment, the injection module 150 includes a reagent storage tank 151, an injection three-way valve 152, a first one-way valve 153, a second one-way valve 154, a pipeline assembly 160 and a propulsion assembly 170. The pipeline assembly 160 includes a first pipeline 161, a second pipeline 162 and a third pipeline 163. The first pipeline 161 is connected in sequence between the reagent storage tank 151, the first one-way valve 153 and the injection three-way valve 152, the second pipeline 162 is connected between the propulsion assembly 170 and the injection three-way valve 152, and the third pipeline 163 is connected in sequence between the injection three-way valve 152, the second one-way valve 154 and the injection port 113.

[0071] It should be noted here that the first one-way valve 153 and the second one-way valve 154 can limit the flow direction of the liquid. For example, the first one-way valve 153 can only allow liquid (not shown) to flow from the reagent storage tank 151 to the injection three-way valve 152, while the second one-way valve 154 can only allow liquid (not shown) to flow from the injection three-way valve 152 to the injection port 113.

[0072] Specifically, in this embodiment, the propulsion assembly 170 includes a reagent temporary storage tank 171, a piston 172, a connector 173, and a linear motor 174. The piston 172 is disposed in the reagent temporary storage tank 171 and connected to the linear motor 174 through the connector 173, and the linear motor 174 can drive the piston 172 to move linearly back and forth in the reagent temporary storage tank 171.

[0073] More specifically, in this embodiment, the second one-way valve 154 includes a valve body 155a and an injection needle 155b, and the injection needle 155b is connected between the valve body 155a and the injection port 113. The detection chamber 110 has an exhaust port 114, so that the external gas (not shown) flowing into the detection chamber 110 flows out of the detection chamber 110 through the exhaust port 114. Here, the external gas (not shown) is, for example, drawn into the detection chamber 110 by the pneumatic motor 120, or the external gas (not shown) inside the pipeline assembly 160 moves back and forth via the linear motor 174 and flows into the detection chamber 110, but the present invention is not limited thereto.

[0074] like Figure 2 As shown, in this embodiment, when the linear motor 174 drives the piston 172 through the connecting member 173 to move away from the reagent temporary storage tank 171 ( Figure 2When the reagent storage tank 151 moves, due to the characteristics of the first check valve 153 and the second check valve 154, only the reagent RG in the reagent storage tank 151 can flow through the first check valve 153 and the injection three-way valve 152 in sequence, and finally be drawn into the reagent temporary storage tank 171 ( Figure 2 The dashed arrow in the figure).

[0075] Then, if Figure 3 As shown, in this embodiment, when the linear motor 174 drives the piston 172 toward the reagent temporary storage tank 171 through the connecting member 173 ( Figure 3 When the first check valve 153 and the second check valve 154 move, due to the characteristics of the first check valve 153 and the second check valve 154, only the reagent RG in the reagent temporary storage tank 171 can flow through the injection three-way valve 152 and the second check valve 154 in sequence, and finally flow into the detection chamber 110 through the injection port 113 ( Figure 3 The dashed arrow in the figure).

[0076] It is worth mentioning that in this embodiment, the back and forth movement of the linear motor 174 can not only achieve the automation and precise quantitative injection of the reagent RG, but also allow the external gas (not shown) inside the pipeline assembly 160 to flow into the detection cavity 110 through the injection needle 155b and the injection port 113, and to be discharged through the exhaust port 114 ( Figure 1 ) to discharge the aforementioned external gas (not shown) to avoid errors in the injection amount of the reagent RG due to bubbles (i.e., external gas) inside the pipeline assembly 160. In this way, the injection module 150 of this embodiment can not only reduce the discharge of waste reagent RG, but also set the injection frequency of the reagent RG according to demand, thereby reducing labor costs.

[0077] Please refer to Figure 1In this embodiment, the optical liquid detection device 100 further includes two water pumping motors 180. The clean liquid CW and the detection liquid TW are, for example, respectively contained in a clean liquid storage tank 181 and a detection liquid storage tank 182, and the two water pumping motors 180 are respectively connected between the liquid inlet 111 of the detection cavity 110 and the clean liquid storage tank 181 and the detection liquid storage tank 182 through water pumping pipes 183, so that the clean liquid CW and the detection liquid TW are pumped into the detection cavity 110 through the water pumping motors 180, but the present invention does not limit the way in which the clean liquid CW and the detection liquid TW flow into the detection cavity 110. In other embodiments, the clean liquid storage tank 181 or the detection liquid storage tank 182 may be set at a position higher than the liquid inlet 111 in the gravity direction (not shown), and a valve (not shown) may be connected between the liquid inlet 111 of the detection chamber 110 and the clean liquid storage tank 181 or the detection liquid storage tank 182 through a water suction pipe 183, so that when the clean liquid CW or the detection liquid TW is affected by gravity, the clean liquid CW or the detection liquid TW flowing downward into the detection chamber 110 is controlled by the valve (not shown).

[0078] Please refer to Figure 1 In this embodiment, the optical liquid detection device 100 further includes a cavity three-way valve 190. The cavity three-way valve 190 is connected between the air inlet 112 of the detection cavity 110 and the pneumatic motor 120, and the clean liquid CW or the detection liquid TW can flow out of the detection cavity 110 through the air inlet 112 and the cavity three-way valve 190.

[0079] For example, in the present embodiment, the cavity three-way valve 190 is, for example, a three-way solenoid valve, and the cavity three-way valve 190 can be controlled as needed to allow external gas (not shown) drawn in by the pneumatic motor 120 to flow into the detection cavity 110 in sequence through the cavity three-way valve 190 and the air inlet 112, or to allow the clean liquid CW or the detection liquid TW to flow out of the detection cavity 110 in sequence through the air inlet 112 and the cavity three-way valve 190, but the present invention is not limited thereto.

[0080] In addition, please refer to Figure 4In this embodiment, the optical liquid detection device 100 further includes a control processing unit 105, wherein the control processing unit 105 is adapted to determine the states of the pneumatic motor 120, the light source 130, the light receiving element 140, the injection module 150, the propulsion assembly 170, the water pumping motor 180, and the cavity three-way valve 190 and to execute programs such as calculation processing and control. For example, a specific or non-specific user (such as a person or a scheduling program) can establish initial data through the control processing unit 105 in the optical liquid detection device 100 and the settings of the light source 130 and the light receiving element 140, and the control processing unit 105 can determine the degree of dirtiness of the detection cavity 110 through the aforementioned initial data, so as to automatically adjust the light emission frequency or current value of the light source 130 providing the light beam L1 according to the degree of dirtiness of the detection cavity 110, but the present invention is not limited thereto.

[0081] In one embodiment, the control processing unit 105 may include corresponding hardware or software (not shown). For example, the aforementioned hardware may include a personal computer, a laptop computer, a smart phone, a smart watch, smart glasses, a calculator, a cloud system, or a platform suitable for performing advanced process control (APC) or target value prediction (Predicted target), but the present invention is not limited thereto. For another example, the aforementioned software may include corresponding calculation programming, corresponding logic judgment programming, corresponding storage management programming, corresponding data serial programming, corresponding sorting programming, etc., but the present invention is not limited thereto.

[0082] Figure 5A , Figure 5B is a flowchart of the steps of an optical liquid detection method according to an embodiment of the present invention. Figure 5A , Figure 5B The optical liquid detection method uses Figure 1 The optical liquid detection device 100 is used to monitor liquid. Figure 1 , and with Figure 5A , Figure 5B The step flow is used to further illustrate the steps S210, S220, S230, S240, S250, S251, S252, S253, S254, S255, S260, S261, S262, SS270, and S280 of the optical liquid detection method.

[0083] It should be understood that there may be additional operating steps before, during or after the method, and some of the operating steps described may be replaced or deleted in the methods of other embodiments.

[0084] Please refer to Figure 5A In step S210, the light receiving element 140 is used to detect the intensity of the light beam L1 passing through the detection cavity 110 in the cavity state M1 or the clean liquid state M2, and a detection reference value is established according to the detected intensity of the light beam L1, wherein the detection reference value in the cavity state M1 is the cavity reference value mv ref1 , and the detection reference value is the clean liquid reference value mv in the clean liquid state M2 ref2 In this embodiment, the light receiving element 140 senses the intensity of the light beam L1, wherein the light receiving element 140 generates voltage signals of different intensities according to the sensed light intensity. In other words, step S210 of this embodiment is to detect the light beam L1 passing through the detection cavity 110 according to the light receiving element 140, wherein when executing step S210, the detection cavity 110 is in the cavity state M1 or the clean liquid state M2 in which the clean liquid CW is passed.

[0085] It should be noted that the cavity state M1 is a state in which external gas (not shown) is contained in the detection cavity 110, and the clean liquid state M2 is a state in which clean liquid CW is contained in the detection cavity 110. The cavity reference value mv ref1 is the intensity of the light beam L1 detected when the light beam L1 passes through the external gas (not shown) in the detection chamber 110 and is received by the light receiving element 140, and the clean liquid reference value mv ref2 is the intensity of the light beam L1 detected when the light beam L1 passes through the clean liquid CW in the detection cavity 110 and is received by the light receiving element 140. For example, in this embodiment, the cavity reference value mv ref1 With clean liquid reference value mv ref2 For example, it is a voltage value, where the cavity reference value mv ref1 For example, it is 440 millivolts, while the reference value of clean liquid is mv ref2 For example, it is 660 millivolts, but not limited to this.

[0086] Please refer to Figure 5A In step S220, the light source 130 is activated to provide the light beam L1. For example, in this embodiment, the light source 130 is powered off for 10 minutes after providing the light beam L1 for optical detection each time, and then the light source 130 is activated to warm up for 10 minutes before providing the light beam L1 again, but this is not limiting.

[0087] Please refer to Figure 5A In step S230, it is determined whether the number of measurements N1 of the detection liquid TW in the detection cavity 110 exceeds a predetermined limit value N2. Here, the predetermined limit value N2 is, for example, 100, but is not limited thereto.

[0088] Please refer to Figure 5AIf the number of measurements N1 does not exceed the predetermined limit N2 as determined in step S230, step S240 is executed. In step S240, the detection liquid TW is drawn into the detection cavity 110 to detect the detection liquid TW. In detail, the step of detecting the detection liquid TW includes injecting the reagent RG into the detection liquid TW in the detection cavity 110, and detecting the intensity of the light beam L1 passing through the detection liquid TW and the reagent RG through the detection cavity 110 to obtain the detection liquid measurement value mv3, wherein the detection liquid measurement value mv3 is, for example, a measurement of the ammonia nitrogen content in the detection liquid TW, but is not limited thereto.

[0089] Please refer to Figure 5A and Figure 5B If the number of measurements N1 exceeds the predetermined limit N2 ( Figure 5A ), then execute step S250( Figure 5B ).

[0090] Please refer to Figure 5B In step S250, it is determined whether the storage amount of the clean liquid CW is sufficient. For example, in this embodiment, when the optical liquid detection is performed outdoors, the storage amount of the clean liquid CW cannot be ensured, so it is determined that the storage amount of the clean liquid CW is insufficient. When the optical liquid detection is performed indoors, if it can be ensured that the storage amount of the clean liquid CW indoors is sufficient, it is determined that the storage amount of the clean liquid CW is sufficient, but the present invention is not limited thereto.

[0091] Please refer to Figure 5B If the storage volume of the clean liquid CW is insufficient as determined in step S250, step S251 is executed. In step S251, external air (not shown) is drawn into the detection cavity 110 to dry the detection cavity 110. Here, for example, the air motor 120 is used to blow dry the detection cavity 110 for 60 seconds, but the present invention is not limited thereto.

[0092] Please refer to Figure 5B After executing step S251 of blowing the detection cavity 110 dry, step S252 is executed. In step S252, external gas (not shown) is input into the detection cavity 110, and the intensity of the light beam L1 passing through the detection cavity 110 through the external gas (not shown) is detected to obtain a measurement value of the cavity measurement value mv1. It should be noted here that the cavity measurement value mv1 is the intensity of the light beam L1 detected by receiving the light receiving element 140, and the cavity measurement value mv1 is, for example, a voltage value, but is not limited thereto.

[0093] Please refer to Figure 5BIf the storage volume of the clean liquid CW is sufficient as determined in step S250, step S253 is executed. In step S253, the clean liquid CW is input into the detection cavity 110, and the intensity of the light beam L1 passing through the detection cavity 110 through the clean liquid CW is detected to obtain a measurement value of the clean liquid measurement value mv2. It should be noted here that the clean liquid measurement value mv2 is the intensity of the light beam L1 detected by receiving the light receiving element 140, and the clean liquid measurement value mv2 is, for example, a voltage value, but is not limited thereto.

[0094] Please refer to Figure 5B After executing step S252 to obtain the cavity measurement value mv1, step S254 is executed. In step S254, the cavity reference value mv ref1 Whether the absolute value of the error value ER1 between the cavity measurement value mv1 exceeds the critical error value of the cavity critical error value CE1. The error value ER1 can be determined by the following formula (1), and the cavity critical error value CE1 is, for example, 1%, but not limited thereto.

[0095]

[0096] Please refer to Figure 5B After executing step S253 to obtain the clean liquid measurement value mv2, step S255 is executed. In step S255, the clean liquid reference value mv ref2 Whether the absolute value of the error value ER2 between the measured value mv2 of the clean liquid exceeds the critical error value CE2 of the clean liquid. The error value ER2 can be determined by the following formula (2), and the critical error value CE2 of the clean liquid is, for example, 1%, but not limited thereto.

[0097]

[0098] Please refer to Figure 5B After the absolute value of the error value ER1 is determined to be greater than the cavity critical error value CE1 in step S254, or after the absolute value of the error value ER2 is determined to be greater than the clean liquid critical error value CE2 in step S255, step S260 is executed. In step S260, it is determined whether the detection cavity 110 is clean. For example, if the absolute value of the error value ER1 is greater than the cavity critical error value CE1, then Indicates that if the absolute value of the error value ER2 is greater than the critical error value CE2 of the clean liquid, then In one embodiment, the absolute value of the error value ER1 or the absolute value of the error value ER2 is expressed as a percentage (%), but is not limited thereto.

[0099] Please refer to Figure 5BIf it is determined in step S260 that the detection chamber 110 has been cleaned, step S261 is executed. In step S261, a warning is given that the detection chamber 110 is dirty, and the detection chamber 110 is replaced.

[0100] Please refer to Figure 5B If it is determined in step S260 that the detection cavity 110 has not been cleaned, step S262 is executed. In step S262, clean liquid CW and external gas (not shown) are pumped into the detection cavity 110 for cleaning to achieve a self-cleaning effect, thereby reducing the maintenance cost of optical liquid detection by the optical liquid detection device 100. Then, after the detection cavity 110 is cleaned by executing step S262, step S251 or step S253 is re-executed.

[0101] Please refer to Figure 5B After it is determined in step S254 that the absolute value of the error value ER1 is less than the cavity critical error value CE1, or after it is determined in step S255 that the absolute value of the error value ER2 is less than the clean liquid critical error value CE2, step S270 is executed.

[0102] Please refer to Figure 5B In step S270, the intensity of the light beam L1 is adjusted according to the error value to correct the compensation measurement value to the detection reference value, wherein the intensity of the light beam L1 can be adjusted according to the error value ER1 or the error value ER2 to correct the compensation cavity measurement value mv1 to the cavity reference value mv ref1 , or correct and compensate the clean liquid measurement value mv2 to the clean liquid reference value mv ref2 Specifically, the step of adjusting the intensity of the light beam L1 according to the error value ER1 or the error value ER2 includes adjusting the light emission frequency or current value of the light source 130 providing the light beam L1, so as to accurately correct and compensate the cavity measurement value mv1 or the clean liquid measurement value mv2 received and detected by the light receiving element 140 to the corresponding cavity reference value mv ref1 Or clean liquid reference value mv ref2 .

[0103] In this way, the intensity of the light beam L1 is adjusted according to the error value ER1 or the error value ER2, and the cavity measurement value mv1 or the clean liquid measurement value mv2 is corrected and compensated, so that the cavity measurement value mv1 or the clean liquid measurement value mv2 can be stabilized within the preset range (i.e., the cavity reference value mv ref1 Or clean liquid reference value mv ref2 ), a self-optical detection compensation mechanism is achieved, thereby improving the accuracy of subsequent optical liquid measurements (such as measuring the detection liquid TW), and at the same time improving the service life and detection frequency of the optical liquid detection device 100.

[0104] Please refer to Figure 5B In step S270, the compensation cavity measurement value mv1 is corrected to the cavity reference value mv ref1 , or correct and compensate the clean liquid measurement value mv2 to the clean liquid reference value mv ref2 Then, step S280 is executed. In step S280, the number of measurements N1 is reset to zero.

[0105] Please refer to Figure 5A and Figure 5B In step S280, the number of measurements N1 is reset to zero ( Figure 5B ) and then re-execute step S220 ( Figure 5A ).

[0106] In summary, the optical liquid detection device and detection method of the present invention, for example, establishes initial data by controlling the processing unit and using the settings of the light source and the light receiving element, and then determines the degree of dirtiness of the detection cavity, and adjusts the light frequency or current value of the light source providing the light beam according to the degree of dirtiness of the detection cavity to change the intensity of the light beam, that is, to perform light source correction compensation, thereby improving the accuracy of subsequent optical liquid measurements (such as measuring the detection liquid). Furthermore, the optical liquid detection device and detection method of the present invention can also flow clean liquid into the detection cavity and use a pneumatic motor to draw external gas into the detection cavity, and clean the detection cavity by pumping air, so that the optical liquid detection device has a self-optical detection compensation and self-cleaning mechanism, thereby improving the service life and detection frequency of the optical liquid detection device, and at the same time reducing the maintenance cost of the optical liquid detection device.

[0107] 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. An optical liquid detection device, characterized in that: include: The detection cavity has a liquid inlet and an air inlet, wherein one of the clean liquid and the detection liquid flows into the detection cavity through the liquid inlet; A pneumatic motor connected to the air inlet of the detection cavity, wherein the pneumatic motor drives external air to flow into the detection cavity through the air inlet; a light source, disposed in the detection cavity and emitting a light beam passing through the detection cavity; and The light receiving element is disposed in the detection cavity and is used for receiving the light beam passing through the detection cavity.

2. The optical liquid detection device according to claim 1, characterized in that: It also includes an injection module, wherein the detection cavity also has an injection port, the injection module is connected to the injection port of the detection cavity, and the injection module is used to inject reagents into the detection cavity through the injection port.

3. The optical liquid detection device according to claim 2, characterized in that: The injection module includes a reagent storage tank, a propulsion assembly, an injection three-way valve, a first one-way valve and a second one-way valve. The reagent storage tank, the first one-way valve and the injection three-way valve are connected in series in sequence. The propulsion assembly is connected to the injection three-way valve, and the injection three-way valve, the second one-way valve and the injection port are connected in series in sequence.

4. The optical liquid detection device according to claim 3, characterized in that: The propulsion assembly includes a reagent temporary storage tank, a piston and a linear motor. The piston is disposed in the reagent temporary storage tank and connected to the linear motor, and the linear motor drives the piston to move linearly back and forth in the reagent temporary storage tank.

5. The optical liquid detection device according to claim 3, characterized in that: The second one-way valve further includes a valve body and an injection needle, and the injection needle is connected between the valve body and the injection port.

6. The optical liquid detection device according to claim 1, characterized in that: It also includes a cavity three-way valve, wherein the cavity three-way valve is connected between the air inlet of the detection cavity and the pneumatic motor, and the clean liquid or the detection liquid flows out of the detection cavity through the air inlet and the cavity three-way valve.

7. The optical liquid detection device according to claim 1, characterized in that: The invention also comprises at least one motor, wherein the at least one motor is connected to the liquid inlet of the detection chamber, and one of the clean liquid and the detection liquid is drawn into the detection chamber through the at least one motor.

8. The optical liquid detection device according to claim 1, characterized in that: The detection cavity has an exhaust port, and the external gas flows out of the detection cavity through the exhaust port.

9. An optical liquid detection method, characterized in that: include: Detecting a light beam passing through a detection cavity in a hollow state or a clean liquid state, and establishing a detection reference value according to the detected intensity of the light beam; Inputting external gas or clean liquid into the detection cavity, and after the external gas or the clean liquid passes through the detection cavity, detecting the intensity of the light beam to obtain a measurement value; Determining whether an absolute value of an error between the detection reference value and the measurement value exceeds a critical error value; as well as When the absolute value of the error value is less than the critical error value, the intensity of the light beam is adjusted according to the error value to correct and compensate the measured value to be the detection reference value.

10. The optical liquid detection method according to claim 9, characterized in that: The detection reference value is the cavity reference value in the cavity state, the measurement value detected after the external gas is input and passes through the detection cavity is the cavity measurement value, and the critical error value is the cavity critical error value, so as to determine whether the absolute value of the error value between the cavity reference value and the cavity measurement value exceeds the cavity critical error value, and when the absolute value of the error value is less than the cavity critical error value, the intensity of the light beam is adjusted according to the error value to correct and compensate the cavity measurement value to be the cavity reference value.

11. The optical liquid detection method according to claim 9, characterized in that: The detection reference value is the clean liquid reference value in the clean liquid state, the measurement value detected after the clean liquid is input and passes through the detection cavity is the clean liquid measurement value, and the critical error value is the clean liquid critical error value, so as to determine whether the absolute value of the error value between the clean liquid reference value and the clean liquid measurement value exceeds the clean liquid critical error value, and when the absolute value of the error value is less than the clean liquid critical error value, the intensity of the light beam is adjusted according to the error value to correct and compensate the clean liquid measurement value to be the clean liquid reference value.

12. The optical liquid detection method according to claim 9, characterized in that: Also includes: After establishing the detection reference value, determining whether the number of measurements of the detection liquid in the detection cavity exceeds a predetermined limit; If the number of measurements is less than the predetermined limit, the detection liquid is drawn into the detection cavity to detect the detection liquid; as well as If the number of measurements is greater than the predetermined limit, the step of inputting the external gas or the clean liquid into the detection cavity to obtain the measurement value is performed.

13. The optical liquid detection method according to claim 12, characterized in that: The step of testing the test liquid comprises: A reagent is injected into the detection liquid in the detection cavity, and the intensity of the light beam passing through the detection liquid and the reagent through the detection cavity is detected to obtain a detection liquid measurement value.

14. The optical liquid detection method according to claim 12, characterized in that: Also includes: After the measured value is corrected and compensated to be the detection reference value, the number of measurements is reset to zero, and the step of determining whether the number of measurements of the detection liquid in the detection cavity exceeds the predetermined limit is re-executed.

15. The optical liquid detection method according to claim 9, characterized in that: Also includes: After establishing the detection reference value, determining whether the storage amount of the clean liquid is sufficient; If the storage amount of the clean liquid is insufficient, the external gas is input into the detection cavity, and the intensity of the light beam passing through the detection cavity by the external gas is detected to obtain the measurement value as the cavity measurement value; as well as If the storage volume of the clean liquid is sufficient, the clean liquid is input into the detection cavity, and the intensity of the light beam passing through the clean liquid and the detection cavity is detected to obtain the measurement value of the clean liquid.

16. The optical liquid detection method according to claim 9, characterized in that: Also includes: After the absolute value of the error value is greater than the critical error value, determining whether the detection cavity is cleaned; If the detection cavity has been cleaned, a warning is given that the detection cavity is dirty, and the detection cavity is replaced; as well as If the detection cavity has not been cleaned, the clean liquid and the external gas are pumped into the detection cavity for cleaning.

17. The optical liquid detection method according to claim 16, characterized in that: After the detection cavity is cleaned, the step of inputting the external gas or the clean liquid into the detection cavity to obtain the measurement value is performed again.

18. The optical liquid detection method according to claim 9, characterized in that: Also includes: After the detection reference value is established, the light source is activated to provide the light beam.

19. The optical liquid detection method according to claim 9, characterized in that: Also includes: Before inputting the external gas into the detection cavity to obtain the measurement value, the external gas is drawn into the detection cavity to dry the detection cavity.

20. The optical liquid detection method according to claim 9, characterized in that: The step of adjusting the intensity of the light beam according to the error value comprises: The light emission frequency or current value of the light source providing the light beam is adjusted.