Correction method and device for ultrasonic instrument

文档序号:1844102 发布日期:2021-11-16 浏览:3次 中文

阅读说明:本技术 一种超声波仪表的修正方法及装置 (Correction method and device for ultrasonic instrument ) 是由 宾曼琳 陈州 项勇 蒋韦 张伟 郑哲璐 于 2021-10-21 设计创作,主要内容包括:本申请公开了一种超声波仪表的修正方法及装置。该方法包括:获取待修正的目标仪表在目标流量值时的第一累积量;在所述目标流量值对应的监控指标达到预设阈值的情况下,获取所述目标仪表的第二累积量;基于所述第一累积量以及所述第二累积量进行计算,得到修正数据;将所述修正数据写入所述目标仪表,以使所述目标仪表按照所述修正数据进行修正。本申请实施例通过监控指标读取第一累积量和第二累积量的方法进行流量校准,以此解决了LED脉冲校表气体累积量被忽略的问题,而且还能够提高流量校准效率。(The application discloses a correction method and device of an ultrasonic instrument. The method comprises the following steps: acquiring a first accumulated quantity of a target instrument to be corrected at a target flow value; under the condition that the monitoring index corresponding to the target flow value reaches a preset threshold value, acquiring a second cumulant of the target instrument; calculating based on the first cumulant and the second cumulant to obtain correction data; and writing the correction data into the target instrument so that the target instrument is corrected according to the correction data. According to the method and the device for calibrating the flow, the flow calibration is carried out by a method of reading the first cumulant and the second cumulant through the monitoring indexes, so that the problem that the gas cumulant of the LED pulse meter calibration is neglected is solved, and the flow calibration efficiency can be improved.)

1. A correction method of an ultrasonic instrument is applied to a control terminal, and is characterized by comprising the following steps:

acquiring a first accumulated quantity of a target instrument to be corrected at a target flow value;

under the condition that the monitoring index corresponding to the target flow value reaches a preset threshold value, acquiring a second cumulant of the target instrument;

calculating based on the first cumulant and the second cumulant to obtain correction data;

and writing the correction data into the target instrument so that the target instrument is corrected according to the correction data.

2. The method of claim 1, wherein obtaining the first accumulated amount of the target meter to be corrected at the target flow value comprises:

sending a control instruction to fluid output equipment to enable the fluid output equipment to operate according to a specified flow value set by the control instruction;

detecting the flow state of the fluid output by the fluid output equipment;

under the condition that the flow state is in a stable state, sending a first reading instruction to the target instrument so that the target instrument feeds back the first accumulation amount to the control terminal according to the first reading instruction;

receiving a first accumulated amount of feedback from the target meter.

3. The method of claim 1, wherein the monitoring metrics comprise: detecting cumulative amounts of time or fluid output by the fluid output device;

when the monitoring index is the detection time, and when the monitoring index corresponding to the target flow value reaches a preset threshold value, obtaining a second cumulative quantity of the target meter, including:

and under the condition that the detection time corresponding to the target flow value reaches the preset detection time, determining the cumulative quantity displayed by the target instrument in the preset detection time as the second cumulative quantity.

4. The method of claim 3, wherein said calculating based on said first and second cumulative amounts to obtain correction data comprises:

sending a second reading instruction to the target instrument so that the target instrument feeds back a third cumulant displayed by the target instrument at final time to the control terminal according to the second reading instruction, wherein the final time is the time when the target instrument data receives the second reading instruction;

determining a first difference between the first and second accumulated amounts and a second difference between the third and first accumulated amounts;

calculating the ratio of the first difference value to the second difference value to obtain a correction parameter;

calculating the ratio of the second difference value to the final time to obtain corrected flow;

determining the correction parameter and the correction flow as the correction data.

5. The method according to claim 3, wherein in the case that the monitoring index is an accumulated quantity, and in the case that the monitoring index corresponding to the target flow rate value reaches a preset threshold value, acquiring a second accumulated quantity of the target meter comprises:

and determining the currently displayed accumulated amount of the target meter as the second accumulated amount when the accumulated amount output by the fluid output device reaches a preset accumulated amount.

6. The method of claim 5, wherein said calculating based on said first and second cumulative amounts to obtain correction data comprises:

