CN203301512U - Embedded field bus communication gateway - Google Patents

Embedded field bus communication gateway Download PDF

Info

Publication number
CN203301512U
CN203301512U CN2013200094442U CN201320009444U CN203301512U CN 203301512 U CN203301512 U CN 203301512U CN 2013200094442 U CN2013200094442 U CN 2013200094442U CN 201320009444 U CN201320009444 U CN 201320009444U CN 203301512 U CN203301512 U CN 203301512U
Authority
CN
China
Prior art keywords
bus
communication
modbus
canbus
communication unit
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
CN2013200094442U
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.)
Suzhou Institute for Advanced Study USTC
Original Assignee
Suzhou Institute for Advanced Study USTC
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 Suzhou Institute for Advanced Study USTC filed Critical Suzhou Institute for Advanced Study USTC
Priority to CN2013200094442U priority Critical patent/CN203301512U/en
Application granted granted Critical
Publication of CN203301512U publication Critical patent/CN203301512U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model provides an embedded field bus communication gateway. The embedded field bus communication gateway includes a CANBUS communication unit, a MODBUS communication unit, an RS485 bus communication unit, an LCD touch screen unit and a main control unit, wherein the main control unit communicates with the MODBUS communication unit through a synchronous/asynchronous serial interface USART1, and communicates with the RS485 bus communication unit through a synchronous/asynchronous serial interface USART2, and communicates with the CANBUS communication unit through a CAN interface; and the embedded field bus communication gateway has a function for fusing communication between any two kinds of buses of an RS485 bus, a CANBUS bus and a MODBUS bus. The embedded field bus communication gateway of the utility model can meet the requirements of communication between heterogeneous field buses and provide a simple and feasible scheme for upgrade and expansion of the field buses.

Description

The embedded field bus communication gate
Affiliated technical field
The utility model relates to the industrial field bus communications field, especially, is a kind of embedded field bus communication gate that can be used for converged communication between the current main-stream industrial field bus.
Background technology
Fieldbus is development in recent years a kind of industry data bus rapidly, as the basis of factory's digital communications network, it be link up between production process scene and control appliance and with the bridge of high control and management level.Fieldbus, as a complex art take technology such as intelligent sensing, control, computer, digital communications as main contents, has become to be subject to worldwide concern.Its key point is the total digitalization communication that can support two-way, multinode, bus type.Field bus technique becomes the focus of automation in the world and instrument and meter development, revolutionary variation that its appearance has made traditional control system structure generation in recent years.The company that much has international influence has all successively carried out the exploitation of Fieldbus Products, although International Electrotechnical Commission (IEC) started to formulate standard for Fieldbus from 1984, remains at present multiple fieldbus and deposits.RS485/MODBUS is a kind of industry group net mode of current trend, is characterized in implementing simple and convenient, and supports now that the instrument of RS485 is many especially again.Present instrument business also transfers support RS485/MODBUS one after another, and reason is very simple, and the translation interface of RS485 is not only cheap but also of a great variety.At least on low-end market, RS485/MODBUS will be topmost industry group net mode.Up to the present, fieldbus does not also have to form real unified standard, and the multiple standards such as MODBUS, CANBUS are parallel to be existed, and the living space of oneself is arranged.When can unify, still not within the foreseeable future.Multiple standards the situation of depositing have caused incompatible between the different bus system, greatly reduce interconnectivity and interoperability between bus system, have caused very large difficulty for upgrading and the dilatation of system.
RS485 bus, CANBUS and MODBUS are three kinds of widely used industrial field bus, and along with development and the application of these three kinds of bussing techniques, the common factor of three kinds of buses is more and more in actual applications, so data sharing to each other becomes day by day important.
The utility model content
In order to address the above problem, the purpose of this utility model is to provide a kind of embedded field bus communication gate of setting up converged communication between RS485 bus, CANBUS, MODBUS, this embedded field bus communication gate is realized the data transparent transmission between the isomery bus by the mode of protocol conversion, for the compatibility of three kinds of buses provides feasible program, effectively solved the incompatible problem between the different bus system.
The technical scheme that its technical problem that solves the utility model adopts is:
This embedded field bus communication gate comprises:
The RS485 communication unit, be used to realizing communicating by letter between gateway device and RS485 bus;
The CANBUS communication unit, be used to realizing communicating by letter between described gateway device and CANBUS;
The MODBUS communication unit, be used to realizing communicating by letter between described gateway device and MODBUS;
Main control unit, be used to controlling the communication between RS485 bus, CANBUS, tri-kinds of buses of MODBUS;
The LCD touch screen unit, for selecting and show mode of operation and the parameter configuration of the gateway that above-mentioned device forms.
Further, described main control unit is communicated by letter with the MODBUS communication unit by universal synchronous/Asynchronous Serial Interface USART1, by universal synchronous/Asynchronous Serial Interface USART2 and RS485 bus communication unit, communicate, and communicate by CAN interface and CANBUS communication unit, by 16BIT FSMC+SPI interface access LCD touch screen unit.
Further, the mode of operation of described gateway: described main control unit is controlled any two kinds of combinations of communication in RS485 bus, CANBUS, tri-kinds of buses of MODBUS and is formed one of six kinds of communication patterns of described gateway.
The beneficial effects of the utility model:
Utilize the utility model, realized the data transparent transmission between RS485, CANBUS and MODBUS, solved the problem of communicating by letter between foreign peoples's fieldbus, compatibility, interconnectivity, the expandability of system all are greatly improved.
The accompanying drawing explanation
Fig. 1 is the system framework schematic diagram of embedded field bus communication gate one embodiment.
Fig. 2 is application model 1 schematic diagram of embedded field bus communication gate Fig. 1 embodiment.
Fig. 3 is application model 2 schematic diagrames of embedded field bus communication gate Fig. 1 embodiment.
Embodiment
Below in conjunction with drawings and Examples, the utility model is further illustrated:
Fig. 1 is the system framework schematic diagram of embedded field bus communication gate one embodiment.
The utility model comprises: LCD touch screen unit 14, be used to mode of operation and the parameter configuration of selecting gateway; RS485 communication unit 13, be used to realizing communicating by letter between gateway device and RS485 bus; CANBUS communication unit 10, be used to realizing communicating by letter between described gateway device and CANBUS; MODBUS communication unit 17, be used to realizing communicating by letter between described gateway device and MODBUS; Main control unit 20, be used to controlling the communication between any two kinds of RS485 bus, CANBUS, tri-kinds of buses of MODBUS; Main control unit 20, be used to controlling the communication between any two kinds of RS485 bus, CANBUS, tri-kinds of buses of MODBUS.
Described main control unit 20 mainly is based on the hardware master control platform of ARM Cortex-M3 kernel, and peripheral interface units mainly comprises described RS485 communication unit, described CANBUS communication unit and described MODBUS communication unit.
STM32F207 is a 32-bit microprocessor based on ARM Cortex-M3 kernel, operating frequency 120MHz.STM32F207 provides abundant interface, support the CANBUS interface of 2 road CAN2.0 agreements, 3 road USART interfaces, 2 road UART interfaces, No. 6 timers, FSMC+SPI interface (16BIT FSMC+SPI), be used to accessing the LCD touch screen module, is supported two kinds of debugging interfaces: serial line interface and JTAG debugging interface.
Described main control unit 20 communicates by CAN interface and described CANBUS communication unit 10, by universal synchronous/Asynchronous Serial Interface USART2 and RS485 communication unit, and communicate by universal synchronous/Asynchronous Serial Interface USART1 and MODBUS communication unit.
Described CANBUS communication unit 10 adopts SN65HVD230, and SN65HVD230 is a kind of CANBUS transceiver that is exclusively used in the CAN controller equiment, can be applicable in the physical layer of CANBUS serial communication of ISO11898 standard.The SN65HVD230CANBUS transceiver can provide different data transmission baudss to bus and CAN controller, and maximum speed is 1Mbps.
MODBUS communication unit 17 and RS485 communication unit 13 all adopt the RS-485 serial line interface.Interface chip is MAX485.MAX485 is the low-power consumption transceiver of communicating by letter with RS-422 for RS-485, in each device, has a driver and a receiver.Driver has short-circuit current limitation, and can driver output be set to high-impedance state by hot breaking circuit, prevents excessive power loss.The receiver input has the fail safe characteristic, when input pull-down, can guarantee logic high output.The driver Slew Rate of MAX485 is unrestricted, can realize the transmission rate of the highest 2.5Mbps.
Described main control unit 20 adopts the mode of protocol conversion to realize two kinds of communications between bus, namely receives the Frame from a kind of bus, according to this bus protocol, successively resolves and obtains wherein data; By another bus protocol this data of successively packing, to this bus, send this frame again, realize thus the transparent transmission of data between the isomery bus.
To be described embedded field bus communication gate set up two kinds of application models of communicating by letter between CANBUS and MODBUS for Fig. 2 and Fig. 3.
When described embedded field bus communication gate works in the application model of Fig. 2, described gateway work is the MODBUS main website, when the monitoring host computer on CANBUS sends frame data, described gateway receives this data as the equipment on CANBUS, according to checking and accepting code and mask off code, judges whether to process these data.If be proved to be successful, resolve the CAN Frame of receiving, obtain the data in the CAN Frame; Data are successively packed and generated the MODBUS frame according to the MODBUS agreement, and described gateway sends this frame data as the MODBUS main website to the slave station on MODBUS, realizes the one-way data transmission of CANBUS to MODBUS.
When described embedded field bus communication gate works in the application model of Fig. 3, described gateway is as the MODBUS slave station, when the monitoring host computer by on MODBUS sends a frame information, described gateway is received this MODBUS frame, check address code and function code, if conform to self address and function code for sending, by the MODBUS agreement, successively resolve, obtain its data; Described gateway forms data the Frame of CAN according to the CANBUS protocol packing, to CANBUS, send this frame, and send Echo Frame to the MODBUS main website, realizes the one-way data transmission of MODBUS to CANBUS.
The foregoing is only preferred embodiment of the present utility model, not in order to limit the utility model, all within spirit of the present utility model and principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection range of the present utility model.

Claims (3)

1. an embedded field bus communication gate, is characterized in that, comprises with lower module:
The RS485 communication unit, be used to realizing communicating by letter between gateway device and RS485 bus;
The CANBUS communication unit, be used to realizing communicating by letter between described gateway device and CANBUS;
The MODBUS communication unit, be used to realizing communicating by letter between described gateway device and MODBUS;
Main control unit, be used to controlling the communication between RS485 bus, CANBUS, tri-kinds of buses of MODBUS;
The LCD touch screen unit, for selecting and show mode of operation and the parameter configuration of gateway.
2. embedded field bus communication gate according to claim 1, it is characterized in that: described main control unit is communicated by letter with the MODBUS communication unit by universal synchronous/Asynchronous Serial Interface USART1, by universal synchronous/Asynchronous Serial Interface USART2 and RS485 bus communication unit, communicate, and communicate by CAN interface and CANBUS communication unit, by 16BIT FSMC+SPI interface access LCD touch screen unit.
3. embedded field bus communication gate according to claim 1, is characterized in that: the mode of operation of described gateway: one of six kinds of communication patterns of the described gateway of any two kinds of combinations of communication formation in described main control unit control RS485 bus, CANBUS, tri-kinds of buses of MODBUS.
CN2013200094442U 2013-01-09 2013-01-09 Embedded field bus communication gateway Expired - Fee Related CN203301512U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013200094442U CN203301512U (en) 2013-01-09 2013-01-09 Embedded field bus communication gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013200094442U CN203301512U (en) 2013-01-09 2013-01-09 Embedded field bus communication gateway

Publications (1)

Publication Number Publication Date
CN203301512U true CN203301512U (en) 2013-11-20

Family

ID=49577491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013200094442U Expired - Fee Related CN203301512U (en) 2013-01-09 2013-01-09 Embedded field bus communication gateway

Country Status (1)

Country Link
CN (1) CN203301512U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932472A (en) * 2015-06-10 2015-09-23 西南大学 Network online reconfigurable industrial security monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932472A (en) * 2015-06-10 2015-09-23 西南大学 Network online reconfigurable industrial security monitoring system

Similar Documents

Publication Publication Date Title
CN102231718B (en) Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof
CN104410600B (en) Control network multi-protocol data converting device
CN103558812B (en) Based on the MVB network four kind equipment network interface card of FPGA and ARM
CN202190284U (en) Protocol converter for CAN bus and SpaceWire bus
CN202872468U (en) Real-time data access interface devic of SCADA (Supervisory Control and Data Acquisition) system
Zhang et al. Development for protocol conversion gateway of PROFIBUS and Modbus
CN203301512U (en) Embedded field bus communication gateway
CN202759477U (en) Industrial communication protocol transition system
CN102724090A (en) Process field bus (PROFIBUS) DP/PA integrated embedded slave node communication device based on DP controller with integrated 8031 core (DPC31)
CN201113374Y (en) Electrical power system microcomputer protecting measuring and controlling device based on double CPU structure
CN202918326U (en) Intelligent multi-serial switch
CN205647570U (en) EtherCAT and deviceNET's communication gateway
CN202353595U (en) Gateway for EtherCAT (Ethernet for control and automation technology) and RS485 communication switching
CN205899366U (en) A data acquisition and network device for intelligent manufacturing system
CN205081473U (en) Double -core dc -to -ac converter module communication system's control circuit board based on DSP+FPGA
CN202872470U (en) Real-time data access interface device of power utilization information acquisition system
CN202178790U (en) Industrial bus interface supporting configurable protocol
Hao et al. Development for protocol conversion gateway of industrial field bus
CN202206415U (en) Gateway for communication conversion between Ethernet CAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol
CN202889275U (en) Remote motor control system based on eCos and Web server
CN204440128U (en) Based on communication card and the electric performance device of FF agreement
CN202693677U (en) Three-phase electronic electric energy meter
CN201471700U (en) PROFIBUS-DP network slave station interface circuit of injection machine
YunxiaJiang et al. Design and implementation of CAN-bus experimental system
CN205015457U (en) Servo motor drives testing arrangement

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice

Addressee: Suzhou Institute for Advanced Study, USTC

Document name: Notification to Pay the Fees

DD01 Delivery of document by public notice

Addressee: Suzhou Institute for Advanced Study, USTC

Document name: Notification of Termination of Patent Right

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131120

Termination date: 20150109

EXPY Termination of patent right or utility model