Data collecting systemTechnical field
The present invention relates to facility information monitoring system technical fields, and in particular to a kind of data collecting system.
Background technology
Current most of metal plate punching workshops are all (a kind of applied to logical on electronic controller using support Modbus agreementsBelieve agreement) or Profibus agreements (for the communication of device level control system and distributing I/O) equipment, including numerical control stampingBed, stamping mechanical arm, host computer (touch-screen or PC) and other ancillary equipments.However, some metal plate punching workshops are simultaneouslyPossess the equipment of different manufacturers offer, as shown in Figure 1, the stamping mechanical arm of the Profibus agreements on stamping line needs volumeOuter increase protocol conversion apparatus can just be unified for the fieldbus of Modbus, gathered data to host computer.It is examined with a band lineConsider, a production line is possible to spend too many cost with unified fieldbus.
In addition, the structure of the traditional data acquisition system of press workshop configuration is cumbersome, as shown in Fig. 2, depicting traditional numberAccording to the interface relationship between acquisition system and hardware, in order in monitoring control and data collecting system system (SupervisoryControl And Data Acquisition, referred to as SCADA) in obtain underlying device data it is necessary to have special softThere is the computer of part the SCADA of special-purpose software to write driver for each specific hardware.When workshop is setDuring standby upgrading, driver originally does not support the variation of hardware device, and needs to develop new driver again.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of data collecting system, to solve in the prior art due to workshopThe problem of communication protocol of equipment is different, and the data manipulation of each workshop appliance of host computer remote collection is complicated.
For this purpose, an embodiment of the present invention provides following technical solutions:
First aspect present invention provides a kind of data collecting system, including:Workshop appliance, opc server, OPC clientEnd and host computer;The opc server is used to receive the parameter information of the workshop appliance;The OPC client and the OPCServer is connected by OPC interface, and the OPC client is used to receive the parameter information from the opc server, and by instituteIt states parameter information and is sent to the host computer.
Optionally, the opc server passes through described in industry ethernet or CAN network bus from workshop appliance receptionParameter information.
Optionally, the host computer includes monitoring control and data collecting system system SCADA.
Optionally, the workshop appliance includes the workshop appliance for supporting Modbus agreements and/or supports Profibus agreementsWorkshop appliance.
Optionally, the opc server is OPC UA servers;The OPC client is OPC UA clients;It is describedOPC UA servers are connected with the OPC UA clients by OPC UA interfaces.
Optionally, the workshop appliance includes at least one of:Numerical control press, stamping mechanical arm, programmable logic controlDevice PLC processed.
Optionally, the parameter information includes at least one of:The trip information of the workshop appliance, the vehicleBetween equipment status information.
Second aspect of the present invention provides a kind of data collecting system, including:Workshop appliance, device drives server TCPServer, device drives client TCP Client and host computer;The device drives server TCP Server include a variety ofThe driver of agreement, for receiving the parameter information of the workshop appliance;The device drives client TCP Client are usedIn receiving the parameter information from the device drives server TCP Server, and the parameter information is sent on describedPosition machine.
Optionally, the driver of the various protocols includes the driver of Modbus agreements and/or Profibus associationsThe driver of view.
Optionally, the device drives server TCP Server by industry ethernet or CAN network bus from describedWorkshop appliance receives the parameter information.
Optionally, the host computer includes monitoring control and data collecting system system SCADA.
Optionally, the workshop appliance includes the workshop appliance for supporting Modbus agreements and/or supports Profibus agreementsWorkshop appliance.
Optionally, the workshop appliance includes at least one of:Numerical control press, stamping mechanical arm, programmable logic controlDevice PLC processed.
Optionally, the parameter information includes at least one of:The trip information of the workshop appliance, the vehicleBetween equipment status information.
Technical solution of the embodiment of the present invention, has the following advantages that:
An embodiment of the present invention provides a kind of data collecting system, including:Workshop appliance, opc server, OPC clientAnd host computer;Opc server is used to receive the parameter information of the workshop appliance;OPC client is connect with opc server by OPCMouth connection, OPC client is used to receive the parameter information from opc server, and the parameter information is sent to host computer.UsingOPC standard techniques, the driver and fieldbus of backward compatible various protocols, upwards provide standard client-side interface fromAnd it solves in the prior art since the communication protocol of workshop appliance is different, the data of each workshop appliance of host computer remote collectionThe problem of complicated for operation, even if realizing each workshop appliance supports different communication protocol, can also efficiently unify sceneBus reduces the complexity of overlapping development driver.
The embodiment of the present invention additionally provides a kind of data collecting system, including:Workshop appliance, device drives server TCPServer, device drives client TCP Client and host computer;Device drives server TCP Server include a variety of associationsThe driver of view, for receiving the parameter information of the workshop appliance;Device drives client TCP Client are used for from thisDevice drives server TCP Server receive the parameter information, and the parameter information is sent to the host computer.By a variety of associationsThe driver of view sums up in the point that a device drives server TCP Server, so as to solve in the prior art since workshop is setThe problem of standby communication protocol is different, and the data manipulation of each workshop appliance of host computer remote collection is complicated, even if realizing eachA workshop appliance supports different communication protocol, can also efficiently unify fieldbus, reduce overlapping development driverComplexity.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior artEmbodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in describing belowAttached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative laborIt puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is stamping line production technological process;
Fig. 2 is the interface diagram between data collecting system and hardware in the prior art;
Fig. 3 is the data collecting system Organization Chart according to embodiments of the present invention using OPC standards;
Fig. 4 is the data collecting system Organization Chart according to embodiments of the present invention using OPC UA standards;
Fig. 5 is the data collecting system Organization Chart according to embodiments of the present invention using TCP standards.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present inventionIn attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment isPart of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art are not havingAll other embodiments obtained under the premise of creative work are made, belong to the scope of protection of the invention.
A kind of data collecting system is provided in the present embodiment, be can be applied to each workshop in metal plate punching workshop and is setIn standby data acquisition, Fig. 3 is the data collecting system Organization Chart according to embodiments of the present invention using OPC standards, such as Fig. 3 institutesShow, data collecting system includes:Workshop appliance, opc server, OPC client and host computer.Above-mentioned workshop appliance can be severalControl punching machine, stamping mechanical arm, programmable logic controller (PLC) (Programmable Logic Controller, referred to as PLC) orPerson's others ancillary equipment, each workshop appliance are connected to fieldbus, and each workshop appliance can include supporting Modbus associationsThe workshop appliance of view can also include the workshop appliance for supporting Profibus agreements.Opc server is received from each workshop applianceParameter information, the parameter information for example can be the trip information of each workshop appliance or each workshop applianceStatus information, specifically, trip information can include rotating speed, the rotational angle of workshop appliance swing arm, and workshop appliance hangs downThe lifting height of d-axis either speed falling head or speed etc., status information can include feeding state, feeding state,Blanking state, blowing state etc..Opc server can be with each workshop appliance in several ways into row data communication, oneIn a alternative embodiment, opc server can receive above-mentioned parameter information by industry ethernet from each workshop appliance, anotherIn one alternative embodiment, opc server can also receive above-mentioned parameter information by CAN network bus from each workshop appliance,So as to ensure that real-time and accuracy that data are transmitted between opc server and each workshop appliance.OPC client and OPCServer is connected by OPC interface, standard interface is provided to OPC client, to realize the company of application program and opc serverConnect, synchronous read-write, the functions such as asynchronous read and write.OPC client receives the parameter information from opc server, and by the parameter informationThe host computer is sent to, so that host computer can be monitored the operating status in each workshop.By as shown in Figure 3Protocol conversion module has unified the agreement of workshop distinct device in a software form, avoids additional agreement as shown in Figure 1 and turnsThe installation of changing device, has saved installation cost.Using OPC standard techniques, the driver of backward compatible various protocols and existingField bus, upwards provide standard client-side interface, so as to solve in the prior art due to workshop appliance communication protocol notTogether, the problem of data manipulation of each workshop appliance of host computer remote collection is complicated is supported even if realizing each workshop applianceDifferent communication protocol can also efficiently unify fieldbus, reduce the complexity of overlapping development driver, and change is numerous to beLetter realizes the data interaction mutually between conversion, multisystem between multi-protocols.
In one alternate embodiment, host computer can include monitoring control and data collecting system system(Supervisory Control And Data Acquisition, referred to as SCADA).Similarly, other realization OPC clientsThe application program at end, which can also extend, is connected to opc server, possesses scalability.
In order to tackle standardization and cross-platform trend, in order to preferably promote OPC, OPC foundations are in recent years beforeA new OPC standard-OPC UA is proposed on the basis of OPC successful applications.OPC UA interface protocols contain before A&E, DA, OPC XML DA or HDA only use an address space with regard to object all before accessing, and fromWINDOWS platform limits, because it is defined from more than transport layer Scoket, before realizing flexibility and security ratioOPC have promotion.Therefore in one alternate embodiment, as shown in figure 4, above-mentioned opc server is OPC UA servers, onOPC client is stated as OPC UA clients, above-mentioned OPC UA servers are connected with the OPC UA clients by OPC UA interfaces.Employ based on OPC UA that (full name of OPC is Object Linking and Embedding (OLE) for ProcessControl OPC Unified Architecture, are abbreviated as OPC UA, i.e. OPC unified shaders) technology of standard interface, it adoptsThe interfaces such as connection, reading, write-in with OPC UA standards, the upgrading of compatible hardware device save deduplication programming apparatus driving journeyThe process of sequence realizes more effective data transmission.OPC UA servers is supported to be connected to the fieldbus of various protocols, and canWith independent or batch configuration underlying device driver, operating parameter, the status information of relevant device can be effectively read and write, is carried outData acquisition interacts.Standard interface is provided to OPC UA clients, to realize connecting, together for application program and OPC UA serversWalk the functions such as read-write, asynchronous read and write.Migration strategy is provided, the situation of any change need not be being done to original internal interfaceUnder, (such as by the interface encapsulation including original OPC DA into the data access interface of OPC UA, with envelope in the form of wrapperOPC UA data access interfaces after dress go to access the data access interface of original OPC DA) realize OPC UA clients and traditionData access between data collecting system server or (such as OPC UA clients are connected to OPC in the form of agencyDA servers) realize data access between traditional data acquisition system client and OPC UA servers.Monitoring management level,Using OPC UA clients, OPC UA standard interfaces provided by the server are realized, and the acquisition of the exclusive data of SCADA system is softPart realizes the standard interface of OPC UA servers, to realize the read-write operation to underlying device.
To sum up, data collecting system framework shown in Fig. 4, can support downwards the fieldbus of various protocols, saveThe installation cost in workshop and the development cost for reducing driver can provide the service interface of standard, shorten the construction cycle upwards,Reduce O&M cost.The data collecting system in different metal plate punching workshops can rationally and effectively be improved, be realized simultaneouslyOPC UA standard interfaces, can expand to the application program of other realization OPC UA standards, and interact therewith.The frameworkData collecting system have the scalability, compatibility and interactivity.
The embodiment of the present invention additionally provides another data collecting system, as shown in figure 5, including:Workshop appliance, equipmentDrive server TCP Serve, device drives client TCP Client and host computer.Workshop appliance can include supportingThe workshop appliance of Modbus agreements or the workshop appliance for supporting Profibus agreements can be numerical control press, punching specificallyPress mechanical pressing hand, programmable logic controller (PLC) PLC or other ancillary equipments, each workshop appliance are connected to fieldbus.It shouldHost computer can be SCADA, so as to carry out more effectively gathering and monitoring to device data.Device drives server TCPServer includes the driver of various protocols, such as the driver of various protocols can include the driving journeys of Modbus agreementsSequence can also include the driver of Profibus agreements.Device drives server TCP Server can be total by EthernetLine or CAN network bus receive above-mentioned parameter information from each workshop appliance, ensure device drives service so as to various aspectsThe real-time and parasexuality of data transmission between device TCP Server and each workshop appliance.Device drives server TCP ServerFor receiving the parameter information of the workshop appliance, which can be the trip information of workshop appliance, can also beThe status information of workshop appliance, specifically, trip information can include rotating speed, the rotational angle of workshop appliance swing arm, vehicleBetween equipment vertical axis lifting height either speed falling head or speed etc., status information can include feeding state, onMaterial state, blanking state, blowing state etc..Device drives client TCP Client are used for from the device drives serverTCP Server receive the parameter information, and the parameter information is sent to the host computer.Using the multiple drivers of mergingMode, by the driver of various protocols sum up in the point that a device drives server (TCP Server, i.e., using TCP modes intoThe server of row data transmission) on, as shown in Figure 5.The driver of Modbus agreements can only access setting for Modbus agreementsIt is standby, equally, the equipment that the drivers of Profibus-DP agreements can only access Profibus-DP agreements.It is taken in the device drivesThe interface of SCADA application programs on business device is provided, meets the data access demand of SCADA application programs.In SCADA application programsClient (TCP Client, i.e., the client carried out data transmission using TCP modes) realizes what device drives server providedInterface is realized and realizes read-write operation, the data interaction to distinct device to device drives server.
Although being described in conjunction with the accompanying the embodiment of the present invention, those skilled in the art can not depart from the present inventionSpirit and scope in the case of various modification can be adapted and modification, such modifications and variations are each fallen within by appended claims instituteWithin the scope of restriction.