The automatic diagnosis method of a kind of industrial control system remote control/remote regulating command transfer fault
Technical field
The present invention relates to industrial Internet of Things field, particularly relate to a kind of power system failure diagnostic technology.
Background technology
Along with electric network composition is increasingly sophisticated, net capacity constantly expands, the quantity of information transmitted in real time is needed to increase at double, this is to electric substation automation system (SAS, Substation Automation System) and the data communication of energy management system (EMS, Energy Management System) have higher requirement.In order to ensure the normal operation of SAS system and EMS system, perfect, safe, correct automatic dispatching is essential.
In the dispatch automated system communications field, carry out message exchange between system or equipment by communication protocol, communication protocol is the basis that systemic-function is achieved.Because communication port or equipment send out the reason of data by mistake, remote measurement wrong report in dispatch automated system, to fail to report and remote control can not perform or perform incorrect, remote measurement and not refresh or the situation such as saltus step happens occasionally, disturb the normal operation of whole dispatch automated system, especially when these situations occur in a distant place or automated closed-loop controls on the spot reactive voltage automatically controls the system such as (AVQC), Automatic Generation Control (AGC), its seriousness is more outstanding.In actual motion, staff understands the current working condition of system by man-machine interface, and what the information only having system to provide just can be checked arrives.When finding that automated information is abnormal, owing to lacking effective monitoring technology means, often can only by virtue of experience analysis of failure, blindness is large, thus affects failture evacuation.In order to understand abnormal cause, technician needs carefully to check links, reduces thing truth from the information that equipment or system provide, and situation about occurring in system operation in this case needs to carry out strict record.For this binary data transmitted on communication line of communication protocol, also should be able to carry out recording and analyzing, so that judge when needing in the future.Although the electric power monitoring system that current a lot of system manufacturer provides or equipment can carry out record to the operation etc. in the operating condition of electric system and operational process; as various electric protection device, measuring and controlling equipment, fault oscillograph etc., but be based upon and integrated information integrated platform basis monitor communication network and the unified information application system of early warning also not yet has ripe product at present.
The communication network schematic diagram of existing energy management EMS system and electric substation automation system as shown in Figure 1; comprise main website side and plant stand side two parts; main website side is made up of with preposition communicator etc. (each equipment room is generally connected by Intranet) multiple worktable, and plant stand side is made up of (each equipment room is generally connected by Intranet) the primary equipment etc. of switch, telecontrol equipment, protection/observing and controlling class IED and bottom.In dispatch automated system, telecontrol channel is the bridge connecting scheduling station and plant stand system, and factory station data uploads to main website by telecontrol channel and receives monitoring, and main website is sent instructions under plant stand equipment by this telecontrol channel.So the quantity of operation of dispatch automated system is determined by telecontrol channel to a great extent.And the fault of telecontrol communication to be usually expressed as communication process not smooth, but specifically to judge the fault of passage own or communication protocol operational failure, the effective means of current shortage and instrument, cause the reparation of telecontrol channel fault usually to need the longer time, drops into larger strength.
The substance of telecontrol information comprises: telemetry intelligence (TELINT), telemetry intelligence (TELINT), remote information, remote regulating information.These information are foundations that dispatcher carries out decision-making judgement.Be reflected to dispatching center to the data of operation states of electric power system collection are incorrect, dispatcher will be affected and make correct judgement and decision-making.So real-time and the accuracy of guarantee remote action data are very important.
Summary of the invention
The technical matters that the present invention mainly solves is to provide the automatic diagnosis method of a kind of industrial control system remote control/remote regulating command transfer fault, guarantee the remote control/remote regulating information dropout existed in very first time discovery system or the situation of makeing mistakes, and failed node can be regulated and controled in automatic accurate location, in guarantee electrical network EMS system while measurement information transmission accuracy, significantly reduce the burden of operating personnel.
In order to solve the problems of the technologies described above; the invention provides the automatic diagnosis method of a kind of industrial control system remote control/remote regulating command transfer fault; the preposition communicator being arranged at main website and the protection being arranged at plant stand/observing and controlling class smart machine IED, telemechanical apparatus, switch is comprised in the communication network architecture of electrical network EMS system and electric substation automation system; described protection/observing and controlling class IED is connected with telemechanical apparatus by Intranet; described telemechanical apparatus is connected with switch by Intranet; described switch is connected with preposition communicator by outer net, comprises following steps:
Respectively the preposition communicator of each protection of plant stand/observing and controlling class IED, telemechanical apparatus, switch and main website is monitored, capture the communication packet meeting pre-conditioned measurement object, and from described communication packet, extract remote control/remote regulating order;
If remote control/remote regulating order M4 that described preposition communicator side is extracted changes, then trigger remote control/remote regulating testing process, detect within the corresponding time period, whether obtain same measurement object respectively exchanger side remote control/remote regulating order M3, telemechanical apparatus side remote control/remote regulating order M2 and protection/observing and controlling class LED side remote control/remote regulating order M1, and judge that whether the control model of M1, M2, M3, M4 is identical with action type; Obtain within the corresponding time period, not obtaining M3 or M2 or M1 remote control/remote regulating order if detected, or the control model of at least one remote control/remote regulating order in M3, M2, M1 and action type and M4's is inconsistent, then judge this remote control/remote regulating failure, failure node for this do not receive orders or the inconsistent equipment that receives orders, generate the remote control/remote regulating Failure Pre-warning of respective nodes; And, detect within the corresponding time period, whether obtain same measurement object respectively M1 remote control/remote regulating response command, M2 remote control/remote regulating response command, M3 remote control/remote regulating response command and M4 remote control/remote regulating response command, obtain within the corresponding time period, not obtaining M1 or M2 or M3 or M4 remote control/remote regulating response command if detected, then judge this remote control/remote regulating failure, failure node is that this does not receive the equipment of response command, generates the remote control/remote regulating Failure Pre-warning of respective nodes.
As further improvement, described remote control/remote regulating testing process comprises following steps further:
A judges whether the remote control/remote regulating order M3 obtaining same measurement object after the first Preset Time, and whether control model in the remote control received/remote regulating order M3 and action type and M4's is identical, if do not receive the remote control/remote regulating order M3 of same measurement object after the first Preset Time, or the control model in the remote control received/remote regulating order M3 or action type are different from M4's, then generate the remote control/remote regulating Failure Pre-warning of respective nodes;
If B receives the remote control/remote regulating order M3 of same measurement object in the first Preset Time, and control model in the remote control received/remote regulating order M3 and action type and M4's is identical, after the second Preset Time, then judge whether the remote control/remote regulating order M2 obtaining same measurement object, if do not receive the remote control/remote regulating order M2 of same measurement object after the second Preset Time, or the control model in the remote control received/remote regulating order M2 or action type are different from M3's, then generate the remote control/remote regulating Failure Pre-warning of respective nodes;
If C receives the remote control/remote regulating order M2 of same measurement object in the second Preset Time, and control model in the remote control received/remote regulating order M2 and action type and M3's is identical, after the 3rd Preset Time, then judge whether the remote control/remote regulating order M1 obtaining same measurement object, if do not receive the remote control/remote regulating order M1 of same measurement object after the 3rd Preset Time, or the control model in the remote control received/remote regulating order M1 or action type are different from M2's, then generate the remote control/remote regulating Failure Pre-warning of respective nodes;
If D receives the remote control/remote regulating order M1 of same measurement object in the 3rd Preset Time, and control model in the remote control received/remote regulating order M1 and action type and M2's is identical, after the 4th Preset Time, then judge whether the remote control/remote regulating response command obtaining same measurement object M1, if do not receive the M1 remote control/remote regulating response command of same measurement object after the 4th preset time period, or the control model in this M1 remote control/remote regulating response command is not mated with the control model in the remote control received before/remote regulating order M1, then generate the remote control/remote regulating Failure Pre-warning of respective nodes,
If E receives the M1 remote control/remote regulating response command of same measurement object in the 4th Preset Time, and the control model in this M1 remote control/remote regulating response command matches with the control model in the remote control/remote regulating order M1 received before, after the 5th Preset Time, then judge whether the M2 remote control/remote regulating response command receiving same measurement object, if do not receive the M2 remote control/remote regulating response command of same measurement object after the 5th Preset Time, or the control model in the M2 remote control/remote regulating response command received is different from M1's, then generate the remote control/remote regulating Failure Pre-warning of respective nodes,
If F receives the M2 remote control/remote regulating response command of same measurement object in the 5th Preset Time, and control model in the M2 received remote control/remote regulating response command and M1's is identical, after the 6th Preset Time, then judge whether the M3 remote control/remote regulating response command receiving same measurement object, if do not receive the M3 remote control/remote regulating response command of same measurement object after the 6th Preset Time, or the control model in the M3 remote control/remote regulating response command received is different from M2's, then generate the remote control/remote regulating Failure Pre-warning of respective nodes;
If G receives the M3 remote control/remote regulating response command of same measurement object in the 6th Preset Time, and control model in the M3 received remote control/remote regulating response command and M2's is identical, after the 7th Preset Time, then judge whether the M4 remote control/remote regulating response command receiving same measurement object, if do not receive the M4 remote control/remote regulating response command of same measurement object after the 7th Preset Time, or the control model in the M4 remote control/remote regulating response command received is different from M3's, then generate the remote control/remote regulating Failure Pre-warning of respective nodes; If receive the M4 remote control/remote regulating response command of same measurement object in the 7th Preset Time, and control model in the M4 received remote control/remote regulating response command and M3's is identical, then described remote control/remote regulating testing process terminates;
Described the first to seven Preset Time is identical or different separately.
As further improvement, described control model can comprise: preset, return to school, perform, perform confirmation, cancel and/or cancel confirmation etc.
As further improvement, described action type is different according to the physical object of remote control/remote regulating, at least comprise one of following or its select arbitrarily: open and close, rise, downward.
As further improvement, described from communication packet, extract the step of remote control/remote regulating order after, also comprise following steps:
By described remote control/remote regulating demanded storage in real-time data base, whether the control model of the remote control/remote regulating order M4 of preposition communicator side more to be deposited in real-time data base is identical with the value of current storage with action type, determines whether the value of the remote control/remote regulating order M4 extracted described preposition communicator side changes according to comparative result.
As further improvement, one main website data diagnosis device is set in main website side, the preposition communicator performing described each protection to plant stand/observing and controlling class IED, telemechanical apparatus, switch and main website is monitored, capture the communication packet meeting pre-conditioned measurement object, and from described communication packet, extract the step of remote control/remote regulating order; And perform described remote control/remote regulating testing process.
As further improvement, one local data analysis device is set in plant stand side, perform described each protection/observing and controlling class IED to plant stand, telemechanical apparatus, switch monitor, capture the communication packet meeting pre-conditioned measurement object, and from described communication packet, extract the step of remote control/remote regulating order;
One main website data diagnosis device is set in main website side, performs and described main website to be monitored, capture the communication packet meeting pre-conditioned measurement object, and from this communication packet, extract the step of remote control/remote regulating order.
As further improvement, in described remote control/remote regulating testing process, perform described steps A to step F by described local data analysis device, perform described step G by described main website data diagnosis device.
Embodiment of the present invention compared with prior art, the key distinction and effect thereof are: the preposition communicator of real-time each protection to plant stand/observing and controlling class IED, telemechanical apparatus, switch and main website is monitored, capture the communication packet meeting pre-conditioned measurement object, and from these communication packets, extract remote control/remote regulating order; Whether the remote control that real-time detection main website extracts preposition communicator side/remote regulating order M4 changes, once change, trigger remote control/remote regulating testing process, for different node locations in testing process, carry out the diagnosis of remote control/remote regulating order and remote control/remote regulating response command respectively, and generate the remote control/remote regulating Failure Pre-warning of relevant device according to diagnostic result; Thus remote control/remote regulating order loss of existing in EMS system and substation automation system communication process or error situation can be found the very first time, and can the automatic accurate positioning command node losing or make mistakes, in guarantee electrical network EMS system while measurement information transmission accuracy, significantly reduce the burden of operating personnel.
Accompanying drawing explanation
Fig. 1 is the communication network schematic diagram of electrical network EMS system and electric substation automation system in background technology;
Fig. 2 is the automatic diagnosis method process flow diagram of the industrial control system remote control/remote regulating command transfer fault of first embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiments of the present invention are described in further detail.
First embodiment of the invention relates to the automatic diagnosis method of a kind of electrical network EMS system remote control/remote regulating command transfer fault; comprise in the communication network architecture of electrical network EMS system and electric substation automation system: the preposition communicator being arranged at main website and the protection being arranged at plant stand/observing and controlling class smart machine IED, telemechanical apparatus, switch; wherein be connected by Intranet between protection/observing and controlling class IED, telemechanical apparatus, switch; be connected with preposition communicator by outer net by switch; form telecontrol channel, carried out the transmission of measurement information by telecontrol channel.
In present embodiment, one main website data diagnosis device is set in main website side, respectively to each protection/observing and controlling class IED being arranged at plant stand, telemechanical apparatus, and switch, and the preposition communicator being arranged at main website carries out real-time listening, capture and meet pre-conditioned communication packet (here pre-conditioned can be message source, if message source is previously selected equipment or measurement object), and from this communication packet, extract remote control/remote regulating command information, according to the remote control of extracting from multiple spot/remote regulating command information, carry out the remote control/remote regulating infomation detection of multiple spot, thus ensure the correct transmission of remote control/remote regulating order on comprehensive, the situation of Timeliness coverage remote control/remote regulating failure.
Idiographic flow as shown in Figure 2.
In step 201; the preposition communicator of main website data diagnosis device to each protection of plant stand/observing and controlling class IED, telemechanical apparatus, switch and main website is monitored; capture the communication packet from selected measurement object, and from communication packet, extract remote control/remote regulating command information M1, M2, M3, M4.Represent extracting and analyze the remote control/remote regulating command information M4 obtained in the communication packet listened to from the preposition communicator side of main website in present embodiment; Represent extracting and analyze the remote control/remote regulating command information obtained in the communication packet listened to from IED sides such as protection/observing and controlling with M1; Extract from the communication packet that telemechanical apparatus side listens to and analyze the remote control/remote regulating command information M2 obtained and represent; Extract from the communication packet that exchanger side listens to and analyze the remote control/remote regulating command information M3 obtained and represent.
Remote control in present embodiment/remote regulating order is made up of physical object sign, action type and a few part of control model regulated and controled.Wherein, control model comprises: preset, return to school, perform, perform confirmation, cancel, cancel confirmation etc.; Being used to indicate this order is carry out preset value or confirm preset value success or concrete perform certain concrete operations or run succeeded or cancel certain operation or cancel successfully etc.Wherein, control model be preset, perform, the order cancelled generally sends to plant stand by main website, for controlling the concrete physical object of plant stand; And control model is return to school, perform confirmation, cancel the order of confirmation and generally sent to main website by plant stand, is that plant stand returns the instruction confirming corresponding operating to main website, is also called remote control/remote regulating response command.Action type is then different according to the physical object of remote control/remote regulating, can comprise open and close, rise, downward etc.
In step 202, the remote control/remote regulating command information of the selected measurement object listened to is stored in real-time data base by main website data diagnosis device.
In step 203, the control model of remote control/remote regulating order that real-time data base more same measurement object M4 position (main website preposition communicator side) is to be stored and action type with front once store whether identical, if changed, then enter step 204, if do not changed, then process ends.During concrete enforcement, one event trigger can be set, Real-Time Monitoring is carried out to the part storage space of store M 4 remote position controls in real-time data base/remote regulating order, once find that certain storing value (measuring arbitrarily control model or the action type of object) changes, then trigger event, enters step 204.
In step 204, start remote control/remote regulating testing process, main website data diagnosis device detects the remote control/remote regulating order (i.e. remote control/remote regulating order M3) whether receiving same measurement object at M3 position (exchanger side) after the first preset time period, and whether control model in the remote control received/remote regulating order M3 and action type and M4's is identical, if receive the remote control/remote regulating order M3 of same measurement object in the first preset time period, and control model in the remote control received/remote regulating order M3 and action type and M4's is identical, then enter step 205; If do not receive the remote control/remote regulating order M3 of same measurement object after the first preset time period, or the control model in the remote control received/remote regulating order M3 or action type are different from M4's, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
In step 205, main website data diagnosis device detects the remote control/remote regulating order (i.e. remote control/remote regulating order M2) whether receiving same measurement object in M2 position (telemechanical apparatus side) after the second preset time period, and whether control model in the remote control received/remote regulating order M2 and action type and M3's is identical, if receive the remote control/remote regulating order M2 of same measurement object in the second preset time period, and control model in the remote control received/remote regulating order M2 and action type and M3's is identical, then enter step 206; If do not receive the remote control/remote regulating order M2 of same measurement object after the second preset time period, or the control model in the remote control received/remote regulating order M2 or action type are different from M3's, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
In step 206, main website data diagnosis device detects the remote control/remote regulating order (i.e. remote control/remote regulating order M1) whether receiving same measurement object in M1 position (protection/observing and controlling LED side) after the 3rd preset time period, and whether control model in the remote control received/remote regulating order M1 and action type and M2's is identical, if receive the remote control/remote regulating order M1 of same measurement object in the 3rd preset time period, and control model in the remote control received/remote regulating order M1 and action type and M2's is identical, then enter step 207; If do not receive the remote control/remote regulating order M1 of same measurement object after the 3rd preset time period, or the control model in the remote control received/remote regulating order M1 or action type are different from M2's, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
In step 207; main website data diagnosis device detects the response command (i.e. M1 remote control/remote regulating response command) whether receiving the remote control/remote regulating order M1 of same measurement object in M1 position (protection/observing and controlling LED side) after the 4th preset time period; and whether the control model in this M1 remote control/remote regulating response command matches with the control model in the remote control/remote regulating order M1 received before; if the control model in remote control/remote regulating order M1 is for performing, then judge whether the control model in M1 remote control/remote regulating response command is perform confirmation.If receive the M1 remote control/remote regulating response command of same measurement object in the 4th preset time period, and the control model in this M1 remote control/remote regulating response command matches with the control model in the remote control/remote regulating order M1 received before, then enter step 208; If do not receive the M1 remote control/remote regulating response command of same measurement object after the 4th preset time period, or the control model in this M1 remote control/remote regulating response command is not mated with the control model in the remote control received before/remote regulating order M1, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
In step 208, main website data diagnosis device detects the remote control/remote regulating response command (i.e. M2 remote control/remote regulating response command) whether receiving same measurement object in M2 position (telemechanical apparatus side) after the 5th preset time period, and whether control model in the M2 remote control/remote regulating order received and M1's is identical, if receive the M2 remote control/remote regulating response command of same measurement object in the 5th preset time period, and control model in the M2 received remote control/remote regulating response command and M1's is identical, then enter step 209; If do not receive the M2 remote control/remote regulating response command of same measurement object after the 5th preset time period, or the control model in the M2 remote control/remote regulating response command received is different from M1's, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
In step 209, main website data diagnosis device detects the remote control/remote regulating response command (i.e. M3 remote control/remote regulating response command) whether receiving same measurement object at M3 position (exchanger side) after the 6th preset time period, and whether control model in the M3 remote control/remote regulating order received and M2's is identical, if receive the M3 remote control/remote regulating response command of same measurement object in the 6th preset time period, and control model in the M3 received remote control/remote regulating response command and M2's is identical, then enter step 210; If do not receive the M3 remote control/remote regulating response command of same measurement object after the 6th preset time period, or the control model in the M3 remote control/remote regulating response command received is different from M2's, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
In step 210, main website data diagnosis device detects the remote control/remote regulating response command (i.e. M4 remote control/remote regulating response command) whether receiving same measurement object in M4 position (main website preposition communicator side) after the 7th preset time period, and whether control model in the M4 remote control/remote regulating order received and M3's is identical, if receive the M4 remote control/remote regulating response command of same measurement object in the 7th preset time period, and control model in the M4 received remote control/remote regulating response command and M3's is identical, then remote control remote regulating testing process terminates, present embodiment terminates, if do not receive the M4 remote control/remote regulating response command of same measurement object after the 7th preset time period, or the control model in the M4 remote control/remote regulating response command received is different from M3's, then enter step 211, judge this remote control/remote regulating failure, produce remote control/remote regulating Failure Pre-warning, process ends.
Present embodiment is by monitoring the multiple Primary communication nodes (the preposition communicator as each protection/observing and controlling class IED, telemechanical apparatus, switch and main website of plant stand) being distributed in plant stand and main website in real time, after detecting that remote control/remote regulating command context changes, timely triggering remote control/remote regulating testing process, for different node locations in testing process, carry out the diagnosis of remote control/remote regulating order and remote control/remote regulating response command respectively, and generate the remote control/remote regulating Failure Pre-warning of relevant device according to diagnostic result; Thus remote control/remote regulating order loss of existing in EMS system and substation automation system communication process or error situation can be found the very first time, and can the automatic accurate positioning command node losing or make mistakes, in guarantee electrical network EMS system while measurement information transmission accuracy, significantly reduce the burden of operating personnel.
Second embodiment of the invention relates to a kind of method of automatic diagnosis electrical network EMS system remote control/remote regulating data transmission failure equally, present embodiment is roughly the same with the first embodiment, its difference is, in first embodiment, by the data diagnosis device of main website to each protection/observing and controlling class IED of plant stand, telemechanical apparatus, and switch, and the preposition communicator of main website carries out monitoring and carry out remote control/remote regulating detection, and in present embodiment, one local data analysis device is set in plant stand side, respectively to each protection/observing and controlling class IED of plant stand, telemechanical apparatus, monitor with switch, capture and meet pre-conditioned communication packet, and from this communication packet, extract remote control/remote regulating order and remote control/remote regulating response command, by remote control/remote regulating command report of extracting real-time data base to main website, the data diagnosis device of main website is only monitored the preposition communicator of main website, captures and meets pre-conditioned communication packet, and from this communication packet, extract remote control/remote regulating order, the remote control extracted/remote regulating order is uploaded to the real-time data base of main website.
After triggering remote control/remote regulating testing process, the detection (judgement) of remote control/remote regulating is carried out by the remote control/remote regulating order of local data analysis device to M1, M2, M3 of plant stand, namely the step 204-209 in the first embodiment is performed by the local data analysis device of plant stand, if it is determined that there is remote control/remote regulating order (containing response command) to lose or error situation, then trigger corresponding remote control/remote regulating Failure Pre-warning (step 211) by the local data analysis device of plant stand.The data diagnosis device of main website only judges the M4 remote control/remote regulating order of the preposition communicator side of main website, namely the step 203 in the first embodiment and 210 is performed by the data diagnosis device of main website, if it is determined that there is remote control/remote regulating order loss or error situation, then trigger corresponding remote control/remote regulating Failure Pre-warning (step 211) by the data diagnosis device of main website.Thus when the multiple plant stand of main website management and control, in the face of the metric data information of each plant stand magnanimity, effectively can carry out load balancing to main website, greatly alleviate main website burden.
Although by referring to some of the preferred embodiment of the invention, to invention has been diagram and describing, but those of ordinary skill in the art should be understood that and can do various change to it in the form and details, and without departing from the spirit and scope of the present invention.