OTA online upgrading system of double-channel external clamping type ultrasonic fluid flowmeter

By designing an OTA online upgrade system for a dual-channel clamp-on ultrasonic liquid flow meter, and using the cloud platform to achieve online calibration, it solves the problem in the existing technology of inaccurate measurement during use of the equipment and requires disassembly and inspection, and achieves online calibration and upgrades. , extending the service life of the equipment.

CN119341908APending Publication Date: 2025-01-21HUAIYIN INSTITUTE OF TECHNOLOGY
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411198336.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The prior art is difficult to calibrate and upgrade the outer clamped ultrasonic liquid flowmeter installed on large pipes online, resulting in the need to disassemble the equipment for inspection when the measurement is found during use, which affects production and life.

Method used

Design an OTA online upgrade system for a dual-channel clamp-on ultrasonic liquid flow meter. It connects to the Internet through a WIFI module, so that the flow meter can contact the manufacturer and the measurement and testing calibration center through the cloud platform to download and update calibration parameters online. Complete online calibration.

Benefits of technology

There is no need to disassemble the meter to achieve online calibration, extend the life of the flowmeter, improve the measurement accuracy and user experience, and reduce the cost of transportation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119341908A_ABST
    Figure CN119341908A_ABST
Patent Text Reader

Abstract

According to the OTA online upgrading system of the two-channel external clamping type ultrasonic fluid flowmeter, the two-channel external clamping type ultrasonic fluid flowmeter is connected to the Internet through a WIFI module, so that the ultrasonic fluid flowmeter is connected with a manufacturer and a metering detection calibration center of an ultrasonic instrument through a cloud platform; when a user finds that the instrument needs to calibrate or upgrade solidification parameters in the actual measurement process, the user can make contact with a metering detection center or a manufacturer through a telephone to make an appointment without dismounting the ultrasonic instrument, and the metering detection center or the manufacturer can carry out calibration according to the model specification of the ultrasonic fluid flowmeter. The latest solidification calibration parameters are converted into binary bin files to be uploaded to a cloud service platform, then a user enables the ultrasonic fluid flowmeter to be networked, the calibration solidification parameter bin files are downloaded to an equipment storage unit through the cloud platform, and online calibration of the ultrasonic fluid flowmeter can be achieved after restarting. According to the invention, long-distance firmware upgrading and long-distance online calibration of the ultrasonic fluid flowmeter can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field related to intelligent instruments, and in particular to an OTA online upgrade system for a dual-channel clamp-on ultrasonic liquid flow meter. Background Art

[0002] Ultrasonic liquid flow meter is one of the important instruments in industrial measurement. It is widely used in various fields and is an important tool for developing industrial and agricultural production, saving energy, improving product quality and increasing economic benefits.

[0003] The patent number is 2023104755512, which discloses a dual-channel clamp-on ultrasonic liquid flowmeter. Specifically, it discloses an ultrasonic liquid flow rate measurement method and device based on parabola fitting, including: using a "double Z" type combination arrangement to form two groups of ultrasonic sensors; according to the set ultrasonic sensor array, the two groups of ultrasonic sensors send and receive signals at the same time, and the two ultrasonic receiving sensors receive ultrasonic signals of the upstream and downstream, and perform preprocessing; the ultrasonic signal is processed by upper and lower envelopes and parabola fitting to find a stable feature point, determine the ultrasonic signal's upstream and downstream propagation time, and further calculate the liquid flow rate. Compared with the prior art, the invention uses the method of parabola fitting at two groups of peak feature points of ultrasonic signals to find the transit time points of the two groups of ultrasonic signals in the downstream and upstream of the liquid, perform parabola quadratic fitting, and use the method of quadratic parabola fitting on the lower envelope to determine the precise transit time of the ultrasonic signal in the liquid, so as to achieve accurate measurement and calculation of the liquid flow rate.

[0004] Clamp-on ultrasonic liquid flowmeters are generally installed on pipelines for water supply, chemical raw material transportation or sewage discharge, and are used for large-diameter pipeline measurement. Most of them are very troublesome to disassemble for inspection due to limited space. Many clamp-on ultrasonic flowmeters have large diameters and are buried deep underground, which makes disassembly and transportation inconvenient and expensive. Some pipelines do not have bypass lines, and the pipeline valves need to be closed when the clamp-on ultrasonic flowmeter is inspected, which delays the normal water use of residents or the production progress of the company.

