Water level detection device and system
By designing an integrated water level detection system, the RS485 module controls the water level screen to display the water level height in real time, solving the problems of bulky equipment and poor observation accuracy of existing water monitoring system equipment, achieving higher detection accuracy and convenient maintenance.
Patent Information
- Application Number
- CN202411510275.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-11
AI Technical Summary
The equipment of the existing water monitoring system is bulky, inconvenient to install and maintain, poor observation accuracy and stability, and is affected by natural and human factors, so the error is relatively large.
Design an integrated water level detection system, including a display unit, power supply unit, control unit, water level sensor, communication unit and remote control terminal, receive instructions from the remote control terminal through the RS485 module, and control the water level screen to display the water level height in real time.
It improves the accuracy and effectiveness of water level detection, the system structure is light, convenient to install and maintain, and has higher detection accuracy.
Smart Images

Figure CN119413250A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of water level detection, and in particular relates to a water level detection device and system. Background Art
[0002] At present, the boxes of water monitoring systems are mostly iron boxes and are relatively heavy, which is not conducive to installation and subsequent maintenance. Commonly used observation equipment mainly includes various water gauges, float-type water level gauges, bubble-type water level gauges, etc. These devices are limited by the field environment, have a great impact on observation accuracy, and have poor stability and durability. However, in actual work, due to the influence of installation and burial, weather, nature, base point elevation calibration, human factors and other factors, the actual error will be further amplified. Summary of the invention
[0003] In view of the above problems, the present invention provides a water level detection device and system, which has an integrated system, a simple structure and convenient installation and maintenance. The water level screen is controlled by receiving control instructions from a remote control terminal through an RS485 module. The water level screen displays different water level heights in real time according to changes in the water level, so as to solve the problems raised in the above background technology.
[0004] In order to achieve the above object, the present invention adopts the following technical solutions:
[0005] In a first aspect, the present invention provides a water level detection system, comprising a display unit, a power supply unit, a control unit, a water level sensor, a communication unit and a remote control terminal, wherein the control unit and the display unit are both connected to the power supply unit;
[0006] The communication unit includes a first RS485 module and a second RS485 module, the remote control terminal is connected to the control unit via the first RS485 module, the control unit is connected to the water level sensor via the second RS485 module, and the control unit is connected to the display unit;
[0007] The control unit receives the control command of the remote control terminal through the first RS485 module, and controls the water level sensor to collect water level data through the second RS485 module, and the control unit sends the water level data to the display unit;
[0008] The first RS485 module includes a first wireless RS485 communication circuit and a second wireless RS485 communication circuit. The circuit structures of the first wireless RS485 communication circuit and the second wireless RS485 communication circuit are the same. The first wireless RS485 communication circuit is used to convert RF433 or LORA to RS485 signals, and the second wireless RS485 communication circuit is used to convert 4G to RS485 signals. The first wireless RS485 communication circuit includes a chip U25 with a model of MAX1487 and a chip U26 with a model of SM712. The second RS485 module includes a chip U22, three TVS diodes and two fuses.
[0009] As a further preferred embodiment of the above technical solution, the control unit includes a main control circuit, a watchdog circuit and an output control circuit. The watchdog circuit and the output control circuit are both connected to the main control circuit. The main control circuit includes a chip U28 with a model number of STC8A8K64D4, the watchdog circuit includes a chip U30 with a model number of STWD100NYWY3F, and the output control circuit includes a chip U29 with a model number of AO4800.
[0010] As a further preferred embodiment of the above technical solution, the control unit also includes an indicator light and a program download port, and the indicator light and the program download port are both connected to the main control circuit.
[0011] As a further preferred embodiment of the above technical solution, the display unit includes a digital tube and a digital tube driving circuit, the digital tube driving circuit is connected to the control unit, the digital tube is connected to the digital tube driving circuit, the number of the digital tubes and the digital tube driving circuits is four, and the digital tube driving circuit includes a chip U17 with model number 74HC245.
[0012] As a further preferred embodiment of the above technical solution, the power supply unit includes a diode, an SMD resistor, a transient suppression diode, a capacitor, a chip U27 and an inductor, and the model of the chip U27 is L7805CDT.
[0013] In a second embodiment, the present invention further provides a water level detection device and an image acquisition device as described above, wherein the image acquisition device is communicatively connected to the remote control terminal, and the execution process of the image acquisition device includes:
[0014] The YOLOv5 algorithm is used to detect the water level, and the center point of the captured water level cat frame is linearly fitted to obtain the real water level. The Kalman filter is used to introduce the water level history information as prior knowledge.
[0015] Markers with obvious features and fixed positions in the collected images are selected and added to the deep learning network for training. When detecting the water level, the scale factor K of the pixel and the real length is converted in real time using the size of the marker, the pixel distance L of the water level marker is marked, and the actual water level elevation H is calculated by combining the real elevation H′ of the marker. Among them, the marker position is above the water body, so the actual water level elevation solution expression is: p represents the pixel length of the marker in the image, and r represents the actual length of the marker;
[0016] The image acquisition device sends the acquired image analysis results to a database.
[0017] As a further optimization of the above technical solution, Kalman filtering is used to introduce water level history information as prior knowledge, including:
[0018] The water level detection system corresponding to the preset YOLOv5 algorithm is a static system, and its state space model is in, The water level output result of the current state is determined by the water level estimate of the previous step. and the current measured value f(x n ) are jointly determined, then the state update equation of the system is Among them, the coefficient Kalman filter is denoted by K n ; According to the time span and water level fluctuation, the simplified state update equation is: Among them, σ n is the standard deviation of historical water level information, ε n is the current moment f(x n ) and the expected value of the water level at the previous moment, then
[0019] As a further optimization of the above technical solution, a water level detection accuracy evaluation index P is established according to the characteristics of the water level. a and P b , the expressions for measuring the difference between the slope and intercept of the predicted water level and the true value are Where a is the predicted slope value, b is the predicted intercept value, a′ is the true slope value, and b′ is the true intercept value.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] By setting a display unit, a power supply unit, a control unit, a water level sensor, a communication unit and a remote control terminal, the control unit receives a control command from the remote control terminal through a first RS485 module, and controls the water level sensor to collect water level data through a second RS485 module. The control unit sends the water level data to the display unit. The control unit receives a control command from the remote control terminal through the first RS485 module to control the operation of the display unit. The display unit displays different water level heights according to changes in the water level, thereby improving the detection accuracy of the water level control mode. At the same time, the water level detection system is integrated, has a light structure and is easy to assemble, thereby improving the accuracy and effectiveness of water level detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a structural block diagram of the water level detection device proposed by the present invention;
[0023] Figure 2 A circuit diagram of the main control circuit proposed by the present invention;
[0024] Figure 3 A circuit diagram of the watchdog circuit proposed by the present invention;
[0025] Figure 4 A circuit diagram of the output control circuit proposed by the present invention;
[0026] Figure 5 A circuit diagram of the indicator light proposed by the present invention;
[0027] Figure 6 A circuit diagram of a digital tube provided by the present invention;
[0028] Figure 7 A circuit diagram of a digital tube driving circuit proposed by the present invention;
[0029] Figure 8 The circuit diagram of the second RS485 module proposed by the present invention;
[0030] Fig. 9 A circuit diagram of a first wireless RS485 communication circuit proposed by the present invention;
[0031] Fig.10 A circuit diagram of a second wireless RS485 communication circuit proposed by the present invention;
[0032] Fig.11 A circuit diagram of the power supply unit proposed by the present invention;
[0033] Fig.12 This is a detection principle diagram of the pressure water level gauge proposed by the present invention;
[0034] Fig.13 This is a detection principle diagram of the radar water level meter proposed by the present invention;
[0035] Fig.14 This is a circuit diagram of the program download port proposed by the present invention.
[0036] The main component symbols are described as follows:
[0037] 100-display unit; 110-power supply unit; 120-control unit; 130-water level sensor; 150-remote control terminal; 160-first RS485 module; 170-second RS485 module; 180-main control circuit; 190-watchdog circuit; 200-output control circuit; 210-indicator light; 220-program download port; 230-digital tube; 240-digital tube drive circuit; 250-first wireless RS485 communication circuit; 260-second wireless RS485 communication circuit. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0039] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.
[0040] See also Figures 1 to 11 , the present invention provides a water level detection device, including a display unit 100, a power supply unit 110, a control unit 120, a water level sensor 130, a communication unit and a remote control terminal 150, wherein the control unit 120 and the display unit 100 are both connected to the power supply unit 110;
[0041] The communication unit includes a first RS485 module 160 and a second RS485 module 170, the remote control terminal 150 is connected to the control unit 120 via the first RS485 module 160, the control unit 120 is connected to the water level sensor 130 via the second RS485 module 170, and the control unit 120 is connected to the display unit 100;
[0042] The control unit 120 receives the control command of the remote control terminal 150 through the first RS485 module 160, and controls the water level sensor 130 to collect water level data through the second RS485 module 170, and the control unit 120 sends the water level data to the display unit 100;
[0043] The first RS485 module 160 includes a first wireless RS485 communication circuit 250 and a second wireless RS485 communication circuit 260. The first wireless RS485 communication circuit 250 and the second wireless RS485 communication circuit 260 have the same circuit structure. The first wireless RS485 communication circuit 250 is used for converting RF433 or LORA to RS485 signals, and the second wireless RS485 communication circuit 260 is used for converting 4G to RS485 signals. The first wireless RS485 communication circuit 250 includes a chip U25 of model MAX1487 and a chip U26 of model SM712, and the second RS485 module 170 includes a chip U22 of model MAX1487, three TVS diodes and two fuses.
[0044] In this embodiment, Figures 2 to 11 As shown, the control unit 120 includes a main control circuit 180, a watchdog circuit 190 and an output control circuit 200, and the watchdog circuit 190 and the output control circuit 200 are both connected to the main control circuit 180. The main control circuit 180 includes a chip U28 of model STC8A8K64D4, the watchdog circuit 190 includes a chip U30 of model STWD100NYWY3F, and the output control circuit 200 includes a chip U29 of model AO4800. The control unit 120 also includes an indicator light 210 and a program download port 220, and the indicator light 210 and the program download port 220 are both connected to the main control circuit 180, and the display unit 100 includes a digital tube 230 and a digital tube drive circuit 240, and the digital tube drive circuit 240 is connected to the control unit 120, and the digital tube 230 is connected to the digital tube drive circuit 240. The number of the digital tubes 230 and the digital tube driving circuits 240 is four. The digital tube driving circuit 240 includes a chip U17 with a model number of 74HC245, a TVS diode with a model number of SMBJ6.0CA, and a fuse with a model number of nSMD012. The power supply unit includes a diode, an SMD resistor, a transient suppression diode, a capacitor, a chip U27 and an inductor. The model of the chip U27 is L7805CDT.
[0045] It should be noted that the display unit 100 also includes a water level screen, which is connected to the digital tube 230. The water level screen is composed of a pattern screen, two 8-shaped screens, a dot 8-shaped screen, an M-shaped screen, a battery box and a solar panel. The wave-shaped pattern screen indicates that this screen is used to test the water level of the river; the height of the water level is displayed on a digital screen composed of an 8-shaped screen and a dot 8-shaped screen. Whenever the water level changes, the digital screen and the pattern screen on the engineering channel display screen will display different water level heights according to the change of the water level; the M-shaped screen is a unit of measurement screen, and the screen body is a box body spliced by aluminum plates, and the thickness of the aluminum plate is 1.5MM. The chassis of the water level screen is made of aluminum profiles, which is an aluminum profile mold, which is light and easy to assemble, and can be assembled by one person. The previous sheet metal material requires two people to coordinate the installation, making it modular. The water level screen in this embodiment can be produced quickly, greatly shortening the production cycle. Aluminum profiles are also convenient for customers to install and maintain later. In other words, the water level screen is composed of a pattern screen, two 88.8-character screens, an M-character screen, a battery box and three solar panels. The maximum water level height that can be displayed is 99.9m. It is mainly used to analyze the water level information and water level height of the river. Whenever the water level changes, the digital screen and pattern screen on the engineering channel display screen will display different water level heights according to the change of the water level. The control unit 120 is the core of the water level screen. It receives the instructions of the remote control terminal 150 through the first RS485 module 160, controls the operation of the water level screen, converts the collected water level data into display data, and then drives the LED dot matrix display. The power supply unit 110 supplies power to each unit in the system. The watchdog circuit 190 is used for timing monitoring, and the output control circuit 200 is used for data output of the main control circuit 180.
[0046] Among them, the display unit 100 includes a main screen and a sub-screen, and the main screen and the sub-screen have the same control card. The main control card SZ2 is disconnected, and the sub-control card is SZ2 short-circuited. The control unit 120 is a single-chip microcomputer, and the chip U28 is connected to the first wireless RS485 communication circuit 250 through RXD4 and TXD4, and the chip U28 is connected to the second wireless RS485 communication circuit 260 through RXD2 and TXD2. The chip U28 is connected to the second RS485 module 170 through TXD3, RXD3, RXD, and TXD. The chip U28 is connected to the watchdog circuit 190 through STWD_EN, STWD_WDI, and RESET, and the chip U28 is connected to the water level screen through SZ1 and SZ2. The chip U28 is connected to the output control circuit 200 through OUT1 and OUT2. Fig.14As shown, the chip U28 is connected to the program download port 220 through RXD and TXD, the chip U28 is connected to the indicator light 210 through COMM_LED and SYS_LED, the chip U28 is connected to one end of the signal acquisition module through ADCIN1 and ADCIN2, and the other end of the signal acquisition module is connected to the signal wiring port. The control unit 120 is connected to the power supply unit 110 through the power wiring port.
[0047] Among them, the control unit 120 is a single-chip microcomputer. When the single-chip microcomputer wants to send data, it controls A485 to be high level, and the data is sent out through TXD; when the single-chip microcomputer wants to receive data, it controls A485 to be low level, and the data is received back through RXD; when data comes in, the data will automatically go to the single-chip microcomputer through RXD, and when data needs to be sent, it will automatically be sent out through TXD. That is, it is only necessary to connect the RXD and TXD pins of the single-chip microcomputer, and there is no need to use the single-chip microcomputer pins to connect the DE and RE pins of the 485 chip. The 485 circuit of the 433 communication module is connected to the 433 module, and the 485 circuit of the water level sensor 130 is connected to the water level meter or water level device.
[0048] Specifically, Figure 6 and Figure 7 As shown, the digital tube 230 uses a common positive electrode, that is, the word code displayed by the 7-segment digital tube shares a positive terminal, and the digital tube driving circuit 240 connects the same-named terminals of the 8 display fields "a, b, c, d, e, f, g, h" of the digital tube together, and the common pole COM of each digital tube needs to add a bit selection control circuit controlled by each independent I / O line. When a certain glyph code is to be output, all digital tubes will receive the same glyph code, but which digital tube will display the glyph depends on the control of the single-chip microcomputer on the bit selection COM terminal circuit. When the selection control of the display digital tube 230 is turned on, the bit will display the glyph, and the digital tube 230 that is not selected will not light up. When voltage is applied to specific LED segments of the digital tube 230, these specific segments will light up, and when the lighting time of each digital tube is 1 to 20ms, due to the persistence of vision of human beings and the afterglow effect of the light-emitting diode, although the digital tubes are not actually lit at the same time, as long as the scanning speed is fast enough, the impression given is a set of stable display data without flickering, so that the effect of dynamic display is the same as that of static display, which can save a large number of I / 0 ports and has lower power consumption.
[0049] For practical application, refer to Fig.12 , the water level sensor is connected to the pressure water level meter, and the specific calculation process of water level detection is:
[0050] S1: distance from the upper bottom of the navigation hole to the water surface h: field measurement (fixed value);
[0051] S2: water level gauge depth D1, D2: real-time readings of water level gauge;
[0052] S3: Calculate the total installation depth of water level gauge 1 L1 = h + D1, and the total installation depth of water level gauge 2 L2 = h + D2, where L1 and L2 are measured on site. After confirmation, configure;
[0053] S4: real-time net height of upper bottom (calibrated, h1=h2), water level gauge 1 is h1=L1-D1, water level gauge 2 is h2=L2-D2;
[0054] S5: Report the real-time net height h'=L1-D1-X (X is the adjustable safety margin) (No. 1 water level gauge is used as the reference), and the upper bottom height H is provided by the user;
[0055] S6: Report the real-time water level (calibrated, w1=w2), water level 1 is w1=H-h1, water level 2 is w2=H-h2;
[0056] S7: Water level sensor installation tolerance configuration: When two sensors exceed the configured tolerance value (compared with h12 or w12), it is considered a fault and the sensor fault status is reported;
[0057] S8: Configuration parameters are as follows: L1, L2 (initially calculated), X, H.
[0058] See also Fig.13 The water level sensor is connected to the radar water level meter, and the specific calculation process of water level detection is:
[0059] S11: Measured upper bottom elevation real-time clear height h: measured height from water surface to upper bottom of navigation hole;
[0060] S12: water level gauge detection height D1, D2: water level gauge real-time data;
[0061] S13: Calculate the distance from the upper bottom of the navigation hole to the water level gauge L1 = D1-h, L2 = D2-h, where L1 and L2 are measured on site. After confirmation, configure;
[0062] S14: Upper bottom elevation H: The owner shall provide and report the real-time net height;
[0063] S15: h'=D1-L1-X (X is the adjustable safety margin) (No. 1 water level gauge is used as the reference);
[0064] S16: Report the real-time water level. Water level 1 is w1=H-(D1-L1), and water level 2 is w2=H-(D2-L2).
[0065] S17: Water level sensor installation tolerance configuration: When two sensors exceed the configured tolerance value (compared with h12, w12), it is considered a fault and the sensor fault status is reported;
[0066] S18: Configuration parameters are as follows: L1, L2 (initially calculated), X, H.
[0067] It should be understood that the water level screen is an important water level monitoring device for monitoring systems of rivers, lakes, reservoirs, artificial canals and other water bodies. It can monitor the water level according to the fluctuations of the water level or the tide level, such as the rise and fall. Whenever the water level changes, the digital screen and pattern screen on the engineering waterway display screen will show different water level heights according to the changes in the water level. The water level screen in this application has a novel and beautiful appearance design, and the edges and corners of the aluminum profile are rounded. The smooth angles can avoid injuries to people during assembly or installation (right angles are sharp corners that can easily hurt people), and meet the process and visual aesthetic requirements of the box. A separate chassis is designed for the system control part, which can reduce the weight of the water level screen itself, and at the same time facilitate the monitoring staff to maintain and maintain the system.
[0068] By setting up a display unit 100, a power supply unit 110, a control unit 120, a water level sensor 130, a communication unit and a remote control terminal 150, the control unit 120 receives a control instruction from the remote control terminal 150 to control the water level sensor 130 to collect water level data, the control unit 120 sends the water level data to the display unit 100, and the control unit 120 receives the control instruction from the remote control terminal 150 through the first RS485 module 160 to control the operation of the display unit 100, and the display unit 100 displays different water level heights according to changes in the water level, so that the water level control mode has higher accuracy, and at the same time, the water level detection system is integrated, with a light structure and convenient assembly, thereby improving the accuracy and effectiveness of water level detection.
[0069] In addition, the present invention further provides a water level detection device and an image acquisition device as described above, wherein the image acquisition device is communicatively connected to the remote control terminal, and the execution process of the image acquisition device includes:
[0070] The YOLOv5 algorithm is used to detect the water level, and the center point of the captured water level cat frame is linearly fitted to obtain the real water level. The Kalman filter is used to introduce the water level history information as prior knowledge.
[0071] Markers with obvious features and fixed positions in the collected images are selected and added to the deep learning network for training. When detecting the water level, the scale factor K of the pixel and the real length is converted in real time using the size of the marker, the pixel distance L of the water level marker is marked, and the actual water level elevation H is calculated by combining the real elevation H′ of the marker. Among them, the marker position is above the water body, so the actual water level elevation solution expression is: p represents the pixel length of the marker in the image, and r represents the actual length of the marker;
[0072] The image acquisition device sends the acquired image analysis results to the database.
[0073] In this embodiment, Kalman filtering is used to introduce water level history information as prior knowledge, including: the water level detection system corresponding to the preset YOLOv5 algorithm is a static system, and its state space model is in, The water level output result of the current state is determined by the water level estimate of the previous step. and the current measured value f(x n ) are jointly determined, then the state update equation of the system is Among them, the coefficient Kalman filter is denoted by K n ; According to the time span and water level fluctuation, the simplified state update equation is: Among them, σ n is the standard deviation of historical water level information, ε n is the current moment f(x n ) and the expected value of the water level at the previous moment, then After the water level image is extracted by the YOLOv5 benchmark network, it will output feature maps of large, medium and small scales. Among them, the large-scale feature map contains the least underlying features. The most high-level features contain more semantic information, but lack spatial location information; the small-scale feature map contains the most underlying features and the least high-level features, contains more spatial location information, but lacks semantic information; the medium-scale feature map is of good quality. YOLOv5 uses the FPN and PAN feature fusion modules to fuse the feature maps of the three scales, which has excellent target detection performance.
[0074] It should be noted that the water level detection accuracy evaluation index P is established according to the characteristics of the water level. a and P b , the expressions for measuring the difference between the slope and intercept of the predicted water level and the true value are Among them, a is the predicted slope value, b is the predicted intercept value, a′ is the true slope value, and b′ is the true intercept value. The water level cat box size is set to a medium-sized target (the water level just passes through the midpoint of the cat box when marking), corresponding to the mesoscale feature map, and the YOLOv5 network neck feature fusion network layer can be improved as follows: the two transfer nodes of the VOLOv5 small-scale feature map and the large-scale feature map are merged into the mesoscale feature map channel, and the mesoscale feature map is tightly and fully fused. At the same time, the convolution and pooling operations before the fusion of the original small-scale and large-scale feature maps are reduced, and the ability of the mesoscale feature map to transmit spatial information and detail information is improved. During the training process, the slope and intercept values of the water level are obtained by fitting the water level. The accuracy of the coordinate position of the network output prediction box will directly affect the accuracy of the fitted water level and intercept. By integrating and improving the YOLOv5 and Kalman filter principles, the accuracy of the prediction box is improved, thereby ensuring the accuracy of the water level slope and intercept.
[0075] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A water level detection device, characterized in that: It includes a display unit, a power supply unit, a control unit, a data transmission unit, a water level sensor, a communication unit and a remote control terminal, wherein the control unit and the display unit are both connected to the power supply unit; The communication unit includes a first RS485 module and a second RS485 module, the remote control terminal is connected to the control unit via the first RS485 module, the control unit is connected to the water level sensor via the second RS485 module, and the control unit is connected to the display unit; The control unit receives a control instruction from the remote control terminal to control the water level sensor to collect water level data, and the control unit sends the water level data to the display unit through the data transmission unit; The first RS485 module includes a first wireless RS485 communication circuit and a second wireless RS485 communication circuit. The circuit structures of the first wireless RS485 communication circuit and the second wireless RS485 communication circuit are the same. The first wireless RS485 communication circuit is used to convert RF433 or LORA to RS485 signals, and the second wireless RS485 communication circuit is used to convert 4G to RS485 signals. The first wireless RS485 communication circuit includes a chip U25 with a model of MAX1487 and a chip U26 with a model of SM712. The second RS485 module includes a chip U22, three TVS diodes and two fuses.
2. The water level detection device according to claim 1, characterized in that: The control unit comprises a main control circuit, a watchdog circuit and an output control circuit, and the watchdog circuit and the output control circuit are both connected to the main control circuit.
3. The water level detection device according to claim 2, characterized in that: The control unit also includes an indicator light and a program download port, and both the indicator light and the program download port are connected to the main control circuit.
4. The water level detection device according to claim 1, characterized in that: The display unit includes a digital tube and a digital tube driving circuit. The digital tube driving circuit is connected to the control unit. The digital tube is connected to the digital tube driving circuit. The number of the digital tube and the digital tube driving circuit is four.
5. The water level detection device according to claim 1, characterized in that: The power supply unit includes a diode, an SMD resistor, a transient suppression diode, a capacitor, a chip U27 and an inductor.
6. A water level detection system, characterized in that: The device comprises a water level detection device and an image acquisition device as described in any one of claims 1 to 5, wherein the image acquisition device is communicatively connected with the remote control terminal, and the execution process of the image acquisition device comprises: The YOLOv5 algorithm is used to detect the water level, and the center point of the captured water level cat frame is linearly fitted to obtain the real water level. The Kalman filter is used to introduce the water level history information as prior knowledge. Select the markers with obvious features and fixed positions in the collected images and add them to the deep learning network for training. When detecting the water level, use the marker size to convert the ratio coefficient K between pixels and real length in real time, mark the pixel distance L of the water level marker, and collect the real elevation H of the marker. ′ Calculate the actual water level H, where the marker is located above the water body. The actual water level is calculated as p represents the pixel length of the marker in the image, and r represents the actual length of the marker; The image acquisition device sends the acquired image analysis results to a database.
7. The water level detection system according to claim 6, characterized in that: Kalman filtering is used to introduce water level history information as prior knowledge, including: The water level detection system corresponding to the preset YOLOv5 algorithm is a static system, and its state space model is in, The water level output result of the current state is determined by the water level estimate of the previous step. and the current measured value f(x n ) are jointly determined, then the state update equation of the system is Among them, the coefficient Kalman filter is denoted by K n ; According to the time span and water level fluctuation, the simplified state update equation is: Among them, σ n is the standard deviation of historical water level information, ε n is the current moment f(x n ) and the expected value of the water level at the previous moment, then 8. The water level detection system according to claim 7, characterized in that: According to the characteristics of the water level line, the water level line detection accuracy evaluation index P is established a and P b , the expressions for measuring the difference between the slope and intercept of the predicted water level and the true value are Where a is the predicted slope value, b is the predicted intercept value, a′ is the true slope value, and b′ is the true intercept value.
Citation Information
Patent Citations
Conductive electronic water gauge and remote monitoring system thereof
CN109115303A
Water level monitoring method and water level monitoring system
CN114018360A
Water level height identification method and device, electronic equipment and storage medium
CN115393700A
Visual long-distance water level data acquisition terminal
CN202442748U
Water level alarm based on GSM
CN205679295U