Hall counting device, gas abnormal data identification method and related equipment
By using two sets of magnets and bipolar Hall sensors in the Hall counting device, combined with the logic gate output signal, the counting error problem of the Hall counting device in the permanent magnet interference environment is solved, and more accurate flow monitoring is achieved. .
Patent Information
- Application Number
- CN202311399718.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-10-26
AI Technical Summary
The existing Hall counting device has a large counting error in a permanent magnet interference environment, resulting in inaccurate flow analysis.
Design a Hall counting device that uses two sets of magnets and bipolar dual-output Hall sensors to output Hall pulse signals and magnetic interference identification signals through specific logic gate connections to ensure accuracy even in the presence of magnetic interference. Count, and combine with the counting circuit to calculate the number of rotations.
It significantly reduces the counting error and ensures accurate calculation of the rotation speed of the counter wheel in various magnetic interference environments, thus improving the reliability of flow monitoring and the accuracy of data.
Smart Images

Figure CN117330109B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fluid flow monitoring, and in particular, relates to a Hall counting device for flow monitoring, a method for identifying abnormal gas data, and related equipment. Background Art
[0002] The basic method of using the Hall switch sensor to count the rotation of the character wheel is to set a cylindrical magnet on the character wheel, and distribute one or two Hall switch sensors on the circuit substrate on one or both sides of the character wheel. The Hall switch sensor can be unipolar or non-polar. If it is a unipolar Hall switch sensor, it is required to set the corresponding magnetic pole of the cylindrical magnet close to the edge of the character wheel; when the rotating character wheel is aligned with the Hall switch sensor, the magnetic field generated by the magnet exceeds the "trigger point" threshold of the Hall switch sensor, which will cause the Hall switch sensor to output a pulse. By counting the pulse, the number of rotations of the character wheel can be counted.
[0003] The patent application with publication number CN107314782A discloses a Hall counting device, in which a bipolar dual-output Hall sensor is arranged on a circuit substrate, and the Hall sensor can be used to achieve normal counting under permanent magnetic interference. Under normal circumstances, the device generates a counting pulse for each half rotation of the character wheel, but when there is permanent magnetic interference, whether the Hall sensor on one side or both sides is interfered, it no longer generates a pulse for each half rotation, which will cause the two counting pulses to be uneven, which is not conducive to subsequent counting processing and flow analysis. Summary of the invention
[0004] In view of the problem in the prior art that the counting error of the Hall counting device is large under the permanent magnetic interference environment, the present invention aims to provide a Hall counting device, a gas abnormal data identification method and related equipment which can greatly reduce the counting error.
[0005] In order to achieve the above technical objectives, the technical solution adopted by the present invention is as follows:
[0006] In a first aspect, the present application provides a Hall counting device for a gas meter, comprising:
[0007] The counter wheel has two sets of magnets, and the two sets of magnets have opposite polarities at the ends facing outwards.
[0008] Two sets of bipolar dual-output Hall sensors are arranged near the position where the magnet passes when the counter wheel rotates. When one pole of the Hall sensor is triggered by the magnet on the counter wheel, the Hall sensor outputs a low-level signal accordingly. After the trigger disappears, the output remains high-level.
[0009] The N-level output signal of the first group of Hall sensors and the S-level output signal of the second group of Hall sensors output a first Hall pulse signal through a first OR gate;
[0010] The S-level output signal of the first group of Hall sensors and the N-level output signal of the second group of Hall sensors are coupled to output a second Hall pulse signal through a second OR gate;
[0011] The S-level output signal of the first group of Hall sensors and the S-level output signal of the second group of Hall sensors output a first magnetic interference identification signal through a third OR gate;
[0012] The N-level output signals of the first group of Hall sensors and the N-level output signals of the second group of Hall sensors are combined through a fourth OR gate to output a second magnetic interference identification signal;
[0013] The number of rotations of the counter wheel is determined according to the first Hall pulse signal, the second Hall pulse signal and the counting circuit.
[0014] Preferably, the two groups of magnetic steels are symmetrically arranged on both sides of the outer diameter edge of the counter character wheel.
[0015] Preferably, the two groups of Hall sensors are symmetrically arranged on both sides of the counter character wheel.
[0016] In a second aspect, the present application also provides a gas meter, comprising the above-mentioned Hall counting device.
[0017] In a third aspect, the present application further provides a method for identifying abnormal gas data of the gas meter, the method comprising:
[0018] Determine the gas flow rate by using the first Hall pulse signal and the second Hall pulse signal;
[0019] If the gas flow rate exceeds the maximum gas flow rate or the gas flow rate within a certain time range exceeds the first threshold, it is identified as a gas overflow abnormality;
[0020] If the gas flow rate remains substantially unchanged within a certain time range, it is identified as a gas overtime abnormality;
[0021] If the gas flow rate is less than a second threshold value within a certain time range, it is identified as a gas micro-leakage abnormality.
[0022] Preferably, determining the gas flow rate by using the first Hall pulse signal and the second Hall pulse signal specifically includes:
[0023] Determine the rotation speed of the counter wheel according to the pulse time difference between the first Hall pulse signal and the second Hall pulse signal;
[0024] The gas flow rate of the gas meter is determined based on the rotation speed.
[0025] Preferably, the specific method for identifying the abnormal gas usage timeout is:
[0026] Define multiple gas flow rate levels and specify the maximum duration of each level;
[0027] When the gas flow rate stabilizes at a certain level, timing starts. If the level changes, the timing is restarted. When the timing length reaches the maximum duration corresponding to the level, it is identified as a gas usage timeout abnormality.
[0028] In a fourth aspect, the present application provides a gas abnormality data identification device, comprising:
[0029] A gas flow rate determination module, which determines the gas flow rate according to the first Hall pulse signal and the second Hall pulse signal;
[0030] The gas abnormality data identification module is used to determine the type of gas abnormality data. If the gas flow rate exceeds the maximum gas flow rate or the flow rate within a certain time range exceeds the first threshold, it is identified as a signal of gas overflow abnormality; if the gas flow rate remains basically unchanged within a certain time range, it is identified as a gas overtime abnormality; if the gas flow rate is less than the second threshold within a certain time range, it is identified as a gas micro-leakage abnormality.
[0031] In a fifth aspect, the present application also provides a gas abnormality data identification system, comprising:
[0032] one or more processors;
[0033] a memory for storing one or more programs,
[0034] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned methods for identifying abnormal gas data.
[0035] In a sixth aspect, the present application further provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method for identifying abnormal gas data described in any one of the above items is implemented.
[0036] The present application aims to solve the problem of inaccurate pulse counting in the prior art by relying solely on the bipolar output of the Hall sensor. Two groups of magnets are arranged on the counter wheel and two groups of bipolar Hall sensors are arranged near the counter wheel. The N-level output signal of the first group of Hall sensors and the S-level output signal of the second group of Hall sensors are combined through a first OR gate to output a first Hall pulse signal. The S-level output signal of the first group of Hall sensors and the N-level output signal of the second group of Hall sensors are combined through a second OR gate to output a second Hall pulse signal. In this way, even in the case of permanent magnetic interference, counting can be performed through the first and second Hall pulse signals to calculate the rotation speed of the counter wheel, and the corresponding magnetic field interference can be identified through the first and second magnetic interference identification signals.
[0037] When the Hall counting device is used in a gas meter, the flow rate of the gas meter and the flow rate within a certain period of time can be calculated according to the rotation speed of the counter wheel. After obtaining the corresponding flow rate and flow rate, it can be used to identify abnormal conditions such as gas overflow, micro-leakage, and gas overtime in the gas meter to avoid danger. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the structure of an embodiment of a Hall counting device;
[0039] Figure 2 This is a signal diagram of the output of two groups of Hall sensors of the Hall counting device without magnetic field interference;
[0040] Figure 3 It is a signal diagram of two Hall pulse signals and two magnetic interference identification signals of the Hall counting device in the absence of magnetic field interference;
[0041] Figure 4 It is a signal diagram of the output of two groups of Hall sensors when one group of Hall sensors is disturbed by a magnetic field;
[0042] Figure 5 It is a signal diagram of two Hall pulse signals and two magnetic interference identification signals of one group of Hall sensors under magnetic field interference;
[0043] Figure 6 It is a signal diagram of the output of two groups of Hall sensors under the condition of strong magnetic field interference;
[0044] Figure 7 It is a signal diagram of two Hall pulse signals and two magnetic interference identification signals of two groups of Hall sensors under the condition of strong magnetic field interference;
[0045] Figure 8 This is a signal diagram of the two sets of Hall sensors output under extremely strong magnetic field interference;
[0046] Fig. 9 It is a signal diagram of two Hall pulse signals and two magnetic interference identification signals of two groups of Hall sensors under extremely strong magnetic field interference;
[0047] Fig.10 A flowchart of a method for identifying abnormal gas data;
[0048] Fig.11 It is a structural schematic diagram of a gas abnormal data identification device;
[0049] Fig.12 A schematic diagram of the structure of an embodiment of a gas abnormality data identification system provided by the present application;
[0050] Fig.13 A schematic diagram of the structure of a computer storage medium embodiment provided in this application. DETAILED DESCRIPTION
[0051] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings. The contents mentioned in the implementation modes are not intended to limit the present invention.
[0052] In some existing Hall counting devices for gas (such as natural gas) flow statistics, two sets of magnets are symmetrically arranged on the counter wheel, and the polarities of the two sets of magnets facing outward are opposite, that is, one is N pole and the other is S pole. The magnet can be a cylindrical magnet, a bar magnet, or a horseshoe magnet.
[0053] A set of bipolar dual-output Hall sensors are arranged near the position where the magnet passes when the counter wheel rotates, so that as long as the magnet passes and triggers the Hall sensor, the Hall sensor will output a corresponding signal. For example, when the N pole of one set of magnets approaches the Hall sensor, the N pole output of the Hall sensor will change from a high level to a low level, and when the N pole of the set of magnets moves away from the Hall sensor, the N pole of the Hall sensor is released back to a high level, and when the S pole of another set of magnets approaches the Hall sensor, the S pole output of the Hall sensor will change from a high level to a low level, and when the S pole of the set of magnets moves away from the Hall sensor, the S pole of the Hall sensor is released back to a high level.
[0054] In the absence of external magnetic field interference, the N pole and S pole of the above-mentioned Hall counting device will output a low-level pulse every time the counter wheel rotates one circle. If superimposed, there will be a low-level pulse every half circle. In this way, the rotation speed of the counter wheel can be calculated, and the gas flow rate can be obtained.
[0055] However, once there is external magnetic field interference, the pulses output by the N and S poles of the Hall counting device each time the counter wheel rotates one circle are not stable. For example, if the N pole of the Hall counting device is interfered by the magnetic field, the N pole of the Hall counting device will always output a low level until the S pole magnet rotates there to offset the interfering magnetic field, and then it may flip to a high level. However, if the N and S poles of the Hall counting device are superimposed, no pulses can be output.
[0056] Therefore, this application provides a Figure 1 An embodiment of a Hall counting device is shown, which can be used as a flow counting device for gases such as gas meters and fluids such as liquids.
[0057] In this embodiment, two groups of separate bipolar dual-output Hall sensors are mainly set near the position where the magnet passes when the counter character wheel rotates. The bipolar dual-output Hall sensor in this embodiment is that when the Hall sensor senses the N-pole magnet, its N-pole outputs a low-level signal, and when it senses the S-pole magnet, its S-pole also outputs a low-level signal. When released, it maintains a high-level signal.
[0058] The two groups of Hall sensors can be distributed on the rotating periphery of the counter character wheel at a certain angle, such as 45°, 90° or 120°. In this embodiment, the two groups of Hall sensors are preferably distributed symmetrically, that is, arranged at an angle of 180°. When the two groups of magnetic steels are also distributed symmetrically, the N pole or S pole of the Hall sensor will output a signal every time the counter character wheel rotates half a circle.
[0059] In order to improve the trigger sensitivity, it is preferred to arrange two groups of magnets on both sides of the outer diameter edge of the counter character wheel, so that the magnets can be closer to the Hall sensor and trigger it.
[0060] In order to overcome magnetic field interference, this embodiment also outputs a first Hall pulse signal Y1 through a first OR gate through the N-level output signal of the first group of Hall sensors (Hall 1) and the S-level output signal of the second group of Hall sensors; the S-level output signal of the first group of Hall sensors and the N-level output signal of the second group of Hall sensors output a second Hall pulse signal Y2 through a second OR gate; the S-level output signal of the first group of Hall sensors and the S-level output signal of the second group of Hall sensors output a first magnetic interference identification signal Y3 through a third OR gate; the N-level output signal of the first group of Hall sensors and the N-level output signal of the second group of Hall sensors output a second magnetic interference identification signal Y4 through a fourth OR gate.
[0061] Under normal working conditions, the signals generated by the first set of Hall sensors and the second set of Hall sensors are as follows: Figure 2 As shown, where H represents a high level, the waveforms of the first Hall pulse signal Y1, the second Hall pulse signal Y2, the first magnetic interference identification signal Y3 and the second magnetic interference identification signal Y4 are as shown Figure 3 It can be seen that when the N pole of the Hall sensor is triggered by the N pole magnet or the S pole of the Hall sensor is triggered by the S pole magnet, a low level counting pulse is generated accordingly, so that Y1 and Y2 can be used for normal counting. At this time, the first magnetic interference identification signal Y3 and the second magnetic interference identification signal Y4 always maintain a high level.
[0062] When one pole of one set of Hall sensors (such as the N pole of Hall 1) is disturbed by an external magnetic field, the N pole signal of Hall 1 will be triggered and kept at a low level. Figure 4 As shown, L represents a low level, until the S pole magnet turns to Hall 1, offsetting the N pole magnetic field, so that the N pole of Hall 1 is released and flipped to a high level, and the other set of Hall sensors (Hall 2) can still output N pole and S pole trigger signals normally. At this time, the processed first Hall pulse signal Y1 and the second Hall pulse signal Y2 can still generate a counting pulse in turn every half turn of the counter wheel, as shown in FIG. Figure 5 At this time, the first magnetic interference identification signal Y3 and the second magnetic interference identification signal Y4 still maintain a high level, because the magnetic interference intensity is not large and only acts on one group of Hall sensors, and the Hall counting device can count normally.
[0063] When the two sets of Hall sensors are triggered by the external S-pole magnetic field interference, the S-pole output signals of the two sets of Hall sensors are always triggered and kept at a low level. Only when the N-pole magnet of the counter wheel turns to the side of the Hall sensor in turn, the N-pole magnet of the counter wheel offsets the interfering S-pole magnetic field, and the S-pole of the Hall sensor is released to a high level. Figure 6 At this time, the first Hall pulse signal Y1 and the second Hall pulse signal Y2 generate a counting pulse in sequence every time the counter wheel rotates half a circle, and at the same time, the first magnetic interference identification signal Y3 is triggered to a low level in the gap between the first Hall pulse signal Y1 and the second Hall pulse signal Y2 generating counting pulses, as shown in FIG. Figure 7 shown.
[0064] Similarly, when the two groups of Hall sensors are triggered by external N-pole magnetic field interference, the second magnetic interference identification signal Y4 is triggered to a low level in the gap between the first Hall pulse signal Y1 and the second Hall pulse signal Y2 generating counting pulses.
[0065] It can be seen that the first magnetic interference identification signal Y3 and the second magnetic interference identification signal Y4 can be triggered to a low level to identify the existence of strong external magnetic field interference, and the first magnetic interference identification signal Y3 can be triggered to a low level as S-pole strong magnetic interference, and the second magnetic interference identification signal Y4 can be triggered to a low level to identify N-pole strong magnetic interference.
[0066] like Figure 8 and Fig. 9As shown, if the external magnetic field interference of the two groups of Hall sensors is strong to a certain extent, one pole (such as the S pole) of the two Hall sensors is triggered, and the other pole magnet (N pole) of the counter wheel is aligned with the Hall sensor, it is still not enough to offset the influence of the S pole magnetic field interference to release the S pole of the Hall sensor. At this time, the first Hall pulse signal Y1 and the second Hall pulse signal Y2 will not be able to generate counting pulses, but the first magnetic interference identification signal Y3 or the second magnetic interference identification signal Y4 will generate a low level, so that it can be identified that there is very strong external magnetic field interference. Similarly, the first magnetic interference identification signal Y3 triggers a low level for extremely strong magnetic interference at the S pole, and the second magnetic interference identification signal Y4 triggers a low level for extremely strong magnetic interference at the N pole.
[0067] From the above analysis, it can be seen that the improved Hall counting device can generate a counting pulse in sequence for each half-turn of the character wheel, except for the case of extremely strong magnetic field interference, in the case of no magnetic field interference and strong magnetic field interference (at least one group of Hall sensors is interfered by the magnetic field). The first Hall pulse signal Y1 and the second Hall pulse signal Y2 can be used in conjunction with the corresponding counting circuit to calculate the rotation speed of the counter character wheel. The specific method is as follows:
[0068] When the performance of the two sets of magnets and the two sets of Hall sensors are comparable, the counting pulses generated by the first Hall pulse signal Y1 and the second Hall pulse signal Y2 are substantially uniform. Figure 3 As shown, at this time, the time difference between the falling edges of two adjacent counting pulses of the first Hall pulse signal Y1 and the second Hall pulse signal Y2 is the time it takes for the counter wheel to rotate half a circle. Assuming that the time difference between the falling edges of two adjacent counting pulses is ΔT, the counter wheel rotates one circle 2ΔT, and the speed of the counter wheel S = 1 / (2ΔT).
[0069] The above situation is an ideal situation for the Hall counting device. In actual situations, due to the difference in the magnetic field strength of the two magnets, the difference in the distance between the magnet surface and the Hall sensor surface, and the difference in the trigger threshold of the Hall sensor, the pulse width generated by the first Hall pulse signal Y1 and the second Hall pulse signal Y2 will be different, which will lead to an unstable time difference between the falling edges of the two adjacent counting pulses of the first Hall pulse signal Y1 and the second Hall pulse signal Y2, resulting in a large error in the final count. In order to eliminate the errors caused by the above reasons, the calculation error can be eliminated as much as possible by taking the center point of the counting pulse, as follows:
[0070] like Figure 5As shown, assuming that the time from the first pulse falling edge to the rising edge of the first Hall pulse signal Y1 is T1, the time from the first pulse rising edge of the first Hall pulse signal Y1 to the pulse falling edge of the second Hall pulse signal Y2 is T2, the time from the first pulse falling edge of the second Hall pulse signal Y2 to the first pulse rising edge of Y2 is T3, the time from the first pulse rising edge of the second Hall pulse signal Y2 to the second pulse falling edge of the first Hall pulse signal Y1 is T4, and the time from the second pulse falling edge of the first Hall pulse signal Y1 to the second pulse rising edge is T5, then the time difference between the first pulse center point of the first Hall pulse signal Y1 and the first pulse center point of the second Hall pulse signal Y2 is T = (T1 + T3) / 2 + T2, and the time difference between the first pulse center point of the second Hall pulse signal Y2 and the second pulse center point of the first Hall pulse signal is T' = (T3 + T5) / 2 + T4. It can be understood that T is the time of the first half of the rotation of the counter character wheel, and T' is the time of the second half of the rotation of the counter character wheel. The time it takes for the counter wheel to rotate half a circle can be calculated using T, T' or the average of the two (in actual situations, the average of T and T' is taken as the time it takes for the counter wheel to rotate half a circle, or the sum of T and T' is taken as the time it takes for the counter wheel to rotate one circle). The rotation speed of the counter wheel can be calculated as 1 / (T+T').
[0071] It should be noted that the above two situations both consider the case where the two groups of Hall sensors are symmetrically distributed. If the two groups of Hall sensors are not symmetrically distributed, for example, at an angle of 90°, a person skilled in the art can also calculate that the time difference between the falling edges of two adjacent counting pulses of the first Hall pulse signal Y1 and the second Hall pulse signal Y2 is 1 / 4 of the time for one rotation of the counter wheel (if the rotation direction is opposite, it is 3 / 4 of the time for one rotation of the counter wheel). Similarly, the time for one rotation of the counter wheel and its rotation speed can be calculated.
[0072] In another embodiment, when the Hall counting device in the above embodiment is used in a gas meter, abnormal data of the gas meter can be identified, such as Fig.10 As shown, the specific method is as follows:
[0073] S100: Determine the gas flow rate through the first Hall pulse signal and the second Hall pulse signal
[0074] When the Hall counting device is used in a gas meter, assuming that the flow rate per revolution of the counter wheel is V0, when the performance of the Hall counting device is relatively ideal, the flow rate per unit time of the gas meter can be directly calculated using the time difference ΔT between the falling edges of two adjacent counting pulses as V=S·V0, where S is the rotation speed of the counter wheel S=1 / (2ΔT).
[0075] When the performance of the Hall counting device is not completely ideal, the flow rate V=V0 / (T+T') of the gas meter can still be calculated by the calculation method described above.
[0076] S200: If the gas flow rate exceeds the maximum gas flow rate or the gas flow rate within a certain time range exceeds the first threshold, it is identified as a gas overflow abnormality; in this case, it means that the user's gas usage exceeds the normal usage value.
[0077] If the gas flow rate remains basically unchanged within a certain time range, it is identified as a gas usage timeout abnormality; in this case, the gas usage does not conform to the user's normal habits, and it is possible that the user has not turned off the fire for a long time. In order to ensure gas safety, it is necessary to identify this situation and remind the user.
[0078] In the above case, you can first define multiple gas flow rate levels for gas timeout, and specify the maximum duration of each level. Specifically, when a gas timeout abnormal event occurs and stabilizes at a certain level, the timer starts. If the level changes (indicating that someone has manually adjusted the size of the fire), the timer is reset. If the timer reaches the maximum duration corresponding to the level, it is identified as a gas timeout, and the customer can be reminded at this time, such as by sending an alarm or pushing a message to a mobile phone.
[0079] If the gas flow rate is less than the second threshold within a certain time range, it is identified as a gas micro-leakage anomaly. This situation is mainly caused by damage to the gas pipeline or loose joints, which leads to gas leakage at a small flow rate. When this anomaly continues to occur within a certain time range, it is identified as a micro-leakage event. It should be noted that in a micro-leakage event, the second threshold is set relatively small.
[0080] like Fig.11 As shown, this embodiment provides a gas abnormal data identification device, including a gas flow rate determination module and a gas abnormal data identification module.
[0081] The gas flow rate determination module determines the gas flow rate according to the first Hall pulse signal and the second Hall pulse signal.
[0082] The gas abnormal data identification module is used to determine the type of gas abnormal data. Specifically, the gas abnormal data identification module includes an overflow abnormality judgment module, a timeout abnormality judgment module, and a micro-leakage abnormality judgment module. The overflow abnormality judgment module is used to determine whether the gas flow rate exceeds the maximum gas flow rate or whether the flow rate within a certain time range exceeds the first threshold value. If so, it is identified as a signal of gas overflow abnormality; the timeout abnormality judgment module is used to determine whether the gas flow rate remains basically unchanged within a certain time range. If so, it is identified as a gas overtime abnormality; the micro-leakage abnormality judgment module is used to determine whether the gas flow rate is less than the second threshold value within a certain time range. If so, it is identified as a gas micro-leakage abnormality.
[0083] like Fig.12 As shown, this embodiment also provides a gas abnormality data identification system, including at least one processor 91 (processor), a communication interface 92 (Communications Interface), a memory 93 (memory) and a communication bus 94, wherein the processor 91, the communication interface 92, and the memory 93 communicate with each other through the communication bus 94. The processor 91 can call the logic instructions in the memory 93 to execute the gas abnormality data identification method in any of the above embodiments.
[0084] The logic instructions in the above-mentioned memory 93 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0085] In addition, the present application also provides a computer storage medium, see Fig.13 In the structural diagram of the embodiment shown, the storage medium 10 includes a computer program 101 stored thereon, and the computer program 101 can be executed to implement the gas anomaly data identification method provided by any one or any non-conflicting combination of the above embodiments. The capacity of the storage medium 10 can meet the requirements of storing computer programs.
[0086] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more storage media 10 (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer usable program code.
[0087] The first threshold is determined according to a stable peak value within a certain time range in the historical flow rate record of the gas meter.
[0088] The above is a detailed introduction to a Hall counting device, a method for identifying abnormal gas data, and related equipment provided by the present application. The description of the specific embodiment is only used to help understand the method and its core idea of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A method for identifying abnormal gas data using a gas meter, characterized in that: The gas meter includes a Hall counting device, and the Hall counting device includes: The counter wheel has two sets of magnets, and the two sets of magnets have opposite polarities at the ends facing outwards. Two sets of bipolar dual-output Hall sensors are arranged near the position where the magnet passes when the counter wheel rotates. When one pole of the Hall sensor is triggered by the magnet on the counter wheel, the Hall sensor outputs a low-level signal accordingly. After the trigger disappears, the output remains high-level. The N-level output signal of the first group of Hall sensors and the S-level output signal of the second group of Hall sensors output a first Hall pulse signal through a first OR gate; The S-level output signal of the first group of Hall sensors and the N-level output signal of the second group of Hall sensors are coupled to output a second Hall pulse signal through a second OR gate; The S-level output signal of the first group of Hall sensors and the S-level output signal of the second group of Hall sensors output a first magnetic interference identification signal through a third OR gate; The N-level output signals of the first group of Hall sensors and the N-level output signals of the second group of Hall sensors are combined through a fourth OR gate to output a second magnetic interference identification signal; Determine the number of rotations of the counter wheel according to the first Hall pulse signal, the second Hall pulse signal and the counting circuit; The identification method comprises: Determine the gas flow rate by using the first Hall pulse signal and the second Hall pulse signal; If the gas flow rate exceeds the maximum gas flow rate or the gas flow rate within a certain time range exceeds the first threshold, it is identified as a gas overflow abnormality; If the gas flow rate remains substantially unchanged within a certain time range, it is identified as a gas overtime abnormality; If the gas flow rate is less than a second threshold value within a certain time range, it is identified as a gas micro-leakage abnormality.
2. The method for identifying abnormal gas data according to claim 1, characterized in that: The method of determining the gas flow rate by using the first Hall pulse signal and the second Hall pulse signal specifically includes: Determine the rotation speed of the counter wheel according to the pulse time difference between the first Hall pulse signal and the second Hall pulse signal; The gas flow rate of the gas meter is determined based on the rotation speed.
3. The method for identifying abnormal gas data according to claim 1, characterized in that: The specific method for identifying the abnormal gas usage timeout is as follows: Define multiple gas flow rate levels and specify the maximum duration of each level; When the gas flow rate stabilizes at a certain level, timing starts. If the level changes, the timing is restarted. When the timing length reaches the maximum duration corresponding to the level, it is identified as a gas usage timeout abnormality.
4. The method for identifying abnormal gas data according to claim 1, characterized in that: The two groups of magnetic steel are symmetrically arranged on both sides of the outer diameter edge of the counter character wheel.
5. The method for identifying abnormal gas data according to claim 1, characterized in that: The two groups of Hall sensors are symmetrically arranged on both sides of the counter character wheel.
6. A gas abnormal data identification system, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the gas abnormality data identification method according to any one of claims 1 to 5.
7. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for identifying abnormal gas data according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Hall counting device
CN107314782A
Reversible counting device and reversible counting method for winding machine
CN112418383A
Detection and correction method for double-Hall metering abnormity
CN114137465A
Method and system for monitoring safe gas consumption of diaphragm gas meter
CN115235562A
Hall impulse type gas meter
CN204313898U