[0005] In the prior art, the patent number CN217637585U discloses an online calibration system for wastewater flowmeters based on a wireless network, which is used to calibrate the flowmeter to be measured on the pipeline, including multiple standard tables, wireless communication modules, networking terminals and analysis terminals. The multiple standard tables are all arranged on the pipeline where the flowmeter to be measured is located. The data output end of the flowmeter to be measured is connected to a wireless communication module. The multiple standard tables and the wireless communication module communicate with the networking terminal through a wireless network, and the networking terminal communicates with the analysis terminal. Through automatic data collection and wireless transmission, manual intervention is reduced, and the problem of asynchronous data synchronization collection and transmission during the calibration process is solved, while realizing automatic online collection of liquid flowmeters and automatic online calculation of calibration data.

[0006] However, this method is limited to calibration and calibration before the equipment leaves the factory. During the calibration process, the measurement error between the instrument to be tested and the standard instrument is compensated by software, and the compensation parameters are solidified into the internal FLASH of the main control of the instrument to be tested. However, this calibration method cannot solve the problem of inaccurate measurement found by the user in actual measurement after the instrument has been used for a period of time. The user still needs to disassemble the equipment for inspection. Summary of the invention

[0007] In response to the above-mentioned technical problems, the present technical solution provides an OTA online upgrade system for a dual-channel external clamp-on ultrasonic liquid flowmeter, which connects the dual-channel external clamp-on ultrasonic liquid flowmeter to the Internet through a WIFI module, so that the ultrasonic liquid flowmeter can communicate with the manufacturer and the metrology, testing and calibration center through the cloud platform; when the user finds that the ultrasonic liquid flowmeter needs to be calibrated during use, there is no need to remove the instrument; the user can contact the metrology and testing center network, and the metrology and testing center will convert the latest ultrasonic liquid flowmeter fixed calibration parameters into a binary bin file and upload it to the cloud service platform according to the specifications of the ultrasonic liquid flowmeter. The user connects the instrument equipment to the Internet, downloads the ultrasonic liquid flowmeter's calibration fixed parameter bin file to the device storage unit through the cloud platform, and realizes online calibration after restarting the ultrasonic liquid flowmeter; it can effectively solve the above-mentioned problems.

[0008] The present invention is achieved through the following technical solutions: An OTA online upgrade system for a dual-channel clamp-on ultrasonic liquid flowmeter comprises a dual-channel clamp-on ultrasonic liquid flowmeter and a WIFI module connected to the dual-channel clamp-on ultrasonic liquid flowmeter. The dual-channel clamp-on ultrasonic liquid flowmeter is connected to the Internet through the WIFI module, so that the ultrasonic liquid flowmeter can contact the manufacturer of the ultrasonic meter and the measurement and calibration center through a cloud platform. When a user finds that the meter needs to be calibrated during actual measurement, the user does not need to remove the ultrasonic meter. The user makes an appointment by telephone with the measurement and calibration center. The measurement and calibration center converts the latest solidified calibration parameters of the ultrasonic liquid flowmeter into a binary bin file and uploads it to the cloud service platform according to the model and specification of the ultrasonic liquid flowmeter. The user then connects the ultrasonic meter device to the network, downloads the calibration solidified parameter bin file of the ultrasonic liquid flowmeter to the device storage unit through the cloud platform, and the ultrasonic liquid flowmeter can realize online calibration after restarting. The specific operation steps of the online upgrade system for upgrading the dual-channel clamp-on ultrasonic liquid flowmeter include: Step 1: Provide a set of dual-channel clamp-on ultrasonic liquid flow meter firmware OTA upgrade program, and burn the program into the non-volatile memory FLASH of the main control board of the dual-channel clamp-on ultrasonic liquid flow meter; Step 2: The manufacturer calibrates the dual-channel clamp-on ultrasonic liquid flow meter for the first time before it leaves the factory, and burns the calibration parameters into the main control board of the ultrasonic flow meter; Step 3: Create a new folder for the dual-channel clamp-on ultrasonic liquid flow meter in the China Mobile OneNET IoT cloud service platform. The dual-channel clamp-on ultrasonic liquid flow meter is connected and paired with the China Mobile OneNET IoT cloud service platform through the WIFI module of the main control board. Create an upgrade task in the OTA management interface of the China Mobile OneNET IoT cloud service platform and fill in the version information of the firmware package. Step 4: The user uses the dual-channel clamp-on ultrasonic liquid flow meter device to measure large-diameter pipelines in the factory. When the dual-channel clamp-on ultrasonic liquid flow meter's pre-factory solidified production data cannot complete the measurement, the user promptly feeds back the information to the manufacturer and provides the manufacturer with the environmental and pipeline data required. The manufacturer re-uploads the dual-channel clamp-on ultrasonic liquid flow meter's solidified production data Bin file based on the environmental and pipeline data. When connected to the Internet, the user updates the dual-channel clamp-on ultrasonic liquid flow meter's firmware data.

