Summary of the invention
Technical matters at above-mentioned existence, the purpose of this invention is to provide a kind of factory level equipment control and equipment and early warning of system failure note based on basic automation systems, warning system and method, the maintainer can check the current state and the historical record of equipment at any time on the terminal of oneself, when equipment or control system occur when unusual, warning system can automatically in time be notified operator on duty on duty and relevant responsible person with short message mode with pressing degree according to the order of severity of abnormal conditions, make them understand the very crux real-time and accurately, so that in time take measures, ensure the safety and the efficient of producing to greatest extent.
For achieving the above object, the present invention adopts following technical scheme:
A kind of factory level equipment control and short message alarm system of basic automation systems comprise:
The signal data acquisition module is used for by from basic automation systems real-time acquisition system signal, device signal and process signal, and the signal of gathering is sent to the state monitoring signal module;
The state monitoring signal module, be used for model by setting in advance, from data, screen out data such as control system state, equipment state, process system state and send to data management module, and the various failure messages of selecting out are passed to the fault information managing module;
Data management module is used for carrying out as requested on-line condition monitoring and analysis, and historical data is write down and adds up, and for maintainer's inquiry, and can generate form;
The fault information managing module, be used for hunting out corresponding system failure variable according to mapping relations, from the note pond, take out corresponding failure message, and carry out arranging order, in time send to maintainer on duty and corresponding managerial personnel according to the information in the personal information administration module by SMS transmission module then;
The personal information administration module, be used for the personal information of user's input is carried out the dendrachy management, responsibility, authority, the division of labor, post and working time according to the maintainer are carried out grouping management to maintainer's information, when the fault information managing module hunted out system failure variable, the personal information administration module provided corresponding personnel's telephone number according to user's the fault variable that is set to;
SMS transmission module, the fault information that the telephone number that provides according to the personal information administration module and fault information managing module are provided to be provided sends note.
This system provides the watch-dog that special supply equipment is safeguarded, managerial personnel use that is independent of active station and engineer station, disposes the one or more maintenance management of the various device in the specific region in full factory or the factory and monitoring stations that fault alarm is used of being used for as required.
Described state monitoring signal module further comprises following submodule:
Data are screened submodule, are used to scan configuration information table, analyze the mapping relations of real time data and configuration information, select out the Various types of data that needs monitoring;
The Fault Identification submodule is used for predetermined various Fault Identification models and fault pre-alarming model;
Data transmit submodule, are used for packing data, to data management module and fault management module transfer data packets.
Described data management module further comprises following submodule:
The on-line monitoring submodule is used to search and asks corresponding monitoring model, the log-on data monitoring, and monitor procedure sent to the module of filing a request;
Data typing submodule after being used to receive packet, unpacks data, and data are filed, and deposits database in;
The data query submodule is used for activating this submodule when receiving the enquiry of historical data request, finds out the data that are associated by the fuzzy query algorithm and returns to the inquiry;
The report generation submodule generates the form order if receive, and then activates the report generation submodule, seeks survival into corresponding report as required.
Described fault information managing module further comprises following submodule:
The fault definition submodule is used for predefined fault and note mapping relations, and as requested dynamically with fault-signal grouping, the classification of failure definition, grade and corresponding disposal route;
The fault mapping submodule is used for by fuzzy matching algorithm, back-track algorithm, deep search, the breadth first search, branch-and-bound, A* algorithm, methods such as binary search algorithm inquire the fault that satisfies condition, and follow predefined fault and note mapping relations to search out corresponding note from the note pond;
The fault statistics submodule is used for having when a plurality of when the fault that inquires, and activates the fault statistics function, according to the generation quantity and the time of origin of the failure message that inquires, by foam ordering, binary sort tree, bubble sort, quicksort inserts the processing of sorting of method such as ordering;
Information sends submodule, is used for when the Query Result non-NULL, and log-on message sends submodule, the failure message after the routine processes is sent to the module that proposes the inquiry application.
Described personal information administration module further comprises following submodule: the login authentication submodule, and personal information increases submodule, and personal information is revised submodule, personal information deletion submodule, personal information inquiry and rights management submodule.
Described SMS transmission module further comprises following submodule:
Personal information and rights management submodule adopt the multidimensional tree shaped model, the maintainer are divided into groups according to management, maintainer's responsibility, authority, the division of labor, post and working time, provide Query Information and authority by different dimensions;
The personnel inquiry submodule is used for submitting query requests to the personal management module, to obtain the maintenance management personnel's that are associated with this fault and current time telephone number;
The message search submodule is submitted the message search application to fault management module, obtains the short message content of this fault correspondence;
The device status inquiries submodule judges it is to send note or the short message channel by Virtual network operator sends note by GSM equipment according to user's setting;
The device drives submodule, if user's Set For Current is to send note by GSM equipment, then check the connection status and the idle condition of current GSM equipment, when equipment connects disconnection, attempt connection device until reaching maximum times by the device status inquiries submodule; If equipment is not successful connection or device busy as yet, then the telephone number and the short message content of fault association are put into Buffer Pool.
If being the short message channel by Virtual network operator, user's Set For Current sends note, the device drives submodule is according to user's concrete setting, (comprise the CMMP short messaging gateway from the short message channel of multiple network operator, SGIP short messaging gateway etc.) passage of selecting the user to set in, the information center of selecting with the user (comprises China Mobile, CHINAUNICOM, the information center of China Telecom and China Netcom) connects, and from formation, take out short message content and corresponding telephone number, short message content is sent to corresponding telephone number.
A kind of factory level equipment control of basic automation systems and SMS alarm method:
Read configuration file, set up in the data acquisition unit mapping relations of address in the data point and basic automation systems, and the numbering of its data point is sent to the state monitoring signal module, the beginning image data also sends to the state monitoring signal module;
Image data only needs a data collection point can pass through the data that networks such as industrial control network, LAN (Local Area Network) or wide area network are gathered to be needed in wide scope;
Receive data, and,, send fault order and failure code to the fault information managing module in case detect the system data fault according to data number coupling fault distinguishing model;
According to the fault mapping relations, from the note pond, take out note, send to SMS transmission module according to client's setting, and failure message is stored;
SMS transmission module receives the fault note, submits the inquiry application for the personal information administration module according to mapping condition;
The personal information administration module receives the inquiry application, Query Result is sent to SMS transmission module and triggers SMS module failure message is sent to relevant maintenance management personnel;
Managerial personnel login fault management module, according to the condition query historical failure;
Data management module carries out on-line condition monitoring and analysis as requested, and historical data is write down and adds up, and for maintainer's inquiry, and generates form.
The step of described image data realizes the collection of data by following agreement:
Realize the collection of data by following LAN (Local Area Network) communications protocol: TCP/IP, NETBEUI, IPX/SPX, NWLinkIPX/SPX; Perhaps
Realize the collection of data by following wide area network communications protocol: TCP/IP, PPP (Point to Point Protocol), HDLC (High level Data Link Control), Frame-Relay, X.25, slip, SDLC, FDDI, ISDN, STN, ATM, DDN; Perhaps
Realize the collection of data by following industrial control network communications protocol: TCP/IP, OPC, PPI, MPI, HART, PROFIBUS DP, MODBUS, MODBUS PLUS, FIELDBUS, CAN, RS232, RS485, DDE, LAN.
The present invention has the following advantages and good effect:
1) the present invention has the special terminal equipment that is independent of active station and engineer station to be used for the maintainer system and equipment running status are monitored and handle, reduced the interference of other factors, the personnel that maintain easily in time inquire about the state of understanding system and equipment, reduced interference, improved the work efficiency of producing and safeguarding simultaneously operating personnel;
2) scope of present device management and warning comprises that all insert the equipment and the relevant information of basic automation systems in the factory, in extensive range, integrated level is high, small investment, equipment are simple, easy to maintenance, be convenient to the maintainer and facility information managed concentratedly, analyzed and formulate in time and safeguard and the maintenance scheme.
3) the present invention can not shut down according to user's request, dynamically increases and decreases the monitoring point under the situation of not influence system operation, guarantees the continous-stable operation of system.Meanwhile, data acquisition can be carried out by a plurality of systems that industrial mimicry net is formed different hardware in a data collection point, has embodied the system integration of height, provides cost savings to a great extent;
4) the default scoring model of malfunction monitoring module of the present invention, can analyze the existing systems service data in real time, and can make accurately fault and to judge, and can early warning to fault trend, the interference that this can get rid of human factor, the personnel that help to be correlated with effectively fix a breakdown or prevent the generation of fault;
5) the present invention can dynamically divide into groups to fault by system according to user's demand; The type of pressing fault is to failure modes; The influence degree of pressing fault is to the fault classification.The personal information administration module divided into groups to the maintainer according to maintainer's responsibility, authority, the division of labor, post and working time simultaneously, and according to fault type, fault level, fault content and the time period of distributing each maintainer to receive.Maintainer to the difference division of labor, post sends different classes of failure message; The maintainer of different responsibilities, authority is sent the failure message of different brackets; Can send the fault SMS Tip for maintenance, managerial personnel on duty according to maintenance, managerial personnel's working time timesharing.Promptly ensured promptly and accurately having avoided again of information to the interference of safeguarding, the life of managerial personnel's operate as normal is unnecessary;
6) the present invention can with way of short messages will be accurately failure message send to maintenances, managerial personnel, as long as in the place of communication network covering, they just can grasp failure message timely and accurately, have ensured the promptness of repair and maintenance;
7) the present invention can write down, add up, sieve, inquire about information such as the historical data of process system, control system, various device, failure logging, results, and as required related data is analyzed and generated relevant form and provide scientific basis for the maintenance update of equipment, simultaneously effectively alleviate related work personnel's workload, increase work efficiency.
Embodiment
The invention will be further described in conjunction with the accompanying drawings with specific embodiment below:
The service data to basic automatization control system, various device that provides for plant maintenance, managerial personnel specially that is independent of active station and engineer station is provided carries out on-line monitoring and analysis, in time provide note early warning and warning to the equipment and the system failure, treatment measures and structure to the equipment and the system failure are carried out record, the maintenance of equipment and maintenance scheme are provided analyze and the system of the factory level equipment control of suggestion report and equipment and the early warning of system failure note, warning.Can in time inquire about the state of understanding system and equipment by this system maintenance personnel, the in real time early warning and the warning message of the grasp equipment and the system failure can write down, add up, sieve, inquire about, generate form to information such as the history data of equipment, time of failure, failure cause, fault handling mode, fault handling time, results.
As seen from Figure 1, the present invention is a kind of factory level equipment control and equipment and the early warning of system failure note, warning system based on basic automation systems, and it mainly comprises signal data acquisition module, state monitoring signal module, data management module, fault information managing module, personal information administration module and SMS transmission module.
The signal data acquisition module is passed through real-time acquisition system signal, device signal and process signal from basic automation systems, and the signal of gathering is sent to the state monitoring signal module.The model of state monitoring signal module by setting in advance screens out data such as control system state, equipment state, process system state and sends to data management module, and the various failure messages of selecting out are passed to the fault information managing module from data.Data management module can carry out on-line condition monitoring and analysis as requested, and historical data is write down and adds up, and for maintainer's inquiry, and can generate form.The fault information managing module hunts out corresponding system failure variable according to mapping relations, from the note pond, take out corresponding fault information, and carry out arranging order, in time send to maintainer on duty and corresponding managerial personnel according to the information in the personal information administration module by SMS transmission module then.The personal information administration module carries out the dendrachy management to the personal information of user's input, responsibility, authority, the division of labor, post and working time according to the maintainer are carried out grouping management to maintainer's information, when the fault information managing module hunted out system failure variable, the personal information administration module provided corresponding personnel's telephone number according to user's the fault variable that is set to.The fault information that telephone number that SMS transmission module provides according to the personal information administration module and fault information managing module provide sends note.The detailed implementation method of each module is as follows:
1) signal data acquisition module.The signal data acquisition module can be passed through the data that network collections such as industrial control network, LAN (Local Area Network) or wide area network need, and can realize the collection of data according to the actual conditions at scene by following agreement.
1. can realize the collection of data by following LAN (Local Area Network) communications protocol: TCP/IP, NETBEUI, IPX/SPX, NWLinkIPX/SPX etc.
2. can realize the collection of data by following wide area network communications protocol: TCP/IP, PPP (Point to Point Protocol), HDLC (High level Data Link Control), Frame-Relay, X.25, slip, SDLC, FDDI, ISDN, STN, ATM, DDN etc.
3. can realize the collection of data by following industrial control network communications protocol: TCP/IP, OPC, PPI, MPI, HART, PROFIBUS DP, MODBUS, MODBUS PLUS, FIELDBUS, CAN, RS232, RS485, DDE, LAN etc.
2) state monitoring signal module.The state monitoring signal module comprises data and screens submodule, Fault Identification submodule, data transmission submodule.After receiving the data updated of data acquisition module, activation data is screened submodule, the scanning configuration information table, and the mapping relations of analysis real time data and configuration information are selected out the Various types of data that needs monitoring.Predetermined various Fault Identification models and fault pre-alarming model comprise level signal Fault Identification model in the Fault Identification submodule, current signal Fault Identification model, voltage signal Fault Identification model, the temperature anomaly model of cognition, derivative-type Fault Identification model, integral form Fault Identification model, proportional-type Fault Identification model, the unusual model of cognition of fluid, the pressure anomaly model of cognition, current signal fault pre-alarming model, voltage signal fault pre-alarming model, the temperature anomaly Early-warning Model, derivative-type fault pre-alarming model, integral form fault pre-alarming model, proportional-type fault pre-alarming model, fluid abnormity early warning model, the pressure anomaly Early-warning Model.Start model,, normally whether to differentiate current data by identifying the system variable of each model correspondence, and the output state zone bit.Data transmit submodule with packing data, to data management module and fault management module transfer data packets.
3) data management module.Data management module has mainly comprised three submodules, is respectively: on-line monitoring submodule, data typing submodule, data query submodule and report generation submodule.After receiving packet, data are unpacked, data are filed, deposit database in by data typing submodule; The maintainer also can deposit database in by processing mode and the result logging data typing submodule of data typing submodule with equipment failure, is provided with the back query analysis.When receiving external world's request monitored instruction, activate the on-line monitoring submodule, search and ask corresponding monitoring model, log-on data is monitored, and monitor procedure is sent to the module of filing a request.When receiving the enquiry of historical data request, activation data inquiry submodule is found out the data that are associated by the fuzzy query algorithm and is returned to the inquiry, generates the form order if receive, and then activates the report generation submodule, seeks survival into corresponding report as required.
4) fault information managing module.The fault information managing module comprises five submodules, is respectively: fault definition submodule, fault mapping submodule, fault statistics submodule and information send submodule.Predefined fault of fault definition submodule and note mapping relations are dynamically adjusted the mapping relations between fault and the system variable, and as requested dynamically with fault-signal grouping, the classification of failure definition, grade and corresponding disposal route.
After receiving the fault inquiry application, activate the fault mapping submodule, the fault mapping submodule is by fuzzy matching algorithm, back-track algorithm, deep search, the breadth first search, branch-and-bound, A* algorithm, methods such as binary search algorithm inquire the fault that satisfies condition, and follow predefined fault and note mapping relations to search out corresponding note from the note pond.When the fault that inquires has when a plurality of, activate the fault statistics function, according to the generation quantity and the time of origin of the failure message that inquires, by the foam ordering, binary sort tree, bubble sort, quicksort inserts the processing of sorting of method such as ordering.When the Query Result non-NULL, log-on message sends submodule, the failure message after the routine processes is sent to the module that proposes the inquiry application.
5) personal information administration module.The personal management information management module has comprised a plurality of submodules according to functional requirement, be respectively: the login authentication submodule, personal information increases submodule, and personal information is revised submodule, personal information deletion submodule, personal information inquiry and rights management submodule.Managerial personnel in the registration of personal information administration module login this module according to the login key of self, can carry out corresponding bookkeeping according to the authority of self after by checking.Unregistered personnel can register by this module, and apply for corresponding administration authority, assign authority through examining the back by authority management module.Personal information inquiry and rights management submodule have adopted the multidimensional tree shaped model, the maintainer are divided into groups according to management, maintainer's responsibility, authority, the division of labor, post and working time, provide Query Information and authority by different dimensions.
6) SMS transmission module.SMS transmission module comprises four submodules, is respectively: personnel inquiry submodule, message search submodule, device status inquiries submodule and device drives submodule.When screening out fault-signal or early warning signal, SMS transmission module activates, the system variable that will activate this module then is mapped to the fault variable, and submit query requests to the personal management module by the personnel inquiry submodule, to obtain the maintenance management personnel's that are associated with this fault and current time telephone number.Submit the message search application by the message search module to fault management module simultaneously, obtain the short message content of this fault correspondence.When two values of returning of inquiry submodules all during non-NULL, send the application of use equipment, the device status inquiries submodule judges it is to send note or the short message channel by Virtual network operator sends note by GSM equipment according to user's setting.If user's Set For Current is to send note by GSM equipment, then check the connection status and the idle condition of current GSM equipment by the device status inquiries submodule, when equipment connects disconnection, attempt connection device until reaching maximum times.If equipment is not successful connection or device busy as yet, then the telephone number and the short message content of fault association are put into Buffer Pool.When the transmission condition satisfied, device drives submodule driving arrangement took out short message content and corresponding telephone number from formation, short message content is sent to corresponding telephone number; If being the short message channel by Virtual network operator, user's Set For Current sends note, the device drives submodule is according to user's concrete setting, (comprise the CMMP short messaging gateway from the short message channel of multiple network operator, SGIP short messaging gateway etc.) passage of selecting the user to set in, the information center of selecting with the user (comprises China Mobile, CHINAUNICOM, the information center of China Telecom and China Netcom) connects, and from formation, take out short message content and corresponding telephone number, short message content is sent to corresponding telephone number.
As shown in Figure 2, the factory level equipment control of basic automation systems provided by the invention and SMS alarm method workflow are as follows:
1) data acquisition unit initialization: read configuration file, set up in the data acquisition unit mapping relations of address in the data point and basic automation systems, and the numbering of its data point sent to the state monitoring signal module, the beginning image data also sends to the state monitoring signal module;
2) receive data, and according to data number coupling fault distinguishing model.In case detect the system data fault, send fault order and failure code to the fault information managing module;
3) the fault information managing module is taken out note according to the fault mapping relations from the note pond, sends to SMS transmission module according to client's setting, and failure message is stored;
4) SMS transmission module receives the fault note, submits the inquiry application for the personal information administration module according to mapping condition;
5) the personal information administration module receives the inquiry application, Query Result is sent to SMS transmission module and triggers SMS module failure message is sent to relevant maintenance management personnel;
6) managerial personnel login fault management module, according to the condition query historical failure.
7) data management module carries out on-line condition monitoring and analysis as requested, and historical data is write down and adds up, and for maintainer's inquiry, and generates form.
Above embodiment is only for the usefulness that the present invention is described, but not limitation of the present invention, person skilled in the relevant technique; under the situation that does not break away from the spirit and scope of the present invention; can also make various conversion or modification, so all technical schemes that are equal to, all fall into protection scope of the present invention.