A calibration method and calibration system for open channel flow measurement
Through iterative algorithms to adjust the number and spacing of ultrasonic sensors, the problem of unscientific ultrasonic sensor distribution design in the existing technology is solved, and accurate measurement of open channel flow metering is achieved.
Patent Information
- Application Number
- CN202111582362.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-12-22
AI Technical Summary
The existing ultrasonic sensor distribution design lacks scientific basis in open channel flow metering, and cannot provide the best sensor distribution, affecting the accuracy of flow metering.
By presetting the number and spacing parameters of the speed measurement sensor, the measurement is performed in the set flow state, the error between the flow meter measured value and the standard table flow value is compared, and the sensor is adjusted using iterative algorithms (such as least squares method or neural network algorithm) Quantity and spacing until the error is within the preset range, achieving optimal distribution.
The detection accuracy of the ultrasonic open channel flow metering device is improved, ensuring the optimization of sensor distribution, and thus improving the accuracy of flow metering.
Smart Images

Figure CN114235107B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water conservancy engineering, and in particular to a calibration method and a calibration system for open channel flow measurement. Background Art
[0002] Open channel flow has a free surface. Each point on the surface is affected by atmospheric pressure, and its relative pressure is zero, so it is also called pressure-free flow. Open channel flow is widely present in nature and is widely used in industrial wastewater, urban sewage, agricultural irrigation and highway drainage systems. According to the definition of hydraulics, open channel flow can be divided into uniform flow and non-uniform flow according to whether its streamlines are parallel straight lines. The study of open channel flow state is an important part of water conservancy engineering research.
[0003] At present, the open channel flow measurement tank is used to simulate the open channel flow state, and the method is to first layer and measure the velocity with ultrasound, and then integrate the layer velocity and the corresponding layer area to obtain the flow measurement. Specifically, the distribution of ultrasonic sensors, including the number and layer spacing, is one of the key factors for the flow measurement accuracy.
[0004] The existing distribution of ultrasonic sensors is mainly based on experience or owner requirements, which is not only insufficient but also unable to provide the best sensor distribution design.
[0005] Therefore, how to provide a calibration method for open channel flow measurement to obtain the optimal distribution of acoustic wave sensors is an urgent problem to be solved by personnel in this technical field. Summary of the invention
[0006] In view of this, the present invention provides a calibration method for open channel flow measurement to obtain the optimal distribution of acoustic wave sensors. In addition, the present invention also provides a calibration system for open channel flow measurement.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A calibration method for open channel flow measurement, comprising:
[0009] Preset the number of speed sensors and the spacing parameters of adjacent speed sensors in the height direction;
[0010] The flow measurement value is obtained by measuring the flow rate under the set flow state using the above parameters;
[0011] Compare the flow measurement value with the preset standard flow value to obtain the error value, and determine the size of the error value and the error range;
[0012] When the error value is not within the error range, the error is taken as a target, the spacing parameters are changed in sequence by an iterative algorithm in the direction of gradient descent to reduce the error value, and the number of speed sensors arranged along the height direction is changed in sequence by an iterative algorithm to reduce the error value until the error value is within the error range;
[0013] When the error value is within the error value range, the corresponding number and spacing parameters of the speed measuring sensors are output.
[0014] Preferably, in the above-mentioned calibration method for open channel flow measurement, the iterative algorithm is a least squares method or a neural network algorithm.
[0015] Preferably, in the above-mentioned open channel flow measurement calibration method, the standard meter flow value is a value measured by an ultrasonic electromagnetic flowmeter.
[0016] Preferably, in the above-mentioned open channel flow metering calibration method, the changing of the spacing parameter is achieved by controlling the height of the speed sensor by a motor.
[0017] A system for measuring and calibrating open channel flow, comprising:
[0018] frame;
[0019] A speed sensor capable of being raised and lowered along the height direction of the frame;
[0020] A processor, wherein the processor measures under a set flow state according to the number of preset speed sensors and the spacing parameters of adjacent speed sensors in the height direction to obtain a flow metering measurement value; compares the flow metering measurement value with the preset standard table flow value to obtain an error value, and determines the size of the error value and the error range; when the error value is not within the error range, takes the error as a target, changes the spacing parameters in turn in the gradient descent direction through an iterative algorithm to reduce the error value, and changes the number of speed sensors arranged in the height direction through an iterative algorithm to reduce the error value until the error value is within the error range; when the error value is within the error value range, outputs the corresponding number and spacing parameters of the speed sensors.
[0021] Preferably, the above-mentioned open channel flow measurement and calibration system further includes: a driving transmission device, which is in driving connection with the speed sensor and drives the speed sensor to move along the height direction of the frame.
[0022] Preferably, in the above-mentioned open channel flow measurement and calibration system, the driving transmission device includes:
[0023] A guide rail arranged along the height direction of the rack;
[0024] A drive motor, the drive motor being connected to the processor signal;
[0025] A transmission mechanism is connected to the driving motor, and the transmission mechanism is connected to the speed sensor, and is used to drive the speed sensor to move along the guide rail.
[0026] Preferably, in the above-mentioned open channel flow measurement and calibration system, the transmission mechanism comprises:
[0027] A worm gear drivingly connected to the driving motor and a turbine gear meshing with the worm gear;
[0028] A lead screw is arranged along the height direction of the frame, the lead screw is meshed with the internal teeth of the turbine for transmission, and a nut matched with the lead screw is connected to the speed sensor.
[0029] Preferably, in the above-mentioned open channel flow measurement and calibration system, the speed sensor is fixedly connected to the nut through a frame, and is slidably connected to the guide rail through the frame.
[0030] Preferably, in the above-mentioned open channel flow measurement and calibration system, the driving transmission device corresponds one-to-one to the speed sensor.
[0031] The present invention provides a calibration method for open channel flow measurement, in which a velocity sensor is set as a highly adjustable structure, and the spacing and number of the velocity sensors are continuously adjusted through an iterative algorithm, and finally the optimal distribution of the velocity sensors in different boxes is obtained, thereby improving the detection accuracy of the ultrasonic open channel flow metering device.
[0032] In addition, the present invention also provides a calibration system for open channel flow measurement, which includes the above-mentioned calibration method. Therefore, the calibration system for ultrasonic open channel flow measurement also has all the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 It is a flow chart of a calibration method for open channel flow measurement disclosed in an embodiment of the present invention;
[0035] Figure 2 It is a structural schematic diagram of a calibration system for open channel flow measurement disclosed in an embodiment of the present invention;
[0036] Figure 3It is a schematic diagram of the arrangement structure of a single-layer velocity sensor of a calibration system for open channel flow measurement disclosed in an embodiment of the present invention;
[0037] Figure 4 It is a partially enlarged view of the calibration system for open channel flow metering disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The invention discloses a calibration method for open channel flow measurement to obtain the optimal distribution of acoustic wave sensors. In addition, the invention also discloses a calibration system for open channel flow measurement.
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] like Figure 1 As shown, the present application discloses a calibration method for open channel flow measurement, which specifically includes the following process:
[0041] Step S1: preset the number of speed sensors and the spacing parameters of adjacent speed sensors along the height direction.
[0042] The number of velocity sensors and the distance between them can be preset based on experience. When obtaining flow measurement, the water flow is first layered and then the velocity sensor is used to measure the velocity of each layer, and then the flow measurement is obtained by integrating the layer velocity and the corresponding layer area. Therefore, the layer spacing of the velocity sensor needs to be preset, and the optimal position is obtained through subsequent calculations.
[0043] Step S2: Calculate and obtain the flow measurement value.
[0044] After adopting the above-mentioned preset number of velocity sensors and spacing parameters in the height direction, measurements are performed under the set flow state to obtain flow measurement values. The specific calculation process is: the flow measurement is obtained by integrating the laminar flow velocity and the corresponding layer area.
[0045] Step S3: Calculate the error.
[0046] Compare the flow measurement value with the preset standard flow value to obtain the error value, and determine the size of the error value and error range:
[0047] When the error value is not within the error range, the error is taken as the target, the spacing parameters are changed in sequence by an iterative algorithm in the direction of gradient descent to reduce the error value, and the number of speed sensors arranged along the height direction is changed in sequence by an iterative algorithm to reduce the error value until the error value is within the error range;
[0048] When the error value is within the error value range, the corresponding number and spacing parameters of the speed measuring sensors are output.
[0049] In this application, the speed sensor is set as a highly adjustable structure, and through an iterative algorithm, the spacing and number of the speed sensors are continuously adjusted, and finally the optimal distribution of the speed sensors in different boxes is obtained, thereby improving the detection accuracy of the ultrasonic open channel flow metering device.
[0050] In a specific embodiment, the iterative algorithm involved in the calibration method of the open channel flow metering can be a least square method or a neural network algorithm. The specific iterative algorithm can be adjusted continuously according to the set spacing to continuously reduce the error. When the error is at the minimum error obtained by adjusting the spacing, the error can be further reduced by changing the number of speed sensors. In practice, the optimal configuration can also be obtained by exhaustive enumeration.
[0051] In a preferred embodiment, the above-mentioned standard meter flow value may be a value measured by an ultrasonic electromagnetic flow meter or a value preset by a person skilled in the art.
[0052] The change of the spacing parameter can be achieved by controlling the height of the speed sensor through a motor, that is, the speed sensor is driven by a motor to control the lifting and lowering of the speed sensor, thereby changing the height direction spacing of the speed sensor. In practice, the height of the speed sensor can also be changed manually.
[0053] like Figure 2 and Figure 3 As shown, on this basis, the present application also discloses a system for open channel flow measurement and calibration, which specifically includes: a frame 5, a speed sensor 3 that can be raised and lowered along the height direction of the frame 5, and a processor. Among them, the frame 5 serves as the installation base of the entire calibration structure, and its size and shape are not limited. In practice, the frame 5 can be installed in an ultrasonic open channel flow measurement water tank, which can be a box structure or a frame structure. The above-mentioned speed sensor 3 serves as the core component of the ultrasonic open channel flow measurement water tank. It measures the flow velocity of each layer of water flow through ultrasound and obtains the required flow measurement through calculation. The core of this application is that the speed sensor 3 can be raised and lowered along the height direction. The height involved in this application is in the direction perpendicular to the water flow plane. The flow velocity of different layers of the water flow can be measured by raising and lowering the speed sensor 3.
[0054] The processor in the present application measures under a set flow state according to the number of preset speed sensors 3 and the spacing parameters of the adjacent speed sensors 3 in the height direction to obtain a flow metering measurement value; compares the flow metering measurement value with the preset standard table flow value to obtain an error value, and judges the size of the error value and the error range; when the error value is not within the error range, takes the error as the target, changes the spacing parameters in turn in the gradient descent direction through an iterative algorithm to reduce the error value, and changes the number of speed sensors in turn through an iterative algorithm to reduce the error value until the error value is within the error range; when the error value is within the error value range, outputs the corresponding number and spacing parameters of the speed sensors 3.
[0055] By setting the automatic calculation of the processor, the optimal number and spacing parameters of the speed measuring sensors 3 corresponding to the ultrasonic open channel flow measuring water tank can be directly output. The operator sets the corresponding ultrasonic open channel flow measuring water tank according to the obtained parameters, thereby obtaining a calibrated ultrasonic open channel flow measuring water tank to ensure the accuracy of the customized ultrasonic open channel flow measuring water tank.
[0056] On the basis of the above technical solution, the present application further provides a driving transmission device, which is in driving connection with the speed sensor 3 and drives the speed sensor 3 to move along the height direction of the frame 5. By providing the driving transmission device, the speed sensor 3 can be automatically driven in the height direction, replacing manual adjustment, thereby reducing the labor intensity of the operator.
[0057] In a specific embodiment, the above-mentioned driving transmission device includes: a guide rail 1, a driving motor 7 and a transmission mechanism, wherein the guide rail 1 is arranged along the height direction of the frame 5, and the guide rail 1 guides the movement of the speed sensor 3. The size and shape of the guide rail 1 are not limited here; in order to prevent the speed sensor 3 from tilting when moving, preferably, the guide rail 1 can be set to two and arranged symmetrically about the speed sensor 3. The above-mentioned driving motor 7 is connected to the processor signal. When it is judged that the error value is not within the error range, the driving motor 7 is controlled to start driving the speed sensor 3 to move in the direction of the error gradient decrease. The moving distance needs to be combined with the number of layers set by the ultrasonic open channel flow measurement tank. The specific moving distance can be set according to different needs and is within the protection range. The above-mentioned transmission mechanism is connected to the driving motor 7, and the transmission mechanism is connected to the speed sensor 3, which is used to drive the speed sensor 3 to move along the guide rail 1. The driving structure of the speed sensor 3 is defined here, and the transmission connection is performed through the transmission mechanism. In practice, the driving transmission device can also be set as a cylinder structure, and the position of the speed sensor 3 is changed by the extension and contraction of the cylinder rod.
[0058] In a further embodiment, the transmission mechanism includes a worm gear structure and a lead screw nut structure, wherein the worm gear 6 is transmission-connected with the drive motor 7. Specifically, the worm gear 6 is connected with the output shaft of the drive motor 7 via a coupling, and the worm gear 6 is meshed with the worm gear 4 for transmission.
[0059] The lead screw 2 is arranged along the height direction of the frame 5, and the lead screw 2 is meshed with the internal teeth of the turbine 4 for transmission. Specifically, the inner diameter of the turbine 4 is provided with threaded teeth that match the lead screw 2, that is, when the worm 6 drives the turbine 4 to rotate, the turbine 4 drives the lead screw 2 to rotate, and the nut 8 that matches the lead screw 2 is connected to the speed sensor 3. Through the rotation of the lead screw 2 and the position limitation of the speed sensor 3 on the guide rail 1, the nut 8 makes a linear motion along the lead screw 2, so as to adjust the height of the speed sensor 3. It can be understood by those skilled in the art that for the lead screw nut structure, the nut 8 can also be set to rotate while the lead screw 2 makes a linear motion. It should be noted that the speed sensor 3 can be connected to the component that makes a linear motion.
[0060] In a further embodiment, the speed sensor 3 is fixedly connected to the nut 8 through the frame 5, and is slidably connected to the guide rail 1 through the frame 5. The frame 5 is used to limit the speed sensor 3 by the guide rail 1, so that the speed sensor 3 can be prevented from rotating with the nut 8, thereby limiting the rotation of the nut 8 and realizing linear motion. The sliding connection between the speed sensor 3 and the guide rail 1 can also be achieved in other ways, all of which are within the protection range.
[0061] Since multiple speed sensors 3 are set in the open channel flow measurement water tank in practice, in a specific embodiment, the driving transmission device can be set in a one-to-one correspondence with the speed sensor 3. Since there are multiple speed sensors 3, and there are multiple combinations of the spacing between adjacent speed sensors 3, there will be multiple different combinations in the iteration process, which can be tested multiple times in an exhaustive manner, or iterated in the direction of gradient descent with error as the target. Specifically, in operation, since there are multiple speed sensors 3, there will be multiple corresponding spacings. During operation, one of the spacings can be iteratively calculated first, and after obtaining the optimal spacing, the other spacings can be iterated one by one.
[0062] In the device of the present scheme, the disclosed speed sensor is an ultrasonic sensor, and the ultrasonic sensor includes a first transducer and a second transducer constituting an ultrasonic channel, and the first transducer and the second transducer are respectively located at two ends of the box in the horizontal direction, and the first transducer and the second transducer are located in the same horizontal plane and move synchronously along the guide rail.
[0063] When ultrasound propagates in a fluid, the propagation speed of the ultrasonic signal in the downstream and upstream is different. This difference in speed leads to a difference in the propagation time of the ultrasonic wave. The ultrasonic sensor uses this characteristic of ultrasonic time difference to measure the speed of the fluid and then obtain the flow rate.
[0064] The working mechanism of the ultrasonic channel is that the first transducer transmits an ultrasonic signal, and the time when the second transducer receives the transmitted signal is td; then the second transducer transmits a signal, and the time when the first transducer receives the transmitted signal is tu. The flow velocity v of the water flow is calculated based on the downstream time td and the upstream time tu of the ultrasonic wave in the water flow:
[0065] v=L*(tu-td) / 2tu*td*cosα; wherein α is the angle between the ultrasonic channel and the water flow direction, and L is the distance between the first transducer and the second transducer.
[0066] In a specific embodiment, the first transducer and the second transducer can be arranged along the diagonal line of the box to extend the distance of sound wave transmission and improve the accuracy of detection. The angle between the ultrasonic channel and the water flow direction can be determined according to different situations.
[0067] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0068] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A calibration method for open channel flow measurement, characterized in that: include: Preset the number of speed sensors and the spacing parameters of adjacent speed sensors in the height direction; The flow measurement value is obtained by measuring the above parameters under the set flow state. In the process of obtaining the flow measurement value, the water flow is layered and the velocity sensor is used to measure the velocity of each layer to obtain the laminar flow velocity of each layer. The laminar flow velocity and the corresponding layer area are integrated to obtain the flow measurement value; Compare the flow measurement value with the preset standard flow value to obtain the error value, and determine the size of the error value and the error range; When the error value is not within the error range, the error is taken as a target, the spacing parameters are changed in sequence by an iterative algorithm in the direction of gradient descent to reduce the error value, and the number of speed sensors arranged along the height direction is changed in sequence by an iterative algorithm to reduce the error value until the error value is within the error range; When the error value is within the error value range, the corresponding number and spacing parameters of the speed measuring sensors are output.
2. The calibration method for open channel flow measurement according to claim 1, characterized in that: The iterative algorithm is a least squares method or a neural network algorithm.
3. The calibration method for open channel flow measurement according to claim 1, characterized in that: The standard flow rate value is a value measured by an ultrasonic electromagnetic flowmeter.
4. The calibration method for open channel flow measurement according to claim 1, characterized in that: The changing of the spacing parameter is achieved by controlling the height of the speed sensor through a motor.
5. A system for measuring and calibrating open channel flow, characterized in that: include: Rack (5); A speed sensor (3) capable of being raised and lowered along the height direction of the frame (5); A processor, wherein the processor performs measurement under a set flow state according to the number of preset velocity sensors (3) and the spacing parameters of adjacent velocity sensors (3) in the height direction to obtain a flow metering measurement value, and in the process of obtaining the flow metering measurement value, the water flow is layered and the velocity sensor is used to measure the velocity of each layer to obtain the laminar flow velocity of each layer, and the laminar flow velocity and the corresponding layer area are integrated to obtain the flow metering measurement value; the flow metering measurement value is compared with the preset standard table flow value to obtain an error value, and the size of the error value and the error range is determined; When the error value is not within the error range, taking the error as the target, the spacing parameters are changed in sequence in the gradient descent direction through an iterative algorithm to reduce the error value, and the number of speed sensors arranged along the height direction is changed in sequence through an iterative algorithm to reduce the error value until the error value is within the error range; when the error value is within the error value range, the corresponding number and spacing parameters of the speed sensors are output.
6. The open channel flow measurement and calibration system according to claim 5, characterized in that: Also includes: A driving transmission device is connected to the speed sensor (3) in driving connection, and drives the speed sensor (3) to move along the height direction of the frame (5).
7. The open channel flow measurement and calibration system according to claim 6, characterized in that: The drive transmission device comprises: A guide rail (1) arranged along the height direction of the frame (5); A drive motor (7), the drive motor (7) being connected to the processor signal; A transmission mechanism is connected to the drive motor (7), and the transmission mechanism is connected to the speed sensor (3), and is used to drive the speed sensor (3) to move along the guide rail (1).
8. The open channel flow measurement and calibration system according to claim 7, characterized in that: The transmission mechanism comprises: a worm (6) drivingly connected to the driving motor (7) and a turbine (4) meshingly driving with the worm (6); A lead screw (2) is arranged along the height direction of the frame (5), the lead screw (2) is meshed with the internal teeth of the turbine (4) for transmission, and a nut (8) matched with the lead screw (2) is connected to the speed sensor (3).
9. The open channel flow measurement and calibration system according to claim 8, characterized in that: The speed sensor (3) is fixedly connected to the nut (8) via the frame (5), and is slidably connected to the guide rail (1) via the frame (5).
10. The open channel flow measurement and calibration system according to any one of claims 6 to 9, characterized in that: The driving transmission device corresponds one to one to the speed measuring sensor (3).
