CN102882724B - Field bus equipment monitoring and management method - Google Patents

Field bus equipment monitoring and management method Download PDF

Info

Publication number
CN102882724B
CN102882724B CN201210371816.6A CN201210371816A CN102882724B CN 102882724 B CN102882724 B CN 102882724B CN 201210371816 A CN201210371816 A CN 201210371816A CN 102882724 B CN102882724 B CN 102882724B
Authority
CN
China
Prior art keywords
field bus
data
bus device
equipment
diagnostic message
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.)
Active
Application number
CN201210371816.6A
Other languages
Chinese (zh)
Other versions
CN102882724A (en
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.)
Xian Thermal Power Research Institute Co Ltd
Original Assignee
Thermal Power Research Institute
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 Thermal Power Research Institute filed Critical Thermal Power Research Institute
Priority to CN201210371816.6A priority Critical patent/CN102882724B/en
Publication of CN102882724A publication Critical patent/CN102882724A/en
Application granted granted Critical
Publication of CN102882724B publication Critical patent/CN102882724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a field bus equipment monitoring and management method which acquires diagnosis information of field bus equipment by a data acquiring module. The data acquiring module comprises an OPC (ole for process control) client side and a history recording module, a data processing module is used for processing the information of the field bus equipment and comprises a field bus equipment type file generation module, a field bus equipment configuration module, a field bus equipment monitoring and management module, a field bus equipment original data real-time database module and a field bus equipment operation data real-time database module. An equipment management system can be separated from a DCS (distributed control system) without depending on the communication protocol of the equipment by means of an OPC protocol. Universality of the equipment is realized by the method of coding the equipment type files, configuration and equipment adding are completed at one step, and feasibility and safety of the system are improved via the operation link list according to the industrial running standards, and a document database is established to improve office rapidness.

Description

A kind of field bus device method for managing and monitoring
Technical field
The invention belongs to field bus device administrative skill field, relate to a kind of field bus device method for managing and monitoring.
Background technology
From the eighties in 20th century, fieldbus because its reliability is strong, communication is quick, compatible wide, cost is low etc., and a series of advantages are able to extensive use in industrial automatic control.Increasingly automated, the digitlization of producing in addition, living, the intelligent development that also promotes field bus control system and field bus device, various device management system and field bus device are of a great variety at present, can meet the needs of various industries.But also there are some very important problems in current most of equipment management systems.
Along with the development of fieldbus, You Duo company has developed equipment management system separately according to the requirement in market at present, and has obtained a large amount of application, and reaction is good.Wherein more representational have following two kinds: the AMS intelligent device management system of the process device manager SIMATIC PDMHe Ai Mosheng company of Siemens Company.These two kinds of equipment management systems have represented respectively the implementation of two kinds of equipment management systems, comprise module composition wherein and the information interaction of field apparatus and equipment management system, and the two is all mutually different.Different just because of its mechanism, the application of two kind equipment management systems is also differed widely.
1) Simatic PDM system
Simatic PDM is a set of equipment management system developing for Profibus field bus system.This cover system be one for field apparatus and automation component are shown, the general utility tool of test run, diagnosis and maintenance.Its distinguishing feature is exactly: integration, its purpose of design is tried hard to exactly by field devices integration.In this cover system, allow to realize integrated by multiple method; By device fabrication business's DD; By agreement PROFIBUS PA-Profile V3.0; Catalogue by HCF (Hart Comm Foundation) is realized the integrated of equipment.
The management work of this complete equipment management system of PDM mainly realizes by equipment itself.The functions such as the parametrization of equipment, diagnosis, realization optimization are all that the form with functional block realizes in equipment, and the information such as messaging parameter, device parameter, argument structure and device action of equipment all offer the system integration user of equipment by EDD file simultaneously.PDM has a top-heavy system configuration.The requirement of Ta Dui equipment manufacturers is very high, needs equipment manufacturers in production equipment, just to consider the management work such as maintenance to equipment, optimization and realizes in equipment with the form of functional block.
By the theoretical method that uses EDD file to realize integration of equipments at client layer, equipment based on which kind of field bus protocol is not required, therefore use the PDM system of this theoretical method very extensive at usability.But also just because of this theoretical method, PDM has a strict requirement to equipment, and field apparatus must provide EDD file, for the field apparatus of not supporting EDD, this cover management system is inapplicable; Simultaneously because the groundwork of this devices in system management is all that form by functional block realizes in equipment, to device fabrication business, require very high, the function that therefore can realize is fairly simple, limited, and the management function of the increase that the user of equipment also substantially can not be extra to field apparatus.So from the angle of equipment control, the practical function of its equipment control is very limited.
Except requiring too high to device fabrication producer, cannot be general with all devices outside, PDM diagnoses mainly for equipment and adds up, and for the on-the-spot application management aspect function of this specific industry of power plant a little less than, cannot when need to safeguarding, equipment fault appearance or equipment provide corresponding maintenance guidance, can not automatically generate maintenance or maintenance work ticket, the failure diagnosis of equipment can not be dissolved in the middle of the industrial flow of whole power plant industry.In addition, PDM does not preserve completely to the historical data of whole field bus device, although PDM can generate alarm log, and preserve with CSV form, but when PDM computer when breaking down and restarting, when reopening PDM, historical data before will be lost.
2) AMS equipment management system
The AMS of Ai Mosheng is a system in combination, has comprised AMS facility information platform, AMS intelligent device management system, AMS mechanical equipment state management system, AMS performance detecting system and AMS real-time optimization system.Integrated application by above-mentioned five systems can realize the functions such as the management of intelligent instrument valve arrangement, capability of engineering equipment monitoring, process device Performance Detection and system protection.
Wherein, AMS equipment management system is from the angle of the system integration, and user's requirement modularize has further been formed independently to management system and unified to be integrated on an information platform.The advantage of this system is: the parameter information of all field apparatuss is all embodied in a unified interface; When carrying out a certain function, user can travel through all field apparatuss.
In addition, AMS integrates data acquisition, data analysis, therefore will carry out " connection " with equipment by DCS system or direct line.At present, AMS can only utilize software and hardware and the wiring of the DCS system of a few companies such as Ai Mosheng, communicate with devices communicating, and during for most applications, just must be connected on equipment by multiplexer and DCS system simultaneously, so just cause equipment to add more complicated, had a strong impact on the autgmentability of system.
Summing up above two kinds of conventional equipment management systems can find out, the equipment management system of main flow has several defects at present:
1. pair equipment requirement is high.Most of equipment management systems all require equipment must be able to provide facility information file as the EDD file of PDM, the DD file of AMS.Therefore, during system operation, require equipment be able to generate, corresponding facility information file is provided, must improve the requirement to equipment like this, once equipment cannot provide message file, management system cannot be brought this equipment into management area, has reduced versatility.
2. autgmentability is poor.Most of equipment management systems all will communicate with equipment, therefore must utilize software and hardware and wiring and equipment connection, and the cost of the whole equipment management system that must increase like this and complexity, also will inevitably have influence on original DCS system.
3. too tight with DCS system, coupled.Current equipment management system be all substantially " embedded " in DCS system, be easy to the operation of DCS to impact, and also strengthened the difficulty of management system installment and debugging.This is to some application scenarios high-risk as this in thermoelectricity, high emergent industry, and " embedding " equipment management system in DCS system more or less can increase the potential safety hazard of control system.
4. be all the system of " heavyweight ".Current equipment management system is all powerful and scale also " powerful " substantially, and a lot of functions of system repeat with the function of DCS, more than occurring in function and not smart situation.
Summary of the invention
The problem that the present invention solves is to provide a kind of field bus device method for managing and monitoring, the method be a kind of there is extensive versatility can obtain the abundant state of bus apparatus and diagnostic data, it is carried out depth analysis, monitoring display and provides maintenance/maintenance guidance and the real-time monitoring of computer management method of work ticket.
The present invention is achieved through the following technical solutions:
A method for managing and monitoring for field bus device, comprises the following steps:
1) by the diagnostic message of data collecting module collected field bus device, data acquisition module comprises OPC client and history module,
The OPC client of data acquisition module is by OPC agreement, field bus device diagnostic message point data on the total line traffic control network of collection site opc server, and by Ethernet, the data of collection are sent to data processing module, and gathered data are recorded in to history module;
2) data processing module is responsible for the field bus device information of importing into process, and data processing module comprises field bus device type file generation module, field bus device configuration module, field bus device monitoring management module, field bus device initial data real time data library module and field bus device operational data real time data library module;
Field bus device type generation module is write corresponding device type file according to the type of field bus device to be monitored and using method thereof, and import in device type storehouse, the judgement of the type equipment state and fault show carries out the mode of the device type document definition according to imported;
3) in the reflection position relationship of field bus device and the operation configuration figure of operation information, operator is added on corresponding position in operation configuration figure according to the station information of field bus device, and the relevant information of filling in equipment, its essential information, state information and diagnostic message are associated with field bus device;
4) at the scene in bus apparatus running, field bus device monitoring management module receives the multicast packet that data acquisition module sends, the device type fileinfo and the field bus device diagnostic message dot file that when on the one hand configuration info, the system by Project Configuration file starts, load, fieldbus diagnostic data is carried out to computing according to the formula defining in the device type file loading, and its result is shown on the interface of data processing module; By the operational data obtaining after the initial data of reception and computing, upgrade and store in initial data real-time data base and operational data real-time data base respectively on the other hand;
5) Web server sends request of data to field bus device Web data request processing module after receiving client browser access request, and the file data regularly request of Web data request processing resume module being returned sends to client browser.
The collection of field bus device diagnostic message point described step 1), comprises the following steps:
1) after utilizing Ethernet that the OPC client in data acquisition module is connected with the opc server of controlling network, in connected opc server, add OPC group, and add the field bus device diagnostic message point that needs collection in OPC group;
2) by deriving and import feature, for each field bus device diagnostic points, add the KKS code of its corresponding device, the diagnostic message point of communication main website does not need to add KKS code;
3) preserve the diagnostic message point adding in OPC client, and generate diagnostic message dot file; After OPC client arrives data acquisition, use multicast mode that data are sent to the data processing module to history module and field bus device monitoring management system.
The described derivation of passing through is that field bus device diagnostic message points all in OPC group is exported in csv file with import feature, use Excel to open export, in export, each diagnostic message point accounts for a line, first classifies the label of diagnostic message point as, in secondary series, insert the KKS code of the equipment corresponding with first row diagnostic message point label, preserve after csv file, use OPC client that the csv file after editor is imported in former OPC group again; Field bus device diagnostic message dot file is preserved and generated to configuration in OPC client.
Described device type file is according to the device type in field engineering, for each device type, makes a device type file, and the generation of device type file comprises the steps:
1) first according to the relevant information of type equipment to be write, all information points and the relevant information of writing define equipment; According to the actual motion feedback information of the type equipment, use xml formal definition relevant information point (as measured value information point, state information point, state information diagnostic message point and extensive diagnostic information point etc.), and the length of information point, type information;
2) define the details of each information point, according to 1) in the order of information point of definition, the roll-call of each information point of specific definition, length, type information successively, to 1) in definition diagnostic message point split, each (bit bit in detailed each the diagnostic message point of definition, a byte has 8) title and this positional information in this diagnostic message point, and represent with xml form;
3) according to the represented implication in each information point/position of the type device definition, and combine define equipment running status item with and computing formula, define equipment operation, the state information of each information point/position representative, be combined into a running status item by state is similar, related, and according to the numerical value that represents of every kind of information state, the computing formula of definition running status item, and represent with xml form;
4) operation field bus device type generator, resolves the diagnostic message point definition of xml form, and the operational formula of infix expression is converted to suffix form the most at last, and is kept in device type file.
It is when system starts that described field bus device diagnostic message dot file loads, system reads diagnostic message dot file information, field bus device initial data real time data library module is according to these information creatings, initialization real-time data base, all diagnostic message points and relevant information are stored in real-time data base with certain format, and initial data is upgraded, configuration diagnostic message is associated and it is all relevant with this real-time data base to read initial data during computing.
It is when system starts that described field bus device type file loads, and system fetch equipment type file, according to fileinfo, creates device type object and relevant information and operational formula, so that configuration reading information while selecting device type;
Described operational data real-time data base creates and refers to when bus apparatus monitoring program starts at the scene, according to information point establishment, the initialization operational data real-time data base of configuration info, equipment association, in order to the renewal storage of operational data and the data of Web data request processing module, read.
Described step 3) be by field bus device configuration, device type object is associated with information point in field bus device real-time data base, for Fieldbus Control supervisory control system is added equipment, for equipment arranges device type, and according to device type requirement, comprise that step is as follows:
1) according to field engineering topological diagram, add controller and communication main website, in communication main website, take the communication box topological diagram new as unit adds;
2) use the pel drawing topological graph in configuration instrument;
3) add after communication main website pel, for communication main website pel arranges controller title, operating office title, address, finally add diagnostic message point;
4) under communication main website, add network segment pel, and title, address and KKS code are set for the network segment;
5) choose network segment pel, at its lower field bus device pel that adds, for field bus device monitoring management system adds field bus device, device name, device description, KKS code, address, station, device type and value of feedback unit's attribute are set while adding equipment simultaneously;
After having set certain device type, its diagnostic message point is determined, now need to from field bus device diagnostic message dot file, find out the point that KKS code is identical with equipment KKS, and it is associated with field bus device according to analog quantity point, packing point or three kinds of modes of fractionation point successively;
6) saving scene bus apparatus configuration, obtains topological diagram configuration file and field bus device object configuration file;
7) configuration file is sent in the history module of data acquisition module, can carry out computing according to the mode in configuration.
Described data processing module is also by current state or the historic state of device name or KKS code query facility;
Or the work contact list that inquiry is being dealt with the work contact list, processed work contact list, completed in ten days;
Or single according to time period searching work contact, or by the relevant work contact list of all maintainers therewith of maintainer's name query;
Also the data processing module described in being, except having computing and statistical function, also possesses query function:
Can pass through current state or the historic state of device name or KKS code query facility,
Also can inquire about the work contact list of dealing with the work contact list, processed work contact list, completing in ten days,
And single according to time period searching work contact, or by the relevant work contact list of all maintainers therewith of maintainer's name query.
Described fieldbus diagnostic data carries out computing, comprises the following steps:
1) field bus device monitoring management module reads respectively field bus device type file, fieldbus diagnostic message dot file and field bus device configuration file, according to diagnostic points information creating dynamic data base, initialization field bus device object, by Transmission Control Protocol, to the history module in data acquisition module, send synchronous data requests, data in synchronous dynamic database and since all historical datas that the last time logs off, comprise the historical data of data point, the historic state of equipment and newly-generated work contact list in historical data;
2) start the thread of receiving group bag, start to receive field bus device diagnostic data, the data that receive are saved to dynamic data base, and compare with a upper moment data, if diagnostic data changes,, by the direct announcement apparatus of KKS code of data point place equipment, make equipment when upper once execution cycle, recalculate all states;
3) start execution cycle, the every 3 seconds all field bus devices of run-down, if the diagnostic data of equipment changes, the state that the current device of rerunning is all;
4) if after the computing of bus apparatus state finishes at the scene, find that current device has new fault or maintenance state to occur, judge that current device is whether in just at the state of handling failure, if having fault processes, do not generate work contact list, otherwise judge whether current device has existed also untreated work contact list; If existed, will work as prior fault and add this work contact list, if there is no, be that current device generates a new work contact list, if after computing finishes, finding that there is fault is eliminated, malfunction once of record, and equipment state is recovered to normal, only has and is keeped in repair when equipment, work contact list is identified, and it is normal that the malfunction of equipment could be recovered completely;
5) every 3 seconds are by historical data write memory buffering area, every 1 minute by the data writing in files within 1 minute before, historical data comprises the historical data of field bus device diagnostic data point and the historical data of equipment state, during storage of history data P, the data of current data and previous moment are compared, if change, be recorded to internal memory, otherwise record not, reduces the redundancy of historical data by the method;
6) data in statistics internal memory, and be shown in the interface of data processing module.
Described web server response client browser access request, comprises the following steps:
1) client browser user passes through network entry Web server by http protocol;
2) Web server receives the HTTP access request of client browser, according to the user of login and request content, to field bus device Web data request processing module, sends request of data;
3) field bus device Web data processing module receives after request of data, according to user and solicited message, from field bus device operational data real-time data base, read the data of response, and according to certain format, write data as file according to solicited message, and this user, send a new secondary data request predetermination phase and upgrade these files;
Described certain format is a kind of in XML file, PHP file and JS file;
4) Web server reads the file that Web data request processing module is write out, information exchange is crossed to http protocol and through network, send to access customer end subscriber, this step is continued until that client sends new access request or client browser user logs off.
Compared with prior art, the present invention has following useful technique effect:
Field bus device monitoring management system provided by the invention and method thereof, utilize OPC agreement that equipment management system is spun off from DCS system, do not rely on the communication protocol of equipment, the method of employing programming apparatus type file (ET) realizes the versatility of equipment, configuration and interpolation equipment is disposable completes, according to industrial operation standard, by work contact list, improve feasibility, the fail safe of system, set up agility, convenience that document database improves office.
Compare with existing system, the present invention has following useful technique effect:
1) general-purpose platform, suitable device scope is wide.The present invention does not require that equipment must provide relevant information file, can and be loaded into system according to the operation instruction of equipment and occupation mode programming apparatus type file (ET), thereby can bring monitoring range of the present invention into by programming apparatus type file for any field bus device.
2) autgmentability is high, installs simple.Due to the present invention be from existing DCS system by OPC agreement equipment information point data, so can not relate to the problem with equipment wiring, install simple, convenient, fastly, and can not change, affect existing DCS system associated connections and structure.
3) low, safe with DCS system, coupled.The present invention is independent of outside DCS system, low with the coupling of DCS system, can be used in conjunction with, and any operation of the present invention operation can not have influence on the normal operation of DCS with any DCS, therefore safe.
4) " lightweight " equipment management system.The present invention is absorbed in the monitoring of field bus device, does not add any other function that has influence on DCS system, in function, does not repeat, does not conflict with other control system, and the unit of take carries out monitoring management as unit.
5) work ticket mechanism more meets industrial production standard.The present invention, fully in conjunction with the regular job rules and regulations of Thermal Power Enterprises, has developed a set of work ticket treatment mechanism that meets production standard easy operating.Work ticket mechanism on-the-spot to have something to base on all such as any change of equipment and system, operation, so both guaranteed that the fail safe of working also made this be operated in afterwards and can check and examine.
Accompanying drawing explanation
Fig. 1 is the network architecture diagram of device management method.
Fig. 2 is that data are at the flow chart of whole processing procedure.
Fig. 3 is the flow chart that each cycle data refreshes.
Fig. 4 is the flow chart that work ticket generates.
Embodiment
Below in conjunction with specific embodiment, the present invention is described in further detail, and the explanation of the invention is not limited.
Referring to Fig. 1, Fig. 2, for convenience of description, the given first module that will use required for the present invention:
A field bus device method for managing and monitoring is data acquisition module and the data processing module based on being connected by Ethernet;
Data acquisition module, comprises OPC client and history module, the diagnostic message of the OPC client collection site bus apparatus being connected with opc server, and OPC client also sends to data processing module by the data of collection by Ethernet; History module retains the image data in a period of time;
Concrete OPC client connects the opc server of controlling network by Ethernet, then in data acquisition module, by OPC client, be connected on opc server, creates OPC group, and adds the field bus device diagnostic message point that needs collection in OPC group;
By deriving and import feature, for each field bus device diagnostic points, add the KKS code of its corresponding device, the diagnostic message point of communication main website does not need to add KKS code;
Preserve the diagnostic message point adding in OPC client, and generate diagnostic message dot file (.osd file), diagnostic message dot file (.osd file) is sent in data processing module and history module, makes it obtain the field bus device diagnostic message of controlling in network.
After concrete OPC client arrives data acquisition, use multicast mode that data are sent to data processing module, data acquisition module is by the record image data of 8 hours simultaneously.
Data processing module, comprises field bus device type file generation module, field bus device configuration module, field bus device monitoring management module, field bus device initial data real time data library module and field bus device operational data real time data library module;
Field bus device type file generation module, according to the type of field bus device and using method thereof, generate the device type file that this equipment is corresponding, device type file provides form and algorithm for the management of device configuration and monitoring of tools, this document when system starts by field bus device configuration module loading;
Described device type file comprises the diagnostic message dot pattern definition that device type is required, and the definition of diagnostic message state algorithm;
Field bus device configuration module, generate the reflection position relationship of field bus device and the operation topological diagram of operation information, according to the station information of field bus device, be added on corresponding position in operation configuration figure, and the device type file of loading is associated its essential information, state information and diagnostic message with field bus device while starting according to system;
Field bus device monitoring management module, the diagnostic data of the field bus device that reception OPC client gathers, by diagnostic data value real-time update in field bus device initial data real time data library module, according to field bus device type file and algorithm corresponding to field bus device type file, fieldbus diagnostic data is carried out to periodic computing simultaneously, according to operation result, refresh in real time information on this module monitors interface, and its operation result real-time update is saved in to field bus device operational data real time data library module;
Field bus device initial data real time data library module, receive the raw information point data of field bus device monitoring management module, store the correspondence position of initial data real-time data base into, and timing cycle stores the data in all initial data real-time data bases in initial data history file into;
Field bus device operational data real time data library module, receive the data after field bus device monitoring management module arithmetic, store the correspondence position of operational data real-time data base into, timing cycle stores the data in all operational data real-time data bases in operational data history file into.
Also comprise Web server module and field bus device Web data request processing module;
Web server module, the request of response management system client browser access, sends request of data according to access request to data processing module;
Field bus device Web data request processing module, receive the request of data of Web server module, according to the type of request msg, from field bus device operational data real time data library module, read corresponding data, and according to the request of Web server module, write data the file of corresponding format as;
Web server module scheduling real-time periodic reads the data file that field bus device Web data request processing module is write according to request, and data message is sent to management system client browser.
Method for splitting and the computing formula of every kind of field bus device diagnostic message in concrete device type file, have been defined; Generative process is as follows:
(1) the required diagnostic message point of define equipment type;
(2) according to the definition of field bus device diagnostic message, use the solution position method for splitting of each diagnostic message point of xml formal definition, each in field bus device diagnostic message point is split out;
(3), according to field engineering needs, each after splitting is reconfigured and computing, and write out operational formula with xml form;
(4) use field bus device type generator to resolve the data definition of xml form, and finally generate device type file.
Field bus device configuration module generates the reflection position relationship of field bus device and the operation configuration figure of operation information, according to the station information of field bus device, be added on corresponding position in operation configuration figure, and its essential information, state information and diagnostic message be associated with field bus device simultaneously;
Like this by field bus device configuration, device type file (.et file) is combined with field bus device diagnostic points file (OPCData.osd file), be Fieldbus Control supervisory control system and add equipment, for equipment arranges device type, and according to device type requirement, from field bus device diagnostic points file, search corresponding diagnostic message point, it is associated with in equipment.
Described configuration is as follows:
(1) according to field engineering topological diagram, add controller and communication main website, in communication main website, take the communication box topological diagram new as unit adds;
(2) use the pel drawing topological graph in configuration instrument;
(3) add after communication main website pel, for communication main website pel arranges controller title, operating office title, address, finally add diagnostic message point;
(4) under communication main website, add network segment pel, and title, address and KKS code are set for the network segment;
(5) choose network segment pel, at its lower field bus device pel that adds, simultaneously for field bus device monitoring management system adds field bus device, device name is set during interpolation equipment, device description, KKS code, address, station, the attributes such as device type and value of feedback unit, when selected device type, from field bus device type file (.et file), obtain the definition of diagnostic message point and the operational formula of this type equipment, finally that the fieldbus diagnostic points in added equipment and control network is relevant, after configuration finishes, configuration engineering is saved to file.
The diagnostic message of the field bus device that field bus device monitoring management module reception OPC client gathers, read field bus device type file and field bus device configuration file carries out computing to fieldbus diagnostic data, and its result is shown on the interface of data processing module.
If have equipment to occur new fault or need, safeguard, automatically generate work contact list, now fault is recorded, and if Failure elimination can not return to normal condition, only have the field failure of working as processed, and confirmed after work contact list, could thoroughly eliminate the malfunction of this equipment.
Field bus device monitoring management module is also added up field bus device, wherein comprises device class statistics, faulty equipment statistics and service equipment statistics.
Provide concrete method for supervising below:
A method for managing and monitoring for field bus device, comprises the following steps:
1) data collecting module collected field bus device diagnostic data
(1) use Ethernet that data acquisition module is connected with the opc server of controlling network;
(2) in the data acquisition module of bus apparatus monitoring management system, open OPC client at the scene, and the opc server of network is controlled in connection, in connected opc server, add OPC group, dead band and the scan period of OPC group can be set, the last field bus device diagnostic message point that need to gather that adds simultaneously under the OPC of appointment group;
(3) field bus device diagnostic message points all in OPC group is exported in csv file, use Excel to open export, in export, each diagnostic message point accounts for a line, first classifies the label of diagnostic message point as, in secondary series, insert the KKS code of the equipment corresponding with first row diagnostic message point label, preserve after csv file, use OPC client that the csv file after editor is imported in former OPC group again;
(4) configuration in OPC client is saved to " .ocf " file, to generate field bus device diagnostic message dot file (OPCData.osd file) simultaneously, this file will be sent to respectively to history module, field bus device configuration program and field bus device monitor supervisor;
(5) OPC client starts to send with multicast mode the field bus device diagnostic message point data that receive from controlling network opc server.
Step 2: making apparatus type file, according to the device type in field engineering, for each device type, make a device type file (.et file), concrete steps are as follows:
(1) according to controlling the definition to diagnostic message in network, device type is to the definition of diagnosis byte and the on-the-spot demand to diagnostic message, the diagnostic message point that uses xml formal definition to require calculation;
(2) according to diagnosing the definition of byte in field bus device type, the diagnostic message point of definition in (1) is split, for each splitting out is named, and definition and name are represented with xml form;
(3) according to the requirement of field engineering, each diagnostic message splitting out in (2) is reconfigured, according to its operational formula of program requirements definition, and represent with xml form;
(4) operation field bus device type generator, resolves the diagnostic message point definition of xml form, and the operational formula of infix expression is converted to suffix form the most at last, and is kept in device type file (.et file).
Step 3: the configuration of field bus device, for Fieldbus Control supervisory control system is added equipment, for equipment arranges device type, and according to device type requirement, from field bus device diagnostic points file, search corresponding diagnostic message point, it is associated with in equipment, concrete steps are as follows:
(1) in data processing module, open field bus device configuration program, according to field engineering topological diagram, add controller and communication main website, in communication main website, take the communication box topological diagram new as unit adds;
(2) use the pel drawing topological graph in configuration instrument;
(3) add after communication main website pel, for communication main website pel arranges controller title, operating office title, address, finally add diagnostic message point;
(4) add network segment pel, the network segment does not arrange title, address and KKS code;
(5) choose network segment pel, at its lower field bus device pel that adds, simultaneously for field bus device monitoring management system adds field bus device, during interpolation equipment, device name need be set, device description, KKS code, address, station, device type, the attributes such as value of feedback unit, after having set certain device type, its diagnostic message point is determined, now need to from field bus device diagnostic message dot file, find out the point that KKS code is identical with equipment KKS, and by it successively according to analog quantity point, packing point or three kinds of modes of fractionation point are associated with field bus device,
(6) saving scene bus apparatus configuration, obtains topological diagram configuration file (.grp file) and field bus device object configuration file (EquipmentObject.dat file);
(7) configuration file is sent in the history module of data acquisition module, can carry out computing according to the mode in configuration.
Step 4: the computing of field bus device diagnostic data, data processing module receives the multicast packet of data acquisition module, by configuration info, device type file and the field bus device diagnostic message dot file of Project Configuration file, fieldbus diagnostic data is carried out to computing, and its result is shown on the interface of data processing module, concrete operation method is as follows:
(1) start field bus device monitoring management system computing module, read respectively field bus device type file (.et file), fieldbus diagnostic message dot file (OPCData.osd file) and field bus device configuration file (EquipmentObject.dat file), according to diagnostic points information creating dynamic data base, initialization field bus device object, by Transmission Control Protocol, to the history module in data acquisition module, send synchronous data requests, data in synchronous dynamic database and all historical datas that log off since the last time, if the last time logged off before 8 hours, can only synchronous 8 hour datas, the historical data that comprises data point in historical data, the historic state of equipment and newly-generated work contact list, 8 hours mechanism prevents that management end from surprisingly exiting rear data message and losing, after synchronous, guarantee data consistent,
(2) start the thread of receiving group bag, start to receive field bus device diagnostic data, the data that receive are saved to initial data real-time data base, and compare with a upper moment data, if diagnostic data changes,, by the direct announcement apparatus of KKS code of data point place equipment, make equipment recalculate all states when upper once execution cycle, if diagnostic data changes, need not calculate;
(3) start execution cycle, the every 3 seconds all field bus devices of run-down, flow process as shown in Figure 3, if the diagnostic data of equipment changes, the state that the current device of rerunning is all;
The flow process of described execution cycle is: start an execution cycle, first determine whether and also have the not equipment of traversal, if, do not obtain next device object, whether the diagnostic message of current device changes, if changed, all states in computing equipment, and determine whether new fault or maintenance state, if had, equipment is set to malfunction, then according to this equipment whether Under Repair or safeguard, if not again according to this equipment untreated work contact list whether, if, building work contact is not single, if had, fault message is added to existing work contact list.
(4) referring to Fig. 4, after if the computing of bus apparatus state finishes at the scene, find that current device has new fault or maintenance state to occur, judge that current device is whether in just at the state of handling failure, if having fault processes, do not generate work ticket (yet claiming work contact list), otherwise judge whether current device has existed also untreated work contact list, if existed, will work as prior fault and add this work contact list, if there is no, for current device generates a new work contact list;
After if computing finishes, find that there is fault and be eliminated, malfunction once of record, and equipment state is recovered to normal, only has and is keeped in repair when equipment, and work contact list is identified, and it is normal that the malfunction of equipment could be recovered completely;
(5) every 3 seconds are by historical data write memory buffering area, every 1 minute by the data writing in files within 1 minute before, historical data comprises the original historical data of field bus device diagnostic data point and the computing historical data of equipment state, during storage of history data P, the data of current data and previous moment are compared, if change, be recorded to internal memory, otherwise record not, by the method, reduce the redundancy of historical data, historical data can be used for the information such as historic state of query facility;
(6) data in statistics internal memory, and be shown in the interface of data processing module;
(7) data processing module is except having computing and statistical function, also possesses query function, can be by current state or the historic state of device name or KKS code query facility, also can inquire about the work contact list of dealing with the work contact list, processed work contact list, completing in ten days, and single according to time period searching work contact, or by the relevant work contact list of all maintainers therewith of maintainer's name query.

Claims (10)

1. a method for managing and monitoring for field bus device, is characterized in that, comprises the following steps:
1) by the diagnostic message of data collecting module collected field bus device, data acquisition module comprises OPC client and history module,
The OPC client of data acquisition module is by OPC agreement, field bus device diagnostic message point data on the total line traffic control network of collection site opc server, and by Ethernet, the data of collection are sent to data processing module, and gathered data are recorded in to history module;
2) data processing module is responsible for the field bus device diagnostic message point data of importing into process, and data processing module comprises field bus device type file generation module, field bus device configuration module, field bus device monitoring management module, field bus device initial data real time data library module and field bus device operational data real time data library module;
Field bus device type generation module is write corresponding device type file according to the type of field bus device to be monitored and using method thereof, and import in device type storehouse, the judgement of the type equipment state and fault show carries out the mode of the device type document definition according to imported;
3) in the reflection position relationship of field bus device and the operation configuration figure of operation information, operator is added on corresponding position in operation configuration figure according to the station information of field bus device, and the relevant information of filling in equipment, its essential information, state information and diagnostic message are associated with field bus device;
4) at the scene in bus apparatus running, field bus device monitoring management module receives the multicast packet that data acquisition module sends, the device type fileinfo and the field bus device diagnostic message dot file that when on the one hand configuration info, the system by Project Configuration file starts, load, field bus device diagnostic message point data are carried out to computing according to the formula defining in the device type file loading, and its result is shown on the interface of data processing module; By the operational data obtaining after the initial data of reception and computing, upgrade and store in initial data real-time data base and operational data real-time data base respectively on the other hand;
5) Web server sends request of data to field bus device Web data request processing module after receiving client browser access request, and the file data regularly request of Web data request processing resume module being returned sends to client browser, wherein, field bus device Web data request processing module, the request of data that receives Web server module reads corresponding data according to the type of request msg from field bus device operational data real time data library module.
2. the method for managing and monitoring of field bus device as claimed in claim 1, is characterized in that, described step 1) the collection of field bus device diagnostic message point data, comprise the following steps:
1) after utilizing Ethernet that the OPC client in data acquisition module is connected with the opc server of controlling network, in connected opc server, add OPC group, and add the field bus device diagnostic message point that needs collection in OPC group;
2) by deriving and import feature, be the KKS code of each its corresponding device of field bus device diagnostic message point interpolation, the field bus device diagnostic message point of communication main website does not need to add KKS code;
3) preserve the field bus device diagnostic message point adding in OPC client, and generate field bus device diagnostic message dot file; After OPC client arrives data acquisition, use multicast mode that data are sent to the data processing module to history module and field bus device monitoring management system.
3. the method for managing and monitoring of field bus device as claimed in claim 2, it is characterized in that, the described derivation of passing through is that field bus device diagnostic message points all in OPC group is exported in csv file with import feature, use Excel to open export, in export, each field bus device diagnostic message point accounts for a line, first classifies the label of field bus device diagnostic message point as, in secondary series, insert the KKS code of the equipment corresponding with first row field bus device diagnostic message point label, preserve after csv file, use OPC client that the csv file after editor is imported in former OPC group again, field bus device diagnostic message dot file is preserved and generated to configuration in OPC client.
4. the method for managing and monitoring of field bus device as claimed in claim 1, it is characterized in that, described device type file is according to the device type in field engineering, for each device type, makes a device type file, and the generation of device type file comprises the steps:
1) first according to the relevant information of type equipment to be write, all field bus device diagnostic message points and the relevant information of writing define equipment; According to the actual motion feedback information of the type equipment, use the relevant field bus device diagnostic message point of xml formal definition, and the length of field bus device diagnostic message point, type information;
2) define the details of each field bus device diagnostic message point, according to 1) in the order of field bus device diagnostic message point of definition, roll-call, length, the type information of each field bus device diagnostic message point of specific definition successively, to 1) in definition field bus device diagnostic message point split, each title and this positional information in this field bus device diagnostic message point in detailed each the field bus device diagnostic message point of definition, and represent with xml form;
3) according to each represented implication in field bus device diagnostic message point/position of the type device definition, and combine define equipment running status item with and computing formula, define equipment operation, the state information of each field bus device diagnostic message point/position representative, be combined into a running status item by state is similar, related, and according to the numerical value that represents of every kind of information state, the computing formula of definition running status item, and represent with xml form;
4) operation field bus device type generator, resolves the field bus device diagnostic message point definition of xml form, and the operational formula of infix expression is converted to suffix form the most at last, and is kept in device type file.
5. the method for managing and monitoring of field bus device as claimed in claim 1, it is characterized in that, it is when system starts that described field bus device diagnostic message dot file loads, system reads field bus device diagnostic message dot file information, field bus device initial data real time data library module is according to these information creatings, initialization operational data real-time data base, all field bus device diagnostic message points and relevant information are stored in operational data real-time data base with certain format, initial data is upgraded, configuration diagnostic message is associated, and it is all relevant with this operational data real-time data base to read initial data during computing.
6. the method for managing and monitoring of field bus device as claimed in claim 5, it is characterized in that, it is when system starts that field bus device type file loads, system fetch equipment type file, according to fileinfo, create device type object and relevant information and operational formula, so that reading information during the selected device type of configuration;
Described operational data real-time data base creates and refers to when bus apparatus monitoring program starts at the scene, according to the establishment of field bus device diagnostic message point, the initialization operational data real-time data base of configuration info, equipment association, in order to the renewal storage of operational data and the data of Web data request processing module, read.
7. the method for managing and monitoring of field bus device as claimed in claim 1, it is characterized in that, described step 3) be by field bus device configuration, device type object is associated with field bus device diagnostic message point in field bus device real-time data base, for field bus device monitoring management system adds equipment, for equipment arranges device type, and according to device type requirement, comprise that step is as follows:
1) according to field engineering topological diagram, add controller and communication main website, in communication main website, take the communication box topological diagram new as unit adds;
2) use the pel drawing topological graph in configuration instrument;
3) add after communication main website pel, for communication main website pel arranges controller title, operating office title, address, finally add field bus device diagnostic message point;
4) under communication main website, add network segment pel, and title, address and KKS code are set for the network segment;
5) choose network segment pel, at its lower field bus device pel that adds, for field bus device monitoring management system adds field bus device, device name, device description, KKS code, address, station, device type and value of feedback unit's attribute are set while adding equipment simultaneously;
After having set certain device type, its field bus device diagnostic message point is determined, now need to from field bus device diagnostic message dot file, find out the point that KKS code is identical with equipment KKS, and it is associated with field bus device according to analog quantity point, packing point or three kinds of modes of fractionation point successively;
6) saving scene bus apparatus configuration, obtains topological diagram configuration file and field bus device object configuration file;
7) configuration file is sent in the history module of data acquisition module, can carry out computing according to the mode in configuration.
8. the method for managing and monitoring of field bus device as claimed in claim 1, is characterized in that, described data processing module is also by current state or the historic state of device name or KKS code query facility;
Or the work contact list that inquiry is being dealt with the work contact list, processed work contact list, completed in ten days;
Or single according to time period searching work contact, or by the relevant work contact list of all maintainers therewith of maintainer's name query.
9. the method for managing and monitoring of field bus device as claimed in claim 1, is characterized in that, described carries out computing to field bus device diagnostic message point data, comprises the following steps:
1) field bus device monitoring management module reads respectively field bus device type file, field bus device diagnostic message dot file and field bus device configuration file, according to field bus device diagnostic message dot file, create dynamic data base, initialization field bus device object, by Transmission Control Protocol, to the history module in data acquisition module, send synchronous data requests, data in synchronous dynamic database and all historical datas that log off since the last time, the historical data that comprises data point in historical data, the historic state of equipment and newly-generated work contact list,
2) start the thread of receiving group bag, start to receive field bus device diagnostic data, the data that receive are saved to dynamic data base, and compare with a upper moment data, if diagnostic data changes,, by the direct announcement apparatus of KKS code of data point place equipment, make equipment when upper once execution cycle, recalculate all states;
3) start execution cycle, the every 3 seconds all field bus devices of run-down, if the diagnostic data of equipment changes, the state that the current device of rerunning is all;
4) if after the computing of bus apparatus state finishes at the scene, find that current device has new fault or maintenance state to occur, judge that current device is whether in just at the state of handling failure, if having fault processes, do not generate work contact list, otherwise judge whether current device has existed also untreated work contact list; If existed, will work as prior fault and add this work contact list, if there is no, be that current device generates a new work contact list, if after computing finishes, finding that there is fault is eliminated, malfunction once of record, and equipment state is recovered to normal, only has and is keeped in repair when equipment, work contact list is identified, and it is normal that the malfunction of equipment could be recovered completely;
5) every 3 seconds are by historical data write memory buffering area, every 1 minute by the data writing in files within 1 minute before, historical data comprises the historical data of field bus device diagnostic data point and the historical data of equipment state, during storage of history data P, the data of current data and previous moment are compared, if change, be recorded to internal memory, otherwise record not, by the method, reduce the redundancy of historical data, historical data comprises initial data and operational data, data in the corresponding initial data real-time data base of difference and operational data real-time data base, be archived to respectively in raw data file and operational data file,
6) data in statistics internal memory, and be shown in the interface of data processing module.
10. the method for managing and monitoring of field bus device as claimed in claim 1, is characterized in that, described web server response client browser access request, comprises the following steps:
1) client browser user passes through network entry Web server by http protocol;
2) Web server receives the HTTP access request of client browser, according to the user of login and request content, to field bus device Web data request processing module, sends request of data;
3) field bus device Web data processing module receives after request of data, according to user and solicited message, from field bus device operational data real-time data base, read the data of response, and according to certain format, write data as file according to solicited message, and this user, send a new secondary data request predetermination phase and upgrade these files;
Described certain format is a kind of in XML file, PHP file and JS file;
4) Web server reads the file that Web data request processing module is write out, information exchange is crossed to http protocol and through network, send to access customer end subscriber, this step is continued until that client sends new access request or client browser user logs off.
CN201210371816.6A 2012-09-29 2012-09-29 Field bus equipment monitoring and management method Active CN102882724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210371816.6A CN102882724B (en) 2012-09-29 2012-09-29 Field bus equipment monitoring and management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210371816.6A CN102882724B (en) 2012-09-29 2012-09-29 Field bus equipment monitoring and management method

Publications (2)

Publication Number Publication Date
CN102882724A CN102882724A (en) 2013-01-16
CN102882724B true CN102882724B (en) 2014-12-10

Family

ID=47483878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210371816.6A Active CN102882724B (en) 2012-09-29 2012-09-29 Field bus equipment monitoring and management method

Country Status (1)

Country Link
CN (1) CN102882724B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103278739B (en) * 2013-04-26 2015-10-21 中国南方电网有限责任公司超高压输电公司广州局 A kind of high-voltage dc transmission electric control system Profibus field bus fault diagnostic method
CN104699055A (en) * 2015-02-13 2015-06-10 西安热工研究院有限公司 Field bus controller and method
CN105527910A (en) * 2015-12-23 2016-04-27 杭州真鹏科技有限公司 Remote monitoring system based on OPC UA (OLE for Process Control Unified Architecture) and fault removal method
EP3355139B1 (en) * 2017-01-26 2020-11-04 Siemens Aktiengesellschaft Method for operating an automation system, automation system, field device and controller for execution of the method
CN107168294B (en) * 2017-06-26 2024-01-19 西安热工研究院有限公司 Unmanned inspection monitoring method for thermal power water system equipment
CN110531646B (en) * 2018-05-24 2021-06-22 株洲中车时代半导体有限公司 FPGA-based power component system fault data acquisition method and system
CN110580013A (en) * 2018-06-11 2019-12-17 联合汽车电子有限公司 Production line on-line management system
CN108646694A (en) * 2018-07-12 2018-10-12 大族激光科技产业集团股份有限公司 Intelligent management, device, system and the computer equipment of numerically-controlled machine tool
CN109783496B (en) * 2019-01-14 2023-04-18 东北大学 Excel & VBA-based data collection and processing automation tool and using method
CN111272054B (en) * 2020-03-09 2021-05-28 西安热工研究院有限公司 Method for calculating length of PROFIBUS-PA bus segment
CN113225382A (en) * 2021-04-07 2021-08-06 中国二十冶集团有限公司 Method and system for diagnosing state of instrument equipment through digital quantity remote communication
CN113721518A (en) * 2021-08-31 2021-11-30 中冶华天南京工程技术有限公司 Data acquisition and storage method for steel production
CN117250904A (en) * 2023-08-28 2023-12-19 三峡金沙江川云水电开发有限公司 PLC control management method, device, system, electronic equipment and storage medium
CN117155736B (en) * 2023-10-28 2024-01-02 南京德克威尔自动化有限公司 Timing communication method between bus master station and slave station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101825876A (en) * 2009-11-30 2010-09-08 浙江大学 Portable fault diagnosis tester applied to petrochemical production device
JP2011204238A (en) * 2010-03-24 2011-10-13 Fisher-Rosemount Systems Inc Method and apparatus to access process data stored in server
CN102518553A (en) * 2012-01-05 2012-06-27 山东电力研究院 Remote real-time monitoring system used for wind power station group
CN102681497A (en) * 2011-03-15 2012-09-19 中国科学院沈阳自动化研究所 Remote monitoring system of sewage disposal process and implementation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101825876A (en) * 2009-11-30 2010-09-08 浙江大学 Portable fault diagnosis tester applied to petrochemical production device
JP2011204238A (en) * 2010-03-24 2011-10-13 Fisher-Rosemount Systems Inc Method and apparatus to access process data stored in server
CN102681497A (en) * 2011-03-15 2012-09-19 中国科学院沈阳自动化研究所 Remote monitoring system of sewage disposal process and implementation method thereof
CN102518553A (en) * 2012-01-05 2012-06-27 山东电力研究院 Remote real-time monitoring system used for wind power station group

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于分布式OPC、组件连接件和Web Service的电站远程监控系统设计";梁庚,李文;《电力自动化》;20111031;第31卷(第10期);第134-138页 *
"对象技术与OPC 技术在监控组态软件中的应用";李正兵,楼佩煌;《计算机应用》;20031231;第23卷(第12期);第140-142页 *

Also Published As

Publication number Publication date
CN102882724A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102882724B (en) Field bus equipment monitoring and management method
CN202886953U (en) Profibus device monitoring and managing system
Liu et al. A method of NC machine tools intelligent monitoring system in smart factories
CN102880146B (en) Profibus device monitoring and managing system
US10620615B2 (en) Engineering tool coordination device, engineering tool coordination method, and non-transitory computer readable storage medium
US20080195576A1 (en) Method, and Computer Based-System and Virtual Asset Register
CN104412247A (en) Systems and methods for improving control system reliability
CN101601057A (en) Electrical substation monitoring and diagnosis
CN108227603A (en) Control system, control method and computer readable storage medium
CN104428755A (en) Systems and methods for control reliability operations
CN112363461A (en) Industrial field data acquisition and control system
CN113315222A (en) Intelligent substation automation equipment operation and maintenance management and control system suitable for electric power system
CN103970530A (en) Data acquisition and implementation method based on Intouch configuration technology of OPC interface
CN112643715A (en) Industrial robot remote monitoring and diagnosing system and method based on 5G
CN114511111A (en) Industrial robot operation and maintenance management system
CN106094775A (en) A kind of cutting production line long distance control system
CN105956118B (en) A method of realizing real time information quality stamp distribution global data base
CN111212093A (en) Data processing system and control device
CN111600923A (en) NET Core-based OPC UA protocol server system
EP3582034A1 (en) Method and apparatus, in the field of automation technology, of updating processing data
An-dong et al. Research on open source solutions of data collection for industrial Internet of Things
Widya et al. Dies Process Performance Improvement Maintenance With e-DMIS Based on Iot Technology
JP2023525866A (en) Control system performance tracking device and method
CN113291980B (en) Multisource fault alarm system suitable for automatic crane
Lee et al. Acquisition system of process information based on a direct equipment interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant