CN112596130A - Method, device, system, equipment and storage medium for testing rain gauge - Google Patents

Method, device, system, equipment and storage medium for testing rain gauge Download PDF

Info

Publication number
CN112596130A
CN112596130A CN202011405807.5A CN202011405807A CN112596130A CN 112596130 A CN112596130 A CN 112596130A CN 202011405807 A CN202011405807 A CN 202011405807A CN 112596130 A CN112596130 A CN 112596130A
Authority
CN
China
Prior art keywords
rain gauge
water injection
water
injection amount
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011405807.5A
Other languages
Chinese (zh)
Other versions
CN112596130B (en
Inventor
林坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202011405807.5A priority Critical patent/CN112596130B/en
Publication of CN112596130A publication Critical patent/CN112596130A/en
Application granted granted Critical
Publication of CN112596130B publication Critical patent/CN112596130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W1/00Meteorology
    • G01W1/18Testing or calibrating meteorological apparatus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Environmental & Geological Engineering (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Atmospheric Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Ecology (AREA)
  • Environmental Sciences (AREA)
  • Control Of Positive-Displacement Pumps (AREA)

Abstract

The application provides a method, a device, a system, equipment and a storage medium for testing a rain gauge, which are used for improving the efficiency of testing the rain gauge. The method comprises the following steps: receiving at least one set of operating parameters of the peristaltic pump; controlling the peristaltic pump to sequentially operate according to each group of working parameters in the at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters; acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively; outputting a test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount; and the test result is used for indicating whether the rain gauge to be tested meets the rain gauge precision standard or not.

Description

Method, device, system, equipment and storage medium for testing rain gauge
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a device, and a storage medium for testing a rain gauge.
Background
In the fields of meteorology, hydrology, and the like, it is generally necessary to measure the amount of rainfall in a certain area using a rain gauge. The types of the rain gauge include various types, for example, a siphon type rain gauge, a dump box type rain gauge, a weighing type rain gauge, a double valve capacity gate type rain gauge, and the like. In order to make the rainfall measured by the rain gauge more accurate, the accuracy of the rainfall needs to be tested before the rain gauge is used.
However, the traditional method for testing the rain gauge is that a tester measures a certain amount of water through a measuring cup and pours the water into the rain gauge, and the tester compares the amount of water displayed by the rain gauge with the amount of water measured by the measuring cup. Through the comparison results for many times, the tester can determine the accuracy of the rain gauge. Therefore, in the test process, the tester is required to continuously measure the water quantity, read the water quantity displayed by the rain gauge and compare the water quantity displayed by the rain gauge with the water quantity measured by the measuring cup, so that the efficiency of testing the rain gauge is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, a system, equipment and a storage medium for testing a rain gauge, which are used for improving the efficiency of testing the rain gauge.
In a first aspect, a method of testing a rain gauge is provided, comprising:
receiving at least one set of operating parameters of the peristaltic pump; the peristaltic pump is used for pumping water from the water reservoir and injecting water into the rain gauge to be tested;
controlling the peristaltic pump to sequentially operate according to each group of working parameters in the at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters; wherein the water injection amount is the water amount measured by the rain gauge to be tested;
acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively; wherein the reference water injection amount is the amount of water pumped by the peristaltic pump when operating at the at least one set of operating parameters;
outputting a test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount; and the test result is used for indicating whether the rain gauge to be tested meets the rain gauge precision standard or not.
Optionally, before obtaining the accuracy of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts respectively corresponding thereto, the method further includes:
controlling the peristaltic pump to sequentially operate with each group of reference working parameters in at least one group of reference working parameters, and injecting water into the calibrated measurer to obtain reference water injection amount corresponding to each group of reference working parameters; wherein the reference water injection amount is the water amount measured by the measurer;
fitting a water injection model of the peristaltic pump according to the at least one group of reference working parameters and the reference water injection quantities respectively corresponding to the at least one group of reference working parameters; the water injection quantity model is used for representing the corresponding relation between any working parameter and reference water injection quantity within a preset working parameter range.
Optionally, the working parameters include the rotation speed and the working duration of the peristaltic pump, the peristaltic pump is controlled to operate according to each group of working parameters in the at least one group of working parameters in sequence, water is injected into the rain gauge to be tested, and the water injection amount corresponding to each group of working parameters is obtained, and the method specifically includes the following steps:
controlling the peristaltic pump to sequentially pump water from the reservoir at the rotating speed included by each group of working parameters in the at least one group of working parameters, filling water into the rain gauge to be tested, and starting timing;
when the end time of the working duration included by the working parameters is reached, controlling the peristaltic pump to stop injecting water, obtaining the output value of the rain gauge to be tested, and controlling the rain gauge to be tested to discharge water to the reservoir;
and obtaining the water injection amount corresponding to each group of working parameters according to the output values of the rain gauges to be tested corresponding to each group of working parameters.
Optionally, the output value of the rain gauge to be tested is the number of output pulses of the rain gauge to be tested, and the water injection amount corresponding to each group of working parameters is obtained, which specifically includes:
when the water quantity injected into the rain gauge to be tested reaches the water injection quantity resolution ratio, obtaining output pulses of the rain gauge to be tested, and when the peristaltic pump stops injecting water, determining the number of the output pulses of the rain gauge to be tested; wherein the water injection amount resolution represents the minimum value of the water injection amount which can be measured by the rain gauge to be tested;
and determining the water injection amount corresponding to each group of working parameters according to the product of the number of the output pulses of the rain gauge to be tested corresponding to each group of working parameters and the water injection amount resolution.
Optionally, according to at least one water injection amount and an error between reference water injection amounts respectively corresponding to the at least one water injection amount, obtaining the accuracy of the rain gauge corresponding to each water injection amount, specifically including:
Figure BDA0002814100900000031
wherein I represents the accuracy of the rain gauge corresponding to the amount of water injection, maDenotes the reference water injection amount, mbThe amount of water injected is indicated.
Optionally, based on the precision of the rain gauge corresponding to each water injection amount, the test result of the rain gauge to be tested is output, and the method specifically includes:
determining at least one water injection amount of the rain gauge precision within a preset precision range based on the rain gauge precision corresponding to each water injection amount;
determining the water injection range of the rain gauge to be tested according to the maximum value in the at least one water injection amount and the water injection amount resolution;
and if the error between the water injection amount range and a reference water injection amount range in the rain gauge precision standard is within a preset error range, outputting a test result for indicating that the rain gauge to be tested conforms to the rain gauge precision standard to be tested.
In a second aspect, there is provided an apparatus for testing a rain gauge, comprising:
a receiving module: for receiving at least one set of operating parameters of the peristaltic pump; the peristaltic pump is used for pumping water from the water reservoir and injecting water into the rain gauge to be tested;
a processing module: the device is used for controlling the peristaltic pump to sequentially operate according to each group of working parameters in the at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters; wherein the water injection amount is the water amount measured by the rain gauge to be tested;
the processing module is further configured to: acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively; wherein the reference water injection amount is the amount of water pumped by the peristaltic pump when operating at the at least one set of operating parameters;
the processing module is further configured to: outputting a test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount; and the test result is used for indicating whether the rain gauge to be tested meets the rain gauge precision standard or not.
Optionally, the processing module is further configured to:
before the precision of the rain gauge corresponding to each water injection amount is obtained according to at least one water injection amount and the error between the corresponding reference water injection amounts, controlling the peristaltic pump to sequentially operate according to each group of reference working parameters in at least one group of reference working parameters, and injecting water into the calibrated measurer to obtain the reference water injection amount corresponding to each group of reference working parameters; wherein the reference water injection amount is the water amount measured by the measurer;
fitting a water injection model of the peristaltic pump according to the at least one group of reference working parameters and the reference water injection quantities respectively corresponding to the at least one group of reference working parameters; the water injection quantity model is used for representing the corresponding relation between any working parameter and reference water injection quantity within a preset working parameter range.
Optionally, the operating parameters include a rotation speed and an operating duration of the peristaltic pump, and the processing module is specifically configured to:
controlling the peristaltic pump to sequentially pump water from the reservoir at the rotating speed included by each group of working parameters in the at least one group of working parameters, filling water into the rain gauge to be tested, and starting timing;
when the end time of the working duration included by the working parameters is reached, controlling the peristaltic pump to stop injecting water, obtaining the output value of the rain gauge to be tested, and controlling the rain gauge to be tested to discharge water to the reservoir;
and obtaining the water injection amount corresponding to each group of working parameters according to the output value of the rain gauge to be tested corresponding to each group of working parameters.
Optionally, the output value of the rain gauge to be tested is the number of output pulses of the rain gauge to be tested, and the processing module is specifically configured to:
when the water quantity injected into the rain gauge to be tested reaches the water injection quantity resolution ratio, obtaining output pulses of the rain gauge to be tested, and when the peristaltic pump stops injecting water, determining the number of the output pulses of the rain gauge to be tested; wherein the water injection amount resolution represents the minimum value of the water injection amount which can be measured by the rain gauge to be tested;
and determining the water injection amount corresponding to each working parameter of each group according to the product of the number of the output pulses of the rain gauge to be tested corresponding to each working parameter of each group and the water injection amount resolution.
Optionally, the processing module is specifically configured to:
Figure BDA0002814100900000051
wherein, I represents the accuracy of the rain gauge corresponding to the water injection amount, m _ a represents the reference water injection amount, and m _ b represents the water injection amount.
Optionally, the processing module is specifically configured to:
determining at least one water injection amount of the rain gauge precision within a preset precision range based on the rain gauge precision corresponding to each water injection amount;
determining the water injection range of the rain gauge to be tested according to the maximum value in the at least one water injection amount and the water injection amount resolution;
and if the error between the water injection amount range and a reference water injection amount range in the rain gauge precision standard is within a preset error range, outputting a test result for indicating that the rain gauge to be tested conforms to the rain gauge precision standard to be tested.
In a third aspect, a system for testing a rain gauge comprises the apparatus for testing a rain gauge of the second aspect, a rain gauge to be tested, a peristaltic pump and a water reservoir.
In a fourth aspect, a computer device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method according to the first aspect according to the obtained program instructions.
In a fifth aspect, a storage medium stores computer-executable instructions for causing a computer to perform the method of the first aspect.
In the embodiment of the application, through receiving at least a set of working parameter of peristaltic pump, can automatic control the peristaltic pump with the operating parameter operation of difference to under the condition that can automatic test peristaltic pump extracts different water yield, the precision of hyetometer obtains the test result of hyetometer, does not need the manual work to carry out repetitious measurement many times, improved the efficiency of test hyetometer. And according to at least one water injection amount and errors between the reference water injection amounts respectively corresponding to the at least one water injection amount, the precision of the rain gauge corresponding to each water injection amount is obtained, the water injection amount and the reference water injection amount associated with the peristaltic pump do not need to be read manually, and the efficiency of testing the rain gauge is improved.
Drawings
Fig. 1 is a schematic view of an application scenario of a method for testing a rain gauge according to an embodiment of the present application;
fig. 2 is a first schematic flow chart of a method for testing a rain gauge according to an embodiment of the present disclosure;
fig. 3 is a schematic view of an application scenario of the method for testing a rain gauge according to the embodiment of the present application;
fig. 4 is a schematic flow chart of a method for testing a rain gauge according to an embodiment of the present application;
fig. 5 is a schematic diagram of a first principle of a method for testing a rain gauge according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a second principle of a method for testing a rain gauge according to an embodiment of the present application;
fig. 7 is a schematic diagram of a third principle of a method for testing a rain gauge according to an embodiment of the present application;
fig. 8 is a schematic diagram of a principle of a method for testing a rain gauge according to an embodiment of the present application;
fig. 9 is a first schematic structural diagram of a device for testing a rain gauge according to an embodiment of the present application;
fig. 10 is a second schematic structural diagram of a device for testing a rain gauge according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In addition, in the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items.
In the fields of meteorology, hydrology, and the like, rainfall in each area is generally measured by a rain gauge. In order to measure the precipitation more accurately, before the rain gauge is used for measurement, the accuracy of the rain gauge needs to be tested. At present, a tester usually measures a certain amount of water through a measuring cup, then pours the water in the measuring cup into a rain gauge, and the tester calculates the accuracy of the rain gauge by comparing the amount of water measured by the measuring cup with the amount of water measured by the rain gauge. Therefore, in the test process, the tester needs to continuously read the water amount in the measuring cup and calculate the accuracy of the rain gauge, so that the labor cost is high, and the test efficiency is low.
In view of this, the present application provides a testing method, which may be applied to a terminal device or a network device. The terminal equipment can be a mobile phone, a tablet computer, a personal computer or the like; the network device may be a local server, a third party server, a cloud server, or the like.
In the embodiment of the application, at least one group of working parameters of the peristaltic pump are received, the peristaltic pump can be automatically controlled to operate according to different working parameters, and therefore the precision of the rain gauge can be automatically tested under the condition that the peristaltic pump extracts different water amounts, and the test result of the rain gauge is obtained. And according to at least one water injection amount and errors between the reference water injection amounts respectively corresponding to the at least one water injection amount, the precision of the rain gauge corresponding to each water injection amount is obtained, the water injection amount and the reference water injection amount associated with the peristaltic pump do not need to be read manually, and the efficiency of testing the rain gauge is improved. And outputting the test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount. Through the precision of the multiple groups of rain gauges, the test result of the rain gauges to be tested is determined, manual multiple measurement is not needed, the efficiency of testing the rain gauges is improved, meanwhile, errors caused by single measurement are avoided, and the accuracy of testing the rain gauges is improved.
An application scenario of the method for testing a rain gauge provided in the embodiment of the present application is described below.
Referring to fig. 1, a schematic view of an application scenario of the method for testing a rain gauge according to the embodiment of the present application is shown. The application scenario includes a testing device 101, a peristaltic pump 102, a rain gauge to be tested 103 and a water reservoir 104. Communication can be established between the test device 101 and the peristaltic pump 102 and between the test device 101 and the rain gauge 103 to be tested. The peristaltic pump 102 may be disposed at any location, and is not particularly limited. The peristaltic pump 102 may fill the rain gauge 103 to be tested with water and may also draw water from the reservoir 104, the rain gauge 103 to be tested may be disposed in the reservoir 104, or may be disposed at another location, specifically without limitation, the rain gauge 103 to be tested may draw water into the reservoir 104. The communication mode may be a wired communication mode, for example, communication is performed by connecting a network cable or a serial port cable, such as 485 bus; the communication may also be performed in a wireless communication manner, for example, using technologies such as bluetooth or wireless fidelity (WIFI), and the like, which is not limited specifically.
As an example, the peristaltic pump 102 and the rain gauge 103 to be tested may be connected by a water delivery device, such as a water delivery conduit, so that the peristaltic pump 102 can fill the rain gauge 103 to be tested with water. The peristaltic pump 102 and the reservoir 104 may be connected by a water delivery device, such as a water delivery conduit, such that the peristaltic pump 102 may draw water from the reservoir 104. The rain gauge 103 to be tested and the reservoir 104 may be connected by a water delivery device, such as a water delivery valve, so that the rain gauge 103 to be tested may discharge water into the reservoir 104.
As an example, the testing device 101 and the peristaltic pump 102 may be the same device, or the testing device 101 and the rain gauge to be tested 103 may be the same device, or the testing device 101, the peristaltic pump 102, the rain gauge to be tested 103 and the water reservoir 104 may be the same device, and so on. In the embodiment of the present application, the test device 101, the peristaltic pump 102, the rain gauge to be tested 103, and the water reservoir 104 are respectively described as different devices.
Based on the application scenario of fig. 1, the following describes an interaction process between devices.
Referring to fig. 2, a schematic flow chart of a method for testing a rain gauge according to an embodiment of the present application is shown, where the method specifically includes the following steps:
s201, receiving at least one group of working parameters of the peristaltic pump;
s202, controlling the peristaltic pump to sequentially operate according to each working parameter in at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters;
s203, acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively;
and S204, outputting the test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount.
The general idea of the embodiment of the present application is described below based on the application scenario of fig. 1.
The testing device 101 receives at least one set of operating parameters of the peristaltic pump 102 and controls the peristaltic pump 102 to pump water from the reservoir 104 and to fill the rain gauge 103 to be tested in turn with each of the at least one set of operating parameters. After measuring the water injection amount, the rain gauge 103 to be tested transmits the water injection amount to the test device 101, and the test device 101 receives the water injection amount transmitted by the rain gauge 103 to be tested. The testing equipment 101 obtains the water injection amount of the rain gauge 103 to be tested corresponding to each group of working parameters of the peristaltic pump 102 according to the water injection amount of the rain gauge 103 to be tested.
The test device 101 determines the accuracy of the rain gauge corresponding to the water injection amount based on the error between the water injection amount and the corresponding reference water injection amount. The test equipment 101 calculates the accuracy of the rain gauge corresponding to each water injection amount in at least one water injection amount, and obtains the accuracy of the rain gauge corresponding to each water injection amount. Wherein the reference fill volume is the volume of water drawn by the peristaltic pump 102 when operating with at least one set of operating parameters.
The test equipment 101 outputs a test result of the rain gauge 103 to be tested based on the rain gauge precision corresponding to each water injection amount, and the test result is used for indicating whether the rain gauge 103 to be tested meets the rain gauge precision standard.
The operating parameters of the peristaltic pump 102 include operating parameters that can control the peristaltic pump 102 to pump different amounts of water, such as the speed and duration of operation of the peristaltic pump 102.
In the embodiment of the application, the water quantity does not need to be measured manually, and water is poured into the rain gauge 103 to be tested; and the measurement task is not required to be continuously and repeatedly performed manually, so that the efficiency of measuring the rain gauge is improved.
After the general idea of the embodiments of the present application is introduced, specific embodiments of each step are illustrated below.
Before executing S201, receiving at least one set of operating parameters of the peristaltic pump and testing the rain gauge to be tested, or before executing S203, obtaining the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts respectively, calibrating the peristaltic pump to obtain a water injection amount model of the peristaltic pump. The calibration process of the peristaltic pump is described in detail below.
Please refer to fig. 3, which is an application scenario of the method for calibrating a peristaltic pump according to the embodiment of the present application. The scenario includes a calibration apparatus 301, a peristaltic pump 102, a calibrated meter 302, and a water reservoir 104. Communication is possible between the calibration device 301 and the peristaltic pump 102, and communication is possible between the calibration device 301 and the measurer 302. The peristaltic pump 102 may fill the meter 302, the peristaltic pump 102 may draw water from the reservoir 104, the meter 302 may be disposed in the reservoir 104, and the meter 302 may draw water into the reservoir 104.
As an example, the peristaltic pump 102 and the meter 302 may be connected by a water delivery device, such as a water delivery conduit, so that the peristaltic pump 102 may fill the meter 302 with water. The peristaltic pump 102 and the reservoir 104 may be connected by a water delivery device, such as a water delivery conduit, such that the peristaltic pump 102 may draw water from the reservoir 104. The meter 302 and the reservoir 104 may be connected by a water delivery device, such as a water delivery valve, so that the meter 302 may discharge water into the reservoir 104.
As an example, the calibration device 301 and the peristaltic pump 102 may be the same device, or the calibration device 301 and the measurer 302 may be the same device, or the calibration device 301, the peristaltic pump 102, the measurer 302 and the water reservoir 104 may be the same device. In the embodiment of the present application, the calibration device 301, the peristaltic pump 102, the measurer 302, and the water reservoir 104 are respectively described as different devices.
As an embodiment, the calibration device 301 and the testing device 101 may be the same device. In the embodiment of the present application, the calibration device 301 and the test device 101 are taken as different devices as an example.
Referring to fig. 4, a schematic flow chart of a method for calibrating a peristaltic pump according to an embodiment of the present application is shown, the method specifically includes the following steps:
s401, controlling the peristaltic pump to sequentially operate according to each group of reference working parameters in at least one group of reference working parameters, and injecting water into the calibrated measurer to obtain reference water injection amount corresponding to each group of reference working parameters;
and S402, fitting a water injection model of the peristaltic pump according to the at least one group of reference working parameters and the reference water injection amount corresponding to the at least one group of reference working parameters.
The general idea of the method for calibrating a peristaltic pump provided in the embodiments of the present application is described below.
The calibration device 301 controls the peristaltic pump 102 to sequentially pump water from the reservoir 104 to the calibrated meter 302 with each of the at least one set of reference operating parameters. The measurer 302 measures the amount of water injected by the peristaltic pump and transmits the amount of water injected to the calibration device 301, and the calibration device 301 can obtain the reference amount of water injected corresponding to each set of reference operating parameters. The calibration device 301 fits a water injection model of the peristaltic pump according to the at least one set of reference operating parameters and the respective corresponding reference water injection quantities. The water injection quantity model is used for representing the corresponding relation between any working parameter and reference water injection quantity within a preset working parameter range.
After describing the general idea of calibrating a peristaltic pump provided in the embodiments of the present application, specific embodiments of the steps are illustrated below.
In step S401, the peristaltic pump is controlled to sequentially operate with each of the at least one set of reference operating parameters, water is injected into the calibrated measurer 302, and before the reference injection amount corresponding to each set of reference operating parameters is obtained, the calibration device 301 may receive at least one set of reference operating parameters.
The reference operating parameter may be a preset operating parameter of the peristaltic pump 102, or may be a randomly generated operating parameter of the peristaltic pump 102, or may be an operating parameter of the peristaltic pump 102 set by an operator in real time, and the like, which is not limited in particular.
For example, the calibration apparatus 301 may be connected to a terminal apparatus, such as a Personal Computer (PC). A tester can set at least one group of reference working parameters of the peristaltic pump 102 through the PC, the PC responds to the at least one group of reference working parameters set by the tester and sends the at least one group of working parameters to the calibration equipment 301, and the calibration equipment 301 receives the at least one group of reference working parameters sent by the PC to obtain the at least one group of reference working parameters.
As another example, a tester may set at least one set of reference operating parameters of the peristaltic pump 102 via the calibration apparatus 301, and the calibration apparatus 301 operates in response to the tester's setting to obtain the at least one set of reference operating parameters.
After the calibration device 301 obtains at least one set of reference operating parameters, the calibration device 301 executes S401 to control the peristaltic pump to sequentially operate with each set of reference operating parameters in the at least one set of reference operating parameters, and inject water into the calibrated measurer 302 to obtain reference water injection amounts corresponding to each set of reference operating parameters.
Calibration apparatus 301 controls the start-up of peristaltic pump 102 and operates with a set of reference operating parameters. The peristaltic pump 102 may draw water from the reservoir 104 and fill the meter 302. The measurer 302 measures the water injection amount and sends the water injection amount to the calibration device 301, and the calibration device 301 receives the water injection amount sent by the measurer 302 to obtain the reference water injection amount corresponding to the set of reference operating parameters of the peristaltic pump 102.
As an example, after the calibration device 301 receives the water injection amount sent by the measurer 302, the measurer 302 may be controlled to discharge water into the water reservoir 104. Thus, after the measurer 302 is discharged, the calibration device 301 can control the operation of the peristaltic pump 102 with the following set of reference operating parameters. After the calibration device 301 controls the peristaltic pump 102 to operate with each of the at least one set of reference operating parameters, a reference water injection amount corresponding to each set of reference operating parameters can be obtained. Therefore, water in the reservoir can be recycled, dependence on water sources in the environment is reduced, and flexibility of a calibration process is improved.
As an example, in order to improve the accuracy of calibrating the peristaltic pump 102, after the peristaltic pump 102 is started, the peristaltic pump 102 may be controlled to pump water so that the water delivery conduit between the peristaltic pump 102 and the measurer 302 and the water delivery conduit between the peristaltic pump 102 and the water reservoir 104 are filled with water, so that when the calibration device 301 controls the peristaltic pump 102 to stop working, the error between the water injection amount measured by the measurer 302 and the actual water pumping amount of the peristaltic pump 102 is small.
As an example, there are various ways for the measuring device 302 to measure the water injection amount, and the measuring device 302 measures the weight of water and takes the weight as the water injection amount; alternatively, the weight may be converted into the volume of water according to the density of water, and the volume may be set as the water injection amount, specifically, according to the actual usage scenario, which is not limited herein.
For example, the calibration device 301 controls the peristaltic pump 102 to start and start timing. The peristaltic pump 102 draws water from the reservoir 104 at a first speed and fills the meter 302 until the end of the first period of time is reached, at which time the peristaltic pump 102 stops filling. The measurer 302 reads the current water amount to obtain the water injection amount. The measurer 302 sends the water injection amount to the calibration device 301, and the calibration device 301 receives the water injection amount sent by the measurer 302 to obtain a reference water injection amount corresponding to the first rotation speed and the first time length. The calibration device 301 controls the measurer 302 to discharge water into the reservoir 104. After the measurer 302 finishes discharging water, the calibration device 301 controls the peristaltic pump 102 to pump water from the water reservoir 104 at the second rotation speed until the calibration device 301 obtains the reference water injection amount corresponding to all the rotation speeds and the reference working time.
After the calibration device 301 executes S401, the peristaltic pump is controlled to sequentially operate with each set of reference operating parameters in the at least one set of reference operating parameters, water is injected into the calibrated measurer 302, and after the reference water injection amount corresponding to each set of reference operating parameters is obtained, S402 may be executed, and the water injection amount model of the peristaltic pump 102 is fitted according to the at least one set of reference operating parameters and the reference water injection amounts corresponding to each set of reference operating parameters.
The water injection quantity model is used for representing the corresponding relation between any working parameter and the reference water injection quantity within a preset working parameter range. The preset working parameter range may be a range formed by the maximum value and the minimum value in each reference working parameter, or may be a range determined according to a rainmeter precision standard marked when the rainmeter leaves a factory, or may be a range set by a worker, and the like, and is not limited specifically.
If the calibration device 301 obtains a set of reference operating parameters and corresponding reference water injection amount, please refer to fig. 5, which is a schematic diagram of a water injection amount model, then the reference operating parameters and corresponding reference water injection amount can be mapped into the coordinate system to obtain a mapping coordinate point. The abscissa axis of the coordinate system represents the operating parameter and the ordinate axis represents the reference water injection rate. And determining the line segment formed by the mapping coordinate point and the origin of the coordinate system within a preset working parameter range as a water injection model.
If the calibration device 301 obtains a plurality of sets of reference operating parameters and corresponding reference water injection quantities, please refer to fig. 6, which is a schematic diagram of a water injection quantity model, each reference operating parameter and corresponding reference water injection quantity may be mapped to the coordinate system to obtain each mapping coordinate point. The abscissa axis of the coordinate system represents the operating parameter and the ordinate axis represents the reference water injection rate. And determining a line segment within a preset working parameter range according to each mapping coordinate point, so that the distance from each mapping coordinate point to the perpendicular line of the line segment is short, and determining the line segment as a water injection model.
After the calibration device 301 performs S402, the testing device 101 may use the calibrated peristaltic pump 102 to test the rain gauge after fitting the water injection model of the peristaltic pump 102 according to at least one set of reference operating parameters and the corresponding reference water injection quantities respectively.
The test equipment 101 executes S201, receiving at least one set of operating parameters of the peristaltic pump 102. The process of receiving at least one set of working parameters by the testing device 101 is the same as the process of receiving at least one set of reference working parameters by the calibration device 301, and is not described herein again.
After receiving at least one group of working parameters of the peristaltic pump 102, the testing device 101 executes S202, controls the peristaltic pump to sequentially operate according to each group of working parameters in the at least one group of working parameters, and injects water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters.
The process of controlling the peristaltic pump 104 to sequentially inject water into the rain gauge 103 to be tested according to each of the at least one set of working parameters by the testing device 101 to obtain the water injection amount corresponding to each set of working parameters is the same as the process of controlling the peristaltic pump 104 to sequentially operate according to each of the at least one set of reference working parameters by the calibration device 301 to inject water into the calibrated measurer 302 to obtain the reference water injection amount corresponding to each set of reference working parameters, which is not described herein again.
For example, the operating parameters include the speed and length of time of operation of the peristaltic pump. The test apparatus 101 controls the peristaltic pump 104 to pump water from the reservoir 104 at a first rate of rotation and begins timing. The peristaltic pump 104 injects water into the rain gauge 103 to be tested, and the test device 101 controls the peristaltic pump 104 to stop injecting water until the end time of the first working period is reached. The rain gauge 103 to be tested sends an output value to the testing device 101, the testing device 101 receives the output value sent by the rain gauge 103 to be tested, the output value of the rain gauge 103 to be tested is obtained, the rain gauge 103 to be tested is controlled to discharge water into the reservoir 104, and if the rain gauge 103 to be tested is a tipping-bucket rain gauge, the tipping bucket of the tipping-bucket rain gauge is controlled to discharge the water into the reservoir 104. The testing device 101 may determine the water injection amount corresponding to the first rotation speed and the first operating time period according to the output value of the rain gauge 103 to be tested.
As an example, the manner of obtaining the water filling amount by the rain gauge to be tested 103 includes, in addition to the manner of obtaining the water filling amount by measuring the weight of water after the water filling by the peristaltic pump 104 is completed or calculating the volume of water, for example, if the output of the rain gauge to be tested 103 is in a pulse form, please refer to fig. 7, which is a schematic diagram of a principle of the rain gauge to be tested, and the rain gauge to be tested 103 includes a water containing unit, a resistor R and a control unit. One end of the resistor R is connected with a power supply Vcc, the other end of the resistor R is connected with the water containing unit and the control unit, and the water containing unit and the control unit are connected with each other. The control unit, the resistor R and the power supply Vcc form a control circuit, and the control circuit outputs a pulse signal when the water quantity injected by the water containing unit of the rain gauge 103 to be tested reaches the water injection quantity resolution. The rain gauge to be tested 103 may then output an output pulse to the testing device 101 each time the amount of water injected reaches the injection water rate resolution. When the peristaltic pump 102 stops filling, the testing device 101 determines the number of output pulses of the rain gauge 103 to be tested. Alternatively, the rain gauge 103 to be tested statistically outputs pulses whenever the amount of water injected reaches the water injection amount resolution. When the peristaltic pump 102 stops priming, the number of output pulses, etc. is sent to the test device 101.
After obtaining the number of output pulses of the rain gauge 103 to be tested, the testing device 101 calculates the water injection amount corresponding to the working parameters according to the product of the number of output pulses and the water injection amount resolution, and obtains the water injection amount corresponding to each group of working parameters. The water injection amount resolution represents the minimum value of the water injection amount that can be measured by the rain gauge 103 to be tested, and may be the mass of water, the volume of water, or the like, and is not limited specifically.
After the test equipment 101 executes S202, the peristaltic pump is controlled to sequentially operate according to each set of working parameters in at least one set of working parameters, water is injected into the rain gauge to be tested, and water injection amounts respectively corresponding to each set of working parameters are obtained, the test equipment 101 executes S203, and the accuracy of the rain gauge corresponding to each water injection amount is obtained according to at least one water injection amount and errors between reference water injection amounts respectively corresponding to the at least one water injection amount.
After the test equipment 101 calibrates the peristaltic pump 102 to obtain the water injection model of the peristaltic pump 102, the reference water injection corresponding to the operating parameter associated with the water injection can be determined according to the water injection model. For example, the first water injection amount obtained by the test apparatus 101 is a water injection amount associated with a first speed and a first operating period of the peristaltic pump 102, and then the test apparatus 101 determines a reference water injection amount associated with the first speed and the first operating period in the water injection amount model. The test apparatus 101 determines the accuracy of the rain gauge corresponding to the amount of water injection according to the error between the amount of water injection and the reference amount of water injection, and thus, the accuracy of the rain gauge corresponding to each amount of water injection can be obtained. Please refer to formula (1):
I=|ma-mb| (1)
wherein I represents the accuracy of the rain gauge corresponding to the amount of water injection, maDenotes the reference water injection amount, mbThe amount of water injected is indicated.
Alternatively, in order to reduce the influence of the magnitude of the water injection amount on the error, the error between the water injection amount and the reference water injection amount may be normalized to be suitable for determining the accuracy of the rain gauge corresponding to the water injection amount according to the water injection amount in different ranges, please refer to formula (2):
Figure BDA0002814100900000151
after the testing device 101 performs S203 to obtain the accuracy of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts respectively corresponding thereto, S204 may be performed to output the test result of the rain gauge to be tested based on the accuracy of the rain gauge corresponding to each water injection amount.
After obtaining the accuracy of the rain gauge corresponding to each water injection amount, the testing device 101 may determine at least one water injection amount of which the accuracy of the rain gauge is within a preset accuracy range. The method for determining at least one water injection amount by the testing device 101 may be directly determined by numerical comparison, or may map the accuracy of the rain gauges corresponding to each water injection amount into a coordinate system, please refer to fig. 8, which is a mapping diagram of the water injection amount and the accuracy of the rain gauges, and determine at least one water injection amount and the like within a preset accuracy range, and the specific determination manner is not limited.
After determining the at least one water injection amount within the preset accuracy range, the testing device 101 may further determine a maximum value of the at least one water injection amount, determine the water injection amount range of the rain gauge 103 to be tested by using the water injection amount with the largest value as the maximum value of the water injection amount range and using the water injection amount resolution as the minimum value of the water injection amount range.
For example, the preset accuracy range is [ -4%, 4% ], the water injection amount resolution is 0.01mm/min, and if the maximum value of at least one water injection amount is 150ml/min (4.7mm/min), the water injection amount range of the rain gauge 103 to be tested is [0.01, 4.7 ].
The test device 101 compares the water filling amount range of the rain gauge 103 to be tested with the reference water filling amount range in the rain gauge accuracy standard of the rain gauge 103 to be tested after obtaining the water filling amount range of the rain gauge 103 to be tested, for example, the error between the comparison of the water filling amount range and the reference water filling amount range by the test device 101 may be an error between the maximum value of the water filling amount range and the maximum value of the reference water filling amount range, or the like. And if the error between the water injection amount range and the reference water injection amount range is within a preset error range, outputting a test result for indicating that the rain gauge meets the rain gauge precision standard. And if the error between the water injection amount range and the reference water injection amount range is not within the preset error range, outputting a test result for indicating that the rain gauge does not meet the precision standard of the rain gauge.
The preset error range may be a range preset by a tester, or may be a range calculated by the testing device 101 according to historical data of a rain gauge of the same model or the same brand, and the like, and is not limited specifically.
As an example, the type of the rain gauge to be tested may be any, for example, a siphon rain gauge or a dump box rain gauge, and the rain gauge testing method may be used for testing, and has high flexibility.
Based on the same inventive concept, the embodiment of the present application provides a device for testing a rain gauge, which is equivalent to the testing apparatus 101 discussed above and can implement the corresponding functions of the foregoing method for testing a rain gauge. Referring to fig. 9, the apparatus includes a receiving module 901 and a processing module 902, wherein:
the receiving module 901: for receiving at least one set of operating parameters of the peristaltic pump; the peristaltic pump is used for pumping water from the water storage tank and injecting water into the rain gauge to be tested;
the processing module 902: the device is used for controlling the peristaltic pump to sequentially operate according to each working parameter in at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters; wherein the water injection amount is the water amount measured by a rain gauge to be tested;
the processing module 902 is further configured to: acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively; wherein the reference water injection amount is the amount of water pumped by the peristaltic pump when the peristaltic pump operates with at least one set of working parameters;
the processing module 902 is further configured to: outputting a test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount; and the test result is used for indicating whether the rain gauge to be tested meets the rain gauge precision standard or not.
In a possible embodiment, the processing module 902 is further configured to:
before the precision of the rain gauge corresponding to each water injection amount is obtained according to at least one water injection amount and the error between the corresponding reference water injection amounts, controlling the peristaltic pump to sequentially operate according to each group of reference working parameters in at least one group of reference working parameters, and injecting water into the calibrated measurer to obtain the corresponding reference water injection amount of each group of reference working parameters; wherein the reference water injection amount is the water amount measured by the measurer;
fitting a water injection model of the peristaltic pump according to the at least one group of reference working parameters and the reference water injection quantities respectively corresponding to the reference working parameters; the water injection quantity model is used for representing the corresponding relation between any working parameter and reference water injection quantity within a preset working parameter range.
In one possible embodiment, the operating parameters include the speed and duration of operation of the peristaltic pump, and the processing module 902 is specifically configured to:
controlling the peristaltic pump to pump water from the reservoir at a rotating speed included by each group of working parameters in at least one group of working parameters in sequence, injecting water into the rain gauge to be tested, and starting timing;
when the end time of the working duration included by the working parameters is reached, controlling the peristaltic pump to stop injecting water, obtaining the output value of the rain gauge to be tested, and controlling the rain gauge to be tested to discharge water to the reservoir;
and obtaining the water injection amount corresponding to each group of working parameters according to the output value of the rain gauge to be tested corresponding to each group of working parameters.
In a possible embodiment, the output value of the rain gauge to be tested is the number of output pulses of the rain gauge to be tested, and the processing module 902 is specifically configured to:
when the water quantity injected into the rain gauge to be tested reaches the water injection quantity resolution ratio, obtaining output pulses of the rain gauge to be tested, and when the peristaltic pump stops injecting water, determining the number of the output pulses of the rain gauge to be tested; the water injection rate resolution represents the minimum value of the water injection rate which can be measured by the rain gauge to be tested;
and determining the water injection amount corresponding to each working parameter of each group according to the product of the output pulse number of the rain gauge to be tested and corresponding to each working parameter of each group and the water injection amount resolution.
In a possible embodiment, the processing module 902 is specifically configured to:
Figure BDA0002814100900000181
wherein, I represents the accuracy of the rain gauge corresponding to the water injection amount, m _ a represents the reference water injection amount, and m _ b represents the water injection amount.
In a possible embodiment, the processing module 902 is specifically configured to:
determining at least one water injection amount of the rain gauge precision within a preset precision range based on the rain gauge precision corresponding to each water injection amount;
determining the water injection amount range of the rain gauge to be tested according to the maximum value of the at least one water injection amount and the water injection amount resolution;
and if the error between the water injection amount range and the reference water injection amount range in the rain gauge precision standard is within a preset error range, outputting a test result for indicating that the rain gauge to be tested meets the rain gauge precision standard to be tested.
Based on the same inventive concept, the present application provides a system for testing a rain gauge, please continue to refer to fig. 1, which includes the previously discussed device for testing a rain gauge, a rain gauge to be tested, a peristaltic pump and a water reservoir.
Based on the same inventive concept, an embodiment of the present application provides a computer device, which can implement the aforementioned function of testing a rain gauge, and the computer device may be equivalent to the aforementioned electric fan, please refer to fig. 10, and the computer device includes:
at least one processor 1001 and a memory 1002 connected to the at least one processor 1001, in this embodiment, a specific connection medium between the processor 1001 and the memory 1002 is not limited, and fig. 10 illustrates an example where the processor 1001 and the memory 1002 are connected through a bus 1000. The bus 1000 is shown by a thick line in fig. 10, and the connection manner between other components is merely illustrative and not limited thereto. The bus 1000 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 10 for ease of illustration, but does not represent only one bus or one type of bus. Alternatively, the processor 1001 may also be referred to as the controller 1001, and the name is not limited.
In the embodiment of the present application, the memory 1002 stores instructions executable by the at least one processor 1001, and the at least one processor 1001 may execute the method for testing a rain gauge discussed above by executing the instructions stored in the memory 1002. The processor 1001 may implement the functions of the respective modules in the control apparatus shown in fig. 9.
The processor 1001 is a control center of the control device, and may connect various parts of the entire control device by using various interfaces and lines, and perform various functions and process data of the control device by executing or executing instructions stored in the memory 1002 and calling data stored in the memory 1002, thereby performing overall monitoring on the control device.
In one possible embodiment, processor 1001 may include one or more processing units, and processor 1001 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1001. In some embodiments, the processor 1001 and the memory 1002 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 1001 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that implements or performs the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method for testing the rain gauge disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 1002, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 1002 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 1002 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1002 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 1001, the code corresponding to the method for testing a rain gauge described in the foregoing embodiment may be solidified into a chip, so that the chip can execute the steps of the method for testing a rain gauge of the embodiment shown in fig. 2 when running. How to program the processor 1001 is well known to those skilled in the art and will not be described herein.
Based on the same inventive concept, the present application also provides a storage medium storing computer instructions, which when executed on a computer, cause the computer to perform the method for testing a rain gauge discussed above.
In some possible embodiments, the aspects of the method for testing a rain gauge provided by the present application may also be implemented in the form of a program product comprising program code for causing the control apparatus to perform the steps of the method for testing a rain gauge according to various exemplary embodiments of the present application described above in this specification when the program product is run on a device.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of testing a rain gauge, comprising:
receiving at least one set of operating parameters of the peristaltic pump; the peristaltic pump is used for pumping water from the water reservoir and injecting water into the rain gauge to be tested;
controlling the peristaltic pump to sequentially operate according to each group of working parameters in the at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters; wherein the water injection amount is the water amount measured by the rain gauge to be tested;
acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively; wherein the reference water injection amount is the amount of water pumped by the peristaltic pump when operating at the at least one set of operating parameters;
outputting a test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount; and the test result is used for indicating whether the rain gauge to be tested meets the rain gauge precision standard or not.
2. The method according to claim 1, further comprising, before obtaining the accuracy of the rain gauge corresponding to each of the injected water amounts based on the error between at least one of the injected water amounts and the reference injected water amounts corresponding respectively, the steps of:
controlling the peristaltic pump to sequentially operate with each group of reference working parameters in at least one group of reference working parameters, and injecting water into the calibrated measurer to obtain reference water injection amount corresponding to each group of reference working parameters; wherein the reference water injection amount is the water amount measured by the measurer;
fitting a water injection model of the peristaltic pump according to the at least one group of reference working parameters and the reference water injection quantities respectively corresponding to the at least one group of reference working parameters; the water injection quantity model is used for representing the corresponding relation between any working parameter and reference water injection quantity within a preset working parameter range.
3. The method according to claim 1, wherein the working parameters include a rotation speed and a working duration of the peristaltic pump, the peristaltic pump is controlled to sequentially operate according to each group of working parameters in the at least one group of working parameters, water is injected into the rain gauge to be tested, and water injection amount respectively corresponding to each group of working parameters is obtained, and the method specifically comprises the following steps:
controlling the peristaltic pump to sequentially pump water from the reservoir at the rotating speed included by each group of working parameters in the at least one group of working parameters, filling water into the rain gauge to be tested, and starting timing;
when the end time of the working duration included by the working parameters is reached, controlling the peristaltic pump to stop injecting water, obtaining the output value of the rain gauge to be tested, and controlling the rain gauge to be tested to discharge water to the reservoir;
and obtaining the water injection amount corresponding to each group of working parameters according to the output values of the rain gauges to be tested corresponding to each group of working parameters.
4. The method according to claim 3, wherein the output value of the rain gauge to be tested is the number of output pulses of the rain gauge to be tested, and the obtaining of the water injection amount corresponding to each group of working parameters respectively comprises:
when the water quantity injected into the rain gauge to be tested reaches the water injection quantity resolution ratio, obtaining output pulses of the rain gauge to be tested, and when the peristaltic pump stops injecting water, determining the number of the output pulses of the rain gauge to be tested; wherein the water injection amount resolution represents the minimum value of the water injection amount which can be measured by the rain gauge to be tested;
and determining the water injection amount corresponding to each group of working parameters according to the product of the number of the output pulses of the rain gauge to be tested corresponding to each group of working parameters and the water injection amount resolution.
5. The method according to any one of claims 1 to 4, wherein the obtaining of the accuracy of the rain gauge corresponding to each water injection amount according to the error between at least one water injection amount and the reference water injection amount respectively comprises:
Figure FDA0002814100890000021
wherein I represents the accuracy of the rain gauge corresponding to the amount of water injection, maDenotes the reference water injection amount, mbThe amount of water injected is indicated.
6. The method according to any one of claims 1 to 4, wherein outputting the test result of the rain gauge to be tested based on the accuracy of the rain gauge corresponding to each water injection amount specifically comprises:
determining at least one water injection amount of the rain gauge precision within a preset precision range based on the rain gauge precision corresponding to each water injection amount;
determining the water injection range of the rain gauge to be tested according to the maximum value in the at least one water injection amount and the water injection amount resolution;
and if the error between the water injection amount range and a reference water injection amount range in the rain gauge precision standard is within a preset error range, outputting a test result for indicating that the rain gauge to be tested conforms to the rain gauge precision standard to be tested.
7. An apparatus for testing a rain gauge, comprising:
a receiving module: for receiving at least one set of operating parameters of the peristaltic pump; the peristaltic pump is used for pumping water from the water reservoir and injecting water into the rain gauge to be tested;
a processing module: the device is used for controlling the peristaltic pump to sequentially operate according to each group of working parameters in the at least one group of working parameters, and injecting water into the rain gauge to be tested to obtain the water injection amount corresponding to each group of working parameters; wherein the water injection amount is the water amount measured by the rain gauge to be tested;
the processing module is further configured to: acquiring the precision of the rain gauge corresponding to each water injection amount according to at least one water injection amount and the error between the reference water injection amounts corresponding to the water injection amounts respectively; wherein the reference water injection amount is the amount of water pumped by the peristaltic pump when operating at the at least one set of operating parameters;
the processing module is further configured to: outputting a test result of the rain gauge to be tested based on the rain gauge precision corresponding to each water injection amount; and the test result is used for indicating whether the rain gauge to be tested meets the rain gauge precision standard or not.
8. A system for testing a rain gauge, comprising the apparatus for testing a rain gauge of claim 7, a rain gauge to be tested, a peristaltic pump and a water reservoir.
9. A computer device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method according to any one of claims 1 to 6 according to the obtained program instructions.
10. A storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 6.
CN202011405807.5A 2020-12-03 2020-12-03 Method, device, system, equipment and storage medium for testing rain gauge Active CN112596130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011405807.5A CN112596130B (en) 2020-12-03 2020-12-03 Method, device, system, equipment and storage medium for testing rain gauge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011405807.5A CN112596130B (en) 2020-12-03 2020-12-03 Method, device, system, equipment and storage medium for testing rain gauge

Publications (2)

Publication Number Publication Date
CN112596130A true CN112596130A (en) 2021-04-02
CN112596130B CN112596130B (en) 2022-10-14

Family

ID=75188259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011405807.5A Active CN112596130B (en) 2020-12-03 2020-12-03 Method, device, system, equipment and storage medium for testing rain gauge

Country Status (1)

Country Link
CN (1) CN112596130B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113945999A (en) * 2021-10-26 2022-01-18 安徽省大气探测技术保障中心 Analog detection device and metering method for optical rainfall sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102928892A (en) * 2011-08-09 2013-02-13 古峻峰 Full-automatic calibrator for rain gauge
CN107085247A (en) * 2017-05-18 2017-08-22 薛内川 Rainfall titrates tester and rainfall titration method of testing
CN208026889U (en) * 2018-03-16 2018-10-30 北京创信恒通科技有限公司 Udometric calibrating instrument
CN209842107U (en) * 2019-06-21 2019-12-24 广州极飞科技有限公司 Siphon type rain gauge calibration system
CN111708105A (en) * 2020-07-16 2020-09-25 南京信息工程大学 On-line calibration system for rainfall sensor based on peristaltic pump

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102928892A (en) * 2011-08-09 2013-02-13 古峻峰 Full-automatic calibrator for rain gauge
CN107085247A (en) * 2017-05-18 2017-08-22 薛内川 Rainfall titrates tester and rainfall titration method of testing
CN208026889U (en) * 2018-03-16 2018-10-30 北京创信恒通科技有限公司 Udometric calibrating instrument
CN209842107U (en) * 2019-06-21 2019-12-24 广州极飞科技有限公司 Siphon type rain gauge calibration system
CN111708105A (en) * 2020-07-16 2020-09-25 南京信息工程大学 On-line calibration system for rainfall sensor based on peristaltic pump

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113945999A (en) * 2021-10-26 2022-01-18 安徽省大气探测技术保障中心 Analog detection device and metering method for optical rainfall sensor

Also Published As

Publication number Publication date
CN112596130B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN106468590A (en) The test method of fluid flowmeter and assay device
CN112596130B (en) Method, device, system, equipment and storage medium for testing rain gauge
CN113647823B (en) Discharging control method and system, controller, storage medium and dosing machine
CN104912786B (en) A kind of liquid relief calibration of pump device and calibration steps
CN115600046B (en) Fluid flow estimation method and device
CN106461429A (en) Method of determining a flow rate and related apparatus
CN117405075B (en) Intelligent settlement monitoring method and system
CN114777884A (en) Flowmeter calibration method and device, electronic equipment and storage medium
US10214410B2 (en) Self calibrating fuel dispensing method and system
CN210051915U (en) Rapid calibration device of tipping bucket type rain gauge
CN103196797A (en) Intelligent water reducing agent tester
CN108534879B (en) Method and device for metering raw material consumption
CN111352058B (en) Method for in-process calibration of a potentiometric sensor of a measuring device
CN102253431A (en) Rainfall calibrator and calibration method
CN114209214B (en) Discharging method based on discharging state monitoring
CN114168890A (en) Fourier coefficient calculation method, device, terminal equipment and medium
CN111121904B (en) Fuel quantity determination method and device and electronic equipment
CN110333559B (en) Quick rate determining method and device for skip type rain gauge
CN111398079B (en) Memory, method, device and equipment for measuring gasoline octane number
CN211477328U (en) Automatic detection system and production line for flow of viscous sauce
CN209119216U (en) A kind of liquid quantitative system and acid adding machine
RU2815395C1 (en) Peristaltic dosing pump calibration method (versions)
CN113343458A (en) Model selection method and device for engine sensor, electronic equipment and storage medium
SU1654667A1 (en) Model flowmetering rig
CN114792232B (en) Engineering quantity processing method, system, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant