A kind of intelligent alarm system and processing method based on SCADA
Technical field
The present invention relates to intelligent alarm system technical field, specially a kind of intelligent alarm system and place based on SCADA
Reason method.
Background technique
Human history enters in the 1990s, computer technology is advanced by leaps and bounds, and is advanced with famous Moore's Law,
18 months i.e. every, computer performance enhances 1 times, and cost declines 1 times, and computer communication and network technology progress are faster, with institute
Super Moore's Law development is called, time interval progress in 18 months is 6 months.Since computer, automatic control system, computer are logical
The island of automation of the rapid progress of communication network especially mainframe computer monitoring system technology, archipelago control is broken, discrete
Monitoring system gradually move towards comprehensive automation monitoring, the bandwidth enhancement of communication network, the maturation of Fast Switch Ethernet technology,
The extensive use of database technology especially real time distributed database has laid solid basis for comprehensive monitoring system.
Present comprehensive monitoring system is mainly based on large-scale SCADA system, SCADA system (Supervisory Control
And Data Acquisition), i.e., data acquisition and supervisor control, SCADA system are computer-based DCS
With power automation monitoring system;Its application field is very wide, can be applied to electric power, metallurgy, petroleum, chemical industry, combustion gas, railway etc.
The numerous areas such as the data acquisition in field and monitoring control and process control.
In the power system, SCADA system is most widely used, and technology development is also the most mature.It is in telecontrol system
Critical role is accounted for, the running equipment at scene can be monitored and be controlled, to realize data acquisition, equipment control, measurement, ginseng
Number adjusts and the various functions, i.e. " four is distant " function .RTU (remote-terminal unit) known to us such as various types of signal alarm, FTU
(ca bin) be it important component now the integrated automation of transformation stations construction in risen it is considerable
Effect.
The acquisition of SCADA (Supervisory Control And Data Acquisition) system, i.e. data and monitoring
Control system is related to configuration software, data transmission link (such as:Data radio station, GPRS etc.).
For a long time, at control scene, when certain controlled device is alarmed, SCADA system HMI software can show one
Warning message, the operator of monitoring room identifies one by one, confirms and handles to these alarms at this time.When there is unusual service condition
When, the short time, there may be a large amount of alarms.If operator is unable to post, or since too many processing of alarming not to come, causes
Some alarms are not handled in time, then can generate greatly production hidden danger, bring unpredictable loss to client.
Summary of the invention
In order to overcome the shortcomings of prior art, the present invention provides a kind of intelligent alarm system based on SCADA and place
Reason method, alarm system security performance is high, avoids operator's individual factor from causing production scene alarm that cannot handle in time, reduces
Production safety hidden danger, system operatio simple and efficient can be practical according to production, and flexible configuration can forbid as needed or open this
Function does not influence the use of conventional alarm system, can effectively solve the problem of background technique proposes.
The technical solution adopted by the present invention to solve the technical problems is:
A kind of intelligent alarm system based on SCADA, including off-line arrangement module, algorithm logic module and Real time displaying mould
Block, the relevant parameter that the off-line arrangement module is used to carry out alarm transfer authorization configure, and will by lower dress function
Configuration information reaches algorithm logic module, and the algorithm logic module is according to the configuration rule and configuration of the off-line arrangement module
Condition executes the detection and transfer of warning message, and by Real time displaying module to the warning message of current detection and transfer.
As a preferred technical solution of the present invention, configuration information is first based on OCX control by the off-line arrangement module
Technology is embedded in existing SCADA platform graphics configuration platform, and reaches algorithm logic module again with xml document storage.
As a preferred technical solution of the present invention, the algorithm logic module operates in the service of intelligent alarm system
On device, and warning message is stored in independent database.
As a preferred technical solution of the present invention, the warning message includes time, the generation alarm that alarm generates
Equipment, the rank of alarm, alarm description information and alarm transfer mark.
As a preferred technical solution of the present invention, the off-line arrangement module, algorithm logic module and Real time displaying
Module can be deployed on same computer, can also be deployed on different computers.
As a preferred technical solution of the present invention, the off-line arrangement module, algorithm logic module and Real time displaying
When module is deployed on different computers, pass through ether between off-line arrangement module, algorithm logic module and Real time displaying module
Netcom's news.
In addition a kind of intelligent alarm processing method based on SCADA has also been devised in the present invention, includes the following steps:
Step 100 opens the offline configuration software of SCADA, configures alarm parameters;
Step 200, by the algorithm logic module that is integrated under existing SCADA service framework to the alarm parameters of configuration into
Row detection;
Step 300, the warning message that will test are shown.
As a preferred technical solution of the present invention, the method for the step 100 configuration alarm parameters is as follows:
Step 101 opens the controlled device list that control scene currently acquires, and selection needs to be arranged the controlled of alarm parameters
Equipment selects controlled device according to the logical relation of controlled device;
Step 102, the classification of selection alarm;
The target user levels that step 103, selection are shifted;
Step 104, selection time parameter;
Step 105, the actual conditions live according to current control, can be set one or more groups of alarm parameters,
And after the setup, compiling downloading.
As a preferred technical solution of the present invention, the equipment selection in the step 101 can be one area of selection
The all devices in domain also can choose all devices under a website, or select some single equipment;
The classification alarmed in the step 102 can choose one or more;
The target user levels shifted in the step 103 can choose one or more
Time parameter in seconds, indicates how long do not handle as the first processing people, then turns in the step 104
Move processing authority.
As a preferred technical solution of the present invention, in step 300, the display of warning message is based on OCX control
It is embedded in the realization of existing man-machine interface (HIM) frame:
When opening OCX control, then OCX control shows current all warning messages, every row one in a manner of table
Alarm;One attribute of each column display alarm;
The OCX control supports horizontal and vertical scroll bar dragging.
Compared with prior art, the beneficial effects of the invention are as follows:
(1) alarm system security performance of the invention is high, and operator's individual factor is avoided to cause production scene alarm cannot
Processing in time reduces production safety hidden danger.
(2) system operatio simple and efficient of the invention, can be practical according to production, flexible configuration, can forbid as needed or
This function is opened, does not influence the use of conventional alarm system.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of intelligent alarm system of the invention;
Fig. 2 is that inventive algorithm logic module executes alarm transfer processing overhaul flow chart;
Fig. 3 is intelligent alarm processing method flow chart of the invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment 1:
As shown in Figure 1, the present invention provides a kind of intelligent alarm systems based on SCADA, mainly by off-line arrangement mould
Block, algorithm logic module and Real time displaying module three parts composition, this three parts software module can be deployed in same machine
On, it can also dispose on a different computer, if deployment is on a different computer, pass through ether between these computers
Netcom's news solve existing issue existing for control onsite alarming operation by this three parts software module.
Ethernet is a kind of baseband LAN technology, ethernet communication be it is a kind of use coaxial cable as the network media,
Using the communication mode of carrier wave multiple access and collision detection mechanism, message transmission rate reaches 1Gbit/s, can meet non-continuous
The needs of property network data transmission.
All websites share a communication channel in Ethernet, and when sending data, website will send oneself
Data frame broadcasted on this channel, the every other website on Ethernet can receive this frame, Ta Mentong
It crosses and compares the destination MAC Address that includes in the MAC Address and data frame of oneself to judge whether the frame is destined for oneself, one
Denier confirmation is intended for oneself, then replicates the frame and be further processed, that is to say, that in the present invention, pass through ethernet communication
Computer successively handles table three off-line arrangement alarm parameters, algorithm logic detection information and Real time displaying alarm steps respectively
Suddenly.
Wherein, off-line arrangement module is mainly used for configuring the display rule of intelligent alarm system, the related ginseng of algorithm logic
Number is to configure to the relevant parameter for carrying out transfer authorization of alarming, and configuration information is reached calculation by lower dress function first
Method logic module, then configuration information is first based on OCX control (OCX is object type extension component) by off-line arrangement module;It is
One kind of executable file, but be not directly performed;It is the extension name of ocx control, belongs to PE text with .exe .dll
Part) technology is embedded in existing SCADA platform graphics configuration platform, and with xml document (extensible markup language, standard universal mark
The subset for remembering language, is a kind of for marking electronic document to make it have structural markup language) storage reaches algorithm again and patrols
Collect module.
Algorithm logic module generally operates in server, executes logic, warning message for executing specific alarm algorithm
It is stored in independent database, alarm is specifically executed according to the configuration rule of the off-line arrangement module and configuration condition
The detection and transfer of information, and by Real time displaying module to the warning message of current detection and transfer, algorithm logic module is held
The transfer flow of row alarm is as shown in Fig. 2, detection transfer process is as follows:
Firstly, loading alarm configuration information table after algorithm logic program starts, caching is put into after detecting new alarm
Table, then a warning message (equipment) is taken out from cache table, and detect the warning message (equipment) whether in configuration information table;
If warning message in configuration information table, continues to test whether the warning message (equipment) meets alarm grade
Not;If warning message not in configuration information table, terminates the program of algorithm logic module;
If the warning message (equipment) meets alert levels, continuing to test alarm transfer role whether there is;If
The warning message (equipment) does not meet alert levels, then terminates the program of algorithm logic module;
If alarm transfer role exists, continue to test whether transfer time reaches;If alarm transfer role does not deposit
Then terminating the program of algorithm logic module;
If transfer time reaches, carries out warning message transfer and be stored in database, then terminate algorithm logic module
Program;If transfer time does not reach, previous step is returned, a new warning message is taken out from cache table and (is set
It is standby), re-start all detection process.
In the present embodiment, the shift module of algorithm logic module is theoretically the transfer to warning message, here
Due to being alarmed the controlled device at control scene, so to what is cached being in the nature warning device in cache table, also
It is the controlled device at control scene.
Real time displaying module major function is to show currently detected warning message, and the warning message includes that alarm produces
Equipment, the rank of alarm, alarm description information and the alarm transfer of raw time, generation alarm identify, and can show alarm word
Section and attribute, and the information alarmed is shown by different colors and icon.
Engineer can carry out related setting to warning message (equipment) by the alarm system, allow it is single or multiple alarm to
One or more operator's operating areas are forwarded, when guaranteeing that the first processing people (operator) is not handled in time with this,
Other at the same level or higher level operators have permission and take over processing.
The content of setting generally comprises:Authorisation device (alarm), the rank of alarm, operator's rank of authorization, how long
Time (not handling, then shift permission) etc..
When alarm is alarmed for transfer, the interface HMI is marked by special icon, and original warning message does not have then
This label.
Embodiment 2:
As shown in figure 3, the present invention also provides a kind of intelligent alarm processing method based on SCADA, includes the following steps:
Step 100 opens the offline configuration software of SCADA, configures alarm parameters using off-line arrangement module.
In the offline configuration software of SCADA, there is special alarm setting interface to be used for parameter setting.
The configuration method of its alarm parameters is:Firstly, opening the controlled device list that control scene currently acquires, selection is needed
The controlled device of alarm parameters is set, according to the logical relation of controlled device, selects controlled device, the selection of controlled device can
To be all controlled devices for selecting a region, it also can choose all controlled devices under a website, or select certain
A single controlled device, that is to say, that according to the actual situation, to one or more alarm configure, can alarm single into
Row configuration can also carry out unified configuration to some region of all alarms;
Then the classification of alarm is selected, the classification of alarm can choose one or more;
The target user levels of reselection transfer, the target user levels of transfer can choose one or more;
Thereafter time parameter is selected, time parameter in seconds, indicates how long do not handle as the first processing people,
Then transfer processing permission is to shifting role;
The last actual conditions according to current control scene, can be set one or more groups of alarm parameters, and
After being provided with, compiling downloading.
Step 200, algorithm logic service module be integrated under existing SCADA service framework to the alarm parameters of configuration into
Row detection and transfer.
In this step, it if selecting automatic downloading after the completion of alarm parameters compiling, in actual operation, can save
Otherwise the operating procedure of algorithm logic service module needs manually to load new alarm parameters.
In the present embodiment, algorithm logic service module is that the alarm parameters configured in step 100 are carried out with detection to turn
It moves, the concrete operations process of transfer is as shown in Figure 2.
Step 300, the warning message that will test are shown.The display of warning message is existing based on the insertion of OCX control
There is the realization of man-machine interface (HIM) frame:When opening OCX control, then OCX control is shown current all in a manner of table
Warning message, every row one alarm;One attribute of each column display alarm;The OCX control supports horizontal and vertical scroll bar
Dragging.
With reference to embodiments 1 and embodiment 2 alarm scheme, said using a certain group alarm device object as example
It is bright:
Setting warning device object is respectively:AI_001 and region A;Alert levels are serious;Shifting role is respectively
Engineer and operator, time are 60 seconds, and the specific operation method is as follows:
Firstly, logging in SCADA engineer station, Engineering configuration software is opened, in the engineering, equipment, which has configured, to be finished;
Then, intelligent alarm interface is opened, such as:
Addition |
It deletes |
|
|
Warning device object |
Alert levels |
Shift role |
Time |
AI_001 |
Seriously |
Engineer |
60s |
Region A |
Seriously |
Operator |
60s |
|
|
|
|
According to the actual situation, warning device object can be deleted by the addition and deletion control at interface, to one or more
Warning message (equipment) is configured, and can be configured to single warning message (equipment), can also be to some region of
All warning messages (equipment) carry out unified configuration, after the completion of configuration, click determination and come into force.
Further according to the warning message of compiling configuration, and real-time server A or B will be filled under the warning message of configuration.
Then automatic or manual restarts real-time server A or B, after server A or B are restarted, then according to the alarm newly configured
Parameter is handled (as shown in Figure 2) to newly generated alarm.
When there is new alarm to generate, and meet jump condition, then on the active station that transfer role logs in, will have the right confirmation and
Handle these alarms.
The alarm system and method can be widely applied to the high industry of the security levels such as electric power, mine, petrochemical industry, operation
Simple and efficient, can be practical according to production, this function can be forbidden as needed or be opened to flexible configuration, can effectively solve because of behaviour
Work person's individual factor causes production scene alarm that cannot handle in time, and bring production safety hidden danger.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.