[0009] Furthermore, the main control board of the external clamp-on ultrasonic liquid flowmeter described in step 1 is also connected to a large-capacity FLASH storage module for downloading upgrade programs of the cloud platform; at the same time, the main control board is also connected to an EEPROM memory for storing special variables; the parameter firmware version number of the external clamp-on ultrasonic liquid flowmeter is stored in the EEPROM memory.

[0010] Furthermore, in the main control board, the BOOT pin level of the single-chip microcomputer is set so that the ultrasonic main control chip starts from the internal FLASH of the chip; the internal FLASH of the single-chip microcomputer is divided into area A and area B, and the capacity ratio of area A to area B is 1:4, wherein area A is set as the program Bootloader area of ​​the dual-channel external clamp-on ultrasonic liquid flowmeter, and area B is placed as the firmware parameters of the dual-channel external clamp-on ultrasonic liquid flowmeter. At the same time, the variable OTA_SET_FLAG is set as a condition for judging whether an OTA event has arrived. If there is an OTA firmware upgrade event, the variable OTA_SET_FLAG is set to 1, otherwise the variable is set to 0, and the variable is saved in the EEPROM memory.

[0011] Furthermore, the conditions for area A to jump to area B are set. When the dual-channel clamp-on ultrasonic liquid flow meter has no parameter firmware to be upgraded, the Bootloader area is set to jump normally to area B to execute the dual-channel clamp-on ultrasonic liquid flow meter firmware parameter program; when the dual-channel clamp-on ultrasonic liquid flow meter has a firmware upgrade, when executing the Bootloader area, first determine whether the new firmware version number is consistent with the current version number. If they are consistent, the erasing and writing work of area B is not performed; if the version numbers are inconsistent, the ultrasonic firmware upgrade program in area B is erased; Then read data page by page from the external large-capacity FLASH storage chip and fill it into area B, set OTA_SET_FLAG to 0, save it to the EEPROM memory, and automatically restart when writing is completed; after restarting, the ultrasonic clamp-on ultrasonic flowmeter device completes the firmware upgrade task.

[0012] Furthermore, the dual-channel clamp-on ultrasonic liquid flow meter needs to be calibrated for the first time before leaving the factory. The specific operation steps of the first calibration include: Step 2.1: Install the dual-channel clamp-on ultrasonic liquid flow meter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flow meter on the same pipeline, open the pipeline valve, and inject liquid into the pipeline; Step 2.2: Observe whether the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter are working normally. When working normally, record and obtain various parameters of the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter through repeated operations and repeated measurements for multiple times; Step 2.3: Compensate the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated by using the recorded parameters; make the flow measured by the compensated dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated consistent with that of the standard dual-channel clamp-on ultrasonic liquid flowmeter, and achieve the accuracy required by the national instrument specification; Step 2.4: The manufacturer of the dual-channel clamp-on ultrasonic liquid flow meter burns the calibration-compensated solidification parameters and the firmware version number into the main control board of the dual-channel clamp-on ultrasonic liquid flow meter.

[0013] Furthermore, the specific operation steps of step 3 are: Step 3.1: The manufacturer of the dual-channel clamp-on ultrasonic liquid flow meter creates a dual-channel clamp-on ultrasonic liquid flow meter device in China Mobile's OneNET IoT cloud service platform. The OneNET IoT cloud service platform adds an upgrade task for the dual-channel clamp-on ultrasonic liquid flow meter and adds a batch for the task upgrade. Step 3.2: Upload the latest parameter curing Bin file package of the clamp-on ultrasonic liquid flow meter to the OneNET IoT cloud service platform, and modify the version number of the Bin file package. At the same time, the OneNET IoT cloud service platform will obtain the size of the firmware package; Step 3.3: When the user needs to perform OTA upgrade on the clamp-on ultrasonic liquid flow meter, the OneNET IoT cloud service platform needs to connect with the user first to obtain the firmware version number of the user's current clamp-on ultrasonic liquid flow meter; Step 3.4: When the device detects that the firmware version number of the user's current ultrasonic liquid flow meter is lower than the firmware version number of the new ultrasonic flow meter in the OneNET cloud service platform, the cloud service platform will automatically download the latest new firmware package of the ultrasonic flow meter to the external storage unit of the ultrasonic flow meter; at the same time, the OneNET cloud service platform management page will display whether the upgrade is successful.

[0014] Furthermore, the specific operation method of step 4 is: Step 4.1: The user uses the purchased ultrasonic liquid flow meter to measure the liquid or pipe diameter in a complex environment. If the liquid or pipe diameter is not supported by the ultrasonic flow meter in the original version of the solidification package, the solidification package of the ultrasonic flow meter must be upgraded first. When upgrading, the user needs to report the measurement requirements to the ultrasonic flow meter manufacturer; Step 4.2: The ultrasonic flow meter manufacturer will simulate the customer's measurement requirements in the calibration workshop according to user needs and modify the solidified measurement parameters of the ultrasonic flow meter; and re-upload the modified ultrasonic flow meter firmware package to the cloud service platform and modify the corresponding version number; Step 4.3: The cloud service platform pushes the latest ultrasonic flow meter solidification package to the user. The user opens the mobile phone and uses the Anxinke IoT WeChat applet to configure the ultrasonic flow meter network, so that the ultrasonic flow meter is successfully connected to the network; Step 4.4: The ultrasonic flow meter is successfully connected to the Internet, and the green indicator light of the ultrasonic flow meter is on; at this time, click the ultrasonic flow meter upgrade button, and the ultrasonic flow meter will automatically complete the upgrade; Step 4.5: After the upgrade is completed, the red indicator light will light up; if the red indicator light is not on, there is no upgrade or the upgrade has failed. Beneficial Effects

[0015] The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter proposed in the present invention has the following beneficial effects compared with the prior art: The present invention connects a dual-channel external clamp-on ultrasonic liquid flowmeter to the Internet through a WIFI module, so that the ultrasonic liquid flowmeter communicates with a manufacturer and a metrology, detection and calibration center through a cloud platform; when a user finds that the ultrasonic liquid flowmeter needs to be calibrated during use, the user does not need to remove the instrument; the user can communicate with the metrology, detection and calibration center network, and the metrology, detection and calibration center will convert the latest ultrasonic liquid flowmeter solidified calibration parameters into a binary bin file and upload it to the cloud service platform according to the specifications of the ultrasonic liquid flowmeter; the user connects the instrument equipment to the network, downloads the calibration solidified parameter bin file of the ultrasonic liquid flowmeter to the equipment storage unit through the cloud platform, and realizes online calibration after restarting the ultrasonic liquid flowmeter.

[0016] The present invention increases the application scope of the ultrasonic flowmeter by realizing online OTA upgrade of the ultrasonic liquid flowmeter. Even if the purchased ultrasonic flowmeter cannot measure the current pipeline liquid due to solidification parameters, the online OTA upgrade system can be used to realize user personalized measurement services.

[0017] The present invention also facilitates ultrasonic flowmeter manufacturers to manage ultrasonic flowmeters that have been put on the market. The ultrasonic flowmeters that have been put on the market can adapt to diversified measurements. Based on the original hardware of the ultrasonic flowmeter, the OTA online upgrade can not only solve the accuracy problem of the ultrasonic flowmeter caused by non-hardware reasons, but also realize the regular maintenance of the ultrasonic flowmeter software. It is not only convenient for users to use, but also convenient for the regular maintenance of ultrasonic flowmeter manufacturers, which greatly increases the service life of the ultrasonic flowmeter. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic block diagram of the overall architecture of the present invention.

[0019] Figure 2It is a schematic diagram of the online upgrade process of the ultrasonic liquid flow meter in the present invention.

[0020] Figure 3 It is a functional schematic block diagram of the ultrasonic liquid flow meter in the present invention. DETAILED DESCRIPTION

[0021] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Under the premise of not departing from the design concept of the present invention, various modifications and improvements made by ordinary persons in the art to the technical solutions of the present invention should all fall within the protection scope of the present invention. Example 1

[0022] like Figure 1 As shown, an OTA online upgrade system for a dual-channel external clamp-on ultrasonic liquid flowmeter includes a dual-channel external clamp-on ultrasonic liquid flowmeter and a WIFI module connected to the dual-channel external clamp-on ultrasonic liquid flowmeter. The dual-channel external clamp-on ultrasonic liquid flowmeter is connected to the Internet through the WIFI module, so that the ultrasonic liquid flowmeter can communicate with the manufacturer of the ultrasonic meter and the measurement and calibration center through the cloud platform. When the user finds that the meter needs to be calibrated during the actual measurement process, the user does not need to remove the ultrasonic meter. The user contacts the measurement and calibration center by phone to make an appointment. The measurement and calibration center converts the latest solidified calibration parameters of the ultrasonic liquid flowmeter into a binary bin file and uploads it to the cloud service platform according to the model and specifications of the ultrasonic liquid flowmeter. The user then connects the ultrasonic meter device to the network, downloads the calibration solidified parameter bin file of the ultrasonic liquid flowmeter to the device storage unit through the cloud platform, and the ultrasonic liquid flowmeter can be calibrated online after restarting.

[0023] like Figure 2 As shown in the figure, the specific operation steps of the online upgrade system to upgrade the dual-channel clamp-on ultrasonic liquid flow meter include: Step 1: Provide a set of dual-channel clamp-on ultrasonic liquid flow meter firmware OTA upgrade programs, and burn the programs into the non-volatile memory FLASH of the main control board of the dual-channel clamp-on ultrasonic liquid flow meter.

[0024] like Figure 3 As shown, the main control board of the external clamp-on ultrasonic liquid flow meter is also connected to a large-capacity FLASH storage module for downloading upgrade programs of the cloud platform; at the same time, the main control board is also connected to an EEPROM memory for storing special variables; the parameter firmware version number of the external clamp-on ultrasonic liquid flow meter is stored in the EEPROM memory.

[0025] In the main control board, the BOOT pin level of the microcontroller is set so that the ultrasonic main control chip starts from the internal FLASH of the chip; the internal FLASH of the microcontroller is divided into area A and area B, and the capacity ratio of area A to area B is 1:4, among which area A is set as the program Bootloader area of ​​the dual-channel external clamp-on ultrasonic liquid flowmeter, and area B is placed as the firmware parameters of the dual-channel external clamp-on ultrasonic liquid flowmeter. At the same time, the variable OTA_SET_FLAG is set as the condition for judging whether there is an OTA event. If there is an OTA firmware upgrade event, the variable OTA_SET_FLAG is set to 1, otherwise this variable is set to 0, and the variable is saved in the EEPROM memory.

[0026] Set the conditions for area A to jump to area B. When the dual-channel clamp-on ultrasonic liquid flow meter has no parameter firmware to be upgraded, set the Bootloader area to jump normally to area B to execute the dual-channel clamp-on ultrasonic liquid flow meter firmware parameter program; when the dual-channel clamp-on ultrasonic liquid flow meter has a firmware upgrade, when executing the Bootloader area, first determine whether the new firmware version number is consistent with the current version number. If they are consistent, do not execute the erasing and writing work of area B; if the version numbers are inconsistent, erase the ultrasonic firmware upgrade program in area B.

[0027] Then read data page by page from the external large-capacity FLASH storage chip and fill it into area B, set OTA_SET_FLAG to 0, save it to the EEPROM memory, and automatically restart when writing is completed; after restarting, the ultrasonic clamp-on ultrasonic flowmeter device completes the firmware upgrade task.

[0028] Step 2: The manufacturer shall perform the first calibration on the dual-channel clamp-on ultrasonic liquid flow meter before it leaves the factory, and burn the calibration parameters into the main control board of the ultrasonic flow meter; the dual-channel clamp-on ultrasonic liquid flow meter needs to undergo the first calibration and calibration before it leaves the factory. The specific operation steps of the first calibration and calibration include: Step 2.1: Install the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter on the same pipeline, open the pipeline valve, and inject liquid into the pipeline.

[0029] Step 2.2: Observe whether the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter are working normally. When working normally, record and obtain various parameters of the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter through repeated operations and repeated measurements.

[0030] Step 2.3: Compensate the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated by using the recorded parameters; make the compensated dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated consistent with the flow measured by the standard dual-channel clamp-on ultrasonic liquid flowmeter, and achieve the accuracy required by the national instrument specifications.

[0031] Step 2.4: The manufacturer of the dual-channel clamp-on ultrasonic liquid flow meter burns the calibration-compensated solidification parameters and the firmware version number into the main control board of the dual-channel clamp-on ultrasonic liquid flow meter.

[0032] Step 3: Create a new folder for the dual-channel clamp-on ultrasonic liquid flow meter in the China Mobile OneNET IoT cloud service platform. The dual-channel clamp-on ultrasonic liquid flow meter is connected and paired with the China Mobile OneNET IoT cloud service platform through the WIFI module of the main control board. Create an upgrade task in the OTA management interface of the China Mobile OneNET IoT cloud service platform and fill in the version information of the firmware package. The specific steps are as follows: Step 3.1: The manufacturer of the dual-channel clamp-on ultrasonic liquid flow meter creates a new dual-channel clamp-on ultrasonic liquid flow meter device in China Mobile's OneNET IoT cloud service platform. The OneNET IoT cloud service platform adds an upgrade task for the dual-channel clamp-on ultrasonic liquid flow meter and adds a batch for the task upgrade.

[0033] Step 3.2: Upload the latest parameter curing Bin file package of the clamp-on ultrasonic liquid flow meter to the OneNET IoT cloud service platform, and modify the version number of the Bin file package. At the same time, the OneNET IoT cloud service platform will obtain the size of the firmware package.

[0034] Step 3.3: When the user needs to perform OTA upgrade on the clamp-on ultrasonic liquid flow meter, the OneNET IoT cloud service platform needs to connect with the user first to obtain the firmware version number of the user's current clamp-on ultrasonic liquid flow meter.

[0035] Step 3.4: When the device detects that the firmware version number of the user's current ultrasonic liquid flow meter is lower than the firmware version number of the new ultrasonic flow meter in the OneNET cloud service platform, the cloud service platform will automatically download the latest new firmware package of the ultrasonic flow meter to the external storage unit of the ultrasonic flow meter; at the same time, the OneNET cloud service platform management page will display whether the upgrade is successful.

[0036] Step 4: The user uses the dual-channel clamp-on ultrasonic liquid flow meter to measure the large-diameter pipelines in the factory. When the dual-channel clamp-on ultrasonic liquid flow meter cannot complete the measurement due to the curing number before leaving the factory, the user promptly feeds back the information to the manufacturer and provides the environment and pipeline data required by the manufacturer. The manufacturer re-uploads the curing number Bin file of the dual-channel clamp-on ultrasonic liquid flow meter based on the environment and pipeline data. When connected to the Internet, the user updates the firmware data of the dual-channel clamp-on ultrasonic liquid flow meter. The specific operation method is: Step 4.1: The user uses the purchased ultrasonic liquid flow meter to measure the liquid or pipe diameter in a complex environment. When the liquid or pipe diameter is not supported by the ultrasonic flow meter in the original version of the solidification package, the solidification package of the ultrasonic flow meter must be upgraded first; when upgrading, the user needs to report the measurement requirements to the ultrasonic flow meter manufacturer.

[0037] Step 4.2: The ultrasonic flow meter manufacturer will simulate the customer's measurement requirements in the calibration workshop according to user needs and modify the fixed measurement parameters of the ultrasonic flow meter; and re-upload the modified ultrasonic flow meter firmware package to the cloud service platform and modify the corresponding version number.

[0038] Step 4.3: The cloud service platform pushes the latest ultrasonic flow meter solidification package to the user. The user opens the mobile phone and uses the Anxinke IoT WeChat applet to configure the ultrasonic flow meter network, so that the ultrasonic flow meter can be successfully connected to the network.

[0039] Step 4.4: The ultrasonic flow meter is successfully connected to the network, and the green network indicator of the ultrasonic flow meter lights up; at this time, click the ultrasonic flow meter upgrade button, and the ultrasonic flow meter automatically completes the upgrade.

[0040] Step 4.5: After the upgrade is completed, the red indicator light will light up; if the red indicator light is not on, there is no upgrade or the upgrade has failed.

[0041] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent transformation or modification made according to the spirit of the present invention should be included in the present invention.

Claims

1. An OTA online upgrade system for a dual-channel clamp-on ultrasonic liquid flow meter, characterized in that: It includes a dual-channel clamp-on ultrasonic liquid flowmeter and a WIFI module connected to the dual-channel clamp-on ultrasonic liquid flowmeter. The dual-channel clamp-on ultrasonic liquid flowmeter is connected to the Internet through the WIFI module, so that the ultrasonic liquid flowmeter can contact the manufacturer of the ultrasonic meter and the measurement and calibration center through the cloud platform. When the user finds that the meter needs to be calibrated during the actual measurement process, the user does not need to remove the ultrasonic meter. The user makes an appointment by telephone with the measurement and testing center. The measurement and testing center converts the latest solidified calibration parameters of the ultrasonic liquid flowmeter into a binary bin file and uploads it to the cloud service platform according to the model and specification of the ultrasonic liquid flowmeter. The user then connects the ultrasonic meter device to the network, downloads the calibration solidified parameter bin file of the ultrasonic liquid flowmeter to the device storage unit through the cloud platform, and the ultrasonic liquid flowmeter can realize online calibration after restarting. The specific operation steps of the online upgrade system to upgrade the dual-channel clamp-on ultrasonic liquid flowmeter include: Step 1: Provide a set of dual-channel clamp-on ultrasonic liquid flow meter firmware OTA upgrade program, and burn the program into the non-volatile memory FLASH of the main control board of the dual-channel clamp-on ultrasonic liquid flow meter; Step 2: The manufacturer calibrates the dual-channel clamp-on ultrasonic liquid flow meter for the first time before it leaves the factory, and burns the calibration parameters into the main control board of the ultrasonic flow meter; Step 3: Create a new folder for the dual-channel clamp-on ultrasonic liquid flow meter in the China Mobile OneNET IoT cloud service platform. The dual-channel clamp-on ultrasonic liquid flow meter is connected and paired with the China Mobile OneNET IoT cloud service platform through the WIFI module of the main control board. Create an upgrade task in the OTA management interface of the China Mobile OneNET IoT cloud service platform and fill in the version information of the firmware package. Step 4: The user uses the dual-channel clamp-on ultrasonic liquid flow meter device to measure large-diameter pipelines in the factory. When the dual-channel clamp-on ultrasonic liquid flow meter's pre-factory solidified production data cannot complete the measurement, the user promptly feeds back the information to the manufacturer and provides the manufacturer with the environmental and pipeline data required. The manufacturer re-uploads the dual-channel clamp-on ultrasonic liquid flow meter's solidified production data Bin file based on the environmental and pipeline data. When connected to the Internet, the user updates the dual-channel clamp-on ultrasonic liquid flow meter's firmware data.

2. The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter according to claim 1 is characterized in that: The main control board of the external clamp-on ultrasonic liquid flowmeter described in step 1 is also connected to a large-capacity FLASH storage module for downloading upgrade programs of the cloud platform; at the same time, the main control board is also connected to an EEPROM memory for storing special variables; the parameter firmware version number of the external clamp-on ultrasonic liquid flowmeter is stored in the EEPROM memory.

3. The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter according to claim 2 is characterized in that: In the main control board, the BOOT pin level of the single-chip microcomputer is set so that the ultrasonic main control chip starts from the internal FLASH of the chip; the internal FLASH of the single-chip microcomputer is divided into area A and area B, and the capacity ratio of area A to area B is 1:4, wherein area A is set as the program Bootloader area of ​​the dual-channel external clamp-on ultrasonic liquid flowmeter, and area B is placed as the firmware parameters of the dual-channel external clamp-on ultrasonic liquid flowmeter. At the same time, the variable OTA_SET_FLAG is set as a condition for judging whether an OTA event has arrived. If there is an OTA firmware upgrade event, the variable OTA_SET_FLAG is set to 1, otherwise the variable is set to 0, and the variable is saved in the EEPROM memory.

4. The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter according to claim 3 is characterized in that: Set the conditions for jumping from area A to area B. When there is no parameter firmware to be upgraded for the dual-channel clamp-on ultrasonic liquid flow meter, set the Bootloader area to jump normally to area B to execute the dual-channel clamp-on ultrasonic liquid flow meter firmware parameter program; when the dual-channel clamp-on ultrasonic liquid flow meter has a firmware upgrade, when executing the Bootloader area, first determine whether the new firmware version number is consistent with the current version number. If they are consistent, do not perform the erasing and writing work of area B; If the version numbers are inconsistent, erase the ultrasonic firmware upgrade program in area B; Then read data page by page from the external large-capacity FLASH storage chip and fill it into area B, set OTA_SET_FLAG to 0, save it to the EEPROM memory, and automatically restart when writing is completed; after restarting, the external clamp-on ultrasonic liquid flow meter device completes the firmware upgrade task.

5. The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter according to claim 1, characterized in that: The dual-channel clamp-on ultrasonic liquid flow meter needs to be calibrated for the first time before leaving the factory. The specific operation steps of the first calibration include: Step 2.1: Install the dual-channel clamp-on ultrasonic liquid flow meter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flow meter on the same pipeline, open the pipeline valve, and inject liquid into the pipeline; Step 2.2: Observe whether the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter are working normally. When working normally, record and obtain various parameters of the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated and the standard dual-channel clamp-on ultrasonic liquid flowmeter through repeated operations and repeated measurements for multiple times; Step 2.3: Compensate the dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated by using the recorded parameters; make the flow measured by the compensated dual-channel clamp-on ultrasonic liquid flowmeter to be calibrated consistent with that of the standard dual-channel clamp-on ultrasonic liquid flowmeter, and achieve the accuracy required by the national instrument specification; Step 2.4: The manufacturer of the dual-channel clamp-on ultrasonic liquid flow meter burns the calibration-compensated solidification parameters and the firmware version number into the main control board of the dual-channel clamp-on ultrasonic liquid flow meter.

6. The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter according to claim 1, characterized in that: The specific steps of step 3 are as follows: Step 3.1: The manufacturer of the dual-channel clamp-on ultrasonic liquid flow meter creates a dual-channel clamp-on ultrasonic liquid flow meter device in China Mobile's OneNET IoT cloud service platform. The OneNET IoT cloud service platform adds an upgrade task for the dual-channel clamp-on ultrasonic liquid flow meter and adds a batch for the task upgrade. Step 3.2: Upload the latest parameter curing Bin file package of the clamp-on ultrasonic liquid flow meter to the OneNET IoT cloud service platform, and modify the version number of the Bin file package. At the same time, the OneNET IoT cloud service platform will obtain the size of the firmware package; Step 3.3: When the user needs to perform OTA upgrade on the clamp-on ultrasonic liquid flow meter, the OneNET IoT cloud service platform needs to connect with the user first to obtain the firmware version number of the user's current clamp-on ultrasonic liquid flow meter; Step 3.4: When the device detects that the firmware version number of the user's current ultrasonic liquid flow meter is lower than the firmware version number of the new ultrasonic flow meter in the OneNET cloud service platform, the cloud service platform will automatically download the latest new firmware package of the ultrasonic flow meter to the external storage unit of the ultrasonic flow meter; at the same time, the OneNET cloud service platform management page will display whether the upgrade is successful.

7. The OTA online upgrade system of a dual-channel clamp-on ultrasonic liquid flowmeter according to claim 1, characterized in that: The specific operation method of step 4 is: Step 4.1: The user uses the purchased ultrasonic liquid flow meter to measure the liquid or pipe diameter in a complex environment. If the liquid or pipe diameter is not supported by the ultrasonic flow meter in the original version of the solidification package, the solidification package of the ultrasonic flow meter must be upgraded first. When upgrading, the user needs to report the measurement requirements to the ultrasonic flow meter manufacturer; Step 4.2: The ultrasonic flow meter manufacturer will simulate the customer's measurement requirements in the calibration workshop according to user needs and modify the solidified measurement parameters of the ultrasonic flow meter; and re-upload the modified ultrasonic flow meter firmware package to the cloud service platform and modify the corresponding version number; Step 4.3: The cloud service platform pushes the latest ultrasonic flow meter solidification package to the user. The user opens the mobile phone and uses the Anxinke IoT WeChat applet to configure the ultrasonic flow meter network, so that the ultrasonic flow meter is successfully connected to the network; Step 4.4: The ultrasonic flow meter is successfully connected to the Internet, and the green indicator light of the ultrasonic flow meter is on; at this time, click the ultrasonic flow meter upgrade button, and the ultrasonic flow meter will automatically complete the upgrade; Step 4.5: After the upgrade is completed, the red indicator light will light up; if the red indicator light is not on, there is no upgrade or the upgrade has failed.

Citation Information

Patent Citations

  • Wastewater flowmeter online calibration system based on wireless network

    CN217637585U