CN103237091A - PROFINET bus interface device with real-time performance - Google Patents

PROFINET bus interface device with real-time performance Download PDF

Info

Publication number
CN103237091A
CN103237091A CN2013101444452A CN201310144445A CN103237091A CN 103237091 A CN103237091 A CN 103237091A CN 2013101444452 A CN2013101444452 A CN 2013101444452A CN 201310144445 A CN201310144445 A CN 201310144445A CN 103237091 A CN103237091 A CN 103237091A
Authority
CN
China
Prior art keywords
profinet
bus
module
application apparatus
interface
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.)
Granted
Application number
CN2013101444452A
Other languages
Chinese (zh)
Other versions
CN103237091B (en
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.)
DONGFANG ELECTRIC Co Ltd
Original Assignee
Dongfang Electric Corp
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 Dongfang Electric Corp filed Critical Dongfang Electric Corp
Priority to CN201310144445.2A priority Critical patent/CN103237091B/en
Publication of CN103237091A publication Critical patent/CN103237091A/en
Application granted granted Critical
Publication of CN103237091B publication Critical patent/CN103237091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)
  • Bus Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the computer communication technology and the industrial automation technology, in particular to a PROFINET bus interface device with real-time performance. The device comprises a PROFINET protocol conversion module, a data cache module, a control module and an application device interface module, wherein the PROFINET protocol conversion module is connected onto a PROFINET bus. By the adoption of the device, an application device developer only needs to adopt the existing standard communication interface method to conveniently and rapidly finish the communication with the PROFINET bus interface device, and the access with the PROFINET bus is further realized. According to the device, a known standard bus interface which does not relate to a PROFINET bottom layer protocol is provided for the application device developer, and thus the application device developer feels like communicating with an existing standard bus.

Description

