Electric meter box door opening and closing state detection method and system

Through the method of judging specular reflectors and signal level, the problems of high wiring error rate, high cost and cumbersome operation in the detection of meter box door are solved, and the reliable detection of the status of meter box door is realized, reducing the risk of static damage.

CN118914690APending Publication Date: 2024-11-08HEXING ELECTRICAL CO LTD +6
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410847315.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing meter box door detection methods have problems such as high wiring error rate, high cost, cumbersome operation, and the lack of auxiliary terminals reserved by old meters, especially metal box door switches are prone to electrostatic discharge to damage electronic components.

Method used

The mirror reflector is used to reflect the signal transmitting signal in the meter box to the receiving part. By judging the signal level consistency, the box door status is judged, the dependence on the auxiliary terminal of the meter is reduced, the wiring process is simplified, and the GPIO and UART serial port configuration is carried out. Real-time detection.

Benefits of technology

It reduces the wiring error rate and cost, solves the problem of cumbersome operation of old-fashioned meters with additional auxiliary terminals, improves the reliability and life of the meter box door status detection, and avoids static damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914690A_ABST
    Figure CN118914690A_ABST
Patent Text Reader

Abstract

The invention relates to the field of intelligent electric meters, in particular to an electric meter box door opening and closing state detection method and system.The electric meter box door is provided with a mirror reflection part which is used for reflecting a transmitting signal transmitted by a signal transmitting part in an electric meter box to a signal receiving part; the signal transmitting piece and the signal receiving piece are respectively connected with an electric meter in the electric meter box. The method comprises the following steps: controlling the signal transmitting piece to transmit a transmitting signal; receiving a receiving signal reflected to the signal receiving piece; judging whether the level in the receiving signal is correspondingly consistent with the level in the transmitting signal or not; if yes and within the judgment period, returning to the above process until the judgment period is finished; if not, the frequency of inconsistency in the judgment period exceeds a threshold value, the electric meter box door is in an open state; and if the inconsistent frequency in the judgment period does not exceed a threshold value, determining that the electric meter box door is in a closed state, and returning to the above process until the judgment period is finished.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of smart electric meters, and in particular to a method and system for detecting the switch status of an electric meter box door. Background Art

[0002] Electricity meters are widely used in electrical fields. They can accurately measure the electricity consumed by each household and display or record the value of electricity. They are also used to monitor voltage, current, power factor and other parameters in real time. They can detect abnormal electricity consumption, such as electricity theft, overload, etc., and can be combined with remote meter reading systems to achieve remote transmission and interaction of data, provide users with detailed electricity consumption information, and better manage users' electricity consumption. The above functions can only be accurately carried out on the basis of ensuring that the door of the meter box has not been maliciously opened to steal electricity.

[0003] Most electric meter manufacturers connect two wires from the auxiliary terminals of the electric meter to the door detection switch of the electric meter. The electric meter detects the switch status through the SI circuit, thereby recording the meter box switch event. This method has the following defects: First, the increase of the auxiliary terminals of the electric meter will inevitably lead to an increase in the error rate of wiring; second, the cost of the electronic components of the door detection switch and the auxiliary terminals is relatively high; third, some old electric meters do not reserve auxiliary terminals when they are designed. If you want to add auxiliary terminals, you need to open the mold, which is cumbersome; fourth, the electric meter box door and the door detection switch are made of metal. When you open and close the door by hand, it is easy to generate ESD (Electrostatic Discharge) and burn the electronic components of the auxiliary terminals, resulting in the inability to detect the door switch. Summary of the invention

[0004] The embodiments of the present specification provide a method for detecting the switch status of an electric meter box door, aiming to solve one or more of the above problems and other potential problems.

[0005] In order to achieve the above objectives, the following technical solutions are provided: According to a first aspect of the specification, a method for detecting the switch state of an electric meter box door is provided, wherein a mirror reflector is provided on the electric meter box door, for reflecting a transmission signal sent by a signal transmitter in the electric meter box to a signal receiver; the signal transmitter and the signal receiver are respectively connected to an electric meter in the electric meter box, and the method comprises: Controlling the signal transmitting element to send a transmitting signal; receiving a reception signal reflected to the signal receiving element; Determine whether the level in the received signal corresponds to the level in the transmitted signal; if so, and within the judgment period, return to the above process until the judgment period ends; if not, the number of inconsistencies within the judgment period exceeds a threshold, the meter box door is in an open state; if the number of inconsistencies within the judgment period does not exceed a threshold, the meter box door is in a closed state, and return to the above process until the judgment period ends.

