CN114123482A - Main plant station information joint debugging decoupling method - Google Patents

Main plant station information joint debugging decoupling method Download PDF

Info

Publication number
CN114123482A
CN114123482A CN202111111351.6A CN202111111351A CN114123482A CN 114123482 A CN114123482 A CN 114123482A CN 202111111351 A CN202111111351 A CN 202111111351A CN 114123482 A CN114123482 A CN 114123482A
Authority
CN
China
Prior art keywords
simulation
information
data
tool
station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111111351.6A
Other languages
Chinese (zh)
Inventor
王宇
徐长宝
高吉普
辛明勇
祝健杨
林呈辉
张承模
胡星
吕黔苏
文屹
徐玉韬
张历
张俊杰
刘斌
李鑫卓
古庭赟
孟令雯
代奇迹
陈敦辉
李博文
唐赛秋
冯起辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou Power Grid Co Ltd
Original Assignee
Guizhou Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou Power Grid Co Ltd filed Critical Guizhou Power Grid Co Ltd
Priority to CN202111111351.6A priority Critical patent/CN114123482A/en
Publication of CN114123482A publication Critical patent/CN114123482A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00028Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment involving the use of Internet protocols
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00032Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for
    • H02J13/00034Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for the elements or equipment being or involving an electric power substation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a master station information joint debugging decoupling method which comprises an IED simulation tool, a simulation master station tool and a multi-data-source offline processing tool, wherein the IED simulation tool is connected to a monitoring background, a telecontrol device and the multi-data-source offline processing tool, and the simulation master station tool is connected to the telecontrol device and the multi-data-source offline processing tool. The invention realizes innovation in a debugging mode, overcomes the defects in the traditional debugging mode, ensures that telesignaling configuration checking work of the telemechanical device is offline and mechanized, ensures that the telesignaling configuration checking work of the telemechanical device has more integrity, shortens the debugging time of information joint debugging work, optimizes the debugging period, can ensure that the telemechanical information joint debugging work is free from the interference of human factors as far as possible, greatly liberates manpower and time, and effectively improves the efficiency and reliability of the telemechanical information checking work of the transformer substation.

Description

Main plant station information joint debugging decoupling method
Technical Field
The invention relates to the technical field of remote signaling configuration quick check of a telemechanical device, in particular to a master station information joint debugging decoupling method.
Background
In a field debugging link of a transformer substation, functional problems such as logical and communication of a secondary device are generally not required to be verified, the transformer substation is mainly placed on verification of construction correctness and verified in a simulation mode, a debugger applies an electrical analog quantity and a switching quantity to a field device to check human-computer interface reaction of a monitoring system, the correctness of the monitoring and telemechanical system is verified, and the method can simultaneously check the correctness of electrical secondary circuit wiring, the correctness of optical fiber connection and switch configuration and the correctness of human-computer interface manufacturing.
With the development of the intelligent technology of the primary equipment and the secondary equipment of the transformer substation, the signal quantity of the monitoring and telecontrol system of the transformer substation rises sharply. Through statistics, tens of thousands of signals exist in a 500kV transformer substation, the signals are more detailed and comprehensive, convenience is provided for analyzing and diagnosing faults of a power grid and equipment, and meanwhile, the signal maintenance workload is multiplied.
The field-to-point of the transformer substation monitoring system and the telecontrol information joint debugging between the main stations need field personnel, monitoring personnel and scheduling personnel to be matched with each other for completion. Generally, field personnel apply analog quantity or trigger state quantity to monitored measurement one by one, the monitoring personnel confirm the monitoring field and confirm the monitoring field with a dispatching personnel remotely and then carry out the next measurement. The point-to-point debugging occupies larger manpower, material resources and working hours in the field debugging link. According to research, the work load of the transformer substation counter point accounts for about 30% of the whole debugging work, the time of the main station counter point is generally 3-6 weeks, the labor intensity of operators is high, and the debugging efficiency is low. In addition, the risks of information omission and information errors caused by manual acceptance and checking are difficult to ensure the consistency and accuracy of the monitoring system signals, and the point-to-point debugging quality is influenced.
At present, the telecontrol information joint debugging of the transformer substation is implemented after communication of main station communication channels, at this time, the commissioning time of the transformer substation is close, and the construction period is very short. In addition, the current transformer substation field debugging result basically adopts the mode of manual record, and the personnel of checking and accepting generally consult the manual debugging record before to test before the scene is repeated, still use the manual mode as the main, do not have a verification system to support the work of checking and accepting, and the efficiency of checking and accepting is not high. In addition, for some novel devices, although the novel devices are detected by laboratory environment, the novel devices exit and enter the field after all, and due to the safety and reliability requirements, a new system and new devices reinstalled on the field need to be debugged and verified, but no corresponding tools exist at the present stage.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the main station information joint debugging decoupling method is provided to solve the technical problems in the prior art.
The technical scheme adopted by the invention is as follows: a main station information joint debugging decoupling method comprises the following steps:
(1) scanning and verifying the data gateway machine and the monitoring background in advance by using an IED simulation tool and software simulating a master station tool, and correcting the found problems in advance;
(2) and simulating the interlayer equipment in the station by using an IED simulation tool, performing point alignment with scheduling through a data network shutdown, and simultaneously accessing a monitoring background to perform secondary check.
The detailed method in the step (1) comprises the following steps: importing a point table and an SCD file in an IED simulation tool, simulating interlayer equipment in a station, scanning signals of the whole station, sending a loop data network shutdown to a 104 signal of a schedule, generating a loop monitoring background alarm record file, matching and generating a forwarding corresponding table of the signals in the station and the scheduling signals by taking the point table as a reference, checking the forwarding corresponding table, finding a problem, correcting, scanning, and repeating the steps until the forwarding corresponding table is correct.
The detailed method in the step (1) comprises the following steps: and importing an SCD file, a point table and a correct forwarding corresponding table to the IED simulation tool, triggering a signal by the IED simulation tool, carrying out point matching with scheduling, observing a monitoring background, and carrying out secondary checking.
The IED simulation tool sends MMS messages to the monitoring background and the client side of the telecontrol device through a station control layer network by simulating an MMS server side of an IEC61850 protection and measurement and control device, the IED simulation tool comprises a simulation operation module, an operation management function module and a model analysis function module, the simulation operation module is connected to the client side through an MMS network communication module, and the operation management function module is connected to the simulation operation module and the model analysis function module.
The implementation method of the IED simulation tool comprises the following steps:
(1) importing and analyzing an SCD file, checking the legality of the file, analyzing a model file, and determining all signals of the total station according to a data model required by simulation constructed by Q/GDW 1396-;
(2) the simulation operation management function module enables the simulation process to be developed in a manual test or automatic test mode, the automatic test mode mainly realizes the point-by-point transmission of the total station information, namely a panoramic information scanning mode, and ensures that all signals analyzed by the model with unique SOE time with specific meanings automatically marked by tools move once in sequence in the displacement setting of total variation 0, total variation 1 or self-reset variation; the manual test freely configures a test strategy to meet the operation requirements of single-point test, multi-point test, batch processing and manual definition of SOE time;
(3) the simulation operation management function module imports an actual mapping table formed after an off-line checking process of total station remote signaling configuration;
(4) the simulation operation module enables the message output of the simulation tool to send messages according to the customized requirement according to the sending strategy set by the operation management function module, and the messages are continuously sent at the set time interval;
(5) the MMS network communication module ensures normal MMS communication between the simulation tool and the client according to the communication service standard in IEC 61850;
(6) the simulation tool records all MMS interactive processes and generates a simulation tool record file.
Before the dispatching data network is switched on, the problem of data network shutdown configuration is found out in advance, and the process is as follows: when the master station is simulated, a scheduling point table is imported into software of a simulation master station tool, the simulation master station (comprising a telecontrol device IP, a simulation master station IP, a station address, a gateway and a simulation master station mask) is configured, and after the configuration, connection is initiated to the data network shutdown machine and is always called up, and the normal connection 104 is realized with the data network shutdown machine.
Scanning the total station signals comprises remote measurement, remote signaling, scanning of remote control signals and automatic point alignment.
The simulation master station tool mainly realizes the function of simulating a remote dispatching master station, supports the current mainstream power telecontrol protocol, has the functions of message analysis and record storage, and can analyze 104 messages sent by a telecontrol device in real time and store the 104 address and point number displacement conditions as a simulation master station record file.
The system comprises a simulation master station, a multi-data-source off-line processing tool, a monitoring background recording file, a simulation master station recording file and a regulation and control information table issued by a regulation and control center, wherein the simulation master station is connected with the simulation master station; the off-line processing tool with multiple data sources can automatically output two documents, one is a debugging report, the report shows 104 addresses, the content of three information descriptions d1, d2 and d3 of a certain piece of information in a simulation tool recording file, a monitoring background recording file and a regulation and control information table and the machine judgment result of the matching degree of the machine on the three information descriptions d1, d2 and d 3; the other part is an actual mapping table, and 104 addresses and data paths of corresponding signals are presented in the table; the debugging report is used for engineering debugging personnel to review, is used as a basis for modifying the error configuration in the telemechanical device, can also synchronously find the description error or default problem of the 61850 object in the SCD file, helps an integrator to complete the SCD in time, and imports the actual mapping table into the IED simulation tool.
The method comprises the following specific steps:
(1) an IED simulation tool is adopted to simulate a required data model by importing an SCD file, preprocessing is carried out, and all remote signaling signals of the total station are determined;
(2) an IED simulation tool is adopted to send MMS messages with specific SOE time scales to a monitoring background and a telecontrol device as required through a station control layer network, namely panoramic information scanning is realized during a total station test;
(3) adopting an IED simulation tool to record operation records while sending MMS messages to a monitoring background and a client of a telecontrol device, and forming a simulation tool record file;
(4) after receiving the MMS message, the telecontrol device forwards 104 the message to the simulation master station tool according to a remote signaling forwarding table configured in the device;
(5) after receiving the MMS message, the monitoring background stores the real-time measuring point change record configured in the monitoring host database to form a monitoring background record file;
(6) the simulation master station tool analyzes the received 104 messages and records 104 addresses and displacement conditions to form a simulation master station record file;
(7) reading a regulation and control information table, a simulation tool record file, a monitoring background record file and a simulation main station record file by the multi-data-source off-line processing tool, and performing signal association and verification according to the uniqueness of the SOE time scale and the element of the 104 address;
(8) automatically issuing a debugging report by the multi-data source offline processing tool for the engineering debugging personnel to check;
(9) the off-line processing tool with multiple data sources gives an actual mapping table of the telecontrol device which is tested and verified;
(10) the actual mapping table can be led back to an IED simulation tool, and support is provided for online checking between the later station and the dispatching master station.
The invention has the beneficial effects that: compared with the prior art, the invention supports the three-remote function of the spacer layer equipment of the whole station, adopts the technology of rapidly generating the telecontrol forwarding table based on the scanning of the signals of the whole station, obtains all the telesignalling signals of the plant and the station by reading the SCD file, simulates the generation of signal deflection, sends the MMS signals with specific information to the telecontrol device and the monitoring background in the station, records the signals, simulates the master station to receive the deflection information, presents the configuration association of the DO object data path in the 104 signals in the telecontrol device and the corresponding 61850 model file, associates the corresponding station information in the regulation and control information corresponding table with the alarm information actually presented by the monitoring background, and further judges whether the configuration of the telecontrol device is correct or not through consistency check.
Drawings
FIG. 1 is a schematic diagram of a remote signaling function;
fig. 2 is a diagram of a telemechanical device forwarding relation table generation process;
FIG. 3 is an IED simulation tool design framework diagram;
FIG. 4 is a functional block diagram of an IEC104 Master station simulation system;
fig. 5 is a diagram of an APDU structure;
FIG. 6 is a diagram of a U frame control field format;
FIG. 7 is a diagram of an I-frame control field format;
FIG. 8 is a diagram of an S-frame message control domain;
FIG. 9 is a diagram of an I-frame ASDU structure;
FIG. 10 is a flow chart of the process of IEC104 message storing into a fabric IEC _ APDU;
FIG. 11 is a diagram of a U/S frame parsing process;
FIG. 12 is a diagram of an I-frame parsing process;
FIG. 13 is a U frame start command diagram;
FIG. 14 is a diagram of an I-frame recall command;
FIG. 15 is a diagram of background scanning and verification wiring for data network shutdown and monitoring
FIG. 16 is a schedule-to-point wiring diagram;
FIG. 17 is a diagram of data element values;
fig. 18 is a diagram of an MMS decoding process;
FIG. 19 is a diagram of an incoming MMS peer-to-peer table creation process;
FIG. 20 is a remote signaling simulation flow chart;
FIG. 21 is a telemetry simulation flow chart;
fig. 22 is a remote control simulation processing flowchart.
Detailed Description
The invention is further described below with reference to specific examples.
The IEC104 master station simulation technology has the function of 104 clients, can receive and analyze telemetering and remote signaling messages sent by a data gateway machine and a spacer layer device, sends a remote control command, and simultaneously records a test process.
The MMS server simulation technology has the function of simulating the MMS server, and can simultaneously simulate the three remote functions of the interlayer equipment of the whole station.
The telecontrol forwarding table rapid generation technology and the IED information total station scanning technology rapidly and automatically transmit all telemetering and telesignaling signals, and meanwhile, the telecontrol device forwards information and imports a monitoring background recording file to automatically generate the corresponding relation between the monitoring background information and the telecontrol information.
A main station information joint debugging decoupling method adopts a substation telecontrol information intelligent joint debugging device, can be simultaneously accessed into a 104 double network and an MMS double network, and truly reproduces a field application scene.
Embodiment 1, a master station information joint debugging decoupling method, the method includes the following steps:
(1) scanning and verifying the data gateway machine and the monitoring background in advance by using an IED simulation tool and software simulating a master station tool, and correcting the found problems in advance;
as shown in fig. 15, a point table and an SCD file are imported into an IED simulation tool, a device on an inter-station layer is simulated to scan signals from a total station, a loop data gateway sends a signal to be scheduled 104, a loop monitoring background alarm record file, and a forwarding correspondence table of intra-station signals and scheduling signals is generated in a matching manner with reference to the point table. Checking the forwarding corresponding table, finding out problems, correcting, scanning, and repeating the steps until the forwarding corresponding table is correct;
(2) simulating interlayer equipment in the station by using an IED simulation tool, performing point alignment with scheduling through a data network shutdown, and simultaneously accessing a monitoring background for secondary check;
as shown in fig. 16, an SCD file, a point table, and a forwarding correspondence table that is correctly checked are imported on the IED simulation tool, and the IED simulation tool triggers a signal to point with the schedule and simultaneously observes the monitoring background to perform secondary check.
Configuring an analog master station: before the dispatching data network is switched on, the problem of data network shutdown configuration is found out in advance, and the process is as follows: when a master station is simulated, a scheduling point table is imported into software of a simulation master station tool, the simulation master station (comprising a telecontrol device IP, a simulation master station IP, a station address, a gateway and a simulation master station mask) is configured, after the configuration, connection is initiated to a data network shutdown machine and is always called, the normal 104 connection is realized with the data network shutdown machine, before the data network is scheduled to be switched on, the configuration problem of the data network shutdown machine is found out in advance, the follow-up positioning problem is facilitated, and the time of a scheduling channel is reduced.
Scanning the total station signals comprises remote measurement, remote signaling, scanning of remote control signals and automatic point alignment.
Remote signaling scanning checking and point aligning: remote signaling scanning checking, automatically scanning a remote signaling configuration relation of a data network machine through spacing equipment in a simulation station, wherein the wiring mode is shown as figure 16, the statistics of remote signaling scanning results are shown as figure 17, and in the remote signaling configuration, 12 items in total have configuration problems (no mismatch);
after the scheduling channel is built, if the configuration is used for point alignment with the master station, a large amount of time is consumed for finding a positioning problem during remote signaling point alignment. And when an intelligent point-to-point mode is adopted, the data network machine can be brought into a checking object before a dispatching channel is built, the configuration problem of the data network machine can be searched in advance, accurately and in batch, and a large amount of time is saved for the whole point-to-point link.
And aiming at the problems found in the scanning, carrying out problem positioning:
A) checking configuration integrity and validation issues
And checking the 12 point meter numbers which are not scanned to have corresponding relations with an integration manufacturer and a debugging unit one by one, wherein the 12 point meter signals have no corresponding signals in the station.
B) Checking configuration error problems
And after the integrity of the configuration and the effective configuration problem are checked, checking the configuration error problem, and checking the data network shutdown configuration with an integration manufacturer and a debugging specialist.
After checking, the configuration of the data network gateway machine of the station is correct.
Remote signaling point-to-point: as shown in fig. 2, an IED adding amount is simulated by an IED simulation tool, and a scheduling master station receives 104 signals sent by a data gateway machine, monitors background information, and performs peer-to-peer with the scheduling master station.
When remote signaling point-to-point is carried out, the intelligent point-to-point mode is as follows:
1) before the channel of the dispatching network is complete, the data network shutdown machine is tested, the configuration error of the data network shutdown machine is checked, and the pressure caused by the urgent follow-up time is reduced;
2) the manpower requirement for remote signaling point alignment is greatly reduced;
3) the time required for remote signaling point-to-point is greatly shortened.
Remote measuring scanning checking and aligning
Remote sensing scanning and checking: the configuration relationship is telemetered by automatically scanning a data network shutdown through a spacer device in a simulation station, and the wiring mode is as shown in figure 2.
Through checking, the corresponding relation between the signals of the regulation and control point table and the signals in the station is correct, and the remote measurement configuration is correct if the signals are not matched.
Telemetering intelligent point alignment: and simulating the IED adding quantity through an IED simulation tool, receiving 104 signals sent by the data gateway machine by the scheduling master station, monitoring background information and finishing point alignment with the scheduling master station.
When remote measurement is performed for point alignment, the intelligent point alignment mode is as follows:
1) before the channel of the dispatching network is complete, the data network shutdown machine is tested, the configuration error of the data network shutdown machine is checked, and the pressure caused by the urgent follow-up time is reduced;
2) the manpower requirement for remote measurement and point alignment is greatly reduced;
3) the time required for telemetering and pointing is greatly shortened.
Remote control checking: checking the remote control correctness in advance, and sending a remote control command to the data gateway machine through the simulation master station; the software of the simulation master station sends a remote control command, checks the response of the monitoring background light word board, receives a switch deflection signal sent by the data network shutdown machine, and verifies the validity and the correctness of the configuration of the data network shutdown machine. After checking, the remote control configuration of the Junt data network machine is all correct.
When remote control point alignment is carried out, the intelligent point alignment mode is as follows:
1) before the channel of the dispatching network is complete, the data network shutdown machine can be tested, the remote control configuration error of the data network shutdown machine is checked, and the pressure caused by the urgent follow-up time is reduced;
2) the verification of remote control relates to the whole signal loop, and comprises the steps of descending a remote control command through a network shutdown machine, associating state positions by primary equipment, transmitting position information, and transmitting associated remote signaling by the network shutdown machine, wherein the intelligent point-to-point mode can verify the whole signal link in advance.
The IED simulation tool sends MMS messages to the monitoring background and the client side of the telecontrol device through a station control layer network by simulating an MMS server side of an IEC61850 protection and measurement and control device, the IED simulation tool comprises a simulation operation module, an operation management function module and a model analysis function module, the simulation operation module is connected to the client side through an MMS network communication module, and the operation management function module is connected to the simulation operation module and the model analysis function module.
The joint debugging decoupling method can reduce the joint debugging time of single telecontrol information from 15-20 seconds to 6-8 seconds, and about 50 IEDs (only protecting measurement and control, without a merging unit and an intelligent terminal), 3000 remote signaling and remote measuring are provided by taking a 110kV transformer substation as an example. And calculating the effective working time (master station debugging personnel cannot be put into debugging all day) of each day according to the monitoring system linkage test for 3 hours, and reducing the total station telemechanical information linkage debugging time (without factory configuration and defect elimination) from 4.2-5.5 days to 1.7-2.2 days before and after application.
Example 2: as shown in fig. 2 to 3, a remote signaling configuration fast checking system for a remote control device includes an IED simulation tool, an analog master tool, and a multi-data source offline processing tool, wherein the IED simulation tool is connected to a monitoring back-end, the remote control device, and the multi-data source offline processing tool, and the analog master tool is connected to the remote control device and the multi-data source offline processing tool. It is seen that the technical scheme relates to a plurality of data sources of simulation tool record files, monitoring background record files, simulation master station record files and a regulation and control information table, wherein f1, f2, f3 and f4 are used for representing the 4 files, and d1, d2 and d3 are used for representing information description of a certain piece of information in f1, f2 and f 4. Analyzing the description elements of the information in f1, f2, f3 and f4 can find that all files can be concatenated by two elements with uniqueness, i.e. the SOE timestamp and the 104 address. The concrete links are shown in fig. 2.
The basis of all the work is the regulation and control information correspondence table (i.e. f4 file). Taking a certain piece of information as an example, starting from f4, finding the position of the same 104 address in f3 according to the 104 address in f4, and determining the SOE time of the piece of information; and further finding the information record of the same SOE time in f1 and f2 according to the SOE time, so that d1, d2 and d3 of the same 104 address and the information of the same SOE time in f1, f2 and f4 can be extracted and checked and judged.
Because the description of the object is not standard when the integrator makes the SCD file, the description of the monitoring background database measuring point is manually input, and the like, the description of the same signal can be different among the three parts of d1, d2 and d 3. In the traditional mode of the joint debugging work of the regulation and control information, a debugging person judges whether the forwarding of the telecontrol device is correct or not by manually judging whether d2 and d3 represent the same meaning or not.
If d2 and d3 in a record are determined to represent the same meaning, it indicates that the 104 address of the record is correctly associated with the data path of the DO object in the SCD, which is the core of the telecontrol information coordination work.
As a simple example, according to a debugging report output after a certain test, it can be seen that the description of d3 and d2 does not correspond to the point with the address of 104 being 233, which indicates that the telecontrol device has a mismatch to the point; and the point with the address of 234 of 104 should have 2 pieces of in-station corresponding information according to the regulation and control information table, but only one piece of in-station information is related through test, and the condition of missing distribution exists. Similar situations need to be found in the checking of telesignalling configurations for telematic devices, and these incorrectly correlated situations should be fed back to the telemechanical device manufacturer engineer to be modified.
The IED simulation tool sends MMS messages to the monitoring background and the client side of the telecontrol device through a station control layer network by simulating an MMS server side of an IEC61850 protection and measurement and control device, the IED simulation tool comprises a simulation operation module, an operation management function module and a model analysis function module, the simulation operation module is connected to the client side through an MMS network communication module, and the operation management function module is connected to the simulation operation module and the model analysis function module. Simulation tool design framework referring to fig. 3, the implementation method of the IED simulation tool includes the following steps:
(1) importing and analyzing an SCD file, checking the legality of the file, analyzing a model file, constructing a data model required by simulation according to Q/GDW 1396-;
(2) the simulation operation management function module enables the simulation process to be developed in a manual test or automatic test mode, the automatic test mode mainly realizes the point-by-point transmission of the total station information, namely a panoramic information scanning mode, and ensures that all signals analyzed by the model are automatically marked with tools, unique and special SOE time is sequentially moved once by the displacement setting of total variation 0, total variation 1 or self-resetting variation (firstly variation 1 and then variation 0); the manual test freely configures a test strategy to meet the operation requirements of single-point test, multi-point test, batch processing and manual definition of SOE time;
(3) the simulation operation management function module imports an actual mapping table formed after an off-line checking process of total station remote signaling configuration, and provides technical support for on-line checking with a real remote scheduling master station at a later stage;
(4) the simulation operation module enables the message output of the simulation tool to send messages according to the customized requirement according to the sending strategy set by the operation management function module, and the messages are continuously sent at set time intervals (such as 30 ms);
(5) the MMS network communication module ensures normal MMS communication between the simulation tool and the client according to the communication service standard in IEC 61850;
(6) the simulation tool records all MMS interactive processes and generates a simulation tool record file.
The IEC104 simulation master station tool mainly realizes the function of simulating a remote dispatching master station, supports the current mainstream power telecontrol protocol (such as DL/T6345104-2009 part 5-104 of telecontrol equipment and a system, namely IEC60870-5-104 network access of which the transmission protocol adopts a standard transmission protocol subset), has the functions of message analysis and record storage, and can analyze 104 messages sent by a telecontrol device in real time and store 104 address and point number displacement conditions as a simulation master station record file.
The multi-data-source off-line processing tool is a brain of a debugging system, and is used for realizing association and analysis work among simulation tool record files, monitoring background record files, simulation main station record files and a regulation and control information table issued by a regulation and control center, which are generated in the debugging process.
The off-line processing tool with multiple data sources can automatically output two documents, one is a debugging report, the report shows 104 addresses, the content of three information descriptions d1, d2 and d3 of a certain piece of information in a simulation tool recording file, a monitoring background recording file and a regulation and control information table and the machine judgment result of the matching degree of the machine on the three information descriptions d1, d2 and d 3; the other is the actual mapping table, where 104 addresses and data paths (references) of corresponding signals are presented; the debugging report is used for engineering debugging personnel to review, serves as a basis for modifying the error configuration in the telemechanical device, can also synchronously find the description error or default problem of the 61850 object in the SCD file, helps an integrator to complete SCD in time, and leads the actual mapping table into an IED simulation tool, so that convenience is provided for later-stage auxiliary online information joint debugging work.
Example 3: a fast check method of a telesignaling configuration fast check system of a telecontrol device comprises the following steps: obtaining configured actual forwarding relations in a complete telecontrol device by a panoramic information scanning mode, finishing checking work by judging whether the forwarding relations are consistent with the contents in a regulation and control information corresponding table, theoretically, shifting a DO object at a plant station end can trigger 104 information transmission corresponding to one time through the telecontrol device, obtaining all telecommand signals of the plant station end by reading an SCD file, simulating to generate signal shifting one by one in an extremely short time interval, sending total station MMS information with a specific SOE (event sequence record) time scale to the telecontrol device and a station monitoring background for recording, enabling data of different data sources to be closely associated by utilizing uniqueness of factors of SOE time and 104 point number, presenting configuration association of 104 addresses in the telecontrol device and DO object data paths in a corresponding 61850 model file, and describing and associating corresponding station information in the regulation and control information corresponding table with alarm information actually presented by monitoring Further, whether or not the layout of the telecontrol device is correct is determined by the consistency check.
A quick check method of a telecontrol device remote signaling configuration quick check system realizes closed-loop debugging of an offline quick check process of total station remote signaling configuration in a telecontrol device, and comprises the following specific steps:
(1) an IED simulation tool is adopted to simulate a required data model by importing an SCD file, preprocessing is carried out, and all remote signaling signals of the total station are determined;
(2) an IED simulation tool is adopted to send MMS messages with specific SOE time scales to a monitoring background and a telecontrol device as required through a station control layer network, namely panoramic information scanning is realized during a total station test;
(3) adopting an IED simulation tool to record operation records while sending MMS messages to a monitoring background and a client of a telecontrol device, and forming a simulation tool record file;
(4) after receiving the MMS message, the telecontrol device forwards 104 the message to the simulation master station tool according to a remote signaling forwarding table configured in the device;
(5) after receiving the MMS message, the monitoring background stores the real-time measuring point change record configured in the monitoring host database to form a monitoring background record file;
(6) the simulation master station tool analyzes the received 104 messages and records 104 addresses and displacement conditions to form a simulation master station record file;
(7) reading a regulation and control information table, a simulation tool record file, a monitoring background record file and a simulation main station record file by the multi-data-source off-line processing tool, and performing signal association and verification according to the uniqueness of the SOE time scale and the element of the 104 address;
(8) automatically issuing a debugging report by the multi-data source offline processing tool for the engineering debugging personnel to check;
(9) the off-line processing tool with multiple data sources gives an actual mapping table of the telecontrol device which is tested and verified;
(10) the actual mapping table can be led back to an IED simulation tool, and support is provided for online checking between the later station and the dispatching master station.
The provided telesignaling configuration rapid checking method for the telesignaling device realizes innovation in a debugging mode, overcomes the defects existing in the traditional debugging mode, and is embodied in the following aspects:
(1) the remote signaling configuration checking work of the telemechanical device is offline and mechanized. The IED simulation tool of the intelligent debugging system of the intelligent station telemechanical information is relied on, so that the constraints of devices such as on-site actual protection, measurement and control are eliminated, and the influence of other debugging works of a station end is avoided; by means of the simulation master station tool, shackles of the master station and the factory station which need to keep communication constantly are eliminated, and time of workers at the master station end is saved;
(2) the remote signaling configuration checking work of the telecontrol device is more complete. Panoramic scanning of the information of the whole station is realized through an IED simulation tool, and the condition that manual checking possibly occurs to miss checking in a traditional mode is avoided;
(3) the debugging time of the information joint debugging work is shortened, and the debugging period is optimized. The offline development mode of the checking work supports information joint debugging work which is not influenced by other debugging work and can be independently developed without being placed at the final stage of engineering debugging;
therefore, the mode innovation can enable the telecontrol information joint debugging work to get rid of the interference of human factors as far as possible, greatly liberates manpower and time, and effectively improves the efficiency and reliability of the substation telecontrol information checking work.
Example 4: as shown in fig. 4-14, the simulation master station tool includes a message receiving module, a message analyzing module, a message simulation sending module, a communication module, a message storage module, and a human-computer interaction interface; a message receiving module: the IEC104 message sent by the remote mobile is received through the communication module, the message is classified and stored by using a corresponding data structure, and the IEC104 message can be sent to the message analysis module for message analysis, or the original message is stored in an IEC104 message storage library; a message analysis module: classifying and analyzing the IEC104 messages, displaying original messages and message meanings represented by each byte of each original message through a human-computer interaction interface, and finally enabling information values in the analyzed IEC104 messages to correspond to a transformer substation table and transmitting the information values into an IEC104 message storage library to generate a master station point-to-point table; a message simulation sending module: the messages such as time synchronization, general calling, remote control, remote regulation and the like sent by the telecontrol machine are sent; a message storage module: storing the original IEC104 message and the analyzed IEC104 message in real time, classifying, searching, comparing and analyzing the messages according to the type and time mode of the historical messages, and generating a master station peer-to-peer table; a communication module: establishing TCP/IP connection with the remote controller to realize the receiving and sending of IEC104 messages; a human-computer interaction interface: and providing a man-machine interaction interface, displaying functions of each module in a centralized manner, reading message information received and sent and content of message analysis by a tester through the interaction interface, and searching historical messages by calling an IEC104 storage library. The simulation master station tool has the function of 104 client sides, can receive and analyze remote measuring and remote signaling messages sent by the data network shutdown device and the spacer layer device, sends remote control commands and simultaneously records the test process.
The method for realizing the message receiving module of the IEC104 master station comprises the following steps:
according to the IEC60870-5-104 specification, the communication between the dispatching master station and the telecontrol equipment is divided into two modes of peer-to-peer communication and master-slave communication. The simulated IEC104 master station designed by the invention is used as a client, and the telecontrol machine is used as a server for network communication, so that the IEC104 message between the simulated IEC104 master station and the telecontrol machine can be received and transmitted.
The invention realizes network programming by relying on a QT platform, and QT provides two categories of QTCPsocket and QTCPServer. Respectively for implementing a client and a server of TCP. The QTCPSocket and the QTCPserver indirectly inherit QIODevice, and can use QDataStream and QTextStream to read and write network data. The QT is programmed in the network using a signal-to-slot messaging mechanism, and a connection () function of QObject class associates signals with slots. The self-defined slot function responds to connected (), disconnected (), readyRead () signals provided by QTCPSocket. The slot function is shown in table 1.
TABLE 1 signals and corresponding custom slots
Slot function Signal Functional description of functions
void onConnectTCP() connected() Responsive to TCP connection success
onDisconnectTCP() disconnected() Responding to TCP connection failures
Void onTcpReady() readyRead() Responding to receiving a new data message
The implementation process of simulating the IEC104 master station as the client to perform network communication is shown by the following codes: firstly, creating a corresponding instance object by using a QTCPSocket class; secondly, configuring a network port and an IP address, wherein the port number specified by IEC104 is 2404; calling a QTCPSocket class object to call a connectToHost () function to connect a server; the Connect () function associates a signal with a slot; and finally, the QTCPSocket class object calls a closed connection () function to close the TCP connection.
If the TCP connection is successful, the QTCPSocket object sends a concatenated () signal; if the connection fails, the QTCPSocket object sends an error () signal; when the client receives the data, the QTCPSocket object sends a readyRead () signal; when an error occurs in the connection process, the QTCPSocket object sends out a disconnected () signal. And after success, adding corresponding functions in the slot functions corresponding to the connected/error signals to realize TCP connection.
After the client is successfully connected with the server, when receiving data, the user-defined slot function onTcpReady () receives a readyRead () signal sent by the QTCPSocket object. The write () function of the QIODevice class is called in the onTcpReady () function, and the read () function reads and writes data with the server. In order to ensure that the IEC104 data block can be transmitted completely, the data type is quick 64.
Figure RE-GDA0003464876260000081
Figure RE-GDA0003464876260000091
IEC104 message parsing
The IEC104 message is composed of data frames in three formats, I frame, S frame and U frame. The lengths of the U frame and the S frame are fixed, and the structure is simpler. An I-frame is a data frame containing application data units, and its length is variable and its content is complex. When the IEC104 message is analyzed, the three messages are classified and analyzed, and the complex I frame structure is stored by using the corresponding structure body, so that the method is gradually simplified and the analysis is finally completed.
IEC60870-5-104 application protocol data unit structure
The IEC60870-5-104 message data model is derived from the open systems interconnection model ISO-OSI, telecontrol equipment and the 5 th-104 th part of the system: the transmission protocol specifies that the IEC60870-5-104 data frame has only three layers, which respectively correspond to a physical layer, a link layer and an application layer in the network ISO.
The IEC60870-5-104 application data structure unit APDU corresponds to an application layer in network transmission and is composed of application protocol control information APCI and an application service data unit ASDU. The basic Application Protocol Data Unit (APDU) has two forms, one consisting of only an APCI and the other consisting of one APCI and one or more ASDUs. The APCI takes 6 bytes, has a fixed structure, and consists of a start character 68H, an APDU length and 4 control fields. The application protocol data unit APDU structure is shown in figure 5.
Application protocol control information APCI: the IEC60870-5-104 application protocol control information APCI consists of a start character 68H, an APDU length, 4 control fields.
(1) The first byte start character 0x68 is converted to decimal 104, which indicates that the transmission message is an IEC104 message.
(2) The second byte is the length of the APDU, and the length of the APDU except the first two bytes is the sum of the lengths of the control field and the ASDU. An APDU length of the IEC60870-5-104 message is specified to be 255 bytes or less, so the value range of the APDU length should be 4-253.
(3) The four control domains occupy four bytes in total, and the control domains contain control information of message receiving and sending so as to ensure that the messages are not lost and retransmitted, and also contain control information of the messages, such as message transmission starting and stopping, message link test and the like. According to the different meanings and formats of the control domain, three general different types of message formats are defined. Which are respectively as follows: information Transmit Format (no number control function Format frame), U frame, number super function functions, S frame.
The U frame has a control function, and the control station controls the slave station to perform message transmission through U (STARTDT) (starting data transmission) and U (STOPDT) (stopping data transmission). And meanwhile, when the message transmission of the two stations reaches the maximum no-load timeout time t3, the control station performs a link test by starting U (TESTFR). The U frame is a frame with a unnumbered format, and the function of counting the received and transmitted messages cannot be realized. Fig. 6 shows a U-frame control field format.
The I frame message is used for ASDU information transmission, the I frame definition control field is formed by a message sending sequence number and a message receiving sequence number, and fig. 7 is an I frame format.
The S-frame message has a number information monitoring function. The S-frame definition is determined by whether the 1 st bit in the first octet control field is a1 and whether the 2 nd bit is a 0. Fig. 8 shows the S-frame control field information, which only contains APCI data.
Application service data unit, ASDU: according to the above description, only the I-format frames in the IEC104 message have ASDUs. The I-frame message data frame application service data unit, ASDU, is composed of a data unit identity, one or more bodies of information, and its general structure is shown in fig. 9.
The data unit identifier includes a type identifier, a variable structure qualifier, a transmission reason, and an information public address, and the following describes the above four types of identifiers.
(1) Type identification
The type identifier identifies the ASDU type of the IEC104 message, which occupies one byte. The message analysis function of the IEC10104 master station module is simulated in the invention, mainly aiming at the process information transmitted from the substation to the master station, the process information transmitted from the master station to the substation, the system information in the monitoring direction from the substation to the master station and the system information in the control direction from the master station to the substation, wherein the information of the four aspects is listed in Table 2. The 104 analog master station message parsing module realizes parsing of the ASDU type message information in table 2.
TABLE 2 ASDU types of IEC104
Figure RE-GDA0003464876260000101
(2) Qualifier with variable structure
The variable structure qualifier occupies one byte, 1-7 bits represent the number of information bodies, the highest bit represents the arrangement mode of the information bodies, SQ is 1 represents that the information bodies in the ASDU are continuous, and the address of the former information body is added with 1 to obtain the address of the latter information body. SQ of 0 means that the information body in the ASDU is discrete, each information object address to be identified in the information body.
(3) Reason for transmission
The transfer reason takes two bytes. Wherein the first byte is a transmission reason, and 1-6 bits are a transmission reason identifier; the 7 th bit P/N is 0, and 1, a positive acknowledgement and a negative acknowledgement. The highest bit T indicates whether or not the test is performed, T is 0 indicating that the test is performed, and T is 1 indicating that the value is not in the test.
The second byte represents the source address, which represents the master address of the message response and is rarely used. The case not generally used sets it to 0.
(4) Information public address
The information public address occupies two bytes, the most significant byte is 0, the public information address is stored in the low-significant octet, and the range of the public information address is 0-255.
The application data service unit, ASDU, body of an I-frame typically consists of three parts, a body address, an information element and a body time stamp. The body address typically takes 3 bytes. When the number of information bodies is more than 1, the composition forms are divided into two types: one is that the address of the information body is continuous, only the first information body has the address of the information body, the other information bodies do not contain an item of the address of the information body, the address of the information body is obtained by adding 1 to the address of the information body; another is the address discretization of the information bodies, in which case each information body should contain the address of the information body.
IEC104 message parsing is realized: the IEC104 message analysis implementation is divided into two steps, firstly, when an IEC104 simulation master station serves as a client to receive an IEC104 message sent by a telemobile, a readyReady () signal is sent out, and a self-defined slot onTcpReady () receives the signal. At this time, the remote mobile uploading IEC104 message is stored in the self-defined structure IEC _ APDU in the function ontTcpReady (). Then, frames in different formats corresponding to IEC104 are classified, different parsing functions are called for the frames in different formats, and parsing is finally completed.
(1) Structure IEC _ APDU
The format of U frame and S frame in IEC104 message is simple and only has APCI part, and APCI has the same sequential structure. The I frame has an application data unit (ASDU) besides the APCI, the number, the length and the content of information bodies of different types of ASDUs are greatly different, and the storage of various types of message information of the IEC104 by using a uniform structure body has certain difficulty. However, if a plurality of structural bodies are adopted to define each type of IEC104 messages, the analysis process is complicated, and the speed during analysis is also affected. When the structure IEC _ APDU is designed to store the IEC104 message, the idea of a complex is adopted, so that different types of data frames can be stored in the structure.
And filtering other data frames except IEC104 by the length of the APDU of the message header and storing the IEC104 data frames in the structure IEC _ APDU. The specific storage process is as follows: after TCP connection is successful, defining a structural body IEC _ APDU object, storing IEC104 data frames into the IEC _ APDU one by using a read () function in QTcp Socket, firstly, storing a message header into the APDU-start to judge whether the message header is 0x68 or not, if so, storing a second byte of a continuous message into the APDU, and if not, returning to carry out a new round of reading the message continuously. Length, whether the length is less than 4 is judged, if so, a new round of message reading is returned, and otherwise, the rest data frames of the IEC104 message are read into the IEC _ APDU, as shown in fig. 10.
The ASDU data identification units of different I frames have the same composition sequence, the invention defines a structural body IEC _ ASDU _ TYPE, which comprises an I frame ASDU data identification unit, which is defined as follows:
Figure RE-GDA0003464876260000111
(2) ASDU information body structure
The reason why the structure of the ASDU of the I-frame is complicated is that the body addresses are divided into discrete and continuous, and the length and content of the information elements are different. The following describes the information structure and content of the ASDU of the I-frame, and further describes the design process of IEC104 message storage data structure IEC _ APDU according to the present invention, for example, for the single-point information (type identifier < 1 >: M _ SPNA 1).
The single-point information body is divided into a discrete type and a continuous type, and the table 3 shows a single-point information ASDU structure with a discrete information body address and SQ being 0. Table 4 shows a single-point information ASDU structure in which SQ is 1 and the information body addresses are consecutive. Each body in table 3 is composed of two parts, an information address occupying three bytes and an information element occupying one byte. The first information body in table 4 is composed of an information address and information elements occupying 3 bytes, the following N-1 information bodies are composed of only N-1 information elements, and the information address is obtained by adding one to the previous information address.
TABLE 3 SQ-0 discrete ASDU
Figure RE-GDA0003464876260000121
TABLE 4 SQ ═ 1 continuous ASDU
Figure RE-GDA0003464876260000122
Each bit of the information element is defined as follows:
first SPI: 0-1, 0, OFF, 1, ON;
the second to fourth bits are fixed values of zero;
the fifth bit BL is < 0-1 >, < 0 >, < 1 >, < i;
the sixth position SB < 0-1 >, < 0 >, < 1 ═ substituted
The seventh position NT < 0-1 >, < 0 >, < 1 ═ nonce
Eighth bit IV < 0-1 >, < 0 >, < 1 ═ valid
Different types of ASDUs are identified by ASDU first bytes, and have different information elements, and the length and the content of the information elements are different, so that the same structural body is difficult to define uniformly. In the process of implementing message analysis, the information elements of different TYPEs of ASDUs are respectively defined by different structural bodies, for example, the information element of single-point information is defined by the structural body IEC _ TYPE1, the information element of double-point remote signaling is defined by IEC _ TYPE3, the information element of step information is defined by IEC _ TYPE5, and the like. The types of the ASDUs used for simulating the IEC104 master station software module are described above, and the structure body for the information elements is defined in the present invention. The following are structural bodies corresponding to the information elements of the single-point information, and parameters in the structural bodies correspond to the content of the single-point information elements one to one:
the variables of start, length, NS and NR in the IEC104 message storage structure IEC _ APDU defined by the invention correspond to a header, an ASDU length, an order sending and an order receiving in sequence according to the composition order of APCI in the APDU; the data type IEC _ ASDU in the IEC _ APDU is the ASDU data unit identification part defined by the invention; the complex SQL part of the IEC _ APDU corresponds to the body part of the I-frame ASDU.
The omitted part of the IEC _ APDU complex SQL is a structure body corresponding to the information bodies of different types of ASDUs. The invention defines the information body elements according to different information identifiers as different data structures-the structure IEC _ TYPE1 introduced above represents a single-point telecommand information content. The invention defines a powerful data structure IEC _ APDU, and stores ASDUs of different types by using the structure when reading I frame messages.
The IEC _ APDU is characterized in that the united body SQL in the structural body is dynamically allocated with the memory according to different storage variables, and when different types of ASDUs are stored, the information can be respectively stored in the corresponding structural bodies.
The structure analyzes discrete single-point remote signaling and continuous single-point remote signaling respectively. When discrete single-point remote signaling SQ is stored as 0, each information body of the discrete single-point remote signaling consists of an information address and information content, when the IEC _ APDU structure is called to store the information body, the association allocates memory according to the reality, at the moment, the association actually uses the structure array nsq1[ ] to store each discrete information body, and each array element nsq1[ ] contains a high address bit ioa16, a low address bit ioa16, a IEC _ type1 type variable obj, and corresponds to the information body address and the information element of one discrete single-point remote signaling information body respectively.
When storing the continuous single-point remote signaling SQ1, the complex actually performs memory allocation, and at this time, the complex actually stores the continuous information using the structure SQ 1. Ioa16 and ioa8 of the structure sq1 correspond to the information address of the first information body of the continuous single-point information, and the array obj [ ] of the iec _ type1 type corresponds to N information elements storing the continuous information bodies.
(3) U-frame, S-frame parsing
The U-frame, S-frame module control field is the 3 rd byte position of the APCI, including control information (V-validate (activate) C-acknowledge), command (TEST-TEST STOP-START). U, S analyzing frame, judging the value of first IEC _ APDU- > NS of control domain, outputting analyzed message information when the message received by the simulating master station is request start frame and test frame, sending confirmation request frame and link confirmation frame to the sub station for confirmation, and ending message analysis. And outputting the analyzed message information in other cases, and ending the analysis of the message, as shown in fig. 11.
(4) I-frame parsing
The I-frame analysis process is to store the I-frame APDU in the corresponding data structure IEC _ APDU in sequence and analyze the I-frame APDU one by one, and the specific flow is as follows: firstly, analyzing the transmission sequence number of the message in the APCI; then, analyzing a structural body IEC _ ASDU _ TYPE in the IEC _ APDU, storing I-frame ASDU header information in the IEC _ ASDU _ TYPE, and sequentially analyzing the TYPE, the variable structure, the transmission reason and the public information body address; finally, judging the type of the information body through SQ, and respectively reading the addresses of the information body; and analyzing different types of information bodies corresponding to different data structures to obtain specific information contents. Fig. 12 is a diagram of an I-frame parsing process.
IEC104 message repository: the IEC104 message storage library designed by the invention can store the original messages acquired by the message acquisition module in real time and store the analyzed IEC104 messages in a classified manner. Software operators can perform functions of history browsing, searching, deleting, generating column diagrams for comparison and the like on the stored messages. The IEC104 message repository should have both historical and real-time database functions.
The data storage method of the system comprises the following steps: the data of the power department enterprise has the characteristic of high real-time performance, so all real-time data need to be correspondingly changed along with the change of the state of the controlled object. For this real-time data, for example, data of 32-bit floating point type, which requires 1000 points to be collected, the collection frequency is 0.2Hz, the data amount per day is 1000 × 60 × 24 × 4/1024 — 67500K, and the data amount is about 67.5M, and these data are data that continuously increases and changes day after day. While the traditional relational database cannot meet the requirement, the real-time database meets the requirement. Real-time databases are a branch of database system development that is suitable for handling constantly updated and rapidly changing data and in the case of transactions with time constraints.
The basic requirement of the system designed by the invention is to record the data message acquired from the power information system in real time and query and apply the data message at any time. The system can realize the functions of carrying out statistical analysis on the data, forming a data table or a trend curve and the like. For the functional requirement of real-time data recording, the invention adopts a storage method of a real-time database, and simultaneously, in view of the fact that the price of the current domestic popular real-time database product is very expensive, the idea of specially purchasing a set of real-time database products only based on the requirement is too waste. Therefore, the design automatically designs and develops a memory database by researching the design concept and the functional characteristics of the real-time database and combining the specific requirements of the system, and realizes real-time storage and processing of data in the memory by putting all the data into the memory. Meanwhile, a traditional relational database is introduced, data acquired from a memory database in real time are stored through an automatic scheduling system of the system, and finally, the processing processes of statistical analysis and the like of historical data are achieved.
In the conventional relational database, data is stored in a disk by operating disk I/O, and a memory database directly puts the data into a memory, so that the read-write speed is about 5 orders of magnitude higher. Because the data in the memory is volatile, the data stored in the memory will disappear immediately after the system is broken off, and will not be recovered even after power is turned on. Therefore, the system can save the data in time through the relational database, and reduce the data loss of the memory to the maximum extent.
The system only needs to record the description information, the polarity, the raw data, the data value and the quality bit of the data message in real time. Therefore, only one data table needs to be designed to fulfill the function requirement. The information of its database table is shown in table 5.
TABLE 5 database information Table
Column name Data type Integrity constraints
Mid INT Main code
Desc Vchar Non-empty
Polar BIT Non-empty
Data BIT Non-empty
DataValue BIT Non-empty
Quality BIT Non-empty
Create Date DATETIME Non-empty
According to the information in table 5, a database script of SQLServer is created, which is as follows:
CREATE TABLE MESSAGE(
Mid INT PRIMARYKEY,
Desc VCHAR NOTNULL,
Polar BIT NOT NULL,
Data BIT NOT NULL,
Data Value BIT NOT NULL,
Quality BIT NOT NULL,
CreateDate DATETIME);
as described above, the table design for the database is performed, and the table structures of the database tables of the in-memory database and the relational database are consistent.
The data storage of the system is realized as follows: the research and development of the system mainly use C + + programming language, and for the realization method of the memory database, an object-oriented thinking mode is used. According to the mode, firstly, a database table structure is abstracted into an entity type MESSAGE, then a Map container is constructed, KEY of the container is CreateDate in the database table structure, VALUE of the container is an object of the entity type MESSAGE, and according to the principle that the CreateDate of each record is different, the Map container can completely record each piece of data.
For the Data storage operation of the relational database SQL Server, the present design uses ado (activex Data object), which is an API proposed by Microsoft to achieve access to Data in a relational or non-relational database. In the system, each data record in the memory database can be successfully and completely stored by establishing the one-to-one corresponding relation between the entity type MESSAGE and the relational database data table and utilizing the related API of the ADO. The operation process is mainly divided into 4 steps: adding support for ADO, creating a data source connection, operating on a database in the data source, and closing the data source.
By the method, a large amount of data in the system can be successfully stored in real time, and for other applications (such as statistical analysis) of the data, the relevant data can be directly obtained from the database, and various forms of statistical analysis and other operations can be realized through programming.
IEC104 message simulation sending module: the message sending is used as the main function of the scheduling master station, and the working process is as follows: after the network connection is established between the scheduling master station and the telemechanical substation, the scheduling master station sends a link starting command in a U format to the slave station, then the master station sends a total calling command to the slave station, initiates total calling to the remote measurement and remote signaling of the slave station, and meanwhile the master station can also realize time setting of the master station and the slave station through issuing the time setting command and send the remote control command and the remote adjusting command to the slave station. The IEC104 message simulation sending function designed in the simulation IEC104 master station can send the messages to the master station, and a series of corresponding functions are realized.
Sending a U frame starting command: and when the TCP connection is successful, the man-machine friendly interface displays the TCP connection and pops up a TCP connection success dialog box. At this time, the software operator can click and send the U frame start command through the interface. The IEC104 analog messaging module generates a startup U frame with the first bit control field set to 0x 07. And message transmission between the master station and the substation is started, and an operator can judge whether the starting is successful according to whether a starting command confirmation frame of the substation is received or not. The specific process is shown in fig. 13.
Sending a total calling command: after the starting command sent by the IEC104 master station is simulated successfully, the human-computer interaction interface pops up a corresponding message analysis module to remind the user of successful starting, and at the moment, an operator can generate a total calling command message through the simulated message sending module to send the message until the substation receives the total calling confirmation naming sent by the substation. The type identifier and the transmission reason of the generated total recall command I frame message are set to 0x64 and 0x07, respectively. And the master station to be simulated receives a confirmation message of the total calling command of the telemechanical. The I frame recall command is shown in fig. 14.
Sending a remote control and remote regulation command: the analog message sending module can generate remote control and remote regulation commands of different ASDU types. Software users can send various remote control and remote measurement commands to the telecontrol machine through a man-machine interaction interface simulating the IEC104 main station.
Embodiment 5, the Manufacturing Message Specification (MMS) is used as an application layer protocol standard, which specifies the communication between the devices of multiple manufacturers and provides convenience for the intercommunication and interconnection of the devices. The IEC61850 standard introduces MMS into the power system automation, maps the ACSI core service to MMS, and effectively realizes the heterogeneous system communication.
With the popularization and application of the intelligent substation technology in the power industry, equipment of different manufacturers is based on the IEC61850 standard, and intercommunication and interconnection are realized; however, in the development, test and engineering deployment process of the intelligent substation equipment, research and development personnel and engineering implementation personnel also face a lot of problems.
1) Background monitoring system, communication manager developers and related detection and authentication mechanisms face the problem of how to conveniently and quickly set up a test environment to perform corresponding function/performance tests on the background monitoring system and the communication manager;
2) under the scene of joint debugging operation of the intelligent substation, engineering technicians also face the problems of how to quickly and efficiently check signals and investigate the compatibility of ICD (interface control document) configuration files of various manufacturers;
3) the improvement of power supply reliability requirements of each power supply company also faces the problem of how to complete database maintenance modification and signal check under the condition of interval uninterrupted power supply.
The project takes how to solve the problems as a starting point, designs and develops the station control layer simulation test system, and has important practical significance in the following operation scenes.
1) The method can be applied to checking the four-remote signal during the joint debugging operation of the transformer substation, and can conveniently and quickly check the problem that ICD files of various manufacturers are in communication with a background system.
2) After the database of the background monitoring system is reconfigured by substation operators, the checking work of four remote signals of the background database can be realized under the condition of interval uninterrupted power supply by the cooperation of the station control layer simulation test system.
3) The simulation test system can perform function/performance test on a background monitoring system, a telecontrol communication device and a credit protection management machine; research personnel or corresponding test certification agencies of the background monitoring system, the telemechanical communication device and the insurance management machine can build the simulation operation environment of a single or a plurality of transformer substations without consuming huge manpower and material resources, greatly quickens the test speed of the products, and promotes the improvement of the performance and the quality of the products.
4) The simulation test system can simulate various types of devices of the transformer substation and build a simulation operation environment of the transformer substation, so that the simulation test system can be used as a training auxiliary tool for new staff of an operation and maintenance unit of the power system and help the new staff to know the design framework and the operation condition of the transformer substation and the functions of the devices.
MMS (manufacturing message specification) server simulation method, MMS-EASE Lite is an important method for realizing IEC61850 by using MMS, mapping of an ACSI model of IEC61850 is realized, functions of telemetering, telecommand, remote control, valuing, wave recording service and the like of a digital device are transplanted based on MMS-EASE Lite, and simulation of MMS communication of the digital device is realized. The adopted simulation test system can obtain various parameters of the simulation device by analyzing an ICD template of the digital device, further load a 61850 server function module to realize the MMS communication function simulation of the device, bind the MMS communication process of each simulation device to a preset IP address on a computer network card, and realize the function of simulating a plurality of virtual devices by a single computer; and the MMS communication process of each virtual device establishes communication connection with the background monitoring system, the telecontrol communication management machine and the information-preserving management device through a TCP/IP protocol and carries out information interaction.
The MMS server simulation technology is realized by adopting a mode of layered design, is totally divided into 4 layers, is respectively a hardware layer, an operating system layer, an application supporting layer and an application layer from bottom to top, and has the following advantages:
1) the modular design makes system architecture more reasonable. In order to facilitate the loading of the simulation device and reduce the occupancy rate of system resources, the system is divided into a simulation device DLL function module and a test function management module during development, the basic function service and the call management module are reasonably separated, and great convenience is provided for the subsequent function expansion and management of the system.
2) Simple easy-to-use configuration uses an interface and powerful configuration management functions. The user only needs to import the ICD file to complete the establishment process of the virtual device, the operation interface of the simulation function refers to the operation habit design of the actual digital device, the operation and the use are easy, the powerful configuration management function is further realized on the basis of the basic virtual device function, and the user can conveniently store the test items so as to be beneficial to the expansion of the next test item.
3) Safe and stable, and high performance. By adopting a modularized and componentized design architecture, different functional components are loaded respectively when each simulation device runs and independently run in respective resource space respectively, so that the whole simulation system and other simulation modules are not influenced when the individual simulation modules are abnormal; the core communication functional component of the test system is developed by adopting C language, the code execution efficiency is high, the simulation system can be ensured to be under a lower hardware configuration environment (a PC can also run), higher performance and efficiency are realized, and the deployment scene of the software is greatly expanded.
And (3) SCD file analysis: the SCD file is used as a basis for reliable operation of the intelligent substation, and in the process of creating and changing the SCD file, besides the communication information is strictly configured according to the requirements of the design file and the connection correctness of the virtual terminal is verified, auxiliary verification measures are also needed to be adopted to ensure the rationality and the integrity of the SCD file.
The SCD file describes the information of the intelligent substation in a text mode, and can be viewed in a text or grid mode by using a universal XML analysis tool (such as XMLSpy). However, these two methods sequentially and hierarchically present information only in the order of the SCD itself, and have disadvantages of excessive nesting hierarchy, unclear structure, and the like. In order to facilitate field operation and enable debugging personnel to better view the information of the intelligent substation, the station side software adopts a special SCD file analysis tool to display the information according to categories in graphical forms such as a primary equipment table, a secondary equipment table, a communication sub-network and configuration, IED instance configuration, GOOSE/SV configuration, IED virtual terminal connection relation and the like in a graph, a table and the like.
The SCL language is XML-based, and thus, the SCD file includes three parts of a DTD (document type definition) file, an XML file, and a schema (style sheet) file.
1) DTD file
The DTD file defines tags and their attributes, which can accomplish the declaration marking task. A detailed definition of the DTD file in SCL language is given in the IEC61850-6 standard. Theoretically, the label and the attribute can be arbitrarily defined in the standard as required, but in practical application, the definition of the DTD has high difficulty, and the definition of the DTD includes usability and simplicity of the label, a good data model abstracted from a practical device, and the like, which all require a great deal of practical work experience. All devices supporting this standard will use the same DTD file.
2) XML file
The file is a label defined by a DTD file and is used for finishing a task of data object marking, namely describing data objects such as IEDs, systems and the like. XML files are strictly constrained by the definition of DTD. The IEC61850-6 standard does not specify functions nor function allocation, and the functions of each device are different and the LNs allocated to the IEDs are also different. Therefore, the content of the XML file is also different, but the IED has the capability to process the XML file.
3) schema file
The schema file is a document specially describing the structural document representation, and from the application point of view, the IED can directly process the SCL data file, and can normally operate and interact with the system as long as the required information is obtained, so the style sheet file is not generally necessary for the system. However, in order to standardize the format of the SCD file and avoid unnecessary errors, it is mandatory that the description of the SCD file should be consistent with the schema file.
SCL object model
According to the substation architecture, SCL describes three object models of substation, communication and IED.
The transformer substation model is mainly used for describing a functional structure of a transformer substation and identifying primary power equipment in the transformer substation and connection relations between the primary power equipment and the primary power equipment.
The communication model is mainly used for describing the connection established between the logic nodes through the logic bus and the IED access point. The communication structure specifically comprises an object model with information of mac address, IP address and subnet mask of IED, and client/server relationship between logical nodes.
Model information for each IED is described in the IED model, including report recipients, logical node instances, data object instances, and the like.
SCL data exchange mode
1) SCL information flow model
The communication transmission of the SCL file in the substation relates to three concepts of a system configuration tool, an IED configuration tool and an IED database.
The system configuration tool is a tool for performing configuration and management of a substation automation system using an SCL, and can input and output an SCL file defined according to the IEC61850-6 standard.
The IED configuration tool is an IED commissioning specific tool provided by the IED manufacturer, which can generate and download a specific IED description file (with ICD as a suffix SCL file) into the IED, while the ICD file can be provided to the system configuration tool and the SCD file generated from the system configuration tool can be processed.
The IED database is divided into a parameter database and a real-time database, wherein the parameter database is used for describing the transformer substation model and the communication model, and the real-time database is used for describing the IED model. The IED database includes various information data and attributes of the substation, which can be used for configuration tools and system calls.
2) SCL information flow procedure
The SCL data flow model does not contain a DTD file, and the XML file is a file which really contains configuration data and is also a main file participating in configuration data flow.
The IED configuration tool can acquire and send an ICD file of each IED to the system configuration tool, where the ICD file only contains basic information of the IED and related parameters (such as network parameters) are not set.
After receiving the ICD file of the whole station, the system configuration tool analyzes the information of each IED, acquires the information of each logic node and data object by combining an IED database to generate or manually input configuration information, and generates an SCD file and returns the SCD file to the IED configuration tool.
The SCD file may be accepted and processed by the IED configuration tool, which may generate a configuration file CID to be downloaded to a specific IED based on the obtained configuration information of each IED.
When the IED is started, the CID file is first parsed to obtain information, and IED initialization is performed according to the information, for example, network I/O is configured and started according to the obtained network parameters.
The IED can communicate with the IEC61850 client to interact data when in normal operation, the SCADA system can carry out parameter configuration according to the SCD file, and the parameter database and the real-time database are generated when the SCADA system runs in real time.
schema checking: the SCD file is described by adopting an XML format and comprises a plurality of elements, each element is required to be correctly nested, and the correct attribute is used, namely, the SCD file conforms to the basic syntax rule of the XML. In addition, the SCD file, which is a special file for the power system, should conform to various rules of schema in IEC61850.6, such as usable elements, hierarchical relationship of elements, element order, attribute of elements, whether the attribute is necessary or optional, and the like. Through schema inspection, the SCD file can be ensured to have good structure and complete information, which is also the basis for the SCD file to be correctly identified by other analysis and configuration tools.
Composition of Schema: in the IEC61850-6 standard, XML Schema is used to define the structure of SCL file, and modular method is used to decompose SCL document model into multiple style modules, each module becomes a Schema file (extension: xsd) individually, and 8 Schema files are used altogether, where scl.xsd is the main file, and the other 7 Schema files are contained by the main file as sub-modules, because all these Schema files belong to the same namespace, the relationship between the sub-modules and the main file is determined by the Schema containing element xs: include, and the Schema location attribute value of the element contains the file name. Each schema file and its description are shown in table 6.
Table 6 schema documents table
Figure RE-GDA0003464876260000181
The Schema checking mode: when data is sent from a sender to a recipient, the point is that both parties should have the same "expectation" about the content, all attributes being declared as easy types. A compound element refers to an XML element that contains other elements or attributes.
Simple elements cannot possess attributes. If an element has an attribute, it is treated as a compound type. But the attributes themselves are always declared as easy types.
Four types of complex elements:
1) a null element;
2) elements containing other elements;
3) elements that contain only text;
4) an element comprising an element and text.
Under the schema element, i.e. both the element and attribute of the top-level sub-element of the schema element are global, called global element and global attribute, you can refer to the indicator < sequence > directly in other type definitions, which means that the sub-elements must present the signals given by the component element in the order in which they are declared, in order to define or extend the content model < product progress of a certain compound type < 1345'/>.
3.2.5. Model static verification
The static checking of the model, also called offline checking, aims to check whether the model described by the SCD file meets the requirements of the actual project, and should not generate errors that make the project unable to be implemented, and includes the following checking:
1) information model consistency. The Logical Nodes (LN), Data Objects (DO), and Data Attributes (DA) referenced in the SCD file should comply with the specifications of IEC61850.7.3 and IEC61850.7.4. In addition to the information defined by the above standards, for the information extension of a specific application, the requirements of related standards should be satisfied, such as LN class, unified extended common data type (CDC), and unified defined DO and DA types defined in the Q/GDW 396IEC 61850 engineering relay protection application model of the national grid company. For the information which is not defined by the existing standard and is self-defined by a manufacturer, the requirement of relevant requirements on the expansion of the information model is met.
2) The uniqueness of the information. Certain information is unique in the SCD file, such as IED name, IP address of station control layer Access Point (AP), AP name under the same IED, name of Logical Device (LD) under the same AP, name of LN under the same LD, AppID, MAC address, ID of sampling value control block (SMVCB) and event control block (GSECB), and ID of fixed value control block (SGCB) and Report Control Block (RCB).
3) All APs, SMVCB, GSECB referenced under the Communication section must have definitions in the IED section.
4) The DA of LN, DO, enumeration and fabric types instantiated in the IED must have definitions in DataTypeTemplate and should not present data that is not present in DataTypeTemplate.
5) The logical node in which the data referenced in the dataset is located must be defined.
6) Virtual terminal data validity and connection validity. The input virtual terminals (internal terminals) of the IED and their interconnection relationships with the output virtual terminals (external terminals) of other IEDs are defined in the Inputs section of the SCD file, the input virtual terminals and the output virtual terminals should be defined and the data types should be the same.
7) The external terminals are members of the data set issued by the IED in which they are located.
8) The AppID of the SMVCB should be in the range of [0x 4000-0 x7fff ], and the AppID of the GSECB should be in the range of [0x 0000-0 x3fff ].
When the static model is checked, semantic judgment is mainly carried out on data information in the SCD file, and correctness of data assignment naming, whether the data assignment naming is renamed, undefined, data missing, irregular and the like are verified.
The main interface functions are as follows:
1) void PravateReferCount (). The Private node checks the validity of internal data, and quickly searches whether data naming and assignment are correct, whether the data naming and assignment have a duplicate name, are undefined and the like.
2) void communications refercount (). The Communication node checks whether Communication information such as SV, GOOSE, MMS and the like is perfect, defines validity, and judges whether undefined IED Communication information exists, such as no AppId exists, no related Address exists and the like.
3) void IEDReferCount (). And the IED node checks and processes, and judges whether the name is duplicated or not, the normalization, the legality and the integrity of the internal node and the like.
4) void Access PointReferent (). The AccessPoint node checks to see if the corresponding Communication is instantiated in the Communication node.
5) void FCDAReferCount (). And the FCDA node checks and judges whether statistics is carried out on whether a data source in a corresponding data set DataSet is found to obtain description information or not, and whether types are defined in a data template set DataTypetemplates or not.
6) void gsecontrolreferencount (). And the GSEControl node checks and processes the normative, the legality, the integrity and the like of the internal nodes of the data.
7) void SMVControlReferCount (). The sampledvluecontrol node checks the normalization, the legality, the integrity and the like of the nodes in the processing data.
8) void ExtRefReferCount (). The ExtRef node checks to determine whether statistics indicate whether there is a data source in the corresponding DataSet DataSet to obtain description information, and whether a type is defined in SampledValueControl or GSEControl.
9) void LNodeTypeCount (). And the LNodeType node checks and judges whether the statistical data template set DataTypetemplates has normalization, legality, integrity and the like.
10) void DOTypeCount (). And (4) checking the DOType node, and judging whether the statistical data template set DataTypetemplates has normalization, legality, integrity and the like.
11) void DATypeCount (). And checking the DAType node, and judging whether normalization, legality, integrity and the like exist in the statistical data template set DataTypetemplates.
And (3) MMS message analysis: MMS and ASI object mapping
MMS can conveniently and feasibly support naming rules and service model mapping that comply with the IEC61850 standard. The IEC61850 standard specifies various object-oriented abstract structured hierarchical models, and decomposes and models functions and information of each device in the substation. The IEC61850 object model is divided into five layers, which are a Server (Server), Logical Devices (Logical Devices), Logical nodes (Logical nodes), Data (Data) and Data sets (DataSet), and the MMS abstract structure object is composed of three layers, namely VMD (virtual manufacturing device), Domain (Domain) and Namedvariable (variable), so that the IEC61850 object cannot correspond to the MMS object one by one. Furthermore, other auxiliary modules in IEC 61850: the Report Control Block (RCB), the constant value group Control block (SGCB), the journal Control block (LCB), the Control (Control), the journal (Logs), and the file (Files) can correspond to the journal, the file, and the named list in the MMS. Table 7 shows the IEC61850 to MMS object mapping relationship.
TABLE 7IEC61850 and MMS object mapping relationship
Figure RE-GDA0003464876260000201
MMS and ASN.1: the function of the ISO/OSI presentation layer is to ensure that the information value of the data is preserved when the structure is transferred and added. ASN.1 is abstract syntax notation (abstract syntax notation one) located at the ISO/OSI presentation layer, and is composed of two parts, namely syntax rules and coding rules. The grammar rule part describes the data type, information, structure and the like of the information model. The coding rules define the coding, decoding syntax.
At the presentation level, MMS uses asn.1 abstract syntax notation. Prior to transmission, asn.1 encodes with a specific set of encoding rules. Ber (basic encoding rules) is a common encoding rule of asn.1, and MMS information in IEC61850 adopts the encoding rule.
BER is also commonly referred to as Tag Length Value (TLV) encoding, and each encoding using BER consists of three parts, a flag, a length value, and content. BER is a self-identifying and customizable coding rule so that each data value can be individually identified, extracted and decoded.
Identifiers marked for type identification, consisting of a total of four types: general class, application class, context-dependent class, special class. It is composed of one or two octets, and bits 7-6 are type labels, such as "00" for general class and "01" for application class. bit5 represents the data type, if "0" represents the data is simple type, if "1" represents the data is structural type. bits 4-0 are labeled numbers, i.e., Tag values, which are used to indicate different data types, e.g., 0x01 for Boolean and 0x17 for UTCTME.
The Tag value range defined by ASN.1 is 0x 01-0 x1a, the requirement can not be met in MMS application, and the MMS value expands the Tag value.
The length value of the element of the BER code is determined by the number of octets of data content, and can be divided into a short format, a long format and an indefinite format according to different length values. When the element length is less than 127, the length value adopts a short format, wherein the highest bit7 is zero, and bits 6-0 are binary systems of the length value. When the element length is greater than 127, the length value adopts a long format, wherein the most significant bit7 takes 1, and bits 6-0 represent the number of data content excluding the first octet. When the data element type is a structure, the length value adopts an indefinite length, the codes of the length values are 10000000, the content length is not represented, and only the indefinite length is identified. Fixed length formats are typically used in MMS.
The data element values comprise simple data types such as integer and Boolean, and also comprise structural data types such as SEQUENCE, which adopt a hierarchical structure, and the data content structure is nested layer by layer, and finally the data element values comprise simple data types, and the structure of the data element values is shown in FIG. 17.
And MMS resolution is realized: the MMS message is composed of unfixed data frames, a plurality of corresponding decoding functions are defined for different types of MMS, and a plurality of corresponding C + + data structures are defined to store the decoded MMS message. The MMS decoding process comprises the following steps: firstly, reading the label and the length of the ASN.1, judging the service type of the MMS, and establishing a corresponding C + + data structure; and calling a corresponding decoding function to analyze the ASN.1, and storing the analyzed value into a variable of a corresponding C + + data structure. In the process of MMS decoding, the data element is composed of the structure of the ASN.1 introduced above, and the structure of the data element is complex and is often nested layer by layer. The project adopts a tree structure which is designed in a C + + data structure and corresponds to the ASN.1, the data structure is nested layer by layer, and finally, the MMS is analyzed from outside to inside in sequence. The MMS decoding process is shown in fig. 18.
If a certain MMS message service type is write, reading the service type according to the zone bits 0xA0 and 0xA5, calling a corresponding decoding function, creating a corresponding C + + data structure, firstly reading the identifier and the length into a corresponding storage structure, and then storing the ASN.1 decoding information into a corresponding C + + data structure.
MMS messages in the intelligent substation can be mapped with IEC61850. After the MMS message is analyzed, the information in the corresponding C + + data structure is extracted and mapped with a logic equipment model established in the SCD analysis module, so that the station side equipment (namely information analyzed by the SCD) corresponds to the station side equipment information value (information analyzed by the MMS). And finally, establishing a point-to-point table containing information values of the station-side equipment and the station-side equipment in the MMS database to realize an automatic point-to-point process. Fig. 19 is an input MMS to point table creation process.
Design realization: firstly, the simulation test system can realize the simulation of a single digital device, establishes 61850 server process by importing the ICD template of the digital device, establishes communication connection with a background monitoring system, and sends remote measurement and remote signaling data to the background monitoring system and responds to remote control, fixed value, wave recording and other operation commands sent by the background monitoring system.
And secondly, through the combination of the simulation devices, the running environment of the total-station digital device which is consistent with the actual transformer substation system can be set up for the background monitoring system, and through the design of the test case, the abnormal condition of transmission or interaction of large data flow in a short time can be simulated for testing the performance of the background monitoring system.
The station control layer simulation test system consists of a single device simulation function module and an interactive interface function module.
(1) Single device simulation function implementation module
The single device simulation function realization module realizes the simulation of basic functions of remote measurement, remote signaling, remote control, fixed value, wave recording and uploading and the like of a single simulation device, and adopts DLL (dynamic link library) technology for packaging and calling by an upper management module.
1) Remote signaling simulation implementation
The remote signaling simulation process flow is shown in fig. 20.
The remote signaling simulation process flow is summarized as follows:
firstly, a remote signaling state is manually set on an operation interface, and data are transmitted to a remote signaling data buffer area.
And transmitting the data in the remote signaling data buffer area to a monitoring background by the IEC61850 server in two modes. Firstly, a remote signaling report mode is actively sent up, and secondly, a remote signaling integrity period call response is sent up.
2) Telemetry function
The telemetry simulation process flow is shown in figure 21.
The telemetry simulation process flow is summarized as follows:
firstly, remote measuring values are manually set on an operation interface, and data are transmitted to a remote measuring data buffer area.
② IEC61850 server: and responding to the remote signaling integrity cycle call, and sending the data in the remote sensing data buffer area to the monitoring background.
3) Remote control function
The remote control simulation process flow is shown in fig. 22.
The remote control simulation processing flow is summarized as follows:
firstly, remote control operation commands are set in a background monitoring system and are transmitted to a 61850 server of the simulation device through an MMS network.
And secondly, writing the received remote control operation command into a remote control data buffer area by the IEC61850 server, responding to the remote control operation command by a simulation processing program, and setting the associated remote signaling signal.
③ IEC61850 server: and returning the remote control command execution result.
(2) Interaction management function module
The interaction management function module can be divided into a configuration function component and an execution function component
1) The configuration function component may implement the following functions:
firstly, importing an ICD template of the simulation device and configuring parameter information of the simulation device.
And secondly, configuring parameter information of a plurality of devices and establishing a simulation test environment of the whole station.
And thirdly, configuring automatic test tasks and storing the tasks as test cases so as to be reused for multiple times.
Defining the content of the simulated fault action, including defining the related protection telemetering, the related remote signaling and the related protection action information.
Define the relevant information of the remote control operation response.
Through the configuration module, the acquisition information of the whole plant station interlayer digitalization device can be established quickly.
2) The executive function component may implement the following functions:
the method can carry out single-device four-remote information uploading and single-item test of related interactive functions.
And secondly, simulating the real condition of the operation of the simulation transformer substation through the cooperation of a plurality of simulation devices, designing related test cases, and testing the functions and the performance of the background monitoring system.
(3) Brief description of the operation
The operation process of the simulation test system is summarized as follows:
1) and importing an ICD template of the simulation device to generate a simulation model of the simulation device. Configuration parameters of the simulation device, such as device name, IP address, signal name, etc. for configuring the simulation device, may be defined at this stage.
2) The simulation device IP address binds the network card. A plurality of IP addresses can be bound on a network card of the simulation server host, the plurality of IP addresses are configured on the network card according to actual configuration requirements, after the simulation device is started, the corresponding MMS communication process can be bound to the corresponding IP address, and the corresponding 61850MMS service process is established.
3) And (4) simulating a function. After the MMS communication process of each simulation device is established, the operation of the simulation function of the corresponding device can be performed to test the function/performance of the background monitoring system, which is summarized as follows:
the function operation of the simulation device can be manually carried out, remote measuring values can be manually set, remote signaling can be set/reset, protection events can be uploaded, and the like.
Customizing a remote signaling avalanche test task, selecting a plurality of remote signaling to be repeatedly sent to a background, and simultaneously carrying out remote control operation on the background so as to test the response performance of the background monitoring system.
And customizing a remote measuring out-of-limit test task, selecting a corresponding remote measuring channel, and formulating a remote measuring amplitude change sequence according to a time state so as to test whether a background monitoring system can correctly generate a corresponding alarm.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and therefore, the scope of the present invention should be determined by the scope of the claims.

Claims (10)

1. A master station information joint debugging decoupling method is characterized in that: the method comprises the following steps:
(1) scanning and verifying the data gateway machine and the monitoring background in advance by using an IED simulation tool and software simulating a master station tool, and correcting the found problems in advance;
(2) and simulating the interlayer equipment in the station by using an IED simulation tool, performing point alignment with scheduling through a data network shutdown, and simultaneously accessing a monitoring background to perform secondary check.
2. The method for decoupling information joint debugging of the main plant station according to claim 1, characterized in that: the detailed method in the step (1) comprises the following steps: importing a point table and an SCD file in an IED simulation tool, simulating interlayer equipment in a station, scanning signals of the whole station, sending a loop data network shutdown to a 104 signal of a schedule, generating a loop monitoring background alarm record file, matching and generating a forwarding corresponding table of the signals in the station and the scheduling signals by taking the point table as a reference, checking the forwarding corresponding table, finding a problem, correcting, scanning, and repeating the steps until the forwarding corresponding table is correct.
3. The method for decoupling information joint debugging of the main plant station according to claim 1, characterized in that: the detailed method in the step (1) comprises the following steps: and importing an SCD file, a point table and a correct forwarding corresponding table to the IED simulation tool, triggering a signal by the IED simulation tool, carrying out point matching with scheduling, observing a monitoring background, and carrying out secondary checking.
4. The master station information joint debugging decoupling method according to any one of claims 1-3, characterized in that: the IED simulation tool sends MMS messages to the monitoring background and the client side of the telecontrol device through a station control layer network by simulating an MMS server side of an IEC61850 protection and measurement and control device, the IED simulation tool comprises a simulation operation module, an operation management function module and a model analysis function module, the simulation operation module is connected to the client side through an MMS network communication module, and the operation management function module is connected to the simulation operation module and the model analysis function module.
5. The master station information joint debugging decoupling method according to claim 4, characterized in that: the implementation method of the IED simulation tool comprises the following steps:
(1) importing and analyzing an SCD file, checking the legality of the file, analyzing a model file, and determining all signals of the total station according to a data model required by simulation constructed by Q/GDW 1396-;
(2) the simulation operation management function module enables the simulation process to be developed in a manual test or automatic test mode, the automatic test mode mainly realizes the point-by-point transmission of the total station information, namely a panoramic information scanning mode, and ensures that all signals analyzed by the model with unique SOE time with specific meanings automatically marked by tools move once in sequence in the displacement setting of total variation 0, total variation 1 or self-reset variation; the manual test freely configures a test strategy to meet the operation requirements of single-point test, multi-point test, batch processing and manual definition of SOE time;
(3) the simulation operation management function module imports an actual mapping table formed after an off-line checking process of total station remote signaling configuration;
(4) the simulation operation module enables the message output of the simulation tool to send messages according to the customized requirement according to the sending strategy set by the operation management function module, and the messages are continuously sent at the set time interval;
(5) the MMS network communication module ensures normal MMS communication between the simulation tool and the client according to the communication service standard in IEC 61850;
(6) the simulation tool records all MMS interactive processes and generates a simulation tool record file.
6. The method for decoupling information joint debugging of the main plant station according to claim 1, characterized in that: before the dispatching data network is switched on, the problem of data network shutdown configuration is found out in advance, and the process is as follows: when the master station is simulated, a scheduling point table is imported into software of a simulation master station tool, the simulation master station (comprising a telecontrol device IP, a simulation master station IP, a station address, a gateway and a simulation master station mask) is configured, and after the configuration, connection is initiated to the data network shutdown machine and is always called up, and the normal connection 104 is realized with the data network shutdown machine.
7. The master station information joint debugging decoupling method according to claim 2, characterized in that: scanning the total station signals comprises remote measurement, remote signaling, scanning of remote control signals and automatic point alignment.
8. The master station information joint debugging decoupling method according to claim 6, characterized in that: the simulation master station tool mainly realizes the function of simulating a remote dispatching master station, supports the current mainstream power telecontrol protocol, has the functions of message analysis and record storage, and can analyze 104 messages sent by a telecontrol device in real time and store the 104 address and point number displacement conditions as a simulation master station record file.
9. The master station information joint debugging decoupling method according to claim 6, characterized in that: the system comprises a simulation master station, a multi-data-source off-line processing tool, a monitoring background recording file, a simulation master station recording file and a regulation and control information table issued by a regulation and control center, wherein the simulation master station is connected with the simulation master station; the off-line processing tool with multiple data sources can automatically output two documents, one is a debugging report, the report shows 104 addresses, the content of three information descriptions d1, d2 and d3 of a certain piece of information in a simulation tool recording file, a monitoring background recording file and a regulation and control information table and the machine judgment result of the matching degree of the machine on the three information descriptions d1, d2 and d 3; the other part is an actual mapping table, and 104 addresses and data paths of corresponding signals are presented in the table; the debugging report is used for engineering debugging personnel to review, is used as a basis for modifying the error configuration in the telemechanical device, can also synchronously find the description error or default problem of the 61850 object in the SCD file, helps an integrator to complete the SCD in time, and imports the actual mapping table into the IED simulation tool.
10. The master station information joint debugging decoupling method according to claim 3, characterized in that: the method comprises the following specific steps:
(1) an IED simulation tool is adopted to simulate a required data model by importing an SCD file, preprocessing is carried out, and all remote signaling signals of the total station are determined;
(2) an IED simulation tool is adopted to send MMS messages with specific SOE time scales to a monitoring background and a telecontrol device as required through a station control layer network, namely panoramic information scanning is realized during a total station test;
(3) adopting an IED simulation tool to record operation records while sending MMS messages to a monitoring background and a client of a telecontrol device, and forming a simulation tool record file;
(4) after receiving the MMS message, the telecontrol device forwards 104 the message to the simulation master station tool according to a remote signaling forwarding table configured in the device;
(5) after receiving the MMS message, the monitoring background stores the real-time measuring point change record configured in the monitoring host database to form a monitoring background record file;
(6) the simulation master station tool analyzes the received 104 messages and records 104 addresses and displacement conditions to form a simulation master station record file;
(7) reading a regulation and control information table, a simulation tool record file, a monitoring background record file and a simulation main station record file by the multi-data-source off-line processing tool, and performing signal association and verification according to the uniqueness of the SOE time scale and the element of the 104 address;
(8) automatically issuing a debugging report by the multi-data source offline processing tool for the engineering debugging personnel to check;
(9) the off-line processing tool with multiple data sources gives an actual mapping table of the telecontrol device which is tested and verified;
(10) the actual mapping table can be led back to an IED simulation tool, and support is provided for online checking between the later station and the dispatching master station.
CN202111111351.6A 2021-09-18 2021-09-18 Main plant station information joint debugging decoupling method Pending CN114123482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111111351.6A CN114123482A (en) 2021-09-18 2021-09-18 Main plant station information joint debugging decoupling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111111351.6A CN114123482A (en) 2021-09-18 2021-09-18 Main plant station information joint debugging decoupling method

Publications (1)

Publication Number Publication Date
CN114123482A true CN114123482A (en) 2022-03-01

Family

ID=80441127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111111351.6A Pending CN114123482A (en) 2021-09-18 2021-09-18 Main plant station information joint debugging decoupling method

Country Status (1)

Country Link
CN (1) CN114123482A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114943141A (en) * 2022-04-28 2022-08-26 国网浙江省电力有限公司金华供电公司 Transformer substation dynamic simulation method based on model mapping and identification
CN115755825A (en) * 2022-10-20 2023-03-07 上海核工程研究设计院有限公司 Functional module evaluation method for verifying instrument control function of nuclear power plant

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016019662A1 (en) * 2014-08-04 2016-02-11 国家电网公司 Closed loop test system for monitoring host of intelligent substation and test method therefor
CN107257304A (en) * 2017-07-31 2017-10-17 国电南瑞科技股份有限公司 Telemechanical is exempted to a configuration testing system
CN107332866A (en) * 2016-04-29 2017-11-07 北京国网富达科技发展有限责任公司 A kind of power transmission and transformation state monitoring method, equipment and system
CN108767818A (en) * 2018-06-07 2018-11-06 贵州电网有限责任公司 A kind of Commissioning of Relay Protection system and adjustment method based on virtual Prudential Master
CN112366818A (en) * 2020-09-29 2021-02-12 内蒙古电力(集团)有限责任公司电力调度控制分公司 Automatic checking and accepting method and system for monitoring information of intelligent substation
CN112636947A (en) * 2020-11-27 2021-04-09 国网浙江省电力有限公司衢州供电公司 Data network shutdown point table information checking management method
CN112737115A (en) * 2020-12-25 2021-04-30 国网辽宁省电力有限公司辽阳供电公司 Remote signaling joint debugging decoupling method for main station and plant station of transformer substation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016019662A1 (en) * 2014-08-04 2016-02-11 国家电网公司 Closed loop test system for monitoring host of intelligent substation and test method therefor
CN107332866A (en) * 2016-04-29 2017-11-07 北京国网富达科技发展有限责任公司 A kind of power transmission and transformation state monitoring method, equipment and system
CN107257304A (en) * 2017-07-31 2017-10-17 国电南瑞科技股份有限公司 Telemechanical is exempted to a configuration testing system
CN108767818A (en) * 2018-06-07 2018-11-06 贵州电网有限责任公司 A kind of Commissioning of Relay Protection system and adjustment method based on virtual Prudential Master
CN112366818A (en) * 2020-09-29 2021-02-12 内蒙古电力(集团)有限责任公司电力调度控制分公司 Automatic checking and accepting method and system for monitoring information of intelligent substation
CN112636947A (en) * 2020-11-27 2021-04-09 国网浙江省电力有限公司衢州供电公司 Data network shutdown point table information checking management method
CN112737115A (en) * 2020-12-25 2021-04-30 国网辽宁省电力有限公司辽阳供电公司 Remote signaling joint debugging decoupling method for main station and plant station of transformer substation

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
曹瓅月: ""变电站自动对点系统软件设计与实现"", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, no. 03, 15 March 2016 (2016-03-15), pages 13 - 86 *
罗华峰 等: "基于全景信息扫描的智能变电站远动装置遥信配置快速校核技术", 浙江电力, vol. 37, no. 2, pages 42 - 47 *
罗华峰,等: ""基于全景信息扫描的智能变电站远动装置遥信配置快速校核技术"", 《浙江电力》, vol. 37, no. 2, 28 February 2018 (2018-02-28), pages 42 - 47 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114943141A (en) * 2022-04-28 2022-08-26 国网浙江省电力有限公司金华供电公司 Transformer substation dynamic simulation method based on model mapping and identification
CN114943141B (en) * 2022-04-28 2024-06-04 国网浙江省电力有限公司金华供电公司 Substation dynamic simulation method based on model mapping and identification
CN115755825A (en) * 2022-10-20 2023-03-07 上海核工程研究设计院有限公司 Functional module evaluation method for verifying instrument control function of nuclear power plant

Similar Documents

Publication Publication Date Title
CN106951694B (en) Adaptive modeling method for online monitoring system of secondary equipment of power system
CN106597947A (en) Substation equipment test method and system, server and tester
CN105515189B (en) Comprehensive intelligent gateway machine configuration method based on transformer station&#39;s unified Modeling
CN104820635B (en) A kind of self-closing ring gauge about robustness testing method based on the semantic parsing of dynamic script
CN107346917A (en) Secondary device based on virtual machine integrates joint debugging method
CN104483842B (en) One kind regulation and control one automation main website comparison method
CN113890830B (en) IEC104 master station simulation system
CN112737115A (en) Remote signaling joint debugging decoupling method for main station and plant station of transformer substation
CN113419920B (en) Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN105704130A (en) Electricity safety system based on wireless communication devices
CN108270640A (en) A kind of intelligence battalion is with information integrated system Information Interoperability conformance test method
CN110766263A (en) Automatic acceptance method for secondary equipment of transformer substation and terminal equipment
CN114153920A (en) Big data edge platform and method
CN109495290A (en) A kind of operational system boss stands exchange method and system
CN103353857A (en) Communication test method of integrated monitoring unit in substation
Suleiman et al. Inter-domain analysis of smart grid domain dependencies using domain-link matrices
CN106780150A (en) Intelligent telecontrol fixed value list platform for making and method
CN102023859A (en) Digital development environment-oriented software integration method with reliability, maintainability and supportability
CN114123482A (en) Main plant station information joint debugging decoupling method
CN103676669A (en) Method and system for checking motion information
CN112949018B (en) System and method for creating and testing verification of direct-current transmission control and protection platform model
CN117439264A (en) Automatic acceptance checking system for monitoring information of substation of dispatching master station
CN109710669B (en) Method for improving accuracy of full power grid model data based on check rule base
CN113904928A (en) Telesignaling configuration rapid checking system and method for telemechanical device
CN107577789A (en) Province based on information interactive bus ground artwork interconnected method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination