Electric energy meter static electricity detection method, device, equipment and medium
By combining the reset register of the electricity meter with the processor and comparing the electrostatic characteristic flag, electrostatic reset events are automatically detected, solving the problems of high hardware cost and low integration in the existing technology, and realizing low-cost, highly integrated electrostatic protection and early warning capabilities.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-17
- Publication Date
- 2026-03-10
AI Technical Summary
Existing electrostatic discharge (ESD) detection methods for electricity meters require the addition of independent hardware modules, which increases system complexity and cost. At the same time, the detection logic is difficult to integrate deeply with the main control system, affecting accuracy and integration.
By utilizing the reset register and processor of the electricity meter, and comparing it with preset electrostatic characteristic flags, electrostatic reset events are automatically detected, the number of electrostatic resets is recorded, and an alarm is displayed when a threshold is reached, thus achieving electrostatic detection without additional hardware.
It achieves low-cost, highly integrated, and intelligent electrostatic protection, enhances the early warning capability for potential electricity theft, and improves detection efficiency and system real-time performance.
Smart Images

Figure CN121633968A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of static electricity detection of electric energy meters, and in particular to a static electricity detection method, device, equipment and medium for electric energy meters. BACKGROUND
[0002] With the in-depth promotion of global energy transformation and smart grid construction, the innovation and upgrading development of electric meter industry are effectively promoted. In order to provide better power experience and management efficiency, smart meters are increasingly popular in the global market, and are gradually replacing old mechanical meters and electronic meters. Smart meters not only have high requirements for the accuracy of electric quantity measurement, but also are crucial in preventing electricity theft.
[0003] Currently, a typical electricity theft method is to apply high-frequency static electricity interference to the smart meter through static electricity equipment. Such interference may cause the internal program of the smart meter to crash, reset continuously, and other phenomena, resulting in the interruption or failure of the metering function during the reset period, thereby achieving the purpose of electricity theft. To cope with this threat, the existing static electricity detection method for electric energy meters usually needs to add independent static electricity detection sensors or special monitoring circuit modules to monitor the electric field strength or static electricity discharge current of the meter shell or specific port, but this method increases the hardware complexity and material cost of the system due to the introduction of additional hardware circuits. At the same time, the detection logic of such external modules is relatively independent, and it is difficult to deeply cooperate and intelligently judge with the reset management mechanism of the meter master control system, which has limitations in accuracy and system integration.
[0004] Therefore, how to automatically realize the static electricity detection of electric energy meters without significantly increasing the hardware cost has become a problem to be solved. SUMMARY
[0005] The embodiments of the present application provide a static electricity detection method, device, equipment and medium for electric energy meters to solve the problem of automatically realizing the static electricity detection of electric energy meters without significantly increasing the hardware cost.
[0006] A static electricity detection method for electric energy meters, applied to an electric energy meter processor, comprising: When a reset event of the electric energy meter is monitored, reading a reset flag corresponding to the reset event from a reset register of the electric energy meter; Comparing the reset flag with a static electricity flag in a preset storage to obtain a comparison result, and if the comparison result meets a preset condition, determining that the reset event is a static electricity reset event; According to the static electricity reset event, updating the number of static electricity resets of the electric energy meter to obtain an updated number of static electricity resets; After the updated number of static reset times reaches a preset threshold within a preset time, a reset icon is displayed on the electric energy meter to warn of static interference risk.
[0007] An electric energy meter static detection device, applied to an electric energy meter processor, comprising: A reading module configured to read a reset flag corresponding to a reset event from a reset register of the electric energy meter when the reset event is monitored. A comparison module configured to compare the reset flag with a static flag in preset storage to obtain a comparison result, and determine that the reset event is a static reset event if the comparison result meets a preset condition. An updating module configured to update a number of static resets of the electric energy meter according to the static reset event to obtain an updated number of static resets. A monitoring module configured to return to execute the step of monitoring the reset event of the electric energy meter until the updated number of static resets reaches a preset threshold within a preset time, and then display a reset icon on the electric energy meter to warn of static interference risk.
[0008] A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned electric energy meter static detection method or insurance policy generation method when executing the computer program.
[0009] A computer readable storage medium, which stores a computer program, wherein the computer program is executable by a processor to implement the above-mentioned electric energy meter static detection method or insurance policy generation method.
[0010] The above-mentioned electric energy meter static detection method is applied to an electric energy meter processor. When a reset event of the electric energy meter is monitored, a reset flag corresponding to the reset event is read from a reset register of the electric energy meter. The reset flag is compared with a static flag in preset storage to obtain a comparison result. If the comparison result meets a preset condition, it is determined that the reset event is a static reset event. A number of static resets of the electric energy meter is updated according to the static reset event to obtain an updated number of static resets. The step of monitoring the reset event of the electric energy meter is returned to be executed until the updated number of static resets reaches a preset threshold within a preset time. Then, a reset icon is displayed on the electric energy meter to warn of static interference risk.
[0011] The static electricity detection of the electric energy meter is automatically realized by comparing the state based on the existing reset register of the electric energy meter and the processor and combining the preset static electricity characteristic flag, without additionally adding a dedicated static electricity detection hardware module, thereby saving the hardware cost, and meanwhile, the warning information is actively displayed when the preset condition is reached by continuously recording the reset event and threshold judgment, the early warning capability for the potential static electricity electricity stealing behavior is enhanced, and the low-cost, high-integration and intelligent static electricity protection is realized as a whole. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0013] Figure 1 is a schematic diagram of an application environment of an electric energy meter static electricity detection method in an embodiment of the present application; Figure 2 is a flowchart of an electric energy meter static electricity detection method in an embodiment of the present application; Figure 3 is another flowchart of an electric energy meter static electricity detection method in an embodiment of the present application; Figure 4 is a schematic diagram of an electric energy meter static electricity detection device in an embodiment of the present application; Figure 5 is a schematic diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0014] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings of the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0015] In an embodiment, as shown in Figure 1 , an electric energy meter static electricity detection method is provided, which is described by taking the application in the processor of the electric energy meter as an example, and includes the following steps. Step S101: When a reset event of the electric energy meter is monitored, a reset flag corresponding to the reset event is read from the reset register of the electric energy meter.
[0016] In this embodiment, the reset event can refer to the behavior of the power meter master processor restarting due to external interference or internal abnormalities, and the reset flag can refer to a specific binary bit automatically set by the processor hardware, which is used to record and distinguish different reset causes.
[0017] Specifically, when the reset event occurs in the master processor of the electric energy meter, the hardware circuit of the master processor automatically detects the reset source, writes the corresponding reset flag into the reset register at the last moment before the reset occurs, and reads the reset flag recorded in the reset register of the electric energy meter when initializing the master processor system of the electric energy meter.
[0018] Step S102: Compare the reset flag with the static electricity flag in the preset storage to obtain a comparison result, and if the comparison result meets a preset condition, determine that the reset event is a static electricity reset event.
[0019] In this embodiment, the preset storage can refer to a pre-set storage structure, for example, a Flash storage, the static electricity flag can refer to a specific binary bit used to identify a reset event caused by static electricity, the comparison result can refer to the comparison result of the reset flag and the static electricity flag, and the preset condition can refer to a condition that the comparison result needs to meet to determine that the reset event is a static electricity reset event.
[0020] Specifically, the reset flag is compared with the static electricity flag in the preset storage to obtain a comparison result, and if the comparison result meets a preset condition, it is determined that the reset event is a static electricity reset event.
[0021] Optionally, the switching power supply circuit of the electric energy meter further includes a filter capacitor, and after it is determined that the reset event is a static electricity reset event, the filter capacitor can be controlled to process the electromagnetic pulse interference generated by the static electricity reset event to suppress the influence of the electromagnetic pulse on the switching power supply.
[0022] The filter capacitor can be a capacitive element used to absorb high-frequency noise and transient electromagnetic pulse interference.
[0023] Optionally, the electric energy meter further includes a transient voltage suppression diode, and after it is determined that the reset event is a static electricity reset event, the transient voltage suppression diode can be controlled to release static electricity generated by the static electricity reset event to protect the safety of the internal chips of the electric energy meter.
[0024] The transient voltage diode can be a protective device connected in parallel between the vulnerable input and output port and the ground, which uses the avalanche breakdown principle to quickly clamp high-voltage pulses.
[0025] In terms of anti-static electricity theft, static electricity attacks usually introduce instantaneous high voltage through contact with external ports of the electricity meter (such as keys, pulse indicator lights, communication interfaces, and even remotely through power lines), so the core idea of anti-static electricity theft is to dredge rather than block. By controlling the filter capacitor to filter out high-frequency interference entering the power supply loop, controlling the transient diode to quickly discharge the static charge accumulated at the port, clamping the voltage spike, forming a multi-level cooperative protection mechanism of power supply purification and port discharge, a safe and controllable release path is provided for static high voltage, thereby protecting the core chip from damage.
[0026] Step S103: According to the static reset event, the number of static resets of the electric energy meter is updated to obtain an updated number of static resets.
[0027] Step S104: Return to the step of monitoring the reset event of the electric energy meter until the updated number of static resets reaches a preset threshold within a preset time, and display a reset icon on the electric energy meter to warn of static interference risk.
[0028] In this embodiment, the number of static resets can refer to the number of resets of the electric energy meter caused by static electricity, the preset time can refer to the pre-set monitoring time, and the preset threshold can refer to the value that the number of static resets needs to reach to trigger the display of the reset icon.
[0029] Specifically, according to the static reset event, the number of static resets of the electric energy meter is updated to obtain an updated number of static resets, and the step of monitoring the reset event in the above step S101 is returned to until the updated number of static resets reaches a preset threshold within a preset time (for example, at least one static event occurs every month for two consecutive months, or at least two static events occur in a single month), and a reset icon is displayed on the electric energy meter to warn of static interference risk.
[0030] In this embodiment, by combining the pre-set static feature flag with the existing reset register and processor of the electric energy meter, the static detection of the electric energy meter is automatically realized, without the need for additional dedicated static detection hardware modules, saving hardware costs. At the same time, through continuous recording and threshold judgment of the reset event, the warning information is actively displayed when the preset condition is reached, enhancing the early warning ability of potential static electricity theft behavior, and overall realizing low-cost, high-integration, and intelligent static protection.
[0031] In an embodiment, as shown in Figure 2 An electric energy meter static detection method is provided, and the reset flag in step S102 is compared with the static flag in the pre-set storage to obtain a comparison result. If the comparison result meets the pre-set condition, it is determined that the reset event is a static reset event, including the following steps: Step S201: Perform a bitwise AND operation between the reset flag bit and each electrostatic flag bit in the preset storage to obtain the comparison result.
[0032] Step S202: If the comparison result shows that the bitwise AND of the electrostatic flag and the reset flag is not zero, then the comparison result is determined to meet the preset conditions, and the reset event is determined to be an electrostatic reset event.
[0033] For example, if the reset flag is binary 00010, and a pre-stored electrostatic flag bit is binary 10010, then a bitwise AND operation is performed between the reset flag bit 00010 and the electrostatic flag bit 10010 (the result is 1 if both bits are 1, otherwise the result is 0). The comparison result is 00010. Since the comparison result is not zero, it can be determined that the comparison result meets the preset condition, and the reset event is an electrostatic reset event (that is, a specific bit (reset reason) in the reset flag bit is detected to be set. As long as any bit of interest in the preset electrostatic flag bit and the corresponding bit in the reset flag bit are both 1, the result is not zero, thus determining it as a valid electrostatic event). In this embodiment, by performing a bitwise AND comparison between the reset flag bit and the preset electrostatic flag bit, rapid and accurate tracing of reset events is achieved. This eliminates the need for complex decision logic or additional hardware circuits, and intelligent identification of electrostatic events can be completed through simple bitwise operations, thereby improving detection efficiency and system real-time performance.
[0034] In one embodiment, such as Figure 3 As shown, a method for detecting electrostatic discharge in an energy meter is provided. After determining that the reset event is an electrostatic reset event in step S202 above, the method further includes the following steps: Step S301: Determine and reset the target electrostatic flag bit that is not zero.
[0035] Step S302: Obtain the electrostatic reset type of the target electrostatic flag bit from the preset storage.
[0036] The step S104 above, which displays a reset icon on the electricity meter, also includes: Step S303: Display the reset icon and electrostatic reset type on the energy meter.
[0037] In this embodiment, the target electrostatic flag bit can refer to an electrostatic flag bit that is not zero when ANDed with the reset flag bit in a preset storage, and the electrostatic reset type can refer to the category information corresponding to the target electrostatic flag bit, which is used to specifically describe the reason for the reset caused by electrostatic discharge.
[0038] Specifically, after determining that the reset event is an electrostatic reset event, the target electrostatic flag bit, which is not zero by bitwise AND with the reset flag bit, is determined, and the electrostatic reset type of the target electrostatic flag bit is obtained from the preset storage. After the number of electrostatic resets updated within the preset time in the above step S104 reaches the preset threshold, the reset icon and electrostatic reset type are displayed on the energy meter.
[0039] Optionally, the electrostatic reset types include reed switch electrostatic reset type, air arcing electrostatic reset type, and tip electrostatic reset type. The electrostatic detection method further includes: performing an electrostatic shock test on the energy meter by generating static electricity through a reed switch to determine the electrostatic flag generated by the reed switch; performing an electrostatic shock test on the energy meter by generating static electricity through air arcing to determine the electrostatic flag generated by air arcing; performing an electrostatic shock test on the energy meter by generating static electricity through a tip to determine the electrostatic flag generated by the tip; and associating the electrostatic flag generated by the reed switch with the reed switch electrostatic reset type, the electrostatic flag generated by air arcing with the air arcing electrostatic reset type, and the electrostatic flag generated by the tip with the tip electrostatic reset type, and storing them in a preset memory.
[0040] Among them, a reed switch can refer to a mechanical switch controlled by a magnetic field. When its reed is closed or opened, a tiny electric spark may be generated. The reed switch electrostatic reset type can refer to the type of reset event caused by static electricity generated by the reed switch. The air arcing electrostatic reset type can refer to the type of reset event caused by static electricity generated by air arcing. The tip electrostatic reset type can refer to the type of reset event caused by static electricity generated by a tip.
[0041] That is, when performing electrostatic discharge (ESD) tests on an energy meter by generating static electricity through a reed switch, the reed switch device can be placed close to or installed at a specific location on the outer casing of the energy meter, causing its reed to move rapidly and generate an instantaneous discharge phenomenon. This discharge pulse will penetrate into the internal circuit of the energy meter through spatial radiation coupling or conduction. After each ESD test by the reed switch, the corresponding flag bit in the reset register is read through the debugging interface, and the flag bit is associated with the ESD reset type of the reed switch and stored.
[0042] When performing electrostatic discharge (ESD) tests on an electricity meter by generating static electricity with a pointed tip, an ESD generator can be used, but the discharge gun head can be replaced with a sharp needle-shaped electrode. The needle tip is then placed directly in contact with the metal communication interface of the electricity meter to perform a contact discharge test. The electrostatic pulse will be injected directly into the data line or signal line of the electricity meter through the metal conductor. After each ESD test, the corresponding flag bit in the reset register is read through the debugging interface, and the flag bit is associated with the ESD reset type and stored.
[0043] In this embodiment, by performing electrostatic discharge (ESD) tests, different types of ESD attack sources are accurately associated with and stored with specific reset types, enabling refined identification and classification of ESD reset events. This not only alerts users to the risk of ESD interference but also provides maintenance personnel with clear fault diagnosis clues by displaying specific ESD reset types (such as reed switches, air arcing, or point discharge), thus improving the efficiency of tracing the source of electricity theft and maintaining equipment.
[0044] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0045] In one embodiment, an electrostatic discharge (ESD) detection device for an electricity meter is provided, which corresponds one-to-one with the ESD detection method for electricity meters described in the above embodiments. For example... Figure 4 As shown, the electrostatic discharge detection device for the electricity meter includes a reading module 41, a comparison module 42, an update module 43, and a monitoring module 44. Detailed descriptions of each functional module are as follows: The reading module 41 is used to read the reset flag bit corresponding to the reset event from the reset register of the energy meter when a reset event is detected. The comparison module 42 is used to compare the reset flag bit with the electrostatic flag bit in the preset storage to obtain the comparison result. If the comparison result meets the preset conditions, the reset event is determined to be an electrostatic reset event. Update module 43 is used to update the electrostatic reset count of the energy meter according to the electrostatic reset event, so as to obtain the updated electrostatic reset count. The monitoring module 44 is used to return to the step of detecting a reset event of the electricity meter, and until the number of updated electrostatic resets reaches a preset threshold within a preset time, and then display a reset icon on the electricity meter to provide an electrostatic interference risk warning.
[0046] Optionally, the comparison module 42 mentioned above includes: The bit AND cell is used to perform a bit AND operation between the reset flag bit and each electrostatic flag bit in the preset storage to obtain the comparison result; The determining unit is configured to determine that the comparison result satisfies the preset condition and the reset event is the electrostatic reset event if the comparison result shows that the bitwise AND of the electrostatic flag bit and the reset flag bit is not zero.
[0047] Optionally, the electrostatic detection device further includes: The first determining module is used to determine the bitwise AND of the reset flag with the target electrostatic flag bit that is not zero; The second determining module is used to obtain the electrostatic reset type of the target electrostatic flag bit from the preset storage; The display module is used to display the reset icon and the electrostatic reset type on the energy meter.
[0048] Optionally, the electrostatic detection device further includes: The first test module is used to perform an electrostatic discharge test on the energy meter by generating static electricity through a reed switch, and to determine the electrostatic flag generated by the reed switch. The second test module is used to perform an electrostatic discharge test on the energy meter by generating static electricity through air arcing, and to determine the static electricity flag generated by the air arcing. The third test module is used to perform an electrostatic shock test on the energy meter by generating static electricity at the tip, and to determine the static electricity flag bit generated by the tip. An associated storage module is used to associate the electrostatic flag generated by the reed switch with the electrostatic reset type of the reed switch, associate the electrostatic flag generated by the air arc with the electrostatic reset type of the air arc, and associate the electrostatic flag generated by the tip with the electrostatic reset type of the tip, and store them in the preset storage.
[0049] Optionally, the electrostatic detection device further includes: The suppression module is used to control the filter capacitor to process the electromagnetic pulse interference generated by the electrostatic reset event, so as to suppress the influence of the electromagnetic pulse on the switching power supply.
[0050] Optionally, the electrostatic detection device further includes: The release module is used to control the transient voltage suppression diode to release the static electricity generated by the electrostatic reset event, so as to protect the safety of the internal chip of the energy meter.
[0051] Specific limitations regarding the electrostatic discharge (ESD) detection device for electricity meters can be found in the limitations of the ESD detection method for electricity meters mentioned above, and will not be repeated here. Each module in the aforementioned ESD detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independently of the processor, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0052] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for detecting static electricity in an electricity meter.
[0053] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the electrostatic discharge detection method for electricity meters described in the above embodiments, for example... Figure 1 As shown in S101-S104, or Figures 2-3 As shown, to avoid repetition, it will not be described again here. Alternatively, when the first processor executes the computer program, it implements the functions of each module / unit in this embodiment of the electrostatic detection device, for example, Figure 4 The functions of the reading module 41, comparison module 42, update module 43, and monitoring module 44 shown are not described again here to avoid repetition.
[0054] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program implements the electrostatic detection method for an electricity meter described in the above embodiment, for example... Figure 1 As shown in S101-S104, or Figures 2-3 As shown, to avoid repetition, it will not be described again here. Alternatively, when the first processor executes the computer program, it implements the functions of each module / unit in this embodiment of the electrostatic detection device, for example, Figure 4 The functions of the reading module 41, comparison module 42, update module 43, and monitoring module 44 shown are not described again here to avoid repetition.
[0055] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0056] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0057] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. An electrostatic detection method for an electric energy meter, characterized by, The static electricity detection method is applied to an electric energy meter processor, and comprises the following steps of: reading a reset flag corresponding to a reset event from a reset register of the electric energy meter when it is monitored that the reset event occurs; comparing the reset flag with a static electricity flag in preset storage to obtain a comparison result, and determining that the reset event is a static electricity reset event if the comparison result meets a preset condition; updating a static electricity reset number of the electric energy meter according to the static electricity reset event to obtain an updated static electricity reset number; returning to the step of monitoring the reset event until the updated static electricity reset number reaches a preset threshold within a preset time, and displaying a reset icon on the electric energy meter to warn of static electricity interference.
2. The electrostatic detection method of an electric energy meter according to claim 1, characterized by, The step of comparing the reset flag with the static electricity flag in preset storage to obtain a comparison result, and determining that the reset event is a static electricity reset event if the comparison result meets a preset condition comprises the following steps of: performing a bitwise AND operation between the reset flag and each static electricity flag in the preset storage to obtain the comparison result; determining that the comparison result meets the preset condition and the reset event is the static electricity reset event if the comparison result is a non-zero result of the bitwise AND operation between the static electricity flag and the reset flag.
3. The electrostatic detection method of an electric energy meter according to claim 2, characterized by, After the step of determining that the reset event is a static electricity reset event, the method further comprises the following steps of: determining a target static electricity flag with a non-zero result of the bitwise AND operation with the reset flag; obtaining a static electricity reset type of the target static electricity flag from the preset storage. The step of displaying a reset icon on the electric energy meter further comprises the following step of: displaying the reset icon and the static electricity reset type on the electric energy meter.
4. The electrostatic detection method of claim 3, wherein, The static electricity reset type comprises a reed static electricity reset type, an air arc static electricity reset type and a sharp end static electricity reset type, and the static electricity detection method further comprises the following steps of: performing static electricity strike test on the electric energy meter by generating static electricity through a reed to determine a static electricity flag generated by the reed; performing static electricity strike test on the electric energy meter by generating static electricity through air arc to determine a static electricity flag generated by the air arc; performing static electricity strike test on the electric energy meter by generating static electricity through a sharp end to determine a static electricity flag generated by the sharp end; storing the static electricity flag generated by the reed in association with the reed static electricity reset type, the static electricity flag generated by the air arc in association with the air arc static electricity reset type, and the static electricity flag generated by the sharp end in association with the sharp end static electricity reset type in the preset storage.
5. The electrostatic detection method of an electric energy meter according to claim 1, characterized by, The switch power supply circuit of the electric energy meter further comprises a filter capacitor, and after the step of determining that the reset event is a static electricity reset event, the method further comprises the following step of: controlling the filter capacitor to process electromagnetic pulse interference generated by the static electricity reset event to suppress the influence of the electromagnetic pulse on the switch power supply.
6. The electrostatic detection method of an electric energy meter according to claim 1, characterized by, The electric energy meter further comprises a transient voltage suppression diode, and after the step of determining that the reset event is a static electricity reset event, the method further comprises the following step of: The transient voltage suppression diode is controlled to release static electricity generated by the static reset event to protect the internal chip of the electric energy meter.
7. An electrostatic detection device for an electric energy meter, characterized by comprising: The static detection device is applied to a processor of an electric energy meter and comprises: a reading module configured to read a reset flag corresponding to the reset event from a reset register of the electric energy meter when a reset event of the electric energy meter is monitored; a comparison module configured to compare the reset flag with static flags in a preset storage to obtain a comparison result, and determine that the reset event is a static reset event if the comparison result meets a preset condition; an updating module configured to update a static reset number of the electric energy meter according to the static reset event to obtain an updated static reset number; a monitoring module configured to return to the step of monitoring the reset event of the electric energy meter until the updated static reset number reaches a preset threshold within a preset time, and display a reset icon on the electric energy meter to warn of static interference risk.
8. The static electricity detection device for an electric energy meter according to claim 7, characterized by The comparison module comprises: a bit AND unit configured to perform a bit AND operation on the reset flag and each static flag in the preset storage to obtain the comparison result; a determination unit configured to determine that the comparison result meets the preset condition and the reset event is the static reset event if the comparison result is a bit AND result of the reset flag and the static flag and the bit AND result is not zero.
9. A computer device, comprising: The computer device comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor implements the electric energy meter static detection method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executable on the processor to implement the electric energy meter static detection method of any one of claims 1 to 6 when the processor executes the computer program.
Citation Information
Patent Citations
Veneer reposition monitoring method
CN101110857A
Chip capable of recognizing electrostatic interference electricity stealing behavior
CN103439551A
Electrostatic disturbance processing method of mobile terminal and mobile terminal
CN104184905A
Electricity larceny prevention method for electric energy meter
CN111983304A
Abnormal reset processing method and device
CN113806132A