Water level measuring method and device and medium
By using algorithmic models to calculate the water level height in the water level measuring instrument, the problems of accuracy redundancy and cost increase caused by magnetic encoder in the prior art are solved, and fast, accurate and low-cost water level measurement is achieved.
Patent Information
- Application Number
- CN202411382779.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-03-07
AI Technical Summary
The existing automatic water level measuring instrument cannot meet all detection environments due to the installation of magnetic encoder.
A water level measurement method is used to obtain the initial parameters and start-up time through the water level measuring instrument, and the water level height is quickly calculated using a preset algorithm model, avoiding the use of magnetic encoder.
Water level measurement without magnetic encoder is achieved, reducing cost and volume, simplifying the structure, and enabling rapid and accurate water level measurement.
Smart Images

Figure CN119573834A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water level measurement, and in particular to a water level measurement method, device and medium. Background Art
[0002] In recent years, with the popularization of the Internet of Things and the rapid development of automation equipment, the country is also constantly promoting the popularization of industrial digitalization. In the field of foundation pit monitoring, the efficiency and cost issues of manual operation have made automation equipment the trend of future measurement.
[0003] In terms of water level measurement, most of the measuring pipelines are still operated manually. The labor cost of manual operation is high, and data collection and integration are cumbersome. When measuring the water level, it is necessary to manually release and reel in the wires at regular intervals. In addition, due to the unstable factors of precipitation, manual operation may not be able to timely and effectively alarm and warn. Therefore, the automatic water level measuring instrument came into being, which can measure the changes in the dynamic water level. The automatic water level measuring instrument usually includes a roller, a motor, a traction line and a water level probe. One end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe. When the motor drives the roller to rotate, the traction line is reeled in or unreeled to realize the lifting and lowering of the water level probe, and the water level is calculated by the lifting and lowering distance of the water level probe. The existing automatic water level measuring instrument also includes a magnetic encoder, which measures the number of revolutions of the motor to calculate the lifting and lowering distance of the traction line and the water level probe. At this time, because the automatic water level measuring instrument is equipped with a magnetic encoder, the accuracy is redundant, the cost increases, and the volume increases. It may even be impossible to put it into the pipeline and cannot meet all detection environments. Summary of the invention
[0004] In order to overcome the above-mentioned shortcomings, the purpose of the present invention is to provide a water level measurement method, device and medium, which do not require a magnetic encoder to be additionally provided on the water level measuring instrument, and have a preset algorithm model to quickly calculate the water level and save costs.
[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is: a water level measurement method, using a water level measuring instrument, the water level measuring instrument includes a roller, a motor, a traction line and a water level probe, one end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe, when the motor drives the roller to rotate, the traction line is wound or unwound to raise or lower the water level probe, and the water level measurement method includes: Get the initial parameters and save them; Deploy an algorithm model, wherein the algorithm model includes a line-laying model and a line-retracting model; Acquire a first start-up time of the water level measuring instrument when measuring the water level for the first time, wherein the first start-up time is the start-up time of the motor when the water level probe moves from an initial position to when the water level probe touches the water surface; The first start-up time is input into a line-laying model, and the line-laying model calculates a first line-laying length when the traction line is released according to the first start-up time and initial parameters, and the first line-laying length is the water level height. The beneficial effects of the present invention are: abandoning the complex structure, no longer needing a magnetic encoder, only needing to obtain the unchanged initial parameters and the start-up time obtained in real time, and the water level measurement can be performed through the algorithm model arranged in advance. Furthermore, the traction line is completely wound around the roller to form a winding structure; The initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, and the roller diameter d when the roller is unloaded. min and the winding diameter d of the winding structure max ; The payout model includes a calculation formula for the payout length:
[0006] Wherein, t1 is the total start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface during the line release, K is the rate of change of the radius, .
[0007] Furthermore, the water level measurement method further includes a water level change monitoring step after calculating the first line length, and the water level change monitoring step includes: After a certain time interval, the water level measuring instrument is started to perform a second water level detection based on the position of the first water level measurement, and at this time, the water level detector releases or reels the line; Obtaining a second start-up time of the water level measuring instrument during the second water level measurement, wherein the second start-up time is the interval time from when the motor is started to when the water level probe touches the water surface; The algorithm model calculates a second line-release length or a second line-reeling length of the water level measuring instrument according to the first start-up time and the second start-up time; The difference between the second line-paying length or the second line-collecting length and the first line-paying length is calculated, and the difference is a water level change value.
[0008] Further, the algorithm model calculates the second line-release length or the second line-reeling length of the water level measuring instrument according to the first start-up time and the second start-up time, specifically including: When the water level detector is laying out a line within the second start-up time, the sum of the first start-up time and the second start-up time is input into a line-laying model to calculate a second line-laying length of the water level detector; When the water level detector is winding up within the second start-up time, the difference between the first start-up time and the second start-up time is input into a winding model to calculate a second winding length of the water level detector.
[0009] Depending on whether the line is being reeled in or released, different models are used to calculate the length of the guide line.
[0010] Furthermore, the initial parameters also include the speed n2 of the motor when winding the wire, and the winding model includes a calculation formula for the winding length:
[0011] Wherein, t2 is the total start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface during reeling.
[0012] The present invention also discloses a water level measuring device, including a water level measuring instrument and a host computer. The water level measuring instrument includes a roller, a motor, a traction line and a water level probe. One end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe. When the motor drives the roller to rotate, the traction line is wound or unwound to raise or lower the water level probe. The water level measuring instrument includes a timing unit, and the timing unit is used to calculate the start time. The start time is the interval time from the motor starting once to the water level probe touching the water surface. The host computer includes: A parameter storage module, wherein the parameter storage module is used to store the collected initial parameters; A model storage module, wherein the model storage module stores an algorithm model, wherein the algorithm model includes a line-laying model and a line-retrieving model, wherein the algorithm model and the line-retrieving model calculate the line-laying length of the traction line when laying out the traction line or the line-retrieving length of the traction line when retrieving the traction line according to the start time and initial parameters respectively during line-laying and line-retrieving; When releasing the line, the motor start time from the initial position of the water level probe to the time when the water level probe touches the water surface is input into the line-releasing model to obtain the line-releasing length of the water level measuring instrument, and the line-releasing length is the water level height.
[0013] Specifically, the traction line is completely wound around the roller to form a winding structure; the initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, the speed n2 of the motor when retracting the line, the roller diameter d when the roller is unloaded, and the initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, the speed n2 of the motor when retracting the line, and the roller diameter d when the roller is unloaded. min and the winding diameter d of the winding structure max ; The line-release model and the line-retrieving model respectively include a calculation formula L1(t1) for the line-release length and a calculation formula L2(t2) for the line-retrieving length.
[0014]
[0015] Wherein, t1 is the start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface when releasing the line; t2 is the start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface when reeling in the line; .
[0016] Furthermore, the host computer also includes a comparison module, which is used to calculate the difference between the line-release length or the line-reeling length during two adjacent water level measurements.
[0017] Furthermore, the host computer and the water level measuring instrument are connected in wireless or wired communication.
[0018] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a structural schematic diagram of the water level measuring instrument in the line-laying state in the first embodiment of the present invention; Figure 2 It is a structural schematic diagram of the water level measuring instrument in the initial position in the first embodiment of the present invention; Figure 3 The process in the first embodiment of the present invention Figure 1 ; Figure 4 The process in the first embodiment of the present invention Figure 2 ; Figure 5 The process in the first embodiment of the present invention Figure 3 ; Figure 6 is a function graph of a wire-laying model in the first embodiment of the present invention; Figure 7 is a function graph of a line-receiving model in the first embodiment of the present invention; Figure 8 This is a device block diagram in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0020] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0021] Embodiment 1 See attached Figure 1 and attached Figure 2As shown, the water level measuring instrument includes a roller 1, a motor 2, a traction line 3 and a water level probe 4. One end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe. When the motor drives the roller to rotate, the traction line is wound or unwound to raise or lower the water level probe. The water level probe can detect whether it has contacted the water surface. When it contacts the water surface, the water level probe sends a signal to the motor, and the motor stops working. In this embodiment, there is no need to set a magnetic encoder on the water level measuring instrument.
[0022] See attached Figure 3 As shown, a water level measurement method of the present invention comprises: S100, obtaining and saving initial parameters.
[0023] The initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, the speed n2 of the motor when retrieving the line, the roller diameter d when the roller is unloaded, min and the winding diameter d of the winding structure max , wherein the winding structure is a structure formed after the traction line is completely wound on the roller. These initial parameters are fixed and unchanged. Before the water level measuring instrument is packaged, these data are measured, saved and recorded.
[0024] The speed n1 and the speed n2 are both obtained when the motor power is healthy. Usually, the speed n1 and the speed n2 are different.
[0025] S200: deploy an algorithm model, where the algorithm model includes a line-laying model and a line-retracting model.
[0026] In this embodiment, the algorithm model is calculated in advance, saved and deployed. The algorithm model only calculates the length of the traction line when the traction line is released or the length of the traction line when the traction line is recovered through the line-release model and the line-recovery model according to the start-up time and initial parameters of the water level measuring instrument. The algorithm model in this embodiment can directly calculate the length of the traction line, that is, the water level height in this embodiment, according to the initial parameters and the start-up time of the water level measuring instrument.
[0027] S300, obtaining a first start-up time of the water level measuring instrument when measuring the water level for the first time, the first start-up time being the motor start-up time from the water level probe's initial position to the time when the water level probe touches the water surface.
[0028] The first start time is calculated by the built-in timing unit of the water level measuring instrument, which can record the start time of a single motor. The initial position is the position when the traction line is completely wound on the roller and has not yet been released. The first start time is the motor start time from the initial position, continuously releasing the line until the test probe touches the water surface.
[0029] S400, inputting the first start time into the line-laying model, and the line-laying model calculates the first line-laying length when the traction line is laid out according to the first start time and the initial parameters, and the first line-laying length is the water level height.
[0030] At this point, the water level measurement is completed. The present embodiment abandons the complex structure and no longer requires a magnetic encoder. It only requires obtaining the unchanged initial parameters and the start-up time in real time, and the water level measurement can be performed through the algorithm model arranged in advance.
[0031] According to the concept of rotation speed (how many revolutions per unit time) and the relationship between linear speed, the instantaneous pay-off speed can be obtained as follows: (t), is the circumference of a circle, (t) is the expression of the dynamic circumference, (t) is the instantaneous expression of the diameter changing with time t, which can be multiplied by the speed n to obtain the instantaneous linear velocity Because the roller has a width, after the roller is wound around the traction line, the diameter of the winding structure will change with the length of the line being paid out, and the diameter will gradually increase when the line is taken up, and the diameter will gradually decrease when the line is paid out.
[0032] Since distance is an integral of velocity, the line length L(t) can be expressed as d(t): (1) To obtain d(t), we need to estimate the rate of change K of the radius.
[0033] However, the total time for paying out or taking up the line is unknown, so we assume that the diameter of the roller when paying out or taking up the line is an average value, that is, .
[0034] At d = d avg If the total reeling / releasing time remains unchanged, This time T is approximately equal to the total operation time. Because the roller has a certain width and the rate of change is relatively small, the error of T can be almost ignored.
[0035] Therefore, if we continue to estimate the rate of change of the roller diameter, we can get the rate of change
[0036] Thus, for paying out the line deep into the pipe, the dynamic expression for the diameter is:
[0037] Substituting the diameter d(t) into the algebraic formula (1) of the wire-laying length L(t), we obtain the integral formula of a single variable and the calculation formula of the wire-laying length in the wire-laying model:
[0038] Wherein, t1 is the total start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface during the line release. The line release length, that is, the water level height, can be calculated by the calculation formula L1(t1) of the line release length.
[0039] Because the winding and unwinding are different, the pay-off model includes a calculation formula for the winding length:
[0040] Wherein, t2 is the total start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface during reeling.
[0041] In one embodiment, the water level in the pipe fluctuates, and the water level probe often needs to move up and down to monitor the distance change of the water level. Therefore, the water level measurement method further includes a water level change monitoring step after calculating the first pay-out length.
[0042] In one embodiment, see the attached Figure 4 As shown, the water level change monitoring steps include: S501. After the first water level measurement, reel in the line until the water level probe returns to the initial position.
[0043] S601. After an interval movement time, repeat steps S300-S400 to obtain a second line-laying length from the initial position to the water level during the second water level measurement, that is, the water level height obtained by the second water level measurement.
[0044] S701, calculate the difference between the water level heights of two water level measurements to obtain the water level difference.
[0045] However, this method requires the water level probe to be reset each time, which wastes time and motor power.
[0046] Therefore, in one embodiment, the water level change monitoring is performed based on the position of the last water level measurement, see the attached Figure 5 As shown, the water level change monitoring step includes: S500, after a certain time interval, the water level measuring instrument is started to perform a second water level detection based on the position of the first water level measurement, and the water level detector is releasing or retrieving the line at this time.
[0047] The water level has been measured during the first water level measurement, but the water level in the pipe may rise or fall. When the water level rises, the line is reeled in, and when the water level falls, the line is released. The interval time can be set manually.
[0048] S600, obtaining a second start-up time of the water level measuring instrument when measuring the water level for the second time, where the second start-up time is the interval time from when the motor starts to when the water level probe touches the water surface.
[0049] S700. The algorithm model calculates a second line-releasing length or a second line-retrieving length of the water level measuring instrument according to the first start-up time and the second start-up time.
[0050] When the water level detector is laying out the line during the second start-up time, the sum of the first start-up time and the second start-up time is input into the line-laying model to calculate the second line-laying length of the water level measuring instrument. At this time, the water level has dropped, and the test probe continues to drop to contact the water surface. When laying out the line, the line-laying model is still called, but at this time t1 is the sum of the first start-up time and the second start-up time.
[0051] When the water level detector is reeling in the second start-up time, the difference between the first start-up time and the second start-up time is input into the reeling model to calculate the second reeling length of the water level measuring instrument. At this time, the water level rises, and the test probe needs to move up to contact the water surface. When reeling in the line, the reeling model is called, but at this time t2 is the difference between the first start-up time and the second start-up time.
[0052] S800, calculating the difference between the second line-paying length or the second line-collecting length and the first line-paying length as a water level change value.
[0053] Repeat steps S500-S800 to monitor water level changes in real time. In one embodiment, the length L of the traction line and the diameter d of the roller when the roller is unloaded min and the winding diameter d of the winding structure max It is measured by measuring tools. The measuring tools are rulers, vernier calipers, etc. The speed n1 and speed n1 are the characteristics of the motor.
[0054] For example, the algorithm model is built using Matlab. In this embodiment, the length of the traction line L=7m, the roller diameter d min =14mm, winding diameter d max =34mm, the motor speed during winding is n1=204 (degree / s).
[0055] At this time, the theoretical instantaneous pay-off speed is: (204 / 360)*2*r=1.78*d=3.56*r(mm / s), r is the radius, r=d / 2, d avg=(14+34) / 2=24(mm), so the total take-up / release time is T=7000 / 1.78 / 24=164(s). At this time, K=(34-14) / 164=0.12(mm / s), r(t)=17-0.06t, so =60.52t1-0.107t1 2 At this time, the function graph of the calculation formula L1(t1) for the pay-out length can be found in the attached Figure 6 As shown, the horizontal axis is time and the vertical axis is the length of the wire. When t1=34.5s, L1(t1)=1960.58mm.
[0056] At this time, the motor speed n2 during unwinding is 0.45 rpm, so the total winding / unwinding time is T=7000 / 1.425 / 24=204.7(s). At this time, K=(34-14) / 204.7=0.1(mm / s), r(t)=7+0.05t, at this time =79.95t2+0.07125t2 2 At this time, the function graph of the calculation formula L2(t2) for the pay-out length can be found in the attached Figure 7 As shown, the horizontal axis is time and the vertical axis is the length of the wire. When t2=203.4s, L2(t2)=7005.55mm.
[0057] In this embodiment, the distance that the automated equipment retracts / releases the line in unit time can be accurately estimated, and the error of the actual release of 7m is within +-2cm, which can meet the requirements of automated water level measurement and does not require the addition of a magnetic encoder in the structure. This saves equipment space and cost compared to water level meters in the prior art.
[0058] Embodiment 2 A water level measuring device, including a water level measuring instrument and a host computer, see attached Figure 1 As shown, the water level measuring instrument includes a roller, a motor, a traction line and a water level probe. One end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe. When the motor drives the roller to rotate, the traction line is wound or unwound to raise or lower the water level probe. The water level measuring instrument includes a timing unit, which is used to calculate the start time, and the start time is the interval time from the start of the motor to the water level probe touching the water surface.
[0059] See attached Figure 8As shown, the host computer includes a parameter storage module, which is used to store the collected initial parameters; a model storage module, in which an algorithm model is stored, and the algorithm model includes a line-laying model and a line-reeling model. The algorithm model and the line-reeling model calculate the line-laying length of the traction line when laying out the line or the line-reeling length when reeling in the line according to the start time and the initial parameters during line-laying and line-reeling respectively; when laying out the line, the motor start time from the initial position of the water level probe to the time when the water level probe touches the water surface is input into the line-laying model to obtain the line-laying length of the water level measuring instrument, and the line-laying length is the water level height.
[0060] In this embodiment, the water level measuring instrument abandons the complex structure and no longer needs the magnetic encoder. It is quick and convenient to obtain data, and the algorithm model is used for rapid calculation, while simplifying the time cost of manual operation.
[0061] In one embodiment, because the test device can also measure the water level change in real time, the host computer also includes a comparison module, which is used to calculate the difference between the line length or the line length when two adjacent water level measurements are made. The difference is the liquid level difference. The traction line is completely wound on the roller to form a winding structure; the initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, the speed n2 of the motor when reeling in the line, and the roller diameter d when the roller is unloaded. min and the winding diameter d of the winding structure max ; The line-release model and the line-retrieving model respectively include a calculation formula L1(t1) for the line-release length and a calculation formula L2(t2) for the line-retrieving length.
[0062]
[0063] Wherein, t1 is the start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface when releasing the line; t2 is the start-up time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface when reeling in the line; .
[0064] In one embodiment, the host computer and the water level measuring instrument are connected by wireless communication, such as wireless, Bluetooth, etc., and the use environment of the device is more flexible. Of course, the host computer and the water level measuring instrument can also be connected by a data cable.
[0065] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the corresponding method embodiment, and it has the corresponding technical effects.
[0066] Embodiment 3 The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in the first embodiment are implemented.
[0067] In this embodiment, if the real-time data verification test method of the solid state drive is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0068] The above implementation modes are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the content of the present invention and implement it, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. A water level measurement method, using a water level measuring instrument, the water level measuring instrument includes a roller, a motor, a traction line and a water level probe, one end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe, when the motor drives the roller to rotate, the traction line is wound or unwound to raise or lower the water level probe, characterized in that: The water level measurement method comprises: Get the initial parameters and save them; Deploy an algorithm model, wherein the algorithm model includes a line-laying model and a line-retracting model; Acquire a first start-up time of the water level measuring instrument when measuring the water level for the first time, wherein the first start-up time is the start-up time of the motor when the water level probe moves from an initial position to when the water level probe touches the water surface; The first start-up time is input into a line-laying model, and the line-laying model calculates a first line-laying length when the traction line is released according to the first start-up time and initial parameters, and the first line-laying length is the water level height.
2. The water level measurement method according to claim 1, characterized in that: The traction line is completely wound around the roller to form a winding structure; The initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, and the roller diameter d when the roller is unloaded. min and the winding diameter d of the winding structure max ; The payout model includes a calculation formula for the payout length: Wherein, t1 is the total starting time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface during the line release, K is the rate of change of the radius, .
3. The water level measurement method according to any one of claims 1-2, characterized in that: The water level measurement method further comprises a water level change monitoring step after calculating the first pay-out length, the water level change monitoring step comprising: After a certain time interval, the water level measuring instrument is started to perform a second water level detection based on the position of the first water level measurement, and at this time, the water level detector releases or reels the line; Obtaining a second start-up time of the water level measuring instrument during the second water level measurement, wherein the second start-up time is the interval time from when the motor is started to when the water level probe touches the water surface; The algorithm model calculates a second line-release length or a second line-reeling length of the water level measuring instrument according to the first start-up time and the second start-up time; The difference between the second line-paying length or the second line-collecting length and the first line-paying length is calculated, and the difference is a water level change value.
4. The water level measurement method according to claim 3, characterized in that: The algorithm model calculates the second line-release length or the second line-retracting length of the water level measuring instrument according to the first start-up time and the second start-up time, specifically comprising: When the water level detector is laying out a line within the second start-up time, the sum of the first start-up time and the second start-up time is input into a line-laying model to calculate a second line-laying length of the water level detector; When the water level detector is winding up within the second start-up time, the difference between the first start-up time and the second start-up time is input into a winding model to calculate a second winding length of the water level detector.
5. The water level measurement method according to claim 1, characterized in that: The initial parameters also include the speed n2 of the motor when winding the wire, and the winding model includes a calculation formula for the winding length: Wherein, t2 is the total starting time of the motor from the initial position of the water level probe to the time when the water level probe touches the water surface during reeling.
6. A water level measuring device, comprising a water level measuring instrument and a host computer, wherein the water level measuring instrument comprises a roller, a motor, a traction line and a water level probe, wherein one end of the traction line is fixed on the roller, and the other end is fixedly connected to the water level probe, and when the motor drives the roller to rotate, the traction line is wound or unwound to raise or lower the water level probe, characterized in that: The water level measuring instrument includes a timing unit, which is used to calculate the start-up time, and the start-up time is the interval time from the motor starting once to the water level probe touching the water surface. The host computer includes: A parameter storage module, wherein the parameter storage module is used to store the collected initial parameters; A model storage module, wherein the model storage module stores an algorithm model, wherein the algorithm model includes a line-laying model and a line-retrieving model, wherein the algorithm model and the line-retrieving model calculate the line-laying length of the traction line when laying out the traction line or the line-retrieving length of the traction line when retrieving the traction line according to the start time and initial parameters respectively during line-laying and line-retrieving; When releasing the line, the motor start time from the initial position of the water level probe to the time when the water level probe touches the water surface is input into the line-releasing model to obtain the line-releasing length of the water level measuring instrument, and the line-releasing length is the water level height.
7. The water level measuring device according to claim 6, characterized in that: The traction line is completely wound on the roller to form a winding structure; the initial parameters include the length L of the traction line, the speed n1 of the motor when releasing the line, the speed n2 of the motor when reeling in the line, and the roller diameter d when the roller is unloaded. min and the winding diameter d of the winding structure max ; The line-release model and the line-retrieving model respectively include a calculation formula L1(t1) for the line-release length and a calculation formula L2(t2) for the line-retrieving length. Wherein, t1 is the start-up time of the motor when the water level probe moves from the initial position to the time when the water level probe touches the water surface during the line release; t2 is the start-up time of the motor when the water level probe moves from the initial position to the time when the water level probe touches the water surface during the line reeling; .
8. The water level measuring device according to claim 6, characterized in that: The host computer further comprises a comparison module, which is used for calculating the difference between the line-release length or the line-retracting length during two adjacent water level measurements.
9. The water level measuring device according to claim 6, characterized in that: The host computer and the water level measuring instrument are connected by wireless or wired communication.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.