A method and system for intelligent testing of performance of an electric energy metering box
Patent Information
- Application Number
- CN202611528962.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-30
- Publication Date
- 2026-11-03
Smart Images

Figure CN123029457A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart grid technology, and in particular to a smart testing method and system for the performance of an energy metering box. Background Technology
[0002] In the field of smart grid technology, data collection, transmission, storage, retrieval, display, and scheduling processing of voltage, current, power, energy consumption, switch status, and environmental status are carried out around power distribution lines, metering terminals, electricity meters, metering boxes, and electrical loads. Field devices typically interact with concentrators, test hosts, or servers via RS485, carrier waves, Ethernet, or wireless links. Traditional smart testing methods and systems for electricity metering boxes refer to the technical process of performance testing of objects such as electricity meters, terminals, circuit breakers, transformers, box insulation, and communication interfaces within the metering box. This typically involves a standard power supply, load device, insulation tester, temperature and humidity sensor, camera device, and test computer applying voltage and current according to test items, reading meter readings, collecting terminal temperature, switch status, wiring images, and communication messages, and generating test records based on thresholds, timing sequences, and status matching relationships in the test procedures.
[0003] Traditional testing relies on standard power load device insulation testers, sensors, cameras, and test computers to collect data item by item. Voltage and current meter readings, terminal temperature switch status images, and messages are recorded in a scattered manner according to items. The timing and status matching of tests mainly rely on manual organization of procedure thresholds. It is difficult to unify and associate the objects of abnormal time at the segment boundaries. There is a lack of continuous evidence chain between the back-and-forth communication of load switching circuit breaker actions, resulting in delayed deviation location and insufficient consistency of scattered test records for verification. Summary of the Invention
[0004] The purpose of this invention is to provide a smart testing method and system for the performance of electricity metering boxes. By converting test item configuration into test segments with unified time boundaries, and organizing target control parameters, field response data, calculation results, judgment criteria and abnormal evidence within the same segment, test data such as voltage, current, load, circuit breaker, insulation, temperature and communication can be collected, compared and verified according to a consistent time sequence, thereby providing a unified and traceable technical processing basis for the generation of performance test records for electricity metering boxes. To achieve the above objectives, the present invention provides a smart testing method for the performance of an energy metering box, comprising the following steps: The system acquires the test item configuration of the electricity metering box, and generates test segments, segment start and end times, target voltage, target current, target load level, circuit breaker target status, and communication query interval based on the test segment configuration. Based on the test segment, it collects actual output voltage, actual output current, actual absorbed current, electricity meter voltage reading, electricity meter current reading, terminal temperature, circuit breaker status control time, contact status change time, insulation resistance, communication query time, and communication arrival time, and assigns these data to the segment start and end times according to the acquisition time to form segment response data. Based on the segment response data, it calculates voltage metering deviation, electricity consumption, and other parameters. The test includes measuring flow rate deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, and communication response interval, and determining the minimum insulation resistance value. Segment calculation results are then compiled and segment judgment criteria are determined based on the test item configuration. The segment calculation results are compared with the segment judgment criteria. When an abnormal calculation value occurs, the acquisition time corresponding to the first data point meeting the abnormal condition is determined as the abnormal occurrence time, and a performance deviation evidence sequence is generated based on this time. Based on the performance deviation evidence sequence, the abnormal object and abnormal type are determined. A review acquisition is triggered based on the abnormal object, and performance test records are output.
[0005] Furthermore, when the test project configuration generates the test segment and segment start and end times, target voltage, target current, target load level, circuit breaker target status, and communication query interval, it acquires the project identifier, voltage level sequence, current level sequence, load switching order, circuit breaker status sequence, communication polling cycle, and duration from the test project configuration, and reads the execution order according to the project identifier to generate a project execution sequence; it divides continuous execution intervals according to the voltage level change nodes, current level change nodes, load level change nodes, and circuit breaker status change nodes in the project execution sequence, determines the time boundary according to the duration, and generates the test segment and the segment start and end times; it maps the voltage level, current level, load level, circuit breaker status, and communication polling cycle corresponding to the continuous execution interval to the corresponding test segment, and generates the target voltage, target current, target load level, circuit breaker target status, and communication query interval.
[0006] Furthermore, when dividing the continuous execution interval, adjacent control items are read according to the project execution sequence. When at least one of the voltage level, current level, load level, circuit breaker status, or communication polling cycle changes, the corresponding change time is determined as a segment boundary candidate time. Each segment boundary candidate time is arranged in chronological order to generate a segment candidate time sequence. The time interval between adjacent segment boundary candidate times in the segment candidate time sequence is calculated to generate a candidate boundary interval. When the candidate boundary interval is less than the configured switching stability duration, the segment boundary candidate time with a later time sequence is merged into the switching boundary corresponding to the segment boundary candidate time with a earlier time sequence. The project execution sequence is then divided using the merged switching boundary to generate the continuous execution interval. The start time, end time, and duration of the continuous execution interval are checked. When the time interval between the start time and end time of the continuous execution interval is inconsistent with the duration, the subsequent time boundaries are extended according to the execution order, and the segment start and end times are updated.
[0007] Furthermore, when generating the segment response data, a reference time output from a unified timing source is obtained, and timing synchronization is performed on the voltage acquisition channel, current acquisition channel, temperature acquisition channel, circuit breaker control time acquisition channel, contact status acquisition channel, insulation resistance acquisition channel, and communication acquisition channel based on the reference time. The channel identifier and acquisition timestamp corresponding to the acquisition channel are recorded to generate an acquisition timing record. Each acquisition channel is started according to the start and end time of the test segment, and the corresponding test response data is acquired and the corresponding acquisition timestamp is recorded to generate a test response record. The acquisition timestamp in the test response record is compared with the start and end time of the segment. Test response records whose acquisition timestamps fall within the same segment time range are associated with the corresponding test segment and arranged according to the time order of the acquisition timestamps to generate the segment response data.
[0008] Additionally, when the test response record is associated with the corresponding test segment, the segment switching time between the start and end times of adjacent segments is obtained, and the configuration switching stability duration is obtained from the test item configuration. A switching transition interval with the segment switching time as the starting point and a duration equal to the configuration switching stability duration is determined. A segment affiliation boundary is generated based on the start and end times of the switching transition interval. When the acquisition timestamp is outside the switching transition interval, the association between the test response record and the corresponding test segment is established according to the segment time range to which the acquisition timestamp belongs. When the acquisition timestamp is within the switching transition interval, the corresponding test response record is marked as a transition response record. Based on the test segment affiliation relationship corresponding to the target voltage, target current, target load level, circuit breaker target state, and communication query interval after the switch, the transition response record is assigned to the corresponding test segment with a later time sequence, and the segment response data is updated.
[0009] Further, when generating the segment calculation results, the actual output voltage, actual output current, actual absorbed current, energy meter voltage reading, and energy meter current reading within the same test segment are obtained. A data correspondence relationship for the same time position is established according to the acquisition time. The deviation ratio of the energy meter voltage reading relative to the corresponding actual output voltage and the deviation ratio of the energy meter current reading relative to the corresponding actual output current are calculated respectively. Based on the test item configuration, the allowable absorbed current range corresponding to the target load level is determined, and the deviation degree of the actual absorbed current relative to the allowable absorbed current range is calculated, generating an electrical parameter deviation record. The terminal temperature and circuit breaker status within the same test segment are also obtained. The control time, contact state change time, insulation resistance, communication query time, and communication arrival time are used. The terminal temperature corresponding to the start time of the segment's start and end times is used as the temperature rise reference. The circuit breaker state control time is used as the action timing start point, and the communication query time is used as the communication timing start point. The minimum value of the insulation resistance within the same test segment is determined, generating temperature rise response records, action response records, insulation response records, and communication response records. These records are associated according to the test segment identifier to determine the voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker action interval, minimum insulation resistance value, and communication response interval, generating the segment calculation result.
[0010] Further, when generating the performance deviation evidence sequence, the calculation results of the test segment and the segment judgment benchmark are obtained. According to the judgment directions corresponding to the voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, minimum insulation resistance, and communication response interval, the calculated values are compared with the corresponding limit range or lower limit in the segment judgment benchmark to generate a deviation comparison record. When any calculated value exceeds the corresponding limit range or the minimum insulation resistance is lower than the corresponding lower limit, the collection time range that generated the corresponding abnormal calculated value is obtained, and the collection time corresponding to the first data within the collection time range that meets the abnormal condition is determined as the abnormal occurrence time. The test segment identifier, abnormal indicator name, actual calculated value, corresponding segment judgment benchmark, and abnormal occurrence time are associated to generate performance deviation evidence. The performance deviation evidence is arranged in ascending order according to the abnormal occurrence time, and the performance deviation evidence with the same abnormal occurrence time is arranged in chronological order of the start time in the corresponding segment start and end times to generate the performance deviation evidence sequence.
[0011] Further, when determining the abnormal object and the abnormal type and outputting the performance test record, the test segment identifier, abnormal indicator name, abnormal occurrence time, actual calculated value, and corresponding segment judgment benchmark in the performance deviation evidence sequence are obtained. Based on the preset correspondence between the abnormal indicator name and the tested component identifier, the performance deviation evidence with adjacent abnormal occurrence times and corresponding to the same tested component identifier is associated to generate an object evidence group. The occurrence order, duration, and deviation direction of the actual calculated value relative to the corresponding segment judgment benchmark of the differentiated abnormal indicator names within the object evidence group are compared to determine the abnormal object and the abnormal type, and an abnormal judgment result is generated. Based on the abnormal judgment result, the data collection category corresponding to the abnormal object is selected for review collection, and a review collection result is generated. The review collection result is associated with the corresponding performance deviation evidence, and the test segment identifier, the abnormal object, the abnormal type, the abnormal occurrence time, the actual calculated value, and the review collection result are recorded, and the performance test record is output.
[0012] Further, when generating the anomaly determination result, the names of the abnormal indicators and the time of occurrence of the anomalies corresponding to each performance deviation evidence in the object evidence group are obtained. The correspondence between the abnormal indicator combination, the necessary abnormal indicator set, the order of abnormal indicators, and the candidate anomaly type is read according to a preset anomaly type mapping table to generate a candidate type record. The abnormal indicator combination corresponding to the candidate type record is compared with the actual abnormal indicator combination in the object evidence group. If all the abnormal indicators in the necessary abnormal indicator set appear and the corresponding anomaly occurrence time satisfies the order of abnormal indicators, the corresponding candidate anomaly type is determined as the anomaly type, and the tested component corresponding to the associated tested component identifier is determined as the anomaly object. If multiple candidate anomaly types satisfy the conditions, they are matched according to the number of abnormal indicators in the corresponding necessary abnormal indicator set from most to least, generating the anomaly determination result.
[0013] This invention also provides a smart performance testing system for electricity metering boxes. The system is used to execute the aforementioned smart performance testing method for electricity metering boxes, and includes a test configuration module, a segment acquisition module, a deviation calculation module, an evidence generation module, and a conclusion output module. The test configuration module acquires the test item configuration of the electricity metering box and generates test segments, segment start and end times, target voltage, target current, target load level, circuit breaker target status, and communication query interval based on the test segment configuration. The segment acquisition module, based on the test segment, acquires actual output voltage, actual output current, actual absorbed current, electricity meter voltage reading, electricity meter current reading, terminal temperature, circuit breaker status control time, contact status change time, insulation resistance, communication query time, and communication arrival time, and assigns these data to the segment start and end times according to the acquisition time, forming segment response data. The deviation calculation module calculates the voltage metering deviation based on the segment response data. The test module calculates the following parameters: current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, and communication response interval. It also determines the minimum insulation resistance value, summarizes the results to generate segment calculations, and establishes segment judgment criteria based on the test item configuration. The evidence generation module compares the segment calculation results with the segment judgment criteria. When an abnormal calculation value occurs, the acquisition time corresponding to the first data point meeting the abnormal condition is determined as the abnormal occurrence time, and a performance deviation evidence sequence is generated based on this time. The conclusion output module determines the abnormal object and abnormal type based on the performance deviation evidence sequence, triggers a review acquisition based on the abnormal object, and outputs the performance test record.
[0014] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, the target parameters of the test segment timing, such as load gear switch status and communication interval, are generated synchronously according to the test item configuration. The collected data is classified into the segment range according to time. Voltage measurement deviation, current measurement deviation, load response deviation, temperature rise action interval, and communication response interval are calculated uniformly within the same segment and compared with the segment judgment benchmark to form a time-based comparison result. The time of anomaly occurrence is concatenated into a performance deviation evidence sequence. The abnormal object and abnormal type are located in reverse by the evidence sequence. The review collection is triggered directionally around the abnormal object, reducing the judgment bias caused by scattered records and improving the integrity, traceability, and consistency of test records and conclusions. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is the main flowchart for the intelligent performance testing of the power metering box of this invention; Figure 2 This is a schematic diagram illustrating the test segment generation and time boundary processing of the present invention; Figure 3 This is a schematic diagram illustrating the attribution of fragment response data in this invention; Figure 4 This is a schematic diagram illustrating the performance deviation evidence sequence and anomaly determination of the present invention; Figure 5 This is a collaborative diagram of the intelligent performance testing system modules for the power metering box of the present invention. Detailed Implementation
[0017] The following description, in conjunction with the accompanying drawings, further illustrates the intelligent performance testing method and system for electricity metering boxes described in this invention. The following embodiments are based on the scope of protection text, the invention content, and the original disclosure materials, and explain the processing relationships between test item configuration, test segments, segment start and end times, target control parameters, segment response data, segment calculation results, segment judgment criteria, performance deviation evidence sequence, abnormal objects, abnormality types, verification and collection results, and performance test records. The same technical name has a consistent meaning in this specification; when referring to objects already identified in the drawings, the correspondence described in the drawing description and the original disclosure materials shall prevail, and the method steps, data items, time states, and processing results shall not be interpreted as physical component designations.
[0018] Please see Figures 1 to 4This embodiment provides a smart performance testing method for electricity metering boxes. This method is applicable to the performance testing of electricity meters, terminals, circuit breakers, insulation status, and communication responses within electricity metering boxes. During the testing process, test segments with time boundaries are first configured according to the test items. Then, the field-collected data is assigned to the corresponding segments according to the collection time, and deviation calculation, benchmark comparison, anomaly evidence generation, and data verification are completed within each segment.
[0019] S1, obtain the test item configuration of the power metering box, and generate test segments, segment start and end times, target voltage, target current, target load level, circuit breaker target status and communication query interval according to the test item configuration.
[0020] The test item configuration includes item identifier, voltage level sequence, current level sequence, load switching sequence, circuit breaker status sequence, communication polling cycle, and duration. The item identifier is used to read the execution order of the test items; the voltage level sequence and current level sequence are used to determine the target voltage and target current applied within the segment; the load switching sequence is used to determine the target load level; the circuit breaker status sequence is used to determine the target circuit breaker status; the communication polling cycle is used to determine the communication query interval; and the duration is used to determine the time boundary of each test segment.
[0021] S101: Based on the project identifier, read the execution order and generate the project execution sequence. The project execution sequence is arranged according to the order of the test projects and carries the corresponding voltage level, current level, load level, circuit breaker status, and communication polling cycle.
[0022] S102, based on the voltage level change nodes, current level change nodes, load level change nodes, circuit breaker status change nodes, and communication polling cycle change nodes in the project execution sequence, identify candidate segment locations where the target control parameters change, forming the initial basis for dividing continuous execution intervals. Each continuous execution interval corresponds to a test process where the target control parameters remain consistent, and the duration is used as the time constraint for subsequently determining the start and end times of the segment.
[0023] S103 maps the voltage level, current level, load level, circuit breaker status, and communication polling cycle corresponding to the continuous execution interval to the corresponding test segment, obtaining the target voltage, target current, target load level, target circuit breaker status, and communication query interval. Thus, each test segment has clearly defined target control parameters and time boundaries.
[0024] S104: When reading adjacent control items in the project execution sequence, if at least one of the following changes—voltage level, current level, load level, circuit breaker status, or communication polling cycle—the corresponding change time is taken as a segment boundary candidate time. The segment boundary candidate times are arranged in chronological order to form a boundary candidate time sequence.
[0025] S105: Calculate the time interval between adjacent segment boundary candidate times in the boundary candidate time sequence to obtain the candidate boundary interval. If the candidate boundary interval is less than the configured handover stabilization time, the segment boundary candidate times with later time sequence are merged into the handover boundary corresponding to the segment boundary candidate times with earlier time sequence. Then, the project execution sequence is divided using the merged handover boundary to form a continuous execution interval. This method ensures that control changes occurring consecutively within a short period are grouped into the same handover boundary, avoiding fragmented segment division due to instability in the handover process.
[0026] S106, verify the start time, end time, and duration of the continuous execution interval. If the time interval between the start and end times is inconsistent with the duration, then extend the subsequent time boundaries according to the execution order and update the segment start and end times. The updated segment start and end times continue to serve as the time basis for subsequent data collection attribution, deviation calculation, and anomaly evidence sorting.
[0027] S2 collects actual output voltage, actual output current, actual absorbed current, energy meter voltage reading, energy meter current reading, terminal temperature, circuit breaker status control time, contact status change time, insulation resistance, communication query time, and communication arrival time based on the test segment, and categorizes them into the segment start and end times according to the collection time to form segment response data.
[0028] S201 acquires the reference time output from the unified timing source and synchronizes the timing of the voltage acquisition channel, current acquisition channel, temperature acquisition channel, circuit breaker control time acquisition channel, contact status acquisition channel, insulation resistance acquisition channel, and communication acquisition channel based on the reference time. After synchronization, each acquisition channel records the channel identifier and acquisition timestamp, generating an acquisition timing record.
[0029] S202, each acquisition channel is activated according to the start and end times of the corresponding test segment. The voltage acquisition channel acquires the actual output voltage and the voltage reading of the energy meter; the current acquisition channel acquires the actual output current, the actual absorbed current, and the current reading of the energy meter; the temperature acquisition channel acquires the terminal temperature; the circuit breaker control time acquisition channel acquires the circuit breaker status control time; the contact status acquisition channel acquires the contact status change time; the insulation resistance acquisition channel acquires the insulation resistance; and the communication acquisition channel acquires the communication query time and communication arrival time. The above acquired data, together with the acquisition timestamp, forms the test response record.
[0030] S203 compares the acquisition timestamps in the test response records with the start and end times of the segments. Test response records whose acquisition timestamps fall within a certain segment's time range are associated with that test segment and arranged in chronological order of acquisition timestamps to form segment response data. The segment response data corresponds to the on-site response status within the same test segment, providing a unified data source for subsequent calculations.
[0031] S204: For the switching process between adjacent test segments, obtain the segment switching time between the start and end times of adjacent segments, and obtain the configured switching stability duration from the test project configuration. Taking the segment switching time as the starting point and the configured switching stability duration as the duration, determine the switching transition interval, and generate the segment ownership boundary based on the start and end times of the switching transition interval.
[0032] S205, compare the acquisition timestamp with the segment assignment boundary. If the acquisition timestamp is outside the switching transition interval, establish the association between the test response record and the test segment according to the segment time range to which the acquisition timestamp belongs; if the acquisition timestamp is within the switching transition interval, mark the corresponding test response record as a transition response record, and according to the test segment assignment relationship corresponding to the target voltage, target current, target load level, circuit breaker target status and communication query interval after the switch, assign the transition response record to the test segment with the later time sequence, and update the segment response data.
[0033] S3 calculates voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, and communication response interval based on segment response data, determines the minimum insulation resistance, summarizes and generates segment calculation results, and determines segment judgment criteria according to test item configuration.
[0034] S301 reads the actual output voltage, actual output current, actual absorbed current, energy meter voltage reading, and energy meter current reading within the same test segment, and establishes a data correspondence relationship at the same time position according to the acquisition time. The deviation ratio of the energy meter voltage reading to the corresponding actual output voltage is used as the voltage measurement deviation; the deviation ratio of the energy meter current reading to the corresponding actual output current is used as the current measurement deviation.
[0035] S302, based on the test item configuration, determine the allowable absorption current range corresponding to the target load level, compare the actual absorption current with the allowable absorption current range, determine the degree of deviation of the actual absorption current from the allowable absorption current range, and form the load response deviation.
[0036] S303 reads the terminal temperature, circuit breaker state control time, contact state change time, insulation resistance, communication query time, and communication arrival time within the same test segment. The terminal temperature rise is determined using the terminal temperature corresponding to the start time of the segment's start and end times as the temperature rise benchmark; the circuit breaker operation interval is determined using the circuit breaker state control time as the start of the action timing and the contact state change time as the action response arrival time; the communication response interval is determined using the communication query time as the start of the communication timing and the communication arrival time as the communication response arrival time; and the minimum insulation resistance value within the same test segment is determined as the minimum insulation resistance value.
[0037] S304 associates voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, minimum insulation resistance, and communication response interval according to the test segment identifier to generate segment calculation results. The segment judgment criteria are determined according to the test item configuration and maintain a corresponding relationship with the test segment, target control parameters, and segment calculation results.
[0038] S4 compares the fragment calculation results with the fragment judgment benchmark and generates a performance deviation evidence sequence based on the time of anomaly occurrence.
[0039] S401: Obtain the segment calculation results and segment judgment criteria corresponding to the test segment. According to the judgment direction corresponding to voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, minimum insulation resistance, and communication response interval, compare the calculated values with the limit range or lower limit value in the segment judgment criteria to generate a deviation comparison record. For limit range indicators, determine whether the calculated value exceeds the corresponding limit range; for the minimum insulation resistance, determine whether it is lower than the corresponding lower limit value.
[0040] S402, when any calculated value exceeds the corresponding limit range, or the minimum insulation resistance is lower than the corresponding lower limit, read the acquisition time range that generated the corresponding abnormal calculated value, and determine the acquisition time corresponding to the first data that meets the abnormal condition within this acquisition time range as the abnormal occurrence time. Associate the test segment identifier, abnormal indicator name, actual calculated value, corresponding segment judgment benchmark, and abnormal occurrence time to generate performance deviation evidence.
[0041] S403: Sort the performance deviation evidence in ascending order according to the time of anomaly occurrence; for anomalies occurring at the same time, arrange them according to the order of the start time in the corresponding segment's start and end times, generating a performance deviation evidence sequence. The performance deviation evidence sequence records the chronological relationship of anomalous indicators during the testing process, providing a basis for subsequently identifying the anomaly object and anomaly type.
[0042] S5 determines the abnormal objects and abnormal types based on the performance deviation evidence sequence, triggers review collection based on the abnormal objects, and outputs performance test records.
[0043] S501: Read the test segment identifier, abnormal indicator name, abnormal occurrence time, actual calculated value, and corresponding segment judgment benchmark from the performance deviation evidence sequence. Based on the preset correspondence between the abnormal indicator name and the identifier of the tested component, associate the performance deviation evidence with adjacent abnormal occurrence times and corresponding to the same tested component identifier to generate an object evidence group.
[0044] S502, compare the order of occurrence and duration of different abnormal indicator names within the object evidence group, as well as the direction of deviation of the actual calculated value from the corresponding segment judgment benchmark, to determine the abnormal object and abnormal type, and generate an abnormal judgment result. The abnormal object is determined by the tested component corresponding to the tested component identifier associated with the object evidence group; the abnormal type is jointly determined by the combination of abnormal indicators, the order of occurrence of abnormalities, the duration, and the direction of deviation.
[0045] S503, when generating an anomaly determination result, read the anomaly indicator name and anomaly occurrence time corresponding to each performance deviation evidence in the object evidence group, and read the anomaly indicator combination, necessary anomaly indicator set, anomaly indicator sequence relationship and candidate anomaly type correspondence according to the preset anomaly type mapping table, and generate candidate type records.
[0046] S504. Compare the combinations of abnormal indicators in the candidate type records with the actual combinations of abnormal indicators in the object evidence group. If all abnormal indicators in the necessary abnormal indicator set appear, and the occurrence times of the corresponding abnormalities satisfy the sequential relationship of the abnormal indicators, the corresponding candidate abnormal type is determined as an abnormal type, and the tested component corresponding to the associated tested component identifier is determined as the abnormal object. When there are multiple candidate abnormal types that meet the conditions, they are matched according to the number of abnormal indicators in the corresponding necessary abnormal indicator set from most to least, generating an abnormality determination result.
[0047] S505: Based on the anomaly determination result, select the data category corresponding to the anomaly object and perform verification data collection, generating verification data collection results. After associating the verification data collection results with the corresponding performance deviation evidence, record the test segment identifier, anomaly object, anomaly type, anomaly occurrence time, actual calculated value, and verification data collection results, and output the performance test record.
[0048] Through the above steps, the target control parameters in the test project configuration are transformed into test segments with start and end times; the field response data output by each acquisition channel enters the corresponding segment according to the acquisition time; the deviation, temperature rise, action interval, minimum insulation resistance, and communication response interval formed within the segment are compared with the segment judgment benchmark; abnormal results are then used to form a performance deviation evidence sequence according to the time of abnormal occurrence, triggering the corresponding verification acquisition for the abnormal object. Thus, the electrical parameters, temperature, switch actions, insulation, and communication data generated dispersedly during the performance testing of the power metering box can be organized into test records according to the same time boundary.
[0049] Please see Figure 5 This embodiment provides a smart performance testing system for electricity metering boxes. This system is used to execute the aforementioned smart performance testing method for electricity metering boxes, and includes a test configuration module, a segment acquisition module, a deviation calculation module, an evidence generation module, and a conclusion output module.
[0050] The test configuration module acquires the test item configuration of the energy metering box and generates test segments, segment start and end times, target voltage, target current, target load level, circuit breaker target status, and communication query interval based on the test item configuration. The test segments and target control parameters output by the test configuration module are transmitted to the segment acquisition module and serve as the basis for segment response data attribution; simultaneously, the target control parameters are transmitted to the deviation calculation module and the evidence generation module for subsequent calculations and benchmark comparisons.
[0051] The segment acquisition module collects data based on test segments. The data collected includes actual output voltage, actual output current, actual absorbed current, energy meter voltage reading, energy meter current reading, terminal temperature, circuit breaker state control time, contact state change time, insulation resistance, communication query time, and communication arrival time. The segment acquisition module categorizes test response records with acquisition timestamps into the corresponding test segments according to their start and end times, forming segment response data, and outputs this data to the deviation calculation module.
[0052] The deviation calculation module calculates voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, and communication response interval based on the segment response data, and determines the minimum insulation resistance value, summarizing the results to generate the segment calculation results. The deviation calculation module also determines the segment judgment criteria based on the test item configuration and outputs the segment calculation results and segment judgment criteria to the evidence generation module.
[0053] The evidence generation module compares the fragment calculation results with the fragment judgment benchmark. When the calculated value exceeds the limit range, or the minimum insulation resistance is lower than the corresponding lower limit, the evidence generation module generates performance deviation evidence based on the time of the anomaly occurrence, and sorts the performance deviation evidence according to the time of the anomaly occurrence to form a performance deviation evidence sequence.
[0054] The conclusion output module receives a sequence of performance deviation evidence, forms object evidence groups based on a preset correspondence between abnormal indicator names and the identifiers of the components under test, and determines the abnormal object and type based on the order of occurrence, duration, and direction of deviation of the abnormal indicators within the object evidence group. The conclusion output module triggers a review collection based on the abnormal object, associates the review collection results with the performance deviation evidence, and outputs the performance test record.
[0055] In the aforementioned system, the test configuration module, segment acquisition module, deviation calculation module, evidence generation module, and conclusion output module sequentially receive the data processing results. The test configuration module provides time boundaries and target control parameters; the segment acquisition module provides on-site response data with time attribution; the deviation calculation module generates calculation results and judgment criteria corresponding to the segments; the evidence generation module generates an evidence sequence arranged according to the time of anomaly occurrence; and the conclusion output module generates anomaly judgment results and performance test records. The data transfer relationships between the modules correspond to the aforementioned method steps.
[0056] The process sequence, field status, judgment conditions, parameter sources, module collaboration, and data transfer relationships described in the above embodiments are used to illustrate the feasible implementation methods of the technical solutions recorded in this invention, and should not limit this invention to the specific embodiments listed. Without departing from the technical solutions recorded in this invention, any equivalent substitutions, equivalent modifications, equivalent combinations, sequence adjustments, corresponding module replacements, equivalent transformations of field names, equivalent transfer of execution entities, or equivalent changes in carrier forms that can be conceived by those skilled in the art should fall within the scope of protection of this patent; however, they should not be extended to unclaimed topics, nor should the substantive correspondence of technical objects be changed through changes in reference numerals. The aforementioned equivalent changes should not replace, delete, or weaken the method features, control relationships, data relationships, temporal relationships, parameter relationships, or physical action relationships necessary to achieve the corresponding technical effects.
Claims
1. A smart testing method for the performance of an electricity metering box, characterized in that, Obtain the test item configuration of the power metering box, and generate test segments, segment start and end times, target voltage, target current, target load level, circuit breaker target status and communication query interval based on the test item configuration; Based on the test segment, the actual output voltage, actual output current, actual absorbed current, energy meter voltage reading, energy meter current reading, terminal temperature, circuit breaker status control time, contact status change time, insulation resistance, communication query time, and communication arrival time are collected and assigned to the segment start and end time according to the collection time to form segment response data. Based on the segment response data, calculate the voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval, and communication response interval, determine the minimum insulation resistance, summarize the segment calculation results, and determine the segment judgment criteria according to the test item configuration. The calculation result of the segment is compared with the segment judgment benchmark. When an abnormal calculation value occurs, the collection time corresponding to the first data that meets the abnormal condition is determined as the abnormal occurrence time, and a performance deviation evidence sequence is generated based on the abnormal occurrence time. Based on the performance deviation evidence sequence, the abnormal objects and abnormal types are determined, and the review collection is triggered according to the abnormal objects to output performance test records.
2. The intelligent performance testing method for an electricity metering box according to claim 1, characterized in that, The steps for configuring the test project to generate the test segment and its start and end times, target voltage, target current, target load level, circuit breaker target status, and communication query interval include: Obtain the project identifier, voltage level sequence, current level sequence, load switching order, circuit breaker status sequence, communication polling cycle and duration from the test project configuration, and read the execution order based on the project identifier to generate the project execution sequence; The continuous execution interval is divided according to the voltage level change node, current level change node, load level change node and circuit breaker status change node in the project execution sequence. The time boundary is determined according to the duration, and the test segment and the start and end time of the segment are generated. The voltage level, current level, load level, circuit breaker status, and communication polling cycle corresponding to the continuous execution interval are mapped to the corresponding test segments to generate the target voltage, the target current, the target load level, the target circuit breaker status, and the communication query interval.
3. The intelligent performance testing method for an electricity metering box according to claim 2, characterized in that, The process of dividing the continuous execution interval includes: According to the project execution sequence, adjacent control items are read. When at least one of the voltage level, current level, load level, circuit breaker status, or communication polling cycle changes, the corresponding change time is determined as a segment boundary candidate time. Each segment boundary candidate time is arranged in chronological order to generate a boundary candidate time sequence. Calculate the time interval between adjacent segment boundary candidate moments in the boundary candidate moment sequence to generate a candidate boundary interval. When the candidate boundary interval is less than the configured switching stability duration, merge the segment boundary candidate moment with the later time sequence into the switching boundary corresponding to the segment boundary candidate moment with the earlier time sequence, and use the merged switching boundary to divide the project execution sequence to generate the continuous execution interval. The start time, end time, and duration of the continuous execution interval are checked. If the time interval between the start time and end time of the continuous execution interval is inconsistent with the duration, the subsequent time boundaries are extended according to the execution order, and the start and end times of the segment are updated.
4. The intelligent performance testing method for an electricity metering box according to claim 1, characterized in that, The steps for forming the fragment response data include: Obtain the reference time output by the unified timing source, and synchronize the timing of the voltage acquisition channel, current acquisition channel, temperature acquisition channel, circuit breaker control time acquisition channel, contact status acquisition channel, insulation resistance acquisition channel and communication acquisition channel according to the reference time. Record the channel identifier and acquisition timestamp corresponding to the acquisition channel to generate acquisition timing record. The acquisition timing record is obtained, and each acquisition channel is started according to the start and end time of the test segment to acquire the actual output voltage, the actual output current, the actual absorbed current, the voltage reading of the energy meter, the current reading of the energy meter, the terminal temperature, the circuit breaker state control time, the contact state change time, the insulation resistance, the communication query time and the communication arrival time, and a test response record is generated according to the acquisition timestamp corresponding to the acquisition timing record. The acquisition timestamp in the test response record is compared with the start and end times of the segment. Test response records whose acquisition timestamps fall within the same segment time range are associated with the corresponding test segments and arranged in chronological order according to the acquisition timestamps to generate the segment response data.
5. The intelligent performance testing method for an electricity metering box according to claim 4, characterized in that, The process of associating the test response record with the corresponding test segment includes: Obtain the segment switching time between adjacent segment start and end times, and obtain the configuration switching stability duration from the test project configuration. Determine the switching transition interval with the segment switching time as the starting point and the duration equal to the configuration switching stability duration. Generate the segment belonging boundary based on the start and end times of the switching transition interval. Compare the acquisition timestamp with the segment affiliation boundary. When the acquisition timestamp is outside the switching transition interval, establish the association between the test response record and the corresponding test segment according to the segment time range to which the acquisition timestamp belongs. When the acquisition timestamp is within the switching transition interval, the corresponding test response record is marked as a transition response record. Based on the test segment affiliation relationship between the target voltage, target current, target load level, circuit breaker target status and the communication query interval after the switch, the transition response record is assigned to the corresponding test segment with a later time sequence, and the segment response data is updated.
6. The intelligent performance testing method for an electricity metering box according to claim 1, characterized in that, The steps for generating the fragment calculation results include: Acquire the actual output voltage, actual output current, actual absorbed current, voltage reading of the energy meter, and current reading of the energy meter within the same test segment. Establish a data correspondence relationship at the same time position according to the acquisition time. Calculate the deviation ratio of the energy meter voltage reading relative to the corresponding actual output voltage and the deviation ratio of the energy meter current reading relative to the corresponding actual output current. Determine the allowable absorbed current range corresponding to the target load level based on the test item configuration. Calculate the degree of deviation of the actual absorbed current relative to the allowable absorbed current range and generate an electrical parameter deviation record. The terminal temperature, circuit breaker state control time, contact state change time, insulation resistance, communication query time, and communication arrival time within the same test segment are obtained. The terminal temperature corresponding to the start time of the segment start and end time is used as the temperature rise reference, the circuit breaker state control time is used as the action timing start time, and the communication query time is used as the communication timing start time. The minimum value of the insulation resistance within the same test segment is determined, and temperature rise response record, action response record, insulation response record, and communication response record are generated. The electrical parameter deviation record, temperature rise response record, action response record, insulation response record, and communication response record are associated according to the test segment identifier to determine the voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker action interval, minimum insulation resistance, and communication response interval, and generate the segment calculation result.
7. The intelligent performance testing method for an electricity metering box according to claim 1, characterized in that, The steps for generating the performance deviation evidence sequence include: Obtain the segment calculation results and segment judgment criteria corresponding to the test segment. According to the judgment direction corresponding to the voltage measurement deviation, the current measurement deviation, the load response deviation, the terminal temperature rise, the circuit breaker operation interval, the minimum insulation resistance value and the communication response interval, compare the calculated values with the corresponding limit range or lower limit value in the segment judgment criteria to generate a deviation comparison record. Obtain the deviation comparison record. When any of the calculated values exceeds the corresponding limit range and the minimum insulation resistance is lower than the corresponding lower limit, obtain the collection time range that generates the corresponding abnormal calculated value, and determine the collection time corresponding to the first data that meets the abnormal condition within the collection time range as the abnormal occurrence time. Associate the test segment identifier, abnormal index name, actual calculated value, the corresponding segment judgment benchmark and the abnormal occurrence time to generate performance deviation evidence. The performance deviation evidence is sorted in ascending order according to the time of occurrence of the anomaly, and the performance deviation evidence with the same time of occurrence of the anomaly is sorted in chronological order according to the start time of the corresponding segment start and end time to generate the performance deviation evidence sequence.
8. The intelligent performance testing method for an electricity metering box according to claim 1, characterized in that, The steps of determining the anomalous object and the anomalous type based on the performance deviation evidence sequence and outputting the performance test record include: Obtain the test segment identifier, abnormal indicator name, abnormal occurrence time, actual calculated value and corresponding segment judgment benchmark in the performance deviation evidence sequence. Based on the preset correspondence between the abnormal indicator name and the tested component identifier, associate the performance deviation evidence with adjacent abnormal occurrence times and corresponding to the same tested component identifier to generate an object evidence group. By comparing the occurrence order, duration, and deviation direction of the actual calculated value relative to the corresponding segment judgment benchmark of the differential abnormal indicator names within the object evidence group, the abnormal object and the abnormal type are determined, and an abnormal judgment result is generated. Based on the anomaly determination result, select the data collection category corresponding to the anomaly object and perform review collection to generate review collection results. Associate the review collection results with the corresponding performance deviation evidence and record the test segment identifier, the anomaly object, the anomaly type, the anomaly occurrence time, the actual calculated value, and the review collection results. Output the performance test record.
9. The intelligent performance testing method for an electricity metering box according to claim 8, characterized in that, The process of generating the anomaly determination result includes: Obtain the name of the abnormal indicator and the time of occurrence of the abnormality corresponding to each performance deviation evidence in the object evidence group; read the correspondence between the abnormal indicator combination, the necessary abnormal indicator set, the order of abnormal indicators and the candidate abnormal type according to the preset abnormal type mapping table; and generate candidate type records. When comparing the combination of abnormal indicators corresponding to the candidate type record with the actual combination of abnormal indicators in the object evidence group, and when all the abnormal indicators in the necessary abnormal indicator set appear and the corresponding occurrence time of the abnormality satisfies the order of the abnormal indicators, the corresponding candidate abnormal type is determined as the abnormal type, and the tested component corresponding to the associated tested component identifier is determined as the abnormal object. When multiple candidate anomaly types satisfy the conditions, the anomaly determination result is generated by matching the anomaly indicators in the corresponding set of necessary anomaly indicators from most to least.
10. A smart performance testing system for an electricity metering box, characterized in that, The system is used to execute the intelligent performance testing method for the electricity metering box according to any one of claims 1 to 9, including: The test configuration module obtains the test item configuration of the power metering box, and generates test segments, segment start and end times, target voltage, target current, target load level, circuit breaker target status and communication query interval based on the test item configuration; The segment acquisition module, based on the test segment, acquires the actual output voltage, actual output current, actual absorbed current, energy meter voltage reading, energy meter current reading, terminal temperature, circuit breaker state control time, contact state change time, insulation resistance, communication query time, and communication arrival time, and categorizes them into the segment start and end times according to the acquisition time to form segment response data; The deviation calculation module calculates voltage measurement deviation, current measurement deviation, load response deviation, terminal temperature rise, circuit breaker operating interval and communication response interval based on the segment response data, determines the minimum insulation resistance, summarizes and generates segment calculation results, and determines the segment judgment criteria according to the test item configuration. The evidence generation module compares the fragment calculation result with the fragment judgment benchmark. When an abnormal calculation value occurs, the collection time corresponding to the first data that meets the abnormal condition is determined as the abnormal occurrence time, and a performance deviation evidence sequence is generated based on the abnormal occurrence time. The conclusion output module determines the abnormal objects and abnormal types based on the performance deviation evidence sequence, triggers review collection based on the abnormal objects, and outputs performance test records.
