CN114486801A - Water quality detection method, equipment and storage medium - Google Patents

Water quality detection method, equipment and storage medium Download PDF

Info

Publication number
CN114486801A
CN114486801A CN202210041092.2A CN202210041092A CN114486801A CN 114486801 A CN114486801 A CN 114486801A CN 202210041092 A CN202210041092 A CN 202210041092A CN 114486801 A CN114486801 A CN 114486801A
Authority
CN
China
Prior art keywords
water quality
optical sensor
information
target optical
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210041092.2A
Other languages
Chinese (zh)
Inventor
黄翊峰
林晓龙
黄兢诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunjing Intelligence Technology Dongguan Co Ltd
Yunjing Intelligent Shenzhen Co Ltd
Original Assignee
Yunjing Intelligence Technology Dongguan Co Ltd
Yunjing Intelligent Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yunjing Intelligence Technology Dongguan Co Ltd, Yunjing Intelligent Shenzhen Co Ltd filed Critical Yunjing Intelligence Technology Dongguan Co Ltd
Priority to CN202210041092.2A priority Critical patent/CN114486801A/en
Publication of CN114486801A publication Critical patent/CN114486801A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/3577Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light for analysing liquids, e.g. polluted water
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/251Colorimeters; Construction thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/02Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
    • G01N27/04Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance
    • G01N27/06Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance of a liquid

Landscapes

  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The invention discloses a water quality detection method, equipment and a storage medium, and belongs to the technical field of water quality detection. The invention is used for water quality detection equipment, and the water quality detection equipment comprises at least two optical sensors. The method comprises the following steps: determining a target optical sensor from the at least two optical sensors; controlling a target optical sensor to acquire water quality information to obtain detection data; determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors; updating the target optical sensor based on the second target optical sensor, returning to execute the control target optical sensor to acquire water quality information to obtain detection data, and acquiring at least two detection data until all the required optical sensors acquire the water quality information; and obtaining a water quality detection result based on the at least two detection data. The invention can avoid the phenomenon of crosstalk among a plurality of optical sensors.

Description

Water quality detection method, equipment and storage medium
Technical Field
The invention relates to the technical field of water quality detection, in particular to a water quality detection method, water quality detection equipment and a storage medium.
Background
In the related art, the sewage quality detection technology may detect the water quality information of the sewage by using an optical sensor such as a visible light detection sensor, an infrared detection sensor, and the like.
However, when various optical sensors are used to detect the water quality information of the sewage, the various optical sensors may generate a crosstalk phenomenon, which causes deviation of water quality detection data.
Disclosure of Invention
The invention mainly aims to provide a water quality detection method, equipment and a storage medium, and aims to solve the problem of crosstalk phenomenon when various optical sensors detect water quality information of sewage in the prior art.
In order to achieve the above object, in a first aspect, the present invention provides a water quality detecting method for a water quality detecting apparatus, the water quality detecting apparatus including at least two optical sensors;
the method comprises the following steps:
determining a target optical sensor from at least two of the optical sensors;
controlling the target optical sensor to acquire water quality information to obtain detection data;
determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors;
updating the target optical sensor based on the second target optical sensor, and returning to execute control of the target optical sensor to acquire water quality information to obtain detection data until the required optical sensors acquire the water quality information to obtain at least two detection data;
and obtaining a water quality detection result based on at least two detection data.
In an embodiment, the updating the target optical sensor based on the second target optical sensor and returning to control the target optical sensor to collect the water quality information to obtain the detection data includes:
and updating the target optical sensor based on the second target optical sensor, and returning to execute and control the target optical sensor to acquire water quality information after a preset time interval to obtain detection data.
In one embodiment, the determining the target optical sensor from the at least two optical sensors includes:
determining a target optical sensor from the at least two optical sensors according to a preset detection sequence;
said determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors comprises:
a second target optical sensor is determined from the remaining optical sensors of the at least two optical sensors according to a preset detection sequence.
In one embodiment, the at least two optical sensors include a first optical sensor and a second optical sensor numbered according to a preset detection sequence;
the method comprises the steps of determining a target optical sensor from at least two optical sensors, including;
determining the first optical sensor as a target optical sensor;
said determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors comprises:
determining the second optical sensor as a second target optical sensor.
In one embodiment, the first optical sensor is an infrared sensor;
when the infrared sensor confirms to be target optical sensor, control target optical sensor gathers quality of water information, obtains the detected data, includes:
and controlling the infrared sensor to acquire water quality information to obtain turbidity information.
In one embodiment, the second optical sensor is a visible light sensor;
when the visible light sensor is determined to be the target optical sensor, the control of the target optical sensor to acquire water quality information to obtain detection data comprises the following steps:
and controlling the visible light sensor to collect water quality information to obtain chromaticity information.
In an embodiment, the controlling the visible light sensor to collect water quality information to obtain chrominance information includes:
controlling the visible light sensor to collect water quality information to obtain a visible light output value;
and obtaining chromaticity information according to the visible light output value and the turbidity information.
In one embodiment, the water quality detection apparatus comprises a total dissolved solid matter detection module;
before obtaining a water quality detection result based on at least two detection data, the method further comprises:
controlling the total soluble solid matter detection module to collect water quality information to obtain water conductivity information;
based on at least two detection data, a water quality detection result is obtained, and the method comprises the following steps:
and obtaining a water quality detection result according to the at least two detection data and the water conductivity information.
In a second aspect, the present invention also provides a water quality detection apparatus, comprising:
at least two optical sensors; and
the water quality detection system comprises a memory, a processor and a water quality detection program which is stored on the memory and can be run on the processor, wherein the water quality detection program is configured to realize the water quality detection method.
In a third aspect, the present invention also provides a computer-readable storage medium, on which a water quality detection program is stored, which when executed by a processor implements the water quality detection method as described above.
The invention provides a water quality detection method, which comprises the steps of determining a target optical sensor from at least two optical sensors; controlling the target optical sensor to acquire water quality information to obtain detection data; determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors; and updating the target optical sensor based on the second target optical sensor, and returning to execute control to acquire the water quality information by the target optical sensor to obtain detection data, so that at least two optical sensors in the water quality detection equipment alternately detect, the phenomenon of crosstalk between the at least two optical sensors is avoided, and the accuracy of water quality detection is improved.
Drawings
FIG. 1 is a schematic structural diagram of a detecting apparatus according to the present invention;
FIG. 2 is a schematic flow chart of a water quality detecting method according to a first embodiment of the present invention;
FIG. 3 is a schematic flow chart of a water quality detecting method according to a second embodiment of the present invention;
FIG. 4 is a schematic flow chart of a water quality detecting method according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the related art, a water quality detecting apparatus may be installed on a sewage pipe to detect the quality of sewage. For example, the water quality detecting apparatus may include a turbidity sensor, a colorimetric sensor, and the like. The turbidity sensor can detect the turbidity information of the sewage through infrared light, and the chromaticity sensor can detect the chromaticity information of the sewage through visible light. The infrared receiving diode in the turbidity sensor has a wide receiving spectrum, includes a portion of visible light, and is therefore sensitive to this portion of visible light, while the visible receiving diode in the colorimetric sensor has a receiving spectrum that includes a portion of infrared light, and is therefore sensitive to this portion of infrared light. I.e., the turbidity sensor and the colorimetric sensor, may have a light crosstalk phenomenon. Therefore, when the water quality detecting apparatus includes a plurality of optical sensors, and the wavelengths of the light beams of the plurality of optical sensors are partially overlapped, the plurality of optical sensors simultaneously measure the water quality, a light crosstalk phenomenon occurs, resulting in inaccurate detection results.
Therefore, the invention provides a water quality detection method, which detects by alternately controlling at least two optical sensors, and controls one optical sensor to start and execute acquisition action after the other optical sensor acquires information, thereby avoiding the occurrence of optical crosstalk and improving the detection accuracy.
The inventive concept of the present application is further illustrated below with reference to some specific embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a water quality detection device in a hardware operating environment according to an embodiment of the present application.
The water quality detection device can comprise a sewage pipe for the circulation of sewage to be detected. A plurality of mounting positions can be arranged on the peripheral side wall of the sewage pipe, and each mounting position is provided with an optical sensor. The generating pipe and the receiving pipe of the optical sensor face to the opposite side wall of the sewage pipe. So that the receiving tube can receive the light beam emitted by the generating tube. The plurality of optical sensors are arranged offset from each other, e.g. in the circumferential direction of the sewer pipe, and the plurality of optical sensors are spaced apart from each other, e.g. at 90 ° offset, to avoid that the light beams emitted by the optical sensors are erroneously received.
As shown in fig. 1, the water quality detecting apparatus may further include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the water quality detection apparatus and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a water quality detection program.
In the playback terminal shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for performing data interaction with a user and outputting a detection result; the processor 1001 and the memory 1005 of the water quality detection device of the present invention may be provided in the water quality detection device, and the water quality detection device calls the water quality detection program stored in the memory 1005 through the processor 1001 and executes the water quality detection program provided in the embodiment of the present application.
Based on the above hardware structure but not limited to the above hardware structure, a first embodiment of the water quality detection method of the present application is provided. Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the water quality detection method.
In this embodiment, the method includes the steps of:
step S101, a target optical sensor is determined from at least two optical sensors.
In this embodiment, the main execution body of the water quality detection method is a processor of the water quality detection device. The water quality detection device comprises at least two optical sensors. The plurality of optical sensors are arranged offset from each other, e.g. in the circumferential direction of the sewer pipe, and the plurality of optical sensors are spaced apart from each other, e.g. at 90 ° offset, to avoid that the light beams emitted by the optical sensors are erroneously received. Typically, there is at least partial overlap of the wavelength ranges of the light beams of the plurality of optical sensors. That is, the light beam receiver of any optical sensor may still receive the light beam emitted by another optical sensor, thereby affecting the detection result of a single optical sensor.
Wherein, each water quality detection task may require a plurality of optical sensors to reflect water quality information from different dimensional characteristics, such as two dimensions of turbidity and chromaticity. Therefore, it is necessary to detect water quality information using at least two optical sensors that reflect different dimensional characteristics. It is worth mentioning that the different dimensional features can also be optical sensors of the same dimensional class with different precisions.
It should be noted that, in each water quality detection task, the at least two optical sensors may be all the optical sensors configured in the water quality detection device, or may be part of the optical sensors required in the current water quality detection task. For example, the water quality detection device is configured with 4 optical sensors, the four optical sensors respectively reflect the water quality information from the first dimension characteristic, the second dimension characteristic, the third dimension characteristic and the fourth dimension characteristic, and if the water quality detection task needs to reflect the water quality information from the 4 dimensions, the target sensor of the current round is determined from the 4 optical sensors. If the water quality detection task only needs to reflect the water quality information from 3 dimensions, the target sensor of the current round is determined from 3 optical sensors corresponding to the 3 dimensions.
Further, the water quality detection apparatus may select a target optical sensor from the at least two optical sensors in response to an external instruction, such as a detection instruction input by a user.
Or the target optical sensor can be determined from the at least two optical sensors when a preset condition is met in response to a preset instruction set in the inside. For example, as an option of this embodiment, the water quality detection device is equipped with a timing detection strategy, and detects water quality at intervals of 30 minutes, and selects a target optical sensor from at least two optical sensors. Or, as another option of this embodiment, the water quality detection device is built with a response detection strategy, and when it is detected that the cleaning is finished and the water discharge operation is executed, the water quality detection device detects the water quality and selects the target optical sensor from the at least two optical sensors.
And S102, controlling the target optical sensor to acquire water quality information to obtain detection data.
After any optical sensor is determined to be a target sensor, the water quality detection equipment controls the target sensor to collect water quality information, namely controls a light emitting diode of the target sensor to emit detection light beams to sewage, controls a light receiving diode of the target sensor to receive reflected light beam information, further collects water quality information, controls the target optical sensor to close the light emitting diode, and reports information obtained by the target sensor in the period as detection data. At this time, the current round of the collection operation is finished.
It is understood that, in general, the on-to-off time of the light emitting diode of the optical sensor for infrared light, visible light, etc. is about 15 us. Namely 15us, the detection data can be acquired.
Step S103, determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors.
As before, each water quality testing task may require multiple optical sensors to reflect water quality information from different dimensional characteristics, such as from turbidity and chromaticity two dimensions. Therefore, after the detection data of the corresponding dimension is acquired through the previous acquisition action, the acquisition action of the next round and the other dimension can be started. I.e. the second target optical sensor is determined from the remaining optical sensors of the at least two optical sensors.
For example, if the water quality detection task needs to reflect the water quality information from 4 dimensions, and the previous round has collected the detection information from one of the dimensions, the second target optical sensor for performing the next round of collection is determined from the optical sensors corresponding to the remaining 3 dimensions.
And step S104, updating the target optical sensor based on the second target optical sensor, and returning to execute the control step S102 until the required optical sensors acquire water quality information to obtain at least two detection data.
Specifically, the newly selected second target optical sensor is used as a target sensor, that is, an optical sensor that performs the current round of acquisition, and the optical sensor of the current round is controlled to acquire detection data of the corresponding dimension. At this time, the current round of the collection operation is finished. And (5) circularly executing the steps S102 to S104 until all the required optical sensors acquire water quality information to obtain detection data of the required dimensional characteristics.
If the water quality detection task needs to reflect the water quality information from 4 dimensions, the detection data of the required 4-dimensional characteristics can be obtained after 4 rounds of determination target sensors and control target sensors to perform acquisition actions.
And S105, obtaining a water quality detection result based on at least two detection data.
Based on the obtained at least two required detection data, the water quality detection equipment can output a corresponding water quality detection result.
In the embodiment, the target optical sensor is determined from at least two optical sensors; controlling a target optical sensor to acquire water quality information to obtain detection data; determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors; and updating the target optical sensor based on the second target optical sensor, and returning to execute the control of the target optical sensor to acquire water quality information to obtain detection data, so that at least two optical sensors in the water quality detection equipment alternately perform detection, that is, at most only one optical sensor executes acquisition action and the rest optical sensors are closed at any moment, thereby avoiding the occurrence of crosstalk between the at least two optical sensors and further improving the accuracy of water quality detection. Therefore, even if the wavelength ranges of the light beams of the plurality of optical sensors are overlapped, the light beam receiver of any optical sensor cannot receive the light beam emitted by the other optical sensor, and the detection result of any optical sensor is not influenced.
As an embodiment, step S104 specifically includes:
and updating the target optical sensor based on the second target optical sensor, and returning to execute the control of the target optical sensor to acquire the water quality information after a preset time interval to obtain detection data.
Specifically, the detection beam emitted by the optical sensor propagates inside the sewage pipe, and due to the closed space inside the sewage pipe, the detection beam may be diffused to both sides along the axial direction of the sewage pipe. At this time, if the next round of optical sensor immediately starts to perform the collecting action, i.e. turns on the light emitting diode and turns on the light receiving diode, at this time, the light receiving diode of the optical sensor performing the collecting action in the next round may be combined with the detection light beam emitted by the optical sensor performing the collecting action in the previous round, i.e. the optical crosstalk phenomenon still occurs.
In order to avoid the above phenomenon, the second round of the collecting operation may be performed after delaying a preset time, that is, the next round of step S103 may be performed after delaying. The acquisition action is carried out at intervals through time delay, and at the moment, the detection light beam of the previous round is transmitted for a longer distance in the sewage pipe along the axial direction of the sewage pipe, so that the probability that the detection light beam of the previous round is received by the optical sensor of the current round is reduced, and the problem of optical crosstalk is eliminated or avoided.
For example, if the water quality detection task needs to reflect the water quality information from 4 dimensions, and the previous round has collected the detection information from one of the dimensions, the second target optical sensor for performing the next round of collection is determined from the optical sensors corresponding to the remaining 3 dimensions. And the second target optical sensor is used as a new target sensor, and then the light emitting diode and the receiving diode of the target sensor are controlled to start to work after the time delay of 15 us.
In this embodiment, the light sensor is controlled to perform the collecting action by the interval preset duration, so that the optical crosstalk phenomenon can be further avoided.
Based on the above embodiments, a second embodiment of the water quality detection method of the present invention is provided, referring to fig. 3, and fig. 3 is a schematic flow chart of the second embodiment of the water quality detection method of the present invention.
In this embodiment, the method includes the steps of:
step S201, determining a target optical sensor from the at least two optical sensors according to a preset detection sequence.
And S202, controlling the target optical sensor to acquire water quality information to obtain detection data.
Step S203, determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors according to a preset detection sequence.
And S204, updating the target optical sensor based on the second target optical sensor, and returning to execute the control step S202 until the required optical sensors acquire water quality information to obtain two detection data.
And S205, obtaining a water quality detection result based on at least two detection data.
In this embodiment, the plurality of optical sensors may be sorted in a certain order, and the target optical sensor may be determined in sequence according to the sorting. It can be understood that, since the calculation of the plurality of dimensional features may require the calculation of parameters of corresponding dimensional features, the preset detection order of the embodiment may be obtained according to the calculation relationship between the dimensional features. If the detected value of the second dimension characteristic is dependent on the detected value of the first dimension characteristic, the detected value of the third dimension characteristic is dependent on the detected value of the second dimension characteristic. At this time, the optical sensor corresponding to the first dimension feature may be arranged as a first optical sensor, and the optical sensor corresponding to the second dimension feature may be arranged as a second optical sensor. When the second optical sensor executes the collection action, the detection data of the second optical sensor is calculated according to the collection value of the first optical sensor
That is, in the present embodiment, the first optical sensor may be a first-order optical sensor, and the second optical sensor may be a second-order optical sensor. Thus, the first optical sensor may be determined as the target optical sensor, and the acquisition operation is started in the first round, and then the second optical sensor may be determined as the target optical sensor, and the acquisition operation is started in the second round.
In this case, step S201 specifically includes: determining the first optical sensor as a target optical sensor;
step S203 specifically includes: the second optical sensor is determined as a second target optical sensor.
As an option of this embodiment, the first optical sensor is an infrared sensor. The infrared sensor can be used for detecting the turbidity information of the sewage. When infrared sensor confirms to be target optical sensor, control target optical sensor gathers quality of water information, obtains the measured data, includes:
and controlling the infrared sensor to acquire water quality information to obtain turbidity information.
At the moment, the water quality detection equipment can obtain the turbidity information of the sewage through the detection of the infrared sensor.
Specifically, the turbidity information is the infrared light blocking rate, and can represent the content of dust particles in the sewage. For a sweeping robot, for example, the turbidity information reflects the amount of dust on the floor.
Further, the second optical sensor is a visible light sensor;
when the visible light sensor confirms to be target optical sensor, control target optical sensor gathers water quality information, obtains the testing data, includes:
and controlling the visible light sensor to collect water quality information to obtain chromaticity information.
Specifically, the chromaticity information is the visible light obstruction rate, and can represent the content of dyeing substances in the sewage. For example, in the case of a sweeping robot, the chromaticity information reflects information on whether ink, soy sauce, or pigment is scattered on the floor.
It can be understood that the information of the turbidity of the sewage can affect the transmission of the visible light, so the information of the chromaticity detected by the visible light sensor needs to be coupled with the information of the turbidity of the sewage.
That is, the step of controlling the visible light sensor to collect the water quality information to obtain the chromaticity information includes:
step A10, controlling a visible light sensor to collect water quality information to obtain a visible light output value;
and A20, obtaining chromaticity information according to the visible light output value and the turbidity information.
Specifically, the chromaticity information can be obtained according to the visible light output value, the turbidity information and the first formula;
the first formula is:
C=T+n·k;
wherein C is chrominance information, T is a visible light output value, n is turbidity information, and k is a preset coupling value of chrominance turbidity. Wherein the k value can be obtained by calibration. The calibration method comprises the steps of adding equal amounts of pigments into liquid with turbidity of 0 and turbidity of n, and reading the output value of the visible light sensor. In this case, the chroma C is the same, so: t is0=T1And k is the ratio of the difference of the output values of the two visible light sensors to the turbidity n.
Based on the above embodiments, a third embodiment of the water quality detection method of the present application is provided. Referring to fig. 4, fig. 4 is a schematic flow chart of a water quality detection method according to a third embodiment of the present application.
In this embodiment, the water quality detection device includes a total dissolved solid matter detection TDS module.
Specifically, the TDS module can be TDS detection electrode, and TDS detection electrode also sets up on the inside wall of sewage pipe, and the sewage contact. The TDS detection electrode can be judged by measuring conductivity. By applying a voltage between two or more electrodes. Positively charged ions (e.g., sodium, calcium, magnesium, hydrogen, etc.) will move toward the negatively charged electrode, and negatively charged ions (e.g., chloride, sulfate, bicarbonate, etc.) will move toward the positively charged electrode. The movement of the ions forms a current, the system determines the current by detecting the movement of the ions, and the TDS sensor module determines the TDS value water conductivity by measuring the current between the two electrodes.
In this embodiment, the method includes the steps of:
step S301, a target optical sensor is determined from the at least two optical sensors.
And S302, controlling the target optical sensor to acquire water quality information to obtain detection data.
Step S303, a second target optical sensor is determined from the remaining optical sensors of the at least two optical sensors.
And S304, updating the target optical sensor based on the second target optical sensor, and returning to the step S302 of executing control until the required optical sensors acquire water quality information to obtain at least two detection data.
The steps S301 to S304 refer to the above embodiments, and are not described herein again.
And S305, controlling a total soluble solid matter detection module to collect water quality information to obtain water conductivity information.
Specifically, the water conductivity TDS information may characterize the content of solutes in the wastewater. For example, for a sweeping robot, the TDS value reflects the information of beverages, vegetable soup, tea and coffee sprinkled on the ground.
And S306, obtaining a water quality detection result according to the at least two detection data and the water conductivity information.
Turbidity information, chrominance information and TDS value that obtain through the collection of a plurality of various types of sensors can quantitative feedback sewage most of composition content, finally synthesize output water quality testing information. If the water quality detection equipment configured for the sweeping robot can intensively reflect the sewage information generated by the sweeping action, and further reflect the cleaning degree of the bottom plate.
In addition, an embodiment of the present invention further provides a computer storage medium, where the storage medium stores a water quality detection program, and the water quality detection program, when executed by a processor, implements the steps of the water quality detection method described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application. It is determined that, by way of example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It should be noted that the above-described embodiments of the apparatus are merely schematic, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and may also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions may be various, such as analog circuits, digital circuits, or dedicated circuits. However, the implementation of a software program is a more preferable embodiment for the present invention. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, where the computer software product is stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a Read-only memory (ROM), a random-access memory (RAM), a magnetic disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A water quality detection method is characterized by being used for water quality detection equipment, wherein the water quality detection equipment comprises at least two optical sensors;
the method comprises the following steps:
determining a target optical sensor from at least two of the optical sensors;
controlling the target optical sensor to acquire water quality information to obtain detection data;
determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors;
updating the target optical sensor based on the second target optical sensor, and returning to execute to control the target optical sensor to acquire water quality information to obtain detection data until the optical sensors are required to acquire the water quality information to obtain at least two detection data;
and obtaining a water quality detection result based on at least two detection data.
2. The water quality detection method according to claim 1, wherein the updating the target optical sensor based on the second target optical sensor and returning to control the target optical sensor to collect the water quality information to obtain the detection data comprises:
and updating the target optical sensor based on the second target optical sensor, and returning to execute and control the target optical sensor to acquire water quality information after a preset time interval to obtain detection data.
3. The water quality detecting method according to claim 1, wherein the determining a target optical sensor from among the at least two optical sensors includes;
determining a target optical sensor from the at least two optical sensors according to a preset detection sequence;
said determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors comprises:
a second target optical sensor is determined from the remaining optical sensors of the at least two optical sensors according to a preset detection sequence.
4. The water quality detection method according to claim 3, wherein the at least two optical sensors include a first optical sensor and a second optical sensor numbered in the preset detection order;
the method comprises the steps of determining a target optical sensor from at least two optical sensors, including;
determining the first optical sensor as a target optical sensor;
said determining a second target optical sensor from the remaining optical sensors of the at least two optical sensors comprises:
determining the second optical sensor as a second target optical sensor.
5. The water quality detection method according to claim 4, wherein the first optical sensor is an infrared sensor;
when the infrared sensor confirms to be target optical sensor, control target optical sensor gathers quality of water information, obtains the detected data, includes:
and controlling the infrared sensor to acquire water quality information to obtain turbidity information.
6. The water quality detection method according to claim 5, wherein the second optical sensor is a visible light sensor;
when the visible light sensor is determined to be the target optical sensor, the control of the target optical sensor to acquire water quality information to obtain detection data comprises the following steps:
and controlling the visible light sensor to collect water quality information to obtain chromaticity information.
7. The water quality detection method according to claim 6, wherein the controlling the visible light sensor to collect water quality information to obtain chromaticity information comprises:
controlling the visible light sensor to collect water quality information to obtain a visible light output value;
and obtaining chromaticity information according to the visible light output value and the turbidity information.
8. The water quality detection method according to any one of claims 1 to 7, wherein the water quality detection apparatus comprises a total dissolved solid matter detection module;
before obtaining a water quality detection result based on at least two detection data, the method further comprises:
controlling the total soluble solid matter detection module to collect water quality information to obtain water conductivity information;
based on at least two detection data, a water quality detection result is obtained, and the method comprises the following steps:
and obtaining a water quality detection result according to the at least two detection data and the water conductivity information.
9. A water quality detecting apparatus, comprising:
at least two optical sensors; and
a memory, a processor and a water quality detection program stored on the memory and operable on the processor, the water quality detection program being configured to implement the water quality detection method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a water quality detection program which, when executed by a processor, implements the water quality detection method according to any one of claims 1 to 7.
CN202210041092.2A 2022-01-13 2022-01-13 Water quality detection method, equipment and storage medium Pending CN114486801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210041092.2A CN114486801A (en) 2022-01-13 2022-01-13 Water quality detection method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210041092.2A CN114486801A (en) 2022-01-13 2022-01-13 Water quality detection method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114486801A true CN114486801A (en) 2022-05-13

Family

ID=81512860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210041092.2A Pending CN114486801A (en) 2022-01-13 2022-01-13 Water quality detection method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114486801A (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050095371A (en) * 2004-03-26 2005-09-29 한국과학기술연구원 Method and system for measurement of water qualities by using optical sensor
CN102661923A (en) * 2012-05-03 2012-09-12 四川碧朗科技有限公司 Complex monitor for automatically monitoring multiple parameters of water on line
CN104596990A (en) * 2015-01-23 2015-05-06 中国农业大学 Two-channel optical fiber method and sensor for measuring turbidity
CN105259129A (en) * 2015-11-12 2016-01-20 浙江微兰环境科技有限公司 Probe type water quality multi-parameter online monitor and monitoring method thereof
CN106644974A (en) * 2016-10-10 2017-05-10 深圳市比特原子科技有限公司 Water quality detection device and water quality detection method
CN107449749A (en) * 2017-09-12 2017-12-08 深圳海科德科技有限公司 Water quality detection equipment and its water quality detection system
CN206892087U (en) * 2017-06-12 2018-01-16 江西泓碧环境科技有限公司 A kind of optics water quality on-line monitoring system based on technology of Internet of things
CN206906239U (en) * 2017-06-05 2018-01-19 武汉三于科技传播有限公司 Water quality detection probe and water quality testing meter
CN108140656A (en) * 2015-08-27 2018-06-08 奥特逻科集团 Wide spectrum optical sensor
CN208043808U (en) * 2018-04-27 2018-11-02 袁媛 Portable water quality prejudges safely instrument
CN208547574U (en) * 2018-08-21 2019-02-26 河北科技师范学院 A kind of correlation optics original position water quality sensor
CN109564290A (en) * 2016-08-08 2019-04-02 微软技术许可有限责任公司 Mixing imaging sensor for the capture of structured light object
CN110082295A (en) * 2018-01-25 2019-08-02 芯视界(北京)科技有限公司 Water quality monitoring system and method
CN110146673A (en) * 2019-05-11 2019-08-20 泰州机电高等职业技术学校(江苏联合职业技术学院泰州机电分院) Remote controlled water quality detection ship and the water quality detection method using it
CN110618244A (en) * 2018-06-20 2019-12-27 芜湖美的厨卫电器制造有限公司 Device and method for detecting water quality, water purification equipment and storage medium
CN111189804A (en) * 2020-03-17 2020-05-22 威海精讯畅通电子科技有限公司 Turbidity detector and detection method
US20210082150A1 (en) * 2019-09-17 2021-03-18 International Business Machines Corporation Chemical detection system for water source
CN113296108A (en) * 2021-05-31 2021-08-24 阿波罗智联(北京)科技有限公司 Roadside sensing equipment and intelligent transportation system
CN113495065A (en) * 2020-04-08 2021-10-12 恩德莱斯和豪瑟尔分析仪表两合公司 Optical chemical sensor and method for correcting measured value

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050095371A (en) * 2004-03-26 2005-09-29 한국과학기술연구원 Method and system for measurement of water qualities by using optical sensor
CN102661923A (en) * 2012-05-03 2012-09-12 四川碧朗科技有限公司 Complex monitor for automatically monitoring multiple parameters of water on line
CN104596990A (en) * 2015-01-23 2015-05-06 中国农业大学 Two-channel optical fiber method and sensor for measuring turbidity
CN108140656A (en) * 2015-08-27 2018-06-08 奥特逻科集团 Wide spectrum optical sensor
CN105259129A (en) * 2015-11-12 2016-01-20 浙江微兰环境科技有限公司 Probe type water quality multi-parameter online monitor and monitoring method thereof
CN109564290A (en) * 2016-08-08 2019-04-02 微软技术许可有限责任公司 Mixing imaging sensor for the capture of structured light object
CN106644974A (en) * 2016-10-10 2017-05-10 深圳市比特原子科技有限公司 Water quality detection device and water quality detection method
CN206906239U (en) * 2017-06-05 2018-01-19 武汉三于科技传播有限公司 Water quality detection probe and water quality testing meter
CN206892087U (en) * 2017-06-12 2018-01-16 江西泓碧环境科技有限公司 A kind of optics water quality on-line monitoring system based on technology of Internet of things
CN107449749A (en) * 2017-09-12 2017-12-08 深圳海科德科技有限公司 Water quality detection equipment and its water quality detection system
CN110082295A (en) * 2018-01-25 2019-08-02 芯视界(北京)科技有限公司 Water quality monitoring system and method
CN208043808U (en) * 2018-04-27 2018-11-02 袁媛 Portable water quality prejudges safely instrument
CN110618244A (en) * 2018-06-20 2019-12-27 芜湖美的厨卫电器制造有限公司 Device and method for detecting water quality, water purification equipment and storage medium
CN208547574U (en) * 2018-08-21 2019-02-26 河北科技师范学院 A kind of correlation optics original position water quality sensor
CN110146673A (en) * 2019-05-11 2019-08-20 泰州机电高等职业技术学校(江苏联合职业技术学院泰州机电分院) Remote controlled water quality detection ship and the water quality detection method using it
US20210082150A1 (en) * 2019-09-17 2021-03-18 International Business Machines Corporation Chemical detection system for water source
CN111189804A (en) * 2020-03-17 2020-05-22 威海精讯畅通电子科技有限公司 Turbidity detector and detection method
CN113495065A (en) * 2020-04-08 2021-10-12 恩德莱斯和豪瑟尔分析仪表两合公司 Optical chemical sensor and method for correcting measured value
CN113296108A (en) * 2021-05-31 2021-08-24 阿波罗智联(北京)科技有限公司 Roadside sensing equipment and intelligent transportation system

Similar Documents

Publication Publication Date Title
Rowlinson et al. Limits on Fast Radio Bursts and other transient sources at 182 MHz using the Murchison Widefield Array
US10281565B2 (en) Distance measuring device and solid-state image sensor used therein
US7623221B2 (en) Apparatus for and method of determining distance
Furusjö et al. The importance of outlier detection and training set selection for reliable environmental QSAR predictions
EP3330739A1 (en) Range imaging device and solid-state imaging device
JP2019504326A (en) Time-of-flight distance measuring apparatus and method for detecting multipath errors
CN109613517A (en) A kind of anti-interference working method of TOF Lidar multimachine
WO2015089031A1 (en) Non-destructive read operations with dynamically growing images
Abbas et al. Outdoor RGB-D SLAM performance in slow mine detection
Vipul et al. Simultaneous quantitative resolution of atorvastatin calcium and fenofibrate in pharmaceutical preparation by using derivative ratio spectrophotometry and chemometric calibrations
US10948596B2 (en) Time-of-flight image sensor with distance determination
US8508656B2 (en) Control of a dynamic image sensor
CN109254291B (en) Doppler power spectrum data fusion method and device of cloud radar
CN105699261B (en) Method for determining turbidity and the turbidity sensor for implementing this method
CN114486801A (en) Water quality detection method, equipment and storage medium
WO2016145481A1 (en) A method of recalibrating a device for assessing concentration of at least one analyte ion in a liquid
US8941827B2 (en) Changed optical path measuring device for component concentration of water and measuring method thereof
CN112817020B (en) GNSS observation data quality control and positioning method based on SVM model
EP3730967B1 (en) Method of generating a time domain echo waveform and electromagnetic radiation echo waveform generation system
US10481282B2 (en) Radiation image capturing apparatus
CN110456271A (en) Detection method, device, equipment and the storage medium of motor hall signal
CN111157115A (en) Underwater Brillouin scattering spectrum acquisition method and device
JP2006522935A (en) Range detection system
Buxser et al. Calculating the probability of detection for inhibitors in enzymatic or binding reactions in high-throughput screening
Rahman et al. Development and validation of kinetic spectrophotometric method for the determination of losartan potassium in pure and commercial tablets

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 unit 02, 2 / F, West Tower, baidu international building, 8 Haitian 1st Road, Binhai community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Yunjing intelligent (Shenzhen) Co.,Ltd.

Applicant after: Yunjing Intelligent Innovation (Shenzhen) Co.,Ltd.

Address before: 518000 unit 02, 2 / F, West Tower, baidu international building, 8 Haitian 1st Road, Binhai community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Yunjing intelligent (Shenzhen) Co.,Ltd.

Applicant before: YUNJING INTELLIGENCE TECHNOLOGY (DONGGUAN) Co.,Ltd.