Calibration method, device, computer device and storage medium for flow meter
By acquiring the characteristic data of the flow meter and matching the causes of abnormalities in the diagnostic database, the problem of difficult monitoring and diagnosis of abnormal vibration of the target flow meter is solved, realizing real-time monitoring and low-cost abnormality diagnosis.
Patent Information
- Application Number
- CN202111678507.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2041-12-31
AI Technical Summary
Abnormal vibration of the target flow meter during use is difficult to monitor and diagnose, which makes it impossible to detect and determine the cause of the abnormality in a timely manner, increasing maintenance costs and complexity.
By acquiring characteristic data of the flow meter, including acceleration and flow rate, it is determined whether its status is abnormal. The cause of the abnormality is searched in a pre-established diagnostic database. By matching parameters such as acceleration, flow rate, and vibration frequency, real-time monitoring and diagnosis can be achieved.
It enables real-time vibration monitoring of the target flow meter and timely diagnosis of abnormal causes, reduces maintenance costs, simplifies the maintenance process, and features low power consumption and high efficiency.
Smart Images

Figure CN114441010B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of signal processing, in particular to a verification method and device of a flowmeter, a computer device and a storage medium. BACKGROUND
[0002] The target flowmeter is an instrument for measuring the flow of fluid in a pipeline, which is applied in an industrial process control environment to indicate the measured fluid flow and the total amount of the measured fluid in a selected time interval. For example, the target flowmeter is used for natural gas trade measurement settlement and petroleum and chemical industry measurement.
[0003] In theory, the target flowmeter installed in the pipeline will maintain a stable vibration rhythm in the normal working state. However, as time goes by, the target flowmeter installed in the pipeline may change the installation position, such as falling, turning over, etc. At the same time, in different working conditions, the target flowmeter often appears abnormal vibration during use. Since the abnormal vibration of the target flowmeter is relatively complex, it may be caused by the factors of the target flowmeter itself, such as bearing damage, blade deformation, impeller missing (single piece to multiple pieces), for the abnormal vibration of the target flowmeter caused by the factors of the target flowmeter itself, the instrument needs to be disassembled to determine the reason of abnormal vibration, which increases the cost and complexity. The abnormal vibration of the target flowmeter may also be caused by external factors, such as oil pollution, pipeline vibration, and jamming.
[0004] It can be seen that, since the installation state of the target flowmeter is difficult to monitor during the maintenance process of the target flowmeter, the abnormal vibration of the target flowmeter is difficult to monitor during the use process of the target flowmeter, and the reason of the abnormal vibration is difficult to determine, it is impossible to find the abnormal vibration of the target flowmeter in time, and it is impossible to diagnose the reason of the abnormal vibration of the target flowmeter in time. SUMMARY
[0005] The present application provides a verification method and device of a flowmeter, a computer device and a storage medium, which can monitor and record the abnormal vibration data of the target flowmeter in real time, and diagnose the reason of the abnormal vibration of the target flowmeter in time.
[0006] The first aspect provides a verification method of a flowmeter, which comprises:
[0007] obtaining characteristic data of a target flowmeter, wherein the characteristic data comprises acceleration and flow value of the target flowmeter;
[0008] determining whether the state of the target flowmeter is abnormal according to the characteristic data;
[0009] if the state of the target flowmeter is abnormal, determining a diagnosis parameter of the target flowmeter according to the characteristic data;
[0010] According to the diagnostic parameter, an abnormal reason corresponding to the diagnostic parameter is searched in a pre-established diagnostic database, wherein the diagnostic database comprises a mapping relationship between diagnostic parameters and abnormal reasons of a template flowmeter.
[0011] In some embodiments, the determining whether the state of the target flowmeter is abnormal according to the feature data comprises:
[0012] According to the feature data, it is determined whether the installation state of the target flowmeter is abnormal.
[0013] According to the feature data, it is determined whether the vibration state of the target flowmeter is abnormal.
[0014] In some embodiments, the determining whether the installation state of the target flowmeter is abnormal according to the feature data comprises:
[0015] An initial installation angle of the flowmeter is acquired;
[0016] According to the acceleration, a current installation angle of the target flowmeter is determined;
[0017] According to an angle difference between the current installation angle and the initial installation angle, it is determined whether the installation state of the target flowmeter is abnormal.
[0018] And / or, according to the acceleration, an angular acceleration of the target flowmeter is determined, and according to the angular acceleration, it is determined whether the installation state of the target flowmeter is abnormal.
[0019] And / or, the acceleration is compared with a gravitational acceleration, and according to a comparison result, it is determined whether the installation state of the target flowmeter is abnormal.
[0020] In some embodiments, the determining whether the vibration state of the target flowmeter is abnormal according to the feature data comprises:
[0021] According to the acceleration, it is determined whether the target flowmeter is in a vibration state.
[0022] If the target flowmeter is in the vibration state, the acceleration is compared with a normal acceleration range, wherein the normal acceleration range is an acceleration range corresponding to a normal vibration process of the flowmeter in a process in which the flowmeter monitors the flow value.
[0023] According to the comparison result, it is determined whether the vibration state of the target flowmeter is abnormal.
[0024] In some embodiments, the determining the diagnostic parameter of the target flowmeter according to the feature data comprises:
[0025] determining the installation angle and the vibration frequency of the flowmeter according to the acceleration, the diagnostic parameters comprising: the acceleration, the flow value, the installation angle and the vibration frequency;
[0026] finding an abnormal reason corresponding to the diagnostic parameters in a pre-established diagnostic database according to the diagnostic parameters, comprising:
[0027] determining whether a template flowmeter meeting a preset condition exists in the diagnostic database according to the diagnostic parameters, the preset condition comprising that the diagnostic parameters of the template flowmeter meet the preset condition, the preset condition comprising: the acceleration similarity between the target flowmeter and the template flowmeter is greater than a first preset value, the flow value similarity is greater than a second preset value, the vibration frequency similarity is greater than a third preset value, and the installation angle difference is less than a fourth preset value;
[0028] if the template flowmeter exists, taking the abnormal reason mapped by the template flowmeter as the abnormal reason of the target flowmeter.
[0029] In some embodiments, after finding an abnormal reason corresponding to the diagnostic parameters in a pre-established diagnostic database, the method further comprises:
[0030] recording the calibration data of the target flowmeter, and adding the calibration data to the diagnostic database and / or sending the calibration data to a preset terminal, wherein the diagnostic data comprises the characteristic data, the diagnostic parameters and the abnormal reason of the target flowmeter.
[0031] In some embodiments, the calibration method of the flowmeter further comprises: establishing a diagnostic database, the establishment of the diagnostic database comprising:
[0032] setting a plurality of template flowmeters in a test pipeline at a preset installation angle, wherein the template flowmeters comprise a first flowmeter, a second flowmeter and a third flowmeter, the first flowmeter and the second flowmeter are flowmeters with component damage and abnormal vibration when detecting flow; the third flowmeter is a normal flowmeter and has normal vibration when detecting flow;
[0033] collecting the acceleration of each template flowmeter during flow detection, wherein the first template flowmeter detects the flow value of the medium in the test pipeline in a normal working environment, and the second template flowmeter and the third flowmeter detect the flow value of the medium in the test pipeline in a working environment with a preset disturbance;
[0034] determining the installation angle and the vibration frequency of each template flowmeter according to the test acceleration of each template flowmeter;
[0035] The causes of vibration abnormalities of the first template flowmeter are component damage, the causes of vibration abnormalities of the second template flowmeter are component damage and preset interference, the cause of vibration abnormalities of the third template flowmeter is preset interference, and a mapping relationship between the causes of vibration abnormalities of each template flowmeter and the acceleration, the vibration frequency, the installation angle and the flow value is established in the diagnosis database.
[0036] The second aspect provides a verification device of a target flowmeter, comprising:
[0037] An acquisition unit is configured to acquire feature data of the target flowmeter, wherein the feature data comprises acceleration and flow value of the target flowmeter;
[0038] A first calculation unit is configured to determine the vibration frequency and the vibration angle of the target flowmeter according to the acceleration value;
[0039] A second calculation unit is configured to determine a diagnosis parameter of the target flowmeter according to the feature data if the state of the target flowmeter is abnormal;
[0040] A result output unit is configured to find an abnormal cause corresponding to the diagnosis parameter in a diagnosis database established in advance according to the diagnosis parameter, wherein the diagnosis database comprises a mapping relationship between diagnosis parameters and abnormal causes of template flowmeters.
[0041] The third aspect provides a computer device, comprising a memory and a processor, the memory stores computer readable instructions, and the computer readable instructions are executed by the processor to make the processor execute the steps of the verification method of the flowmeter.
[0042] The fourth aspect provides a storage medium storing computer readable instructions, and the computer readable instructions are executed by one or more processors to make the one or more processors execute the steps of the verification method of the flowmeter.
[0043] The method, device, computer device and storage medium for calibrating the flow meter, first acquire characteristic data of the target flow meter, wherein the characteristic data comprises acceleration and flow value of the target flow meter; secondly, determine whether the state of the target flow meter is abnormal according to the characteristic data; if the state of the target flow meter is abnormal, determine the diagnostic parameter of the target flow meter according to the characteristic data; finally, according to the diagnostic parameter, find the abnormal reason corresponding to the diagnostic parameter in the pre-established diagnostic database, wherein the diagnostic database comprises the mapping relationship between the diagnostic parameter and the abnormal reason of the template flow meter. Therefore, the target flow meter can be calibrated according to different accelerations, vibration rhythms, or vibration angles of the monitored vibration, etc., to realize the calibration of the target flow meter falling, turning over and vibration, etc., so as to determine whether the target flow meter is abnormal due to itself or external factors, and overcome the technical deficiency that effective improvement measures cannot be taken due to the difficulty in calibrating the vibration reason during the maintenance process of the target flow meter; the method can display the installation angle of the target flow meter in real time, facilitating the installation and debugging of the target flow meter; the method can realize real-time vibration monitoring, can wake up by inertia and keep low power mode during inactivity, and has the advantages of less resource occupation, easy implementation, low power consumption and high execution efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0044] Figure 1 Flow chart of the calibration method of the flow meter in one embodiment;
[0045] Figure 2 Principle diagram of the calibration method of the flow meter in one embodiment;
[0046] Figure 3 Another flow chart of the calibration method of the flow meter in one embodiment;
[0047] Figure 4 Block diagram of the calibration device of the target flow meter in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0049] It should be noted that the terms "first", "second", and the like in the description and in the claims of the present application and above-described accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular sequential or chronological order. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0050] Figure 1 An implementation environment diagram for a calibration method of a flow meter provided in an embodiment is shown in FIG. 1, which includes a microcontroller, a micro-mechanical accelerometer, a storage circuit and an RS485 communication circuit. The method can calibrate the target flow meter according to different accelerations, vibration rhythms or vibration angles of monitored vibration to realize abnormal reason calibration such as falling, turning and vibration of the target flow meter, so as to diagnose whether the target flow meter is abnormal due to itself or external factors. The method can also perform real-time vibration monitoring and generate abnormal event processing records. Figure 1
[0051] As shown in FIG. 1, in an embodiment, a calibration method of a flow meter is provided, which can specifically include: Figure 2
[0052] Step 201, acquiring characteristic data of a target flow meter, wherein the characteristic data includes acceleration and flow value of the target flow meter;
[0053] It can be understood that the flow meter itself is provided with a three-axis acceleration sensor, and the flow meter will vibrate when working (detecting flow). The acceleration sensor collects three-axis vibration acceleration of the target flow meter in three-dimensional space. The flow value here is the flow value detected by the flow meter.
[0054] Step 202, determining whether the state of the target flow meter is abnormal according to the characteristic data;
[0055] It can be understood that the acceleration in the characteristic data can detect which actions the flow meter has, and the target flow meter has two states, one is the vibration state when working, and the other is the static state when not working. The state abnormality in the vibration state includes vibration abnormality, and the state abnormality in the static state includes installation abnormality, for example, falling, turning, and large difference between the current installation angle and the initial installation angle.
[0056] According to the drop acceleration in any direction of the acceleration of the micro-mechanical acceleration compared with the preset threshold, the drop monitoring of the target flowmeter is performed. That is, the drop monitoring function can be realized by obtaining the free fall acceleration size of the acceleration in a direction. According to the size of the acceleration in multiple angles of the micro-mechanical acceleration, the turnover monitoring of the target flowmeter is performed. That is, the turnover monitoring function can be realized by obtaining the size of the acceleration in multiple angles.
[0057] In some embodiments, the above step 202 can include:
[0058] Step 202a, determining whether the installation state of the target flowmeter is abnormal according to the feature data;
[0059] In an application scenario, the above step 202a specifically includes:
[0060] Step 202a1, obtaining the initial installation angle of the flowmeter;
[0061] The initial installation angle can be obtained by the target flowmeter according to the acceleration when the target flowmeter is initially installed.
[0062] Step 202a2, determining the current installation angle of the target flowmeter according to the acceleration;
[0063] Step 202a3, determining whether the installation state of the target flowmeter is abnormal according to the angle difference between the current installation angle and the initial installation angle.
[0064] When the angle difference is large, it means that the installation state of the target flowmeter is abnormal.
[0065] In another application scenario, the above step 202a specifically includes:
[0066] According to the angular acceleration of the target flowmeter determined by the acceleration, determining whether the installation state of the target flowmeter is abnormal according to the angular acceleration;
[0067] In another application scenario, the above step 202a specifically includes:
[0068] Comparing the acceleration with the gravitational acceleration, and determining whether the installation state of the target flowmeter is abnormal according to the comparison result.
[0069] Wherein, the acceleration is obtained by the acceleration sensor, and whether the target flowmeter is in the gravitational acceleration is judged according to the acceleration, so as to determine whether the target flowmeter is in the drop state. If it is detected that the acceleration is equal to the gravitational acceleration, it is determined that the target flowmeter is in the drop state, otherwise, it is determined that the target flowmeter is not in the drop state.
[0070] Of course, the above multiple application scenarios can also be one application scenario.
[0071] Step 202b, determining whether the vibration state of the target flowmeter is abnormal according to the characteristic data.
[0072] In some embodiments, step 202b above specifically includes:
[0073] Step 202b1, determining whether the target flowmeter is in a vibration state according to the acceleration.
[0074] Wherein, the target flowmeter should be in a long-time slight vibration when working, so the acceleration can be used to determine whether the target flowmeter is in a vibration state.
[0075] Step 202b2, if the target flowmeter is in a vibration state, comparing the acceleration with a normal acceleration range, wherein the normal acceleration range is the acceleration range corresponding to the normal vibration of the flowmeter during monitoring the flow value.
[0076] Step 202b3, determining whether the vibration state of the target flowmeter is abnormal according to the comparison result.
[0077] Wherein, when the acceleration is not in the normal acceleration range and greater than a threshold value, it can be determined that the vibration state of the target flowmeter is abnormal.
[0078] Step 203, if the state of the target flowmeter is abnormal, determining the diagnostic parameters of the target flowmeter according to the characteristic data.
[0079] Wherein, the diagnostic parameters include: acceleration, flow value, installation angle and vibration frequency.
[0080] In some application scenarios, the micromechanical accelerometer is connected to the microprocessor through I 2 When the installation state of the micromechanical accelerometer is abnormal, the microprocessor outputs an interrupt signal to the microprocessor.
[0081] The vibration frequency monitoring is performed according to the interval of the interrupt signal calculated by the timer. Wherein, the motion monitoring threshold value is set, the rhythmic interrupt is obtained, and the interrupt interval is calculated by the microprocessor timer, so as to realize the vibration frequency monitoring function.
[0082] Wherein, the acceleration sensor is based on the principle of gravity, so it can realize the inclination of double-axis positive and negative 90 degrees or double-axis 0-360 degrees.
[0083] The installation angle of the target flowmeter is determined according to the acceleration value, including: calculating the installation angle of the target flowmeter according to the following formula:
[0084] θx=α1*180 / π=[arctan(Ax / squr(Ay*Ay+Az*Az))]*180 / π;
[0085] θy = β1 * 180 / π = [arctan (Ay / squr (Ax * Ax + Az * Az)) ] * 180 / π;
[0086] θz = γ1 * 180 / π = [arctan (Az / squr (Ax * Ax + Ay * Ay)) ] * 180 / π;
[0087] In the formula, α1, β1, γ1 are the radian values of the X, Y, Z axes and the horizontal line respectively, and Ax, Ay, Az are the acceleration values on the X, Y, Z axes respectively.
[0088] In step 204, according to the diagnostic parameters, the abnormal reasons corresponding to the diagnostic parameters are found in the pre-established diagnostic database, wherein the diagnostic database includes the mapping relationship between the diagnostic parameters and the abnormal reasons of the template flowmeter.
[0089] In the diagnostic database, the correlation between the instantaneous flow values, acceleration values, vibration frequencies and vibration angles collected by the target flowmeter under different conditions of the target flowmeter is stored, and the different conditions include that the target flowmeter itself is intact and the target flowmeter itself has different damages.
[0090] In some embodiments, the diagnostic parameters of the target flowmeter are determined according to the feature data, comprising:
[0091] The installation angle and the vibration frequency of the flowmeter are determined according to the acceleration, and the diagnostic parameters include: acceleration, flow value, installation angle and vibration frequency;
[0092] In the above step 204, according to the diagnostic parameters, the abnormal reasons corresponding to the diagnostic parameters are found in the pre-established diagnostic database, which can include:
[0093] In the above step 204a, according to the diagnostic parameters, it is determined whether there is a template flowmeter in the diagnostic database that meets the preset condition, and the preset condition includes that the diagnostic parameters of the template flowmeter meet the preset condition, and the preset condition includes: the acceleration similarity between the target flowmeter and the template flowmeter is greater than a first preset value, the flow value similarity is greater than a second preset value, the vibration frequency similarity is greater than a third preset value, and the installation angle difference is less than a fourth preset value;
[0094] In the above step 204b, if there is, the abnormal reasons mapped with the template flowmeter are taken as the abnormal reasons of the target flowmeter.
[0095] In an application scenario, the acceleration value, vibration frequency and flow value of the target flowmeter are compared with the data of the pre-established diagnostic database, comprising:
[0096] a fast Fourier transform of the instantaneous flow value, the acceleration value and the vibration frequency vibration angle of the target flow meter, interference removal and vibration feature extraction;
[0097] The fast Fourier transform transforms the time-domain discrete sequence of the vibration signal into a frequency-domain discrete sequence; the interference removal includes comparing each element in the frequency-domain discrete sequence with a threshold value, setting the element less than the threshold value to zero, and retaining the element greater than the threshold value to obtain an effective frequency-domain discrete sequence;
[0098] The effective frequency-domain discrete sequence is used to draw a vibration curve of the target flow meter;
[0099] The vibration curve is compared with vibration curves in a diagnostic database in terms of similarity, and the abnormal cause corresponding to a similar curve is determined.
[0100] Based on the relationship between the acceleration increment of the X, Y and Z axes and the instantaneous flow rate, signal features of the vibration signal are extracted from the transient test data, a diagnostic database is established, and the monitoring functions of strong knock vibration, abnormal vibration of the flow meter itself or other external factors can be realized.
[0101] In some embodiments, after step 205, step 206 is further included, that is, after finding the abnormal cause corresponding to the diagnostic parameter in the pre-established diagnostic database, the following steps are further included:
[0102] The calibration data of the target flow meter are recorded, and the calibration data are added to the diagnostic database for storage and / or sent to a preset terminal, wherein the diagnostic data include feature data, diagnostic parameters and abnormal causes of the target flow meter.
[0103] After the abnormal feature signal is collected, interference signal components are analyzed, screened and removed, and the flow meter drop detection, strong knock vibration detection, turnover detection and installation direction detection are realized, the abnormal cause of the flow meter is detected, and an alarm and an abnormal event record are generated.
[0104] In some embodiments, the calibration method of the flow meter further includes establishing a diagnostic database, and the establishment of the diagnostic database includes:
[0105] Step 200a, a plurality of template flow meters are respectively arranged in the test pipeline at a preset installation angle, wherein the template flow meters include a first flow meter, a second flow meter and a third flow meter, the first flow meter and the second flow meter are flow meters with damaged components and abnormal vibration when detecting flow; the third flow meter is a normal flow meter and has normal vibration when detecting flow;
[0106] The critical flow nozzle gas flow standard device and the high-pressure ring channel standard device are combined to perform a transient test on the vibration of the template flow meter.
[0107] Step 200b, collecting the acceleration in the process of detecting the flow of each template flowmeter, wherein the first template flowmeter detects the flow value of the medium in the test pipeline in the normal working environment, and the second template flowmeter and the third flowmeter detect the flow value of the medium in the test pipeline in the working environment with the preset disturbance;
[0108] The component damage includes bearing damage, blade deformation, impeller missing (single piece to multiple pieces), etc. The preset disturbance includes oil pollution resistance, impact, and jamming, etc.
[0109] The microcontroller controls the micro-mechanical accelerometer to open the enable through the I2C mode, sets a value according to different environments, and when the falling acceleration of the target flowmeter is greater than a certain value, or when the target flowmeter receives rhythmic beating or other impact to produce vibration, or when the target flowmeter overturns, the micro-mechanical accelerometer generates an interrupt, the microcontroller receives the interrupt, and repeatedly samples and extracts the corresponding values three times.
[0110] Every second, it is monitored whether the vibration module is connected, and if disconnected, the function is closed, and if connected, the function is opened.
[0111] Every 10 seconds, the angles of X, Y, and Z axes are read, and the inclination angle of the target flowmeter is displayed.
[0112] Step 200c, determining the installation angle and the vibration frequency of each template flowmeter according to the test acceleration of each template flowmeter;
[0113] Step 200d, taking the component damage as the reason for the vibration anomaly of the first template flowmeter, taking the component damage and the preset disturbance as the reason for the vibration anomaly of the second template flowmeter, and taking the preset disturbance as the reason for the vibration anomaly of the third template flowmeter, and establishing the mapping relationship between the reason for the vibration anomaly of each template flowmeter and the acceleration, the vibration frequency, the installation angle, and the flow value in the diagnosis database.
[0114] As shown in FIG. 1, an implementation process of a flowmeter calibration method is shown: Figure 3
[0115] A diagnosis database is established.
[0116] It is monitored whether the vibration module is in a connected state,
[0117] If it is in a connected state, the acceleration size is read.
[0118] The installation angle is calculated and displayed.
[0119] The environment parameters are set, and if the setting fails, the setting is reset until the setting is successful.
[0120] Characteristic signals are collected.
[0121] The characteristic signals are compared with the threshold value.
[0122] If greater than the threshold, alarm;
[0123] The interference component of the characteristic signal is removed to obtain acceleration, frequency, angle, and flow acquisition;
[0124] Vibration monitoring function call;
[0125] Abnormal reason determination;
[0126] If less than the threshold, the vibration monitoring module is interrupted;
[0127] If disconnected, the vibration monitoring module is interrupted.
[0128] As Figure 4 shown, in one embodiment, a target flowmeter calibration device is provided, which can specifically include:
[0129] The acquisition unit 411 is configured to acquire characteristic data of the target flowmeter, wherein the characteristic data includes acceleration and flow values of the target flowmeter.
[0130] The first calculation unit 412 is configured to determine vibration frequency and vibration angle of the target flowmeter according to the acceleration value.
[0131] The second calculation unit 413 is configured to determine diagnostic parameters of the target flowmeter according to the characteristic data if the state of the target flowmeter is abnormal.
[0132] The result output unit 414 is configured to find abnormal reasons corresponding to the diagnostic parameters in a pre-established diagnostic database according to the diagnostic parameters, wherein the diagnostic database includes a mapping relationship between diagnostic parameters and abnormal reasons of a template flowmeter.
[0133] In one embodiment, a computer device is provided, which can include a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when executing the computer program: acquiring characteristic data of a target flowmeter, wherein the characteristic data includes acceleration and flow values of the target flowmeter; determining whether the state of the target flowmeter is abnormal according to the characteristic data; determining diagnostic parameters of the target flowmeter according to the characteristic data if the state of the target flowmeter is abnormal; and finding abnormal reasons corresponding to the diagnostic parameters in a pre-established diagnostic database according to the diagnostic parameters, wherein the diagnostic database includes a mapping relationship between diagnostic parameters and abnormal reasons of a template flowmeter.
[0134] In one embodiment, a storage medium storing computer readable instructions is provided, which, when executed by one or more processors, causes the one or more processors to perform the following steps: obtaining characteristic data of a target flowmeter, wherein the characteristic data comprises acceleration and flow value of the target flowmeter; determining whether a state of the target flowmeter is abnormal according to the characteristic data; if the state of the target flowmeter is abnormal, determining a diagnostic parameter of the target flowmeter according to the characteristic data; and searching for an abnormal reason corresponding to the diagnostic parameter in a pre-established diagnostic database according to the diagnostic parameter, wherein the diagnostic database comprises a mapping relationship between diagnostic parameters and abnormal reasons of a template flowmeter.
[0135] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment devices can be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the program is executed, the processes of the above-mentioned embodiments of the devices can be included. The storage medium can be a non-volatile storage medium such as a magnetic disc, an optical disc, a read-only memory (ROM), or a random access memory (RAM).
[0136] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above-mentioned embodiments are not described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present disclosure.
[0137] The above-mentioned embodiments only express several embodiments of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the present patent. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of the present application. Therefore, the scope of protection of the present patent should be subject to the appended claims.
Claims
1. A method of proving a flowmeter, characterized by, The method comprises: obtaining characteristic data of a target flowmeter, wherein the characteristic data comprises acceleration and a flow value of the target flowmeter; determining whether the state of the target flowmeter is abnormal according to the characteristic data; if the state of the target flowmeter is abnormal, determining a diagnostic parameter of the target flowmeter according to the characteristic data; according to the diagnostic parameter, searching for an abnormal cause corresponding to the diagnostic parameter in a pre-established diagnostic database, wherein the diagnostic database comprises a mapping relationship between a diagnostic parameter and an abnormal cause of a template flowmeter; the determining of the diagnostic parameter of the target flowmeter according to the characteristic data comprises: determining an installation angle and a vibration frequency of the flowmeter according to the acceleration, and the diagnostic parameter comprises the acceleration, the flow value, the installation angle and the vibration frequency.
2. The method of calibrating a flow meter of claim 1, wherein, the determining of whether the state of the target flowmeter is abnormal according to the characteristic data comprises: determining whether the installation state of the target flowmeter is abnormal according to the characteristic data; determining whether the vibration state of the target flowmeter is abnormal according to the characteristic data.
3. The method of calibrating a flow meter of claim 2, wherein, the determining of whether the installation state of the target flowmeter is abnormal according to the characteristic data comprises: obtaining an initial installation angle of the flowmeter; determining a current installation angle of the target flowmeter according to the acceleration; determining whether the installation state of the target flowmeter is abnormal according to an angle difference between the current installation angle and the initial installation angle; and / or, determining the angular acceleration of the target flowmeter according to the acceleration, and determining whether the installation state of the target flowmeter is abnormal according to the angular acceleration; and / or, comparing the acceleration with the gravitational acceleration, and determining whether the installation state of the target flowmeter is abnormal according to a comparison result.
4. The method of calibrating a flow meter of claim 2, wherein, the determining of whether the vibration state of the target flowmeter is abnormal according to the characteristic data comprises: determining whether the target flowmeter is in a vibration state according to the acceleration; if the target flowmeter is in the vibration state, comparing the acceleration with a normal acceleration range, wherein the normal acceleration range is an acceleration range corresponding to a normal vibration process of the flowmeter in a process in which the flowmeter monitors the flow value; determining whether the vibration state of the target flowmeter is abnormal according to a comparison result.
5. The method of calibrating a flow meter of claim 1, wherein, the searching for the abnormal cause corresponding to the diagnostic parameter in the pre-established diagnostic database according to the diagnostic parameter comprises: determining whether there is a template flowmeter satisfying a preset condition in the diagnostic database according to the diagnostic parameter, wherein the preset condition comprises that the diagnostic parameter of the template flowmeter satisfies a preset condition, and the preset condition comprises that the acceleration similarity between the target flowmeter and the template flowmeter is greater than a first preset value, the flow value similarity is greater than a second preset value, the vibration frequency similarity is greater than a third preset value, and the installation angle difference is less than a fourth preset value; if there is, taking an abnormal cause mapped with the template flowmeter as the abnormal cause of the target flowmeter.
6. The method of calibrating a flow meter of claim 1, wherein, after the searching for the abnormal cause corresponding to the diagnostic parameter in the pre-established diagnostic database, the method further comprises: Record the calibration data of the target flowmeter, and add the calibration data to the diagnostic database stored and / or sent to a preset terminal, wherein the diagnostic data includes characteristic data, diagnostic parameters and abnormal reasons of the target flowmeter.
7. The method of calibrating a flow meter of claim 1, wherein, The calibration method of the flowmeter further comprises: A plurality of template flowmeters are arranged in the test pipeline at preset installation angles, wherein the template flowmeters include a first template flowmeter, a second template flowmeter and a third template flowmeter, the first and second template flowmeters are flowmeters with component damage and abnormal vibration when detecting flow; the third template flowmeter is a normal flowmeter and has normal vibration when detecting flow; Acceleration of each template flowmeter during flow detection is collected, wherein the first template flowmeter detects the flow value of the medium in the test pipeline in a normal working environment, and the second and third template flowmeters detect the flow value of the medium in the test pipeline in a working environment with preset interference; According to the test acceleration of each template flowmeter, the installation angle and vibration frequency of each template flowmeter are determined; The vibration abnormality of each template flowmeter is caused by component damage, preset interference or both, and a mapping relationship between the vibration abnormality, acceleration, vibration frequency, installation angle and flow value of each template flowmeter is established in the diagnostic database.
8. A proving device for a target flowmeter, characterized by, comprises: An acquisition unit is configured to acquire characteristic data of a target flowmeter, wherein the characteristic data includes acceleration and flow value of the target flowmeter; A first calculation unit is configured to determine vibration frequency and vibration angle of the target flowmeter according to the acceleration value; A second calculation unit is configured to determine diagnostic parameters of the target flowmeter according to the characteristic data if the state of the target flowmeter is abnormal, wherein the determination of the diagnostic parameters of the target flowmeter according to the characteristic data comprises determining installation angle and vibration frequency of the flowmeter according to the acceleration, and the diagnostic parameters include the acceleration, flow value, installation angle and vibration frequency; A result output unit is configured to find abnormal reasons corresponding to the diagnostic parameters in a pre-established diagnostic database according to the diagnostic parameters, wherein the diagnostic database includes a mapping relationship between diagnostic parameters and abnormal reasons of template flowmeters.
9. A computer device comprising a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions are executed by the processor to make the processor execute the steps of the calibration method of the target flowmeter according to any one of claims 1 to 7.
10. A storage medium storing computer readable instructions, wherein the computer readable instructions are executed by one or more processors to make the one or more processors execute the steps of the calibration of the target flowmeter according to any one of claims 1 to 7.
Citation Information
Patent Citations
Flow metering method and device, flow metering equipment andeadable storage medium
CN110530435A
Equipment vibration fault detection method, device and system and storage medium
CN112557069A