CN206283532U - A kind of data acquisition device - Google Patents

A kind of data acquisition device Download PDF

Info

Publication number
CN206283532U
CN206283532U CN201621492837.3U CN201621492837U CN206283532U CN 206283532 U CN206283532 U CN 206283532U CN 201621492837 U CN201621492837 U CN 201621492837U CN 206283532 U CN206283532 U CN 206283532U
Authority
CN
China
Prior art keywords
interface
message
controller
communication protocol
data
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
CN201621492837.3U
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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information Technology Co Ltd
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 State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201621492837.3U priority Critical patent/CN206283532U/en
Application granted granted Critical
Publication of CN206283532U publication Critical patent/CN206283532U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

This application provides a kind of data acquisition device, controller can the communication protocol that uses of instrument described in automatic decision whether be default communication protocol, when the communication protocol that instrument is used is not default communication protocol, the communication Protocol Conversion that instrument can be used is default communication protocol, and then can carry out data transmission data acquisition device and instrument, technical staff is no longer needed to go to carry out protocol development and drive to develop, also be not in that developer develops mistake in exploitation due to occurring, make the agreement developed and driving, there is deviation with the communication protocol that field instrument is used, cause can not normal data of acquisition instrument problem.

Description

A kind of data acquisition device
Technical field
The utility model is related to the communications field, more specifically to a kind of data acquisition device.
Background technology
With continuing to develop for science and technology, the utilization rate more and more higher of industrial instrument, these instrument are mostly operated in respectively From system in, detect the service data of its corresponding equipment.The data of the various instrument at scene are carried out into concentrated collection, according to The data of various instrument are analyzed, and are the important means of field device failure analysis in future.
Usage data collection device in the data of the different instrument of collection site, due to the communication protocols of different instrument Discuss different, it is necessary to which developer carries out protocol development and drive to develop according to the communication protocol of instrument, to meet different leading to Believe the requirement of agreement, although the method can access different instrument, developer in exploitation, due to the development time compared with Short or instrument data imperfection, developer it is possible that mistake, and then makes the protocol-driven developed and existing in exploitation There is deviation in the communication protocol that instrument is used, this will cause can not normal acquisition instrument data.
Therefore, a kind of data acquisition device of the data that can gather the instrument with different communication protocol is needed badly.
Utility model content
To solve in the prior art when the data of different instrument are gathered, developer is wrong due to developing in exploitation By mistake or instrument data imperfection and cause the problem of the data for being unable to normal acquisition instrument, the utility model provides a kind of data and adopts Acquisition means.
To achieve the above object, the utility model provides following technical scheme:
A kind of data acquisition device, including:
Controller, random access memory, input interface;Wherein, the random access memory and the input interface It is connected with the controller respectively;
The input interface, for receiving the message of instrument transmission, and sends the messages to the controller;
The controller, for receiving the message, and send the messages to the random access memory, from institute State and take out the message in random access memory, judge whether the communication protocol that the message is used is default communication protocols View, if judging, the communication protocol that the message is used is not the default communication protocol, the communication that the message is used Protocol conversion is the default communication protocol;Wherein, it is described default in the communication Protocol Conversion for using the message During communication protocol, the communication Protocol Conversion that the controller is additionally operable to use the message is the default communication The data that are produced during agreement, it is sent to the random access memory and when the data are needed to use, from institute State random access memory and read the data;
The random access memory, for receiving and stores the message and the data.
Preferably, also include:
Flash memory;The flash memory is connected with the controller;
The controller, is additionally operable to that the flash memory will be sent to by the message after protocol conversion;
The flash memory, for receiving and stores the message by after protocol conversion.
Preferably, also include:
Maintenance interface and interface level conversion chip;The maintenance interface is connected with the controller, the interface level Conversion chip is connected with the controller, the input interface respectively;
The maintenance interface, the interface switching command for receiving external equipment transmission, and by the interface switching command It is sent to the controller;
The controller, is additionally operable to, according to the interface switching command, generate interface level conversion command, and connect described Mouth level conversion order is sent to the interface level conversion chip;
The interface level conversion chip, for receiving the interface level conversion command that the controller sends, and Interface level conversion operation is carried out to the input interface.
Preferably, also include:Output interface;The output interface is connected with the controller;
The controller, is additionally operable to read the message by after protocol conversion from the flash memory, and by the warp The message crossed after protocol conversion is sent to the output port;
The output port, for receiving and arrives external equipment by the message output by after protocol conversion.
Preferably, the communication Protocol Conversion that the controller uses the message is the default communication protocol, tool Body is used for:
The data form of the communication protocol that the message is used is carried out with the data form of the default communication protocol Matching.
Preferably, the input interface includes multiple Data Input Interfaces, wherein, each Data Input Interface respectively with institute State controller connection;
Described each Data Input Interface, the message that the instrument for receiving itself connection sends, and described itself will connect The message that the instrument for connecing sends is sent to the controller.
Preferably,
The input interface is RS422 interfaces, RS485 interfaces or network interface.
Preferably,
The output interface is network interface.
From above-mentioned technical proposal as can be seen that the utility model provides a kind of data acquisition device, controller can be certainly It is dynamic to judge whether the communication protocol that the instrument is used is default communication protocol, when the communication protocol that instrument is used is not default Communication protocol when, the communication Protocol Conversion that can be used instrument is default communication protocol, and then can make data acquisition Device and instrument carry out data transmission, it is no longer necessary to which technical staff goes to carry out protocol development and drive to develop, and is also not in out Hair personnel, due to there is exploitation mistake, make the agreement developed and driving, the communication protocol used with field instrument in exploitation There is deviation, cause can not normal data of acquisition instrument problem.
Brief description of the drawings
In order to illustrate more clearly of the utility model embodiment or technical scheme of the prior art, below will be to embodiment Or the accompanying drawing to be used needed for description of the prior art is briefly described, it should be apparent that, drawings in the following description are only It is embodiment of the present utility model, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawings can be obtained according to the accompanying drawing for providing.
A kind of structural representation of data acquisition device that Fig. 1 is provided for the utility model;
The structural representation of another data acquisition device that Fig. 2 is provided for the utility model;
The structural representation of the third data acquisition device that Fig. 3 is provided for the utility model.
Specific embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, the technical scheme in the utility model embodiment is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the utility model, rather than whole Embodiment.Based on the embodiment in the utility model, those of ordinary skill in the art are not under the premise of creative work is made The every other embodiment for being obtained, belongs to the scope of the utility model protection.
The utility model embodiment provide a kind of data acquisition device, reference picture 1, including:
Controller 101, random access memory 102, input interface 103;Wherein, random access memory 102 and input Interface 103 is connected with controller 101 respectively;
Input interface 103, for receiving the message of instrument transmission, and is sent to controller 101 by message;
Controller 101, for receiving message, and message is sent to random access memory 102, from random access memory The message is taken out in device 102, judges whether the communication protocol that message is used is default communication protocol, and outgoing packet is used if judging Communication protocol be not default communication protocol, the communication Protocol Conversion that message is used is default communication protocol;Wherein, exist During the communication Protocol Conversion that message is used is default communication protocol, controller 101 is additionally operable to use message Communication Protocol Conversion be produce during default communication protocol data, be sent to random access memory 102 and work as Data are read when needing to use data, from random access memory 102;
Random access memory 102, for receiving simultaneously stored messages and data.
Wherein, controller 101 is the device by chip and Circuit assembly.Input interface 103 be RS422 interfaces, RS485 interfaces or network interface.In addition to this it is possible to be other interfaces.Instrument can pass through when input interface 103 is accessed Data wire connect, data wire connection input interface 103 one end can be arranged to the identical interface of input interface 103, also may be used It is connected on cable with one end that data wire is not connected instrument, then input port 103 is connected to by cable.
In the present embodiment, the course of work of each device is:
Input interface 103 receives the message that instrument sends, and message is sent into controller 101, and controller 101 receives report Wen Hou, is sent to message random access memory 102, the message is taken out from random access memory 102, judges that message makes Whether communication protocol is default communication protocol, if judging, the communication protocol that outgoing packet is used is not default communication protocols View, the communication Protocol Conversion that message is used is default communication protocol.
It should be noted is that, controller 101 is default communication protocol in the communication Protocol Conversion for using message During produce data can store in random access memory 102, when need those data when, will be from arbitrary access The data are transferred in memory 102.I.e. random access memory 102 plays the function of interim storage data.
Specifically, the communication Protocol Conversion that controller 101 uses message is default communication protocol, specifically for:
The data form of the communication protocol that message is used is matched with the data form of default communication protocol.
Specifically, the data form of different agreement is different, just because of the difference of data form, and make different associations Can not be communicated between view, the data form of the communication protocol that message is used is entered with the data form of default communication protocol Row matching, it becomes possible to ensure to be changed between different agreement.Wherein, default communication protocol is staff according to specific What usage scenario was set.
Additionally, input interface 103 includes multiple Data Input Interfaces, wherein, each Data Input Interface respectively with control Device 101 is connected;
Each Data Input Interface, the message that the instrument for receiving itself connection sends, and the instrument that itself is connected The message of transmission is sent to controller 101.
Specifically, whole data acquisition device is provided with an input interface 103, but included in the input interface 103 There are multiple Data Input Interfaces, so, input interface 103 has access to multiple instrument, and then data acquisition device can The data of multiple instrument are gathered simultaneously, improve the efficiency of data acquisition.
In the present embodiment, controller 101 can the communication protocol that uses of automatic decision instrument whether be default communication protocols View, when the communication protocol that instrument is used is not default communication protocol, the communication Protocol Conversion that can be used instrument is pre- If communication protocol, and then can carry out data transmission data acquisition device and instrument, it is no longer necessary to which technical staff goes to carry out Protocol development is developed with driving, is also not in that developer develops mistake in exploitation due to occurring, and makes the agreement developed And driving, there is deviation with the communication protocol that field instrument is used, cause can not normal data of acquisition instrument problem.
Optionally, in another embodiment of the present utility model, reference picture 2 also includes:
Flash memory 104;Flash memory 104 is connected with controller 101;
Controller 101, is additionally operable to that flash memory 104 will be sent to by the message after protocol conversion;
Flash memory 104, for receiving and stores by the message after protocol conversion.
In addition, also include:
Output interface 105;Output interface 105 is connected with controller 101;
Controller 101, is additionally operable to be read by the message after protocol conversion from flash memory 104, and will be by protocol conversion Message afterwards is sent to output port 105;
Output port 105, external equipment is arrived for receiving and will be exported by the message after protocol conversion.
Specifically, the course of work of each device is:
The communication Protocol Conversion that controller 101 uses message be default communication protocol after, can be by by protocol conversion Message afterwards is stored in flash memory 104, and when external equipment needs these messages, controller 101 can read warp from flash memory 104 The message crossed after protocol conversion, and output port 105 will be sent to by the message after protocol conversion, by output port 105 It is sent to external equipment.
When output port 105 sends message to external equipment, according to the size of message, selection is disposably to send out message Send, or framing sends message, when framing sends message, can there is time delay between frame and frame, for example, sent After first frame message, after the specified time can be spaced, the second frame message is sent, until whole message is sent on external equipment.
Wherein, external equipment can be notebook, computer or cloud platform etc..Output interface 105 is network interface.
It should be noted is that, random access memory 102 and flash memory 104 be for data storage, but with The storage speed of machine access memory 102 is faster than the storage speed of flash memory 104.
In the present embodiment, the communication Protocol Conversion that controller 101 uses message be default communication protocol after, can by through The message crossed after protocol conversion is stored in flash memory 104.When external equipment needs these messages, can be by output port 105 It is sent to external equipment.
Optionally, in another embodiment of the present utility model, reference picture 3 also includes:
Maintenance interface 106 and interface level conversion chip 107;Maintenance interface 106 is connected with controller 101, interface level Conversion chip 107 is connected with controller 101, input interface 103 respectively;
Maintenance interface 106, for receiving the interface switching command of external equipment transmission, and interface switching command is sent to Controller 101;
Controller 101, is additionally operable to according to interface switching command, generates interface level conversion command, and interface level is turned Change order and be sent to interface level conversion chip 107;
Interface level conversion chip 107, the interface level conversion command for receiving the transmission of controller 101, and to input Interface 103 carries out interface level conversion operation.
Specifically, the course of work of each device is:
When the interface of the instrument for accessing is mismatched with the input interface 103 of notebook data harvester, now can just lead to The maintenance interface 106 crossed in the present embodiment and interface level conversion chip 107 realize the matching of interface.
Now notebook data harvester can be connected to by external equipment by maintenance interface 106, such as on computer.Maintenance connects Mouth 106 receives the interface switching command that external equipments send, and interface switching command is sent into controller 101, controller 101 According to interface switching command, interface level conversion command is generated, and interface level conversion command is sent to interface level conversion Chip 107, interface level conversion chip 107 receives the interface level conversion command that controller 101 sends, and to input interface 103 carry out interface level conversion operation, and the input interface 103 of notebook data harvester is matched with the interface of instrument.
As an example it is assumed that the interface for accessing input interface 103 is RS485 interfaces, and input interface 103 is network interface, this When by interface level conversion chip 107, can will just connect the line of those transmission data of network interface, by RS485 interfaces not The line that can be used, is arranged to transmit the line of data.
It should be noted that the present embodiment is the conversion that interface is realized by interface level conversion chip 107, except this it Outward, additionally it is possible to the conversion of interface is realized by way of wire jumper.And then realize the data transfer between distinct interface.
In the present embodiment, by interface level conversion chip 107 and maintenance interface 106, the interface of instrument can be realized With matching for input interface 103, and then the transmission of data can be realized.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or new using this practicality Type.Various modifications to these embodiments will be apparent for those skilled in the art, determine herein The General Principle of justice can in other embodiments be realized in the case where spirit or scope of the present utility model are not departed from.Cause This, the utility model is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein The most wide scope consistent with features of novelty.

Claims (8)

1. a kind of data acquisition device, it is characterised in that including:
Controller, random access memory, input interface;Wherein, the random access memory and the input interface are distinguished It is connected with the controller;
The input interface, for receiving the message of instrument transmission, and sends the messages to the controller;
The controller, for receiving the message, and send the messages to the random access memory, from it is described with The message is taken out in machine access memory, judges whether the communication protocol that the message is used is default communication protocol, if Judge that the communication protocol that the message is used is not the default communication protocol, the communication protocol that the message is used turns It is changed to the default communication protocol;Wherein, it is the default communication protocols in the communication Protocol Conversion for using the message During view, it is the default communication protocol that the controller is additionally operable to the communication Protocol Conversion that the message is used During produce data, be sent to the random access memory and when the data are needed to use, from described random Access memory reads the data;
The random access memory, for receiving and stores the message and the data.
2. data acquisition device according to claim 1, it is characterised in that also include:
Flash memory;The flash memory is connected with the controller;
The controller, is additionally operable to that the flash memory will be sent to by the message after protocol conversion;
The flash memory, for receiving and stores the message by after protocol conversion.
3. data acquisition device according to claim 1, it is characterised in that also include:
Maintenance interface and interface level conversion chip;The maintenance interface is connected with the controller, the interface level conversion Chip is connected with the controller, the input interface respectively;
The maintenance interface, the interface switching command for receiving external equipment transmission, and the interface switching command is sent To the controller;
The controller, is additionally operable to according to the interface switching command, generates interface level conversion command, and the interface is electric Flat conversion command is sent to the interface level conversion chip;
The interface level conversion chip, for receiving the interface level conversion command that the controller sends, and to institute Stating input interface carries out interface level conversion operation.
4. data acquisition device according to claim 2, it is characterised in that also include:Output interface;The output interface It is connected with the controller;
The controller, is additionally operable to read the message by after protocol conversion from the flash memory, and by described by assisting Message after view conversion is sent to the output port;
The output port, for receiving and arrives external equipment by the message output by after protocol conversion.
5. data acquisition device according to claim 1, it is characterised in that the controller by the message use it is logical Letter protocol conversion is the default communication protocol, specifically for:
The data form of the communication protocol that the message is used is matched with the data form of the default communication protocol.
6. data acquisition device according to claim 1, it is characterised in that the input interface includes multiple data inputs Interface, wherein, each Data Input Interface is connected with the controller respectively;
Described each Data Input Interface, for receive itself connection instrument send message, and by it is described itself connection The message that instrument sends is sent to the controller.
7. data acquisition device according to claim 1, it is characterised in that
The input interface is RS422 interfaces, RS485 interfaces or network interface.
8. data acquisition device according to claim 4, it is characterised in that
The output interface is network interface.
CN201621492837.3U 2016-12-30 2016-12-30 A kind of data acquisition device Active CN206283532U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621492837.3U CN206283532U (en) 2016-12-30 2016-12-30 A kind of data acquisition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621492837.3U CN206283532U (en) 2016-12-30 2016-12-30 A kind of data acquisition device