A kind of PROFINET bus interface devices with real-time
Technical field
The present invention relates to computer communication technology and industrial automation technology, particularly a kind of PROFINET bus interface devices with real-time.
Background technology
PROFINET is by being by PROFINET ﹠amp; The opened industrial ethernet standard that PROFINET International (PI) international organization releases is that a new generation is based on the automation bus standard of Industrial Ethernet technology.PROFINET has following characteristics: (1) PROFINET is based on Industrial Ethernet; (2) PROFINET follows TCP/IP and IT standard; (3) PROFINET is real-time ethernet; (3) PROFINET can seamless integrated field bus system.These characteristics have determined PROFINET as a strategic technological innovation; can provide a whole network solution for the automated communication field; included the much-talked-about topic such as current automatic fields such as real-time ethernet, motion control, distributed automatization, failure safe and network securitys; and as the technology of striding supplier; can complete compatible Industrial Ethernet and existing fieldbus (as PROFINET) technology, the protection existing investment.
According to the difference of response time, PROFINET supports following three kinds of communication modes: (1) TCP/IP standard traffic; (2) (RT) communication in real time; (3) (IRT) communication in real time synchronously.Its implementation as shown in Figure 1.For the TCP/IP standard traffic, PROFINET uses TCP/IP and IT standard based on the Industrial Ethernet technology.TCP/IP be the IT field about communication protocol aspect de facto standards, although its response time probably in the magnitude of 100 ms, but, for the application of factory's controlled stage, this response time is enough.For the exchanges data between transducer and the actuator equipment, system is more strict to the requirement of response time, probably needs the response time of 5-10ms.PROFINET provide an optimization, based on the real time communication passage of the Ethernet second layer, by this real-time channel, greatly reduced the processing time of data in communication stack, therefore, PROFINET has obtained to be equal to even to surpass the real-time performance of conventional on-site bus system.For the motion control requirement, synchronously real-time (the Isochronous Real-Time of PROFINET, IRT) technology can satisfy the high-speed communication demand of motion control, under 100 nodes, its response time is less than 1ms, jitter error is less than 1 μ s, with this response that guarantees timely, determines.
Though PROFINET compatibility standard ethernet communication protocol, but for the equipment that the real-time communicating requirement is arranged, insert PROFINET and must support the PROFINET agreement to the expansion of standard ethernet, rather than can successfully insert with conventional Ethernet interface mode.Therefore, traditionally for the developer of this part application apparatus, can only follow open PROFINET agreement, from bottom the PROFINET interface exploitation be brought into the whole application apparatus exploitation.Because the PROFINET agreement is comparatively complicated, this development scheme difficulty concerning general application apparatus developer is bigger, and the cycle is longer.
Existing access technology scheme does not have the ability that satisfies PROFINET real-time communication pattern, can only require the developer to use special chip or module, directly do from the PROFINET low level development, its development need relate to the detail of PROFINET, and development difficulty and cycle are increased greatly.For example number of patent application is CN201120090299.6, patent application day is on March 31st, 2011, name is called the utility model patent of " based on the PROFINET Industrial Ethernet input-output unit of ANYBUS-S module ", its concrete technical scheme is: a kind of PROFINET Industrial Ethernet input-output unit based on the ANYBUS-S module, comprise: the PROFINET interface unit, finish to the initialization of ANYBUS-S and control its be used for and PROFINET between carry out data communication; The I/O interface unit carries out the single-chip processor i/o mouth by 8255 and expands, and finishes the processing of peripheral digital quantity and analog data by light-coupled isolation and AD, DA change-over circuit; Short-circuit protection and self-diagnosis unit switches, when being short-circuited in I/O interface unit circuit, deenergization gives short-circuit protection, and sends the diagnostic data in the short circuit process to the PROFINET interface unit.
Above-mentioned patent is in order to realize long-range IO control function, just require the developer to use special module ANYBUS-S, realize the mutual of data by microcontroller and latch and special module ANYBUS-S by address, data/address bus then, and this part development is consuming time and loaded down with trivial details.Simultaneously this PROFINET inserts does not have the real time communication ability yet.
Summary of the invention
For reducing development difficulty and shortening the construction cycle, the person that makes the equipment development concentrates on application apparatus itself and application apparatus and need not too much to pay close attention to the PROFINET Details Of Agreement, a kind of PROFINET bus interface devices with real-time that existing proposition does not need the developer to use special chip or module and have the real time communication ability.
For realizing above-mentioned technique effect, technical solution of the present invention is as follows:
A kind of PROFINET bus interface devices with real-time, it is characterized in that: comprise PROFINET protocol conversion module, data cache module, control module and application apparatus interface module, described PROFINET protocol conversion module is connected to the PROFINET bus, described data cache module links to each other with the PROFINET protocol conversion module, described control module links to each other with data cache module, described application apparatus interface module links to each other with described control module, and described application apparatus interface module links to each other with application apparatus by the application apparatus communication bus.
Signal between described each continuous module is bi-directional.
The operation principle of each several part is as follows:
Described PROFINET protocol conversion module is realized PROFINET physical layer, network data link layer, network layer and transport layer communication protocol, be responsible for extracting initial data from described data cache module, the form with the PROFINET protocol massages is sent to the PROFINET bus then; Be responsible for simultaneously receiving protocol massages from the PROFINET bus, store in the described data cache module with the form of initial data.
Described data cache module is responsible for storing respectively the initial data of desiring to be forwarded to application apparatus and desiring to be forwarded to the PROFINET bus, thereby make described PROFINET bus interface devices reach the requirement of real time communication pattern, for preventing data collision, the initial data of sending to application apparatus and PROFINET bus is positioned over respectively in the different block.
Described control module is responsible for obtaining from described data cache module desiring to be forwarded to the initial data of application apparatus and it being transmitted to described application apparatus interface module, extract application apparatus from described application apparatus interface module simultaneously and desire to be sent to the initial data of PROFINET bus, and be stored to described data cache module.
Described application apparatus interface module is responsible for according to the application apparatus communication bus protocol, obtain initial data from application apparatus, send to described control module then, the initial data of also described control module being obtained from the PROFINET bus simultaneously sends on the application apparatus communication bus.
Bus interface devices comprises PROFINET bus communication unit 7, data buffer 8, microcontroller 9 and bus transceiver 10, described PROFINET protocol conversion module is PROFINET bus communication unit, PROFINET bus communication unit comprises PROFINET physical layer interface and PROFINET communication controler, data cache module is data buffer, described control module is the microcontroller kernel, the application apparatus interface module is the spi bus interface unit, and described spi bus interface unit comprises spi bus controller and bus transceiver; Described PROFINET physical layer interface is connected with PROFINET communication controler signal, the PROFINET communication controler is connected with the data buffer signal, the microcontroller kernel is connected with the data buffer signal, the spi bus controller is connected with nuclear signal in the microcontroller, bus transceiver is connected with the spi bus controller signals, application apparatus is connected with the bus transceiver signal by spi bus, and the PROFINET bus is connected with the PROFINET physical layer interface signal.
Bus interface devices comprises PROFINET bus communication unit 13, data buffer 14, microcontroller 15 and level translator 16.Wherein PROFINET bus communication unit 13 comprises PROFINET physical layer interface 13a and PROFINET communication controler 13b physically; Microcontroller 15 comprises microcontroller kernel 15a and IO peripheral control unit 15b physically; Logically, PROFINET bus communication unit 13 is corresponding to described PROFINET protocol conversion module 2, data buffer 14 is corresponding to described data cache module 3, microcontroller kernel 15a is corresponding to described control module 4, and the parallel port interface unit 17 that IO peripheral control unit 15b and level translator 16 are formed is corresponding to described application apparatus interface module 5.
The invention has the advantages that:
1, a kind of PROFINET bus interface devices with real-time make the application apparatus developer only need adopt existing, the standard communication mode can be finished easily and quickly and the communicating by letter of PROFINET bus interface devices, and then the access of realization and PROFINET bus.The present invention will provide an IEEE known, that do not relate to the PROFINET underlying protocol for the application apparatus developer, and this can make the application apparatus developer feel is the same with the existing standard bus communication.
2, the described application apparatus interface module in a kind of PROFINET bus interface devices with real-time can carry out according to different application apparatus communication bus (as parallel port, UART, SPI, I2C, PCI) etc. adaptive, to satisfy different application apparatus developers' demand.
3, adopted described data cache module in a kind of PROFINET bus interface devices with real-time, can realize large-scale high-speed data exchange in this way easily, provided safeguard for having the PROFINET communication that real-time requires.The present invention creatively is used for the PROFINET bus interface devices and realizes large-scale high-speed data exchange, to satisfy the demand of PROFINET real-time working pattern.
Description of drawings
Fig. 1 is PROFINET bus architecture schematic diagram.
Fig. 2 is the logic composition frame chart of PROFINET bus interface devices of the present invention.
Fig. 3 is the physics realization block diagram of the PROFINET bus interface devices of the embodiment of the invention 1.
Fig. 4 is the workflow diagram of the PROFINET bus interface devices of preferred embodiment of the present invention.
Fig. 5 is the physics realization block diagram of the PROFINET bus interface devices of the embodiment of the invention 2.
In the accompanying drawing: PROFINET bus interface devices 1,6,12, PROFINET protocol conversion module 2, data cache module 3, control module 4, application apparatus interface module 5, PROFINET bus communication unit 7, PROFINET physical layer interface 7a, PROFINET communication controler 7b, data buffer 8, microcontroller 9, microcontroller kernel 9a, spi bus controller 9b, bus transceiver 10, spi bus interface unit 11, PROFINET bus communication unit 13, PROFINET physical layer interface 13a, PROFINET communication controler 13b, data buffer 14, microcontroller 15, microcontroller kernel 15a, IO peripheral control unit 15b, level translator 16.
Embodiment
A kind of PROFINET bus interface devices with real-time comprises PROFINET protocol conversion module 2, data cache module 3, control module 4 and application apparatus interface module 5, described PROFINET protocol conversion module 2 is connected to the PROFINET bus, described data cache module 3 links to each other with PROFINET protocol conversion module 2, described control module 4 links to each other with data cache module 3, described application apparatus interface module 5 links to each other with described control module 4, and described application apparatus interface module 5 links to each other with application apparatus by the application apparatus communication bus.Signal between described each continuous module is bi-directional.
Described PROFINET protocol conversion module 2 is realized PROFINET physical layer, network data link layer, network layer and transport layer communication protocol, be responsible for extracting initial data from described data cache module 3, the form with the PROFINET protocol massages is sent to the PROFINET bus then; Be responsible for simultaneously receiving protocol massages from the PROFINET bus, store in the described data cache module 3 with the form of initial data.Described data cache module 3 is responsible for the initial data that storage is respectively desired to be forwarded to application apparatus and desired to be forwarded to the PROFINET bus, thereby make described PROFINET bus interface devices 1 reach the requirement of real time communication pattern, for preventing data collision, the initial data of sending to application apparatus and PROFINET bus is positioned over respectively in the different block.Described control module 4 is responsible for obtaining from described data cache module 3 desiring to be forwarded to the initial data of application apparatus and it being transmitted to described application apparatus interface module 5, extract application apparatus from described application apparatus interface module 5 simultaneously and desire to be sent to the initial data of PROFINET bus, and be stored to described data cache module 3.Described application apparatus interface module 5 is responsible for according to the application apparatus communication bus protocol, obtain initial data from application apparatus, send to described control module 4 then, the initial data of also described control module 4 being obtained from the PROFINET bus simultaneously sends on the application apparatus communication bus.
Bus interface devices comprises PROFINET bus communication unit 7, data buffer 8, microcontroller 9 and bus transceiver 10, described PROFINET protocol conversion module is PROFINET bus communication unit, PROFINET bus communication unit comprises PROFINET physical layer interface and PROFINET communication controler, data cache module is data buffer, described control module is the microcontroller kernel, the application apparatus interface module is the spi bus interface unit, and described spi bus interface unit comprises spi bus controller and bus transceiver; Described PROFINET physical layer interface is connected with PROFINET communication controler signal, the PROFINET communication controler is connected with the data buffer signal, the microcontroller kernel is connected with the data buffer signal, the spi bus controller is connected with nuclear signal in the microcontroller, bus transceiver is connected with the spi bus controller signals, application apparatus is connected with the bus transceiver signal by spi bus, and the PROFINET bus is connected with the PROFINET physical layer interface signal.
Bus interface devices comprises PROFINET bus communication unit 13, data buffer 14, microcontroller 15 and level translator 16.Wherein PROFINET bus communication unit 13 comprises PROFINET physical layer interface 13a and PROFINET communication controler 13b physically; Microcontroller 15 comprises microcontroller kernel 15a and IO peripheral control unit 15b physically; Logically, PROFINET bus communication unit 13 is corresponding to described PROFINET protocol conversion module 2, data buffer 14 is corresponding to described data cache module 3, microcontroller kernel 15a is corresponding to described control module 4, and the parallel port interface unit 17 that IO peripheral control unit 15b and level translator 16 are formed is corresponding to described application apparatus interface module 5.
When application apparatus had data will send to the PROFINET node, at first, application apparatus sent data to the application apparatus communication bus according to the application apparatus communication bus protocol.Described application apparatus interface module receives and extracts initial data by agreement then, sends initial data to described control module by internal data, address, control bus.Described control module writes this part initial data in the described data cache module in the self-defining transmission buffering area then.Described PROFINET protocol conversion module is read initial data from the transmission buffering area of described data cache module then, forms the PROFINET protocol massages according to the PROFINET agreement at last and sends on the PROFINET bus.
Conversely, when having data to send to application apparatus on the PROFINET bus, at first receive the PROFINET protocol massages by described PROFINET protocol conversion module from the PROFINET bus, and extract initial data, write in the reception buffering area of described data cache module.Then, described control module is read this part initial data from the reception buffering area of described data cache module, and sends to described application apparatus interface module by internal data, address, control bus.Then, described application apparatus interface module receives the initial data from described control module, and sends data to the application apparatus communication bus according to the application apparatus communication bus protocol.At last, application apparatus receives data and extracts data by the application apparatus communication bus protocol from the application apparatus communication bus.
As shown in Figure 2, for application apparatus being inserted the PROFINET bus, PROFINET bus interface devices 1 should possess following logic function module at least: PROFINET protocol conversion module 2, data cache module 3, control module 4 and application apparatus interface module 5.Wherein, PROFINET protocol conversion module 2 is realized PROFINET physical layer, network data link layer, network layer and transport layer communication protocol, be responsible for extracting initial data from data cache module 3, the form with the PROFINET protocol massages is sent to the PROFINET bus then; Be responsible for simultaneously receiving protocol massages from the PROFINET bus, store in the data cache module 3 with the form of initial data.
Data cache module 3 is responsible for the initial data that storage is respectively desired to be forwarded to application apparatus and desired to be forwarded to the PROFINET bus, and wherein, for preventing data collision, the initial data of sending to application apparatus and PROFINET bus is positioned over respectively in the different block.
Control module 4 is responsible for obtaining from data cache module 3 desiring to be forwarded to the initial data of application apparatus and it being transmitted to application apparatus interface module 5, extract application apparatus from application apparatus interface module 5 simultaneously and desire to be sent to the initial data of PROFINET bus, and be stored to data cache module 3.
Application apparatus interface module 5 is responsible for according to the application apparatus communication bus protocol, obtain initial data from application apparatus, send to control module 4 then, the initial data of also control module 4 being obtained from the PROFINET bus simultaneously sends on the application apparatus communication bus.
Embodiment 1
Fig. 3 shows the physics realization block diagram of the PROFINET bus interface devices 6 of embodiment.Physically, this bus interface devices comprises PROFINET bus communication unit 7, data buffer 8, microcontroller 9 and bus transceiver 10.Wherein PROFINET bus communication unit 7 comprises PROFINET physical layer interface 7a and PROFINET communication controler 7b physically; Microcontroller 9 comprises microcontroller kernel 9a and spi bus controller 9b physically.Logically, PROFINET bus communication unit 7 is corresponding to the described PROFINET protocol conversion module 2 of Fig. 2.Data buffer 8 is corresponding to the described data cache module 3 of Fig. 2.Microcontroller kernel 9a is corresponding to the described control module of Fig. 2.The spi bus interface unit 11 that spi bus controller 9b and bus transceiver 10 are formed is corresponding to the described application apparatus interface module of Fig. 2.Below each unit is described in detail.
PROFINET bus communication unit 7 comprises PROFINET communication controler 7b and PROFINET physical layer interface 7a.Physically, the two can independently also can integrate.In the present embodiment, adopt PROFINET protocol conversion chip ERTEC200, its inside is integrated together communication controler 7b and PROFINET physical layer interface 7a, directly realized comprising the PROFINET physical layer in interior communication protocol, thereby reduce the system development difficulty greatly, shortened the construction cycle.
Data buffer 8 provides the function of data cache module 3 among Fig. 2, and it needs to provide the data storage capacities of two-way read-write.Adopt the dual port RAM of a 8K to realize that it links to each other with microcontroller 9 and PROFINET bus communication unit 7 respectively by the address date control bus in the present embodiment.Adopt this mode can realize large-scale high-speed data exchange easily, for PROFINET real time communication mode provides safeguard.
Microcontroller 9 is core processor, generally includes microcontroller kernel 9a and some peripheral modules.The microcontroller kernel provides the function of control module 4 among Fig. 2, and peripheral module then may provide the partial function of application apparatus interface module 5 among Fig. 2.In the present embodiment, microcontroller 7 is selected the TMS320F2812 chip of TI company for use, and this chip has 128K * 16bit in-chip FLASH and 18K * 16bit on-chip SRAM is deposited, and does not need extender memory and data storage, has reduced component number.This chip is except providing microcontroller kernel 9a, and therefore also integrated spi bus controller 9b can be used in the partial function of realizing device interface module 5 among Fig. 2, has simplified hardware designs, has shortened the construction cycle.
Bus transceiver 10 is used for finishing the physical layer interface of spi bus controller 9b and spi bus.Bus transceiver 10 provides the function of application apparatus interface module among Fig. 2 jointly with spi bus controller 9b.These two parts can be independently physically, also can integrate.In the present embodiment, the two is independently, and the spi bus controller is positioned at the inside of microcontroller 9, and bus transceiver then adopts independently isolates bus transceiver ADuM1401 realization.
Fig. 4 shows the workflow diagram of the PROFINET bus interface devices 1 of embodiment.
When application apparatus had data will send to the PROFINET node, at first, application apparatus sent data to the application apparatus communication bus according to application apparatus communication bus protocol (being the SPI agreement among the embodiment).Application apparatus interface module (being 9b and 10 among the embodiment) receives and extracts initial data by agreement then, sends initial data to control module (being 9a among the embodiment) by internal data, address, control bus.Control module writes this part initial data in the data cache module (being 8 among the embodiment) in the self-defining transmission buffering area then.PROFINET protocol conversion module (being 7 among the embodiment) is read initial data from the transmission buffering area of data cache module then, forms the PROFINET protocol massages according to the PROFINET agreement at last and sends on the PROFINET bus.
Conversely, when having data to send to application apparatus on the PROFINET bus, at first receive the PROFINET protocol massages by PROFINET protocol conversion module (being 7 among the embodiment) from the PROFINET bus, and the extraction initial data, write in the reception buffering area of data cache module (being 8 among the embodiment).Then, control module (being 9a among the embodiment) is read this part initial data from the reception buffering area of data cache module, and sends to application apparatus interface module (being 9b and 10 among the embodiment) by internal data, address, control bus.Then, the application apparatus interface module receives the initial data from control module, and sends data to the application apparatus communication bus according to the application apparatus communication bus protocol.At last, application apparatus receives data and extracts data by application apparatus communication bus protocol (being the SPI agreement among the embodiment) from the application apparatus communication bus.
Embodiment 2
Fig. 5 shows the physics realization block diagram of the PROFINET bus interface devices 12 of embodiment variant.Physically, this bus interface devices comprises PROFINET bus communication unit 13, data buffer 14, microcontroller 15 and level translator 16.Wherein PROFINET bus communication unit 13 comprises PROFINET physical layer interface 13a and PROFINET communication controler 13b physically; Microcontroller 15 comprises microcontroller kernel 15a and IO peripheral control unit 15b physically.Logically, PROFINET bus communication unit 13 is corresponding to the described PROFINET protocol conversion module 2 of Fig. 2.Data buffer 14 is corresponding to the described data cache module 3 of Fig. 2.Microcontroller kernel 15a is corresponding to the described control module of Fig. 2.The parallel port interface unit 17 that IO peripheral control unit 15b and level translator 16 are formed is corresponding to the described application apparatus interface module of Fig. 2.Below each unit is described in detail.
PROFINET bus communication unit 13 comprises PROFINET communication controler 13b and PROFINET physical layer interface 13a.Physically, the two can independently also can integrate.In the present embodiment, adopt PROFINET protocol conversion chip ERTEC200, its inside is integrated together communication controler 13b and PROFINET physical layer interface 13a, directly realized comprising the PROFINET physical layer in interior communication protocol, thereby reduce the system development difficulty greatly, shortened the construction cycle.
Data buffer 14 provides the function of data cache module 3 among Fig. 2, and it needs to provide the data storage capacities of two-way read-write.Adopt the dual port RAM of a 4K to realize that it links to each other with microcontroller 15 and PROFINET bus communication unit 13 respectively by the address date control bus in the present embodiment.Adopt this mode can realize large-scale high-speed data exchange easily, for PROFINET real time communication mode provides safeguard.
Microcontroller 15 is core processor, generally includes microcontroller kernel 15a and some peripheral modules.The microcontroller kernel provides the function of control module 4 among Fig. 2, and peripheral module then may provide the partial function of application apparatus interface module 5 among Fig. 2.In the present embodiment, microcontroller 7 is selected the TMS320F28335 chip of TI company for use, and this chip has 256K * 16bit in-chip FLASH and 34K * 16bit on-chip SRAM is deposited, and does not need extender memory and data storage, has reduced component number.This chip is except providing microcontroller kernel 15a, and therefore also integrated IO peripheral control unit 15b can be used in the partial function of realizing device interface module 5 among Fig. 2.
Level translator 16 is used for finishing the physical layer interface of IO peripheral control unit 15b and 5V parallel port bus.Level translator 16 provides the function of application apparatus interface module among Fig. 2 jointly with IO peripheral control unit 15b.These two parts can be independently physically, also can integrate.In the present embodiment, the two is independently, and the IO peripheral control unit is positioned at the inside of microcontroller 15, and level translator 16 then adopts independently SN74ALVC164245 realization, realizes the mutual conversion of 3.3V and 5V level.The workflow of embodiment 2 is provided by Fig. 4, repeats no more.
In this application, the application apparatus communication bus can have various ways, as the bus of existing standard such as parallel port bus, SPI bus, UART bus, I2C bus.

Claims (8)

1. PROFINET bus interface devices with real-time, it is characterized in that: comprise PROFINET protocol conversion module (2), data cache module (3), control module (4) and application apparatus interface module (5), described PROFINET protocol conversion module (2) is connected to the PROFINET bus, described data cache module (3) links to each other with PROFINET protocol conversion module (2), described control module (4) links to each other with data cache module (3), described application apparatus interface module (5) links to each other with described control module (4), and described application apparatus interface module (5) links to each other with application apparatus by the application apparatus communication bus.
2. a kind of PROFINET bus interface devices with real-time according to claim 1, it is characterized in that: the signal between described each continuous module is bi-directional.
3. according to the described a kind of PROFINET bus interface devices with real-time of claim 2, it is characterized in that: described PROFINET protocol conversion module (2) is realized PROFINET physical layer, network data link layer, network layer and transport layer communication protocol, be responsible for extracting initial data from described data cache module (3), the form with the PROFINET protocol massages is sent to the PROFINET bus then; Be responsible for simultaneously receiving protocol massages from the PROFINET bus, store in the described data cache module (3) with the form of initial data.
4. according to the described a kind of PROFINET bus interface devices with real-time of claim 2, it is characterized in that: described data cache module (3) is responsible for the initial data that storage is respectively desired to be forwarded to application apparatus and desired to be forwarded to the PROFINET bus, thereby make described PROFINET bus interface devices (1) reach the requirement of real time communication pattern, for preventing data collision, the initial data of sending to application apparatus and PROFINET bus is positioned over respectively in the different block.
5. according to the described a kind of PROFINET bus interface devices with real-time of claim 2, it is characterized in that: described control module (4) is responsible for obtaining from described data cache module (3) desiring to be forwarded to the initial data of application apparatus and it being transmitted to described application apparatus interface module (5), extract the initial data that application apparatus desires to be sent to the PROFINET bus from described application apparatus interface module (5) simultaneously, and be stored to described data cache module (3).
6. according to the described a kind of PROFINET bus interface devices with real-time of claim 2, it is characterized in that: described application apparatus interface module (5) is responsible for according to the application apparatus communication bus protocol, obtain initial data from application apparatus, send to described control module (4) then, the initial data of also described control module (4) being obtained from the PROFINET bus simultaneously sends on the application apparatus communication bus.
7. according to any described a kind of PROFINET bus interface devices with real-time of claim 1-6, it is characterized in that: bus interface devices (6) comprises PROFINET bus communication unit (7), data buffer (8), microcontroller (9) and bus transceiver (10), described PROFINET protocol conversion module (2) is PROFINET bus communication unit (7), PROFINET bus communication unit (7) comprises PROFINET physical layer interface (7a) and PROFINET communication controler (7b), data cache module (3) is data buffer (8), described control module (4) is microcontroller kernel (9a), application apparatus interface module (5) is spi bus interface unit (11), and described spi bus interface unit (11) comprises spi bus controller (9b) and bus transceiver (10); Described PROFINET physical layer interface (7a) is connected with PROFINET communication controler (7b) signal, PROFINET communication controler (7b) is connected with data buffer (8) signal, microcontroller kernel (9a) is connected with data buffer (8) signal, spi bus controller (9b) is connected with microcontroller kernel (9a) signal, bus transceiver (10) is connected with spi bus controller (9b) signal, application apparatus is connected with bus transceiver (10) signal by spi bus, and the PROFINET bus is connected with PROFINET physical layer interface (7a) signal.
8. according to any described a kind of PROFINET bus interface devices with real-time of claim 1-6, it is characterized in that: bus interface devices (12) comprises PROFINET bus communication unit (13), data buffer (14), microcontroller (15) and level translator (16); Wherein PROFINET bus communication unit (13) comprise PROFINET physical layer interface (13a) and PROFINET communication controler (13b) physically; Microcontroller (15) comprises microcontroller kernel (15a) and IO peripheral control unit (15b) physically; Logically, PROFINET bus communication unit (13) is corresponding to described PROFINET protocol conversion module (2), data buffer (14) is corresponding to described data cache module (3), microcontroller kernel (15a) is corresponding to described control module (4), and the parallel port interface unit (17) that IO peripheral control unit (15b) and level translator (16) are formed is corresponding to described application apparatus interface module (5).
CN201310144445.2A 2013-04-24 2013-04-24 A kind of PROFINET bus interface devices with real-time Active CN103237091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310144445.2A CN103237091B (en) 2013-04-24 2013-04-24 A kind of PROFINET bus interface devices with real-time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310144445.2A CN103237091B (en) 2013-04-24 2013-04-24 A kind of PROFINET bus interface devices with real-time

Publications (2)

Publication Number Publication Date
CN103237091A true CN103237091A (en) 2013-08-07
CN103237091B CN103237091B (en) 2016-04-06

Family

ID=48885107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310144445.2A Active CN103237091B (en) 2013-04-24 2013-04-24 A kind of PROFINET bus interface devices with real-time

Country Status (1)

Country Link
CN (1) CN103237091B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201122242Y (en) * 2007-11-30 2008-09-24 徐清泉 Control device of filament cutter for tobacco
WO2012007128A1 (en) * 2010-07-14 2012-01-19 Phoenix Contact Gmbh & Co. Kg Communication system and method for isochronous data transmission in real time
CN102684907A (en) * 2011-02-17 2012-09-19 菲尼克斯电气公司 Port-independent topological planned real-time network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201122242Y (en) * 2007-11-30 2008-09-24 徐清泉 Control device of filament cutter for tobacco
WO2012007128A1 (en) * 2010-07-14 2012-01-19 Phoenix Contact Gmbh & Co. Kg Communication system and method for isochronous data transmission in real time
CN102684907A (en) * 2011-02-17 2012-09-19 菲尼克斯电气公司 Port-independent topological planned real-time network

Also Published As

Publication number Publication date
CN103237091B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN1307570C (en) Method and apparatus forcontrolling flow of data between data processing systems via a memory
CN100498806C (en) Device and method for outputting signal of emulation infrared detector
CN101013315A (en) General numerical control system based on full digital ring bus
CN105955179B (en) A kind of Integral small-sized PLC and its automatic identifying method for extending I/O module
CN104750437B (en) A kind of expansible spaceborne mass-storage system of capacity
CN105978778A (en) Ethernet and serial port/CAN protocol conversion device based on STM32
CN109308030A (en) A kind of servo drive control system based on EtherCAT bus
CN101013312A (en) Private chip for implementing bus controller function in ring bus numerical control system
CN102231718A (en) Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof
CN102291337B (en) Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof
CN109347884A (en) A kind of real-time ethernet is to the conversion method and device of fieldbus, storage medium
CN201435738Y (en) PROFIBUS-DP and CAN field bus protocol converter
CN103218337A (en) SoC (System on Chip) and method for realizing communication between master modules and between slave modules based on wishbone bus
CN111736115A (en) MIMO millimeter wave radar high-speed transmission method based on improved SGDMA + PCIE
CN101013314A (en) Integrated numerical control system based on full digital ring bus
CN107315706A (en) A kind of modularization PLC spread communication systems and communication means
CN102263709A (en) Gateway for realizing communication transformation between EtherCAT (Ethernet for control and automation technology) and RS485 and communication method thereof
CN104238517A (en) PROFIBUS-DPV1 main communication station and method
CN108833241A (en) A kind of design method of master/slave station card that realizing the communication of Powerlink industry real-time ethernet
Zhang et al. Development for protocol conversion gateway of PROFIBUS and Modbus
CN203522805U (en) PROFINET bus interface device of real-time performance
CN103237091B (en) A kind of PROFINET bus interface devices with real-time
CN102760105B (en) Realize the system and method for the communication of local principal and subordinate's intermodule
CN105607527A (en) KNX-BACnet/IP protocol conversion gateway based on Cortex-M processor
CN104901857A (en) Bus analyzer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180423

Address after: 610000, No. 18, West core road, hi tech West District, Sichuan, Chengdu

Patentee after: Dongfang Electric Co., Ltd.

Address before: Jinniu District Chengdu City, Sichuan province 610036 Shu Road No. 333

Patentee before: Dongfang Electric Corporation