Electric energy meter and acquisition terminal test method and system based on DL / T698 protocol, and medium

By calculating and comparing multiple indices of the power meter and acquisition terminal, automated testing is realized, solving the problems of low efficiency and poor accuracy of traditional testing methods, and meeting the testing needs in large-scale production and complex application scenarios.

CN119881776APending Publication Date: 2025-04-25HANGZHOU SUNRISE TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411976664.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Traditional electricity meter testing methods rely on manual operation, and there are problems such as low testing efficiency, difficulty in guaranteeing accuracy, and limited testing scenarios, which are difficult to meet the testing needs in large-scale production and complex application scenarios.

Method used

By calculating the acquisition performance requirements index, the electricity meter error index, and the error relative index, and comparing it with the preset threshold, automated testing of the electricity meter and the acquisition terminal can be realized.

Benefits of technology

It realizes automated testing of power meters and acquisition terminals, improves testing efficiency and accuracy, and can meet the testing needs in large-scale production and complex application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119881776A_ABST
    Figure CN119881776A_ABST
Patent Text Reader

Abstract

The invention provides an electric energy meter and acquisition terminal test method and system based on a DL / T698 protocol, and a medium. The method comprises the following steps: acquiring planning test condition data of an electric energy meter and an acquisition terminal performance index, processing in combination with preset performance correction data to obtain an acquisition performance requirement index, and comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain an acquisition terminal adaptation state, communication interface communication parameters, electric energy meter communication parameters and electric energy meter model data are obtained and processed to obtain communication state data and test parameters of the to-be-tested electric energy meter, and an error relative index is obtained according to standard source electric energy data, real-time electric energy meter test data and electric energy meter standard error processing; an electric energy meter performance test result is obtained through threshold value comparison; therefore, through calculation of the acquisition performance requirement index, the electric energy meter error index and the error relative index and corresponding threshold comparison, an automatic test technology of the electric energy meter and the acquisition terminal is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric energy meter testing, and more specifically, to a method, system and medium for testing electric energy meters and data acquisition terminals based on the DL / T698 protocol. Background Art

[0002] With the development of intelligent power systems, the functions of smart meters are becoming increasingly diversified and intelligent, and the quality requirements are becoming higher and higher. The DL / T698 protocol plays a key role in the data communication between the energy meter and the acquisition terminal. In order to ensure the reliability of the energy meter and the accurate compliance with the protocol, it is necessary to conduct comprehensive and efficient testing on it. However, traditional testing methods often rely on manual operation and manual judgment, and have problems such as low test efficiency, difficulty in ensuring accuracy, and limited test scenarios. It is difficult to meet the testing requirements for energy meters and acquisition terminals in large-scale production and complex application scenarios. How to achieve automated and efficient testing is a problem that needs to be solved at present.

[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention

[0004] The purpose of this application is to provide a method, system and medium for testing electric energy meters and collection terminals based on the DL / T698 protocol, which can realize the technology of automatic testing of electric energy meters and collection terminals through the calculation of collection performance requirement index, electric energy meter error index, error relative index and corresponding threshold comparison.

[0005] The present application also provides a method for testing an electric energy meter and a collection terminal based on the DL / T698 protocol, comprising the following steps:

[0006] Obtain the planned test data and the acquisition terminal performance index of the electric energy meter, and obtain the acquisition performance requirement index according to the planned test data combined with the preset performance correction data;

[0007] Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status;

[0008] Acquire communication parameters of the communication interface, communication parameters of the electric energy meter and model data of the electric energy meter according to the adaptation status of the acquisition terminal, match the communication parameters of the communication interface with the communication parameters of the electric energy meter to be tested, and obtain communication status data of the electric energy meter to be tested;

[0009] According to the communication status data and the electric energy meter model data, the test host configures the corresponding test parameters;

[0010] The test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data;

[0011] The electric energy meter error index is obtained by processing the standard source electric energy data and the real-time electric energy meter test data, and compared with the preset electric energy meter standard error to obtain the error relative index;

[0012] The error relative index is compared with a preset error relative threshold, and the performance test result of the electric energy meter is obtained according to the threshold comparison result.

[0013] Optionally, in the electric energy meter and acquisition terminal testing method based on the DL / T698 protocol described in the present application, the acquisition of the planned test situation data of the electric energy meter and the acquisition terminal performance index, and obtaining the acquisition performance requirement index according to the planned test situation data combined with preset performance correction data processing, specifically includes:

[0014] Obtain the planned test data of the electric energy meters, including the number of electric energy meters, the amount of collected data, and the collection frequency data;

[0015] The number of electric energy meters, the amount of collected data, the collection frequency data and the performance correction data are input into a preset collection performance evaluation model for processing to obtain a collection performance requirement index.

[0016] Optionally, in the DL / T698 protocol-based electric energy meter and acquisition terminal test method described in the present application, the acquisition performance requirement index is compared with the acquisition terminal performance index to obtain the acquisition terminal adaptation state, specifically including:

[0017] Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status, including a status of satisfying the performance requirement or a status of failing to satisfy the performance requirement;

[0018] If the acquisition performance requirement index is less than the acquisition terminal performance index, the acquisition terminal adaptation state is a state of meeting the performance requirement;

[0019] If the acquisition performance requirement index is greater than or equal to the acquisition terminal performance index, the acquisition terminal adaptation state is a state that cannot meet the performance requirement.

[0020] Optionally, in the method for testing electric energy meters and acquisition terminals based on the DL / T698 protocol described in the present application, acquiring communication interface communication parameters, electric energy meter communication parameters and electric energy meter model data according to the adaptation state of the acquisition terminal, matching the communication interface communication parameters with the communication parameters of the electric energy meter to be tested for consistency, and obtaining the communication state data of the electric energy meter to be tested, specifically includes:

[0021] If the acquisition terminal adaptation state is a state that meets the performance requirements, then obtain the communication interface communication parameters, including the interface baud rate, interface data bits, interface stop bits and interface check code;

[0022] Obtain the communication parameters of the electricity meter, including the electricity meter baud rate, the electricity meter data bit, the electricity meter stop bit and the electricity meter verification code;

[0023] Match the interface baud rate, interface data bit, interface stop bit and interface check code with the baud rate, data bit, stop bit and check code of the electric energy meter respectively, and obtain baud rate matching data, data bit matching data, stop bit matching data and check code matching data;

[0024] The baud rate matching data, the data bit matching data, the stop bit matching data and the check code matching data are ANDed to obtain the communication status data of the electric energy meter to be tested, including parameter consistent data or parameter inconsistent data.

[0025] Optionally, in the DL / T698 protocol-based electric energy meter and acquisition terminal test method described in the present application, the test host configures corresponding test parameters according to the communication status data combined with the electric energy meter model data, specifically including:

[0026] If the communication status data is inconsistent parameter data, the inconsistent content reminder is output and automatically adjusted to the consistent parameter;

[0027] If the communication status data is parameter consistent data, the test host configures corresponding test parameters according to the electric energy meter model data, including the address data of the electric energy meter to be tested, the data reading start address data and the data length.

[0028] Optionally, in the electric energy meter and acquisition terminal test method based on the DL / T698 protocol described in the present application, the test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data, specifically including:

[0029] The test host obtains standard source power data, including standard current data and standard voltage data;

[0030] Obtain the preset number of real-time test data of the power meter to be tested, and extract the real-time power meter test data, including real-time current data and real-time voltage data.

[0031] Optionally, in the DL / T698 protocol-based electric energy meter and acquisition terminal testing method described in the present application, the electric energy meter error index is obtained according to the standard source electric energy data and the real-time electric energy meter test data, and compared with the preset electric energy meter standard error to obtain the error relative index, specifically including:

[0032] According to the real-time current data and real-time voltage data, the effective real-time current data and the effective real-time voltage data are obtained by finding the average value respectively;

[0033] Inputting the standard current data, standard voltage data, real-time current data and real-time voltage data into a preset electric energy meter error evaluation model for processing to obtain an electric energy meter error index;

[0034] The error index of the electric energy meter is divided by a preset standard error of the electric energy meter to obtain a relative error index.

[0035] Optionally, in the DL / T698 protocol-based electric energy meter and acquisition terminal test method described in the present application, performing a threshold comparison between the error relative index and a preset error relative threshold, and obtaining an electric energy meter performance test result according to the threshold comparison result, specifically includes:

[0036] Comparing the relative error index with a preset relative error threshold to obtain a performance test result of the electric energy meter, including qualified, adjusted qualified or unqualified;

[0037] Extracting a first threshold and a second threshold according to a preset error relative threshold, wherein the first threshold is greater than the second threshold;

[0038] comparing the error relative index with the first threshold and the second threshold;

[0039] If the relative error index is greater than the first threshold, the performance test result of the electric energy meter is unqualified, and a test record is recorded;

[0040] If the relative error index is greater than the second threshold value and less than or equal to the first threshold value, the performance test result of the electric energy meter is qualified, and the test host automatically analyzes and adjusts the electric energy meter to pass the test through a preset electric energy meter analysis and adjustment algorithm, and records the test record and the adjustment record;

[0041] If the error relative index is less than or equal to the second threshold, the performance test result of the electric energy meter is qualified.

[0042] In a second aspect, the present application provides an electric energy meter and acquisition terminal test system based on the DL / T698 protocol, the system comprising: a memory and a processor, the memory storing a program of an electric energy meter and acquisition terminal test method based on the DL / T698 protocol, the program of the electric energy meter and acquisition terminal test method based on the DL / T698 protocol being executed by the processor to implement the following steps:

[0043] Obtain the planned test data and the acquisition terminal performance index of the electric energy meter, and obtain the acquisition performance requirement index according to the planned test data combined with the preset performance correction data;

[0044] Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status;

[0045] Acquire communication parameters of the communication interface, communication parameters of the electric energy meter and model data of the electric energy meter according to the adaptation status of the acquisition terminal, match the communication parameters of the communication interface with the communication parameters of the electric energy meter to be tested, and obtain communication status data of the electric energy meter to be tested;

[0046] According to the communication status and the electric energy meter model data, the test host configures the corresponding test parameters;

[0047] The test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data;

[0048] The electric energy meter error index is obtained by processing the standard source electric energy data and the real-time electric energy meter test data, and compared with the preset electric energy meter standard error to obtain the error relative index;

[0049] The error relative index is compared with a preset error relative threshold, and the performance test result of the electric energy meter is obtained according to the threshold comparison result.

[0050] In the third aspect, the present application also provides a readable storage medium, which stores an electric energy meter and acquisition terminal test method program based on the DL / T698 protocol. When the electric energy meter and acquisition terminal test method program based on the DL / T698 protocol is executed by a processor, the steps of the electric energy meter and acquisition terminal test method based on the DL / T698 protocol as described in any one of the above items are implemented.

[0051] As can be seen from the above, the present application provides a method, system and medium for testing electric energy meters and acquisition terminals based on the DL / T698 protocol. The method obtains the planned test situation data of the electric energy meter and the performance index of the acquisition terminal, and obtains the acquisition performance requirement index in combination with the preset performance correction data processing, compares the acquisition performance requirement index with the acquisition terminal performance index, obtains the acquisition terminal adaptation state, obtains the communication interface communication parameters, the electric energy meter communication parameters and the electric energy meter model data, and processes to obtain the communication state data and test parameters of the electric energy meter to be tested, obtains the error relative index according to the standard source electric energy data, the real-time electric energy meter test data and the electric energy meter standard error processing, and obtains the electric energy meter performance test result after the threshold comparison; thus, the technology of automatic testing of the electric energy meter and the acquisition terminal is realized through the calculation of the acquisition performance requirement index, the electric energy meter error index, the error relative index and the corresponding threshold comparison.

[0052] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 A flowchart of a method for testing an electric energy meter and a collection terminal based on the DL / T698 protocol provided in an embodiment of the present application;

[0055] Figure 2 A flowchart of obtaining a collection performance requirement index for a method for testing an electric energy meter and a collection terminal based on the DL / T698 protocol provided in an embodiment of the present application;

[0056] Figure 3 A flowchart of obtaining the adaptation status of the acquisition terminal in the method for testing the electric energy meter and the acquisition terminal based on the DL / T698 protocol provided in the embodiment of the present application;

[0057] Figure 4 A flowchart of obtaining communication status data of an electric energy meter and a collection terminal testing method based on the DL / T698 protocol provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0059] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0060] Please refer to Figure 1 , Figure 1The flowchart of the method for testing an electric energy meter and a data acquisition terminal based on the DL / T698 protocol in some embodiments of the present application. The method for testing an electric energy meter and a data acquisition terminal based on the DL / T698 protocol is used in terminal devices, such as computers, mobile phones, etc. The method for testing an electric energy meter and a data acquisition terminal based on the DL / T698 protocol includes the following steps:

[0061] S11, obtaining the planned test data and the acquisition terminal performance index of the electric energy meter, and obtaining the acquisition performance requirement index according to the planned test data combined with the preset performance correction data;

[0062] S12, comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status;

[0063] S13, acquiring communication parameters of the communication interface, communication parameters of the electric energy meter and model data of the electric energy meter according to the adaptation state of the acquisition terminal, matching the communication parameters of the communication interface with the communication parameters of the electric energy meter to be tested for consistency, and obtaining communication state data of the electric energy meter to be tested;

[0064] S14. The test host configures corresponding test parameters according to the communication status data and the electric energy meter model data;

[0065] S15, the test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data;

[0066] S16, obtaining an electric energy meter error index according to the standard source electric energy data and the real-time electric energy meter test data, and comparing it with a preset electric energy meter standard error to obtain an error relative index;

[0067] S17, performing a threshold comparison between the error relative index and a preset error relative threshold, and obtaining an electric energy meter performance test result according to the threshold comparison result.

[0068] It should be noted that the DL / T698 protocol is a communication protocol for electric energy information collection and management systems in China's electric power industry standards. It is mainly used for communication data exchange between the main station, collection terminal, and electric energy meter of the power consumption information collection system. In order to ensure that the collection terminal can accurately and efficiently communicate and process the electric energy meter data, it is necessary to obtain the planned test data of the electric energy meter, and then process the planned test data in combination with the preset performance correction data to obtain the collection performance requirement index, and then compare it with the collection terminal performance index to obtain the collection terminal adaptation status; if the adaptation status meets the requirements, the communication interface communication parameters, electric energy meter communication parameters and electric energy meter model data are obtained, and then the communication status data between the electric energy meter to be tested and the collection terminal is obtained after processing. When good communication is established, the corresponding test parameters need to be configured to ensure the accuracy and correspondence of the electric energy meter test data, and then the electric energy meter error index is obtained according to the standard source electric energy data, the real-time electric energy meter test data and the electric energy meter standard error processing, and finally the electric energy meter performance test results are obtained and recorded by threshold comparison.

[0069] Please refer to Figure 2 , Figure 2 The flowchart of the method for testing an electric energy meter and a collection terminal based on the DL / T698 protocol provided in the embodiment of the present application is to obtain the collection performance requirement index. According to the embodiment of the present invention, the acquisition of the planned test situation data of the electric energy meter and the collection terminal performance index, and the acquisition performance requirement index obtained by processing the planned test situation data in combination with the preset performance correction data, specifically includes:

[0070] S21. Obtaining planned test data of electric energy meters, including the number of electric energy meters, the amount of collected data, and the frequency of collection;

[0071] S22, inputting the number of electric energy meters, the amount of collected data, the collection frequency data and the performance correction data into a preset collection performance evaluation model for processing to obtain a collection performance requirement index.

[0072] It should be noted that the acquisition terminal can collect data from multiple electric energy meters. Therefore, before configuring the acquisition terminal, it is necessary to obtain the planned test data of the planned test electric energy meters, including the number of electric energy meters, the amount of collected data and the acquisition frequency data. The number of electric energy meters refers to the number of electric energy meters that the acquisition terminal can communicate and manage at the same time. The amount of collected data refers to the number of data types collected from the electric energy meters. The collected data may include voltage, current, power, electricity, etc.; the acquisition frequency data refers to the frequency at which the acquisition terminal collects electric energy meter data. The higher the acquisition frequency within the preset time, the more data needs to be processed; the preset acquisition performance evaluation model is a model that can calculate the acquisition performance requirement index obtained by training a large amount of historical data; the performance correction data is the data obtained by the preset platform through analysis of a large amount of historical data, which can correct the acquisition performance requirement index. The calculation formula of the acquisition performance requirement index in the acquisition performance evaluation model is:

[0073]

[0074] Among them, C xy is the collection performance requirement index, D s , C s , C p , X x They are the number of electric energy meters, the amount of collected data, the collection frequency data, and the performance correction data. α1, α2, α3, β1, and β2 are preset characteristic coefficients (the characteristic coefficients are obtained by querying the preset electric energy meter and collection terminal test platform based on the DL / T698 protocol).

[0075] Please refer to Figure 3 , Figure 3 The flowchart of the method for testing the electric energy meter and the acquisition terminal based on the DL / T698 protocol provided in the embodiment of the present application is to obtain the adaptation status of the acquisition terminal. According to the embodiment of the present invention, the acquisition performance requirement index is compared with the acquisition terminal performance index to obtain the acquisition terminal adaptation status, which specifically includes:

[0076] S31, comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status, including a status of satisfying the performance requirement or a status of failing to satisfy the performance requirement;

[0077] S32: If the acquisition performance requirement index is less than the acquisition terminal performance index, the acquisition terminal adaptation state is a state of meeting the performance requirement;

[0078] S33: If the acquisition performance requirement index is greater than or equal to the acquisition terminal performance index, the acquisition terminal adaptation state is a state that cannot meet the performance requirement.

[0079] It should be noted that only after comparing the collection performance requirement index with the collection terminal performance index can it be determined whether the usage requirements can be met. If it can meet the usage requirements, it is in the state of meeting the performance requirements, and if it cannot meet the performance requirements, it is in the state of not meeting the performance requirements. If it cannot meet the performance requirements, a reminder can be sent to the user display.

[0080] Please refer to Figure 4 , Figure 4 The present invention provides a flowchart of a method for testing an electric energy meter and a collection terminal based on the DL / T698 protocol to obtain communication status data. According to the embodiment of the present invention, the communication parameters of the communication interface, the communication parameters of the electric energy meter and the model data of the electric energy meter are obtained according to the adaptation state of the collection terminal, and the communication parameters of the communication interface are matched with the communication parameters of the electric energy meter to be tested to obtain the communication status data of the electric energy meter to be tested, which specifically includes:

[0081] S41. If the acquisition terminal adaptation state satisfies the performance requirements, then acquire the communication interface communication parameters, including the interface baud rate, interface data bit, interface stop bit and interface check code;

[0082] S42, obtaining the communication parameters of the electric energy meter, including the electric energy meter baud rate, the electric energy meter data bit, the electric energy meter stop bit and the electric energy meter check code;

[0083] S43, matching the interface baud rate, interface data bit, interface stop bit and interface check code with the baud rate, data bit, stop bit and check code of the electric energy meter, and obtaining baud rate matching data, data bit matching data, stop bit matching data and check code matching data;

[0084] S44, performing an AND operation on the baud rate matching data, the data bit matching data, the stop bit matching data and the check code matching data to obtain communication status data of the electric energy meter to be tested, including parameter consistent data or parameter inconsistent data.

[0085] It should be noted that if the adaptation status of the acquisition terminal is to meet the performance requirements, in order to ensure the correctness of data transmission, communication verification is required to obtain the baud rate, data bit, stop bit and check code. The baud rate refers to the number of code symbols transmitted per unit time, and the unit is baud; the data bit refers to the number of bits representing actual valid data in asynchronous serial communication; the stop bit is a sign used to indicate the end of transmission of a data byte; the check code is a code used to detect or correct errors that may occur during data transmission or storage; in this embodiment, consistency matching refers to verifying whether two corresponding data are consistent. If they are consistent, they are recorded as 1 in computer binary, and if they are inconsistent, they are recorded as 0 in computer binary. If the interface baud rate is consistent with the baud rate of the electric energy meter, the baud rate matching data is 1, and if the interface baud rate is inconsistent with the baud rate of the electric energy meter, the baud rate matching data is 0.

[0086] According to an embodiment of the present invention, the test host configures corresponding test parameters according to the communication status data combined with the electric energy meter model data, specifically including:

[0087] If the communication status data is parameter inconsistent data, output an inconsistent content reminder and automatically adjust the parameters to be consistent;

[0088] If the communication status data is parameter consistent data, the test host configures corresponding test parameters according to the electric energy meter model data, including the address data of the electric energy meter to be tested, the data reading start address data and the data length.

[0089] It should be noted that if the communication status data is parameter-inconsistent data, communication cannot be established between the electric energy meter and the collection terminal, and the parameters need to be adjusted to be consistent through the preset test software. After the communication is established, in order to ensure that the collection terminal accurately sends instructions, and to ensure the correspondence and accuracy of the collected data, it is necessary to configure the corresponding test parameters according to the electric energy meter model, including the address data of the electric energy meter to be tested, the data reading starting address data and the data length; after the electric energy meter model is determined, the address data and the corresponding attributes and parameters of the electric energy meter are determined.

[0090] According to an embodiment of the present invention, the test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data, specifically including:

[0091] The test host obtains standard source electric energy data, including standard current data and standard voltage data;

[0092] Obtain a preset amount of real-time test data of the electric energy meter to be tested, and extract the real-time electric energy meter test data, including real-time current data and real-time voltage data.

[0093] It should be noted that standard source electric energy data refers to standard high-precision electric energy data, including standard current data and standard voltage data. Real-time test data is the data measured by the electric energy meter and transmitted to the acquisition terminal. Because the data between devices is sent in data frames, real-time electric energy meter test data can be extracted according to preset rules, including real-time current data and real-time voltage data.

[0094] According to an embodiment of the present invention, the process of obtaining an electric energy meter error index based on the standard source electric energy data and the real-time electric energy meter test data, and comparing the error relative index with a preset electric energy meter standard error, specifically includes:

[0095] According to the real-time current data and the real-time voltage data, effective real-time current data and effective real-time voltage data are obtained by respectively taking average values;

[0096] Inputting the standard current data, standard voltage data, real-time current data and real-time voltage data into a preset electric energy meter error evaluation model for processing to obtain an electric energy meter error index;

[0097] The error index of the electric energy meter is divided by a preset standard error of the electric energy meter to obtain a relative error index.

[0098] It should be noted that the energy meter error evaluation model is obtained through training with a large amount of historical data. The calculation formula of the energy meter error index in the energy meter error evaluation model is:

[0099]

[0100] Among them, D w is the error index of the electric energy meter, B dl , B dy , S dl , S dy They are standard current data, standard voltage data, real-time current data, and real-time voltage data respectively; χ1, χ2, and χ3 are preset characteristic coefficients (the characteristic coefficients are obtained by querying the preset electric energy meter and acquisition terminal test platform based on the DL / T698 protocol).

[0101] According to an embodiment of the present invention, performing a threshold comparison between the error relative index and a preset error relative threshold, and obtaining an electric energy meter performance test result according to the threshold comparison result, specifically includes:

[0102] Comparing the relative error index with a preset relative error threshold to obtain a performance test result of the electric energy meter, including qualified, adjusted qualified or unqualified;

[0103] Extracting a first threshold and a second threshold according to a preset error relative threshold, wherein the first threshold is greater than the second threshold;

[0104] comparing the error relative index with the first threshold and the second threshold;

[0105] If the relative error index is greater than the first threshold, the performance test result of the electric energy meter is unqualified, and a test record is recorded;

[0106] If the relative error index is greater than the second threshold value and less than or equal to the first threshold value, the performance test result of the electric energy meter is qualified, and the test host automatically analyzes and adjusts the electric energy meter to pass the test through a preset electric energy meter analysis and adjustment algorithm, and records the test record and the adjustment record;

[0107] If the error relative index is less than or equal to the second threshold, the performance test result of the electric energy meter is qualified.

[0108] It should be noted that by comparing the error relative index with the preset error relative threshold, the performance test result of the electric energy meter can be obtained, and a qualified adjustment can be qualified after analysis and processing by the electric energy meter analysis and adjustment algorithm preset in the test host.

[0109] It is worth mentioning that it also includes:

[0110] The test host sends a preset number of instructions for reading the electric energy meter data within a preset time;

[0111] Record the time when the command is issued and the time when the electric energy meter receives feedback on the command respectively;

[0112] Subtract the sending time from the feedback receiving time to obtain the response interval time;

[0113] Obtaining an average response interval and a maximum response interval according to the response interval processing;

[0114] Comparing the average response interval time with a preset communication average response threshold to obtain first communication performance status data, including average qualified data or average unqualified data;

[0115] Comparing the maximum response interval time with a preset communication maximum response threshold to obtain second communication performance status data, including maximum response interval qualified data or maximum response interval unqualified data;

[0116] The communication performance first status data and the communication performance second status data are ANDed to obtain communication performance status data, including communication qualified or communication unqualified.

[0117] It should be noted that in this embodiment, during the communication process, in order to ensure the timeliness and efficiency of data transmission, it is necessary to test the communication response time, that is, the time interval from the time the instruction is issued to the time the corresponding response is made according to the instruction and the feedback transmission is completed. The maximum response threshold of communication is the maximum response interval time allowed during the communication process; the mean qualified data is recorded as 1 in binary, the mean unqualified data is recorded as 0 in binary, the maximum response interval qualified data is recorded as 1 in binary, and the maximum response interval unqualified data is recorded as 0 in binary.

[0118] The present invention also discloses an electric energy meter and acquisition terminal test system based on the DL / T698 protocol, comprising a memory and a processor, wherein the electric energy meter and acquisition terminal test method program based on the DL / T698 protocol is stored in the memory, and the electric energy meter and acquisition terminal test method program based on the DL / T698 protocol is executed by the processor to implement the following steps:

[0119] Obtain the planned test data and the acquisition terminal performance index of the electric energy meter, and obtain the acquisition performance requirement index according to the planned test data combined with the preset performance correction data;

[0120] Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status;

[0121] Acquire communication parameters of the communication interface, communication parameters of the electric energy meter and model data of the electric energy meter according to the adaptation status of the acquisition terminal, match the communication parameters of the communication interface with the communication parameters of the electric energy meter to be tested, and obtain communication status data of the electric energy meter to be tested;

[0122] According to the communication status data and the electric energy meter model data, the test host configures the corresponding test parameters;

[0123] The test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data;

[0124] The electric energy meter error index is obtained by processing the standard source electric energy data and the real-time electric energy meter test data, and compared with the preset electric energy meter standard error to obtain the error relative index;

[0125] The error relative index is compared with a preset error relative threshold, and the performance test result of the electric energy meter is obtained according to the threshold comparison result.

[0126] It should be noted that the DL / T698 protocol is a communication protocol for electric energy information collection and management systems in China's electric power industry standards. It is mainly used for communication data exchange between the main station, collection terminal, and electric energy meter of the power consumption information collection system. In order to ensure that the collection terminal can accurately and efficiently communicate and process the electric energy meter data, it is necessary to obtain the planned test data of the electric energy meter, and then process the planned test data in combination with the preset performance correction data to obtain the collection performance requirement index, and then compare it with the collection terminal performance index to obtain the collection terminal adaptation status; if the adaptation status meets the requirements, the communication interface communication parameters, electric energy meter communication parameters and electric energy meter model data are obtained, and then the communication status data between the electric energy meter to be tested and the collection terminal is obtained after processing. When good communication is established, the corresponding test parameters need to be configured to ensure the accuracy and correspondence of the electric energy meter test data, and then the electric energy meter error index is obtained according to the standard source electric energy data, the real-time electric energy meter test data and the electric energy meter standard error processing, and finally the electric energy meter performance test results are obtained and recorded by threshold comparison.

[0127] According to an embodiment of the present invention, the acquisition of the planned test situation data and the acquisition terminal performance index of the electric energy meter, and obtaining the acquisition performance requirement index according to the planned test situation data combined with the preset performance correction data, specifically includes:

[0128] Obtain the planned test data of the electric energy meters, including the number of electric energy meters, the amount of collected data, and the collection frequency data;

[0129] The number of electric energy meters, the amount of collected data, the collection frequency data and the performance correction data are input into a preset collection performance evaluation model for processing to obtain a collection performance requirement index.

[0130] It should be noted that the acquisition terminal can collect data from multiple electric energy meters. Therefore, before configuring the acquisition terminal, it is necessary to obtain the planned test data of the planned test electric energy meters, including the number of electric energy meters, the amount of collected data and the acquisition frequency data. The number of electric energy meters refers to the number of electric energy meters that the acquisition terminal can communicate and manage at the same time. The amount of collected data refers to the number of data types collected from the electric energy meters. The collected data may include voltage, current, power, electricity, etc.; the acquisition frequency data refers to the frequency at which the acquisition terminal collects electric energy meter data. The higher the acquisition frequency within the preset time, the more data needs to be processed; the preset acquisition performance evaluation model is a model that can calculate the acquisition performance requirement index obtained by training a large amount of historical data; the performance correction data is the data obtained by the preset platform through analysis of a large amount of historical data, which can correct the acquisition performance requirement index. The calculation formula of the acquisition performance requirement index in the acquisition performance evaluation model is:

[0131]

[0132] Among them, Cxy is the collection performance requirement index, D s , C s , C p , X x They are the number of electric energy meters, the amount of collected data, the collection frequency data, and the performance correction data. α1, α2, α3, β1, and β2 are preset characteristic coefficients (the characteristic coefficients are obtained by querying the preset electric energy meter and collection terminal test platform based on the DL / T698 protocol).

[0133] According to an embodiment of the present invention, comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation state specifically includes:

[0134] Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status, including a status of satisfying the performance requirement or a status of failing to satisfy the performance requirement;

[0135] If the acquisition performance requirement index is less than the acquisition terminal performance index, the acquisition terminal adaptation state is a state of meeting the performance requirement;

[0136] If the acquisition performance requirement index is greater than or equal to the acquisition terminal performance index, the acquisition terminal adaptation state is a state that cannot meet the performance requirement.

[0137] It should be noted that only after comparing the collection performance requirement index with the collection terminal performance index can it be determined whether the usage requirements can be met. If it can meet the usage requirements, it is in the state of meeting the performance requirements, and if it cannot meet the performance requirements, it is in the state of not meeting the performance requirements. If it cannot meet the performance requirements, a reminder can be sent to the user display.

[0138] According to an embodiment of the present invention, the acquiring of communication interface communication parameters, electric energy meter communication parameters and electric energy meter model data according to the adaptation state of the acquisition terminal, matching the communication interface communication parameters with the communication parameters of the electric energy meter to be tested for consistency, and obtaining the communication state data of the electric energy meter to be tested specifically includes:

[0139] If the acquisition terminal adaptation state is a state that meets the performance requirements, then obtain the communication interface communication parameters, including the interface baud rate, interface data bits, interface stop bits and interface check code;

[0140] Obtain the communication parameters of the energy meter, including the energy meter baud rate, energy meter data bit, energy meter stop bit and energy meter check code;

[0141] Match the interface baud rate, interface data bit, interface stop bit and interface check code with the baud rate, data bit, stop bit and check code of the electric energy meter respectively, and obtain baud rate matching data, data bit matching data, stop bit matching data and check code matching data;

[0142] The baud rate matching data, the data bit matching data, the stop bit matching data and the check code matching data are ANDed to obtain the communication status data of the electric energy meter to be tested, including parameter consistent data or parameter inconsistent data.

[0143] It should be noted that if the adaptation status of the acquisition terminal is to meet the performance requirements, in order to ensure the correctness of data transmission, communication verification is required to obtain the baud rate, data bit, stop bit and check code. The baud rate refers to the number of code symbols transmitted per unit time, and the unit is baud; the data bit refers to the number of bits representing actual valid data in asynchronous serial communication; the stop bit is a sign used to indicate the end of transmission of a data byte; the check code is a code used to detect or correct errors that may occur during data transmission or storage; in this embodiment, consistency matching refers to verifying whether two corresponding data are consistent. If they are consistent, they are recorded as 1 in computer binary, and if they are inconsistent, they are recorded as 0 in computer binary. If the interface baud rate is consistent with the baud rate of the electric energy meter, the baud rate matching data is 1, and if the interface baud rate is inconsistent with the baud rate of the electric energy meter, the baud rate matching data is 0.

[0144] According to an embodiment of the present invention, the test host configures corresponding test parameters according to the communication status data combined with the electric energy meter model data, specifically including:

[0145] If the communication status data is parameter inconsistent data, output an inconsistent content reminder and automatically adjust the parameters to be consistent;

[0146] If the communication status data is parameter consistent data, the test host configures corresponding test parameters according to the electric energy meter model data, including the address data of the electric energy meter to be tested, the data reading start address data and the data length.

[0147] It should be noted that if the communication status data is parameter-inconsistent data, communication cannot be established between the electric energy meter and the collection terminal, and the parameters need to be adjusted to be consistent through the preset test software. After the communication is established, in order to ensure that the collection terminal accurately sends instructions, and to ensure the correspondence and accuracy of the collected data, it is necessary to configure the corresponding test parameters according to the electric energy meter model, including the address data of the electric energy meter to be tested, the data reading starting address data and the data length; after the electric energy meter model is determined, the address data and the corresponding attributes and parameters of the electric energy meter are determined.

[0148] According to an embodiment of the present invention, the test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data, specifically including:

[0149] The test host obtains standard source electric energy data, including standard current data and standard voltage data;

[0150] Obtain a preset amount of real-time test data of the electric energy meter to be tested, and extract the real-time electric energy meter test data, including real-time current data and real-time voltage data.

[0151] It should be noted that standard source electric energy data refers to standard high-precision electric energy data, including standard current data and standard voltage data. Real-time test data is the data measured by the electric energy meter and transmitted to the acquisition terminal. Because the data between devices is sent in data frames, real-time electric energy meter test data can be extracted according to preset rules, including real-time current data and real-time voltage data.

[0152] According to an embodiment of the present invention, the process of obtaining an electric energy meter error index based on the standard source electric energy data and the real-time electric energy meter test data, and comparing the error relative index with a preset electric energy meter standard error, specifically includes:

[0153] According to the real-time current data and the real-time voltage data, effective real-time current data and effective real-time voltage data are obtained by respectively taking average values;

[0154] Inputting the standard current data, standard voltage data, real-time current data and real-time voltage data into a preset electric energy meter error evaluation model for processing to obtain an electric energy meter error index;

[0155] The error index of the electric energy meter is divided by a preset standard error of the electric energy meter to obtain a relative error index.

[0156] It should be noted that the energy meter error evaluation model is obtained through training with a large amount of historical data. The calculation formula of the energy meter error index in the energy meter error evaluation model is:

[0157]

[0158] Among them, D w is the error index of the electric energy meter, B dl , B dy , S dl , S dy They are standard current data, standard voltage data, real-time current data, and real-time voltage data respectively; χ1, χ2, and χ3 are preset characteristic coefficients (the characteristic coefficients are obtained by querying the preset electric energy meter and acquisition terminal test platform based on the DL / T698 protocol).

[0159] According to an embodiment of the present invention, performing a threshold comparison between the error relative index and a preset error relative threshold, and obtaining an electric energy meter performance test result according to the threshold comparison result, specifically includes:

[0160] Comparing the relative error index with a preset relative error threshold to obtain a performance test result of the electric energy meter, including qualified, adjusted qualified or unqualified;

[0161] Extracting a first threshold and a second threshold according to a preset error relative threshold, wherein the first threshold is greater than the second threshold;

[0162] comparing the error relative index with the first threshold and the second threshold;

[0163] If the relative error index is greater than the first threshold, the performance test result of the electric energy meter is unqualified, and a test record is recorded;

[0164] If the relative error index is greater than the second threshold value and less than or equal to the first threshold value, the performance test result of the electric energy meter is qualified, and the test host automatically analyzes and adjusts the electric energy meter to pass the test through a preset electric energy meter analysis and adjustment algorithm, and records the test record and the adjustment record;

[0165] If the error relative index is less than or equal to the second threshold, the performance test result of the electric energy meter is qualified.

[0166] It should be noted that by comparing the error relative index with the preset error relative threshold, the performance test result of the electric energy meter can be obtained, and a qualified adjustment can be qualified after analysis and processing by the electric energy meter analysis and adjustment algorithm preset in the test host.

[0167] It is worth mentioning that it also includes:

[0168] The test host sends a preset number of instructions for reading the electric energy meter data within a preset time;

[0169] Record the time when the command is issued and the time when the electric energy meter receives feedback on the command respectively;

[0170] Subtract the sending time from the feedback receiving time to obtain the response interval time;

[0171] Obtaining an average response interval and a maximum response interval according to the response interval processing;

[0172] Comparing the average response interval time with a preset communication average response threshold to obtain first communication performance status data, including average qualified data or average unqualified data;

[0173] Comparing the maximum response interval time with a preset communication maximum response threshold to obtain second communication performance status data, including maximum response interval qualified data or maximum response interval unqualified data;

[0174] The communication performance first status data and the communication performance second status data are ANDed to obtain communication performance status data, including communication qualified or communication unqualified.

[0175] It should be noted that in this embodiment, during the communication process, in order to ensure the timeliness and efficiency of data transmission, it is necessary to test the communication response time, that is, the time interval from the time the instruction is issued to the time the corresponding response is made according to the instruction and the feedback transmission is completed. The maximum response threshold of communication is the maximum response interval time allowed during the communication process; the mean qualified data is recorded as 1 in binary, the mean unqualified data is recorded as 0 in binary, the maximum response interval qualified data is recorded as 1 in binary, and the maximum response interval unqualified data is recorded as 0 in binary.

[0176] The third aspect of the present invention provides a readable storage medium, which includes an electric energy meter and acquisition terminal test method program based on the DL / T698 protocol. When the electric energy meter and acquisition terminal test method program based on the DL / T698 protocol is executed by a processor, the steps of the electric energy meter and acquisition terminal test method based on the DL / T698 protocol as described in any one of the above items are implemented.

[0177] The present invention discloses a method, system and medium for testing an electric energy meter and a data acquisition terminal based on the DL / T698 protocol. The method obtains the planned test situation data of the electric energy meter and the performance index of the data acquisition terminal, obtains the data acquisition performance requirement index in combination with the preset performance correction data, compares the data acquisition performance requirement index with the data acquisition terminal performance index, obtains the adaptation status of the data acquisition terminal, obtains the communication parameters of the communication interface, the communication parameters of the electric energy meter and the model data of the electric energy meter, and processes them to obtain the communication status data and test parameters of the electric energy meter to be tested, obtains the error relative index according to the standard source electric energy data, the real-time electric energy meter test data and the standard error of the electric energy meter, and obtains the electric energy meter performance test result after threshold comparison. Thus, the technology of automatic testing of the electric energy meter and the data acquisition terminal is realized by calculating the data acquisition performance requirement index, the electric energy meter error index and the error relative index and comparing the corresponding thresholds.

[0178] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0179] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0180] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0181] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0182] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. The electric energy meter and acquisition terminal testing method based on DL / T698 protocol is characterized in that: include: Obtain the planned test data and the acquisition terminal performance index of the electric energy meter, and obtain the acquisition performance requirement index according to the planned test data combined with the preset performance correction data; Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status; Acquire communication parameters of the communication interface, communication parameters of the electric energy meter and model data of the electric energy meter according to the adaptation status of the acquisition terminal, match the communication parameters of the communication interface with the communication parameters of the electric energy meter to be tested, and obtain communication status data of the electric energy meter to be tested; According to the communication status data and the electric energy meter model data, the test host configures the corresponding test parameters; The test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data; The electric energy meter error index is obtained by processing the standard source electric energy data and the real-time electric energy meter test data, and compared with the preset electric energy meter standard error to obtain the error relative index; The error relative index is compared with a preset error relative threshold, and the performance test result of the electric energy meter is obtained according to the threshold comparison result.

2. The method for testing electric energy meters and data acquisition terminals based on the DL / T698 protocol according to claim 1 is characterized in that: The step of obtaining the planned test situation data of the electric energy meter and the performance index of the acquisition terminal, and obtaining the acquisition performance requirement index according to the planned test situation data combined with the preset performance correction data, specifically includes: Obtain the planned test data of the electric energy meters, including the number of electric energy meters, the amount of collected data, and the collection frequency data; The number of electric energy meters, the amount of collected data, the collection frequency data and the performance correction data are input into a preset collection performance evaluation model for processing to obtain a collection performance requirement index.

3. The method for testing electric energy meters and data acquisition terminals based on the DL / T698 protocol according to claim 2 is characterized in that: The comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation state specifically includes: Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status, including a status of satisfying the performance requirement or a status of failing to satisfy the performance requirement; If the acquisition performance requirement index is less than the acquisition terminal performance index, the acquisition terminal adaptation state is a state of meeting the performance requirement; If the acquisition performance requirement index is greater than or equal to the acquisition terminal performance index, the acquisition terminal adaptation state is a state that cannot meet the performance requirement.

4. The method for testing electric energy meters and data acquisition terminals based on the DL / T698 protocol according to claim 3 is characterized in that: The acquiring of the communication interface communication parameters, the electric energy meter communication parameters and the electric energy meter model data according to the acquisition terminal adaptation state, matching the communication interface communication parameters with the communication parameters of the electric energy meter to be tested for consistency, and obtaining the communication state data of the electric energy meter to be tested specifically includes: If the acquisition terminal adaptation state is a state that meets the performance requirements, then obtain the communication interface communication parameters, including the interface baud rate, interface data bits, interface stop bits and interface check code; Obtain the communication parameters of the energy meter, including the energy meter baud rate, energy meter data bit, energy meter stop bit and energy meter check code; Match the interface baud rate, interface data bit, interface stop bit and interface check code with the baud rate, data bit, stop bit and check code of the electric energy meter respectively, and obtain baud rate matching data, data bit matching data, stop bit matching data and check code matching data; The baud rate matching data, the data bit matching data, the stop bit matching data and the check code matching data are ANDed to obtain the communication status data of the electric energy meter to be tested, including parameter consistent data or parameter inconsistent data.

5. The method for testing electric energy meters and data acquisition terminals based on DL / T698 protocol according to claim 4 is characterized in that: The test host configures corresponding test parameters according to the communication status data combined with the electric energy meter model data, specifically including: If the communication status data is parameter inconsistent data, output an inconsistent content reminder and automatically adjust the parameters to be consistent; If the communication status data is parameter consistent data, the test host configures corresponding test parameters according to the electric energy meter model data, including the address data of the electric energy meter to be tested, the data reading start address data and the data length.

6. The method for testing electric energy meters and data acquisition terminals based on DL / T698 protocol according to claim 5 is characterized in that: The test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data, specifically including: The test host obtains standard source electric energy data, including standard current data and standard voltage data; Obtain a preset amount of real-time test data of the electric energy meter to be tested, and extract the real-time electric energy meter test data, including real-time current data and real-time voltage data.

7. The method for testing electric energy meters and data acquisition terminals based on DL / T698 protocol according to claim 6 is characterized in that: The step of obtaining the electric energy meter error index according to the standard source electric energy data and the real-time electric energy meter test data, and comparing the error index with the preset electric energy meter standard error to obtain the error relative index specifically includes: According to the real-time current data and the real-time voltage data, effective real-time current data and effective real-time voltage data are obtained by respectively taking average values; Inputting the standard current data, standard voltage data, real-time current data and real-time voltage data into a preset electric energy meter error evaluation model for processing to obtain an electric energy meter error index; The error index of the electric energy meter is divided by a preset standard error of the electric energy meter to obtain a relative error index.

8. The method for testing electric energy meters and data acquisition terminals based on DL / T698 protocol according to claim 7 is characterized in that: The step of comparing the relative error index with a preset relative error threshold and obtaining the electric energy meter performance test result according to the threshold comparison result specifically includes: Comparing the relative error index with a preset relative error threshold to obtain a performance test result of the electric energy meter, including qualified, adjusted qualified or unqualified; Extracting a first threshold and a second threshold according to a preset error relative threshold, wherein the first threshold is greater than the second threshold; comparing the error relative index with the first threshold and the second threshold; If the relative error index is greater than the first threshold, the performance test result of the electric energy meter is unqualified, and a test record is recorded; If the relative error index is greater than the second threshold value and less than or equal to the first threshold value, the performance test result of the electric energy meter is qualified, and the test host automatically analyzes and adjusts the electric energy meter to pass the test through a preset electric energy meter analysis and adjustment algorithm, and records the test record and the adjustment record; If the error relative index is less than or equal to the second threshold, the performance test result of the electric energy meter is qualified.

9. The electric energy meter and acquisition terminal test system based on DL / T698 protocol is characterized by: The invention comprises a memory and a processor, wherein the memory comprises an electric energy meter and a collection terminal test method program based on the DL / T698 protocol, and the electric energy meter and the collection terminal test method program based on the DL / T698 protocol are executed by the processor to implement the following steps: Obtain the planned test data and the acquisition terminal performance index of the electric energy meter, and obtain the acquisition performance requirement index according to the planned test data combined with the preset performance correction data; Comparing the acquisition performance requirement index with the acquisition terminal performance index to obtain the acquisition terminal adaptation status; Acquire communication parameters of the communication interface, communication parameters of the electric energy meter and model data of the electric energy meter according to the adaptation status of the acquisition terminal, match the communication parameters of the communication interface with the communication parameters of the electric energy meter to be tested, and obtain communication status data of the electric energy meter to be tested; According to the communication status and the electric energy meter model data, the test host configures the corresponding test parameters; The test host obtains standard source electric energy data and a preset number of real-time test data of the electric energy meter to be tested, and extracts real-time electric energy meter test data according to the real-time test data; The electric energy meter error index is obtained by processing the standard source electric energy data and the electric energy meter test data, and compared with the preset electric energy meter standard error to obtain the error relative index; The error relative index is compared with a preset error relative threshold, and the performance test result of the electric energy meter is obtained according to the threshold comparison result.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes an electric energy meter and acquisition terminal test method program based on the DL / T698 protocol. When the electric energy meter and acquisition terminal test method program based on the DL / T698 protocol is executed by the processor, the steps of the electric energy meter and acquisition terminal test method based on the DL / T698 protocol as described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Terminal test system and method based on DL / T698 protocol

    CN121619266A