CN202513948U - Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP) - Google Patents

Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP) Download PDF

Info

Publication number
CN202513948U
CN202513948U CN2012201580369U CN201220158036U CN202513948U CN 202513948 U CN202513948 U CN 202513948U CN 2012201580369 U CN2012201580369 U CN 2012201580369U CN 201220158036 U CN201220158036 U CN 201220158036U CN 202513948 U CN202513948 U CN 202513948U
Authority
CN
China
Prior art keywords
ethernet
circuit
profibus
interface circuit
master
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
CN2012201580369U
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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN2012201580369U priority Critical patent/CN202513948U/en
Application granted granted Critical
Publication of CN202513948U publication Critical patent/CN202513948U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP). The master-slave mode protocol conversion gateway comprises a PROFIBUS-DP communication interface circuit, an Ethernet interface circuit and a data repeat circuit, wherein both the PROFIBUS-DP communication interface circuit and the Ethernet interface circuit are connected with the data repeat circuit, the PROFIBUS-DP communication interface circuit is used for receiving, transmitting and processing data from a PROFIBUS-DP master station and the data repeat circuit, the Ethernet interface circuit is used for receiving, transmitting and processing data from Ethernet equipment and the data repeat circuit, and the data repeat circuit is used for transmitting data from the PROFIBUS-DP master station to an application layer of an Ethernet communication station or transmitting data from the Ethernet equipment to a PROFIBUS-DP user interface. The master-slave mode protocol conversion gateway achieves device-level information exchange between the ProfiBus and the Ethernet, and has the advantages of being high in real-time performance, low in cost, and simple and flexible in information integration method.

Description

Ethernet is to the master-slave mode protocol conversion gateway of PROFIBUS-DP
Technical field
The utility model belongs to unidirectional protocol transfer gateway field, relates in particular to the master-slave mode protocol conversion gateway of a kind of Ethernet to PROFIBUS-DP.
Background technology
Because the objective reality of a large amount of incompatible networks, between network agreement be converted into unavoidable problem, also be the hot issue in the present communications field.At present most of research concentrates between commercial Ethernet or in the protocol conversion between computer network, and to the research of protocol conversion between Ethernet and the fieldbus rare report also.
Because the definition of most of Ethernet and each layer protocol of fieldbus is all inequality, so can only adopt protocol conversion gateway to realize interconnected between them.The protocol conversion gateway of research generally all belongs to bidirectional gateway both at home and abroad at present; And mainly concentrate on CAN (Controller Area Network to the research that is used for the protocol conversion gateway between Ethernet and the fieldbus; Controller local area network) in the protocol conversion of bus and Ethernet, the CAN bus is non-master-slave mode bus structures.Because the protocol data form of master-slave mode fieldbus definition is more; And to follow strict standard during network configuration; Therefore the protocol conversion gateway that is used for Ethernet and master-slave mode fieldbus is more complicated, and the research to the protocol conversion between master-slave mode fieldbus and the Ethernet does not at present almost have.
The utility model content
To the deficiency that prior art exists, the utility model provides the master-slave mode protocol conversion gateway of a kind of simple in structure, real-time is high, the information integration cost is low Ethernet to PROFIBUS-DP.
For solving the problems of the technologies described above, the utility model adopts following technical scheme:
Ethernet comprises to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
PROFIBUS-DP communication interface circuit, ethernet interface circuit and data forwarding circuit, wherein:
The PROFIBUS-DP communication interface circuit comprises CPU element 1, reset circuit 2, decoding circuit 3, establishes site circuit 4, address latch 5, the outer random asccess memory 6 of sheet and DP communication unit 7; Reset circuit 2 links to each other with CPU element 1; CPU element 1, address latch 5, the outer random asccess memory 6 of sheet, DP communication unit 7 link to each other with address bus, data/address bus respectively; One end link address bus of decoding circuit 3, the other end connect establishes site circuit 4, establishes site circuit 4 and also links to each other with data/address bus;
Ethernet interface circuit comprises ethernet mac controller 8, ethernet physical layer interface circuit 9, first peripheral circuit 10, second peripheral circuit 11; Ethernet physical layer interface circuit 9, first peripheral circuit 10 all link to each other with ethernet mac controller 8, and second peripheral circuit 11 links to each other with ethernet physical layer interface circuit 9;
The PROFIBUS-DP communication interface circuit links to each other with the data forwarding circuit through CPU element 1, and ethernet interface circuit links to each other with the data forwarding circuit through ethernet mac controller 8.
Above-mentioned DP communication unit 7 is connected to form by driver, optocoupler, protocol chip in order, and DP communication unit 7 is connected with the Profibus-DP bus through driver, is connected with address bus, data/address bus through protocol chip; The driver that is adopted is the RS-485 driver, and protocol chip is the interface chip of SPC3 model.
Above-mentioned CPU element 1 is the single-chip microcomputer of 89C52 model, and ethernet mac controller 8 is a S3C4510B model processor, and the data forwarding circuit is the dual port RAM chip of IDT7134 model.
Above-mentioned first peripheral circuit 10 comprises RS-232 interface, crystal oscillator, Flash memory circuitry, DRAM interface circuit and sdram interface circuit, and RS-232 interface, crystal oscillator, Flash memory circuitry, DRAM interface circuit and sdram interface circuit all link to each other with ethernet mac controller 8; Above-mentioned second peripheral circuit 11 is a crystal oscillator.
Compared with prior art, the utlity model has following advantage and beneficial effect:
The utility model can be realized the information interaction of device level between fieldbus and the Ethernet; Compare with the information integration pattern that in host computer, realizes; The information integration mode of the utility model is not only easy flexibly,, and have real-time height, advantage with low cost; Overcome the narrower bottleneck of communication bandwidth that the PROFIBUS-DP bus is supported, can satisfy the demand of control system bigger system scale.
Description of drawings
Fig. 1 is the PROFIBUS-DP communication interface circuit sketch map of the utility model;
Fig. 2 is a kind of sketch map of practical implementation of the ethernet interface circuit of the utility model;
Fig. 3 is the sketch map that is connected of PROFIBUS-DP communication interface circuit, ethernet interface circuit and the data forwarding circuit of the utility model;
Among the figure: CPU element 1, reset circuit 2, decoding circuit 3, establish the outer random asccess memory 6 of site circuit 4, address latch 5, sheet and DP communication unit 7, ethernet mac controller 8, ethernet physical layer interface circuit 9, first peripheral circuit 10, second peripheral circuit 11.
Embodiment
Below in conjunction with accompanying drawing and practical implementation the utility model is described further.
The Ethernet that the utility model proposes is to the master-slave mode protocol conversion gateway of PROFIBUS-DP; Constitute by PROFIBUS-DP communication interface circuit, ethernet interface circuit and data forwarding circuit; PROFIBUS-DP communication interface circuit, data forwarding circuit, ethernet interface circuit link to each other successively; In addition; The PROFIBUS-DP communication interface circuit also links to each other with the PROFIBUS-DP bus, and ethernet interface circuit also links to each other with Ethernet, and the data forwarding circuit adopts the dual port RAM chip of IDT7134 model in this practical implementation.
The PROFIBUS-DP communication interface circuit is responsible for receiving and dispatching and handling the data from PROFIBUS-DP main website and data forwarding circuit.Shown in Figure 1 is PROFIBUS-DP communication interface circuit sketch map; Like figure; The PROFIBUS-DP communication interface circuit by CPU element 1, reset circuit 2, decoding circuit 3, establish the outer random asccess memory 6 of site circuit 4, address latch 5, sheet and DP communication unit 7 is formed; Reset circuit 2 links to each other with CPU element 1, and CPU element 1, address latch 5, the outer random asccess memory 6 of sheet, DP communication unit 7 link to each other an end link address bus of decoding circuit 3 respectively with address bus, data/address bus; The other end connects establishes site circuit 4, establishes site circuit 4 and also links to each other with data/address bus.DP communication unit 7 is connected to form by driver, optocoupler, protocol chip in order, and DP communication unit 7 is connected into the PROFIBUS-DP fieldbus through driver, is connected with address bus, data/address bus through protocol chip.In this practical implementation, CPU element 1 adopts the single-chip microcomputer of 89C52 model, and the driver in the DP communication unit 7 adopts the RS-485 driver, and protocol chip adopts the interface chip of SPC3 model.
Ethernet interface circuit is responsible for receiving and dispatching and handling the data from ethernet device and data forwarding circuit.Shown in Figure 2 is the ethernet interface circuit sketch map; Like figure; Ethernet interface circuit is made up of ethernet mac controller 8, ethernet physical layer interface circuit 9, first peripheral circuit 10, second peripheral circuit 11; Ethernet physical layer interface circuit 9, first peripheral circuit 10 all link to each other with ethernet mac controller 8, and second peripheral circuit 11 links to each other with ethernet physical layer interface circuit (9), and ethernet interface circuit is linked Ethernet through ethernet physical layer interface circuit 9.In this practical implementation, ethernet mac controller 8 adopts the flush bonding processor (ARM7 kernel) of S3C4510B model; The core of ethernet physical layer interface circuit 9 is the RTL8201 chip; First peripheral circuit 10 comprises RS-232 interface, 10MHz crystal oscillator, Flash memory circuitry, DRAM interface circuit and sdram interface circuit, and RS-232 interface, crystal oscillator, Flash memory circuitry, DRAM interface circuit and sdram interface circuit all link to each other with ethernet mac controller 8; Second peripheral circuit 11 is the 25MHz crystal oscillator.
The data forwarding circuit is responsible for the PROFIBUS-DP main website data that receive are sent to the application layer of ethernet communication stack, and the data from ethernet device that perhaps will receive send to the PROFIBUS-DP user interface.Shown in Figure 3 is the sketch map that is connected of PROFIBUS-DP communication interface circuit, ethernet interface circuit and data forwarding circuit; Like figure; The PROFIBUS-DP communication interface circuit links to each other with the data forwarding circuit through CPU element 1, and ethernet interface circuit links to each other with the data forwarding circuit through ethernet mac controller 8.
The course of work of the utility model is following:
Access request is sent with PROFIBUS-DP fieldbus data frame form in the request message of PROFIBUS-DP field bus device and device address; The user calls the data transport service of PROFIBUS-DP fieldbus; Request message and device address are sent to DP communication unit 7 with the form of message; DP communication unit 7 is transmitted to CPU element 1 through data/address bus with this message after receiving this message; Message after will unpacking after 1 pair of message that receives of CPU element unpacks is sent to the data forwarding circuit, and the data forwarding circuit sends to ethernet mac controller 8 after message is handled, and nets very much mac controller 8 and adds heading and the verification frame that meets IEEE 802.3 standards in the front and back of message respectively; Form with ethernet frame is delivered to ethernet physical layer interface circuit 9, sends to ethernet device then.
Because Ethernet adopts the structure of sharing formula; Therefore all ethernet devices all will receive the request message from the PROFIBUS-DP field bus device; But only meet this request message of ethernet device response of the destination address in the request message, response data will send to the PROFIBUS-DP field bus device by the backward of above order.

Claims (8)

1. Ethernet is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP, comprising:
PROFIBUS-DP communication interface circuit, ethernet interface circuit and data forwarding circuit, wherein:
The PROFIBUS-DP communication interface circuit comprises CPU element (1), reset circuit (2), decoding circuit (3), establishes site circuit (4), address latch (5), the outer random asccess memory (6) of sheet and DP communication unit (7); Reset circuit (2) links to each other with CPU element (1); CPU element (1), address latch (5), the outer random asccess memory (6) of sheet, DP communication unit (7) link to each other with address bus, data/address bus respectively; One end link address bus of decoding circuit (3); The other end connects establishes site circuit (4), establishes site circuit (4) and also links to each other with data/address bus;
Ethernet interface circuit comprises ethernet mac controller (8), ethernet physical layer interface circuit (9), first peripheral circuit (10), second peripheral circuit (11); Ethernet physical layer interface circuit (9), first peripheral circuit (10) all link to each other with ethernet mac controller (8), and second peripheral circuit (11) links to each other with ethernet physical layer interface circuit (9);
The PROFIBUS-DP communication interface circuit links to each other with the data forwarding circuit through CPU element (1), and ethernet interface circuit links to each other with the data forwarding circuit through ethernet mac controller (8).
2. Ethernet according to claim 1 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
Described DP communication unit (7) is connected to form by driver, optocoupler, protocol chip in order, and DP communication unit (7) is connected with address bus, data/address bus through protocol chip.
3. Ethernet according to claim 2 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
Described driver is the RS-485 driver, and described protocol chip is a SPC3 model interface chip.
4. Ethernet according to claim 1 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
Described CPU element is a 89C52 model single-chip microcomputer.
5. Ethernet according to claim 1 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP: described ethernet mac controller (8) is a S3C4510B model processor.
6. Ethernet according to claim 1 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
The dual port RAM chip that described data forwarding circuit is the IDT7134 model.
7. Ethernet according to claim 1 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
Described first peripheral circuit (10) comprises RS-232 interface, crystal oscillator, Flash memory circuitry, DRAM interface circuit and sdram interface circuit, and RS-232 interface, crystal oscillator, Flash memory circuitry, DRAM interface circuit and sdram interface circuit all link to each other with ethernet mac controller (8).
8. Ethernet according to claim 1 is characterized in that to the master-slave mode protocol conversion gateway of PROFIBUS-DP:
Described second peripheral circuit (11) is a crystal oscillator.
CN2012201580369U 2012-04-16 2012-04-16 Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP) Expired - Fee Related CN202513948U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012201580369U CN202513948U (en) 2012-04-16 2012-04-16 Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012201580369U CN202513948U (en) 2012-04-16 2012-04-16 Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP)

Publications (1)

Publication Number Publication Date
CN202513948U true CN202513948U (en) 2012-10-31

Family

ID=47066402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012201580369U Expired - Fee Related CN202513948U (en) 2012-04-16 2012-04-16 Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP)

Country Status (1)

Country Link
CN (1) CN202513948U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808616A (en) * 2015-03-04 2015-07-29 上海兰宝传感科技股份有限公司 PLC data acquisition system
CN113300927A (en) * 2015-08-31 2021-08-24 松下电器(美国)知识产权公司 Gateway device, in-vehicle network system, and transfer method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808616A (en) * 2015-03-04 2015-07-29 上海兰宝传感科技股份有限公司 PLC data acquisition system
CN113300927A (en) * 2015-08-31 2021-08-24 松下电器(美国)知识产权公司 Gateway device, in-vehicle network system, and transfer method
CN113300927B (en) * 2015-08-31 2024-03-22 松下电器(美国)知识产权公司 Gateway device, in-vehicle network system, and transfer method

Similar Documents

Publication Publication Date Title
CN202495966U (en) Embedded configurable multi-protocol communication network converter
CN102780705B (en) Ethernet-(controller area network) CAN protocol converter
CN102567125A (en) Method for realizing communication between browser pages
CN201639589U (en) Embedded dual-redundant network card based on ARM
CN102811152B (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
WO2015103848A1 (en) Method, system and terminal for realizing network access via wifi
CN106973059A (en) A kind of ten thousand mbit ethernets and Rapid I/O networks switching control system and method
CN102404414A (en) Ethernet communication system and method based on multi-media card/security digital card (MMC/SD) interface
CN103701680A (en) Cross-PCIe domain message transmitting method, equipment and system
CN102316113B (en) POWERLINK and HDLC protocol conversion equipment and realization method thereof
CN206556200U (en) A kind of tail end of central air conditioner management system communicated based on zigbee
CN202513948U (en) Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP)
CN104753749A (en) Multi-host communication method and multi-host communication system
CN101753486B (en) Industrial automation field bus gateway equipment
CN103716293A (en) Low voltage power line spread spectrum communication protocol employing time scale synchronization collision detection method
CN106657377B (en) A kind of WIA-PA/ interconnects manufacture network information service adapter and implementation method entirely
CN202085185U (en) Electric power carrier wave gateway
CN102420734A (en) System for realizing topological structure of controller area network (CAN) bus
CN203070516U (en) Electric meter reading system based on Ethernet networking architecture
CN206894676U (en) A kind of things-internet gateway realized 6LowPAN and mutually changed with multi-protocols
CN202206412U (en) Full duplex RS485 bus communication device on basis of collision-free protocol
CN201414136Y (en) Intelligent double-network framework household network system
CN205610950U (en) Wireless gateway based on Thread
CN201854437U (en) Wireless router with client network function
CN209184617U (en) A kind of CANFD bus data radio transmitting device

Legal Events

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

Granted publication date: 20121031

Termination date: 20130416