Metering fault detection method for gas meter
Through the combination of intelligent communication modules and sensors, the status and usage data of the gas meter are monitored in real time, potential faults are identified and repair instructions are generated, which solves the problems of insufficient sensitivity and lack of intelligent management in the existing technology, and achieves more efficient and more Safe gas use management.
Patent Information
- Application Number
- CN202411530598.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-10
AI Technical Summary
The existing gas meter meter fault detection methods have insufficient sensitivity, lack of real-time monitoring and remote monitoring functions, insufficient data accuracy, traditional metering methods have limited fault recognition capabilities, and lack of intelligent management leads to poor user experience.
Connect the user's home network through an intelligent communication module, and use sensors to collect and analyze status data and usage data, including voltage, temperature, and pressure sensors, calculate correction factors and outliers, monitor traffic and filters, and combine them with smartphones and data clouds. Carry out real-time data transmission and analysis, generate repair instructions and safety alerts.
It improves users' monitoring capabilities for gas use, improves the monitoring efficiency and accuracy of gas meters, promptly detects potential faults, ensures home safety, extends the service life of the equipment, and provides a more efficient and safer gas use experience.
Smart Images

Figure CN119290118A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of gas meter measurement fault detection, and in particular to a gas meter measurement fault detection method. Background Art
[0002] Existing gas meter fault detection methods mainly include traditional mechanical and electronic metering. Traditional mechanical gas meters rely on the physical movement of mechanical parts. Although they have a simple structure, they are greatly affected by environmental factors and have low accuracy. Electronic gas meters use sensors and digital technology to provide higher metering accuracy and can monitor flow in real time. In addition, the application of wireless communication technology in recent years has enabled gas meters to transmit data remotely, improving the convenience of data acquisition. At the same time, combined with intelligent algorithms and data analysis, potential metering faults can be identified through in-depth mining of historical data.
[0003] However, these technologies also have problems such as insufficient sensitivity and lack of real-time monitoring and remote monitoring capabilities; insufficient data accuracy and limited ability of traditional metering methods to identify faults; and a lack of intelligent management leading to poor user experience. Summary of the invention
[0004] In order to solve the technical problems raised by the above background technology, the present invention is proposed. An embodiment of the present invention provides a method for detecting a gas metering fault.
[0005] The object of the present invention can be achieved by the following technical solution: A method for detecting a gas meter measurement fault, comprising:
[0006] Step 1: Connect the communication module to the user's home network. The process is as follows:
[0007] Step 1-1: Select the communication module: select according to the requirements and coverage of the user's home network;
[0008] Step 1-2: Connect the communication module to a corresponding power source, and connect the data pin of the communication module to the microcontroller of the gas meter; configure a communication protocol in the microcontroller of the gas meter to exchange data with the communication module, and then connect the smart phone terminal to the gas meter;
[0009] Step 1-3: After the smart phone is bound to the gas meter, the status data and usage data of the gas meter are queried through the corresponding program of the gas meter company. The status data and usage data are collected by sensors and uploaded to the data cloud by the communication module;
[0010] Step 2: Collect status data and usage data through sensors and analyze them. The process is as follows:
[0011] Step 2-1: Collect status data through sensors, specifically:
[0012] Step 2-1-1: Measure the voltage of the power supply by the voltage sensor, and convert the digital value read by the voltage sensor into the actual voltage; if the reference voltage of the voltage sensor is Yc, calculate the measured power supply voltage Y1; calculate the remaining power of the power supply by the measured voltage value Y1 and the rated capacity C0 of the power supply;
[0013] Step 2-1-2: The temperature sensor and pressure sensor collect the gas temperature and the pressure inside the gas meter to calculate the volume of the gas;
[0014] Step 2-1-3: Convert the flow rates at different temperatures and pressures to obtain the actual flow rates;
[0015] Step 2-2: Analyze the flow Q to obtain the correction factor k and the factor abnormal value E;
[0016] Step 2-3: Use sensors to record usage data and analyze them to obtain filter cleanliness C and push correction coefficient h;
[0017] Step 3: Process the results analyzed in step 2.
[0018] As a preferred embodiment of the present invention, if the reference voltage of the voltage sensor is Yc, the specific process of calculating and measuring the power supply voltage Y1 is:
[0019] By formula: The output is the measured power supply voltage Y1, Yd is the digital value read by the voltage sensor, and Ydmax is the maximum digital value read by the voltage sensor; the remaining power DL1 of the power supply is calculated by the measured voltage value Y1 and the rated capacity C0 of the power supply. The remaining power DL1 of the power supply is calculated by the formula: It is obtained that Y0 is the rated voltage of the power supply; then the remaining power DL1 of the power supply is compared with the rated capacity C1 of the power supply to obtain the remaining power percentage D1 of the power supply.
[0020] As a preferred embodiment of the present invention, the specific process of calculating the volume of the gas by collecting the gas temperature and the pressure inside the gas meter by the temperature sensor and the pressure sensor is as follows: within the normal temperature and pressure range, the temperature T and pressure P of the gas are collected regularly; the volume of the gas is calculated according to the ideal gas state equation PV=nRT, and the collected temperature and pressure values are substituted into the ideal gas equation to obtain the volume V of the gas: n is the number of moles of fuel gas and R is the gas constant.
[0021] As a preferred embodiment of the present invention, the specific process of converting the flow rate at different temperatures and pressures to obtain the actual flow rate is: from the formula: Output the actual flow rate Q1. Q0 is the flow rate under standard conditions, P1 and P0 are the actual pressure and standard pressure respectively, and T1 and T0 are the actual temperature and standard temperature respectively.
[0022] As a preferred embodiment of the present invention, the specific process of analyzing the flow rate Q to obtain the correction factor k and the factor outlier E is as follows:
[0023] The flow rate Q is expressed as the relationship between volume V and time t: Substitute the calculated actual flow rate Q1 and the gas volume V into the relationship formula between volume V and time t to obtain the ideal time t0; then collect and record the time of gas flow by the flowmeter to obtain the actual collection time t1; compare the actual collection time t1 with the ideal time t0. If t0 < t1 or t0 > t1, generate the corresponding correction factor; the corresponding correction factor is obtained by the formula: Output the correction factor k, where V1 is the actually consumed gas volume;
[0024] Analyze the correction factor k over time t to obtain a curve graph. The dashed line segments in the curve graph are the first threshold and the second threshold of the k value interval, and shade the area outside the k value interval. Calculate the area value of the shaded area. Obtain each curve segment of the shaded area from the data in the curve graph and calculate the slope between adjacent points Obtain the maximum value and the minimum value among them, denoted as Smax and Smin respectively; through the formula: Output the factor outlier E, where A is the area value, A' is the preset factor corresponding to the area value, and S' is the preset factor corresponding to the slope.
[0025] As a preferred embodiment of the present invention, the specific process of analyzing the usage data recorded by the sensor to obtain the filter cleanliness C and the promotion correction coefficient h is as follows:
[0026] When the gas enters the metering mechanism through the pipeline, it drives the internal rotor component to rotate; converts the gas flow rate into counting in a mechanical manner and accumulates to obtain the total gas consumption of the user; before the gas enters the metering mechanism through the pipeline, the gas first passes through the filter to analyze the cleanliness of the filter. Substitute the obtained total gas consumption and the corresponding fixed duration into the formula Output the filter cleanliness C, where Qz is the total gas consumption, Tz is the fixed gas usage duration corresponding to the total gas consumption; L is the rated flow rate of the filter;
[0027] Calculate the minimum driving value Fmin when the gas enters the metering mechanism through the pipeline and drives the internal rotor component to rotate: When the gas flows, a force is generated to drive the rotor or turbine. Calculate the driving force F through the actual flow rate Q1 and the density ρ of the fluid. Output by the formula: F = ρ × Q1 × v, where v is the flow velocity of the gas in the pipeline. A is the cross-sectional area of the pipe, d is the diameter of the pipe; obtain the internal rotor mass to calculate the normal force F N , F N =m×g, g is the gravitational acceleration of the earth; when the driving force F=friction force Fm, the internal rotor is in a critical state of motion, and Fm=μ×F N , μ is the friction coefficient, the critical state of motion is obtained by controlling the opening and closing size of the valve to obtain the corresponding gas flow, and the gas flow corresponding to the opening and closing size of the valve at the moment when the internal rotor starts to move is recorded; according to the friction force Fm and the driving force F, to overcome the friction force and make the rotor start to rotate, the actual effective driving force is obtained by the formula Fs=F-Fm≥Fmin, and then the minimum driving value needs to be recalculated as: Fmin=h×(F+Fm) Output the minimum driving value Fmin, h is the driving correction coefficient, and the formula get.
[0028] As a preferred embodiment of the present invention, the specific process of processing the results obtained by analysis in step 2 is:
[0029] The ideal gas volume V0 is obtained by periodically collecting the gas temperature T and pressure P according to the ideal gas state equation: PV = nRT. The actual gas volume V1 is calculated using the real-time temperature T and pressure P. The absolute value of the ideal gas volume V0 and the actual gas volume V1 is calculated to obtain ΔV. Then ΔV is compared with the preset absolute threshold. If ΔV is greater than the preset absolute threshold, it is determined that there is a leak, a gas leak signal is generated, and the valve is controlled to close immediately.
[0030] The factor abnormal value E is processed by setting the factor abnormal value interval to match the factor abnormal value E. If the factor abnormal value E belongs to the factor abnormal value interval, the correction factor k is used to compensate for the flow error and environmental changes; on the contrary, if the factor abnormal value E does not belong to the factor abnormal value interval, a maintenance instruction is generated to control the valve to close;
[0031] The correction factor k, filter cleanliness C and push correction coefficient h obtained by measurement and calculation are integrated and calculated, and the comprehensive flow state value ZH is output through the formula: ZH=Q1×k×C×h. The comprehensive flow state value ZH is compared with the preset state threshold. If the comprehensive flow state value ZH is greater than or equal to the preset state threshold, a maintenance instruction is generated to control the valve to close.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] 1. The present invention improves the user's ability to monitor gas usage through the connection of intelligent communication modules. First, users can choose a suitable communication module according to the specific situation of the home network to ensure the stability and coverage of the signal; secondly, through a simple binding process, users can easily connect smartphones to gas meters and obtain gas usage data and status information in real time; this method not only enhances user convenience, but also improves the monitoring efficiency of gas meters, and timely discovers potential faults, thereby ensuring family safety and reducing accident risks.
[0034] 2. The present invention collects and analyzes status data and usage data through sensors, which significantly improves the accuracy and intelligence level of gas monitoring; first, the combination of voltage sensors, temperature sensors and pressure sensors ensures real-time monitoring of power status and gas properties, thereby preventing potential failures; secondly, through flow analysis and calculation of correction factors, the system can promptly identify the deviation between gas consumption and theoretical values, and optimize gas usage efficiency; finally, the monitoring of flow meters and filters ensures the normal operation and cleanliness of the equipment, thereby extending the service life of the gas meter; this comprehensive monitoring and analysis capability not only ensures the safety of users, but also improves the reliability of the system, ultimately providing users with a more efficient and safer gas experience.
[0035] 3. The present invention effectively improves the security and user experience of the system through an intelligent response mechanism; first, the real-time reminder of the low power command ensures that the user can replace the power supply in time to avoid equipment failure; secondly, by monitoring the gas volume difference, the system can quickly identify the risk of leakage, and immediately take measures to close the valve and notify the user to minimize safety hazards; for the processing of abnormal factor values, not only flow compensation is performed through the correction factor, but also maintenance instructions can be automatically generated and the user can be reminded to perform maintenance to ensure the normal operation of the equipment; finally, the calculation of the comprehensive flow state value and the valve control mechanism further enhance the self-protection capability of the system, providing users with a safer and more efficient gas management experience; this intelligent monitoring and response system not only improves the user's trust, but also provides a strong guarantee for the safety of gas use. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. The following drawings are not intentionally scaled to the actual size, and the focus is on illustrating the main purpose of the present invention.
[0037] Figure 1 It is a diagram of the method steps of the present invention;
[0038] Figure 2 This is a graph of the present invention. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work also fall within the scope of protection of the present invention.
[0040] As shown in the present invention and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements.
[0041] Although the present invention has made various references to certain modules in the system according to an embodiment of the present invention, any number of different modules can be used and run on a user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0042] The present invention uses a flow chart to illustrate the operations performed by the system according to an embodiment of the present invention. It should be understood that the preceding or following operations are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0043] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.
[0044] See also Figure 1 As shown, a gas meter measurement fault detection method, the specific steps are:
[0045] Step 1: Connect the communication module to the user's home network. The specific process is as follows:
[0046] Step 1-1: Select a suitable communication module (such as Wi-Fi, Zigbee, LoRa, etc.); select according to the requirements and coverage of the user's home network, and select the approximate distance from the home router to the gas meter measured by the user and the number of walls passed through within the approximate distance. Different communication modules (such as Wi-Fi, Zigbee, LoRa, etc.) correspond to different distances and the number of walls allowed to pass through; and the user makes the selection;
[0047] Step 1-2: Connect the communication module to an appropriate power source (several batteries of the corresponding model), connect the data pins (such as TX, RX) of the communication module to the microcontroller of the gas meter, the TX pin is used to send data, and the RX pin is used to receive data; configure the communication protocol in the microcontroller of the gas meter, which can exchange data with the communication module, and then connect to the gas meter through the smart phone terminal, and the user uses the smart phone to scan the binding QR code on the surface of the gas meter for binding; it should be noted that: when the smart phone scans the binding QR code on the surface of the gas meter, the binding program page is entered, and the installed gas meter is searched in the binding program, and connected to the Wi-Fi connected to the smart phone, and each gas meter generates a fixed network number when it is connected to the Wi-Fi;
[0048] Step 1-3: After the smartphone is bound to the gas meter, the status data and usage data of the gas meter can be queried through the corresponding APP or mini program of the gas meter company. The status data and usage data are collected through the corresponding sensors and uploaded to the data cloud by the communication module. It should be noted that the gas meter is composed of multiple key components, including a casing, a metering mechanism (such as a rotor or turbine), a sensor (flow and pressure sensor), a display, a valve, a filter, a power supply, a communication module, a sealing ring and an installation interface.
[0049] Step 2: The process of collecting status data and analyzing usage data through sensors is as follows:
[0050] Step 2-1: Collect status data through sensors;
[0051] Step 2-1-1: Measure the voltage of the power supply through voltage sensing, and convert the digital value read by the voltage sensor into the actual voltage; if the reference voltage of the voltage sensor is Yc, use the formula: The measured power supply voltage Y1 is output, where Yd is the digital value read by the voltage sensor, and Ydmax is the maximum digital value read by the voltage sensor. The remaining power of the power supply is calculated by the measured voltage value Y1 and the rated capacity C0 of the power supply (in ampere-hours Ah). The remaining power of the power supply is calculated by the formula: Get, where Y0 is the rated voltage of the power supply; then compare the remaining power DL1 of the power supply with the rated capacity C1 of the power supply to obtain the remaining power percentage D1 of the power supply; compare the remaining power percentage D1 of the power supply with the power threshold, if the remaining power percentage D1 of the power supply is less than the power threshold, generate a low power instruction;
[0052] Step 2-1-2: Collect the gas temperature and the pressure inside the gas meter by the temperature sensor and the pressure sensor. Within the normal temperature and pressure range, regularly collect the gas temperature T and pressure P. Calculate the volume of the gas according to the ideal gas state equation PV = nRT. Substitute the collected temperature and pressure values into the ideal gas equation to obtain the gas volume V: where n is the number of moles of the gas, and R is the gas constant;
[0053] Step 2-1-3: Convert the flow rates at different temperatures and pressures. From the formula: Output the actual flow rate Q1. Q0 is the flow rate under standard conditions, P1 and P0 are the actual pressure and the standard pressure respectively, and T1 and T0 are the actual temperature and the standard temperature respectively; (usually defined as the state with a temperature of 15°C and a pressure of 101.325 kPa);
[0054] Step 2-2: Analyze the flow rate Q;
[0055] Step 2-2-1: The flow rate Q is expressed as the relationship between the volume V and the time t: Substitute the calculated actual flow rate Q1 and the gas volume V into the relationship formula between the volume V and the time t to obtain the ideal time t0. Obtain the actual acquisition time t1 by the flow meter collecting and recording the gas flow time. Compare the actual acquisition time t1 with the ideal time t0. If t0 < t1, it means that the actually consumed gas volume is greater than the theoretically calculated volume, and there is a situation of increased flow rate, and a corresponding correction factor is generated. Similarly, if t0 > t1, it means that the actually consumed gas volume is less than the theoretically calculated volume, and there is a flow rate decrease, and a corresponding correction factor is generated; the corresponding correction factor is obtained from the formula: Output the correction factor k, where V1 is the actually consumed gas volume;
[0056] Step 2-2-2: Please refer to Figure 2 As shown, it is the curve graph of the correction factor k over time t. Among them, the dotted line segments in the graph are the first k-value interval threshold and the second k-value interval threshold, and the area outside the k-value interval is shaded. Then calculate the area value of the shaded area, and also obtain each section of the curve of the shaded area from the data in the graph, and calculate the slope between adjacent points to obtain the maximum value and the minimum value among them, denoted as Smax and Smin respectively; Through the formula: Output the factor outlier E, where A is the area value, A’ is the preset factor corresponding to the area value, and S’ is the preset factor corresponding to the slope;
[0057] Step 2-3: Analyze by recording the usage data through the sensor. Specifically:
[0058] Step 2-3-1: When the gas enters the metering mechanism through the pipeline, it drives the internal rotor or turbine to rotate; the gas flow is converted into counts by mechanical means; the built-in flow sensor captures the flow change and generates a signal, measures and calculates the corresponding gas flow per unit time; these values are converted into standard measurement units, accumulated, and the total gas consumption of the user is obtained; before the gas enters the metering mechanism through the pipeline, the gas first passes through the filter (the filter can block impurities and particulate matter, protect the internal precision components, ensure the cleanliness of the gas, and extend the service life of the gas meter), and the cleanliness of the filter is analyzed, and the total gas consumption and the corresponding fixed time are obtained, and substituted into the formula Output filter cleanliness C, where Qz is the total gas consumption, Tz is the total gas consumption corresponding to the fixed gas consumption time; L is the rated flow of the filter; cleanliness C is the working efficiency in a fixed time period, the higher the value, the cleaner the filter is and the better the working condition;
[0059] Step 2-3-2: Calculate the minimum driving force Fmin that drives the internal rotor or turbine to rotate when the gas enters the metering mechanism through the pipeline. Specifically, when the gas flows, a force is generated to drive the rotor or turbine. The driving force F is calculated by the actual flow rate Q1 and the density ρ of the fluid. The formula is: F = ρ × Q1 × v output, v is the flow rate of the gas in the pipeline, Where A is the cross-sectional area of the pipe and d is the diameter of the pipe. Then calculate the minimum thrust between the internal rotor or turbine and other components. Obtain the internal rotor mass to calculate the normal force F. N , F N =m×g, g is the gravitational acceleration of the earth; when the driving force F=friction force Fm, the internal rotor is in a critical state of motion, and Fm=μ×F N , μ is the friction coefficient, the critical state of motion is obtained by controlling the opening and closing size of the valve to obtain the corresponding gas flow, and the gas flow corresponding to the opening and closing size of the valve at the moment when the internal rotor or turbine starts to move is recorded; according to the friction force Fm and the driving force F, to overcome the friction force and make the rotor or turbine start to rotate, the actual effective driving force is obtained by the formula Fs=F-Fm≥Fmin, where Fmin is the minimum driving force required for the rotor or turbine to start rotating, and the minimum driving value needs to be recalculated as: Fmin=h×(F+Fm) Output the minimum driving value Fmin, h is the driving correction coefficient, and the formula It is obtained that h is greater than 1, which is used to compensate for the additional force required for starting.
[0060] Step 3: Process the results obtained in step 2, specifically:
[0061] Step 3-1: Execute the results analyzed in step 2-1. According to the generated low power instruction, obtain the gas meter corresponding to the low power instruction through the binding program to obtain a fixed network number, query the smart phone bound to the gas meter by the network number, send the low power instruction to the smart phone terminal, and issue a low power reminder on the binding program page. The binding program page also displays the low power processing video tutorial obtained from the database;
[0062] The ideal gas volume V0 is obtained by periodically collecting the gas temperature T and pressure P according to the ideal gas state equation: PV = nRT. The actual gas volume V1 is calculated using the real-time temperature T and pressure P. The absolute value of the ideal gas volume V0 and the actual gas volume V1 is calculated to obtain ΔV, and then ΔV is compared with the preset absolute threshold. If ΔV is greater than the preset absolute threshold, it is determined that there is a leak, a gas leak signal is generated, and the valve is controlled to be closed immediately. The gas leak signal is sent to the smart phone terminal, and a gas leak alarm is issued on the binding program page. The emergency measures for gas leaks and the treatment methods after gas leaks are displayed on the binding program page; if the gas leak alarm is not manually closed within a certain period of time, the network number of the corresponding leaking gas meter is obtained through the binding program, the corresponding location is found, and the alarm is processed;
[0063] The factor abnormal value E is processed by setting the factor abnormal value interval to match the factor abnormal value E. If the factor abnormal value E belongs to the factor abnormal value interval, the correction factor k is used to compensate for the flow error and environmental changes, and step 3-2 is executed; on the contrary, if the factor abnormal value E does not belong to the factor abnormal value interval, a maintenance instruction is generated to control the valve to close, and the generated maintenance instruction is sent to the smart phone terminal, and a maintenance reminder and a valve closing reminder are issued on the binding program page; on the binding program page, the user manually schedules the time for on-site maintenance;
[0064] Step 3-2: Integrate and calculate the correction factor k, filter cleanliness C and push correction coefficient h obtained by measurement, and output the comprehensive flow state value ZH through the formula: ZH = Q1×k×C×h. Compare the comprehensive flow state value ZH with the preset state threshold. If the comprehensive flow state value ZH is greater than or equal to the preset state threshold, a maintenance instruction is generated to control the valve to close. Similarly, the generated maintenance instruction is sent to the smart phone terminal, and maintenance reminders and valve closing reminders are made on the binding program page; on the binding program page, the user manually schedules the time for on-site maintenance. If there is no generated gas leakage signal, the user can manually open the valve on the binding program page after making an appointment for on-site maintenance; otherwise, compensation continues.
[0065] In addition, those skilled in the art will appreciate that various aspects of the present invention may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product, or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of the present invention may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.
[0066] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.
[0067] The above is an explanation of the present invention and should not be considered as a limitation thereof. Although several exemplary embodiments of the present invention have been described, it will be readily appreciated by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present invention. Therefore, all such modifications are intended to be included within the scope of the present invention as defined in the claims. It should be understood that the above is an explanation of the present invention and should not be considered as being limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present invention is defined by the claims and their equivalents.
Claims
1. A gas meter measurement fault detection method, characterized in that: include: Step 1: Connect the communication module to the user's home network. The process is as follows: Step 1-1: Select the communication module: select according to the requirements and coverage of the user's home network; Step 1-2: Connect the communication module to a corresponding power source, and connect the data pin of the communication module to the microcontroller of the gas meter; configure a communication protocol in the microcontroller of the gas meter to exchange data with the communication module, and then connect the smart phone terminal to the gas meter; Step 1-3: After the smart phone is bound to the gas meter, the status data and usage data of the gas meter are queried through the corresponding program of the gas meter company. The status data and usage data are collected by sensors and uploaded to the data cloud by the communication module; Step 2: Collect status data and usage data through sensors and analyze them. The process is as follows: Step 2-1: Collect status data through sensors, specifically: Step 2-1-1: Measure the voltage of the power supply by the voltage sensor, and convert the digital value read by the voltage sensor into the actual voltage; if the reference voltage of the voltage sensor is the power supply voltage measured by calculation; calculate the remaining power of the power supply by the measured voltage value and the rated capacity of the power supply; Step 2-1-2: The temperature sensor and pressure sensor collect the gas temperature and the pressure inside the gas meter to calculate the volume of the gas; Step 2-1-3: Convert the flow rates at different temperatures and pressures to obtain the actual flow rates; Step 2-2: Analyze the flow to obtain the correction factor and factor abnormal value; Step 2-3: Use sensors to record usage data and analyze them to obtain filter cleanliness and push correction coefficients; Step 3: Process the results analyzed in step 2.
2. A gas meter measurement fault detection method according to claim 1, characterized in that: If the reference voltage of the voltage sensor is the power supply voltage measured by calculation, the specific process is: By formula: The output is the measured power supply voltage Y1, Yd is the digital value read by the voltage sensor, and Ydmax is the maximum digital value read by the voltage sensor; the remaining power DL1 of the power supply is calculated by the measured voltage value Y1 and the rated capacity C0 of the power supply. The remaining power DL1 of the power supply is calculated by the formula: It is obtained that Y0 is the rated voltage of the power supply; then the remaining power DL1 of the power supply is compared with the rated capacity C1 of the power supply to obtain the remaining power percentage D1 of the power supply.
3. A gas meter measurement fault detection method according to claim 2, characterized in that: The specific process of calculating the volume of gas by collecting the gas temperature and the pressure inside the gas meter by the temperature sensor and the pressure sensor is as follows: within the normal temperature and pressure range, regularly collect the temperature T and pressure P of the gas; calculate the volume of the gas according to the ideal gas state equation PV=nRT, and substitute the collected temperature and pressure values into the ideal gas equation to obtain the volume V of the gas: n is the number of moles of fuel gas and R is the gas constant.
4. A gas meter measurement fault detection method according to claim 3, characterized in that: The specific process of converting the flow rate at different temperatures and pressures to obtain the actual flow rate is as follows: From the formula: The output is the actual flow rate Q1, Q0 is the flow rate under standard conditions, P1 and P0 are the actual pressure and standard pressure respectively, T1 and T0 are the actual temperature and standard temperature respectively.
5. A gas meter measurement fault detection method according to claim 1, characterized in that: The specific process of analyzing the flow to obtain the correction factor and factor abnormal value is as follows: The flow rate Q is expressed as the relationship between volume V and time t: Substitute the calculated actual flow rate Q1 and gas volume V into the relationship formula between volume V and time t to obtain the ideal time t0; then use the flow meter to collect and record the time of gas flow to obtain the actual collection time t1; Compare the actual acquisition time t1 with the ideal time t0. If t0 < t1 or t0 > t1, generate the corresponding correction factor; the corresponding correction factor is given by the formula: Output the correction factor k, where V1 is the actual volume of gas consumed; The correction factor k is analyzed at time t to obtain a curve graph. The dashed line segments in the curve graph are the k value interval threshold 1 and the k value interval threshold 2. The area beyond the k value interval is shaded, and the area of the shaded area is calculated to obtain the area value. Each curve of the shaded area is obtained from the data in the curve graph, and the slope between adjacent points is calculated. The maximum and minimum values are obtained, which are recorded as Smax and Smin respectively; through the formula: The output factor abnormal value E is, where A is the area value, A' is the preset factor corresponding to the area value, and S' is the preset factor corresponding to the slope.
6. A gas meter measurement fault detection method according to claim 5, characterized in that: The specific process of analyzing the usage data recorded by the sensor to obtain the filter cleanliness and push correction coefficient is as follows: When the gas enters the metering mechanism through the pipeline, it drives the internal rotor parts to rotate; the gas flow is converted into counts by mechanical means, and the total gas consumption of the user is accumulated; before the gas enters the metering mechanism through the pipeline, the gas first passes through the filter to analyze the cleanliness of the filter, and the total gas consumption and the corresponding fixed time are substituted into the formula Output filter cleanliness C, where Qz is the total gas consumption, Tz is the total gas consumption corresponding to the fixed gas consumption time; L is the rated flow of the filter; Calculate the minimum driving force Fmin that drives the internal rotor parts to rotate when the gas enters the metering mechanism through the pipeline: When the gas flows, a force is generated to drive the rotor or turbine. The driving force F is calculated by the actual flow rate Q1 and the density ρ of the fluid, and the formula is: F = ρ × Q1 × v output, v is the flow rate of the gas in the pipeline, A is the cross-sectional area of the pipe, d is the diameter of the pipe; obtain the internal rotor mass to calculate the normal force F N , F N =m×g, g is the gravitational acceleration of the earth; when the driving force F=friction force Fm, the internal rotor is in a critical state of motion, and Fm=μ×F N , μ is the friction coefficient, the critical state of motion is obtained by controlling the opening and closing size of the valve to obtain the corresponding gas flow, and the gas flow corresponding to the opening and closing size of the valve at the moment when the internal rotor starts to move is recorded; according to the friction force Fm and the driving force F, to overcome the friction force and make the rotor start to rotate, the actual effective driving force is obtained by the formula Fs=F-Fm≥Fmin, and then the minimum driving value needs to be recalculated as: Fmin=h×(F+Fm) Output the minimum driving value Fmin, h is the driving correction coefficient, and the formula get.
7. A gas meter measurement fault detection method according to claim 1, characterized in that: The specific process of processing the results obtained in step 2 is as follows: The ideal gas volume V0 is obtained by periodically collecting the gas temperature T and pressure P according to the ideal gas state equation: PV = nRT. The actual gas volume V1 is calculated using the real-time temperature T and pressure P. The absolute value of the ideal gas volume V0 and the actual gas volume V1 is calculated to obtain ΔV. Then ΔV is compared with the preset absolute threshold. If ΔV is greater than the preset absolute threshold, it is determined that there is a leak, a gas leak signal is generated, and the valve is controlled to close immediately. The factor abnormal value E is processed by setting the factor abnormal value interval to match the factor abnormal value E. If the factor abnormal value E belongs to the factor abnormal value interval, the correction factor k is used to compensate for the flow error and environmental changes; on the contrary, if the factor abnormal value E does not belong to the factor abnormal value interval, a maintenance instruction is generated to control the valve to close; The correction factor k, filter cleanliness C and push correction coefficient h obtained by measurement and calculation are integrated and calculated, and the comprehensive flow state value ZH is output through the formula: ZH=Q1×k×C×h. The comprehensive flow state value ZH is compared with the preset state threshold. If the comprehensive flow state value ZH is greater than or equal to the preset state threshold, a maintenance instruction is generated to control the valve to close.
Citation Information
Cited By
Self-checking method of gas circulation device
CN120992868A
Self-inspection method for gas circulation devices
CN120992868B