[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115684039A - Water quality monitoring system and method based on error control - Google Patents

Water quality monitoring system and method based on error control Download PDF

Info

Publication number
CN115684039A
CN115684039A CN202211703951.6A CN202211703951A CN115684039A CN 115684039 A CN115684039 A CN 115684039A CN 202211703951 A CN202211703951 A CN 202211703951A CN 115684039 A CN115684039 A CN 115684039A
Authority
CN
China
Prior art keywords
water quality
water
quality parameter
module
main control
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.)
Granted
Application number
CN202211703951.6A
Other languages
Chinese (zh)
Other versions
CN115684039B (en
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.)
Hunan Institute of Metrology and Test
Original Assignee
Hunan Institute of Metrology and Test
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 Hunan Institute of Metrology and Test filed Critical Hunan Institute of Metrology and Test
Priority to CN202211703951.6A priority Critical patent/CN115684039B/en
Publication of CN115684039A publication Critical patent/CN115684039A/en
Application granted granted Critical
Publication of CN115684039B publication Critical patent/CN115684039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A20/00Water conservation; Efficient water supply; Efficient water use
    • Y02A20/20Controlling water pollution; Waste water treatment

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The invention provides a water quality monitoring system and method based on error control. The system comprises: the CCD module is connected with the main control unit; the sensor module is used for collecting water quality parameter data in the detection box in real time, the CCD module is used for shooting a video image of the water surface in the detection box, the main control unit is mainly used for calculating the water chromaticity based on the video image and estimating the measurement error of the water quality parameter at the current moment in real time based on the relation between the water chromaticity and the water quality parameter, if the error exceeds a set threshold value, the measurement value of the water quality parameter at the current moment is discarded, and the communication module is used for uploading the water quality monitoring data to an upper computer of a monitoring center in real time. According to the invention, the water chroma is measured, the measurement error of the water quality parameter is estimated based on the relation between the water chroma and the water quality parameter, and the measurement value with the measurement error exceeding the set threshold value is discarded, so that the accuracy of monitoring the water quality parameter is improved.

Description

Water quality monitoring system and method based on error control
Technical Field
The invention belongs to the technical field of water quality monitoring, and particularly relates to a water quality monitoring system and method based on error control.
Background
Water is a source of life, a key to production, and an ecological base. However, with the acceleration of the industrialization process, the discharge amount of industrial wastewater is increasing, the water environment which human lives on is increasingly damaged by more pollutants, and the water quality monitoring in the water source area is more important. The water quality monitoring can measure the concentration and the variation trend of a plurality of pollutants in the water body and carry out comprehensive evaluation on the water quality condition. The water quality monitoring range comprises reservoirs, lakes, rivers, underground water, seas, wetlands, various industrial and agricultural commercial drainage and the like. The water quality monitoring can master the sewage discharge condition and the variation trend of a water source area, is important work for reasonably utilizing water resources, and monitoring data and data are the basis for the departments of water conservation, environmental protection and the like to comprehensively carry out environmental management work.
At present, the conventional monitoring parameters which are mature at home and abroad comprise: the pH value PH, the turbidity TUR, the conductivity COND, the dissolved oxygen COD and the water temperature T, the oxidation-reduction potential ORP, the flow rate, the water level and the like. The water quality monitoring generally adopts an automatic water quality analyzer with the functions of automatic range conversion, standard output interface, power-off protection, state self-checking and the like. The sites of the typical automatic water quality monitoring station established today are river provinces, ice-sealed riverways, tidal riverways, lake reservoirs, sandy rivers, gate dam controlled rivers, sewage outlets and the like. Data collected by the monitoring station can be uploaded to an upper computer of the monitoring center through the communication module to be processed in a unified mode. Long-term practice shows that some values and outliers with large errors are often found in the water quality monitoring process, and the abnormal data have large differences with other data or deviate from the range of the normal values to a large extent. If the monitoring process does not control the data with larger errors, the water quality monitoring and evaluating result is adversely affected.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a water quality monitoring system and method based on error control.
In order to achieve the above object, the present invention adopts the following technical solutions.
In a first aspect, the present invention provides a water quality monitoring system based on error control, comprising: the CCD module is connected with the main control unit; the sensor module is used for collecting water quality parameter data in the detection box in real time, the CCD module is used for shooting video images of the water surface in the detection box, the main control unit is mainly used for calculating the water chromaticity based on the video images, measuring errors of the water quality parameters at the current moment are estimated in real time based on the relation between the water chromaticity and the water quality parameters, if the errors exceed a set threshold value, measured values of the water quality parameters at the current moment are discarded, and the communication module is used for uploading water quality monitoring data to an upper computer of a monitoring center in real time.
Further, the sensor module includes: the system comprises N water quality parameter sensors, a one-out-of-multiple analog switch with the input end connected with the output ends of the N water quality parameter sensors respectively, and an A/D converter connected with the output end of the one-out-of-multiple analog switch, wherein the output end of the A/D converter is connected with a main control module.
Further, the N =6,6 water quality parameter sensors are respectively a ph sensor, a turbidity sensor, a conductivity sensor, a dissolved oxygen sensor, a water temperature sensor and a copper ion sensor.
Further, the main control unit calculates the water color degree based on the R, G and B components extracted from the video image by using an image color difference method.
Further, the relation between the water color and the water quality parameter is obtained by the following method:
obtaining M water samples to be detected with different water quality parameters;
respectively measuring the water quality parameters of each water sample to be detected
Figure 978578DEST_PATH_IMAGE001
Degree of hydration
Figure 592093DEST_PATH_IMAGE002
Figure 119590DEST_PATH_IMAGE003
Using least squares to correct data (
Figure 982504DEST_PATH_IMAGE001
Figure 659342DEST_PATH_IMAGE002
) Performing linear fitting to obtain a relation curve of the water chromaticity and the water quality parameters:
Figure 517576DEST_PATH_IMAGE004
in the formula (I), the compound is shown in the specification,
Figure 474031DEST_PATH_IMAGE005
is a parameter value of the water quality,
Figure 778236DEST_PATH_IMAGE006
the water color value is the value of the water color,
Figure 9497DEST_PATH_IMAGE007
Figure 456659DEST_PATH_IMAGE008
is a fitting parameter;
and repeating the steps to obtain a relation curve between each water quality parameter to be monitored and the water chromaticity.
Furthermore, the method for estimating the measurement error of the water quality parameter at the current moment comprises the following steps:
calculating a water quality parameter value corresponding to the water chromaticity measured at the current moment by using a relation curve of the water chromaticity and the water quality parameter;
and calculating the difference between the water quality parameter value and the water quality parameter value measured at the current moment to obtain the measurement error of the water quality parameter at the previous moment.
Furthermore, the system also comprises a control module connected with the main control unit, wherein the control module is used for controlling the opening and closing of a submersible pump connected with the detection box through a pipeline, controlling the on-off of an electromagnetic valve arranged in the pipeline, and controlling the opening and closing and/or the power of a heater arranged in the detection box, so that the temperature of water in the detection box is kept constant.
Furthermore, the system also comprises a human-computer interaction module which is connected with the main control unit and mainly comprises a display screen and control keys.
Furthermore, the system also comprises an acousto-optic alarm module connected with the main control unit, and when the water quality parameter exceeds a set threshold range, acousto-optic alarm is carried out.
In a second aspect, the invention provides a method for monitoring water quality by using the system, which comprises the following steps:
the sensor module collects water quality parameter data in the detection box in real time and transmits the data to the main control unit;
the CCD module shoots a video image of the water surface in the detection box in real time and transmits the data to the main control unit;
the main control unit calculates the water chroma based on the video image, estimates the measurement error of the water quality parameter at the current moment in real time based on the relation between the water chroma and the water quality parameter, and discards the measurement value of the water quality parameter at the current moment if the error exceeds a set threshold value;
and the communication module uploads water quality monitoring data to an upper computer of the monitoring center in real time.
Compared with the prior art, the invention has the following beneficial effects.
The invention realizes the water quality monitoring based on error control by arranging a main control unit, a sensor module, a CCD module and a communication module, wherein the sensor module is connected with the main control unit, the sensor module is used for acquiring water quality parameter data in a detection box in real time, the CCD module is used for shooting a video image of the water surface in the detection box, the main control unit is mainly used for calculating the water chromaticity based on the video image, estimating the measurement error of the water quality parameter at the current moment in real time based on the relation between the water chromaticity and the water quality parameter, and discarding the measurement value of the water quality parameter at the current moment if the error exceeds a set threshold value. According to the invention, the water quality parameter monitoring precision is improved by measuring the water chromaticity, estimating the measurement error of the water quality parameter based on the relation between the water chromaticity and the water quality parameter, and discarding the measurement value with the measurement error exceeding the set threshold value.
Drawings
Fig. 1 is a block diagram of a water quality monitoring system based on error control according to an embodiment of the present invention, in which: the system comprises a main control unit 1, a sensor module 2, a control module 3, a CCD module 4, a communication module 5 and a human-computer interaction module 6.
Fig. 2 is a block diagram of the components of the sensor module.
Fig. 3 is a schematic diagram of the water flow control principle of the detection box.
FIG. 4 is a flow chart of a method for monitoring water quality by using the system according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and more obvious, the present invention is further described below with reference to the accompanying drawings and the detailed description. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Fig. 1 is a block diagram of a water quality monitoring system based on error control according to an embodiment of the present invention, including: the device comprises a main control unit 1, and a sensor module 2, a CCD module 4 and a communication module 5 which are connected with the main control unit 1; the sensor module 2 is used for collecting water quality parameter data in the detection box in real time, the CCD module 4 is used for shooting a video image of the water surface in the detection box, the main control unit 1 is mainly used for calculating the water chromaticity based on the video image and estimating the measurement error of the water quality parameter at the current moment in real time based on the relation between the water chromaticity and the water quality parameter, if the error exceeds a set threshold value, the measurement value of the water quality parameter at the current moment is discarded, and the communication module 5 is used for uploading the water quality monitoring data to an upper computer of a monitoring center in real time.
In this embodiment, the system mainly includes a main control unit 1, a sensor module 2, a CCD module 4, and a communication module 5. The connection relationship of the modules is shown in fig. 1, and the sensor module 2, the CCD module 4 and the communication module 5 are all electrically connected to the main control unit 1. Each block is explained below separately.
And the sensor module 2 is mainly used for acquiring various water quality parameters of water to be monitored in real time. For the convenience of water quality monitoring, the detection water tank is arranged in the embodiment, water to be monitored is pumped into the detection water tank, and each sensor electrode in the sensor module 2 is installed in the detection water tank.
And the CCD module 4 is mainly used for acquiring a video image of the water surface in the detection box, converting the video image into a digital signal and then sending the digital signal to the main control unit 1. The CCD module 4 mainly comprises a CCD camera and an image acquisition card, wherein the CCD camera is used for shooting video images, and the image acquisition card is used for carrying out analog-to-digital conversion on analog video signals. There are many available CCD cameras and image acquisition cards, for example, WAT-704R type industrial cameras can be used as CCD cameras, and DH-CG410 type acquisition cards can be used as image acquisition cards.
And the communication module 5 is used for uploading water quality monitoring data to an upper computer of the monitoring center in real time. The system is typically installed as a single monitoring station near the water area to be monitored, such as the shore where a river flows over a location. The data measured by these monitoring stations are summarized to the monitoring center through the communication module 5. The long-distance data communication generally adopts wireless communication technologies, including wireless local area network communication, radio station communication, global system for mobile communication, general packet radio service technology, and the like. A server, namely an upper computer of the monitoring center is always connected with a network and has a fixed IP address, and the communication module 5 sends water quality monitoring data to the address server; the server decodes and receives the water quality data and displays the processed data on a display screen of the monitoring center; meanwhile, the water quality data is stored in a corresponding database according to the storage rule, so that the water quality management processes of receiving, analyzing, storing and the like of the water quality information are completely realized.
The main control unit 1 is a control and data processing center of the system, and is mainly used for completing data processing tasks and coordinating the work of other modules by outputting various control signals. The data processing tasks completed by the main control unit 1 mainly include: calculating the water color degree based on the video image obtained by the CCD module 4, and estimating the measurement error of the water quality parameter at the current moment in real time based on the relation between the water color degree and the water quality parameter; and performing quality control according to the measurement error: and if the error exceeds a set threshold (error upper limit), indicating that the data is abnormal, and discarding the measured value of the water quality parameter at the current moment. The relation between the water color and the water quality parameter is obtained by fitting the experimental data under the line. The main control unit 1 mainly includes a CPU and a memory, and in consideration of a relatively heavy data processing task, a dual-core scheme of a master CPU and a slave CPU may be adopted, for example, a microprocessor S3C2440 may be adopted as the master CPU, and a microprocessor TM320DM642 may be adopted as the slave CPU. The design is favorable for improving the data processing speed and realizing the real-time water quality monitoring.
The embodiment evaluates the measurement error of the water quality parameter by introducing the water chromaticity, thereby carrying out quality control on the water quality parameter monitoring and improving the precision of the water quality monitoring. The water color is an important physical quantity in water quality environment monitoring, and the quality of water quality is visually reflected. The water color can be classified into a surface color and a true color. The water color without removal of suspended matter is called the top color, while the true color refers to the water color after removal of suspended matter. For the water with lower turbidity, the two kinds of water have similar color, but for the industrial and agricultural wastewater with deeper coloring, the difference between the two kinds of water is larger. At present, the water quality chromaticity monitoring mainly comprises a cobalt colorimetry, a dilution multiple method, a water quality and water color remote sensing method, a spectrophotometry and the like. Experiments show that strong correlation exists between various water quality parameters and the water color degree. The correlation coefficient of the water quality parameters and the water color degree measured by the experiment is shown in the table 1.
TABLE 1 correlation coefficient of water quality parameter and water color
Figure 364441DEST_PATH_IMAGE009
In table 1, the positive correlation of the correlation coefficient indicates positive correlation, i.e., the larger the water quality parameter is, the larger the water color degree is; the correlation coefficient is negative, which means negative correlation, i.e. the water quality parameter is larger, the water color is smaller. RDOW is the inverse of DO and has a correlation coefficient with water color as high as 0.9378. The measured values of the water quality parameter and the water chromaticity are drawn into a scatter diagram, so that the water chromaticity and the water quality parameter have good linear relation, and the functional relation between the water chromaticity and the water quality parameter can be obtained through linear fitting.
As an alternative embodiment, the sensor module 2 comprises: the system comprises N water quality parameter sensors, a one-out-of-multiple analog switch with the input end connected with the output ends of the N water quality parameter sensors respectively, and an A/D converter connected with the output end of the one-out-of-multiple analog switch, wherein the output end of the A/D converter is connected with a main control module.
The embodiment provides a technical scheme of the sensor module 2. In this embodiment, the sensor module 2 mainly includes N water quality parameter sensors, one more-out-of-one analog switch, and one a/D converter, and the connection relationship of the modules is shown in fig. 2. The number N of the sensors is equal to the number of the water quality parameters to be monitored, and one sensor is used for collecting one water quality parameter. The output of the sensor is typically an analog signal and therefore needs to be converted by an a/D converter to a digital signal that can be recognized by a computer. In order to save the A/D converter, the embodiment is provided with a one-out-of-multiple analog switch, one input end of the switch is connected with one sensor, a channel selection control end of the switch is connected with the main control unit, and only one sensor is selected to be communicated with the A/D converter at a time under the control of the main control unit. It should be noted that, because the output signal of the sensor is weak, in practical application, a first stage conditioning circuit is generally required to be disposed before the a/D converter, and the output signal of the sensor is amplified to a certain amplitude and then input to the a/D converter. The number of channels of one-out-of-many analog switch is not less than N, and if the number of channels of one analog switch is not enough, two or more analog switches can be used in parallel. There are many analog switch chips and a/D converter chips that can be used, for example, an ADG508 analog multiplexer can be used as the analog switch, and an AD chip of the TLC2543 type can be used as the a/D converter chip.
As an optional embodiment, the N =6,6 water quality parameter sensors are respectively a ph sensor, a turbidity sensor, a conductivity sensor, a dissolved oxygen sensor, a water temperature sensor and a copper ion sensor.
This embodiment is an alternative to the previous embodiment. The water quality parameters are many, 6 water quality parameters are selected in the embodiment, namely, the pH value, the turbidity, the conductivity, the dissolved oxygen, the water temperature and the copper ions, so that 6 sensors are required to be arranged to measure the 6 water quality parameters respectively.
As an alternative embodiment, the main control unit 1 calculates the water color degree based on the R, G, and B components extracted from the video image by using an image color difference method.
The embodiment provides a technical scheme for calculating the water color degree based on the video image. The present embodiment calculates the water color value by using an image color difference method. The image color difference method is based on spectrophotometry to quantitatively analyze water quality and quantitatively judge pollution concentration according to color difference. The R, G and B component values of local pixel points in the target image, commonly called tristimulus values, are extracted and are substituted into a fitting formula to obtain chromatic values. The tristimulus values describe the colorimetric nature of the water body, and the three parameters of the space coordinates X, Y and Z jointly determine the characteristic quantity chromatic aberrationΔETherefore, the relation between the color difference and the chromaticity can be directly established. The color difference value in the color difference formula in CIELAB color space is recorded asΔE ab L * Is the brightness of the light beam emitted by the light source,a *b * is the chromaticity. The formula is as follows:
Figure 405209DEST_PATH_IMAGE010
in the formula, X n 、Y n 、Z n The selected reference white stimulus value. And the function f (x) is:
Figure 922385DEST_PATH_IMAGE011
the formula of the color difference is:
Figure 489632DEST_PATH_IMAGE012
in the formula, the subscript "1" represents a water body to be measured, and "2" represents pure water or an organic solvent. Measuring the spectral transmittance of the water sample by a spectrophotometric color difference method, calculating the color difference value, and obtaining the colorimetric value of the water sample according to a fitting function curve.
As an alternative embodiment, the relationship between the water color and the water quality parameter is obtained by the following method:
obtaining M water samples to be detected with different water quality parameters;
respectively measuring the water quality parameters of each water sample to be detected
Figure 256731DEST_PATH_IMAGE013
And degree of hydration
Figure 830801DEST_PATH_IMAGE014
Figure 731761DEST_PATH_IMAGE015
Using least squares to correct for data (
Figure 825619DEST_PATH_IMAGE016
Figure 514351DEST_PATH_IMAGE017
) Performing linear fitting to obtain a relation curve of the water chromaticity and the water quality parameters:
Figure 326449DEST_PATH_IMAGE018
in the formula (I), the compound is shown in the specification,
Figure 499942DEST_PATH_IMAGE019
the water quality parameter value is used as the water quality parameter value,
Figure 166415DEST_PATH_IMAGE020
the water color value is taken as the value of the water color,
Figure 665530DEST_PATH_IMAGE021
Figure 964924DEST_PATH_IMAGE022
is a fitting parameter;
and repeating the steps to obtain a relation curve between each water quality parameter to be monitored and the water chromaticity.
The embodiment provides a method for obtaining the relation between the water chroma and the water quality parameter. The relation curve of the water color and the water quality parameters is obtained by a line under-line experiment. Firstly, preparing M water samples to be detected, wherein the water quality parameters of each water sample to be detected are different, and the water samples are preferably uniformly distributed; then, respectively measuring the water quality parameter value and the water chromaticity value of each water sample to be detected through experiments to obtain M groups of data pairs: (
Figure 836715DEST_PATH_IMAGE023
Figure 233061DEST_PATH_IMAGE024
) (ii) a Finally, the M groups of data pairs are processed by the least square method (
Figure 575181DEST_PATH_IMAGE023
Figure 548822DEST_PATH_IMAGE024
) And fitting to obtain a relation curve of the water chromaticity and the water quality parameters. As described above, since the water color and the water quality parameter are approximately linear, linear fitting can be performed to simplify the relationship curve, and a linear function curve of the water color and the water quality parameter is obtained.
As an alternative embodiment, the method for estimating the measurement error of the water quality parameter at the current time includes:
calculating a water quality parameter value corresponding to the water chromaticity measured at the current moment by using a relation curve of the water chromaticity and the water quality parameter;
and calculating the difference between the water quality parameter value and the water quality parameter value measured at the current moment to obtain the measurement error of the water quality parameter at the previous moment.
This embodiment presents a technical solution for measurement error estimation. The embodiment estimates the measurement error of the water quality parameter by using the relation curve of the water chromaticity and the water quality parameter obtained in the previous embodiment. Substituting the water chromaticity value at the current moment into the relation curve to obtain a corresponding water quality parameter value; and then calculating the difference between the actually measured water quality parameter value at the current moment and the water quality parameter value obtained by the relation curve to obtain the measurement error of the water quality parameter. In order to improve the estimation precision, a plurality of groups of water quality parameters and water chromaticity values can be measured at the same monitoring time, and the measurement errors of each group are solved and then the average value is solved.
As an optional embodiment, the system further comprises a control module 3 connected to the main control unit 1, wherein the control module 3 is configured to control the on/off of a submersible pump connected to the detection box through a pipeline, control the on/off of an electromagnetic valve installed in the pipeline, and control the on/off and/or power of a heater installed in the detection box, so as to keep the temperature of water in the detection box constant.
This embodiment has given the technical scheme who controls the interior water sampling of detection case. The detection box is internally provided with a water sample to be monitored, and the water sample is pumped into the detection box from a sedimentation tank on the bank side by a submersible pump. In order to meet the real-time requirement, the water in the detection box needs to be replaced regularly. In order to reduce the influence of the water temperature change on the water quality parameters, a heater is generally arranged in the detection box to keep the water temperature constant. For this purpose, the present embodiment provides a control module 3 connected to the main control unit 1, which controls the submersible pump, the solenoid valve and the heater, as shown in fig. 3. The control module 3 generally employs the most common PLC controller.
As an optional embodiment, the system further includes a human-computer interaction module 6 connected to the main control unit 1, and mainly composed of a display screen and control keys.
In order to facilitate the staff to immediately master the water quality monitoring condition and operate the system, the embodiment is provided with a human-computer interaction module 6 connected with the main control unit 1. The man-machine interaction module 6 mainly comprises a display screen, control keys and the like, and can also be provided with a mouse or an operation ball. The display screen is mainly used for displaying monitoring data, and the control keys and the like are mainly used for inputting various operation instructions.
As an optional embodiment, the system further comprises an audible and visual alarm module connected to the main control unit 1, and performs audible and visual alarm when the water quality parameter exceeds a set threshold range.
The embodiment provides a technical scheme for water quality abnormity alarm. In the embodiment, the sound and light alarm module (not shown in fig. 1) connected with the main control unit 1 is arranged to alarm the abnormal water quality. The water quality abnormity detection can be realized by comparing the monitored water quality parameters with a set threshold range, and if one or more parameters exceed the set threshold range, the main control unit 1 sends a control signal to trigger the acousto-optic alarm module to perform acousto-optic alarm so as to remind a worker to take corresponding measures.
Fig. 4 is a flow chart of a method for monitoring water quality by using the system in the embodiment of the invention, which comprises the following steps:
step 101, a sensor module 2 collects water quality parameter data in a detection box in real time and transmits the data to a main control unit 1;
102, shooting a video image of the water surface in the detection box by the CCD module 4 in real time, and transmitting the data to the main control unit 1;
103, calculating the water color degree based on the video image by the main control unit 1, estimating the measurement error of the water quality parameter at the current moment in real time based on the relation between the water color degree and the water quality parameter, and discarding the measurement value of the water quality parameter at the current moment if the error exceeds a set threshold value;
and 104, uploading water quality monitoring data to an upper computer of the monitoring center in real time by the communication module 5.
Compared with the technical solution of the embodiment of the apparatus shown in fig. 1, the method of this embodiment has similar implementation principle and technical effect, and is not described herein again.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A water quality monitoring system based on error control is characterized by comprising: the CCD module is connected with the main control unit; the sensor module is used for collecting water quality parameter data in the detection box in real time, the CCD module is used for shooting a video image of the water surface in the detection box, the main control unit is mainly used for calculating the water chromaticity based on the video image and estimating the measurement error of the water quality parameter at the current moment in real time based on the relation between the water chromaticity and the water quality parameter, if the error exceeds a set threshold value, the measurement value of the water quality parameter at the current moment is discarded, and the communication module is used for uploading the water quality monitoring data to an upper computer of a monitoring center in real time.
2. The error control-based water quality monitoring system of claim 1, wherein the sensor module comprises: the system comprises N water quality parameter sensors, a one-out-of-multiple analog switch with the input ends respectively connected with the output ends of the N water quality parameter sensors, an A/D converter connected with the output end of the one-out-of-multiple analog switch, and the output end of the A/D converter is connected with a main control module.
3. The error control-based water quality monitoring system according to claim 2, wherein the N =6,6 water quality parameter sensors are respectively a ph sensor, a turbidity sensor, a conductivity sensor, a dissolved oxygen sensor, a water temperature sensor and a copper ion sensor.
4. The error control-based water quality monitoring system according to claim 1, wherein the main control unit calculates the water color degree based on the R, G, B components extracted from the video image using an image color difference method.
5. The error control-based water quality monitoring system according to claim 1, wherein the relationship between the water chromaticity and the water quality parameter is obtained by the following method:
obtaining M water samples to be detected with different water quality parameters;
respectively measuring the water quality parameters of each water sample to be detected
Figure DEST_PATH_IMAGE001
Degree of hydration
Figure DEST_PATH_IMAGE002
Figure DEST_PATH_IMAGE003
Using least squares to correct for data (
Figure DEST_PATH_IMAGE004
Figure DEST_PATH_IMAGE005
) Performing linear fitting to obtain a relation curve of the water chromaticity and the water quality parameters:
Figure DEST_PATH_IMAGE006
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE007
the water quality parameter value is used as the water quality parameter value,
Figure DEST_PATH_IMAGE008
the water color value is taken as the value of the water color,
Figure DEST_PATH_IMAGE009
Figure DEST_PATH_IMAGE010
is a fitting parameter;
and repeating the steps to obtain a relation curve between each water quality parameter to be monitored and the water chromaticity.
6. The error control-based water quality monitoring system according to claim 5, wherein the estimation method of the measurement error of the water quality parameter at the current time comprises the following steps:
calculating a water quality parameter value corresponding to the water chromaticity measured at the current moment by using a relation curve of the water chromaticity and the water quality parameter;
and calculating the difference between the water quality parameter value and the water quality parameter value measured at the current moment to obtain the measurement error of the water quality parameter at the previous moment.
7. The water quality monitoring system based on error control according to claim 1, further comprising a control module connected to the main control unit, wherein the control module is used for controlling the on and off of a submersible pump connected to the detection box through a pipeline, controlling the on and off of an electromagnetic valve installed in the pipeline, and controlling the on and off and/or power of a heater installed in the detection box, so as to keep the temperature of water in the detection box constant.
8. The water quality monitoring system based on error control as claimed in claim 1, wherein the system further comprises a human-computer interaction module which is connected with the main control unit and mainly comprises a display screen and control keys.
9. The water quality monitoring system based on error control as claimed in claim 1, further comprising an acousto-optic alarm module connected with the main control unit for performing acousto-optic alarm when the water quality parameter exceeds a set threshold range.
10. A method for monitoring water quality by using the system of claim 1, comprising the steps of:
the sensor module collects water quality parameter data in the detection box in real time and transmits the data to the main control unit;
the CCD module shoots a video image of the water surface in the detection box in real time and transmits the data to the main control unit;
the main control unit calculates the water chroma based on the video image, estimates the measurement error of the water quality parameter at the current moment in real time based on the relation between the water chroma and the water quality parameter, and discards the measurement value of the water quality parameter at the current moment if the error exceeds a set threshold value;
and the communication module uploads water quality monitoring data to an upper computer of the monitoring center in real time.
CN202211703951.6A 2022-12-29 2022-12-29 Water quality monitoring system and method based on error control Active CN115684039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211703951.6A CN115684039B (en) 2022-12-29 2022-12-29 Water quality monitoring system and method based on error control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211703951.6A CN115684039B (en) 2022-12-29 2022-12-29 Water quality monitoring system and method based on error control

Publications (2)

Publication Number Publication Date
CN115684039A true CN115684039A (en) 2023-02-03
CN115684039B CN115684039B (en) 2023-06-02

Family

ID=85056637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211703951.6A Active CN115684039B (en) 2022-12-29 2022-12-29 Water quality monitoring system and method based on error control

Country Status (1)

Country Link
CN (1) CN115684039B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117770142A (en) * 2024-02-26 2024-03-29 四川省畜牧科学研究院 Intelligent breeding system based on feed processing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09292336A (en) * 1996-04-25 1997-11-11 Hitachi Plant Eng & Constr Co Ltd Method and apparatus for measuring chromaticity and water-treatment control method using method and apparatus thereof
JP2007085881A (en) * 2005-09-22 2007-04-05 Miura Co Ltd Method and instrument for measuring concentration of component
CN104165978A (en) * 2014-08-12 2014-11-26 南京工业大学 Method for improving reliability of water quality monitoring data
CN108958118A (en) * 2018-07-20 2018-12-07 成都市环境保护科学研究院 A kind of Multiparameter water quality monitoring system and method
US20190339723A1 (en) * 2018-05-04 2019-11-07 Delta Electronics, Inc. Water quality monitoring system and method thereof
CN111241214A (en) * 2020-03-12 2020-06-05 高自通 Water quality remote online detection method and device for hydraulic engineering and electronic equipment
WO2022126194A1 (en) * 2020-12-18 2022-06-23 OzGreen Energy Pty Ltd System and method for monitoring water quality
CN115508341A (en) * 2021-06-23 2022-12-23 中国石油化工股份有限公司 Water quality detection method and system based on digital image processing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09292336A (en) * 1996-04-25 1997-11-11 Hitachi Plant Eng & Constr Co Ltd Method and apparatus for measuring chromaticity and water-treatment control method using method and apparatus thereof
JP2007085881A (en) * 2005-09-22 2007-04-05 Miura Co Ltd Method and instrument for measuring concentration of component
CN104165978A (en) * 2014-08-12 2014-11-26 南京工业大学 Method for improving reliability of water quality monitoring data
US20190339723A1 (en) * 2018-05-04 2019-11-07 Delta Electronics, Inc. Water quality monitoring system and method thereof
CN108958118A (en) * 2018-07-20 2018-12-07 成都市环境保护科学研究院 A kind of Multiparameter water quality monitoring system and method
CN111241214A (en) * 2020-03-12 2020-06-05 高自通 Water quality remote online detection method and device for hydraulic engineering and electronic equipment
WO2022126194A1 (en) * 2020-12-18 2022-06-23 OzGreen Energy Pty Ltd System and method for monitoring water quality
CN115508341A (en) * 2021-06-23 2022-12-23 中国石油化工股份有限公司 Water quality detection method and system based on digital image processing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李文;杨守波;罗学科;: "基于远程图像色度的点源水质监测方法", 环境工程学报, no. 09, pages 4603 - 4608 *
王霞俊 等: "城市污水排放在线智能监测关键技术的研究", pages 42 - 43 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117770142A (en) * 2024-02-26 2024-03-29 四川省畜牧科学研究院 Intelligent breeding system based on feed processing
CN117770142B (en) * 2024-02-26 2024-06-04 四川省畜牧科学研究院 Intelligent breeding system based on feed processing

Also Published As

Publication number Publication date
CN115684039B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN103123323B (en) Method for detecting multiple anions by using indicator displacement colorimetric sensor array
KR101322339B1 (en) The apparatus and method of direct monitoring application moudule with smartphone
CN105181920A (en) Omnidirectional water quality monitoring system
CN101498598A (en) Wireless security monitoring system for large dam
CN105758904A (en) Multi-parameter water quality monitoring system and method and their application
CN113419040A (en) Water quality monitoring device for river channel environment management
CN105158296A (en) Intelligent water quality monitoring system
CN115684039B (en) Water quality monitoring system and method based on error control
CN106225832A (en) A kind of water quality monitoring system for Landscape Park and method
CN107490769A (en) A kind of fuel cell water distribution visualizes on-line detecting system
CN205175954U (en) Quality of water multi -parameter on -line monitoring device
CN101419183A (en) Distributed red tide monitoring instrument
Thalatam et al. An IoT Based Smart Water Contamination Monitoring System
CN100487437C (en) Flue gas discharge continuous monitoring system based on image processing
CN113780071A (en) Black and odorous water body remote sensing identification system and method
CN202404062U (en) Analyzer for multi-parameter water quality remote detection
CN105923796B (en) A kind of network incrustation scale real-time monitoring device
CN112946216A (en) Intelligent water quality monitoring system
CN110988295A (en) Floating type sewage detection system and method based on NB _ IoT
CN103105830A (en) Environment on-line automatic monitoring system based on wireless sensor network
CN216669729U (en) Water quality monitoring device
CN201331505Y (en) Distributed red tide monitoring instrument
CN205958561U (en) Integral type water quality testing equipment
CN108761209A (en) A kind of liquid electric conductivity measurement method and device
CN115508528A (en) River and lake water quality-hydrodynamics online intelligent monitoring system and method

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
GR01 Patent grant
GR01 Patent grant