[0006] A method for detecting the switch status of an electric meter box door in an embodiment of the present specification does not need to lead out two wires from the auxiliary terminals of the electric meter and connect them to the box door detection switch of the electric meter to record the meter box switch event, which reduces the error rate and cost of wiring to a certain extent; it solves the problem that some old-style electric meters do not have reserved auxiliary terminals, and adding auxiliary terminals requires mold opening, which is cumbersome to operate.

[0007] In some embodiments, before controlling the signal transmitter to send a transmission signal, the method further includes: configuring the interface of the signal transmitter as a GPIO port of a transmission level, and configuring the interface of the signal receiver as a GPIO port of a reception level.

[0008] In some embodiments, after determining whether the meter box door is in an open or closed state, the method further includes: configuring the interface of the signal transmitter and the signal receiver to be a UART serial port for communication.

[0009] In some embodiments, the interface configurations of the signal transmitting component and the signal receiving component are switched alternately every second.

[0010] In some embodiments, the specular reflector is a stainless steel sheet.

[0011] In some embodiments, the signal transmitting element and the signal receiving element are disposed in a window of the electric meter, and the mirror reflecting element is disposed closely outside the window of the electric meter.

[0012] In some embodiments, the transmission power of the signal transmitter is set according to the distance from the signal transmitter to the window.

[0013] According to a second aspect of the specification, a meter box door switch state detection system is provided, the system comprising: A control module, used to control the signal transmitter to send a transmission signal; A receiving module, used for receiving a receiving signal reflected to the signal receiving element; The judgment module is used to judge whether the level in the received signal corresponds to the level in the transmitted signal; if so, and within the judgment period, the above process is returned until the judgment period ends; if not, the number of inconsistencies within the judgment period exceeds a threshold, the meter box door is in an open state; if the number of inconsistencies within the judgment period does not exceed the threshold, the meter box door is in a closed state, and the above process is returned until the judgment period ends.

[0014] In some embodiments, the control module also includes a first configuration unit for configuring the interface of the signal transmitter as a GPIO port of a sending level and configuring the interface of the signal receiving component as a GPIO port of a receiving level before controlling the signal transmitter to send a transmission signal.

[0015] In some embodiments, the judgment module further includes a second configuration unit for configuring the interface of the signal transmitter and the signal receiver as a UART serial port for communication after judging whether the meter box door is in an open or closed state. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other objects, features and advantages of the embodiments of the present specification will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present specification are shown by way of example and not limitation.

[0017] Figure 1 A flow chart of a method for detecting the switch status of an electric meter box door provided in an embodiment of this specification.

[0018] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0019] The preferred embodiments of the present specification will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present specification are shown in the accompanying drawings, it should be understood that the present specification can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present specification more thorough and complete, and to fully convey the scope of the present specification to those skilled in the art.

[0020] The term "including" and its variations used in this document represent open inclusion, that is, "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one other embodiment". Terms such as "upper", "lower", "front", and "rear" indicating placement or positional relationships are based on the orientation or positional relationships shown in the drawings, and are only for the convenience of describing the principles of this specification, and do not indicate or imply that the referred elements must have a specific orientation, be constructed or operate in a specific orientation, and therefore should not be understood as limitations on this specification.

[0021] A method for detecting the switch status of an electric meter box door according to an embodiment of the present specification is described in detail below with reference to the accompanying drawings. Figure 1 A flow chart of a method for detecting the switch status of an electric meter box door provided in an embodiment of the present specification is shown. A method for detecting the switch status of an electric meter box door provided in an embodiment of the present specification, wherein a mirror reflector is provided on the electric meter box door, for reflecting a transmission signal sent by a signal transmitter in the electric meter box to a signal receiver; the signal transmitter and the signal receiver are respectively connected to an electric meter in the electric meter box, and the method comprises: S1, controlling the signal transmitting element to send a transmitting signal; S2, receiving a reception signal reflected to the signal receiving element; S3. Determine whether the level in the received signal corresponds to the level in the transmitted signal; if so, and within the judgment period, return to step S1 until the judgment period ends; if not, the number of inconsistencies within the judgment period exceeds a threshold, the meter box door is in an open state; if the number of inconsistencies within the judgment period does not exceed a threshold, the meter box door is in a closed state, and return to step S1 until the judgment period ends.

[0022] The method of the embodiment of this specification is executed by the controller (MCU) in the meter, which controls the signal transmitter to send a transmission signal, and the mirror reflector reflects the transmission signal to the signal receiver to obtain a receiving signal, and compares whether the level in the transmission signal corresponds to the level in the receiving signal to determine whether the meter box door is open. This method does not require two wires to be drawn from the auxiliary terminal of the meter to be connected to the meter box door detection switch to record the meter box switch event, which reduces the error rate and cost of wiring to a certain extent, and solves the problems of some old-style meters not having auxiliary terminals reserved, adding auxiliary terminals requiring mold opening, and cumbersome operations, and further improves the life of the meter box door status detection function.

[0023] In step S3, in order to ensure the real-time detection, the judgment cycle is set to 1 second, and the above steps are looped 8 times in total within the judgment cycle. In each loop, the signal transmitter sends a high level or a low level, and the signal receiver receives a high level or a low level. If the level in the transmission signal is a high level and the level in the receiving signal is also a high level, the level in the transmission signal corresponds to the level in the receiving signal, and then it is determined whether it is currently within the judgment cycle. If it is within the judgment cycle, it returns to step S1 and loops until the judgment cycle ends. If the level in the transmission signal is a high level and the level in the receiving signal is a low level, the level in the transmission signal is inconsistent with the level in the receiving signal, and the number of inconsistencies is recorded plus 1, and it returns to step S1 and loops until the judgment cycle ends. The number of inconsistencies is counted to determine whether the number of inconsistencies exceeds the threshold. If the number of inconsistencies exceeds the threshold, the meter box door is in the open state, and the connection between the meter and the live wire and the neutral wire in the household circuit is disconnected. If the number of inconsistencies does not exceed the threshold, the meter box door is closed. The threshold is 3. When the number of inconsistencies exceeds 3, the meter box door is in an open state; when the number of inconsistencies does not exceed 3, the meter box door is in a closed state. The setting of threshold 3 also takes into account factors such as the installation environment and production pass rate. The installation environment includes dust ingress into the meter box door and oxidation of various components. The production pass rate includes the accuracy of various components of the meter.

[0024] Before controlling the signal transmitter to send a transmission signal, the method further includes: configuring the interface of the signal transmitter as a GPIO port of a transmission level, and configuring the interface of the signal receiving component as a GPIO port of a receiving level. The GPIO port provides a simple way to directly interact with external hardware without the need for complex interface circuits.

[0025] After determining whether the meter box door is in an open or closed state, the method further includes: configuring the interfaces of the signal transmitting component and the signal receiving component to be UART serial ports for communication.

[0026] First, the interfaces of the signal transmitter and the signal receiver are respectively configured as GPIO ports. After an interval of 1 second, the interfaces of the signal transmitter and the signal receiver are configured as UART serial ports. After another interval of 1 second, the interfaces of the signal transmitter and the signal receiver are reconfigured as GPIO ports. The interface configurations of the signal transmitter and the signal receiver are switched alternately every second. The setting of an interval of 1 second ensures both the smoothness of program processing and the real-time nature of detection. The mirror reflector is a stainless steel sheet. The mirror reflector is made of stainless steel for good detection effect and good production operability. The signal transmitter and the signal receiver are adjacently arranged in the window of the electric meter. The mirror reflector is fixed to the door of the electric meter box with 3M glue. After the door of the electric meter box is opened and closed, the mirror reflector is close to the outside of the window of the electric meter.

[0027] The transmission power of the signal transmitting element is set according to the distance from the signal transmitting element to the window.

[0028] For the rail electric meters with meter box door switch function on the market, the signal transmitter is 5mm away from the window of the meter. Since the emission brightness of the signal transmitter itself is discrete, the current limiting resistor of the signal transmitter is set to 180Ω. At this time, the emission power is 18mW, which can effectively detect the actual state of the meter box door.

[0029] For ordinary electric meters with meter box door switch function on the market, the signal transmitter is 6.5mm away from the window of the meter. Since the emission brightness of the signal transmitter itself is discrete, the current limiting resistor of the signal transmitter is set to 150Ω. At this time, the emission power is 24mW, which can effectively detect the actual state of the meter box door.

[0030] In one or more embodiments of the present specification, the meter box door switch state detection method is implemented by running a meter box door switch state detection system.

