Rainfall calibration device and control method thereof
By introducing an 'excitation-response' diagnostic mechanism into the rain gauge calibrator, recording and comparing the metering pulse timestamps of the rain gauge, the problem of systematic deviation caused by sensor aging or wear is solved, and self-correction and precise calibration of the equipment are achieved.
Patent Information
- Application Number
- CN202511005380.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-21
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-07-21
AI Technical Summary
Existing rain gauge calibrators lack a closed-loop verification mechanism and are unable to automatically identify systematic deviations caused by sensor aging or mechanical wear, resulting in low measurement accuracy.
An active 'stimulus-response' diagnostic mechanism is introduced. A peristaltic pump is used to apply instantaneous acceleration pulse excitation, record the metering pulse timestamp of the rain gauge, compare the difference with the standard sequence, judge the system status and make calibration corrections.
It realizes automatic assessment of the health status of equipment, identifies and corrects abnormal conditions caused by aging or wear, and improves the accuracy of rainfall detection and the reliability of calibration results.
Smart Images

Figure CN120507817B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of intelligent identification and calibration, and in particular, to a rainfall calibration device and a control method thereof. Background Art
[0002] A rain gauge calibrator is a device used to calibrate and test rain gauges to ensure accurate and reliable rainfall measurements.
[0003] Existing equipment lacks a closed-loop verification mechanism for the calibration process and can only manually compare the rain gauge output with the theoretical value. It is unable to automatically identify systematic deviations caused by sensor aging or mechanical wear.
[0004] There is currently no better solution to the above problems. Summary of the Invention
[0005] An embodiment of the present invention provides a rainfall calibration device and a control method thereof, so as to at least solve the problem of low measurement accuracy caused by system deviation in the related art.
[0006] According to one embodiment of the present invention, a rainfall calibration device is provided, comprising:
[0007] A lower computer, at least one water tank, and a peristaltic pump, wherein the lower computer is signal-connected to the peristaltic pump, and the peristaltic pump is in communication with the water tank and controls the water tank to discharge water at a predetermined speed;
[0008] The lower computer performs the following rainfall detection calibration process when receiving external instructions:
[0009] Controlling the peristaltic pump to operate at a first preset stable speed, and applying a preset instantaneous acceleration pulse as an excitation event during the operation;
[0010] From the moment the excitation event occurs, continuously recording respective timestamps of a plurality of metering pulses output by the rain gauge to be measured to form a current pulse response sequence;
[0011] Obtaining a standard impulse response sequence pre-stored in the slave computer and recorded under calibration conditions;
[0012] aligning the first pulse timestamp in the current pulse response sequence with the first pulse timestamp in the standard pulse response sequence to eliminate the difference in start-up delay;
[0013] After alignment, the difference between the timestamps of each subsequent pulse at corresponding positions in the current pulse response sequence and the standard pulse response sequence is compared one by one, and these differences are accumulated to obtain a cumulative time deviation value representing the degree of deviation of the system response;
[0014] Determine whether the accumulated time deviation value is less than a preset time deviation threshold; if so, determine that the system status of this rainfall detection calibration process is reliable and output the calibration result; if not, determine that this calibration process is abnormal and trigger an alarm.
[0015] In an exemplary embodiment, the liquid level sensor includes a first liquid level sensor and a second liquid level sensor, the first liquid level sensor is used to detect whether the water level of the standard bottle reaches a first position, and the second liquid level sensor is used to detect whether the water level of the standard bottle reaches a second position.
[0016] In an exemplary embodiment, the lower computer controls the motor to rotate forward when receiving a work instruction or receiving first information from an external device, and at the same time instructs the first water inlet and the first water outlet of the three-way solenoid valve to open to perform a water supply operation; or instructs the three-way solenoid valve and the motor to stop performing the water supply operation when the liquid level information meets the first liquid level condition, and controls the three-way solenoid valve and the motor to perform the first water discharge operation; or instructs the three-way solenoid valve and the motor to stop performing the first water discharge operation when the second liquid level information meets the second liquid level condition, and instructs the peristaltic pump to perform the second water discharge operation at a preset first speed; the first information includes device information, and the device information is in the form of a QR code or a bar code.
[0017] In an exemplary embodiment, the slave computer includes a Bluetooth module, and the Bluetooth module is connected to an external device via a signal.
[0018] According to another embodiment of the present invention, a method for controlling a rainfall calibration device is provided, comprising:
[0019] The lower computer controls the peristaltic pump to run at a first preset stable speed, and during the running process, applies a preset instantaneous acceleration pulse as an excitation event;
[0020] From the moment the excitation event occurs, continuously recording respective timestamps of a plurality of metering pulses output by the rain gauge to be measured to form a current pulse response sequence;
[0021] Obtaining a standard impulse response sequence pre-stored in the slave computer and recorded under calibration conditions;
[0022] aligning the first pulse timestamp in the current pulse response sequence with the first pulse timestamp in the standard pulse response sequence to eliminate the difference in start-up delay;
[0023] After alignment, the difference between the timestamps of each subsequent pulse at corresponding positions in the current pulse response sequence and the standard pulse response sequence is compared one by one, and these differences are accumulated to obtain a cumulative time deviation value representing the degree of deviation of the system response;
[0024] Determine whether the accumulated time deviation value is less than a preset time deviation threshold; if so, determine that the system status of this rainfall detection calibration process is reliable and output the calibration result; if not, determine that this calibration process is abnormal and trigger an alarm.
[0025] In an exemplary embodiment, the method further comprises:
[0026] The rain detection calibration process further includes:
[0027] Comparing the accumulated time deviation value with a preset time deviation threshold value to determine a proportion of the accumulated time deviation value to the preset time deviation threshold value;
[0028] According to the ratio, a calibration correction factor to be currently adopted is matched and determined from a preset lookup table storing a plurality of discrete correction levels and corresponding calibration correction factors;
[0029] The calibration result is multiplied by the calibration correction factor to obtain a corrected calibration result and output it.
[0030] By introducing an active "stimulus-response" diagnostic mechanism, this application can evaluate the health status of the equipment itself during each calibration, effectively identify abnormal conditions caused by equipment aging, wear, etc., realize the detection of systematic deviations, avoid invalid calibration in a "sick" state, fundamentally ensure the accuracy of the calibration results, and improve the accuracy of rainfall detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The overall structure of a rainfall calibration device according to an embodiment of the present invention is Figure 1 ;
[0032] Figure 2 This is a schematic diagram of the partial structure of a rainfall calibration device according to an embodiment of the present invention. Figure 1 ;
[0033] Figure 3 2. It is a structural schematic diagram of a three-way solenoid valve according to an embodiment of the present invention;
[0034] Figure 4 It is a control logic flow chart of the lower computer according to an embodiment of the present invention.
[0035] 1. Box body;
[0036] 2. Measuring component; 21. Standard bottle; 22. Water storage tank;
[0037] 31. Peristaltic pump; 310. Peristaltic control board; 32. Motor; 33. Three-way solenoid valve; 331. First water inlet; 332. First water outlet; 333. Second water outlet; 34. First liquid level sensor;
[0038] 35. Second liquid level sensor; 36. Isolation plate; 37. Lower computer;
[0039] 41. Display screen. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0041] Hereinafter, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified with "first," "second," etc., may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0042] In addition, in this application, directional terms such as "up", "down", "left", and "right" may be defined including but not limited to the orientation relative to the schematic placement of the components in the drawings. It should be understood that these directional terms may be relative concepts. They are used for relative descriptions and clarifications, and they may change accordingly according to changes in the orientation of the components in the drawings.
[0043] In this application, unless otherwise specified or limited, the term "connection" should be understood broadly. For example, "connection" can mean fixed connection, detachable connection, or integration; it can mean direct connection or indirect connection through an intermediate medium. In addition, the term "coupling" can refer to the manner in which electrical connection is achieved for signal transmission.
[0044] As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of deviation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
[0045] Existing rain gauge calibrators. Due to interference from environmental factors, the water level in the standard bottle cannot be constantly maintained at the 0 scale line. This fluctuation may cause a certain degree of deviation in the final measurement data.
[0046] To solve the above problems, a rainfall calibration device is provided in this embodiment, which will be described in detail below.
[0047] Example 1
[0048] Reference Figures 1 to 4 The rainfall calibration device includes a box 1 and a display component, wherein the box has a accommodating cavity, in which a metering component and a control component are arranged, the control component is electrically connected to the metering component and the display component respectively, and the display component is electrically connected to the control component; the metering component includes a standard bottle 21, and the control component includes a three-way solenoid valve 33, a motor 32 and a liquid level sensor, the motor 32 is connected to the standard bottle 21 and the three-way solenoid valve 33 respectively, the liquid level sensor is used to detect the liquid level in the standard bottle 21, and the opening and closing of the three-way solenoid valve 33 enables the standard bottle 21 to start and stop water inflow. Water is pumped in or out, and the motor 32 is used to pump water into or fill the standard bottle 21; wherein, two liquid level sensors can be provided, namely a first liquid level sensor 34 and a second liquid level sensor 35, the first liquid level sensor 34 is used to detect whether the water level in the standard bottle 21 reaches a first position (for example, whether it is full or overflowing), and the second liquid level sensor 35 is used to detect whether the water level in the standard bottle 21 reaches a second position (for example, whether it reaches the lowest standard line). The display component is used for data display, wherein the display component includes a display screen 41, and the user can control the control component through the display screen.
[0049] When detection is required, the motor 32 rotates forward, and at the same time, the first water inlet 331 and the first water outlet 332 of the three-way solenoid valve 33 are opened to perform the water filling operation, so that the external water body (including rainwater or pure water for testing) enters the standard bottle through the first water inlet 331, the first water outlet 332 and the motor 32 of the three-way solenoid valve 33 in sequence. At this time, the liquid level in the standard bottle 21 gradually rises. When the first liquid level sensor 34 detects that the water level in the standard bottle 21 rises to the first position, the motor 32 stops pumping water, thereby stopping water filling to the standard bottle 21. Therefore, the control component realizes precise control of the water level by detecting the liquid level in the standard bottle 21.
[0050] In order to achieve accurate measurement of rainfall intensity, the metering component also includes a water tank 22, and the control component also includes a peristaltic pump 31 and a peristaltic control board 310 for controlling the operation of the peristaltic pump 31. The peristaltic pump 31 and the water tank 22 are also installed in the accommodating cavity of the box body 1, and the peristaltic pump 31 is connected to the water tank 22, and the water tank 22 is connected to the standard bottle 21 through a three-way solenoid valve 33 and a motor 32.
[0051] Specifically, when the first liquid level sensor 34 detects that the water level in the standard bottle 21 rises to the first position, the motor 32 stops pumping water, thereby stopping water supply to the standard bottle 21; then the motor 32 reverses, and at the same time, the first water inlet 331 of the three-way solenoid valve 33 is closed, and the second water outlet 333 is opened, so that the water in the standard bottle 21 enters the water storage tank 22 through the motor 32 and the second water outlet 333. At this time, the water level in the standard bottle 21 continues to drop. When it drops to the second position, the motor 32 stops working, and at the same time, the peristaltic pump 31 starts working under the instruction of the peristaltic control board 310, so that the water in the water storage tank 22 is drained into the external rain gauge; when the sensor in the rain gauge detects that the water level reaches the requirement or the measuring bucket in the rain gauge stops flipping (under normal circumstances, when the water tank is drained, the measuring bucket continues to flip), the stop working instruction is fed back to the peristaltic pump 31, thereby instructing the peristaltic pump 31 to stop working.
[0052] In this way, a single standard bottle 21 can be used to calibrate a rain gauge or conduct a rainfall simulation experiment. Moreover, by precisely controlling the water inlet and outlet, rainfall conditions of different intensities can be simulated, providing accurate rainfall data for meteorological monitoring, agricultural irrigation, urban drainage and other fields.
[0053] It is worth mentioning that the liquid level is detected by the first liquid level sensor 34 and the second liquid level sensor 35, and the water inlet and outlet are controlled by combining external instructions and internal timing, thereby avoiding problems such as sudden power outage and restart caused by a single control method, and effectively improving the intelligence level and measurement accuracy of the equipment; moreover, a handle can be set on the top of the box body 1 for easy transportation; it should be noted that when the motor 32 can realize forward and reverse pumping, only one motor 32 can be set, and if the motor 32 cannot realize forward and reverse, at least a forward motor and a reverse motor need to be set.
[0054] It should be noted that in the field of meteorological observation, changes in air pressure usually affect the water discharge of the standard bottle 21. For example, when the external air pressure changes, there is an air pressure difference between the standard bottle 21 inside the rain gauge and the external environment. If the external air pressure drops suddenly, the dissolved gas in the liquid will precipitate and enter the pipeline with bubbles, causing the flow meter measurement to be distorted (bubbles occupy volume, and the reading is biased). At the same time, the residual gas in the bottle expands, squeezing the liquid and causing unexpected discharge, which also causes the data to be biased. On the contrary, when the air pressure rises, the external pressure compresses the gas in the bottle, which may hinder the normal outflow of the liquid, and even if a water pump is used, since the working principle of the water pump depends on the air pressure difference, for example, in a piston water pump, when the piston moves upward, the air pressure inside the pump body decreases, and the external atmospheric pressure presses the water into the pump body, resulting in an increase in water output. Similarly, when the external When the air pressure rises, the water inside the pump body may be more difficult to discharge under the action of the higher external air pressure, resulting in a decrease in water output and a slower water output speed, thereby affecting the accuracy of rainfall detection; the existing technology usually only has a first liquid level sensor. This method may cause the water output within a specific time to be too high or too low under the influence of external air pressure, and thus cannot accurately control the water output of the standard bottle 21; and the present application, by setting a second liquid level sensor 35, can automatically adjust the working condition of the motor 32 (such as water output, water intake and stop water intake) under the signal control of the second liquid level sensor 35, avoid human errors, and ensure that the water output of the standard bottle 21 always meets the requirements; thereby overcoming the defect in the existing technology that the amount of water entering the water storage tank 22 cannot be controlled, and realizing accurate control of the water output of the standard bottle 21.
[0055] In order to ensure the normal operation of the equipment, a lower computer 37 is also provided which can control the control components to perform rainfall monitoring operations and equipment testing operations. The lower computer 37 has a built-in Bluetooth module for signal connection with upper computers such as external mobile phones and control devices. The lower computer 37 can perform more detailed grading of rainfall of different intensities under the premise of complying with national standards. At the same time, the lower computer 37 also has a built-in pause function module, which can pause the function as needed, thereby enhancing its practicality and enabling it to more effectively meet the diverse needs of users. The Bluetooth module can transmit data to mobile phones and the cloud in real time. At this time, the user can connect the mobile phone Bluetooth to the Bluetooth module signal to conveniently control the rain gauge calibrator. In addition, the upper computer represented by external devices such as external mobile phones can also set a code scanning function to transmit control instructions or rain gauges. The QR code information / barcode information on other devices is directly sent to the lower computer 37, and is further transmitted by the lower computer 37 to the cloud or the three-way solenoid valve 33, motor 32, etc. are controlled according to the control instructions. At this time, the user can conveniently generate a calibration certificate with one click in the cloud, thereby avoiding tedious manual input steps; wherein, the QR code information / barcode information is used to indicate the device information (such as specifications, models, etc.) of other devices such as rain gauges. In particular, in order to ensure security, the QR code and barcode information can be set as an encrypted QR code or a QR code, barcode or key in a specific encoding format (such as a quantum communication key, etc.), which is not limited here; it should be noted that in order to ensure the normal operation of the lower computer 37 and the peristaltic control board 310, an isolation plate 36 can be set in the accommodating cavity to isolate the water vapor generated by the standard bottle 21 during the water supply or water discharge process.
[0056] To reduce systematic bias, after calibration begins, the lower computer 37 first controls the peristaltic pump 31 to operate at a preset, stable baseline speed (for example, corresponding to a simulated rainfall intensity of 5 mm / hour). After the peristaltic pump 31 has run stably for a short period of time, the lower computer 37 executes a key "stimulus event": within a very short period (for example, 100 milliseconds), a transient driving signal is applied to the peristaltic pump 31's drive motor, causing its speed to briefly and rapidly increase, then immediately return to the original baseline speed. This brief acceleration process constitutes the "stimulus event" for the entire electromechanical-fluidic system.
[0057] From the moment the aforementioned "stimulus event" occurs, the timer in slave computer 37 begins operating and, using its input capture function, accurately records the precise timestamp of each subsequent metering pulse signal output by the rain gauge under test (typically a tipping bucket rain gauge). For example, slave computer 37 will continuously record the timestamps of 10 pulses after the stimulus event, forming a data sequence consisting of 10 time points. This sequence is called the "current impulse response sequence." This sequence fully depicts the entire process of the system's water discharge rhythm from being disturbed to returning to steady state after the stimulus.
[0058] A "standard pulse response sequence" is pre-stored in the non-volatile memory (NVM) of slave computer 37. This standard sequence is measured and recorded using the same methods as steps 1 and 2 when the device leaves the factory, under brand new, ideal calibration conditions. It represents the standard "echo" of the device when it is in its healthiest state.
[0059] To make a meaningful comparison, an "alignment" operation is first required. Lower computer 37 aligns the timestamp of the first pulse in the "current pulse response sequence" just measured with the timestamp of the first pulse in the "standard pulse response sequence." Specifically, this is accomplished by calculating the difference between the first timestamps of the two sequences and then subtracting this difference from all timestamps in the current sequence. This step aims to eliminate any differences in startup delays caused by various random factors (such as the initial water filling state in the pipeline) between experiments, ensuring a consistent starting point for comparison and focusing on the differences in the system's dynamic response.
[0060] After the two sequences are aligned, the slave computer 37 begins a point-by-point comparison. It calculates the timestamp difference between the second pulse in the current sequence and the second pulse in the standard sequence, records it, then calculates the timestamp difference between the third pulse and records it, and so on, until the last pulse in the sequence.
[0061] The lower computer 37 then accumulates all of these calculated time differences (taking their absolute values) to produce a final value, which we call the "cumulative time deviation." This value intuitively reflects the overall degree of difference between the current system's "echo" and the standard "echo." If device performance deteriorates (for example, due to aging and reduced elasticity of the peristaltic pump tubing), its response to stimulus will become "sluggish," causing subsequent pulses in the current sequence to systematically arrive later than the standard sequence, significantly increasing the cumulative deviation value.
[0062] The lower computer 37 compares the calculated "accumulated time deviation value" with a preset "time deviation threshold value." This threshold value is also set during factory calibration of the device and defines the maximum acceptable deviation range of the system status.
[0063] If the cumulative time deviation value is less than the threshold, it indicates that the difference between the current operating state of the device and the ideal state is within an acceptable range and the system is in good health. At this point, the lower computer 37 determines that the calibration process is reliable and normally outputs the calibration result based on this measurement.
[0064] If the "accumulated time deviation value" is greater than or equal to the threshold, it indicates that the device may have significant performance degradation or failure (such as pipe blockage, motor fatigue, etc.), and its dynamic response has seriously deviated from the normal range. In this case, the lower computer 37 determines that the results of this calibration process are unreliable, abandons the calibration results, and triggers an alarm on the display or through the communication interface, prompting the user to inspect or maintain the device.
[0065] When the above judgment result is "reliable" (i.e., the cumulative time deviation value is less than the threshold), the lower computer 37 can also make fine corrections to the calibration result to compensate for minor performance drift. Specifically, the lower computer 37 will perform the following operations:
[0066] It calculates the ratio of the "accumulated time deviation value" to the "time deviation threshold". For example, if the deviation value is 20 milliseconds and the threshold is 100 milliseconds, the ratio is 20%.
[0067] The lower computer 37 stores a "correction factor lookup table" internally. This table presets multiple deviation ratio intervals and their corresponding calibration correction factors. For example:
[0068] Deviation ratio 0% - 10%: Correction factor 1.000 (no correction)
[0069] Deviation ratio 10% - 30%: Correction factor 1.005 (slightly amplified)
[0070] Deviation ratio 30% - 60%: Correction factor 1.012 (moderate amplification)
[0071] Based on the calculated deviation ratio, the slave computer 37 matches the lookup table with the corresponding "calibration correction factor." Finally, the original calibration result is multiplied by this correction factor to produce an intelligently corrected, more accurate final calibration result, which is then output. This hierarchical correction method based on a lookup table compensates for minor performance degradation while avoiding complex calculations, making it well-suited for implementation in resource-constrained slave computers.
[0072] Compared with the prior art, the embodiments of the present application have at least the following beneficial effects:
[0073] By introducing an active "stimulus-response" diagnostic mechanism, the present invention can evaluate the health status of the equipment itself during each calibration, effectively identify abnormal conditions caused by equipment aging, wear, etc., avoid invalid calibration in a "sick" state, and fundamentally ensure the reliability of the calibration results.
[0074] At the same time, this application quantifies the abstract "system health status" through the specific and measurable physical quantity of "cumulative time deviation value", so that the status assessment is no longer a vague qualitative judgment, but an accurate quantitative analysis, providing a solid data foundation for subsequent judgments and corrections.
[0075] By introducing a lookup table-based correction mechanism, the device can adaptively compensate for minor performance drifts in its calibration results. This allows the device to mitigate the accuracy degradation caused by performance degradation over long periods of use, extending the device's effective maintenance cycle and reducing operating costs.
[0076] Moreover, this application does not involve complex mathematical models and a large number of floating-point operations. It can be implemented through basic operations such as timestamp recording, addition and subtraction, and table lookup. It has low requirements on the hardware resources of the lower computer and is easy to upgrade and implement on existing rainfall calibration equipment.
[0077] Specifically, for rainfall monitoring operations, such as Figure 4 Shown, including:
[0078] In step S1, the lower computer 37 obtains a working instruction and, based on the working instruction, instructs the three-way solenoid valve 33 and the motor 32 to perform a water filling operation to allow external water to enter the standard bottle 21. That is, the lower computer 37 controls the motor 32 to rotate forward, and the first water inlet 331 and the first water outlet 332 of the three-way solenoid valve 33 are opened. At this time, the water level in the standard bottle 21 begins to rise.
[0079] Step S2: The first liquid level information of the standard bottle 21 is collected by the first liquid level sensor 34. When the liquid level information meets the first liquid level condition, the three-way solenoid valve 33 and the motor 32 are instructed to stop the water filling operation and to perform the first water discharge operation so that the water in the standard bottle 21 enters the water storage tank 22. That is, when the first liquid level sensor 34 detects that water has splashed out of the standard bottle 21, the water filling operation is stopped and the first water discharge operation is performed simultaneously.
[0080] Step S3: The second liquid level information of the standard bottle 21 is collected by the second liquid level sensor 35. When the second liquid level information meets the second liquid level condition, the three-way solenoid valve 33 and the motor 32 are instructed to stop the first water discharge operation, and the peristaltic pump 31 is instructed to perform the second water discharge operation at a preset first speed, so that the water storage tank 22 discharges water under the action of the peristaltic pump 31.
[0081] Step S4: performing a rainfall detection operation according to the second water discharge operation result through a rain gauge or other equipment.
[0082] Example 2
[0083] This embodiment also provides a control method for a rainfall calibration device, comprising the following steps:
[0084] S11: The lower computer 37 controls the peristaltic pump 31 to operate at a first preset stable speed, and during the operation, applies a preset instantaneous acceleration pulse as an excitation event;
[0085] S12: From the moment the excitation event occurs, continuously record the respective timestamps of multiple metering pulses output by the rain gauge to be measured to form a current pulse response sequence;
[0086] S13: Acquire a standard impulse response sequence pre-stored in the slave computer and recorded under calibration conditions;
[0087] S14: aligning the first pulse timestamp in the current pulse response sequence with the first pulse timestamp in the standard pulse response sequence to eliminate the difference in start-up delay;
[0088] S15: After alignment, comparing the difference between the timestamps of each pulse at the subsequent corresponding position in the current pulse response sequence and the standard pulse response sequence one by one, and accumulating these differences to obtain a cumulative time deviation value representing the degree of deviation of the system response;
[0089] S16: Determine whether the accumulated time deviation value is less than a preset time deviation threshold; if so, determine that the system status of this rainfall detection calibration process is reliable, and output the calibration result; if not, determine that this calibration process is abnormal, and trigger an alarm.
[0090] In addition, the method further comprises:
[0091] S17: Compare the accumulated time deviation value with a preset time deviation threshold to determine a proportion of the accumulated time deviation value to the preset time deviation threshold;
[0092] S18: According to the ratio, matching and determining a calibration correction factor to be currently adopted from a preset lookup table storing a plurality of discrete correction levels and corresponding calibration correction factors;
[0093] S19: Multiply the calibration result by the calibration correction factor to obtain a corrected calibration result and output it.
[0094] Example 3
[0095] The difference from Examples 1 and 2 is that, in addition to the correction by the aforementioned cumulative time deviation, correction can also be performed by monitoring the flow rate, specifically:
[0096] First, the theoretical flow rate V1 is determined based on the baseline flow rate Q (mL / min, determined by the rotational speed and pump tube specifications) of the peristaltic pump 31, the stable operation time T (usually the observation time), the additional flow rate Q1 caused by the instantaneous acceleration pulse, and the duration t of the instantaneous acceleration pulse. Then, the actual water output V2 is determined jointly by the second liquid level sensor 35 and the first liquid level sensor 34. Then, the flow deviation rate p is judged based on the difference between V1 and V2. When the flow deviation rate p is greater than 2%, a correction alarm is triggered, and so on.
[0097] The theoretical flow rate V1, actual water output V2, and flow deviation rate p are calculated using the following formula:
[0098] (Formula 1)
[0099] (Formula 2)
[0100] (Formula 3)
[0101] Where A is the cross-sectional area of the standard bottle 21, is the water level change height (ie, the water level difference detected by the first liquid level sensor 34 and the second liquid level sensor 35).
[0102] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A rainfall calibration device, characterized in that: include: A lower computer, at least one water tank, and a peristaltic pump, wherein the lower computer is signal-connected to the peristaltic pump, and the peristaltic pump is in communication with the water tank and controls the water tank to discharge water at a predetermined speed; The lower computer performs the following rainfall detection calibration process when receiving external instructions: Controlling the peristaltic pump to operate at a first preset stable speed, and applying a preset instantaneous acceleration pulse as an excitation event during the operation; From the moment the excitation event occurs, continuously recording respective timestamps of a plurality of metering pulses output by the rain gauge to be measured to form a current pulse response sequence; Obtaining a standard impulse response sequence pre-stored in the slave computer and recorded under calibration conditions; aligning the first pulse timestamp in the current pulse response sequence with the first pulse timestamp in the standard pulse response sequence to eliminate the difference in start-up delay; After alignment, the difference between the timestamps of each subsequent pulse at corresponding positions in the current pulse response sequence and the standard pulse response sequence is compared one by one, and these differences are accumulated to obtain a cumulative time deviation value representing the degree of deviation of the system response; Determining whether the accumulated time deviation value is less than a preset time deviation threshold; If so, the system status of this rainfall detection calibration process is determined to be reliable, and the calibration result is output; if not, the calibration process is determined to be abnormal, and an alarm is triggered.
2. The rainfall calibration device according to claim 1, characterized in that The rain detection calibration process further includes: Comparing the accumulated time deviation value with a preset time deviation threshold value to determine a proportion of the accumulated time deviation value to the preset time deviation threshold value; According to the ratio, a calibration correction factor to be currently adopted is matched and determined from a preset lookup table storing a plurality of discrete correction levels and corresponding calibration correction factors; The calibration result is multiplied by the calibration correction factor to obtain a corrected calibration result and output it.
3. The rainfall calibration device according to claim 1, characterized in that It also includes a standard bottle and a liquid level sensor, the liquid level sensor includes a first liquid level sensor and a second liquid level sensor, the first liquid level sensor is used to detect whether the water level of the standard bottle reaches a first position, and the second liquid level sensor is used to detect whether the water level of the standard bottle reaches a second position.
4. The rainfall calibration device according to claim 3, characterized in that It also includes a three-way solenoid valve and a motor. When the lower computer receives a work instruction or receives first information from an external device, it controls the motor to rotate forward, and at the same time instructs the first water inlet and the first water outlet of the three solenoid valves to open to perform a water supply operation; or when the liquid level information meets the first liquid level condition, it instructs the three-way solenoid valve and the motor to stop performing the water supply operation, and controls the three-way solenoid valve and the motor to perform a first water discharge operation; or when the second liquid level information meets the second liquid level condition, it instructs the three-way solenoid valve and the motor to stop performing the first water discharge operation, and instructs the peristaltic pump to perform a second water discharge operation at a preset first speed; the first information includes device information, and the device information is in the form of a QR code or a bar code.
5. The rainfall calibration device according to claim 1, characterized in that The lower computer includes a Bluetooth module, and the Bluetooth module is connected to an external device signal.
6. A control method for a rainfall calibration device, characterized in that: include: The lower computer controls the peristaltic pump to run at a first preset stable speed, and during the running process, applies a preset instantaneous acceleration pulse as an excitation event; From the moment the excitation event occurs, continuously recording respective timestamps of a plurality of metering pulses output by the rain gauge to be measured to form a current pulse response sequence; Obtaining a standard impulse response sequence pre-stored in the slave computer and recorded under calibration conditions; aligning the first pulse timestamp in the current pulse response sequence with the first pulse timestamp in the standard pulse response sequence to eliminate the difference in start-up delay; After alignment, the difference between the timestamps of each subsequent pulse at corresponding positions in the current pulse response sequence and the standard pulse response sequence is compared one by one, and these differences are accumulated to obtain a cumulative time deviation value representing the degree of deviation of the system response; Determining whether the accumulated time deviation value is less than a preset time deviation threshold; If so, the system status of this rainfall detection calibration process is determined to be reliable, and the calibration result is output; if not, the calibration process is determined to be abnormal, and an alarm is triggered.
7. The control method of the rainfall calibration device according to claim 6, characterized in that: The rain detection calibration process further includes: Comparing the accumulated time deviation value with a preset time deviation threshold value to determine a proportion of the accumulated time deviation value to the preset time deviation threshold value; According to the ratio, a calibration correction factor to be currently adopted is matched and determined from a preset lookup table storing a plurality of discrete correction levels and corresponding calibration correction factors; The calibration result is multiplied by the calibration correction factor to obtain a corrected calibration result and output it.
Citation Information
Patent Citations
Time synchronization method, device and system
CN108923876A
Portable rainfall calibration device and use method thereof
CN117348118A