国产成人永久免费视频_一区二区三区四区高清精品免费观看_成人午夜视频免费观看_在线电影一区二区三区_国产成人a人亚洲精品无码_欧美日韩在线观看一区_国产精品美女久久久久久_免费av手机在线观看_国产欧美日韩精品一区_国产精品日韩一区二区免费视频_亚洲一区精彩视频_youjizz在线视频

CAN-bus interconnects Gateway Design and Implementation

Abstract: This paper systematically studies the CAN bus and Ethernet interconnection technical points, the first analysis of interconnect technology in the realization of the difficulties encountered in the process - protocol conversion. Then a CAN bus and Ethernet system interconnect design and detail of its system software and hardware realization. In order to improve system performance, high-speed micro Kong Zhiqi SX52 to design embedded transparent gateway, detailed description Leyong SX52 in the TCP / IP protocol stack implementation approach to the Wangluo SX52 strong agreement Chulinengli ensure 了 overall system performance upgrade.

1 Introduction

Technology and social development, to the late 20th century globalization, competition became intense. Competition have gradually implemented computer integrated manufacturing system, with system integration, information integration perspective to organize industrial production. In this system, intelligent field devices for the realization of multi-point digital communications, computer and control technology and computer networks closer together, resulting in a live environment in industrial operation, reliable performance, low cost field bus (FieldBus) technology.

Fieldbus is a manufacturing site for the lowest communication network, which implements a computer-based on-site survey control equipment or equipment, two-way serial multi-node digital communications. Fieldbus technology is the key to automatic control systems and field devices with communication capabilities, to connect them into a network system, on-site communication network and control system integration. As the network system, which is open unified communications protocol. CAN bus, field bus technology is formed in the industrial application of a mature technical standards. It's an agreement based on ISO / OSI model basis, but only the bottom of the model using the physical layer, data link layer and the top of the application layer. Automation systems in large enterprises, the upper layer of corporate management and production monitoring are commonly used Ethernet and PC, while the lower plant site are based on field bus and SCM monitoring equipment. Upper and lower levels of communication, usually in industrial control machine plus Ethernet card, plus slots on the PC-interface card or EPP parallel port printer interface card to achieve. This connection the high cost, long development cycle. In view of this situation, we design a separate CAN Ethernet gateway interconnection system, successfully Ethernet and CAN bus network of existing direct data association.

2 System Design

CAN bus is a bus-based control network interconnect devices. In the CAN bus devices can be mounted up to 110 nodes, the devices will be free to communicate with each other to achieve complex network control system. But the device information layer can not directly reach the information management, in order to enter the information management device information through a data gateway should.

Here we designed a SX52 gateway for CAN and Ethernet interconnect. Overall system is divided into three parts: on-site monitoring network (CAN network), embedded transparent SX52 gateway, Ethernet information management terminal (such as monitoring platform and network databases, etc.). Ethernet information management terminal and the CAN bus CAN node through the ETHERNET, SX52 gateway, CANBUS communicate with each other, which played a central SX52 gateway interconnection of heterogeneous network effects.

Heterogeneous network interconnection protocol conversion is the key technical and difficult conversion layer protocol conversion method can be used generally, since the low-up step by step. Mostly currently interconnect layer or network layer in the Internet started to be made to the following layers on the interconnect layer up layer by layer protocol conversion, this conversion method is based on the basic principles of layered protocol: the low-level support for high-level, high-level call low-rise, low-level disconnect after the high-level connections also will disconnect, but it will not affect the high-level low-level disconnect. From the network's hierarchical structure, we design the interconnection system has a hierarchical structure as shown in Figure 1. Ethernet running TCP / IP protocol, it has the application layer, transport layer, network layer, Ethernet data link layer and physical layer; CAN bus with the application layer, data link layer and physical layer, including the application layer by the user own definition, data link layer and physical layer defined by the CAN protocol; SX52 Data Gateway has the physical layer, data link layer and application layer, the application layer is the information ETHERNET and CAN data exchange layer, SX52 microcontroller In this layer with each other to explain and transmit data from the two different protocols.

CAN-bus interconnects Gateway Design and Implementation

Figure 1 CAN bus and Ethernet interconnection network hierarchy

In this design, SX52 Gateway is designed to become a transparent data gateway, that is, build and resolve the Ethernet application layer protocol data packet complete CAN, CAN protocol data packets as TCP / IP network application layer data transmission, its practical significance of specific data communication without any explanation. Gateway designed the reason why the transparent type, is based on three considerations: 1) Transparent Gateway for relatively simple non-transparent gateway, the hardware need not expand the large capacity of data cache memory for communication data; software need not consider the data aggregation and distribution of processing, reduced programming complexity, improve speed and real-time communication. 2) Transparent Gateway adaptability, it can be applied to different project requirements, and non-transparent gateway to the gateway according to different requirements will have to make different changes to procedures. 3) because the protocol converter designed to be simple, not more complex processing, thus enhancing the reliability of communication.
CAN-bus network, the maximum transmission rate for the 1Mpbs, while Ethernet is now generally 10Mbps. Here to consider the issue of speed matching between the two, where you can solve this problem from two aspects: First, the gateway to use larger RAM, used as a communication data buffer, to improve the efficiency of network transmission. Second, limited to the CAN bus, Ethernet data transmission, it is less than CAN bus communication speed.

3 CAN protocol analysis

CAN is to comply with OSI model, in accordance with the OSI reference model, CAN structure is divided into two layers: data link layer and physical layer. In accordance with standard IEEE802.2 and 802.3, the data link layer in turn divided into:

- Logical Link Control (LLC)

- Media Access Control (MAC)

Also the physical layer is divided into:

- Physical Signaling (PLS)

- The physical media attachment (PMA)

- Media related interface (MDI)

MAC sub-layer run with called "failure to define entity (FCE)" to monitor the management entity. Failure to define is to determine short-term disturbances and a possible permanent fault self-test mechanism. With the physical layer fault detection and management entity to monitor the physical media (such as short circuit or interruption of the bus, the bus fault management). LLC and MAC agreement the two entities through the exchange of the same frame or protocol data unit (PDU-Protocol Data Unit) communicate with each other.

LLC sub-layer provides features include: frame reception filtering, overload notice and recovery management. Among them, circular function overloading is that if the internal conditions of the receiver to delay the next LLC frame or remote frame LLC, the LLC sublayer by overloading the frame starts to send up to produce two overload frames to delay the next data frame or remote frame.

The OSI seven layer network model in accordance with terms, CAN bus network to complete the bottom two layers of protocol of Gong Zuo, namely the physical layer and data link layer, Ta Men You CAN Kong Zhiqi the hardware implementation level shifting frame of the package. In practice, also need to build their own upper layer protocol. Here a simple and practical design of the "command key + data item" Structure


CAN-bus interconnects Gateway Design and Implementation

Application layer frame structure of Figure 2

Taking into account the general features of industrial control small, so the length of the command key is set to 1BYTE (256 can be described by an order). Set of data in the data item in the light of the length of CAN bus is a short frame transmission (data frames, each frame of data only 8BYTE), some data parameters required by the orders may be greater than 7BYTE, while the data is likely to have greater returns So, here set the length of one byte of data items to user-defined data frame length can reach 256 bytes.

4 SX52's TCP / IP protocol stack design

ARP protocol can achieve the logical addresses to physical addresses of the dynamic mapping. Ethernet interfaces support a unique 48-bit physical address. In the SX52, ARP protocol is through a "IP address of the Ethernet address corresponding to" single-core to achieve registration. When the remote host needs to know its physical address, the remote host will send the ARP request to it, then it will respond to the remote host's request, to tell each other their physical address. When the application layer need to transfer IP packets, SX52 ARP protocol can also request the physical address of the remote purposes.

Internet data packets to transfer data packets in the Ethernet controller to send buffer is built, it uses the recently received packet to send the purpose of the Ethernet address as the packet destination address. Of course, this may not be correct Ethernet address, therefore, before the actual sending data packets, ARP protocol to send data packet will check the IP address is present in the nuclear ARP, if sending data packets in the IP address in the nuclear , in the send buffer in the Ethernet packet will use the Ethernet address of nuclear ARP update, if not, then the ARP protocol to send an ARP request packet, then wait for a response. Once the ARP response is received, the ARP will use just received nuclear target Ethernet address update, then wait to send the packet will also be updated to use the Ethernet address, and then be sent. If the ARP request packets sent without response, leading to ARP timer time-out, which is waiting to send the packet will be discarded, the normal protocol stack to run.

IP protocol is TCP / IP protocol suite lies at the core of the agreement. All of the TCP, UDP, ICMP and IGMP for IP packet data format for transmission. IP provides unreliable, connectionless datagram delivery service, can not guarantee success of IP packets arrive at their destinations. If some error occurs, such as a router temporarily run out of buffer, IP has a simple error handling algorithm: discard the datagram and then send ICMP messages reported to the source side. The reliability of any request must be provided from the top. Connectionless IP does not maintain any mean follow-up data reported on the status information, the processing of each packet is independent of each other. This also shows that, IP datagrams may not be received by sending the order. In this design, IP protocol is for the specific application environment of a reasonable simplification. CAN bus control network is a short frame, real-time network, so, IP data packet without fragmentation (MF = DF = 0), at the same time, set the IP type of service for the general type, the head length of 20 bytes, the first minister of degree field is 5, the life TTL set to 64.

TCP application layer to provide a connection-oriented, reliable byte stream service. In the face of industrial control applications, the TCP protocol can be complex to do a reasonable simplification, because the CAN network transmission speed, data volume is small and l0Mpbs Ethernet transmission does not occur normally blocked, Ethernet host will have sufficient capacity to timely processing of communications data. So can a fixed time-out and retransmission time for 5s, RTL8019AS also has two 1500-byte receive buffer, and the CAN network to control the network, the amount of information is small, it can be fixed to accept the window to 1400 bytes. Design services used to meet general TCP applications, it can be ignored and the options and fill urgent pointer field value. Simplified by the above three points, in fact greatly simplifies the implementation of TCP protocol, because TCP retransmission timeout and the time to identify and control the window size has a more complex algorithms and implementation mechanism.

5 Innovations Summary

This innovation is the traditional industrial control automation field bus connection costs are high, development of a long cycle of inadequate offices, design a separate CAN-Ethernet gateway interconnect systems, has successfully achieved the existing Ethernet and CAN the direct data bus interconnection network. Fieldbus via the Internet, corporate intranet connected to automatic control systems and field devices into enterprise integrated automation and information systems as an integral part. System in the open, interoperable, intelligent field devices, system structure, on-site environmental adaptability performance are greatly improved, the successful realization of the two heterogeneous network data communications.

Declined comment

午夜剧场在线免费观看| 成人免费淫片视频软件| 欧美日韩在线精品一区二区三区激情| 国产激情一区二区三区四区| 97久久久久久久| 台湾佬美性中文| 国产性生交xxxxx免费| 亚洲蜜桃av| 97超级碰碰| 人九九综合九九宗合| 在线观看国产精品日韩av| 欧美一级专区免费大片| 色综合天天视频在线观看| 精品一区二区三区视频在线观看 | 一本一道精品欧美中文字幕| 黄色在线免费观看| 伊人手机在线视频| 伊人网中文字幕| 男女视频在线看| 97超碰人人澡| 亚洲熟妇av一区二区三区漫画| 国产精品高潮呻吟久久av黑人| 日韩中文在线不卡| 美女福利视频一区| 欧美日韩国产麻豆| 欧美性极品少妇精品网站| 一区二区三区高清| 95精品视频在线| 国产精品自拍一区| av福利精品导航| 国产欧美视频一区二区三区| 人妻无码中文字幕| 在线视频 91| 日韩手机在线观看| 亚洲欧美精品aaaaaa片| 精品无码av一区二区三区| 精品无码一区二区三区 | 精品亚洲夜色av98在线观看| 在线播放日韩av| 久久久亚洲成人| 国内精品一区二区三区| 精品国偷自产在线| 国产激情综合五月久久| 少妇激情综合网| 亚洲精品乱码久久久久久金桔影视 | 国产精品久久中文字幕| 午夜在线观看av| 国产精品久久久久无码av色戒| 日韩高清人体午夜| 日韩国产一区久久| 好看的日韩精品视频在线| 日韩在线免费高清视频| 欧美色图在线观看| www.日韩不卡电影av| 亚洲一级在线观看| 在线免费观看日韩欧美| 久久成人这里只有精品| 超碰97在线人人| av天堂永久资源网| 欧美美女黄色网| 五月婷婷一区| 一本久道综合色婷婷五月| 欧美视频一区二区在线| 国产情侣一区二区| 日韩av成人高清| 91官网在线免费观看| 一区二区在线视频| 色视频一区二区三区| 成人性生活免费看| 视频在线观看91| 欧美午夜一区二区| 粉嫩精品一区二区三区在线观看| 一级做a爱视频| 欧美视频一二区| 91成人看片片| 国产精品国产精品国产专区蜜臀ah | 国产成人高清在线| 91麻豆精品91久久久久久清纯| 国产精品一区电影| fc2成人免费视频| 精品一区二区在线观看| 欧美日韩激情美女| 久久国产精品免费一区| 男女做暖暖视频| 91免费看片在线观看| 中文字幕国产精品| 欧美黄网站在线观看| 日本xxxx人| 亚洲国产中文字幕在线观看| 一本色道久久99精品综合| 免费看的黄色网| 国产精品久久久久久亚洲毛片| 欧美精品videossex88| 超碰成人在线播放| 国产成人久久精品77777最新版本| 97精品一区二区三区| 亚洲第一导航| 国产视频一区二区三| 亚洲精品福利在线| 欧美视频在线播放一区| 日本不卡高清视频| 国内成人精品视频| 久久久久久久久久久久久久久国产| 美国一区二区三区在线播放 | 中文字幕综合在线观看| 在线视频免费观看一区| 在线播放国产精品二区一二区四区 | 午夜啪啪小视频| 热久久国产精品| 久久久久久久电影一区| 又黄又爽的网站| 亚洲欧美日韩在线| 亚洲综合第一| 国产精品一区二区在线播放| 日产日韩在线亚洲欧美| 欧美在线观看不卡| 在线播放一区二区三区| 肉大捧一出免费观看网站在线播放| www.色亚洲| 久久视频在线免费观看| 国产美女视频免费看| 粉嫩蜜臀av国产精品网站| 色老头一区二区三区在线观看| 国内外成人免费在线视频| 国产不卡视频一区| 国产日韩欧美91| 欧产日产国产69| 91精品国产色综合久久不卡蜜臀 | 99久久自偷自偷国产精品不卡| 国产又粗又硬又长又爽| 国产精品一区免费在线观看| 成人精品久久av网站| 国产精品-色哟哟| 欧美专区第一页| 国产哺乳奶水91在线播放| 韩国三级电影久久久久久| 青娱乐av在线| 在线视频欧美日韩精品| 欧美老女人bb| 亚洲国产精品嫩草影院久久| 黄色录像a级片| 日韩精品成人一区二区三区| 奇门遁甲1982国语版免费观看高清 | www.色亚洲| 亚洲3p在线观看| 亚洲手机在线观看| 亚洲精品一区二区在线| 亚洲一区 欧美| 欧美激情视频一区二区三区不卡| www.激情五月| 1024成人网色www| 精品91免费| 久久综合图片| 99久久久精品免费观看国产| 日本黄色中文字幕| 国产精品免费在线| 国产高清亚洲一区| 国产精品入口免费软件| 欧美一区二区免费| 日韩成人av毛片| 久久久久久久久久久免费精品| 久久精品无码一区| 亚洲国产精品久久人人爱蜜臀| 热re99久久精品国99热蜜月| 成人午夜电影网站| 最新中文字幕久久| 亚洲情趣在线观看| 国产a级黄色片| 国产午夜精品全部视频播放| 国产精品111| www.97av.com| 日韩精品一区二区三区视频播放 | 国产探花视频在线播放| 91精品国产入口| 黄色一级视频在线观看| 欧美在线欧美在线| 日本不卡一区二区三区| 国产96在线 | 亚洲| 欧美日韩精品在线视频| av大全在线观看| 久热精品在线视频| 国产精品视频一区在线观看| 日韩成人在线视频观看| 国产情侣免费视频| 亚洲人成77777| 日本久久精品电影| 久久亚洲国产成人精品性色| 国产日韩在线看| 夜夜嗨av一区二区三区| 性猛交ⅹxxx富婆video| 国产精品免费一区豆花| 亚洲高清av一区二区三区| 国产日韩欧美综合在线| 尤物网站在线看| 久久精品99久久香蕉国产色戒| 手机看片1024日韩| 久久久久久久久久久99| 亚洲色图第三页| 国产精品一区二区x88av| 超碰在线免费av| 57pao成人国产永久免费| 久久久综合激的五月天| 精品91久久久| 91精品视频网站| 亚洲国产日韩一区二区| 国模一区二区三区白浆 | 九九九久久久久久| 中文字幕在线精品| 手机成人av在线| 日韩精品在线播放视频| 91导航在线观看| 在线 丝袜 欧美 日韩 制服| 色男人天堂av| 国产精品久久中文字幕| 超薄肉色丝袜足j调教99| 欧美精品第1页| 亚洲精品在线电影| 欧美日韩一区二区在线观看| 丰满人妻妇伦又伦精品国产| 国产精品探花一区二区在线观看| 免费日韩av电影| 欧美成人免费全部| 91精品国产乱| 欧美高清一级片在线观看| 在线观看国产精品视频| 久久精品影视大全| 麻豆av免费在线| 亚洲三级在线观看视频| 精品人妻一区二区三区四区| 久久免费看少妇高潮v片特黄| 黄色a级片免费| 国产精品扒开腿做爽爽爽a片唱戏| 国产精品亚洲网站| 欧美久久久久久久久| 久久99精品久久久久婷婷| 粉嫩av蜜桃av蜜臀av| 色综合久久久久久久久五月| 欧美大尺度激情区在线播放| 午夜国产不卡在线观看视频| 老色鬼久久亚洲一区二区| 日本人亚洲人jjzzjjz| 香蕉视频在线网址| 成人综合国产精品| 亚洲天堂久久av| 精品久久在线播放| 本田岬高潮一区二区三区| 四虎成人在线观看| 在线小视频你懂的| 蜜桃福利午夜精品一区| 欧美精品欧美精品系列c| 欧美资源在线观看| 精品久久人人做人人爱| 精品少妇一区二区三区免费观看| 成人小视频在线观看| 久久草av在线| 天堂v在线观看| 亚洲精品成人无码| 手机看片福利永久国产日韩| 日韩性xxxx爱| 中文字幕亚洲二区| 久久亚洲欧美日韩精品专区| 久久久久日韩精品久久久男男| jizz18女人| 伊是香蕉大人久久| 五月天av影院| 妖精视频在线观看免费| 17c丨国产丨精品视频| 91九色视频在线| 久久视频这里只有精品| 91久久国产自产拍夜夜嗨| 亚洲精品无amm毛片| 九九视频免费看| 亚洲自拍偷拍一区二区 | 欧洲精品视频在线| 亚洲自拍中文字幕| 成人免费视频97| 91精品国产色综合| 久久男人的天堂| 欧美国产精品va在线观看| 日韩在线视频一区| 国产视频精品xxxx| 日韩美女av在线| 亚洲人成在线一二| 久久黄色av网站| 精品自拍视频在线观看| 国产热re99久久6国产精品| 中文字幕成人在线| 午夜精品理论片| 91香蕉电影院| 成人国产在线视频| 亚洲一级免费视频| 国产视频精品久久久| 在线观看欧美日韩| 国产精品福利观看| 一本一本久久a久久精品综合妖精| 精品一区二区三区自拍图片区 | 僵尸世界大战2 在线播放| 日本高清视频在线| 欧美日韩一区二区免费在线观看| 亚洲欧洲三级电影| 中文字幕在线不卡一区| 亚洲欧美视频一区| 色狠狠综合天天综合综合| 欧美在线一二三| 国产丝袜一区二区三区免费视频| 亚洲欧美激情在线视频| 久久夜色精品亚洲噜噜国产mv| 久久久99免费视频| 欧美尤物巨大精品爽| 91传媒视频在线观看| 日韩精品一区二区三区丰满| 成人国产在线看| 初高中福利视频网站| 午夜国产福利视频| 五月天婷婷导航| 久久亚洲欧洲| 中文字幕欧美日韩一区| 欧美在线三级电影| 久久亚洲精品中文字幕冲田杏梨| 国产精品中文字幕在线观看| 中文字幕久久一区| 日本伦理一区二区三区| 一级片在线免费播放| 成人av资源在线| 亚洲精品国产拍免费91在线| 成人精品久久av网站| www.久久艹| 亚洲欧美精品| 麻豆短视频在线观看| 青青草av在线播放| 9i在线看片成人免费| 国产精品久久久久77777| 国产97在线观看| 亚洲第一大网站| 色中文字幕在线观看| 四虎永久在线精品无码视频| 成人一级黄色大片| 日韩av不卡在线观看| 综合久久一区二区三区| 日韩电影免费在线观看中文字幕| 97av在线视频| 日韩伦理在线免费观看| 毛片视频免费播放| 蜜桃视频一区二区| 欧美亚洲综合色| 国产精品久久久久久免费观看 | 亚洲精品一区二区三区不卡| 久久久国际精品| 亚洲欧美www| 亚洲精品高清国产一线久久| www.色天使| 久久se精品一区精品二区| 欧美日韩二区三区| 18成人免费观看网站下载| 黄色三级视频在线播放| 激情综合色播五月| 欧美区在线观看| 日本黄网免费一区二区精品| 波多野结衣影片| 一区二区三区四区精品在线视频| 日韩二区三区在线| 99免费在线观看视频| 佐佐木明希电影| 午夜在线观看视频18| 欧美成人免费大片| 欧美风情第一页| 久久久久久午夜| 亚洲一区久久久| 最新日韩在线视频| 欧美特黄一区二区三区| 亚洲成色777777女色窝| 一级黄色a视频| 国产综合欧美在线看| 成年人av网站| 欧美日韩免费看| 久久久一本精品99久久精品66| 永久久久久久久| 亚洲国产欧美在线人成| 亚洲在线视频福利| 国产精品30p| 色呦呦日韩精品| 水蜜桃一区二区三区| 99re这里只有精品在线| 欧美日韩免费视频| 亚洲精品蜜桃久久久久久| 久久精品日产第一区二区| 亚洲欧美在线第一页| 一区二区三区韩国| 国产一区二区久久| 欧美一级大片视频| 国产大片免费看| 在线亚洲免费视频| 日韩精品在线中文字幕| 天天综合网在线| 97视频在线观看视频免费视频 | 午夜免费视频网站| 亚洲电影中文字幕在线观看| 日韩av片在线看| 日本sm残虐另类| 日韩在线视频国产| 亚洲第一天堂久久| 91在线观看免费视频| 亚洲一区二区自拍| 国产毛片在线视频| 青青视频免费在线| 制服丝袜亚洲播放| 亚洲a∨一区二区三区| 欧美性20hd另类| 色综合久久久久久| 欧美成人短视频|