Water quality transparency determination system and method based on computer vision

文档序号:1589196 发布日期:2020-02-04 浏览:13次 中文

阅读说明:本技术 基于计算机视觉的水质透明度测定系统及方法 (Water quality transparency determination system and method based on computer vision ) 是由 王湛昱 于 2019-11-19 设计创作,主要内容包括:本发明公开了一种基于计算机视觉的水质透明度测定系统,涉及水质监测领域,能够实现水体水质透明度的自动检测和实时测定传输,相对于传统人工肉眼对于赛氏罗盘进行深度观测获得水质透明度检测数据的方法来说,利用计算机视觉装置,可以代替人工肉眼进行重复高效的水质透明度测定活动,且可在远程数据中心进行水质透明度监测数据的分析和处理,实现了按时按需的在线自动测定,提高了水质透明度测定结果的可靠性和效率。本发明提供的基于计算机视觉的水质透明度测定方法,能够整合于水质的在线连续监测设备中,减少人工监测带来的误差,这对于湖泊的富营养化、养殖产业的水质调节等工作具有非常重要的指导意义。(The invention discloses a water quality transparency measuring system based on computer vision, which relates to the field of water quality monitoring, can realize automatic detection and real-time measurement and transmission of water quality transparency of a water body, and compared with the traditional method for obtaining water quality transparency detection data by carrying out depth observation on a Saybolt compass by naked eyes, the system can replace the naked eyes to carry out repeated and efficient water quality transparency measuring activities, can carry out analysis and processing on the water quality transparency monitoring data in a remote data center, realizes on-line automatic measurement on time as required, and improves the reliability and efficiency of a water quality transparency measuring result. The water quality transparency measuring method based on computer vision provided by the invention can be integrated into online continuous monitoring equipment of water quality, reduces errors caused by artificial monitoring, and has very important guiding significance for the work of eutrophication of lakes, water quality regulation of aquaculture industry and the like.)

1. A water quality transparency measuring system based on computer vision is characterized by comprising:

the Saybolt compass is used for deeply penetrating into a water body to measure the water quality transparency;

the computer vision device is fixedly arranged right above the Saybolt compass and is used for acquiring image data of the Saybolt compass;

the processing device is in communication connection with the computer vision device and is used for driving and acquiring and processing image data of the computer vision device and detecting water quality transparency data on line;

and the data center is in communication connection with the processing device and is used for receiving the real-time water quality transparency detection data transmitted by the processing device and displaying and/or analyzing the data.

2. The computer vision based water quality transparency measurement system of claim 1 further comprising:

the waterproof backlight layer is arranged on the upper surface of the Saybolt compass 1 and used for placing a compensation light source in a white disc area of the Saybolt compass.

3. The computer vision-based water quality and transparency measuring system of claim 2, wherein the compensating light source is a surface source white light of natural light intensity; alternatively, the first and second electrodes may be,

the compensation light source is infrared without red storm, and a photoreceptor is loaded on the computer vision device.

4. The computer vision based water quality transparency measurement system of claim 1 further comprising:

the depth sensor is arranged on the lower surface of the Saybolt compass and used for measuring the underwater depth of the Saybolt compass when the computer vision device cannot observe the Saybolt compass;

one end of the lifting transmission device penetrates through the Saybolt compass to be in communication connection with the depth sensor, and the other end of the lifting transmission device is in communication connection with the processing device and is used for transmitting the real-time depth data of the Saybolt compass, which is measured by the depth sensor, to the processing device;

the motor control unit is in communication connection with the processing device and is used for receiving the instruction of the processing device to perform lifting control; the motor control unit is in transmission connection with the lifting transmission device, and the motor control unit drives the lifting transmission device to drive the Saybolt compass to lift.

5. The computer vision based water quality transparency measurement system of claim 4 wherein the lifting transmission device is a data transmission cable comprising a waterproof outer layer and a central layer; the central layer is a data transmission cable, and scales are marked on the waterproof outer layer.

6. The computer vision-based water quality transparency measuring system according to claim 4,

the depth sensor is configured as a pressure sensor; and/or

The computer vision device is a 720P or 1080P camera; and/or

The processing device is a terminal board card which can calculate in real time and is provided with an FPGA.

7. A water quality transparency measuring method based on computer vision is characterized by comprising the following steps:

the processing device transmits an image acquisition instruction to the computer vision device according to the set image acquisition frequency;

the computer vision device receives the image acquisition instruction, acquires a real-time Saybolt compass image and transmits the real-time Saybolt compass image to the processing device;

the processing device detects and processes the water quality transparency based on the real-time Saybolt compass image;

and the processing device transmits the water quality transparency detection data to the data center in real time for data display and/or data analysis.

8. The method for determining water quality transparency based on computer vision as claimed in claim 7, wherein the step of detecting and processing the water quality transparency based on the real-time Saybolt compass image by the processing device comprises the following steps:

the processing device carries out denoising and contrast increasing pretreatment on the received real-time Saybolt compass image;

the processing device identifies based on the preprocessed Saybolt compass image;

and if the contrast ratio of the white disc and the black disc is lower than a set threshold value, the processing device transmits a data reading signal to the depth sensor, receives real-time depth data and brings the real-time depth data into a water quality transparency detection process.

9. The method for determining water quality transparency based on computer vision as claimed in claim 8, wherein the step of "if the contrast between the white disk and the black disk is lower than the set threshold, the processing device transmits a data reading signal to the depth sensor, receives the real-time depth data and enters the water quality transparency detection process", further comprises:

the processing device reads the scale value on the lifting transmission device, and double comparison and correction are carried out on the real-time depth data by using the read scale value;

and the processing device takes the corrected real-time depth data as water quality transparency detection data.

10. The computer vision-based water quality transparency measurement method of claim 7, further comprising:

the processing device receives the Saybolt compass image transmitted by the computer vision device according to the specific frequency;

the processing device identifies the real-time Saybolt compass image, and if the identification definition is smaller than a preset threshold value, the driving shooting frequency of the computer vision device in unit time is increased or reduced;

the processing device respectively identifies multiple Saybolt compass images obtained by driving in an operation period, and records multiple intermediate results for temporary storage;

and the processing device calculates the average value of the water quality transparency detection data according to the multiple intermediate results, and transmits the average value as final water quality transparency detection data.

Technical Field

The invention belongs to the field of water quality monitoring, and particularly relates to a water quality transparency measuring system and method based on computer vision.

Background

The water quality transparency represents the water clarity degree, is one of indexes specified by national industry standards of the water conservancy department and required to be measured, and is often used as an important monitoring parameter in the fields of aquaculture, lake eutrophication monitoring, marine ecology and the like. In general, the water quality transparency is reflected by the amount of plankton and suspended matter in water, and the living environment of plankton is affected by improper water quality transparency. The higher the transparency, the thinner the water body, the fewer phytoplankton in the water and the weaker the photosynthesis. Most of the dissolved oxygen in the water body comes from the photosynthesis of phytoplankton, and the weak photosynthesis can cause the appearance of sub-anoxic and low-oxygen states, thereby affecting the productivity. The smaller the transparency, the greater the phytoplankton biomass in water, the lower the light irradiation ability, the less the dissolved oxygen in water, and the deterioration of water quality is likely to occur. In addition, the water quality transparency is influenced by the natural environment such as silt, weather, season, level, day and night.

How to effectively measure the water quality transparency has great significance for monitoring the water quality. The traditional classical measurement methods are the transparence meter method and the transparency disk method. Where the transparence method is applicable to natural and lightly contaminated water and the transparency disc method is applicable to field measurements of surface water. The traditional methods usually have higher requirements on implementation conditions, for example, personnel using test equipment have better eyesight, and can only carry out off-line observation, the error is larger, real-time measurement cannot be carried out, the hysteresis is larger, and the timeliness of water body optimization control is seriously influenced. Especially for some special application fields, such as aquaculture, if online and accurate water quality transparency monitoring cannot be achieved, a large amount of extra labor cost and economic cost can be generated, and the economic benefit of application is greatly influenced.

Disclosure of Invention

Aiming at the existing problems, the invention provides a water quality transparency measuring system and method based on computer vision, which can realize real-time online monitoring and provide certain technical guarantee for actual transparency monitoring and subsequent optimization work.

In order to achieve the purpose, the technical scheme provided by the invention is as follows:

the invention provides a water quality transparency measuring system based on computer vision, which comprises

The Saybolt compass is used for deeply penetrating into a water body to measure the water quality transparency;

the computer vision device is fixedly arranged right above the Saybolt compass and is used for acquiring image data of the Saybolt compass;

the processing device is in communication connection with the computer vision device and is used for driving and acquiring and processing image data of the computer vision device and detecting water quality transparency data on line;

and the data center is in communication connection with the processing device and is used for receiving the real-time water quality transparency detection data transmitted by the processing device and displaying and/or analyzing the data.

In the water quality transparency measuring system based on computer vision according to the present invention, preferably, the water quality transparency measuring system based on computer vision further includes:

the waterproof backlight layer is arranged on the upper surface of the Saybolt compass 1 and used for placing a compensation light source in a white disc area of the Saybolt compass.

In the water quality and transparency measuring system based on computer vision provided by the invention, preferably, the compensation light source is surface source white light with natural light intensity; alternatively, the first and second electrodes may be,

the compensation light source is infrared without red storm, and a photoreceptor is loaded on the computer vision device.

In the water quality transparency measuring system based on computer vision according to the present invention, preferably, the water quality transparency measuring system based on computer vision further includes:

the depth sensor is arranged on the lower surface of the Saybolt compass and used for measuring the underwater depth of the Saybolt compass when the computer vision device cannot observe the Saybolt compass;

one end of the lifting transmission device penetrates through the Saybolt compass to be in communication connection with the depth sensor, and the other end of the lifting transmission device is in communication connection with the processing device and is used for transmitting the real-time depth data of the Saybolt compass, which is measured by the depth sensor, to the processing device;

the motor control unit is in communication connection with the processing device and is used for receiving the instruction of the processing device to perform lifting control; the motor control unit is in transmission connection with the lifting transmission device, and the motor control unit drives the lifting transmission device to drive the Saybolt compass to lift.

According to the water quality transparency measuring system based on computer vision provided by the invention, preferably, the lifting transmission device is a data transmission rope, and the data transmission rope comprises a waterproof outer layer and a central layer; the central layer is a data transmission cable, and scales are marked on the waterproof outer layer.

The water quality transparency measuring system based on computer vision provided by the invention preferably comprises a water quality transparency measuring device,

the depth sensor is configured as a pressure sensor; and/or

The computer vision device is a 720P or 1080P camera; and/or

The processing device is a terminal board card which can calculate in real time and is provided with an FPGA.

On the basis of the water quality transparency measuring system based on computer vision, the invention also provides a water quality transparency measuring method based on computer vision, which comprises the following steps:

the processing device transmits an image acquisition instruction to the computer vision device according to the set image acquisition frequency;

the computer vision device receives the image acquisition instruction, acquires a real-time Saybolt compass image and transmits the real-time Saybolt compass image to the processing device;

the processing device detects and processes the water quality transparency based on the real-time Saybolt compass image;

and the processing device transmits the water quality transparency detection data to the data center in real time for data display and/or data analysis.

The water quality transparency determination method based on computer vision provided by the invention preferably comprises the following steps of:

the processing device carries out denoising and contrast increasing pretreatment on the received real-time Saybolt compass image;

the processing device identifies based on the preprocessed Saybolt compass image;

and if the contrast ratio of the white disc and the black disc is lower than a set threshold value, the processing device transmits a data reading signal to the depth sensor, receives real-time depth data and brings the real-time depth data into a water quality transparency detection process.

In the method for determining water transparency based on computer vision according to the present invention, preferably, after the step "if the contrast between the white disk and the black disk is lower than the set threshold, the processing device transmits a data reading signal to the depth sensor, receives the real-time depth data, and brings the real-time depth data into the process of detecting water transparency", the method further includes:

the processing device reads the scale value on the lifting transmission device, and double comparison and correction are carried out on the real-time depth data by using the read scale value;

and the processing device takes the corrected real-time depth data as water quality transparency detection data.

The water quality transparency measuring method based on computer vision provided by the invention preferably further comprises the following steps:

the processing device receives the Saybolt compass image transmitted by the computer vision device according to the specific frequency;

the processing device identifies the real-time Saybolt compass image, and if the identification definition is smaller than a preset threshold value, the driving shooting frequency of the computer vision device in unit time is increased or reduced;

the processing device respectively identifies multiple Saybolt compass images obtained by driving in an operation period, and records multiple intermediate results for temporary storage;

and the processing device calculates the average value of the water quality transparency detection data according to the multiple intermediate results, and transmits the average value as final water quality transparency detection data.

The technical scheme has the following advantages or beneficial effects:

compared with the traditional method for obtaining water quality transparency detection data by carrying out depth observation on a Saybolt compass by naked eyes, the water quality transparency detection system based on computer vision can replace the naked eyes to carry out repeated and efficient water quality transparency detection activities, can analyze and process water quality transparency monitoring data in a remote data center, realizes on-line automatic detection according to requirements on time, and improves the reliability and timeliness of water quality transparency detection results. The water quality transparency measuring method based on computer vision provided by the invention can be integrated into online continuous monitoring equipment of water quality, reduces errors caused by artificial monitoring, and has very important guiding significance for the work of eutrophication of lakes, water quality regulation of aquaculture industry and the like.

Drawings

The invention and its features, aspects and advantages will become more apparent from reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Like reference symbols in the various drawings indicate like elements. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.

FIG. 1 is a schematic structural diagram of a water quality transparency measuring system based on computer vision according to embodiment 1 of the present invention;

fig. 2 is a schematic diagram illustrating a schematic principle of observing the transparency of a water body by a computer vision device in the water quality transparency measuring system based on computer vision according to embodiment 1 of the present invention;

FIG. 3 is a schematic flow chart of a water quality transparency measuring method based on computer vision according to example 1 of the present invention;

FIG. 4 is a schematic flow chart of a water quality transparency measuring method based on computer vision according to embodiment 1 of the present invention;

fig. 5 is a schematic flow chart of a water quality transparency measurement method based on computer vision according to embodiment 1 of the present invention.

Detailed Description

In the following, the technical solutions in the embodiments of the present invention are clearly and completely described with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the invention without making creative efforts, belong to the protection scope of the invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种空心阴极光谱仪光路自动对正方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!