Water quality monitor, metering method thereof, storage medium and metering device
By using dual level detectors and status information judgment in the water quality monitor, the problem of misjudgment by traditional water quality monitors under complex operating conditions is solved, and accurate water quality monitoring is achieved under conditions such as high turbidity, high color, high viscosity, high salinity, and bubbles, thereby improving the stability and reliability of the equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG INFORE TECH CO LTD
- Filing Date
- 2026-02-13
- Publication Date
- 2026-05-08
AI Technical Summary
Traditional water quality monitoring instruments cannot accurately determine water quality under complex operating conditions (such as high turbidity, high color, high viscosity, high salinity, and air bubbles), leading to misjudgments and unstable equipment operation.
A dual liquid level detector (a first liquid level detector and a second liquid level detector) is installed on the lower and upper sides of the water quality monitor, respectively. By detecting the water level signal and the change signal, and combining the status information and water level change information, accurate confirmation is made, including the judgment of empty pipe status, waiting to be flushed status and waiting to be drained status, and the error is corrected through flushing and draining operations.
It significantly reduces the sampling and measurement error rate, improves the stability and reliability of water quality monitoring instruments, and ensures accurate monitoring under complex water quality conditions.
Smart Images

Figure CN121994752A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water quality monitoring technology, and in particular to a water quality monitoring instrument, its metering method, storage medium, and metering device. Background Technology
[0002] Currently, water quality monitoring instruments typically utilize the refractive differences between liquids and air using optical sensors (photoelectric switches) to determine whether liquid has been detected and output a signal indicating the presence or absence of liquid. However, in practical applications, the operating conditions of water quality monitoring instruments are relatively complex. When water exhibits high turbidity, high color, high viscosity, high salinity, and is accompanied by bubbles, traditional water quality monitoring instruments cannot accurately determine the current water quality. Furthermore, if there are deposits or bubbles at the optical sensor detection location, or if the water sample is highly turbid, highly colored, or highly viscous, it can lead to erroneous judgments by traditional water quality monitoring instruments, affecting the normal operation of the monitoring equipment. Summary of the Invention
[0003] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the first objective of this invention is to provide a measurement method for a water quality monitor that can accurately monitor water samples under complex operating conditions, thereby improving the reliability of the water quality monitor.
[0004] A second objective of this invention is to provide a computer-readable storage medium.
[0005] The third objective of this invention is to provide a metering device for a water quality monitoring instrument.
[0006] The fourth objective of this invention is to provide a water quality monitoring instrument.
[0007] According to an embodiment of the present invention, a measurement method for a water quality monitor includes: acquiring a first water level signal and a second water level signal of the water quality monitor before the water quality monitor draws liquid; determining the status information of the water quality monitor based on the first water level signal and the second water level signal; acquiring a first water level change signal and a second water level change signal of the water quality monitor during the liquid drawing process; and completing the liquid drawing measurement of the water quality monitor based on the status information, the first water level change information, and the second water level change information.
[0008] According to the measurement method of the water quality monitor according to an embodiment of the present invention, the water quality monitor includes a first liquid level detector and a second liquid level detector, wherein the first liquid level detector is disposed on the lower side of the water quality monitor and is used to detect a first water level signal and a first water level change signal; the second liquid level detector is disposed on the upper side of the water quality monitor and is used to detect a second water level signal and a second water level change signal.
[0009] According to the measurement method of the water quality monitor according to the embodiments of the present invention, the state information of the water quality monitor is determined based on the first water level signal and the second water level signal, including: when both the first water level signal and the second water level signal are within a first preset range, the state information of the water quality monitor is determined to be an empty pipe state; when either the first water level signal or the second water level signal is not within the first preset range, the state information of the water quality monitor is determined to be a flushing state; when neither the first water level signal nor the second water level signal is within the first preset range, the state information of the water quality monitor is determined to be a draining state.
[0010] According to the measurement method of the water quality monitor according to the embodiments of the present invention, the water quality monitor completes the liquid extraction measurement based on state information, first water level change information and second water level change information, including: when the state information is an empty tube state, if it is determined based on the first water level change information and the second water level change information that both the first water level signal and the second water level signal decrease to a second preset range within a first preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is greater than or equal to the water quality threshold; if it is determined based on the first water level change information and the second water level change information that both the first water level signal and the second water level signal decrease to a third preset range within a second preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is less than the water quality threshold, wherein the second preset time period is greater than the first preset time period and the third preset range is greater than the second preset range.
[0011] According to the measurement method of the water quality monitor according to the embodiments of the present invention, the method further includes: when the status information is in the state of waiting to be flushed, controlling the water quality monitor to perform a flushing operation until the status information is updated to the state of empty tube; when the status information is in the state of waiting to be drained, controlling the water quality monitor to perform a drainage operation until the status information is updated to the state of empty tube.
[0012] According to the measurement method of the water quality monitor according to the embodiment of the present invention, the water quality monitor completes the liquid extraction measurement based on status information, first water level change information and second water level change information, including: when the number of times the flushing operation is executed is greater than a preset number and the status information is still in the state of waiting to be flushed, if it is determined from the first water level change information and the second water level change information that the change value and change rate of the first water level signal and the second water level signal within a third preset time period are greater than the preset change value and preset change rate, then it is determined that the water quality monitor has completed the liquid extraction measurement.
[0013] According to the measurement method of the water quality monitor according to an embodiment of the present invention, the preset number of times ranges from 3 to 5.
[0014] According to the measurement method of the water quality monitor provided in the embodiments of the present invention, continuous analog light signal values are collected before liquid extraction to confirm the status information of the water quality monitor, and water level signals are collected in real time during liquid extraction to determine the changes in water level. Based on the status information before liquid extraction and the changes in water level during liquid extraction, the liquid extraction measurement of the water quality monitor is completed. The measurement method of the water quality monitor provided by the present invention can accurately confirm complex water quality conditions, significantly reduce the sampling measurement error rate, and thus effectively improve the stability and reliability of the water quality monitor.
[0015] To achieve the above objectives, a second aspect of the present invention provides a computer-readable storage medium storing a metering program for a water quality monitor. When the metering program for the water quality monitor is executed by a processor, the metering method for the water quality monitor described in the first aspect is implemented.
[0016] According to the computer-readable storage medium provided in the embodiments of the present invention, by executing the measurement method of the water quality monitor, continuous analog light signal values are collected before liquid extraction to confirm the status information of the water quality monitor, and water level signals are collected in real time during liquid extraction to determine the changes in water level. Based on the status information before liquid extraction and the changes in water level during liquid extraction, the liquid extraction measurement of the water quality monitor is completed. The measurement method of the water quality monitor provided by the present invention can accurately confirm complex water quality conditions, significantly reduce the sampling measurement error rate, and thus effectively improve the stability and reliability of the water quality monitor.
[0017] To achieve the above objectives, a third aspect of the present invention provides a metering device for a water quality monitor. The device includes: an acquisition module for acquiring a first water level signal and a second water level signal of the water quality monitor before the water quality monitor draws liquid; a determination module for determining the status information of the water quality monitor based on the first water level signal and the second water level signal; the acquisition module is further used to acquire a first water level change signal and a second water level change signal of the water quality monitor during the liquid drawing process; and the determination module is used to complete the liquid drawing measurement of the water quality monitor based on the status information, the first water level change information, and the second water level change information.
[0018] The metering device of the water quality monitor provided in the embodiments of the present invention collects continuous analog light signal values before liquid extraction to confirm the status information of the water quality monitor, and collects water level signals in real time during liquid extraction to determine the changes in water level. Based on the status information before liquid extraction and the changes in water level during liquid extraction, the liquid extraction metering of the water quality monitor is completed. The metering method of the water quality monitor provided by the present invention can accurately confirm complex water quality conditions, significantly reduce the sampling and metering error rate, and thus effectively improve the stability and reliability of the water quality monitor.
[0019] To achieve the above objectives, a fourth aspect of the present invention provides a water quality monitoring instrument, including the metering device of the water quality monitoring instrument described in the third aspect.
[0020] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0021] Figure 1 A flowchart of the metering method for the water quality monitoring instrument provided in this embodiment of the invention;
[0022] Figure 2 This is a schematic diagram of the structure of a water quality monitoring instrument provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the metering device of the water quality monitoring instrument provided in an embodiment of the present invention.
[0023] Reference numerals in the attached figures: 1-First liquid level detector; 2-Second liquid level detector; 300-Measuring device of water quality monitor; 310-Acquisition module; 320-Determination module. Detailed Implementation
[0024] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0025] The following description, with reference to the accompanying drawings, describes a water quality monitoring instrument, its metering method, storage medium, and metering device according to embodiments of the present invention.
[0026] refer to Figure 1 This is a flowchart of the metering method of the water quality monitoring instrument provided in an embodiment of the present invention.
[0027] Step S101: Before the water quality monitor draws liquid, acquire the first water level signal and the second water level signal of the water quality monitor; Step S102: Determine the status information of the water quality monitor based on the first water level signal and the second water level signal; Step S103: During the liquid extraction process of the water quality monitor, acquire the first water level change signal and the second water level change signal of the water quality monitor; Step S104: The water quality monitor performs liquid extraction measurement based on the status information, the first water level change information, and the second water level change information.
[0028] Specifically, before the water quality monitor initiates its pumping action, a detection device inside the monitor acquires first and second water level signals at the low and high liquid levels. Based on these signals, the current status of the monitor is determined, including empty tube status, flushing status, and liquid awaiting drainage status. Further, during the pumping process, the detection device determines the changes in the low and high liquid level signal values relative to the first and second water level signals before pumping, obtaining first and second water level change signals. Intelligent decision-making is then performed by combining the obtained status information, first and second water level change information, to ensure accurate and reliable pumping measurement by the water quality monitor.
[0029] refer to Figure 2 This is a schematic diagram of the structure of the water quality monitoring instrument provided in an embodiment of the present invention.
[0030] As an optional embodiment, the water quality monitor includes a first liquid level detector 1 and a second liquid level detector 2, wherein the first liquid level detector 1 is located on the lower side of the water quality monitor and is used to detect a first water level signal and a first water level change signal; the second liquid level detector 2 is located on the upper side of the water quality monitor and is used to detect a second water level signal and a second water level change signal.
[0031] Specifically, the water quality monitor includes a first liquid level detector 1 and a second liquid level detector 2. The first liquid level detector 1 is located on the lower side of the water quality monitor and is used to detect the first water level signal before liquid extraction and the first water level change signal during liquid extraction. The second liquid level detector 2 is located on the upper side of the water quality monitor and is used to detect the second water level signal before liquid extraction and the second water level change signal during liquid extraction.
[0032] The liquid level detector includes a transmitter and a receiver. Preferably, the liquid level detector of this invention is an infrared transceiver device. The transmitter emits infrared light, and the receiver (typically a photodiode or phototransistor) receives the infrared light passing through the metering tube and converts it into a continuously changing analog electrical signal. The liquid level detector utilizes the different degrees of refraction, scattering, or absorption that occur when infrared light passes through different media to output different analog electrical signals, thereby achieving precise quantification of water quality.
[0033] As an optional embodiment, determining the status information of the water quality monitor based on the first water level signal and the second water level signal includes: determining the status information of the water quality monitor as an empty pipe state when both the first water level signal and the second water level signal are within a first preset range; determining the status information of the water quality monitor as a state to be flushed when either the first water level signal or the second water level signal is not within the first preset range; and determining the status information of the water quality monitor as a state to be drained when neither the first water level signal nor the second water level signal is within the first preset range.
[0034] Specifically, in the measurement method of the water quality monitor provided in the embodiments of the present invention, when the water quality monitor is in an idle state, that is, when there is no liquid medium in the water quality monitor, the first water level signal and the second water level signal are acquired by the first liquid level detector 1 and the second liquid level detector 2, and the first water level signal and the second water level signal acquired at this time are defined as the reference water level signal. It should be noted that the water level signal acquired by the water quality monitor can be amplified by the control circuit so that the reference water level signal measured when the water level monitor is in an idle state can be between 2500mV and 3000mV.
[0035] Before the water quality monitor draws liquid, if the first and second water level signals acquired by the water quality monitor are within a first preset range, the status information of the water quality monitor can be determined to be an empty tube state, and liquid drawing can be carried out normally. The first preset range is preferably 2000Mv~3000Mv. If either the first or second water level signal acquired by the water quality monitor is not within the first preset range, it indicates that there are bubbles, liquid droplets, or impurities remaining in the water quality monitor. Therefore, the status information of the water quality monitor is determined to be a state to be flushed. If neither the first nor the second water level signal acquired by the water quality monitor is within the first preset range, it indicates that the water quality monitor is in an abnormal state. In this case, interference needs to be eliminated first. Therefore, the status information of the water quality monitor is determined to be a state to be drained.
[0036] As an optional embodiment, the liquid extraction measurement of the water quality monitor is completed based on the status information, the first water level change information, and the second water level change information, including: when the status information is an empty tube state, if it is determined based on the first water level change information and the second water level change information that both the first water level signal and the second water level signal decrease to a second preset range within a first preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is greater than or equal to the water quality threshold; if it is determined based on the first water level change information and the second water level change information that both the first water level signal and the second water level signal decrease to a third preset range within a second preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is less than the water quality threshold, wherein the second preset time period is greater than the first preset time period, and the third preset range is greater than the second preset range.
[0037] Specifically, when the status information is "empty pipe," the water quality monitor starts pumping liquid and acquires the first and second water level changes during the pumping process. If both the first and second water level signals decrease to a second preset range within a first preset time period, and both signals remain stable within this range, it indicates that the water quality monitor has successfully completed the pumping measurement. Furthermore, the water quality information is greater than or equal to the water quality threshold, indicating good water quality. The internal components of the water quality monitor have no impact on the pumping measurement. For example, in a specific embodiment, if the first and second water level signals decrease to below 200mV within one minute and subsequently stabilize at this value, it can be considered that the water quality monitor has successfully pumped liquid, and the water quality is preliminarily judged to be good. The internal components of the water quality monitor do not interfere with the pumping measurement, and no interference compensation is required.
[0038] It should be noted that within the first preset time period, the first water level signal usually drops to the second preset range before the second water level signal. The first preset time period is preferably 1 minute, and the second preset range is preferably less than or equal to 200mV.
[0039] If both the first and second water level signals decrease to a third preset range within a second preset time period, and the values of both signals remain stable within this range, it indicates that the water level monitor can still successfully complete the sampling measurement. At this point, the water quality information is below the water quality threshold, and there are interfering factors in the water within the monitor. Interference compensation is needed to correct the measurement results and ensure the accuracy of the sampling measurement. For example, in a specific embodiment, if the first and second water level signals rapidly decrease to 1000mV and then slowly decrease further until they stabilize within 1000mV (e.g., 600mV), it can be considered that the water quality monitor has successfully completed the sampling measurement, and it can be preliminarily determined that the water quality is poor. Interference exists within the monitor, requiring interference compensation.
[0040] It should be noted that the second preset duration can be a time interval greater than 1 minute and less than 10 minutes, or a time interval greater than 1 minute and less than 5 minutes, etc. The second preset duration can be adjusted according to the actual working conditions. By using a wider time limit, the adaptability of the metering method provided by the present invention to water quality with interference can be effectively improved. The third preset range is preferably less than or equal to 1000mV.
[0041] As an optional embodiment, the method further includes: when the status information is in the state of waiting to be flushed, controlling the water quality monitor to perform a flushing operation until the status information is updated to the state of empty pipe; when the status information is in the state of waiting to be drained, controlling the water quality monitor to perform a drainage operation until the status information is updated to the state of empty pipe.
[0042] Specifically, if either the first or second water level signal acquired by the water quality monitor is outside the first preset range, the water quality monitor is in a state awaiting flushing. Specifically, when the first water level signal is close to the water level reference signal value and the second water level signal is significantly lower than the water level reference signal value, it can be assumed that air bubbles or liquid droplets remain at the high liquid level of the current water level monitor. In this case, the water quality monitor can be controlled to perform a flushing operation, and the first and second water level signals will be acquired again until the second water level signal approaches the water level reference signal, indicating that the water level monitor is currently at a high liquid level. If the bubbles or droplets at the low water level have been eliminated, the status information of the water quality monitor will be updated to an empty tube status. Similarly, if the first water level signal is much lower than the water level reference signal value and the second water level signal is close to the water level reference signal, it can be assumed that there are bubbles or droplets remaining at the low water level of the current water level monitor. The water quality monitor can be controlled to perform a flushing operation and acquire the first water level signal and the second water level signal again until the first water level signal is close to the water level reference signal. This indicates that the bubbles or droplets at the low water level of the water level monitor have been eliminated, and the status information of the water quality monitor will be updated to an empty tube status.
[0043] If neither the first water level signal nor the second water level signal from the water quality monitor is within the first preset range, the water quality monitor is in a state of waiting to be drained. There are interfering factors inside the water quality monitor, so it is necessary to drain the water to preliminarily flush the inside of the water quality monitor to remove the interfering media.
[0044] The measurement method of the water quality detector provided in this embodiment of the invention avoids systematic measurement errors caused by the liquid level detector sampling the medium inside the water quality detector in a contaminated state when there are abnormalities in the first water level signal and the second water level signal.
[0045] As an optional embodiment, the water quality monitor completes the liquid extraction measurement based on the status information, the first water level change information, and the second water level change information, including: when the number of flushing operations is greater than a preset number and the status information is still in the state of waiting to be flushed, if it is determined from the first water level change information and the second water level change information that the change value and change rate of the first water level signal and the second water level signal within a third preset time period are greater than the preset change value and preset change rate, then it is determined that the water quality monitor has completed the liquid extraction measurement.
[0046] Specifically, when the number of flushing operations exceeds the preset number and the water quality monitor's status information still indicates that the water quality monitor is severely dirty, and flushing is no longer sufficient to clean the inside of the water quality monitor. In order to ensure reliable volume measurement under extreme conditions, this invention also proposes a method based on the dynamic characteristics of the signal for judgment: based on the first water level change information and the second water level and change information, the change value and rate of change of the first water level signal and the second water level signal within a third preset time period are determined. If, within the third preset time period, the change value of the first water level signal and the second water level signal are greater than the preset change value and the rate of change of the first water level signal and the second water level signal are greater than the preset rate of change, it is determined that liquid has successfully flowed through the detection position, and the current liquid sampling measurement can be completed. This achieves the ability to overcome the measurement error caused by severe dirt by capturing the signal mutation characteristics caused by whether liquid flows through the detection position without relying on the absolute signal value.
[0047] It should be noted that, in the embodiments of the present invention, the change value of the water level signal needs to be the corresponding absolute value, the preset change value is preferably 500mV, and the preset change rate is preferably 50%.
[0048] As an optional embodiment, the preset number of times ranges from 3 to 5 times.
[0049] Specifically, in this embodiment of the invention, the preset number of rinsing times is preferably 3-5 times. The minimum of 3 rinsing times can effectively avoid premature abandonment of routine cleaning due to momentary interference such as accidental air bubbles or slight wall adhesion, thus ensuring the autonomous recovery capability of the water level monitoring system. The preset maximum of 5 times can prevent the water level monitoring system from falling into an invalid repeated cleaning cycle when there is stubborn dirt or hardware failure inside the water level monitoring instrument, thereby avoiding unnecessary consumption and triggering the further liquid extraction and metering logic judgment mechanism in a timely manner.
[0050] According to the measurement method of the water quality monitor provided in the embodiments of the present invention, continuous analog light signal values are collected before liquid extraction to confirm the status information of the water quality monitor, and water level signals are collected in real time during liquid extraction to determine the changes in water level. Based on the status information before liquid extraction and the changes in water level during liquid extraction, the liquid extraction measurement of the water quality monitor is completed. The measurement method of the water quality monitor provided by the present invention can accurately confirm complex water quality conditions, significantly reduce the sampling measurement error rate, and thus effectively improve the stability and reliability of the water quality monitor.
[0051] Based on the same inventive concept, corresponding to the measurement method of the water quality monitor in any of the above embodiments, the present invention also provides a computer-readable storage medium containing a measurement program for the water quality monitor. When the control program is executed by a processor, it causes the computer to execute the measurement method of the water quality monitor in any of the above embodiments.
[0052] The aforementioned non-transitory computer-readable storage media can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0053] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0054] According to the computer-readable storage medium provided in the embodiments of the present invention, by executing the measurement method of the water quality monitor, continuous analog light signal values are collected before liquid extraction to confirm the status information of the water quality monitor, and water level signals are collected in real time during liquid extraction to determine the changes in water level. Based on the status information before liquid extraction and the changes in water level during liquid extraction, the liquid extraction measurement of the water quality monitor is completed. The measurement method of the water quality monitor provided by the present invention can accurately confirm complex water quality conditions, significantly reduce the sampling measurement error rate, and thus effectively improve the stability and reliability of the water quality monitor.
[0055] refer to Figure 3 This is a schematic diagram of the metering device of the water quality monitor provided in an embodiment of the present invention. The metering device of the water quality monitor includes an acquisition module and a determination module.
[0056] The acquisition module is used to acquire the first water level signal and the second water level signal of the water quality monitor before the water quality monitor draws liquid; the determination module is used to determine the status information of the water quality monitor based on the first water level signal and the second water level signal; the acquisition module is also used to acquire the first water level change signal and the second water level change signal of the water quality monitor during the liquid drawing process; the determination module is also used to complete the liquid drawing measurement of the water quality monitor based on the status information, the first water level change information and the second water level change information.
[0057] In some embodiments, the water quality monitor includes a first liquid level detector and a second liquid level detector, wherein the first liquid level detector is disposed on the lower side of the water quality monitor and is used to detect a first water level signal and a first water level change signal; the second liquid level detector is disposed on the upper side of the water quality monitor and is used to detect a second water level signal and a second water level change signal.
[0058] In some embodiments, the status information of the water quality monitor is determined based on the first water level signal and the second water level signal. The determining module is further configured to: determine the status information of the water quality monitor as an empty pipe state when both the first water level signal and the second water level signal are within a first preset range; determine the status information of the water quality monitor as a state to be flushed when either the first water level signal or the second water level signal is not within the first preset range; and determine the status information of the water quality monitor as a state to be drained when neither the first water level signal nor the second water level signal is within the first preset range.
[0059] In some embodiments, the water quality monitor completes the liquid extraction measurement based on the status information, the first water level change information, and the second water level change information. The determining module is further configured to: when the status information is an empty tube state, if it is determined based on the first water level change information and the second water level change information that both the first water level signal and the second water level signal decrease to a second preset range within a first preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is greater than or equal to the water quality threshold; if it is determined based on the first water level change information and the second water level change information that both the first water level signal and the second water level signal decrease to a third preset range within a second preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is less than the water quality threshold, wherein the second preset time period is greater than the first preset time period, and the third preset range is greater than the second preset range.
[0060] In some embodiments, when the status information is "to be flushed", the water quality monitor is controlled to perform a flushing operation until the status information is updated to "empty pipe"; when the status information is "to be drained", the water quality monitor is controlled to perform a drainage operation until the status information is updated to "empty pipe".
[0061] In some embodiments, the water quality monitor completes the liquid extraction measurement based on the status information, the first water level change information, and the second water level change information. The determining module is further configured to: when the number of times the flushing operation is executed is greater than a preset number and the status information is still in the state of waiting to be flushed, if the change value and change rate of the first water level signal and the second water level signal within a third preset time period are determined to be greater than the preset change value and preset change rate based on the first water level change information and the second water level change information, then determine that the water quality monitor has completed the liquid extraction measurement.
[0062] In some embodiments, the preset number of times ranges from 3 to 5 times.
[0063] The metering device of the water quality monitor provided in the embodiments of the present invention collects continuous analog light signal values before liquid extraction to confirm the status information of the water quality monitor, and collects water level signals in real time during liquid extraction to determine the changes in water level. Based on the status information before liquid extraction and the changes in water level during liquid extraction, the liquid extraction metering of the water quality monitor is completed. The metering method of the water quality monitor provided by the present invention can accurately confirm complex water quality conditions, significantly reduce the sampling and metering error rate, and thus effectively improve the stability and reliability of the water quality monitor.
[0064] Based on the same inventive concept, corresponding to the metering method of the water quality monitor in any of the above embodiments, the present invention also proposes a water quality monitor, which includes the metering device of the water quality monitor described above. The metering device of the water quality monitor is used to control the water quality monitor, and the water quality monitor has the beneficial effects corresponding to the metering device of the water quality monitor, which will not be elaborated here.
[0065] Furthermore, the other components and functions of the water quality monitoring instrument in the embodiments of the present invention are known to those skilled in the art, and will not be described in detail here to reduce redundancy.
[0066] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0067] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0068] Furthermore, the terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying relative importance, or implicitly specifying the number of technical features indicated in this embodiment. Therefore, features defined with terms such as "first" and "second" in the embodiments of this invention can explicitly or implicitly indicate that the embodiment includes at least one of those features. In the description of this invention, the word "multiple" means at least two or more, such as two, three, four, etc., unless otherwise explicitly specified in the embodiments.
[0069] In this invention, unless otherwise explicitly specified or limited in the embodiments, the terms "installation," "connection," "joining," and "fixing" appearing in the embodiments should be interpreted broadly. For example, a connection can be a fixed connection, a detachable connection, or an integral part; it can also be a mechanical connection, an electrical connection, etc. Of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components, or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific implementation.
[0070] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A measurement method for a water quality monitoring instrument, characterized in that, The method includes: Before the water quality monitor draws liquid, the first water level signal and the second water level signal of the water quality monitor are acquired. The status information of the water quality monitor is determined based on the first water level signal and the second water level signal; During the liquid extraction process of the water quality monitor, the first water level change signal and the second water level change signal of the water quality monitor are acquired; The water quality monitor completes the liquid extraction measurement based on the status information, the first water level change information, and the second water level change information.
2. The measurement method of the water quality monitoring instrument according to claim 1, characterized in that, The water quality monitor includes a first liquid level detector and a second liquid level detector. The first liquid level detector is located on the lower side of the water quality monitor and is used to detect the first water level signal and the first water level change signal. The second liquid level detector is located on the upper side of the water quality monitor and is used to detect the second water level signal and the second water level change signal.
3. The measurement method of the water quality monitoring instrument according to claim 2, characterized in that, Determining the status information of the water quality monitor based on the first water level signal and the second water level signal includes: When both the first water level signal and the second water level signal are within the first preset range, the status information of the water quality monitor is determined to be an empty pipe state; If either the first water level signal or the second water level signal is not within the first preset range, the status information of the water quality monitor is determined to be in a state of needing to be flushed. When neither the first water level signal nor the second water level signal is within the first preset range, the status information of the water quality monitor is determined to be in a state of pending drainage.
4. The measurement method of the water quality monitoring instrument according to claim 3, characterized in that, The water quality monitoring instrument completes the liquid extraction measurement based on the status information, the first water level change information, and the second water level change information, including: When the status information is the empty pipe state, if it is determined from the first water level change information and the second water level change information that both the first water level signal and the second water level signal have dropped to the second preset range within the first preset time period, then it is determined that the water quality monitor has completed the liquid pumping measurement and the water quality information is greater than or equal to the water quality threshold. If, based on the first water level change information and the second water level change information, it is determined that both the first water level signal and the second water level signal decrease to a third preset range within a second preset time period, then it is determined that the water quality monitor has completed the liquid extraction measurement and the water quality information is less than the water quality threshold. In this case, the second preset time period is longer than the first preset time period, and the third preset range is longer than the second preset range.
5. The measurement method of the water quality monitoring instrument according to claim 3, characterized in that, The method further includes: When the status information is the state to be flushed, the water quality monitor is controlled to perform a flushing operation until the status information is updated to the empty pipe state; When the status information is the state of liquid to be drained, the water quality monitor is controlled to perform a drainage operation until the status information is updated to the state of empty pipe.
6. The measurement method of the water quality monitoring instrument according to claim 5, characterized in that, The water quality monitoring instrument completes the liquid extraction measurement based on the status information, the first water level change information, and the second water level change information, including: When the number of times the rinsing operation is performed is greater than the preset number and the status information is still the state to be rinsed, if it is determined from the first water level change information and the second water level change information that the change value and change rate of the first water level signal and the second water level signal within the third preset time period are greater than the preset change value and preset change rate, then it is determined that the water quality monitor has completed the liquid extraction measurement.
7. The measurement method of the water quality monitoring instrument according to claim 6, characterized in that, The preset number of times ranges from 3 to 5 times.
8. A computer-readable storage medium, characterized in that, It stores the measurement program of the water quality monitor, and when the measurement program of the water quality monitor is executed by the processor, the measurement method of the water quality monitor as described in any one of claims 1-7 is implemented.
9. A metering device for a water quality monitoring instrument, characterized in that, The device includes: The acquisition module is used to acquire the first water level signal and the second water level signal of the water quality monitor before the water quality monitor draws liquid; The determination module is used to determine the status information of the water quality monitor based on the first water level signal and the second water level signal; The acquisition module is also used to acquire the first water level change signal and the second water level change signal of the water quality monitor during the liquid extraction process of the water quality monitor; The determination module is used to complete the liquid extraction measurement of the water quality monitor based on the status information, the first water level change information, and the second water level change information.
10. A water quality monitoring instrument, characterized in that, The metering device includes the water quality monitoring instrument as described in claim 9.