High-efficiency intelligent electric energy meter automatic test system and test method thereof
By designing an automated test system for smart energy meters that includes a main processing module, an encryption machine interaction module, a test module, etc., it solves the problems of low test efficiency, poor accuracy, and high data security risks in the existing system, and achieves fast and accurate Energy meter performance testing and data security.
Patent Information
- Application Number
- CN202411468944.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-01-21
AI Technical Summary
The existing smart energy meter testing system has problems such as low testing efficiency, poor accuracy, high security risks in data transmission, inability to select test solutions based on user needs, and lack of instantaneous voltage and current testing.
A high-efficiency smart energy meter automated test system is designed, including a main processing module, an encryption machine interaction module, a test module, an interface module and a configuration module. The system communicates with the smart energy meter through the DL/T 698 communication protocol, monitors the instantaneous parameters of the energy meter in real time, measures the cumulative amount of electricity, tests the maximum demand function, and verifies the internal clock and data freezing functions.
The rapid and accuracy of the performance test of the intelligent power meter is realized, the artificial intervention and error rate are reduced, the security of data transmission is ensured, the power meter test to meet different models and needs, and provides detailed performance evaluation data support.
Smart Images

Figure CN119335466A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent electric energy meters, and in particular to a highly efficient automatic testing system and a testing method for intelligent electric energy meters. Background Art
[0002] With the development of smart grid, smart energy meter is an important interactive device between power grid and users, and its performance stability and accuracy are directly related to the safety of power grid operation and the fairness of users' electricity use. The intelligent energy meter automatic test system proposed in Chinese patent application number: CN201620481015.9 has the following technical points: it includes a meter calibration platform, several smart meters installed on the meter calibration platform, a test workstation, a communication module, a data processing module and a display module. The test workstation is installed on the meter calibration platform, and a communication interface is provided on the test workstation. The communication interface on the test workstation is connected to the smart meter for data transmission and reception of each smart meter. The test workstation is connected to the data processing module through the communication module. The data processing module is used to process the communication of each smart meter. The output end of the data processing module is connected to the display module. Through the test system, a method for automatically performing a large number of repetitive tests is performed, thereby improving the technical effect of the functional test process of the smart meter.
[0003] However, the existing electric energy meter test system has some shortcomings in the process of use and still needs to be improved. The traditional electric energy meter test method mostly adopts manual operation, which is inefficient and prone to errors; the existing intelligent electric energy meter test system has the problems of low test efficiency and poor accuracy, and the existing data may have security risks during the transmission process and is susceptible to illegal access or tampering. Secondly, the existing test system cannot select the test plan according to the test requirements of different users, and cannot dynamically select the various test modules of the test plan according to the specific situation. Moreover, the existing test system lacks the test of instantaneous voltage and current, which leads to the inability to provide sufficient data support for detailed performance test evaluation. Therefore, we make improvements to this and propose a highly efficient intelligent electric energy meter automatic test system and its test method. Summary of the invention
[0004] The purpose of the present invention is to solve the problems raised by the existing background technology. In order to achieve the above invention purpose, the present invention provides the following technical solutions: an efficient intelligent electric energy meter automatic test system, including a main processing module, the main processing module is data-connected with the encryption machine interaction module, the encryption machine interaction module is data-connected with the test module, the test module is provided with an instantaneous quantity module, an electric quantity module and a demand module, the instantaneous quantity module monitors the instantaneous parameters of the electric energy meter, the instantaneous parameters include voltage, current, power, the electric quantity module is used to measure the accumulated amount of electric energy meter, the demand module is used to test the maximum demand of the electric energy meter, the test module is connected with the interface module port, the interface module is provided with a user interface, an external interface and an internal interface, the interface module is data-connected with the configuration module, the configuration module is provided with the basic parameter configuration of the meter type and the test scheme configuration.
[0005] As a preferred technical solution of the present invention, the main processing module is data-connected with the 698 protocol processing module, the 698 protocol processing module processes the communication with the electric energy meter to be tested, and the 698 protocol processing module adopts the DL / T 698 communication protocol.
[0006] As a preferred technical solution of the present invention, the user interface is provided with a selection interface for test sub-items contained in the test module, the external interface includes an encryption machine interface parameter configuration interface, a configuration interface for various table parameters, a parameter configuration interface for the table type to be tested, and a configuration interface for serial communication parameters, the internal interface includes interfaces of the main framework program and each core module, and the core module interface includes a printing information output interface, a conclusion information output interface, a processing interface, a table control interface, an encryption machine call interface and some public function processing interfaces.
[0007] As a preferred technical solution of the present invention, the basic parameter configuration of the meter type sets basic parameters, and the basic parameters include the electric energy meter model, rated voltage and current. The test scheme configuration selects and combines different test modules as needed. The test modules include an electric quantity module and a demand quantity module, and configures specific test sub-items of each module to configure the test scheme.
[0008] As a preferred technical solution of the present invention, a clock module and a freezing module are provided in the test module. The clock module verifies the accuracy of the internal clock of the electric energy meter, and the freezing module tests the data freezing of the electric energy meter, and the data freezing includes end-of-month freezing and instantaneous freezing.
[0009] An efficient automatic testing method for a smart electric energy meter comprises the following steps:
[0010] S1, system initialization and configuration;
[0011] S11. Setting basic parameters of the electric energy meter through the configuration module, the configuration module includes basic parameter configuration of the meter type and test scheme configuration; the basic parameter configuration of the meter type is the initialization step of the system, and the basic parameters are set for the test environment, and the basic parameters set include meter type, rated voltage and current;
[0012] S12. Test plan configuration: According to the test requirements, select and combine different test modules, and configure specific test sub-items of each module to generate a test plan;
[0013] S2, establish a communication connection;
[0014] S21, establishing a communication connection with the electric energy meter to be tested through the 698 protocol processing module, and using the DL / T 698 communication protocol to read data and send instructions;
[0015] S22, configure the external interface, including encryption machine interface parameters, table parameters, table type parameters to be tested, and serial port communication parameters;
[0016] S3. Execute the test plan;
[0017] S31, start the main processing module, coordinate various modules and workflows, and ensure that the test is executed according to the predetermined plan;
[0018] S32, simulating various electrical voltage and current conditions through the platform operation module; the encryption machine interaction module is responsible for communicating with external devices including the encryption machine to ensure data security;
[0019] S4, data collection and analysis;
[0020] S41, the instantaneous quantity module monitors and records the instantaneous voltage, current and power parameters of the electric energy meter in real time;
[0021] S42, the power module accurately measures the power accumulation of the electric energy meter over a period of time to verify the accuracy of its power calculation;
[0022] S43, the demand module tests the maximum demand function of the energy meter to ensure that it can accurately record the maximum load value when the load fluctuates;
[0023] S44, the clock module and the freezing module respectively verify the accuracy of the internal clock of the electric energy meter and the data freezing function;
[0024] S5. Test result processing and reporting;
[0025] S51, the main processing module collects test data, performs data analysis and qualification determination;
[0026] S52. After the test is completed, the report output module generates a detailed test report, including the test time, test items, test results and conclusions;
[0027] S53. The user reviews the performance of the electric energy meter according to the test report and decides whether it is qualified;
[0028] S6. Exception handling and security;
[0029] S61. For any abnormal situation encountered during the test, the system will automatically record the abnormal situation and continue to execute subsequent tests or pause to wait for user instructions.
[0030] As a preferred technical solution of the present invention, S41, the instantaneous voltage monitored by the instantaneous quantity module is expressed as:
[0031] V(t)=V0sin(ωt+φv);
[0032] Where: V(t) represents the instantaneous voltage at time t, in volts (V); V0 is the amplitude of the voltage, ω is the angular frequency, φ is the phase angle of the voltage, and v is the voltage;
[0033] The instantaneous current monitored by the instantaneous quantity module is expressed as:
[0034] I(t)=I0sin(ωt+φI);
[0035] Where: I(t) represents the instantaneous current at time t, in volts (A); I0 is the amplitude of the current, ω is the angular frequency, φ is the phase angle of the current, and I is the current.
[0036] As a preferred technical solution of the present invention, S51, the main processing module collects test data specifically including the following steps:
[0037] S511, Data verification and cleaning: Verify the format and integrity of the collected data to ensure that the data conforms to the expected format and has no missing values; handle any non-compliant or erroneous data, including marking, correcting or deleting the data;
[0038] S512, data integration: synchronize the data from different modules to ensure that all data points correspond to the correct timestamp; merge related data, including integrating instantaneous voltage, current, and power data;
[0039] S513, data analysis: analyzing the integrated data, including calculating the accumulated electricity, maximum demand, and load curve; applying statistical calculations, including mean, standard deviation, and trend analysis, to evaluate the performance of the electric energy meter;
[0040] S514. Data storage: Store the processed data in a database or designated storage system for report generation or subsequent analysis; ensure that the stored data is up to date and backed up to prevent data loss.
[0041] As a preferred technical solution of the present invention, the encryption and decryption process of the encryption function of the encryption machine interaction module is expressed as:
[0042] C=E(K,P);
[0043] P = D(K,C);
[0044] Where E is the encryption function, D is the decryption function, P is the plaintext, C is the ciphertext, and K is the key.
[0045] As a preferred technical solution of the present invention, S61, any abnormal situation encountered during the test includes:
[0046] S611, when the master serial communication module communicates with the meter, if a data error occurs, it is solved by setting the number of retries;
[0047] S612, when the TCP communication module of the master station communicates with the encryption machine, when there is a network delay, it is solved by the breakpoint resume method;
[0048] S613. When other errors occur during the test, the program can work normally through exception handling, the erroneous test sub-item is treated as unqualified, and the program continues to execute the next test sub-item.
[0049] Compared with the prior art, the invention has the following beneficial effects: In the scheme of the invention, the performance test of the electric energy meter can be carried out quickly and accurately through the automated test system, reducing manual intervention and lowering the error rate. The use of the encryption machine interaction module ensures the security of data transmission and prevents data from being illegally accessed or tampered with during transmission.
[0050] Users can flexibly set the basic parameters and test schemes of the energy meter through the configuration module, so that the system can adapt to the test of energy meters of different models and requirements. The instantaneous quantity module can monitor the key parameters of the energy meter in real time, such as voltage, current and power, while the power module and demand module can accurately measure the accumulated power and maximum demand of the energy meter, providing detailed data support for the performance evaluation of the energy meter.
[0051] The system has the ability to handle exceptions, and can record and take corresponding measures when encountering errors or abnormal situations to ensure the continuity and reliability of the test. After the test is completed, the system can automatically generate a detailed test report, including test time, items, results and conclusions, to provide users with a basis for review and decision-making.
[0052] Through the user interface, users can easily select and manage test sub-items, improving the system's usability and user experience. The system supports communication protocols such as DL / T 698, enhancing the communication compatibility and flexibility with the energy meter to be tested. By setting the clock module and freeze module, the system can verify the accuracy of the energy meter's internal clock and the data freeze function, ensuring that the energy meter can work reliably under various conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a system logic block diagram provided by the present invention. DETAILED DESCRIPTION
[0054] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them.
[0055] Therefore, the following detailed description of the embodiments of the present invention is not intended to limit the scope of the claimed invention, but merely represents some embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features and technical solutions in the embodiments are combined with each other. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0056] Example 1: Please refer to Figure 1 A highly efficient intelligent electric energy meter automatic test system includes a main processing module, the main processing module is data-connected with an encryption machine interaction module, the encryption machine interaction module is data-connected with a test module, the test module is provided with an instantaneous quantity module, an electric quantity module and a demand quantity module, the instantaneous quantity module monitors the instantaneous parameters of the electric energy meter, the instantaneous parameters include voltage, current, and power, the electric quantity module is used to measure the accumulated electric quantity of the electric energy meter, the demand quantity module is used to test the maximum demand of the electric energy meter, the test module is connected to the port of the interface module, the interface module is provided with a user interface, an external interface and an internal interface, the interface module is data-connected with a configuration module, and the configuration module is provided with a basic parameter configuration of the meter type and a test scheme configuration.
[0057] The main processing module is connected to the 698 protocol processing module for data communication with the electric energy meter to be tested. The 698 protocol processing module adopts the DL / T 698 communication protocol. The user interface is provided with a selection interface for the test sub-items contained in the test module. The external interface includes an encryption machine interface parameter configuration interface, a configuration interface for various meter parameters, a parameter configuration interface for the meter type to be tested, and a configuration interface for serial communication parameters. The internal interface includes the interface of the main framework program and each core module. The core module interface includes a print information output interface, a conclusion information output interface, a processing interface, a meter control interface, an encryption machine call interface, and some public function processing interfaces.
[0058] The basic parameter configuration of the meter type sets the basic parameters, including the meter model, rated voltage and current. The test scheme configuration selects and combines different test modules according to needs. The test modules include power module and demand module, and configures specific test sub-items for each module and configures the test scheme.
[0059] The test module is provided with a clock module and a freeze module. The clock module verifies the accuracy of the internal clock of the electric energy meter. The freeze module tests the data freeze of the electric energy meter. The data freeze includes month-end freeze and instantaneous freeze.
[0060] An efficient intelligent electric energy meter automatic test system includes basic meter parameter configuration, test scheme configuration, main processing module, 698 protocol processing module, table operation module, encryption machine interaction module, report output module, instantaneous quantity, electricity module, demand module, clock module, freezing module and external interface. Among them, the external interface mainly includes encryption machine interface parameter configuration, various meter table parameter configuration, various parameter configurations of the meter to be tested, and various serial port communication parameter configurations.
[0061] Basic parameter configuration of meter type: Set basic parameters for the test environment, including meter type, rated voltage and current. These parameters are the basis for all subsequent tests. Test plan configuration: Users select and combine different test modules (including power module and demand module) as needed, and configure specific test sub-items of each module to generate a personalized test plan.
[0062] Main processing module: As the core of the system, it is responsible for coordinating various modules and workflows to ensure that the test is executed according to the predetermined plan. 698 protocol processing module: Processes communication with the electric energy meter to be tested, follows the DL / T 698 communication protocol, and realizes data reading, writing and verification. Encryption machine interaction module: Processes communication with security encryption equipment to ensure the security of data transmission.
[0063] Instantaneous quantity module: monitors and records the instantaneous voltage, current, and power parameters of the energy meter in real time to evaluate its dynamic response performance. Electric quantity module: accurately measures the accumulated electricity of the energy meter within a certain period of time to verify the accuracy of its electricity calculation. Demand module: tests the maximum demand function of the energy meter to ensure that it can still accurately record the maximum load value when the load fluctuates.
[0064] Clock module: Verify the accuracy of the internal clock of the energy meter to ensure the correctness of time synchronization and billing cycle. Freeze module: Test the data freezing function of the energy meter under specific conditions, including end-of-month freezing and instantaneous freezing.
[0065] User meter test plan selection -> Dynamic selection of each test module of the selected test plan -> Custom selection of test sub-items contained in each test module
[0066] The external interface mainly includes the configuration of encryption machine interface parameters, the configuration of various table parameters, the configuration of various parameters of the table type to be tested, and the configuration of various serial port communication parameters.
[0067] The internal interface mainly includes the interface between the main framework program and each core module, the printing information output interface, conclusion information output interface, processing interface, table control interface, encryption machine call interface and some public function processing interfaces of each core module
[0068] Test plan configuration depends on basic parameter configuration, because only when the phenotype and other basic parameters are set correctly can an effective test plan be generated.
[0069] The workflow of the main processing module depends on the normal communication between the 698 protocol processing module and the encryption machine interaction module, as well as the effective configuration of the test plan.
[0070] The results of data collection (including instantaneous quantity and power modules) will affect the logic of data processing and judgment, and ultimately affect the test report generated by the report output module.
[0071] The encryption machine interaction module ensures the security of data transmitted through the external interface, while the external interface configuration ensures compatibility and communication efficiency with a variety of devices.
[0072] In one embodiment of the present invention, the user generates various types of user test plans by selecting different combinations of test modules according to different test purposes, wherein each test sub-item of each test module of each test plan is also dynamically selected according to test needs.
[0073] Embodiment 2: A highly efficient automatic testing method for a smart electric energy meter, comprising the following steps:
[0074] S1, system initialization and configuration;
[0075] S11. Setting basic parameters of the electric energy meter through the configuration module, the configuration module includes basic parameter configuration of the meter type and test scheme configuration; the basic parameter configuration of the meter type is the initialization step of the system, and the basic parameters are set for the test environment, and the basic parameters set include meter type, rated voltage and current;
[0076] S12. Test plan configuration: According to the test requirements, select and combine different test modules, and configure specific test sub-items of each module to generate a test plan;
[0077] S2, establish a communication connection;
[0078] S21, establishing a communication connection with the electric energy meter to be tested through the 698 protocol processing module, and using the DL / T 698 communication protocol to read data and send instructions;
[0079] S22, configure the external interface, including encryption machine interface parameters, table parameters, table type parameters to be tested, and serial port communication parameters;
[0080] S3. Execute the test plan;
[0081] S31, start the main processing module, coordinate various modules and workflows, and ensure that the test is executed according to the predetermined plan;
[0082] S32, simulating various electrical voltage and current conditions through the platform operation module; the encryption machine interaction module is responsible for communicating with external devices including the encryption machine to ensure data security;
[0083] S4, data collection and analysis;
[0084] S41, the instantaneous quantity module monitors and records the instantaneous voltage, current and power parameters of the electric energy meter in real time;
[0085] S42, the power module accurately measures the power accumulation of the electric energy meter over a period of time to verify the accuracy of its power calculation;
[0086] S43, the demand module tests the maximum demand function of the energy meter to ensure that it can accurately record the maximum load value when the load fluctuates;
[0087] S44, the clock module and the freezing module respectively verify the accuracy of the internal clock of the electric energy meter and the data freezing function;
[0088] S5. Test result processing and reporting;
[0089] S51, the main processing module collects test data, performs data analysis and qualification determination;
[0090] S52. After the test is completed, the report output module generates a detailed test report, including the test time, test items, test results and conclusions;
[0091] S53. The user reviews the performance of the electric energy meter according to the test report and decides whether it is qualified;
[0092] S6. Exception handling and security;
[0093] S61. For any abnormal situation encountered during the test, the system will automatically record the abnormal situation and continue to execute subsequent tests or pause to wait for user instructions.
[0094] S41, the instantaneous voltage monitored by the instantaneous quantity module is expressed as:
[0095] V(t)=V0sin(ωt+φv);
[0096] Where: V(t) represents the instantaneous voltage at time t, in volts (V); V0 is the amplitude of the voltage, ω is the angular frequency, φ is the phase angle of the voltage, and v is the voltage;
[0097] The instantaneous current monitored by the instantaneous quantity module is expressed as:
[0098] I(t)=I0sin(ωt+φI);
[0099] Where: I(t) represents the instantaneous current at time t, in volts (A); I0 is the amplitude of the current, ω is the angular frequency, φ is the phase angle of the current, and I is the current.
[0100] S51, the main processing module collects test data specifically including the following steps:
[0101] S511, Data verification and cleaning: Verify the format and integrity of the collected data to ensure that the data conforms to the expected format and has no missing values; handle any non-compliant or erroneous data, including marking, correcting or deleting the data;
[0102] S512, data integration: synchronize the data from different modules to ensure that all data points correspond to the correct timestamp; merge related data, including integrating instantaneous voltage, current, and power data;
[0103] S513, data analysis: analyzing the integrated data, including calculating the accumulated electricity, maximum demand, and load curve; applying statistical calculations, including mean value, standard deviation, and trend analysis, to evaluate the performance of the electric energy meter;
[0104] S514. Data storage: Store the processed data in a database or designated storage system for report generation or subsequent analysis; ensure that the stored data is up to date and backed up to prevent data loss.
[0105] The encryption and decryption process of the encryption function of the encryption machine interaction module is expressed as:
[0106] C=E(K,P);
[0107] P = D(K,C);
[0108] Where E is the encryption function, D is the decryption function, P is the plaintext, C is the ciphertext, and K is the key.
[0109] S61. Any abnormal situations encountered during the test include:
[0110] S611, when the master serial communication module communicates with the meter, if a data error occurs, it is solved by setting the number of retries;
[0111] S612, when the TCP communication module of the master station communicates with the encryption machine, when there is a network delay, it is solved by the breakpoint resume method;
[0112] S613. When other errors occur during the test, the program can work normally through exception handling, the erroneous test sub-item is treated as unqualified, and the program continues to execute the next test sub-item.
[0113] The present invention first configures the basic parameters of the phenotype; then selects different combinations of test modules according to different test purposes to generate various user test plans; then processes each test module through the main processing module; and finally outputs the test results through the report output module.
[0114] Basic parameter configuration module: responsible for configuring the basic parameters of the smart energy meter, including meter type, rated voltage, and rated current, to ensure that the test environment matches the energy meter to be tested.
[0115] Test plan configuration module: Users can select and combine different test modules (including power module, demand module, and clock module) according to test requirements, dynamically adjust the test sub-items of each module, and generate personalized test plans. As the core of the system, the main processing module is responsible for coordinating the workflow between modules, controlling the execution order of the test process, and ensuring the orderly progress of the test tasks. The 698 protocol processing module is responsible for communicating with the smart electric energy meter, following the DL / T 698 communication protocol, and realizing data reading, writing, and verification. The bench operation module controls various operations of the test bench, including the access, disconnection, and calibration of the electric energy meter to ensure the stability of the test environment. The encryption machine interaction module interacts with the encryption machine to handle the transmission and storage of data involving secure encryption to ensure the security of the test data. The report output module automatically organizes the test data and generates a detailed test report, including the test time, test items, test results, and conclusions.
[0116] The instantaneous quantity module monitors and records the instantaneous voltage, current, and power parameters of the energy meter in real time to evaluate its dynamic response performance. The power quantity module accurately measures the accumulated power of the energy meter within a certain period of time to verify the accuracy of its power calculation. The demand quantity module tests the maximum demand function of the energy meter to ensure that it can still accurately record the maximum load value when the load fluctuates. The clock module verifies the accuracy of the internal clock of the energy meter to ensure the correctness of time synchronization and billing cycle. The freeze module tests the data freezing function of the energy meter under specific conditions, including end-of-month freezing and instantaneous freezing.
[0117] External interface configuration: Provides encryption machine interface parameter configuration to ensure the security of data encryption transmission. Supports configuration of various meter table parameters to adapt to different models of smart energy meters. The various parameters of the meter to be tested are flexibly configured to meet different test requirements. The serial port communication parameter configuration is flexible and supports multiple communication protocols and rates.
[0118] Test method: The user configures the test plan through the system interface and selects the required test modules and sub-items. The system automatically loads the configuration, and the console connects the electric energy meter to the test environment. Each test module automatically executes the test in a preset order, collects and processes data. After the test is completed, the system automatically generates a test report, and the user views or exports the report. The external interface mainly includes the encryption machine interface parameter configuration, the configuration of various meter parameters, the various parameter configurations of the meter type to be tested, and the configuration of each serial port communication parameter. The internal interface mainly includes the interface of the main framework program and each core module, the printing information output interface of each core module, the conclusion information output interface, the processing interface, the meter control interface, the encryption machine call interface and some public function processing interfaces.
[0119] The main design of system error handling is: when the master station serial communication module communicates with the meter, the data error is solved by setting the number of retries; when the master station TCP communication module communicates with the encryption machine, the network delay is solved by breakpoint continuation. When other errors occur during the test, the program can work normally through exception handling, the erroneous test sub-item is treated as unqualified, and the program continues to execute the next test sub-item.
[0120] Testing principle of the present invention: The core of the intelligent electric energy meter automatic test system lies in modular design and efficient collaboration between modules. By integrating meter type parameter configuration, test scheme configuration, protocol processing, data acquisition and processing, and result output functions, the system can realize fast and accurate testing of the performance of intelligent electric energy meters. The system uses 698 protocol to communicate with the electric energy meter to be tested to realize data reading and instruction sending. The main processing module is responsible for coordinating the work of each module, performing data processing and judgment. Users can flexibly configure the test scheme and select appropriate test modules and test sub-items for electric energy meters of different models and functions.
[0121] Testing process:
[0122] System initialization: includes system self-check and loading necessary hardware and software drivers.
[0123] Basic parameter configuration: According to the model of the electric energy meter to be tested, configure the basic information of meter parameters and communication parameters.
[0124] Test plan configuration: Users select corresponding test modules and test sub-items as needed to dynamically generate test plans.
[0125] Execution test:
[0126] a. The system establishes a communication connection with the electric energy meter through the 698 protocol.
[0127] b. The platform operation module simulates various electrical conditions, including voltage and current.
[0128] c. The encryption machine interaction module is responsible for communicating with external devices including the encryption machine to ensure data security.
[0129] d. Collect instantaneous quantity, power quantity and demand quantity data.
[0130] e. The clock module and freeze module provide accurate time stamping and data freezing functions.
[0131] 5. Data processing and judgment: The main processing module collects test data, performs data analysis and qualification judgment.
[0132] Report output: After the test is completed, the report output module generates a detailed test report.
[0133] The specific test method steps of the present invention are as follows: system initialization and configuration; setting the basic parameters of the electric energy meter through the configuration module, the configuration module includes the configuration of basic parameters of the meter type and the configuration of the test scheme; the configuration of the basic parameters of the meter type is the initialization step of the system, and the basic parameters are set for the test environment, and the set basic parameters include meter type, rated voltage and current; test scheme configuration: according to the test requirements, different test modules are selected and combined, and specific test sub-items of each module are configured, so as to generate a test scheme;
[0134] Establish communication connection with the electric energy meter to be tested through 698 protocol processing module, use DL / T 698 communication protocol to read data and send instructions; configure external interface including encryption machine interface parameters, meter table parameters, meter type parameters to be tested and serial communication parameters;
[0135] Execute the test plan; start the main processing module, coordinate various modules and work processes, and ensure that the test is executed according to the predetermined plan; simulate various electrical voltage and current conditions through the platform operation module; the encryption machine interaction module is responsible for communicating with external devices including the encryption machine to ensure data security;
[0136] Data collection and analysis; the instantaneous quantity module monitors and records the instantaneous voltage, current and power parameters of the energy meter in real time; the power quantity module accurately measures the accumulated power of the energy meter over a period of time and verifies the accuracy of its power calculation; the demand quantity module tests the maximum demand function of the energy meter to ensure that it can accurately record the maximum load value when the load fluctuates; the clock module and freeze module respectively verify the accuracy of the internal clock of the energy meter and the data freezing function;
[0137] Test result processing and reporting: The main processing module collects test data, performs data analysis and qualification determination; after the test is completed, the report output module generates a detailed test report, including test time, test items, test results and conclusions; the user reviews the performance of the electric energy meter based on the test report and determines whether it is qualified;
[0138] Exception handling and safety: In case of any abnormal situation encountered during the test, the system will automatically record the abnormal situation and continue to execute subsequent tests or pause to wait for user instructions.
[0139] The instantaneous voltage monitored by the instantaneous quantity module is expressed as:
[0140] V(t)=V0sin(ωt+φv);
[0141] Where: V(t) represents the instantaneous voltage at time t, in volts (V); V0 is the amplitude of the voltage, ω is the angular frequency, φ is the phase angle of the voltage, and v is the voltage;
[0142] The instantaneous current monitored by the instantaneous quantity module is expressed as:
[0143] I(t)=I0sin(ωt+φI);
[0144] Where: I(t) represents the instantaneous current at time t, in volts (A); I0 is the amplitude of the current, ω is the angular frequency, φ is the phase angle of the current, and I is the current.
[0145] The main processing module collects test data in the following specific steps: Data verification and cleaning: Verify the format and integrity of the collected data to ensure that the data conforms to the expected format and has no missing values; perform exception handling for any non-standard or erroneous data, including marking, correcting or deleting the data; synchronize the data from different modules to ensure that all data points correspond to the correct timestamp; merge related data, including integrating instantaneous voltage, current, and power data; data analysis: analyze the integrated data, including calculating the accumulated electricity, maximum demand, and load curve; apply statistical calculations, including mean, standard deviation, and trend analysis, to evaluate the performance of the electricity meter; data storage: store the processed data in a database or designated storage system to generate reports or conduct subsequent analysis; ensure that the stored data is up to date and backed up to prevent data loss.
[0146] The encryption and decryption process of the encryption function of the encryption machine interaction module is expressed as:
[0147] C=E(K,P);
[0148] P = D(K,C);
[0149] Where E is the encryption function, D is the decryption function, P is the plaintext, C is the ciphertext, and K is the key.
[0150] Any abnormal situations encountered during the test include: when the main station serial communication module communicates with the meter, when a data error occurs, it is resolved by setting the number of retries; when the main station TCP communication module communicates with the encryption machine, when there is a network delay, it is resolved by breakpoint resumption; when other errors occur during the test, the program can work normally through exception handling, the erroneous test sub-item is treated as unqualified, and the program continues to execute the next test sub-item.
[0151] The above embodiments are only used to illustrate the present invention and are not intended to limit the technical solutions described in the present invention. Although the present invention has been described in detail with reference to the above embodiments, the present invention is not limited to the above specific implementation methods. Therefore, any modification or replacement of the present invention; and all technical solutions and improvements thereof that do not depart from the spirit and scope of the invention are included in the scope of the claims of the present invention.
Claims
1. A highly efficient automatic test system for smart electric energy meters, comprising a main processing module, wherein the main processing module is data-connected to an encryption machine interaction module, and characterized in that: The encryption machine interaction module is data-connected with the test module. The test module is provided with an instantaneous quantity module, an electric quantity module and a demand quantity module. The instantaneous quantity module monitors the instantaneous parameters of the electric energy meter, and the instantaneous parameters include voltage, current and power. The electric quantity module is used to measure the accumulated electric quantity of the electric energy meter. The demand quantity module is used to test the maximum demand of the electric energy meter. The test module is connected to the interface module port. The interface module is provided with a user interface, an external interface and an internal interface. The interface module is data-connected with the configuration module. The configuration module is provided with a basic parameter configuration of the meter and a test scheme configuration.
2. According to claim 1, a highly efficient automatic test system for smart electric energy meters is characterized in that: The main processing module is data-connected with the 698 protocol processing module, the 698 protocol processing module processes the communication with the electric energy meter to be tested, and the 698 protocol processing module adopts the DL / T 698 communication protocol.
3. The high-efficiency automatic test system for smart electric energy meters according to claim 1 is characterized in that: The user interface is provided with a selection interface for the test sub-items contained in the test module, the external interface includes an encryption machine interface parameter configuration interface, a configuration interface for various table parameters, a parameter configuration interface for the table type to be tested, and a configuration interface for serial communication parameters, the internal interface includes interfaces of the main framework program and each core module, and the core module interface includes a printing information output interface, a conclusion information output interface, a processing interface, a table control interface, an encryption machine call interface and some public function processing interfaces.
4. The high-efficiency automatic test system for smart electric energy meters according to claim 1 is characterized in that: The basic parameter configuration of the meter type sets basic parameters, and the basic parameters include the electric energy meter model, rated voltage and current. The test scheme configuration selects and combines different test modules as needed, and the test modules include an electric quantity module and a demand quantity module, and configures specific test sub-items of each module and configures the test scheme.
5. The high-efficiency automatic test system for smart electric energy meters according to claim 1 is characterized in that: The test module is provided with a clock module and a freezing module. The clock module verifies the accuracy of the internal clock of the electric energy meter. The freezing module tests the data freezing of the electric energy meter. The data freezing includes month-end freezing and instantaneous freezing.
6. A highly efficient automated testing method for smart electric energy meters, characterized in that: The following steps are involved: S1, system initialization and configuration; S11. Setting basic parameters of the electric energy meter through the configuration module, the configuration module includes basic parameter configuration of the meter type and test scheme configuration; the basic parameter configuration of the meter type is the initialization step of the system, and the basic parameters are set for the test environment, and the basic parameters set include meter type, rated voltage and current; S12. Test plan configuration: According to the test requirements, select and combine different test modules, and configure specific test sub-items of each module to generate a test plan; S2, establish a communication connection; S21, establishing a communication connection with the electric energy meter to be tested through the 698 protocol processing module, and using the DL / T 698 communication protocol to read data and send instructions; S22, configure the external interface, including encryption machine interface parameters, table parameters, table type parameters to be tested, and serial port communication parameters; S3. Execute the test plan; S31, start the main processing module, coordinate various modules and workflows, and ensure that the test is executed according to the predetermined plan; S32, simulating various electrical voltage and current conditions through the platform operation module; the encryption machine interaction module is responsible for communicating with external devices including the encryption machine to ensure data security; S4, data collection and analysis; S41, the instantaneous quantity module monitors and records the instantaneous voltage, current and power parameters of the electric energy meter in real time; S42, the power module accurately measures the power accumulation of the electric energy meter over a period of time to verify the accuracy of its power calculation; S43, the demand module tests the maximum demand function of the energy meter to ensure that it can accurately record the maximum load value when the load fluctuates; S44, the clock module and the freezing module respectively verify the accuracy of the internal clock of the electric energy meter and the data freezing function; S5. Test result processing and reporting; S51, the main processing module collects test data, performs data analysis and qualification determination; S52. After the test is completed, the report output module generates a detailed test report, including the test time, test items, test results and conclusions; S53. The user reviews the performance of the electric energy meter according to the test report and decides whether it is qualified; S6. Exception handling and security; S61. For any abnormal situation encountered during the test, the system will automatically record the abnormal situation and continue to execute subsequent tests or pause to wait for user instructions.
7. The high-efficiency automatic testing method of a smart electric energy meter according to claim 6, characterized in that: S41, the instantaneous voltage monitored by the instantaneous quantity module is expressed as: V(t)=V0sin(ωt+φv); Where: V(t) represents the instantaneous voltage at time t, in volts (V); V0 is the amplitude of the voltage, ω is the angular frequency, φ is the phase angle of the voltage, and v is the voltage; The instantaneous current monitored by the instantaneous quantity module is expressed as: I(t)=I0sin(ωt+φI); Where: I(t) represents the instantaneous current at time t, in volts (A); I0 is the amplitude of the current, ω is the angular frequency, φ is the phase angle of the current, and I is the current.
8. The high-efficiency automatic testing method of a smart electric energy meter according to claim 6, characterized in that: S51, the main processing module collects test data specifically including the following steps: S511, Data verification and cleaning: Verify the format and integrity of the collected data to ensure that the data conforms to the expected format and has no missing values; handle any non-compliant or erroneous data, including marking, correcting or deleting the data; S512, data integration: synchronize the data from different modules to ensure that all data points correspond to the correct timestamp; merge related data, including integrating instantaneous voltage, current, and power data; S513, data analysis: analyzing the integrated data, including calculating the accumulated electricity, maximum demand, and load curve; applying statistical calculations, including mean, standard deviation, and trend analysis, to evaluate the performance of the electric energy meter; S514. Data storage: Store the processed data in a database or designated storage system for report generation or subsequent analysis; ensure that the stored data is up to date and backed up to prevent data loss.
9. The high-efficiency automatic testing method of a smart electric energy meter according to claim 8, characterized in that: The encryption and decryption process of the encryption function of the encryption machine interaction module is expressed as: C=E(K,P); P = D(K,C); Where E is the encryption function, D is the decryption function, P is the plaintext, C is the ciphertext, and K is the key.
10. A highly efficient automatic testing method for a smart electric energy meter according to claim 6, characterized in that: S61. Any abnormal situations encountered during the test include: S611, when the master serial communication module communicates with the meter, if a data error occurs, it is solved by setting the number of retries; S612, when the TCP communication module of the master station communicates with the encryption machine, when there is a network delay, it is solved by the breakpoint resume method; S613. When other errors occur during the test, the program can work normally through exception handling, the erroneous test sub-item is treated as unqualified, and the program continues to execute the next test sub-item.
Citation Information
Patent Citations
Intelligent ammeter automated testing system
CN205898994U
Cited By
Automatic testing method and system for electric energy meter
CN121454441A