acquiring actual output time required by the accumulated amount output by the fluid output equipment to reach a preset accumulated amount;

calculating the average flow in the actual output time, and determining the average flow as a corrected flow;

calculating a product of the corrected flow rate and the actual output time, and a difference between the first cumulative amount and the second cumulative amount;

calculating a ratio between the product and the difference, and determining the ratio as a correction parameter;

determining the correction parameter and the correction flow as the correction data.

7. The method of claim 1, wherein after writing the corrective data to the target meter, the method further comprises:

checking the corrected target instrument, and calculating the error of the corrected target instrument;

and confirming that the target instrument is corrected to pass under the condition that the error falls into a preset error range.

8. A correction device for an ultrasonic meter, comprising:

the acquisition module is used for acquiring a first accumulated quantity of a target instrument to be corrected when the target instrument is at a target flow value;

the monitoring module is used for acquiring a second cumulant of the target instrument under the condition that a monitoring index corresponding to the target flow value reaches a preset threshold value;

the calculation module is used for calculating based on the first cumulant and the second cumulant to obtain correction data;

and the processing module is used for writing the correction data into the target instrument so as to enable the target instrument to correct according to the correction data.

Technical Field

The application relates to the field of equipment detection, in particular to a correction method and device for an ultrasonic instrument.

Background

The current common use of ultrasonic speed gas meters is sonic nozzle meter calibration equipment, which outputs gas stably according to a set flow and a set accumulation amount, and then compares the output gas with the accumulation amount obtained by meter end measurement, thereby obtaining a measurement error and correcting the flow. The table-side accumulated quantities are typically obtained by table-side LED pulses, each LED pulse representing a certain accumulated quantity. And after the output of the flow is stopped, calculating an error according to the cumulant output by the equipment and the cumulant collected to pass through the meter end to generate a correction parameter, and then correcting the meter end.

When the LED pulse acquisition accumulated quantity is used for flow calibration, each LED pulse represents a certain gas accumulated quantity, and when the gas accumulated quantity accumulated at the meter end is less than the accumulated quantity represented by the LED pulse, the pulse cannot be output, so that the gas is ignored, and the accuracy of flow calibration is reduced.

Disclosure of Invention

In order to solve the technical problems described above or at least partially solve the technical problems, the present application provides a correction method and apparatus for an ultrasonic meter, an electronic device, and a storage medium.

According to an aspect of the embodiments of the present application, there is provided a method for correcting an ultrasonic meter, which is applied to a control terminal, the method including:

acquiring a first accumulated quantity of a target instrument to be corrected at a target flow value;

under the condition that the monitoring index corresponding to the target flow value reaches a preset threshold value, acquiring a second cumulant of the target instrument;

calculating based on the first cumulant and the second cumulant to obtain correction data;

and writing the correction data into the target instrument so that the target instrument is corrected according to the correction data.

Further, the acquiring a first accumulated amount of the target meter to be corrected at the target flow rate value includes:

sending a control instruction to fluid output equipment to enable the fluid output equipment to operate according to a specified flow value set by the control instruction;

detecting the flow state of the fluid output by the fluid output equipment;

under the condition that the flow state is in a stable state, sending a first reading instruction to the target instrument so that the target instrument feeds back the first accumulation amount to the control terminal according to the first reading instruction;

receiving a first accumulated amount of feedback from the target meter.

Further, the monitoring index includes: detecting cumulative amounts of time or fluid output by the fluid output device;

when the monitoring index is the detection time, and when the monitoring index corresponding to the target flow value reaches a preset threshold value, obtaining a second cumulative quantity of the target meter, including:

and under the condition that the detection time corresponding to the target flow value reaches the preset detection time, determining the cumulative quantity displayed by the target instrument in the preset detection time as the second cumulative quantity.

Further, the calculating based on the first accumulated amount and the second accumulated amount to obtain correction data includes:

sending a second reading instruction to the target instrument so that the target instrument feeds back a third cumulant displayed by the target instrument at final time to the control terminal according to the second reading instruction, wherein the final time is the time when the target instrument data receives the second reading instruction;

determining a first difference between the first and second accumulated amounts and a second difference between the third and first accumulated amounts;

calculating the ratio of the first difference value to the second difference value to obtain a correction parameter;

calculating the ratio of the second difference value to the final time to obtain corrected flow;

determining the correction parameter and the correction flow as the correction data.

Further, when the monitoring index is an accumulated amount, and when the monitoring index corresponding to the target flow rate value reaches a preset threshold value, acquiring a second accumulated amount of the target meter, including:

and determining the currently displayed accumulated amount of the target meter as the second accumulated amount when the accumulated amount output by the fluid output device reaches a preset accumulated amount.

Further, the calculating based on the first accumulated amount and the second accumulated amount to obtain correction data includes:

acquiring actual output time required by the accumulated amount output by the fluid output equipment to reach a preset accumulated amount;

calculating the average flow in the actual output time, and determining the average flow as a corrected flow;

calculating a product of the corrected flow rate and the actual output time, and a difference between the first cumulative amount and the second cumulative amount;

calculating a ratio between the product and the difference, and determining the ratio as a correction parameter;

determining the correction parameter and the correction flow as the correction data.

Further, after writing the correction data to the target meter, the method further comprises:

checking the corrected target instrument, and calculating the error of the corrected target instrument;

and confirming that the target instrument is corrected to pass under the condition that the error falls into a preset error range.

According to another aspect of the embodiments of the present application, there is also provided a correction device of an ultrasonic meter, including:

the acquisition module is used for acquiring a first accumulated quantity of a target instrument to be corrected when the target instrument is at a target flow value;

the monitoring module is used for acquiring a second cumulant of the target instrument under the condition that a monitoring index corresponding to the target flow value reaches a preset threshold value;

the calculation module is used for calculating based on the first cumulant and the second cumulant to obtain correction data;

and the processing module is used for writing the correction data into the target instrument so as to enable the target instrument to correct according to the correction data.

According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.

According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.

Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.

Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method and the device for calibrating the flow, the flow calibration is carried out by a method of reading the first cumulant and the second cumulant through the monitoring indexes, so that the problem that the gas cumulant of the LED pulse meter calibration is neglected is solved, and the flow calibration efficiency can be improved.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

Fig. 1 is a flowchart of a method for correcting an ultrasonic meter according to an embodiment of the present disclosure;

FIG. 2 is a flow chart of a method for modifying an ultrasonic meter according to another embodiment of the present disclosure;

FIG. 3 is a flow chart of a method for modifying an ultrasonic meter according to another embodiment of the present disclosure;

FIG. 4 is a flow chart of a method for modifying an ultrasonic meter according to another embodiment of the present disclosure;

fig. 5 is a block diagram of a correction device of an ultrasonic meter according to an embodiment of the present disclosure;

fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

Detailed Description

In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The embodiment of the application provides a correction method and device of an ultrasonic instrument, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.

According to an aspect of the embodiments of the present application, there is provided an embodiment of a method for correcting an ultrasonic meter, and fig. 1 is a flowchart of a method for correcting an ultrasonic meter provided in an embodiment of the present application, as shown in fig. 1, the method includes:

in step S11, a first accumulated amount of the target meter to be corrected at the target flow rate value is acquired.

The method provided by the embodiment of the application is applied to a control terminal, and the control terminal is used for controlling the fluid output equipment to output flow of a target instrument to be corrected and acquiring cumulant on the target instrument so as to perform calibration operation according to the cumulant. The specific process is as follows:

in the embodiment of the present application, as shown in fig. 2, the step S11 of obtaining the first accumulated amount of the target meter to be corrected at the target flow rate value includes the following steps a1-a 4:

and step A1, sending a control instruction to the fluid output equipment so that the fluid output equipment outputs the flow according to the target flow value carried by the control instruction.

In the embodiment of the application, the control terminal firstly obtains calibration configuration information, wherein the calibration configuration information includes a target flow value, preset detection time, a preset accumulated amount output by the fluid output device, and an error range, the flow point may be a minimum flow, a boundary flow and a maximum flow, the detection time is related to the size of the flow point, and the larger the value of the flow point is, the shorter the detection time is.

After the control terminal determines the meter calibration configuration information, a first control instruction is generated according to an execution flow point carried by the meter calibration configuration information so as to control the fluid output equipment to output flow according to the target flow value.

Step A2, detecting the flow state of the flow output by the fluid output device.

In the embodiment of the application, the output end of the fluid output equipment is detected, information such as temperature change amplitude, flow rate and the like of the output end is determined, and the flow state is determined according to the temperature change amplitude and the flow rate.

And step A3, sending a first reading instruction to the target instrument under the condition that the flow state is in a stable state, so that the target instrument feeds back the first accumulated amount to the control terminal according to the first reading instruction.

Step a4, a first accumulated amount of target meter feedback is received.

In the embodiment of the present application, it is determined that the flow rate state is in the steady state in the case where both the temperature change service and the flow rate speed reach the steady values. At this moment, the control terminal sends a first reading instruction to the target instrument so that the target instrument sends the currently displayed accumulated quantity on the instrument to the control terminal according to the first reading instruction, and the control terminal determines the received accumulated quantity as the first accumulated quantity.

And step S12, acquiring a second accumulated quantity of the target instrument under the condition that the monitoring index corresponding to the target flow value reaches a preset threshold value.

In the embodiment of the present application, the monitoring index includes: the time of flow detection or cumulative amount of fluid output by the fluid output device.

Based on this, in the case that the monitoring index is the flow detection time, and in the case that the monitoring index corresponding to the target flow value reaches the preset threshold, obtaining a second cumulative amount of the target meter, includes: and under the condition that the flow detection time corresponding to the target flow value reaches the preset detection time, determining the cumulant displayed by the target instrument in the preset detection time as a second cumulant.

As an example, when the monitoring indicator is the flow detection time, the control terminal may use a time when the flow state is in the stable state as a start time, and at this time, the control terminal may start timing until the preset detection time is reached. And when the preset detection time is reached, the target instrument sends the cumulant displayed during the preset detection time to the control terminal, and the control terminal determines the cumulant as a second cumulant.

In this embodiment of the present application, in a case that the monitoring index is an accumulated amount, and in a case that the monitoring index corresponding to the target flow rate value reaches a preset threshold, obtaining a second accumulated amount of the target meter includes: and determining the currently displayed accumulated amount of the target meter as a second accumulated amount when the accumulated amount output by the fluid output device reaches a preset accumulated amount.

As an example, when the monitoring index is an accumulation amount, the control terminal monitors the accumulation amount of the fluid output device, and when the accumulation amount output by the fluid output device reaches a preset accumulation amount, the control terminal sends a reading instruction to the target meter to obtain the accumulation amount displayed by the target meter when the accumulation amount reaches the preset accumulation amount, and determines the accumulation amount as a second accumulation amount.

In step S13, a calculation is performed based on the first accumulation amount and the second accumulation amount to obtain correction data.

In the embodiment of the present application, as shown in fig. 3, when the monitoring index is the flow rate detection time, the step S13 of calculating based on the first accumulated amount and the second accumulated amount to obtain the correction data includes the following steps B1-B4:

and step B1, sending a second reading instruction to the target instrument, so that the target instrument feeds back a third accumulation amount displayed by the target instrument at the final time to the control terminal according to the second reading instruction, wherein the final time is the time when the target instrument data receives the second reading instruction.

In the embodiment of the application, when the control terminal determines that the monitoring index reaches the preset threshold, a second reading instruction is generated and sent to the target instrument, after the target instrument receives the second reading instruction, the final time for receiving the second reading instruction is determined, the cumulant displayed by the target instrument in the final time is sent to the control terminal, and the cumulant is determined as a third cumulant by the control terminal.

It should be noted that there is a delay from the generation of the second read command by the control terminal to the reception of the second read command by the target meter, or a delay in reading may be caused by other accidents. Therefore, the embodiment of the application can subsequently correct the target meter by utilizing the accumulated quantity generated in the delay process.

Step B2, a first difference between the first accumulation amount and the second accumulation amount, and a second difference between the third accumulation amount and the first accumulation amount are determined.

In the embodiment of the present application, the first accumulation amount is taken as V1, the second accumulation amount is taken as V2, the third accumulation amount is taken as V3, the first difference V4 between the second accumulation amount V2 and the first accumulation amount V1 is calculated, and the second difference V5 between the third accumulation amount V3 and the first accumulation amount V1 is calculated.

And step B3, calculating the ratio of the first difference to the second difference to obtain a correction parameter.

In the embodiment of the present application, the ratio between the second difference V5 and the first difference V4 is calculated, and the ratio is used as the correction parameter.

And step B4, calculating the ratio of the second difference to the final time to obtain the corrected flow.

And step B5, determining the correction parameters and the correction flow as correction data.

In the embodiment of the present application, the final time is denoted as T1, and the ratio of the second difference V5 to the final time T1 is determined as the corrected flow rate. After the corrected flow rate is obtained, the correction parameter and the corrected flow rate are determined as correction data.

As an example, the control terminal sends a control command to the fluid output equipment, and the flow point carried in the control command is 0.04m3H, after the fluid output equipment reaches the stable state, the control terminal sends the fluid output equipment to the target instrumentThe first reading command is used for obtaining a first accumulated amount V1, at which time V1=1.275m, and during the beginning of the flow output timing, when the flow output time reaches the preset output time (900 s), the second accumulated amount V2 displayed by the target meter when the preset output time is reached is carried out, at which time V2=1.284 m. And the control terminal sends a second reading instruction to the target instrument, and if the first sending of the second reading instruction fails, the second reading instruction is sent again. After receiving the second read command, the target instrument determines a final time (901 s) for receiving the second read command, and sends the accumulated amount displayed by the target instrument in 901s to the control terminal, and the control terminal takes the accumulated amount as a third accumulated amount V3, at this time, V3=1.285m for cultivation, and the correction parameter is 1.111, and the correction flow is 0.0399m for cultivation/h, and the correction parameter is: 1.111 and correction flow: 0.0399 m/h are determined as corrected data.

In another embodiment of the present application, when the monitoring index is an accumulated amount, the step S13 of calculating based on the first accumulated amount and the second accumulated amount to obtain the corrected data further includes the following steps C1-C5:

step C1, obtaining an actual output time required for the cumulative amount of fluid output by the fluid output device to reach a preset cumulative amount.

And step C2, calculating the average flow rate in the actual output time, and determining the average flow rate as the corrected flow rate.

Step C3, calculating the product of the corrected flow rate and the actual output time, and the difference between the first accumulated amount and the second accumulated amount.

Step C4, calculating the ratio between the product and the difference, and determining the ratio as the correction parameter.

Step C5, determining the correction parameters and the correction flow rate as the correction data.

As an example, the control terminal sends a control command to the fluid output device, the flow rate point carried by the control command is 0.04m for cultivation/h, after the flow rate output by the device is stabilized, the control terminal reads the first accumulated amount V1 of the target instrument, where the first accumulated amount V1 is 0.998531m for cultivation, and sends a command to the calibrated instrument to read the accumulated amount V2 of the meter when the accumulated amount output by the device reaches 10L, where V2 is 1.009118m for cultivation, and when the actual output time of the flow rate output is 900s, the average flow rate within 900s is 0.04002m for cultivation/h, and the average flow rate is determined to be 0.04002m for cultivation/h.

Then calculation of 0.04002 m/h × (900 ÷ 3600) h ÷ (1.009118-0.998531 m) thin plant

0.94503 is obtained as a correction parameter.

In step S14, the correction data is written into the target meter so that the target meter is corrected in accordance with the correction data.

In the embodiment of the application, the correction data is written into the target meter, so that the target meter completes flow correction according to the correction data. Wherein the correction data includes: correction point 1, correction flow q1 and correction parameter F1; correction point 2, correction flow q2, correction parameter F2; correction point 3, correction flow q3, correction parameter F3, and so on.

According to the method and the device for calibrating the flow, the flow calibration is carried out by a method of reading the first cumulant and the second cumulant through the monitoring indexes, so that the problem that the gas cumulant of the LED pulse meter calibration is neglected is solved, and the flow calibration efficiency can be improved.

In the embodiment of the present application, as shown in fig. 4, after the correction data is written into the target meter, the method further includes the steps of:

in step S21, the corrected target meter is checked, and the error of the corrected target meter is calculated.

And step S22, confirming that the target instrument is corrected to pass under the condition that the error falls into the preset error range.

In the embodiment of the present application, after the correction list is written into the meter to be corrected, the corrected meter needs to be checked to ensure that the error of the corrected meter is within the specified range. The operation flow during the test is consistent with the operation flow for generating the correction parameters, except that the test of the instrument needs to calculate errors instead of the correction parameters, and the calculation process of the errors is as follows:

a first difference V4 between the second accumulated amount V2 and the first accumulated amount V1 and a second difference V5 between the third accumulated amount V3 and the first accumulated amount V1 are obtained, a difference between V4 and V5 is calculated, and a ratio between the difference and V5 is calculated, which is determined as an error.

And then, comparing the calculated error with an error range (such as +/-3%, +/-2% and the like) required by the flow calibration scheme table, and if the error is within the error range, checking to be qualified, and if the calculated error does not belong to the error range, checking to be unqualified. And clearing the correction list in the table to execute the correction process again for the table which is not qualified by the inspection until the inspection is qualified.

Fig. 5 is a block diagram of a correction apparatus for an ultrasonic meter according to an embodiment of the present application, which may be implemented as part or all of an electronic device by software, hardware, or a combination of the two. As shown in fig. 5, the apparatus includes:

an obtaining module 51, configured to obtain a first accumulated amount of a target meter to be corrected at a target flow value;

the monitoring module 52 is configured to obtain a second accumulated amount of the target instrument when it is determined that the monitoring index corresponding to the target flow value reaches a preset threshold;

a calculating module 53, configured to calculate based on the first accumulation amount and the second accumulation amount to obtain correction data;

and the processing module 54 is used for writing the correction data into the target meter so that the target meter can be corrected according to the correction data.

In this embodiment of the present application, the obtaining module 51 is configured to send a control instruction to the fluid output device, so that the fluid output device outputs the flow rate according to a target flow rate value carried by the control instruction; detecting the flow state of the flow output by the fluid output equipment; under the condition that the flow state is in a stable state, sending a first reading instruction to the target instrument so that the target instrument feeds back a first accumulated amount to the control terminal according to the first reading instruction; a first accumulated amount of target meter feedback is received.

In an embodiment of the present application, monitoring the index includes: a time of flow detection or cumulative amount of fluid output by the fluid output device;

and in the case that the monitoring index is the flow detection time, the monitoring module 52 is configured to determine, as the second accumulated amount, the accumulated amount displayed by the target meter in the preset detection time when the flow detection time corresponding to the target flow value reaches the preset detection time.

In this embodiment of the present application, the calculating module 53 is configured to send a second reading instruction to a target instrument, so that the target instrument feeds back, to the control terminal, a third accumulation amount displayed when the target instrument receives the second reading instruction according to the second reading instruction; determining a difference value between the first cumulant and the second cumulant, and calculating a ratio between the third cumulant and the difference value to obtain a correction parameter; calculating the ratio of the third cumulant to the final output time to obtain a corrected flow; and determining the correction parameters and the correction flow as correction data.

In the embodiment of the present application, in the case that the monitoring index is an accumulated amount, the monitoring module 52 is configured to determine the accumulated amount currently displayed by the target meter as a second accumulated amount in the case that the accumulated amount output by the fluid output device reaches a preset accumulated amount.

In the embodiment of the present application, the calculating module 53 is configured to obtain an actual output time required for the cumulative amount output by the fluid output device to reach a preset cumulative amount; calculating the average flow in the actual output time, and determining the average flow as the corrected flow; calculating the product of the corrected flow and the actual output time and the difference between the first accumulation amount and the second accumulation amount; calculating a ratio between the product and the difference, and determining the ratio as a correction parameter; and determining the correction parameters and the correction flow as correction data.

In the embodiment of the application, the device further comprises a checking module, which is used for checking the corrected target instrument and calculating the error of the corrected target instrument; and confirming that the target instrument is corrected to pass in the case that the error falls into a preset error range.

An embodiment of the present application further provides an electronic device, as shown in fig. 6, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.

A memory 1503 for storing a computer program;

the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.

The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.

The communication interface is used for communication between the terminal and other equipment.

The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.

The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.

In yet another embodiment provided by the present application, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute a method of modifying an ultrasonic meter as described in any of the above embodiments.

In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform a method of modifying an ultrasonic meter as described in any of the above embodiments.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.

The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种无接触式起爆药计量装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!