CN202995424U - Industrial data acquisition system employing back binding communication plug-in - Google Patents

Industrial data acquisition system employing back binding communication plug-in Download PDF

Info

Publication number
CN202995424U
CN202995424U CN201220689647.6U CN201220689647U CN202995424U CN 202995424 U CN202995424 U CN 202995424U CN 201220689647 U CN201220689647 U CN 201220689647U CN 202995424 U CN202995424 U CN 202995424U
Authority
CN
China
Prior art keywords
communication
data
data acquisition
interface
industrial
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.)
Expired - Fee Related
Application number
CN201220689647.6U
Other languages
Chinese (zh)
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.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
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 Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201220689647.6U priority Critical patent/CN202995424U/en
Application granted granted Critical
Publication of CN202995424U publication Critical patent/CN202995424U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The utility model provides a system which adds a communication plug-in to an industrial data acquisition system dynamically, belonging to the industrial automation. The industrial data acquisition system is formed by a sensor, an instrument, a computer communication interface and an industrial computer. An output end of the sensor is connected with the instrument which is connected with the industrial computer through the computer communication interface. According to the system, a 'back binding' method is employed, the corresponding communication plug-in calling is carried out in operation after software compilation, a communication software plug-in can be developed after system software development is completed, the dynamic adaptation ability of the system is improved, and the system has a large application reference value for industrial data acquisition.

Description

A kind of industrial data acquisition system that adopts rear BOUND communication plug-in unit
Technical field
The utility model relates to a kind of industrial data acquisition system that adopts rear BOUND communication plug-in unit, belongs to industrial automation.
Background technology
The industrial data collection is usually by communicating according to modes such as serial ports, Ethernet and CAN buses with the field instrument sensor, and data therefrom, the data protocol that adopts often comparatively complicated.When the exploitation of industrial data acquisition software, the method that usually adopts " early binding " is the communication protocol that program adopts when just having determined program operation in the future in compiling.Often the data acquisition software applied logic is fixed, and field instrument and sensor are changeable due to a variety of causes, this development mode can cause the defective such as poor for applicability of software, be that every change field instrument or sensor all need the industrial data acquisition software is compiled connection, cause the software maintenance workload large.
The utility model content
For overcoming above-mentioned software maintenance workload greatly and software defective poor for applicability, a kind of industrial data acquisition system that adopts rear BOUND communication plug-in unit of the utility model, adopt " rear binding " method, be in operation after software translating and carry out corresponding communication plug-in unit and call, the communication software plug-in unit can be developed after systemic software development is completed, improved the dynamically adapting ability of system, collection has larger application reference to be worth for industrial data.
For realizing the utility model purpose, the technical solution adopted in the utility model: a kind of industrial data acquisition system of rear BOUND communication plug-in unit that adopts is comprised of sensor, instrument, computer communication interface and industrial computer; The output terminal of sensor connects instrument, and instrument is connected with industrial computer by the computer communication interface.
Sensor, instrument are more than one group or one group.
Instrument is connected with the computer communication interface by serial ports, Ethernet or CAN bus.
Be provided with communication plug-in unit and data acquisition Framework in industrial computer; Communication plug-in unit has comprised the InventorySocketReceHandle event interface that is used for to the homophony module notice related communication event of data acquisition Framework, is contained in the parameter s trResponseName and strXmlData of two character string types for the respond packet of these events; Parameter s trResponseName has described the data of two types in the communication event: a kind of is to gather the real-time device data of the current reception of Framework for notification data; Another is to gather the Real Time Monitoring data of the current reception of Framework for notification data, parameter s trXmlData is used for depositing the current data content that receives, the data type of describing in the data content of depositing in this parameter and strResponseName parameter is corresponding
Defined the Data Analysis form of real-time device data and Real Time Monitoring data in the data acquisition Framework, different data type correspondences different Data Analysis forms, simultaneously, the data acquisition Framework has also comprised different Communications Control Interfaces, is used for the communications transaction of management different agreement;
When this interface receives from the communication response event in communication plug-in unit, the communication plug-in unit automatic analysis is included in strResponseName parameter and the strXmlData parameter in communication data stream, finds out according to the content of strResponseName parameter the data of transmitting in current communication process and belongs to real-time device data or Real Time Monitoring data; Then according to the Data Analysis form that defines in the content of strXmlData parameter and data acquisition Framework the effective contents extraction in data out, complete from communication data stream and gather useful this process of industrial data.
The different communication control interface that the data acquisition Framework comprises mainly contains:
DisplayName interface: be used for the title of obtaining communication agreement, realize the return character string format by unique name of obtaining plug-in unit.
GetCommPara interface: be used for obtaining the messaging parameter of agreement, the return character string format.
SetCommPara interface: be used for arranging the communicating protocol parameter on corresponding hardware device.
StartModual interface: be used for log-on data and gather the corresponding communication protocol processing module of Framework 5, also started the data acquisition of system simultaneously.
StopModual interface: be used for stopping the work of communication module.
OnInventorySocketReceHandler interface: be used for receiving the communication response event from communication plug-in unit 4.
Communication protocol in the data acquisition Framework mainly contains serial port protocol, CAN bus protocol and ICP/IP protocol.
Described sensor, instrument, computer communication interface and industrial computer adopt commercially available common components.
The beneficial effects of the utility model: the utility model adopts " rear binding " method, be in operation after software translating and carry out corresponding communication plug-in unit and call, the communication software plug-in unit can be developed after systemic software development is completed, improved the dynamically adapting ability of system, collection has larger application reference to be worth for industrial data.
Description of drawings
Fig. 1 is native system modular structure figure;
Fig. 2 is the processing flow chart that native system carries out work.
In figure: 1-sensor, 2-instrument, 3-computer communication interface, 4-communication plug-in unit, 5-data acquisition Framework, 6-industrial computer.
Specific implementation method
Below in conjunction with accompanying drawing, utility model is described further, understands to facilitate the technician.
As shown in Figure 1: a kind of industrial data acquisition system of rear BOUND communication plug-in unit that adopts is comprised of sensor 1, instrument 2, computer communication interface 3 and industrial computer 6.The output terminal of sensor 1 connects instrument 2, and instrument 2 is connected with industrial computer 6 by computer communication interface 3.
Sensor 1, instrument 2 are more than one group or one group.
Instrument 2 is connected with computer communication interface 3 by serial ports, Ethernet or CAN bus.
Be provided with communication plug-in unit 4 and data acquisition Framework 5 in industrial computer 6.
Communication plug-in unit 4 has comprised the InventorySocketReceHandle event interface, this interface is used for the relevant communication event of homophony module notice to data acquisition Framework 5, is contained in the parameter s trResponseName and strXmlData of two character string types for the respond packet of these events.
Parameter s trResponseName has described the data of two types common in the communication event: a kind of is the real-time device data, and it is real-time device data that strResponseName is used for the data that notification data gathers Framework 5 current receptions; Another is the Real Time Monitoring data, and the data that strResponseName is used for the 5 current receptions of notification data collection Framework are Real Time Monitoring data.
Parameter s trXmlData is used for depositing the current data content that receives, and the data type of describing in the data content of depositing in this parameter and strResponseName parameter is corresponding.
Defined the Data Analysis form of real-time device data and Real Time Monitoring data in data acquisition Framework 5, different data type correspondences different Data Analysis forms.In addition, data acquisition Framework 5 has also comprised different Communications Control Interfaces, is used for the communications transaction of management different agreement, and in the utility model, these communication modes mainly contain serial port protocol, CAN bus protocol and Ethernet protocol.Communications Control Interface in data acquisition Framework 5 mainly contains:
DisplayName interface: be used for the title of obtaining communication agreement, realize the return character string format by unique name of obtaining plug-in unit.
GetCommPara interface: be used for obtaining the messaging parameter of agreement, the return character string format.
SetCommPara interface: be used for arranging the communicating protocol parameter on the interior corresponding hardware device of industrial computer 6.
StartModual interface: be used for log-on data and gather the corresponding communication protocol processing module of Framework 5, also started the data acquisition of system simultaneously.
StopModual interface: be used for stopping the work of communication module.
OnInventorySocketReceHandler event interface: be used for receiving the communication response event from communication plug-in unit 4.
When this interface received from the communication response event in communication plug-in unit 4, its automatic analysis was included in strResponseName parameter and the strXmlData parameter in communication data stream.Find out according to the content of strResponseName parameter the data of transmitting in current communication process and belong to real-time device data or Real Time Monitoring data; Then according to the Data Analysis form that defines in the content of strXmlData parameter and data acquisition Framework 5 the effective contents extraction in communication data stream out, complete from communication data stream and gather useful this process of industrial data.
As shown in Figure 2: a kind of course of work that adopts the industrial data acquisition system of rear BOUND communication plug-in unit:
1) development and Design data acquisition Framework 5, define framework interface, carries out the compiling link program, working procedure;
2) be connected to computer communication interface 3 for particular sensor 1, instrument 2, for its data protocol, exploitation corresponding software plug-in unit, realize the InventorySocketReceHandle event interface, the deal with data agreement is carried out the compiling link program, is developed as plug-in card program, this program be put into data acquisition Framework 5 same path under, preserve plug-in card program with plus as the file suffixes name;
3) in the configuration file of data acquisition Framework 5, definition data acquisition Framework 5 need to call the plug-in unit name, data acquisition Framework 5 is dynamically searched the plug-in software as the file suffixes name with plus under its operation catalogue, by DisplayName interface obtaining communication protocol name, obtain the messaging parameter of agreement by the GetCommPara interface, then utilize the SetCommPara interface that communicating protocol parameter on the interior corresponding hardware device of industrial computer 6 is set.
4) after communications setting is completed, call the StartModual interface and start corresponding communication event processing module on communication plug 4, obtain by the InventorySocketReceHandle event interface data (after entering industrial computer 6, these data are transmitted in the mode of communication data stream) that enter the spot sensor 1 in industrial computer 6 via instrument 2, computer communication interface 3 at last, stop communication plug 4 communication event processing modules by calling the StopModual interface when not needing data.
Embodiment 1:
When communication protocol is serial communication, data acquisition Framework 5 is dynamically found out serial ports plus file under its operation catalogue, then utilize the DisplayName interface to obtain the serial port protocol name, obtain the serial communication parameter by the GetCommPara interface, then utilize the SetCommPara interface that serial communication parameter on the interior corresponding hardware device of industrial computer 6 is set.After communications setting is completed, call the StartModual interface and start corresponding communication event processing module on communication plug 4, receive from the communication response event in communication plug-in unit 4 by the InventorySocketReceHandle event interface at last, automatic analysis is included in strResponseName parameter and the strXmlData parameter in communication data stream.Find out according to the content of strResponseName parameter the data of transmitting in current communication process and belong to real-time device data or Real Time Monitoring data; According to the Data Analysis form that defines in the content of strXmlData parameter and data acquisition Framework 5, the data of the collection autobiography sensor 1 in communication data stream are extracted.
Embodiment 2:
When communication protocol is the CAN bus communication, data acquisition Framework 5 is dynamically found out CAN bus plus file under its operation catalogue, then utilize the DisplayName interface to obtain CAN bus protocol name, obtain CAN bus communication parameter by the GetCommPara interface, then utilize the SetCommPara interface that CAN bus communication parameter on the interior corresponding hardware device of industrial computer 6 is set.After communications setting is completed, call the StartModual interface and start corresponding communication event processing module on communication plug 4, receive from the communication response event in communication plug-in unit 4 by the InventorySocketReceHandle event interface at last, automatic analysis is included in strResponseName parameter and the strXmlData parameter in communication data stream.Find out according to the content of strResponseName parameter the data of transmitting in current communication process and belong to real-time device data or Real Time Monitoring data; According to the Data Analysis form that defines in the content of strXmlData parameter and data acquisition Framework 5, the data of the collection autobiography sensor 1 in communication data stream are extracted.
Embodiment 3:
When communication protocol is ethernet communication, data acquisition Framework 5 is dynamically found out Ethernet plus file under its operation catalogue, then utilize the DisplayName interface to obtain the Ethernet protocol name, obtain the ethernet communication parameter by the GetCommPara interface, then utilize the SetCommPara interface that ethernet communication parameter on the interior corresponding hardware device of industrial computer 6 is set.After communications setting is completed, call the StartModual interface and start corresponding communication event processing module on communication plug 4, receive from the communication response event in communication plug-in unit 4 by the InventorySocketReceHandle event interface at last, automatic analysis is included in strResponseName parameter and the strXmlData parameter in communication data stream.Find out according to the content of strResponseName parameter the data of transmitting in current communication process and belong to real-time device data or Real Time Monitoring data; According to the Data Analysis form that defines in the content of strXmlData parameter and data acquisition Framework 5, the data of the collection autobiography sensor 1 in communication data stream are extracted.
The utility model adopts " rear binding " method, be in operation after software translating and carry out corresponding communication plug-in unit and call, the communication software plug-in unit can be developed after systemic software development is completed, and has improved the dynamically adapting ability of system, and collection has larger application reference to be worth for industrial data.
The utility model describes by accompanying drawing, in the situation that do not break away from the utility model scope, can also carry out various conversion and be equal to replacement the utility model patent, therefore, the utility model patent is not limited to disclosed specific implementation process, and should comprise the whole embodiments that fall in the utility model Patent right requirement scope.

Claims (3)

1. the industrial data acquisition system of BOUND communication plug-in unit after an employing, it is characterized in that: industrial data acquisition system is comprised of sensor, instrument, computer communication interface and industrial computer; The output terminal of sensor connects instrument, and instrument is connected with industrial computer by the computer communication interface.
2. a kind of industrial data acquisition system that adopts rear BOUND communication plug-in unit according to claim 1, it is characterized in that: sensor, instrument are more than one group or one group.
3. a kind of industrial data acquisition system that adopts rear BOUND communication plug-in unit according to claim 1 is characterized in that: instrument is connected with the computer communication interface by serial ports, Ethernet or CAN bus.
CN201220689647.6U 2012-12-14 2012-12-14 Industrial data acquisition system employing back binding communication plug-in Expired - Fee Related CN202995424U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201220689647.6U CN202995424U (en) 2012-12-14 2012-12-14 Industrial data acquisition system employing back binding communication plug-in

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201220689647.6U CN202995424U (en) 2012-12-14 2012-12-14 Industrial data acquisition system employing back binding communication plug-in

Publications (1)

Publication Number Publication Date
CN202995424U true CN202995424U (en) 2013-06-12

Family

ID=48566582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201220689647.6U Expired - Fee Related CN202995424U (en) 2012-12-14 2012-12-14 Industrial data acquisition system employing back binding communication plug-in

Country Status (1)

Country Link
CN (1) CN202995424U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034206A (en) * 2012-12-14 2013-04-10 昆明理工大学 Industrial data collection system adopting late binding communication plug-in unit
CN111506392A (en) * 2020-04-06 2020-08-07 江苏卓正环保科技有限公司 Automatic analysis method for pollution source data acquisition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034206A (en) * 2012-12-14 2013-04-10 昆明理工大学 Industrial data collection system adopting late binding communication plug-in unit
CN111506392A (en) * 2020-04-06 2020-08-07 江苏卓正环保科技有限公司 Automatic analysis method for pollution source data acquisition

Similar Documents

Publication Publication Date Title
CN103139059B (en) Gateway is resolved in Coal Mine Electromechanical Equipment data acquisition
CN105976134B (en) Enterprise energy management information acquisition system and method based on ZigBee wireless networking technology
CN105785958A (en) Smart factory-based multi-function data acquisition device, acquisition system and method
CN103034206A (en) Industrial data collection system adopting late binding communication plug-in unit
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN106131056A (en) A kind of wireless industrial adapter and method of work thereof
CN102722971A (en) Intelligent data acquisition device with solidified protocol
CN202995424U (en) Industrial data acquisition system employing back binding communication plug-in
CN102830279A (en) Data processing device used for electric energy meter and power consumption collector
CN105515829A (en) Intelligent wiring system
CN113489802A (en) Internet of things collection equipment
CN202929101U (en) Data processing device used for electric energy meter and electric gatherer
CN108153226A (en) A kind of PLC device of novel real-time, interactive
CN201491026U (en) World-wide-web-based debugging system
CN202918326U (en) Intelligent multi-serial switch
CN207995405U (en) A kind of Intelligent general type 4G concentrator communication modules
CN202870525U (en) Networked data acquisition apparatus applied to changing environment
CN105847294A (en) High-frequency electrostatic dust removal power supply system communication protocol converter based on W5500 and communication method
CN203422625U (en) Integrated light node core controller
CN203754167U (en) Handheld terminal for elevator debugging and maintenance
CN114362872B (en) Multi-network cooperative edge intelligent device based on TSN network
CN113810473A (en) Thing networking wiFi passes module thoroughly
CN110442096B (en) Data acquisition control workstation and data transmission method thereof
CN209088989U (en) A kind of data acquisition gateway
CN202713363U (en) Radio monitoring system based on protocol interface adaptation

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130612

Termination date: 20141214

EXPY Termination of patent right or utility model