[0031] The embodiment of the present specification is a meter box door switch state detection system, the meter box door is provided with a mirror reflector, which is used to reflect the transmission signal sent by the signal transmitter in the meter box to the signal receiver; the signal transmitter and the signal receiver are respectively connected to the meter in the meter box, and the meter box door switch state detection system at least includes a control module, a receiving module and a judgment module: The control module is used to control the signal transmitter to send a transmission signal; The receiving module is used to receive the reception signal reflected to the signal receiving element; The judgment module is used to judge whether the level in the received signal corresponds to the level in the transmitted signal; if so, and within the judgment period, the above process is returned until the judgment period ends; if not, the number of inconsistencies within the judgment period exceeds a threshold, the meter box door is in an open state; if the number of inconsistencies within the judgment period does not exceed the threshold, the meter box door is in a closed state, and the above process is returned until the judgment period ends.

[0032] The control module further includes a first configuration unit, which is used to configure the interface of the signal transmitter as a GPIO port for transmitting level and the interface of the signal receiver as a GPIO port for receiving level before controlling the signal transmitter to transmit the transmission signal. The judgment module further includes a second configuration unit, which is used to configure the interfaces of the signal transmitter and the signal receiver as UART serial ports for communication after judging whether the meter box door is open or closed.

[0033] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of this specification. Certain features described in the context of separate embodiments may also be implemented in a single implementation in combination. Conversely, various features described in the context of a single implementation may also be implemented in multiple implementations individually or in any suitable sub-combination.

[0034] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0035] The embodiments of the present specification have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for detecting the switch status of an electric meter box door, characterized in that: A mirror reflector is provided on the door of the electric meter box, which is used to reflect the transmission signal sent by the signal transmitter in the electric meter box to the signal receiver; The signal transmitting element and the signal receiving element are respectively connected to an electric meter in the electric meter box, and the method includes: Controlling the signal transmitting element to send a transmitting signal; receiving a reception signal reflected to the signal receiving element; Determine whether the level in the received signal corresponds to the level in the transmitted signal; if so, and within the judgment period, return to the above process until the judgment period ends; if not, the number of inconsistencies within the judgment period exceeds a threshold, the meter box door is in an open state; if the number of inconsistencies within the judgment period does not exceed a threshold, the meter box door is in a closed state, and return to the above process until the judgment period ends.

2. The method according to claim 1, characterized in that Before controlling the signal transmitting component to send a transmission signal, the method further includes: configuring the interface of the signal transmitting component as a GPIO port of a transmission level, and configuring the interface of the signal receiving component as a GPIO port of a reception level.

3. The method according to claim 2, characterized in that After determining whether the meter box door is in an open or closed state, the method further includes: configuring the interfaces of the signal transmitting component and the signal receiving component to be UART serial ports for communication.

4. The method according to claim 3, characterized in that The interface configurations of the signal transmitting component and the signal receiving component are switched alternately every second.

5. The method according to claim 1, characterized in that The mirror reflector is a stainless steel sheet.

6. The method according to claim 5, characterized in that The signal transmitting element and the signal receiving element are arranged in the window of the electric meter, and the mirror reflecting element is arranged closely outside the window of the electric meter.

7. The method according to claim 6, characterized in that The transmission power of the signal transmitting element is set according to the distance from the signal transmitting element to the window.

8. A meter box door switch status detection system, characterized in that: A mirror reflector is provided on the door of the electric meter box, which is used to reflect the transmission signal sent by the signal transmitter in the electric meter box to the signal receiver; The signal transmitter and the signal receiver are respectively connected to the electric meter in the electric meter box, and the system includes: A control module, used to control the signal transmitter to send a transmission signal; A receiving module, used for receiving a receiving signal reflected to the signal receiving element; The judgment module is used to judge whether the level in the received signal corresponds to the level in the transmitted signal; if so, and within the judgment period, the above process is returned until the judgment period ends; if not, the number of inconsistencies within the judgment period exceeds a threshold, the meter box door is in an open state; if the number of inconsistencies within the judgment period does not exceed the threshold, the meter box door is in a closed state, and the above process is returned until the judgment period ends.

9. The system according to claim 8, characterized in that The control module also includes a first configuration unit for configuring the interface of the signal transmitter as a GPIO port of a transmitting level and the interface of the signal receiving component as a GPIO port of a receiving level before controlling the signal transmitter to send a transmission signal.

10. The system according to claim 8, characterized in that The judgment module also includes a second configuration unit, which is used to configure the interface of the signal transmitter and the signal receiver as a UART serial port for communication after judging whether the meter box door is in an open or closed state.