Automatic test system and method for short-time power failure performance of electric energy meter and acquisition terminal
Through the automatic testing system, the short-term power failure of the power meter and the acquisition terminal is simulated, and the problems of low manual testing efficiency and poor accuracy are solved, and efficient and accurate performance evaluation is achieved. It is suitable for various electricity meter and acquisition terminals.
Patent Information
- Application Number
- CN202510696529.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-08-05
AI Technical Summary
In the prior art, the short-term power-down performance test of the power meter and acquisition terminal relies on manual operation, which has low efficiency and poor accuracy, making it difficult to simulate various short-term power-down situations, and the duration of power-down cannot be accurately controlled, which affects the accuracy and consistency of the test results.
An automatic testing system is designed, including a test subsystem, a control subsystem, a standard table subsystem and a communication and connection subsystem. The command module issues test commands, and the control subsystem simulates power-down and power-up operations. The test module reads data and compares it, judges whether the power meter or acquisition terminal is abnormal, and generates a test report.
It realizes rapid and accurate simulation of short-term power failure, automatically performs tests without manual intervention, improves test efficiency and accuracy, and provides reliable performance evaluation data, suitable for various types of power meters and acquisition terminals.
Smart Images

Figure CN120428159A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power metering equipment detection, and in particular to an automatic testing system and method for the short-time power-off performance of an electric energy meter and a data acquisition terminal. Background Art
[0002] In power systems, energy meters and data collection terminals are important metering and data collection devices, and their stability and reliability are crucial to the normal operation of the power system. However, during field operation, these devices often encounter various short-term power outages, such as transient grid voltage fluctuations and power line failures. Due to the different input power characteristics of different meters and terminal products, for example, the switching power supplies used in meters and terminals are configured with capacitors of different specifications, resulting in different power-off delays after power outages; the management and metering cores of meters and terminals may have different power sources and inconsistent power-off and power-on sequences. As a result, power outages or voltage jitters of varying durations may have different impacts on meters and terminal products, including the potential loss of critical data, inaccurate metering, and failure of metering core initialization operations. These abnormalities seriously affect the normal operation and data accuracy of energy meters and data collection terminals.
[0003] Currently, testing the short-term power outage performance of energy meters and data collection terminals primarily relies on manual operations, which presents numerous shortcomings. First, manual testing is inefficient and cannot quickly and accurately simulate various short-term power outage scenarios. Second, manual testing is susceptible to subjective factors, making it difficult to ensure the accuracy and consistency of test results. Furthermore, manual testing struggles to precisely control the duration of a power outage at the terminal or meter, making it impossible to fully evaluate the performance of the equipment under different power-outage conditions.
[0004] Therefore, there is an urgent need for a system and method that can automatically, efficiently and accurately test the short-term power-off performance of electricity meters and data collection terminals to solve the above problems. Summary of the Invention
[0005] The purpose of the present invention is to provide an automatic testing system and method for the short-term power-off performance of electric energy meters and data collection terminals, aiming to improve test efficiency and accuracy and comprehensively evaluate the performance of the equipment under different power-off conditions.
[0006] To achieve the above objectives, in a first aspect, the present invention provides an automatic testing system for the short-term power-off performance of an electric energy meter and a data acquisition terminal, comprising a testing subsystem, a control subsystem, a standard meter subsystem, and a communication and connection subsystem, wherein the communication and connection subsystem is connected to the testing subsystem, the control subsystem, and the standard meter subsystem, respectively; the testing subsystem comprises a command module and a test module, wherein the command module and the test module are respectively connected to the communication and connection subsystem;
[0007] The communication and connection subsystem is used to connect the test subsystem, the control subsystem and the standard meter subsystem to achieve data transmission and communication between the subsystems;
[0008] The command module is used for the host computer to send a test command to the control subsystem, specifying the power-off duration and the number of tests;
[0009] The test module is used to read the data of the standard meter subsystem; it is also used to read the real-time sampling data of the electric energy meter or the acquisition terminal, and compare it with the data of the standard meter subsystem to determine whether there is any abnormality in the electric energy meter or the acquisition terminal;
[0010] The control subsystem simulates power-off and power-on operations on the electric energy meter or the acquisition terminal based on the test command;
[0011] The standard meter subsystem is used to determine the accuracy of the data sampled by the given electric energy meter and the terminal product, and respond to the data command read by the test module.
[0012] Wherein, the test module includes a collection unit, a comparison unit and a judgment unit, and the collection unit, the comparison unit and the judgment unit are connected in sequence;
[0013] The acquisition unit is used to sample data from the electric energy meter or the acquisition terminal in real time to obtain the acquired data; the comparison unit is used to compare the acquired data with the data of the standard meter subsystem to obtain a comparison result;
[0014] The judgment unit judges whether an abnormality occurs in the electric energy meter or the data collection terminal during the power-off and power-on process based on the comparison result, and obtains a judgment result.
[0015] Wherein, the judgment unit includes a judgment subunit and a generation subunit, and the judgment subunit is connected to the generation subunit;
[0016] The judgment subunit judges whether an abnormality occurs in the electric energy meter or the collection terminal during the power-off and power-on process based on the comparison result, and obtains a judgment result.
[0017] The generating subunit generates a test report based on the judgment result.
[0018] Wherein, the control subsystem includes a control module and a simulation module, and the control module and the simulation module are connected;
[0019] The control module is used to read the test command to perform power-off and power-on operations on the electric energy meter or the acquisition terminal;
[0020] The simulation module is used to simulate various short-term power failure situations.
[0021] Wherein, the control module includes a reading unit and a control unit, and the reading unit is connected to the control unit;
[0022] The reading unit is used to read the test command to obtain read information;
[0023] The control unit performs power-off and power-on operations on the electric energy meter or the acquisition terminal based on the read information.
[0024] In a second aspect, the present invention further provides an automatic testing method for the short-time power-off performance of an electric energy meter and a data acquisition terminal, which is applied to the automatic testing system for the short-time power-off performance of an electric energy meter and a data acquisition terminal described in the first aspect, and comprises the following steps:
[0025] Connect the communication and connection subsystem to the test subsystem, control subsystem and standard meter subsystem respectively;
[0026] The host computer sends a test command to the control subsystem through the test subsystem, and the control subsystem simulates power-off and power-on operations on the electric energy meter or the acquisition terminal according to the test command;
[0027] The test subsystem automatically reads the real-time sampling data of the electric energy meter or the acquisition terminal, compares it with the data of the standard meter subsystem, and determines whether the electric energy meter or the acquisition terminal has any abnormality during the power-off and power-on process, and obtains a judgment result;
[0028] The test subsystem generates a test report based on the judgment result, recording the performance of the electric energy meter or the acquisition terminal under different power-off conditions.
[0029] The judgment results include whether key data is lost, whether the measurement is inaccurate, and whether the initialization operation of the metering core fails.
[0030] The automatic testing system for the short-time power-off performance of an electric energy meter and a collection terminal of the present invention, wherein the communication and connection subsystem is connected to the test subsystem, the control subsystem is connected to the standard meter subsystem, and the data transmission and communication between the subsystems is realized. The standard meter subsystem is used to determine the accuracy of the sampling data of the electric energy meter and the terminal product, and respond to the data command read by the test module. The command module is used by the host computer to send a test command to the control subsystem, specifying parameters such as the duration of the power-off and the number of tests. The test module reads the data of the standard meter subsystem; reads the real-time sampling data of the electric energy meter or the collection terminal, and compares it with the data of the standard meter subsystem to determine whether the electric energy meter or the collection terminal has an abnormality. The control subsystem simulates the power-off operation and the power-on operation of the electric energy meter or the collection terminal according to the test command. The system is realized by the The collaborative work of the test subsystem and the control subsystem can quickly and accurately simulate various short-term power-off situations, automatically perform power-off and power-on operations without manual intervention, and greatly improve test efficiency; the upper computer automatic test software can accurately control the duration of the power-off and automatically read the real-time sampling data for comparison with the standard device data, avoiding subjective errors in manual testing and improving the accuracy and consistency of test results. The system can comprehensively evaluate the performance of electricity meters and acquisition terminals under different power-off conditions, including whether key data is lost, whether the measurement is inaccurate, whether the metering core initialization operation is successful, etc., providing reliable data support for equipment improvement and optimization. The system is suitable for various types of electricity meters and acquisition terminals, and can meet the short-term power-off performance test needs of different devices in different application scenarios. It has wide applicability and promotion value. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0032] Figure 1 The present invention provides a connection diagram of an automatic testing system for the short-time power-off performance of an electric energy meter and a data collection terminal.
[0033] Figure 2 Figure 2 is a schematic diagram of the test module.
[0034] Figure 3 It is a schematic diagram of the control subsystem.
[0035] Figure 4 The present invention provides a flow chart of an automatic testing method for the short-time power-off performance of an electric energy meter and a data acquisition terminal.
[0036] In the figure: 1-test subsystem, 2-control subsystem, 3-standard table subsystem, 4-communication and connection subsystem, 5-command module, 6-test module, 7-acquisition unit, 8-comparison unit, 9-judgment unit, 10-judgment subunit, 11-generation subunit, 12-control module, 13-simulation module, 14-reading unit, 15-control unit. DETAILED DESCRIPTION
[0037] The following describes embodiments of the present invention in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and are not to be construed as limiting the present invention.
[0038] See also Figures 1 to 3 In a first aspect, the present invention provides an automatic testing system for the short-time power-off performance of an electric energy meter and a data acquisition terminal, comprising a testing subsystem 1, a control subsystem 2, a standard meter subsystem 3, and a communication and connection subsystem 4, wherein the communication and connection subsystem 4 is respectively connected to the testing subsystem 1, the control subsystem 2, and the standard meter subsystem 3; the testing subsystem 1 comprises a command module 5 and a test module 6, wherein the command module 5 and the test module 6 are respectively connected to the communication and connection subsystem 4;
[0039] The communication and connection subsystem 4 is used to connect the test subsystem 1, the control subsystem 2 and the standard table subsystem 3 to achieve data transmission and communication between the subsystems;
[0040] The command module 5 is used for the host computer to send a test command to the control subsystem 2, specifying the power-off duration and the number of tests;
[0041] The test module 6 is used to read the data of the standard meter subsystem 3 and the real-time sampling data of the electric energy meter or the acquisition terminal, and compare it with the data of the standard meter subsystem 3 to determine whether there is any abnormality in the electric energy meter or the acquisition terminal;
[0042] The control subsystem 2 simulates power-off and power-on operations on the electric energy meter or the acquisition terminal based on the test command;
[0043] The standard meter subsystem 3 is used to determine the accuracy of the sampling data of the given electric energy meter and the terminal product, and respond to the test command of the command module 5.
[0044] In an embodiment of the present invention, the communication and connection subsystem 4 is connected to the test subsystem 1, the control subsystem 2 and the standard meter subsystem 3 to realize data transmission and communication between the subsystems. The standard meter subsystem 3 is used to give a judgment standard for the accuracy of the sampling data of the electric energy meter and the terminal product, and respond to the test command of the command module 5. The command module 5 is used by the host computer to send a test command to the control subsystem 2, specifying parameters such as the power-off duration and the number of tests. The test module 6 reads the data of the standard meter subsystem 3 and the real-time sampling data of the electric energy meter or the acquisition terminal at the same time, and compares it with the data of the standard meter subsystem 3 to determine whether the electric energy meter or the acquisition terminal has an abnormality. The control subsystem 2 simulates power-off and power-on operations on the electric energy meter or the acquisition terminal according to the test command. The system passes the test The coordinated work of subsystem 1 and the control subsystem 2 can quickly and accurately simulate various short-term power-off conditions, automatically perform power-off and power-on operations, and require no human intervention, thereby greatly improving test efficiency. The upper computer automatic test software can accurately control the duration of the power-off and automatically read the real-time sampling data for comparison with the standard device data, thus avoiding subjective errors in manual testing and improving the accuracy and consistency of the test results. The system can comprehensively evaluate the performance of the energy meter and the acquisition terminal under different power-off conditions, including whether key data is lost, whether the MCU initialization of the metering core is successful, etc., providing reliable data support for the improvement and optimization of the equipment. The system is suitable for various types of energy meters and acquisition terminals, and can meet the short-term power-off performance test requirements of different devices in different application scenarios. It has wide applicability and promotion value.
[0045] Furthermore, the test module 6 includes a collection unit 7, a comparison unit 8 and a judgment unit 9, and the collection unit 7, the comparison unit 8 and the judgment unit 9 are connected in sequence; the judgment unit 9 includes a judgment subunit 10 and a generation subunit 11, and the judgment subunit 10 and the generation subunit 11 are connected;
[0046] The acquisition unit 7 is used to sample data from the electric energy meter or the acquisition terminal in real time to obtain the acquired data;
[0047] The comparison unit 8 is used to compare the collected data with the data of the standard table subsystem 3 to obtain a comparison result;
[0048] The judgment unit 9 judges whether an abnormality occurs in the electric energy meter or the data collection terminal during the power-off and power-on process based on the comparison result, and obtains a judgment result;
[0049] The judgment subunit 10 judges whether an abnormality occurs in the electric energy meter or the data collection terminal during the power-off and power-on processes based on the comparison result, and obtains a judgment result.
[0050] The generating subunit 11 generates a test report based on the judgment result.
[0051] In an embodiment of the present invention, the acquisition unit 7 samples data from the electric energy meter or the acquisition terminal in real time to obtain the acquired data. The comparison unit 8 compares the acquired data with the data of the standard meter subsystem 3 to obtain a comparison result. The judgment subunit 10 of the judgment unit 9 judges whether the electric energy meter or the acquisition terminal has an abnormality during the power-off and power-on process based on the comparison result, and obtains a judgment result, such as loss of key data, failure of MCU to initialize the metering core, etc. Finally, the generation subunit 11 generates a test report based on the judgment result, recording in detail the performance of the electric energy meter or the acquisition terminal under different power-off conditions. The tester can understand the short-term power-off performance of the equipment based on the test report and make corresponding improvements and optimizations.
[0052] Furthermore, the control subsystem 2 includes a control module 12 and a simulation module 13, and the control module 12 and the simulation module 13 are connected; the control module 12 includes a reading unit 14 and a control unit 15, and the reading unit 14 and the control unit 15 are connected;
[0053] The control module 12 is used to read the test command to perform power-off and power-on operations on the electric energy meter or the acquisition terminal;
[0054] The simulation module 13 is used to simulate various short-term power failure situations;
[0055] The reading unit 14 is used to read the test command and obtain read information;
[0056] The control unit 15 performs power-off and power-on operations on the electric energy meter or the collection terminal based on the read information.
[0057] In an embodiment of the present invention, the reading unit 14 of the control module 12 reads the test command to obtain read information, and the control unit 15 then performs power-off and power-on operations on the electric energy meter or acquisition terminal according to the read information. The simulation module 13 can accurately simulate various short-term power-off conditions and ensure the accuracy of the power-off and power-on timing.
[0058] See also Figure 2 In a second aspect, the present invention further provides an automatic testing method for the short-time power-off performance of an electric energy meter and a collection terminal, which is applied to the automatic testing system for the short-time power-off performance of an electric energy meter and a collection terminal described in the first aspect, and comprises the following steps:
[0059] S1 connects the communication and connection subsystem 4 to the test subsystem 1, the control subsystem 2 and the standard meter subsystem 3 respectively;
[0060] In the embodiment of the present invention, the communication and connection subsystem 4 is connected to the test subsystem 1, the control subsystem 2 and the standard meter subsystem 3 respectively, and ensures that all devices operate normally.
[0061] S2 The host computer sends a test command to the control subsystem 2 through the test subsystem 1, and the control subsystem 2 simulates power-off and power-on operations on the energy meter or acquisition terminal according to the test command;
[0062] In an embodiment of the present invention, a test command is sent to the control subsystem 2 through the test subsystem 1 by the position computer, specifying parameters such as the duration of power-off and the number of tests. The reading unit 14 of the control module 12 reads the test command to obtain the read information. The control unit 15 then performs power-off and power-on operations on the electric energy meter or acquisition terminal according to the read information. The simulation module 13 can accurately simulate various short-term power-off conditions and ensure the accuracy of the power-off and power-on timing.
[0063] S3: the test subsystem 1 automatically reads the real-time sampling data of the electric energy meter or the acquisition terminal, compares it with the data of the standard meter subsystem, and determines whether the electric energy meter or the acquisition terminal has any abnormality during the power-off and power-on process, and obtains a judgment result;
[0064] In an embodiment of the present invention, the acquisition unit 7 samples data from the electric energy meter or the acquisition terminal in real time to obtain the collected data, the comparison unit 8 compares the collected data with the data of the standard meter subsystem 3 to obtain a comparison result, and the judgment subunit 10 of the judgment unit 9 judges whether an abnormality occurs in the electric energy meter or the acquisition terminal during the power-off and power-on process based on the comparison result, and obtains a judgment result, such as loss of key data, failure of MCU to initialize the metering chip, etc.
[0065] S4: The test subsystem 1 generates a test report based on the judgment result, recording the performance of the electric energy meter or the acquisition terminal under different power-off conditions.
[0066] In an embodiment of the present invention, the generation subunit 11 then generates a test report based on the judgment result, recording in detail the performance of the electricity meter or acquisition terminal under different power-off conditions. Testers can understand the short-term power-off performance of the equipment based on the test report and make corresponding improvements and optimizations.
[0067] In order to better understand the present technical solution, the following examples are provided for further explanation:
[0068] Example 1
[0069] The test subsystem 1 of the present invention is installed on a computer, the control subsystem 2 is connected to the electric energy meter to be tested or the acquisition terminal, and communicates with the test subsystem 1; the standard meter subsystem 3 is connected to the test subsystem 1 and communicates with the test subsystem 1.
[0070] During the test preparation phase, connect the energy meter or acquisition terminal to be tested to the control subsystem 2 and ensure that the control subsystem 2 and the test subsystem 1 are communicating normally. Set the test parameters through the test subsystem 1, such as the power failure start duration is 20 milliseconds, the power failure progressive duration is 5 milliseconds, and the number of tests is 100 times.
[0071] After the test begins, the test subsystem 1 issues a power-off command to the control subsystem 2. Upon receiving the command, the control subsystem 2 powers off the energy meter or acquisition terminal. After the power-off lasts for 20 milliseconds, the test subsystem 1 issues a power-on command to the control subsystem 2. Upon receiving the command, the energy meter or acquisition terminal is powered on. The test subsystem 1 automatically reads the real-time sampled data 1 from the standard meter subsystem 3. The test subsystem 1 automatically reads the first real-time sampled data from the energy meter or acquisition terminal and compares it with the second real-time sampled data from the standard meter subsystem. The power-off duration automatically increases by 5 milliseconds to 25 milliseconds.
[0072] Repeat the above steps, automatically increasing the power-off duration by 5 milliseconds each time, until 100 times. After the test is complete, the test subsystem 1 generates a test report, recording the performance of the energy meter or data acquisition terminal after each power-off and power-on. Based on the test report, testers can understand the device's short-term power-off performance and make corresponding improvements and optimizations.
[0073] Example 2
[0074] Based on Example 1, the present invention can be further optimized. For example, by adding an anomaly detection algorithm to the test subsystem 1, it can more accurately determine whether an anomaly occurs in the energy meter or data acquisition terminal during power-off and power-on. Furthermore, a visual display function for test results can be added, visually displaying the device's performance under different power-off conditions through charts and other forms, facilitating analysis and decision-making by test personnel.
[0075] The above disclosure is only a preferred embodiment of the automatic testing system and method for the short-term power-off performance of the electric energy meter and the data collection terminal of the present invention. Of course, this cannot be used to limit the scope of the rights of the present invention. Ordinary technicians in this field can understand that implementing all or part of the processes of the above embodiments and making equivalent changes in accordance with the claims of the present invention still fall within the scope of the invention.
Claims
1. Automatic test system for short-time power-off performance of electric energy meters and data collection terminals, characterized by ; It includes a test subsystem, a control subsystem, a standard meter subsystem and a communication and connection subsystem. The communication and connection subsystem is connected to the test subsystem, the control subsystem and the standard meter subsystem respectively. The test subsystem includes a command module and a test module. The command module and the test module are connected to the communication and connection subsystem respectively. The communication and connection subsystem is used to connect the test subsystem, the control subsystem and the standard meter subsystem to achieve data transmission and communication between the subsystems; The command module is used for the host computer to send a test command to the control subsystem, specifying the power-off duration and the number of tests; The test module is used to read the data of the standard meter subsystem and the real-time sampling data of the electric energy meter or the acquisition terminal, and compare it with the data of the standard meter subsystem to determine whether there is any abnormality in the electric energy meter or the acquisition terminal; The control subsystem simulates power-off and power-on operations on the electric energy meter or the acquisition terminal based on the test command; The standard meter subsystem is used to determine the accuracy of the sampling data of the given electric energy meter and the terminal product, and respond to the test command of the test module.
2. The automatic testing system for short-time power-off performance of electric energy meters and data acquisition terminals according to claim 1 is characterized in that ; The test module includes a collection unit, a comparison unit and a judgment unit, and the collection unit, the comparison unit and the judgment unit are connected in sequence; The acquisition unit is used to sample data from the electric energy meter or the acquisition terminal in real time to obtain the acquired data; The comparison unit is used to compare the collected data with the data of the standard table subsystem to obtain a comparison result; The judgment unit judges whether an abnormality occurs in the electric energy meter or the collection terminal during the power-off and power-on process based on the comparison result, and obtains a judgment result.
3. The automatic testing system for the short-time power-off performance of the electric energy meter and the data acquisition terminal according to claim 2 is characterized in that ; The judgment unit includes a judgment subunit and a generation subunit, and the judgment subunit is connected to the generation subunit; The judgment subunit judges whether an abnormality occurs in the electric energy meter or the collection terminal during the power-off and power-on process based on the comparison result, and obtains a judgment result. The generating subunit generates a test report based on the judgment result.
4. The automatic testing system for the short-time power-off performance of the electric energy meter and the data acquisition terminal according to claim 1 is characterized in that ; The control subsystem includes a control module and a simulation module, and the control module is connected to the simulation module; The control module is used to read the test command to perform power-off and power-on operations on the electric energy meter or the acquisition terminal; The simulation module is used to simulate various short-term power failure situations.
5. The automatic testing system for the short-time power-off performance of the electric energy meter and the data acquisition terminal according to claim 4 is characterized in that ; The control module includes a reading unit and a control unit, and the reading unit is connected to the control unit; The reading unit is used to read the test command to obtain read information; The control unit performs power-off and power-on operations on the electric energy meter or the collection terminal based on the read information.
6. An automatic test method for the short-time power-off performance of an electric energy meter and a data acquisition terminal, applied to an automatic test system for the short-time power-off performance of an electric energy meter and a data acquisition terminal according to any one of claims 1 to 5, characterized in that: The following steps are included: Connect the communication and connection subsystem to the test subsystem, control subsystem and standard meter subsystem respectively; The host computer sends a test command to the control subsystem through the test subsystem, and the control subsystem simulates power-off and power-on operations on the electric energy meter or the acquisition terminal according to the test command; The test subsystem automatically reads the real-time sampling data of the electric energy meter or the acquisition terminal, compares it with the data of the standard meter subsystem, and determines whether the electric energy meter or the acquisition terminal has any abnormality during the power-off and power-on process, and obtains a judgment result; The test subsystem generates a test report based on the judgment result, recording the performance of the electric energy meter or the acquisition terminal under different power-off conditions.
7. The automatic testing method for the short-time power-off performance of the electric energy meter and the data acquisition terminal according to claim 6 is characterized in that ; The judgment result includes whether key data is lost, whether the measurement is inaccurate, and whether the initialization operation of the metering core fails.