CN-121978449-A - Automatic simulation detection method and system for metering and collecting full scene
Abstract
The application discloses a metering acquisition full-scene automatic simulation detection method and a system, wherein the method comprises the steps of selecting a detection target for tested equipment and associating a platform region topology template, impedance parameters and a load strategy; the method comprises the steps of automatically switching physical line connection through a network relay by utilizing a multi-bypass wiring technology to reconstruct a topological structure of a target platform area, adjusting output of adjustable impedance equipment through a compensation algorithm to enable line impedance of tested equipment to be consistent with a target impedance value, automatically controlling a controllable load device and generating load time sequence, sending an instruction to the tested equipment and collecting response data, storing the response data in association with the topological structure of the target platform area, the line impedance and the load time sequence, calculating matching degree and impedance deviation of a topological identification result and a topological template of the platform area based on a graph isomorphism algorithm, and generating a detection report. The application has the advantages of realizing the full scene automation of the detection of the metering and collecting equipment and improving the detection efficiency, the accuracy and the repeatability.
Inventors
- ZHAO YIMENG
- CHEN YEHAI
- ZHANG YONG
Assignees
- 上海千居智科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260409
Claims (10)
- 1. The automatic simulation detection method for the metering and collecting full scene is applied to an automatic simulation detection system for the metering and collecting full scene, and the system comprises tested equipment, a network relay, adjustable impedance equipment, a controllable load device and a physical circuit, and is characterized by comprising the following steps: a detection task configuration step, namely configuring detection items, detection cases and detection sets, selecting detection targets for the tested equipment, and associating corresponding platform topology templates, impedance parameters and load strategies; A scene construction step, namely automatically switching the physical line connection through the network relay by utilizing a multi-bypass wiring technology according to the topological template of the platform region, and reconstructing a topological structure of the target platform region; an impedance adjustment step of adjusting the actual output of the adjustable impedance device by a compensation algorithm based on the impedance parameter, so that the line impedance applied to the tested device by the adjustable impedance device is consistent with the target impedance value of the impedance parameter; a load control step, based on the load strategy, automatically controlling the controllable load device and generating a load time sequence, and dynamically simulating the load change characteristic under the actual operation scene; A detection step of issuing a detection instruction to the tested equipment, collecting response data of the tested equipment in real time, generating a comprehensive detection conclusion based on the response data, and And a result generation step, wherein the response data and the target platform topological structure are stored in a correlated way, the line impedance and the load time sequence are stored in a correlated way, the matching degree of the topological identification result of the tested equipment and the platform topological template is calculated through a graph isomorphism algorithm based on the data stored in the correlated way, the impedance deviation of each branch of the target platform topological structure is calculated, and a detection report is generated.
- 2. The automated simulation detection method for metering and collecting full scenes according to claim 1, wherein the scene construction step specifically comprises the following steps: Presetting more than two kinds of zone topology templates, wherein each zone topology template corresponds to a group of logic nodes, a circuit connection relation and a corresponding network relay channel switching state; Multiplexing the line connection relation corresponding to the topological template of the platform area into the physical lines, so that each physical line corresponds to more than two groups of logic nodes; a switch matrix acquisition step of converting the platform region topology template corresponding to the multiplexed line connection relationship into a switch matrix, and And a topology structure switching step, based on the obtained switch matrix, generating a control instruction executed by the network relay to realize switching of the tested equipment from the current topology structure to the target platform area topology structure.
- 3. The automated simulation test method of metering and collecting full scenes according to claim 1, wherein the impedance adjusting step specifically comprises the following steps: A line detection step, namely detecting the adjustable impedance equipment and the phase corresponding to each physical line according to the configured detection items; a target gear determining step of monitoring the inherent impedance value in the physical line in real time according to the target impedance value, calculating a compensation amount, determining the target gear of the adjustable impedance device on each phase, and And calculating an impedance error between an impedance calculation result of the measured device and the target impedance value when the other gear of the adjustable impedance device is not in the target gear.
- 4. The automated simulation test method of metering and collecting full scenes according to claim 1, wherein the load control step specifically comprises the following steps: A load strategy configuration step, namely configuring a load switching mode, a power class combination, a minimum on time, a minimum off time and a load change interval according to a load loop and the same, and forming the load strategy; a command filtering step of periodically generating a load control command according to the load strategy, filtering the load control command exceeding a threshold value according to the relation between the total load capacity of the current controllable load device and a preset load threshold value, and And a load closing step, wherein the zeroing and disconnection operation is executed on all the controllable load devices until all the controllable load devices are closed.
- 5. The automated simulation detection method for metering and collecting full scenes according to claim 1, wherein the detection step specifically comprises the following steps: A detection item executing step, based on detection content and criteria defined in the detection item, issuing corresponding instructions to the tested equipment, and monitoring whether response data of the tested equipment meet the criteria so as to verify the standard condition of single function point or single service capability; A detection case execution step of sequentially executing the detection items based on the execution sequence and the dependency relationship defined in the detection case to form a complete detection flow and summarizing the verification results of the detection items, and And a detection set executing step, namely sequentially calling the scene constructing step, the impedance adjusting step and the load control step to construct a detection environment based on the platform region topological template, the impedance parameters and the load strategy which are related in the detection set, and executing the detection case to generate a comprehensive detection conclusion.
- 6. The automated simulation test method of metering acquisition full scene according to claim 1, wherein the testing step further comprises: A physical detection step, namely issuing a detection instruction to physical equipment in the accessed tested equipment, and receiving response data returned by the physical equipment in real time as a physical detection result; A simulation detection step, namely calling the voltage, the current, the event sequence and the communication message which are generated through simulation to replace part or all of the physical electric quantity to be input to the tested equipment, simultaneously issuing a detection instruction to the tested equipment, and collecting response data of the tested equipment under the simulation input in real time to be used as a simulation detection result; and And a mixed detection step, wherein the physical detection step and the simulation detection step are respectively executed, and the physical detection result and the simulation detection result are subjected to comparative analysis to generate a mixed detection result.
- 7. The automated simulation test method of metering acquisition full scene of claim 5, further comprising: A dynamic configuration step of analyzing a preset schema file, extracting a hardware linkage rule from the schema file, dynamically generating a configurable detection parameter based on the hardware linkage rule and the current hardware state, generating a corresponding hardware control instruction through the hardware linkage rule based on the detection parameter, and cooperatively constructing the detection environment.
- 8. The automated simulation test method of metering acquisition full scene according to claim 1, wherein generating the test report specifically comprises the steps of: a diagram structure conversion step of converting a topology identification result of the tested equipment into a first diagram structure and converting the platform region topology template into a second diagram structure; The isomorphism judging step is based on a graph isomorphism algorithm, comparing the first graph structure with the second graph structure node by node and side by side, judging whether the first graph structure and the second graph structure are isomorphic or not, if so, outputting a correct topology identification, and if not, identifying and marking the difference between the first graph structure and the second graph structure; generating a topological graph according to the comparison result of the first graph structure and the second graph structure, marking the actual impedance value and the theoretical impedance value of each physical line on the topological graph, and And a topology icon annotating step, namely marking the matching condition or deviation degree of each physical line on the topology graph, and generating the detection report.
- 9. The utility model provides a measurement gathers full scene automation emulation detecting system, includes the controller, its characterized in that, the controller includes: A memory for storing executable program code, and A processor that reads the executable program code to run a computer program corresponding to the executable program code to perform at least one step of the metrology collection full scene automated simulation detection method of any one of claims 1-8.
- 10. The metrology acquisition full scene automated simulation test system of claim 9, further comprising A physical circuit, which is laid according to a multi-bypass wiring technology; the input end of the network transfer relay is connected to the controller, and the output end of the network transfer relay is connected to the node of the physical circuit; An adjustable impedance device connected in series in the physical line, the adjustable impedance device connected to the controller; A controllable load device comprising a plurality of controllable load units, wherein the controllable load units are respectively connected to different phases and loops of the physical circuit through load switches, and the controllable load device is connected to the controller, and And the tested equipment is electrically connected to the corresponding node of the physical line.
Description
Automatic simulation detection method and system for metering and collecting full scene Technical Field The application relates to the technical field of automatic detection of power systems, in particular to a metering acquisition full-scene automatic simulation detection method and system. Background With the deep advancement of smart grid construction, the electric power metering and electricity consumption acquisition system has become a core infrastructure for grid operation monitoring, load management and electricity fee settlement. On the side of a power distribution area, a large number of metering and collecting devices such as an ammeter, a concentrator, a measuring switch, a communication unit and a module are deployed on site, and the metering and collecting devices together form a metering and collecting link on the side of the area, and the running state of the metering and collecting link directly relates to the accuracy, the completeness and the real-time performance of electricity consumption data. In order to ensure reliable operation of the acquisition system, an operation unit needs to comprehensively detect the communication capacity, topology identification capacity, impedance calculation capacity and working performance under different load working conditions of the equipment before the equipment is connected to the network or in the operation and maintenance process. At present, a scattered construction mode of 'one set of equipment and one set of detection device' is commonly adopted for detection of metering and collecting equipment, namely, an ammeter is provided with a special ammeter detection table, a concentrator is provided with a concentrator detection table, a measuring switch is provided with a measuring switch detection table, and a communication unit and a module are also provided with independent detection tools. Most of detection logic, detection items and judgment standards of each type of detection device are solidification design, and only a preset test flow can be executed for a single equipment type. This scatter detection mode has the following technical drawbacks: Firstly, the detection platform is cracked, and the multi-equipment cooperative testing capability is lacked. Because different devices depend on independent detection devices, cross-device type joint tests are difficult to develop, and the cooperative operation performance of the devices such as the ammeter, the concentrator, the measuring switch and the communication unit under complex field working conditions cannot be verified from the whole system. For example, the topology identification result of the measurement switch needs to be reported to the master station through the concentrator, but the existing single-device detection device cannot completely simulate the end-to-end data link. Secondly, the detection of the topology identification capability of the platform area depends on manual operation, and the efficiency is low and the fault is easy to occur. The topology identification function of the measuring switch needs to verify the identification accuracy under the power connection condition of different branches and different nodes. The traditional detection device adopts a mode of manually plugging in and out cables or poking a physical switch to construct different topology forms, and detection personnel need to rewire according to a wiring diagram when switching one topology, so that the operation is complex, the time consumption is long, and poor contact or line damage is easily caused by frequent plugging in and out, so that potential safety hazards exist. Thirdly, the impedance computing capacity detection depends on manual adjustment, and the testing precision is difficult to guarantee. In order to verify the accuracy of impedance calculation of the measuring switch, different line impedance values need to be applied to the tested equipment in detection. The existing detection device generally adopts an adjustable impedance box regulated by a manual knob, and a detection person adjusts the impedance box step by step and manually records an impedance calculation result reported by equipment, and then compares the impedance calculation result with a preset value. The testing workload under the working conditions of multiple groups of impedances and multiple combinations is huge, and manual adjustment and reading errors are difficult to avoid, so that the objectivity of the detection result is influenced. Fourth, the load scenario is single in construction and lacks repeatability. In order to simulate the equipment response under different electric field scenes, a variable load working condition is required to be constructed in the detection. The existing detection mostly adopts a mode of fixing load or manually opening and closing a load loop, and is difficult to accurately control the time sequence, amplitude and combination mode of load change, so that the consistency of working cond