Publications (1)

Publication Number Publication Date
CN206283532U true CN206283532U (en) 2017-06-27

Family

ID=59072098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621492837.3U Active CN206283532U (en) 2016-12-30 2016-12-30 A kind of data acquisition device

Country Status (1)

Country Link
CN (1) CN206283532U (en)

Similar Documents

Publication Publication Date Title
CN107980215A (en) A kind of protocol converter and method for converting protocol
CN104199795B (en) Data transferring and receiving method of bus framework
EP2981004A1 (en) Interconnection system and apparatus, and data transmission method
CN103595591A (en) Method and system for monitoring board cards of multi-board-card equipment
CN103095703A (en) Method and equipment and system for achieving data interaction between network and serial port
CN104009976A (en) Real-time communication method and equipment used among multiple main station systems
CN105306352A (en) Industrial field bus protocol gateway device
CN104683130B (en) A kind of method and apparatus of configuring stacking port
CN101958888A (en) Configuration method of port negotiation capacity, communication port and communication device
CN107181702B (en) Device for realizing RapidIO and Ethernet fusion exchange
CN106411741A (en) MAC address learning method, controller and switching equipment
WO2015154588A1 (en) Serial port information transmission method, single board device and common single board
CN206283532U (en) A kind of data acquisition device
CN104199799A (en) Baud rate self-adaptation method and device based on CPLD
CN208386579U (en) A kind of 1553B bus detection system based on Ethernet
US8996737B1 (en) Method for emulating communication standards of transceiver modules for native host devices
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
CN105843046A (en) Intelligent household electrical appliance master control communication method and system thereof
CN103810142B (en) Reconfigurable system and construction method thereof
CN105049294A (en) Automatic testing method for port state switching of EAPS (Ethernet Automatic Protection Switching) protocol MASTER switch
CN113194048B (en) Device for dynamically switching CPU and GPU topology and use method
CN204390224U (en) A kind of fault-tolerant master-slave synchronisation serial communication system based on FPGA
CN106304241A (en) A kind of data transmission method, transponder and gateway
CN203608221U (en) Coupling device for EtherCAT (Ethernet for Control and Automation Technology) network master stations and EtherCAT network coupling system
CN210274135U (en) Remote connection system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant