Intelligent electric energy meter sensing device and control method thereof
Patent Information
- Application Number
- CN202611246761.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-17
- Publication Date
- 2026-10-27
AI Technical Summary
[0005]本发明实施方式的目的是提供一种智能电能表感知装置及其控制方法,以至少解决现有电能表难以在低功耗状态下对端钮盖异常、冲击异常和磁场异常进行联动感知与事件判别的问题
[0009]通过上述技术方案,本发明方案通过端钮盖异常触发模块和冲击异常触发模块分别捕获端钮盖异常动作和表体冲击,并由唤醒与磁场基准保持模块将两类异常触发与磁场检测过程关联起来,在异常发生时保持由磁场采样信号形成的磁场基准,再利用当前磁场采样信号与磁场基准进行比较,避免仅依赖单一磁场瞬时值造成误判。事件判别模块将第一唤醒信号、第二唤醒信号和磁场报警信号统一编码为事件状态码,使主控采集模块能够区分端钮盖异常、冲击异常、磁场异常及其组合状态,并据此完成事件存储和对应报警输出。由此,该装置能够在较低功耗下实现多类异常的联动感知、磁场异常的相对判别和事件来源的可追溯记录,提高智能电能表现场异常识别的准确性和报警处理的针对性。
Smart Images

Figure CN122983805A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent sensing technology, and more specifically to an intelligent energy meter sensing device and its control method. Background Technology
[0002] With the widespread application of smart meters in residential electricity consumption, industrial and commercial metering, and distribution area management, the on-site operating environment of electricity meters has become more complex. Electricity meters are typically installed in meter boxes, distribution cabinets, or outdoor metering boxes, and are subject to long-term effects from temperature and humidity changes, vibration and shock, human operation, and the external electromagnetic environment. In actual operation and maintenance, situations such as the terminal cover being opened, the meter body being struck or dropped, or the proximity of a strong external magnet can all affect the metering safety and operational reliability of the electricity meter. Therefore, it is necessary to install an anomaly sensing circuit at the front end of the electricity meter to promptly identify and record the aforementioned abnormal states.
[0003] Existing electricity meters typically have separate circuits for end cap detection, vibration detection, or magnetic field detection, but these detection methods are often independent of each other. End cap detection only reflects the open / closed state of the cover, impact detection only reflects mechanical disturbances, and magnetic field detection is easily affected by the slow drift of the ambient magnetic field, changes in the sensor's zero point, and sampling timing. Especially in low-power designs, if the magnetic field sensor maintains a high sampling state for a long time, it will increase the electricity meter's static power consumption; if magnetic field sampling is only activated after an anomaly occurs, there may be a lack of magnetic field reference values before the anomaly occurred, making it impossible to compare the current magnetic field signal with a valid reference, thus reducing the reliability of magnetic field anomaly detection.
[0004] Furthermore, existing solutions typically record only a single trigger source in event processing, making it difficult to distinguish the combined relationships between end cap malfunctions, impact malfunctions, and magnetic field malfunctions, and the alarm levels are not clearly defined. For on-site troubleshooting, simply knowing that an alarm occurred is insufficient to reconstruct the abnormal process. Therefore, there is an urgent need for a smart energy meter sensing device and its control method that can maintain front-end sensing capabilities in a low-power state and, upon the occurrence of end cap malfunctions or impact malfunctions, simultaneously perform magnetic field reference maintenance, current magnetic field sampling, event discrimination, event storage, and alarm output. Summary of the Invention
[0005] The purpose of this invention is to provide a smart energy meter sensing device and its control method, so as to at least solve the problem that existing energy meters are difficult to sense and judge events such as abnormal end caps, impact abnormalities and magnetic field abnormalities in a low power consumption state.
[0006] To achieve the above objectives, a first aspect of the present invention provides a smart energy meter sensing device, the smart energy meter sensing device comprising: The module includes: end cap abnormality triggering module, impact abnormality triggering module, wake-up and magnetic field reference holding module, magnetic field sampling module, magnetic field comparison and alarm latching module, event discrimination module, main control acquisition module, and event storage and alarm output module. The end cover abnormality triggering module is used to output a first wake-up signal when the end cover malfunctions; the impact abnormality triggering module is used to output a second wake-up signal when the energy meter is subjected to an impact. The wake-up and magnetic field reference holding module is used to generate a total wake-up signal based on the first wake-up signal and / or the second wake-up signal, and to hold the magnetic field reference formed by the magnetic field sampling signal output by the magnetic field sampling module. The magnetic field sampling module is used to output the current magnetic field sampling signal; The magnetic field comparison and alarm latching module is used to output a magnetic field alarm signal based on the comparison result between the current magnetic field sampling signal and the magnetic field reference. The event discrimination module is used to receive the first wake-up signal, the second wake-up signal and the magnetic field alarm signal, and generate a corresponding event status code and event interruption signal when at least one of the signals is valid. The main control acquisition module is used to read event information in response to the event interruption signal, and to control the event storage and alarm output module to store the event and output the corresponding alarm information according to the event status code.
[0007] A second aspect of the present invention provides a control method for a smart energy meter sensing device, the method being applied to the aforementioned smart energy meter sensing device, the method comprising: Output a first wake-up signal when the end cover malfunctions, and / or output a second wake-up signal when the energy meter is subjected to an impact; A total wake-up signal is generated based on the first wake-up signal and / or the second wake-up signal, and the magnetic field reference formed by the magnetic field sampling signal is maintained based on the total wake-up signal, and the current magnetic field sampling signal is obtained. A magnetic field alarm signal is output based on the comparison result between the current magnetic field sampling signal and the magnetic field reference, and a corresponding event status code and event interruption signal are generated when at least one of the first wake-up signal, the second wake-up signal and the magnetic field alarm signal is valid. The system reads event information in response to the event interruption signal, and stores the event and outputs corresponding alarm information according to the event status code.
[0008] On the other hand, the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the above-described control method for a smart energy meter sensing device.
[0009] Through the above technical solution, the present invention captures abnormal actions of the end cap and impact on the watch body through an end cap abnormality triggering module and an impact abnormality triggering module, respectively. A wake-up and magnetic field reference holding module associates the two types of abnormality triggering with the magnetic field detection process. When an abnormality occurs, the magnetic field reference formed by the magnetic field sampling signal is maintained, and the current magnetic field sampling signal is compared with the magnetic field reference to avoid misjudgment caused by relying solely on a single instantaneous magnetic field value. The event discrimination module encodes the first wake-up signal, the second wake-up signal, and the magnetic field alarm signal into a unified event status code, enabling the main control acquisition module to distinguish between end cap abnormalities, impact abnormalities, magnetic field abnormalities, and their combinations, and accordingly complete event storage and corresponding alarm output. Therefore, this device can achieve multi-type abnormality linkage sensing, relative discrimination of magnetic field abnormalities, and traceable recording of event sources with low power consumption, improving the accuracy of on-site abnormality identification and the targeted nature of alarm processing for smart energy meters.
[0010] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description
[0011] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a structural diagram of a smart energy meter sensing device provided in one embodiment of the present invention; Figure 2 This is a schematic diagram of the circuit structure of a smart energy meter sensing device provided in one embodiment of the present invention; Figure 3 This is a flowchart of a combined alarm for abnormal end cap and abnormal magnetic field provided in one embodiment of the present invention; Figure 4 This is a flowchart of the steps of a control method for a smart energy meter sensing device provided in one embodiment of the present invention. Detailed Implementation
[0012] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0013] like Figure 1As shown, this invention provides a smart energy meter sensing device, which includes: a cap abnormality triggering module, an impact abnormality triggering module, a wake-up and magnetic field reference holding module, a magnetic field sampling module, a magnetic field comparison and alarm latching module, an event discrimination module, a main control acquisition module, and an event storage and alarm output module. The cap abnormality triggering module outputs a first wake-up signal when the cap experiences abnormal operation. The impact abnormality triggering module outputs a second wake-up signal when the energy meter is subjected to an impact. The wake-up and magnetic field reference holding module generates a total wake-up signal based on the first wake-up signal and / or the second wake-up signal, and holds the signal based on the magnetic field sampling. The magnetic field reference is formed by the magnetic field sampling signal output by the module; the magnetic field sampling module is used to output the current magnetic field sampling signal; the magnetic field comparison and alarm latching module is used to output a magnetic field alarm signal according to the comparison result between the current magnetic field sampling signal and the magnetic field reference; the event discrimination module is used to receive the first wake-up signal, the second wake-up signal and the magnetic field alarm signal, and generate a corresponding event status code and event interruption signal when at least one of the signals is valid; the main control acquisition module is used to read event information in response to the event interruption signal, and control the event storage and alarm output module to store the event and output the corresponding alarm information according to the event status code.
[0014] In this embodiment of the invention, the smart energy meter sensing device performs unified detection and processing of end cover malfunctions, meter body impacts, and magnetic field anomalies. The end cover malfunction triggering module detects abnormal opening or operation of the end cover and outputs a first wake-up signal; the impact malfunction triggering module detects abnormal states caused by external force impacts on the energy meter and outputs a second wake-up signal. The wake-up and magnetic field reference holding module receives the first and / or second wake-up signals, generates a total wake-up signal, and simultaneously holds the current magnetic field sampling value as a magnetic field reference when an anomaly occurs, providing a reference for subsequent magnetic field state judgment.
[0015] The magnetic field sampling module acquires the current magnetic field information and outputs a magnetic field sampling signal. The magnetic field comparison and alarm latching module compares this sampling signal with a maintained magnetic field reference. When the comparison result meets a preset alarm condition, it outputs a magnetic field alarm signal. The event discrimination module receives the first wake-up signal, the second wake-up signal, and the magnetic field alarm signal, and generates corresponding event status codes and event interrupt signals based on the status of each signal. After receiving the event interrupt signal, the main control acquisition module reads the relevant event information and controls the event storage and alarm output module to complete event recording and alarm processing based on the event status code. Through the above methods, different types of abnormal situations can be effectively identified, and the source of abnormal events can be accurately distinguished.
[0016] Preferably, the end cover abnormal triggering module includes a switch linked to the end cover, a debounce and shaping circuit, and a first latch; the switch generates a level change when the end cover is opened, moved, or pried; the debounce and shaping circuit debounces and shapes the level change and then triggers the first latch, causing the first latch to output and hold the first wake-up signal.
[0017] In embodiments of the present invention, such as Figure 2 The end cap abnormality triggering module consists of a switch S1 linked to the end cap, a debouncing and shaping circuit, and a first latch U2A. S1 is set at the open / closed or limited position of the end cap. When the end cap is opened, moved, or pried open, S1 causes a level change at the end cap detection node. This detection node is pulled up by R1, and C1, in conjunction with R2, suppresses mechanical contact bounce and external transient interference, and limits the current entering subsequent stages. The debouncing signal is sent to the Schmitt trigger shaper U1A. The in-phase or out-of-phase configuration of U1A can be determined based on the normally open or normally closed installation method of S1, as long as a valid trigger level is output when the end cap malfunctions. This valid trigger level sets the first latch U2A, causing U2A to output and maintain the first wake-up signal WAKE1 until the main control acquisition module resets via a clear signal.
[0018] Preferably, the impact anomaly triggering module includes an acceleration sensor, a shaping circuit, and a second latch; the acceleration sensor outputs an impact interruption signal when the energy meter is impacted, and the shaping circuit shapes the impact interruption signal and triggers the second latch, causing the second latch to output and maintain the second wake-up signal.
[0019] In the embodiments of the present invention, such as Figure 2 The impact anomaly triggering module uses an accelerometer U3 as the impact sensing device. U3 is powered by a standby power supply and is installed in a position that vibrates with the meter body. When the energy meter is struck, dropped, or subjected to external impact, the INT terminal of U3 outputs an impact interrupt signal. This signal is then sent to the shaping circuit. Figure 2 The corresponding circuit represents the Schmidt pattern U1B and its subsequent R3 and C2 networks, used to shape the edges of the impact interruption signal and suppress false triggering of the latch by excessively narrow glitches. The shaped valid signal is input to the set terminal of the second latch U2B, causing U2B to output the second wake-up signal WAKE2. WAKE2 remains valid after the impact action ends, facilitating reading by the subsequent event discrimination module and the main control acquisition module. The impact interruption signal can also be sent to the impact counting section in the diagram to record the number of impacts or the continuous impact status, serving as auxiliary information for the main control acquisition module to determine the event level.
[0020] Preferably, the wake-up and magnetic field reference holding module includes a wake-up synthesis circuit, an analog switch, and a holding capacitor; the wake-up synthesis circuit generates the total wake-up signal based on the first wake-up signal and / or the second wake-up signal; when the total wake-up signal is invalid, the analog switch is turned on, causing the magnetic field sampling signal output by the magnetic field sampling module to be written into the holding capacitor and form the magnetic field reference; when the total wake-up signal is valid, the analog switch is turned off, causing the holding capacitor to hold the magnetic field reference.
[0021] Furthermore, the wake-up and magnetic field reference holding module also includes a sampling window holding circuit; the sampling window holding circuit outputs a magnetic field sampling enable signal after the total wake-up signal is valid, and holds the magnetic field sampling enable signal valid for a preset sampling time, so that the magnetic field sampling module outputs the current magnetic field sampling signal within the preset sampling time.
[0022] Furthermore, the magnetic field sampling module includes a magnetic field sensor; the magnetic field sensor outputs a magnetic field sampling signal for forming the magnetic field reference when the magnetic field sampling enable signal is invalid, and outputs the current magnetic field sampling signal for comparison with the magnetic field reference after the magnetic field sampling enable signal is valid.
[0023] In this embodiment of the invention, the wake-up and magnetic field reference holding module mainly consists of OR1, Q2, C3, and U4, while the magnetic field sampling module corresponds to the magnetic field sensor U5. The WAKE1 output from the end cap abnormality triggering module and the WAKE2 output from the impact abnormality triggering module are connected to OR1. OR1 synthesizes the two wake-up signals and outputs a total wake-up signal WAKE. As long as any event in the end cap abnormality or watch body impact event is latched, WAKE becomes active, used to initiate the subsequent magnetic field reference holding and current magnetic field sampling process.
[0024] Q2 is set between the magnetic field sampling signal MAG_SIG and the holding capacitor C3. Figure 2 The control terminal of Q2 is connected to WAKE. When WAKE is invalid, Q2 is in the conducting state, and the MAG_SIG output from the magnetic field sensor U5 is written to C3 via Q2. A voltage that varies with the ambient magnetic field is formed on C3, which serves as the magnetic field reference MAG_REF. At this time, the device is in a ready-to-trigger state, and MAG_REF follows the magnetic field environment before the end cover malfunction or impact event, providing a reference for subsequent comparisons.
[0025] When WAKE is active, Q2 is disconnected, C3 is disconnected from MAG_SIG, and the voltage on C3 is maintained at the magnetic field reference MAG_REF before the event was triggered. This holding process does not rely on the immediate participation of the main control acquisition module. Even if there is a certain delay in waking the main control acquisition module from a low-power state, the magnetic field reference has already been saved by the hardware circuit. The capacity of C3 can be selected according to the holding time, the input impedance of the subsequent stage, and the allowable voltage drop. In actual circuits, a high input impedance buffer structure can also be set after MAG_REF to reduce the degree to which the holding voltage is affected by leakage current.
[0026] U4 serves as the sampling window hold circuit. After WAKE is active, U4 outputs the magnetic field sampling enable signal MAG_PWR_EN, which remains active for a preset sampling time. This preset sampling time is typically determined based on the magnetic field sensor mode switching time, the magnetic field signal stabilization time, the comparator response time, and the main control acquisition module's reading time. MAG_PWR_EN drives the controlled power switch Q1, enabling V_MAG and sending it to the FAST_EN terminal of U5. U5's main power supply is powered by a standby power supply, so even when MAG_PWR_EN is inactive, it can still output MAG_SIG for forming MAG_REF in a low-power state. After MAG_PWR_EN is active, U5 enters a high-sampling state, outputting a current magnetic field sampling signal with a faster response speed. This current magnetic field sampling signal is sent to the magnetic field comparison and alarm latch module and can be read by the main control acquisition module for comparison with the held magnetic field reference and event recording.
[0027] Preferably, the magnetic field comparison and alarm latching module includes a comparator and a third latch; the comparator compares the current magnetic field sampling signal with a comparison threshold formed based on the magnetic field reference, and triggers the third latch when the comparison result meets the alarm condition, so that the third latch outputs and holds the magnetic field alarm signal.
[0028] In this embodiment of the invention, the magnetic field comparison and alarm latch module consists of a comparator U6 and a third latch U2C. One input of U6 receives the current magnetic field sampling signal MAG_SIG output by the magnetic field sensor U5, and the other input receives a comparison threshold based on the magnetic field reference MAG_REF on the holding capacitor C3. This comparison threshold is represented by MAG_REF + V_TH. In actual circuits, it can be implemented through resistor superposition, bias injection, or buffer addition, so that the threshold changes with the magnetic field reference before the current event is triggered, and a preset alarm threshold V_TH is superimposed. After WAKE is valid, C3 holds MAG_REF, U5 outputs the current MAG_SIG, and U6 judges the level relationship between the current magnetic field sampling signal and the comparison threshold. When the change of MAG_SIG relative to MAG_REF exceeds the set threshold, U6 outputs a valid comparison result and sets U2C, which then outputs the magnetic field alarm signal MAG_ALM. MAG_ALM remains valid, allowing the event discrimination module and the main control acquisition module to read it, until the main control acquisition module completes event processing and resets it via a clear signal.
[0029] Preferably, after responding to the event interrupt signal, the main control acquisition module reads the event status code and the current magnetic field sampling signal, and controls the event storage and alarm output module to store the event status code and the current magnetic field sampling signal and output alarm information corresponding to the event status code; after completing event storage and alarm output, the main control acquisition module clears the first wake-up signal, the second wake-up signal and the magnetic field alarm signal.
[0030] In embodiments of the present invention, such as Figure 2The event discrimination module corresponds to U8, the main control acquisition module corresponds to MCU, and the event storage and alarm output module includes EEPROM and an alarm output interface. U8 receives WAKE1, WAKE2, and MAG_ALM. When any of these signals is valid, it generates the event status code EVT[2:0] and the event interrupt signal INT_EVT. After receiving INT_EVT, the MCU's event input terminal enters the event processing state from the low-power state, reads EVT[2:0], and reads the current magnetic field sampling signal MAG_SIG output by the magnetic field sensor U5 within the sampling window. For impact events, the MCU can also read impact count information to distinguish between single impacts and continuous impacts. After the event information is formed, the MCU writes the event status code, the current magnetic field sampling value, and the corresponding event record into the EEPROM through MCU_SDA and MCU_SCL, and outputs the corresponding alarm information through MCU_ALARM_OUT according to the event type represented by EVT[2:0]. After the event is processed, the MCU briefly pulls the clear signal CLR_N low, resetting the first latch, the second latch, and the third latch. WAKE1, WAKE2, and MAG_ALM are cleared, and the device returns to the next ready-to-trigger state.
[0031] Preferably, the smart energy meter sensing device further includes a power supply module, which comprises a PMIC and a controlled power switch Q1. The input terminal of the PMIC is connected to the main power bus V_METER of the energy meter, and outputs a standby power supply V_AON to maintain the low-power state of the end cover abnormal trigger module, the impact abnormal trigger module, the magnetic field sensor U5, and the operation of related latching circuits. Q1 is connected between V_AON and V_MAG, and its control terminal receives the MAG_PWR_EN output from the sampling window holding circuit. When MAG_PWR_EN is valid, Q1 is turned on, and V_MAG is output to the FAST_EN terminal of U5, causing U5 to enter a high sampling state; when MAG_PWR_EN is invalid, Q1 is turned off to reduce standby power consumption.
[0032] In another implementation, after processing a single event, the main control acquisition module can determine whether the meter installation is loose based on the second wake-up signal output by the impact anomaly triggering module, the magnetic field alarm signal, and the recovery process of the current magnetic field sampling signal. Specifically, when the meter is subjected to slight door vibration, box shaking, or external impact, the impact anomaly triggering module may output a second wake-up signal. However, if the offset of the current magnetic field sampling signal relative to the magnetic field reference does not reach the magnetic field alarm condition, and low-amplitude impact triggers occur continuously within a preset time, the main control acquisition module marks this type of event as a suspected loose installation event. The event storage and alarm output module can store the number of low-amplitude impact triggers, the continuous trigger interval, and the magnetic field stability flag, and output maintenance prompts that are distinct from human-caused damage alarms. Thus, while maintaining the linkage detection of end cover abnormalities, impact anomalies, and magnetic field anomalies, it is possible to distinguish between non-malicious disturbances such as meter box vibration and loose installation, reducing unnecessary high-level alarms.
[0033] In one specific implementation, such as Figure 3 As shown, after power-on, the device enters a low-power standby state. The end-cap abnormality triggering module continuously monitors the end-cap status, and the magnetic field sampling module continuously outputs a magnetic field signal. The wake-up and magnetic field reference holding module establishes a magnetic field reference based on this magnetic field signal during standby. When the end-cap is not opened, moved, or pried open, the device remains in standby mode and continues to monitor its status.
[0034] When the end cap is opened, moved, or pried open, the end cap abnormality triggering module outputs the first wake-up signal WAKE1. The wake-up and magnetic field reference holding module generates the total wake-up signal WAKE based on WAKE1 and holds the magnetic field reference MAG_REF formed before the trigger. At the same time, the sampling window holding circuit outputs the magnetic field sampling enable signal MAG_PWR_EN, causing the magnetic field sensor to switch to the high sampling state within a preset sampling time and output the current magnetic field sampling signal MAG_SIG.
[0035] The magnetic field comparison and alarm latching module uses the comparison result of MAG_SIG and MAG_REF as the basis for judging magnetic field anomalies. When the comparison result meets the magnetic field alarm conditions, the magnetic field comparison and alarm latching module outputs a magnetic field alarm signal MAG_ALM. The event discrimination module generates the corresponding event status code and event interrupt signal based on WAKE1 and MAG_ALM. After responding to the event interrupt signal, the main control acquisition module reads the event information and the current magnetic field sampling signal. Subsequently, the event storage and alarm output module stores the event record and outputs the alarm information "End knob cover abnormality + magnetic field abnormality". After the event storage and alarm output are completed, the main control acquisition module clears WAKE1 and MAG_ALM, restoring the device to standby state.
[0036] If the comparison result between MAG_SIG and MAG_REF does not meet the magnetic field alarm conditions, the event discrimination module generates an event status code and an event interrupt signal based on WAKE1, and the event storage and alarm output module outputs an alarm message of "end knob cover abnormality". After the main control acquisition module completes processing, it clears WAKE1, and the device returns to standby mode, waiting for the next abnormal trigger.
[0037] For the second wake-up signal WAKE2, which is triggered by an impact anomaly, the subsequent processes of generating the total wake-up signal, maintaining the magnetic field reference, sampling the current magnetic field, judging the magnetic field alarm, generating the event status code, and outputting the alarm can be performed in accordance with the end cover anomaly triggering process. Only the event status code and alarm information record the source of the impact anomaly.
[0038] In other implementations, after the event storage and alarm output module completes event recording, the main control acquisition module determines the repetitive approach characteristics of the abnormal event based on the event status code, the current magnetic field sampling signal, and the continuous trigger interval before and after the event. Specifically, when the abnormal trigger signal of the end cap occurs multiple times within a preset time window, but the magnetic field alarm signal is not continuously effective, the main control acquisition module marks this type of event as an end cap attempt to open event; when the abnormal trigger signal of the end cap and the magnetic field alarm signal alternate within multiple time windows, and the change amplitude of the current magnetic field sampling signal relative to the magnetic field reference shows an intermittent increase, the main control acquisition module marks this type of event as an external magnet approach attempt event. For the above events, in addition to storing the status code of a single event, the event storage and alarm output module also stores the number of repeated approaches, the interval between adjacent events, and the magnetic field change amplitude level, which are used by maintenance personnel to determine whether the abnormal behavior is a short-term false trigger, equipment shaking, or multiple human attempts to interfere.
[0039] like Figure 4 As shown, an embodiment of the present invention provides a control method for a smart energy meter sensing device. The method is applied to the aforementioned smart energy meter sensing device, and the method includes: Step S1: Output a first wake-up signal when the end cover malfunctions, and / or output a second wake-up signal when the energy meter is subjected to an impact.
[0040] Step S2: Generate a total wake-up signal based on the first wake-up signal and / or the second wake-up signal, and maintain the magnetic field reference formed by the magnetic field sampling signal based on the total wake-up signal and obtain the current magnetic field sampling signal.
[0041] Step S3: Output a magnetic field alarm signal based on the comparison result between the current magnetic field sampling signal and the magnetic field reference, and generate a corresponding event status code and event interruption signal when at least one of the first wake-up signal, the second wake-up signal and the magnetic field alarm signal is valid.
[0042] Step S4: Respond to the event interruption signal, read the event information, and store the event and output the corresponding alarm information according to the event status code.
[0043] The present invention also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the above-described control method for a smart energy meter sensing device.
[0044] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a microcontroller, chip, or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0045] The optional embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details described above. Within the scope of the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical solutions of the embodiments of the present invention, and these simple modifications all fall within the protection scope of the embodiments of the present invention. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not further describe the various possible combinations.
[0046] Furthermore, various different embodiments of the present invention can be combined in any way, as long as they do not violate the spirit of the embodiments of the present invention, they should also be regarded as the content disclosed by the embodiments of the present invention.
Claims
1. A smart energy meter sensing device, characterized in that, The smart energy meter sensing device includes: The module includes: end cap abnormality triggering module, impact abnormality triggering module, wake-up and magnetic field reference holding module, magnetic field sampling module, magnetic field comparison and alarm latching module, event discrimination module, main control acquisition module, and event storage and alarm output module. The end cover abnormality triggering module is used to output a first wake-up signal when the end cover malfunctions; the impact abnormality triggering module is used to output a second wake-up signal when the energy meter is subjected to an impact. The wake-up and magnetic field reference holding module is used to generate a total wake-up signal based on the first wake-up signal and / or the second wake-up signal, and to hold the magnetic field reference formed by the magnetic field sampling signal output by the magnetic field sampling module. The magnetic field sampling module is used to output the current magnetic field sampling signal; The magnetic field comparison and alarm latching module is used to output a magnetic field alarm signal based on the comparison result between the current magnetic field sampling signal and the magnetic field reference. The event discrimination module is used to receive the first wake-up signal, the second wake-up signal and the magnetic field alarm signal, and generate a corresponding event status code and event interruption signal when at least one of the signals is valid. The main control acquisition module is used to read event information in response to the event interruption signal, and to control the event storage and alarm output module to store the event and output the corresponding alarm information according to the event status code.
2. The smart energy meter sensing device according to claim 1, characterized in that, The abnormal triggering module for the end cap includes a switch linked to the end cap, a debounce and shaping circuit, and a first latch. The switch generates a level change when the end cover is opened, moved, or pried open. The debouncing and shaping circuit debouncing and shaping the level change triggers the first latch, causing the first latch to output and hold the first wake-up signal.
3. The smart energy meter sensing device according to claim 1, characterized in that, The impact anomaly triggering module includes an acceleration sensor, a shaping circuit, and a second latch. When the energy meter is subjected to an impact, the acceleration sensor outputs an impact interruption signal. The shaping circuit shapes the impact interruption signal and triggers the second latch, causing the second latch to output and hold the second wake-up signal.
4. The smart energy meter sensing device according to claim 1, characterized in that, The wake-up and magnetic field reference holding module includes a wake-up synthesis circuit, an analog switch, and a holding capacitor; The wake-up synthesis circuit generates the total wake-up signal based on the first wake-up signal and / or the second wake-up signal; When the total wake-up signal is invalid, the analog switch is turned on, causing the magnetic field sampling signal output by the magnetic field sampling module to be written into the holding capacitor and form the magnetic field reference; When the total wake-up signal is valid, the analog switch is turned off, causing the holding capacitor to maintain the magnetic field reference.
5. The smart energy meter sensing device according to claim 4, characterized in that, The wake-up and magnetic field reference holding module also includes a sampling window holding circuit; The sampling window holding circuit outputs a magnetic field sampling enable signal after the total wake-up signal is valid, and keeps the magnetic field sampling enable signal valid for a preset sampling time, so that the magnetic field sampling module outputs the current magnetic field sampling signal within the preset sampling time.
6. The smart energy meter sensing device according to claim 5, characterized in that, The magnetic field sampling module includes a magnetic field sensor; when the magnetic field sampling enable signal is invalid, the magnetic field sensor outputs a magnetic field sampling signal for forming the magnetic field reference, and after the magnetic field sampling enable signal is valid, it outputs the current magnetic field sampling signal for comparison with the magnetic field reference.
7. The smart energy meter sensing device according to claim 1, characterized in that, The magnetic field comparison and alarm latch module includes a comparator and a third latch; The comparator compares the current magnetic field sampling signal with a comparison threshold formed based on the magnetic field reference, and triggers the third latch when the comparison result meets the alarm condition, so that the third latch outputs and holds the magnetic field alarm signal.
8. The smart energy meter sensing device according to claim 1, characterized in that, After responding to the event interruption signal, the main control acquisition module reads the event status code and the current magnetic field sampling signal, and controls the event storage and alarm output module to store the event status code and the current magnetic field sampling signal and output alarm information corresponding to the event status code; After completing event storage and alarm output, the main control acquisition module clears the first wake-up signal, the second wake-up signal, and the magnetic field alarm signal.
9. A control method for a smart energy meter sensing device, characterized in that, The method is applied to the smart energy meter sensing device according to any one of claims 1-8, and the method includes: Output a first wake-up signal when the end cover malfunctions, and / or output a second wake-up signal when the energy meter is subjected to an impact; A total wake-up signal is generated based on the first wake-up signal and / or the second wake-up signal, and a magnetic field reference formed by the magnetic field sampling signal is maintained based on the total wake-up signal, and the current magnetic field sampling signal is obtained. A magnetic field alarm signal is output based on the comparison result between the current magnetic field sampling signal and the magnetic field reference, and a corresponding event status code and event interruption signal are generated when at least one of the first wake-up signal, the second wake-up signal and the magnetic field alarm signal is valid; The system reads event information in response to the event interruption signal, and stores the event and outputs corresponding alarm information according to the event status code.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the control method for the smart energy meter sensing device as described in claim 9.
