91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫

Self-healing fiber optic network of CAN bus

Abstract: This paper describes optical characteristics of a single CAN network and the lack of work. CAN network to improve the survivability of optical fiber, optical fiber CAN bus design self-healing network. Plastic manner (POF) for the transmission medium, with a wavelength of 650nm red laser optical transceiver device of an optical / electrical conversion. Analysis of the CAN network data frame structure, it presents an interface circuit based on CPLD realization of self-healing methods. Vehicle CAN bus through the formation of self-healing fiber optic network that the network not only has the self-healing function, but also to eliminate fiber optic ring network CAN obstruction.

CAN bus is a German company Bosch 80 in the early 20th century to solve the vehicle developed a number of data exchange a serial data communication protocol. Because of its excellent properties, CAN bus become recognized some of the most promising one field bus. CAN bus transmission medium can be twisted pair, fiber optic and coaxial cable. Twisted-pair CAN bus has now been widely used, the technology has matured. Twisted-pair CAN network technology in the easy, low cost, and electromagnetic radiation on the environment have a certain immunity. But when the work environment particularly complex, its anti-interference ability is not very satisfactory. If electric vehicles on site, the situation is more complex, car electrical system will produce strong electromagnetic interference, will lead to twisted-pair CAN networks can not function properly. Compared with the twisted pair and coaxial cable, fiber superior performance - a strong anti-EMI ability to attract attention. To further enhance the performance of CAN networks should be used to make optical fiber transmission medium. As the vehicle local area network transmission distance is short, while optical CAN network in order to reduce the cost of car may make use of plastic optical fiber (POF) as a transmission medium. Plastic optical fiber transmission in high-speed short-distance communication in low cost, easy connection to bypass good, light weight, so networking and low cost. Germany's BMW in March 2002 listing of the most advanced new car "BMW7 series''used to build the car at 50m POF LAN.

CAN network of optical fiber as a low-level control of industrial local area network, its topology and used the same local area network, the basic topological structure of the bus-shaped, circular and halo shape. Single-loop fiber-optic network in the CAN, because of the delay devices will lead to loop the signal from the shock, so that ring CAN network congestion (or locked). CAN bus controller to comply with the agreement in the link layer should be to design a single fiber optic ring network CAN dedicated logic control unit LCU. The unit's functions are: implementation of the CAN bus data transceiver control, that is the master node does not forward the received data, when the data along the fiber loop back to the original sending node, he was immediately removed; from the node forwarding the received data. Can also eliminate ring fiber CAN bus network, the phenomenon of self-excitation to ensure that rings are not blocked.

Q single-loop fiber-optic network, node or network link failure may cause paralysis. In order to improve the survivability of fiber optic ring network, should constitute a self-healing function of self-healing fiber optic loop network.


A fiber-optic self-healing ring network design CAN

1.1 Structure of optical self-healing ring

CAN fiber optic self-healing ring network shown in Figure 1. The network has two fiber optic loop - clockwise and counterclockwise ring ring, each node SJAl000 CAN controller interface circuit and the loop through the fiber optic network connected to interface circuits produced by the Altera Corporation's complex programmable logic device (CPLD) EPM7128S The two optical transmitter LEDR and LEDL, two optical receivers PINR and PINL composition.

1.2 Interface Circuit Function

CAN Network Interface Circuit fiber self-healing features are: (1) When normal communication optical fiber loop (Figure 2 (a) below), each node in the right end of the left side optical transmitter LEDR send data PINL optical receiver, signal clockwise transmission; Similarly LEDL PINR data transmission, signal transmission counterclockwise, or choose the opposite transmitter data forwarding. (2) When a single fiber failure (Figure 2 (b) below), the downstream C node interface circuit loop, because the left side of optical receiver PINL no signal, right end of the optical transmitter LEDR choose the same side optical receiver PINR data forwarding. (3) When any node between the two fiber failure (Figure 2 (c) so), such as BC optical fiber between nodes is cut off, then B, C and fiber cut off point of two nodes connected to the implementation of loop-back function. At this point, the signal from A to C, AC is the first by a clockwise loop to B, via counterclockwise loop through A, D arrived C. The signal CA will still be transmitted by a clockwise loop. This self-healing function under fault conditions to ensure the continuity of ring can be maintained. After troubleshooting, switching automatically switches back to the original location. (4) CAN controller data to achieve the node chooses to receive. The principles are: for each node to receive the smooth, counterclockwise data, select PINL, PINR the first to reach the data reception. (5) to achieve the node data select Send. The principle: when the bus is idle, select the node transmitter TX CAN controller to send data, remove the ring fiber CAN bus network, the phenomenon of self-excitation to ensure that rings are not blocked; when the CAN controller of the node to receive node , select the data to send the opposite; when the CAN controller node to receive node, and the contralateral Fibre Channel fault, then select the same side of the data to send. (6) determine the channel frame start and frame end, differential bus is idle, the network is fault. Such as the receiver judge to left metering data frame is transmitted PINL have produced when the left side to send data and network communications status symbol flag_l logo sync_l.

2 interface circuit design

Self-healing network self-healing fiber optic CAN transceiver control function and the programmable logic device (ALTERA EPM7128SLC84 1 15) implementation, programming using VHDL language. A concrete description below.

2.1 input and output port settings

Figure 3 shows the interface circuit CPLD's I / O port diagram. Among them, the input and output pin_l, led_l, 1ed_r, pin_r respectively with light / power conversion module PINL, LEDL, LEDR, PINR connected: txd, rxd each device with the data system CAN Jing sender TX, RX receiver is connected; flag_txd = 1 CAN controller TX0 on behalf of the node is sending data frames; flag_l = 1 channel is sending data on behalf of the left frame; flag__r = 1 channel is sending the right documents on behalf of the frame. sync_l status symbol for the left side of network communications, sync_r status symbol for the right of the network traffic. When the left channel is normal, the output sync_1 = "l", driven network status light emitting diode D_sl; when the right channel is normal, the output sync_r = "1", drive network status light emitting diode D_sr; if the network status light-emitting diode D_sr or D_sl off, that corresponds to Fibre Channel network out of trouble. When the node select the left channel CAN controller, the data received, the output side rx_l / r is high; when the node select the right channel CAN controller, the data received, the output side rx_l / r is low. Reset for the reset input terminal, active-low; clk0 for the clock input, input clock frequency of 20MHz.

Self-healing fiber optic network of CAN bus

2.2 CPLD functional structure

CPLD to control the self-healing ring network interface unit, the control circuit consists of a divider, a central state machine, send data selector, data selector receiving the composition, shown in Figure 4.

2.3 Crossover

Communication Interface CPLD clock frequency 20MHz. CAN self-healing fiber optic network in each node and CPLD Interface CAN controller SJAl000 work with independent clocks. In order to produce the flag state machine signals synchronized with the CAN controller, data transfer, to ensure the two data selector switch and data synchronization, should be the correct choice of the state machine clock. This network of data transmission in the CAN baud rate is 125kbit / s, the state. Machine clock rxclk design data transfer rate of 8 times the baud rate, that is 1Mbit / s, to ensure the data bits in a CAN data read cycle can be repeated to improve anti-jamming capability. So divider function to generate a clock frequency of 1MHz.

 

2.4 The state machine center

Based on CAN 2.0B protocol, CAN network data frame consists of seven different bit fields, namely SOF, arbitration field, control field, data field, CRC field, response field, the end frame. Data field length of 0 to 8 bytes. Frame start position is a dominant bit low power? Quot; 0 "; frame end of the 7 recessive bits from" 1 "consisting of sequences; in the data frame transmission, the use of digital technology add charge coding, to ensure data frame bits stream will not be five consecutive "1''or''0."

Central control state machine is the design of the core modules. Center of the state machine functions are: (1), the detection frame CAN data frame start and end frame, producing a corresponding signal to send data flag flag_txd, flag_r and flag_l. (2) generation network communication status flags sync_r and sync_l. Center by the state machine: the composition of the three state machines: the CAN controller state machine node, the left channel and right channel state machine state machine. They were discriminant each channel (TX, PIN_L and PIN_R) whether there is data transfer. The following explanation of the different parts of the state machine are the nodes in CAN controller state machine as an example.

Self-healing fiber optic network of CAN bus

The state machine sets the 61 states, that is idle, S1, S2, S3 ... S60. When the bus is idle, the state machine is in idle state idle, then come along rxclk the detected txd = 0, the state machine turned to S1, while the data flag is set to send the signal flag_txd = "1"; the second upper edge, the state machine unconditional turning S2; third on along, the state machine unconditional turning S3; fourth on along, the state machine unconditional turning S4; fifth on coming along, the point is the central location of data bits, data stability, read the data again, if txd = "0" is still set up the conditions that frame start coming, the state machine turned S5; otherwise flag_txd = "0", while state machine turned idle state idle, waiting for the arrival of the start frame.

When the state machine is in S5, the then rxclk (1MHz) than one for each clock cycle, state machine state prior to further (S6, S7, S8, S9, S10, S11, S12, ... ..., S58, S59, S60); Every 8 clock cycles, on the CAN bus data bits to a detected (S12, S20, S28, S36, S44, S52, S60), ensure that each test in the data bit (bit period) Central. When the continuous 7 txd = "1", the detected "1" means "the end of''the arrival of the frame, sending data flag reset flag_txd =" 0 ", waiting for the arrival of the next frame start; otherwise the state machine returns the state S5, waiting for the arrival of the end frame.


Network communication status sync_r, sync _l is for an important basis for self-healing ring network. As mentioned above, when the channel to send data about the state flag flag = "1''when the network communication state of the channel sync =" 1 ", the network status light-emitting diode D_sr, D_sl light; when the frame when the end came, flag =" 0 " to start the network communication state count group count, the clock is rxclk = 1MHz, when the counter is 30000, (30ms), sync = "0", the network status light-emitting diode D_sr, D_sl off. This means that a data frame, if re- no other data were also detected in the starting frame, the network broke down. If Zai Dao can be detected within 30ms data frame 起始 (flag set Wei), the network communication Zhuangtai logo sync continued to "1". counter reaches the full value of Shi Jian The frame should be the shortest time interval estimation.

2.5 Data Selector

Send data and receive data selector selector function is to achieve link structures (that is, channel selection). To ensure the network to work, CAN network delay should be less than a data width (bit period). To link structure of time as short as possible, using the maximum clock frequency (20MHz) control of two data selector.

Sending the data selector, CPLD testing three-way channel data txd, pin_l, pin_r. The channel data with different priorities. Priority setting: When the node to send data (txd = "0" or flag_txd = "1''), the left and right channel to send control tanning ⑺ CAN vote Tang X data, which led_r = txd, led_l = txd. If This node does not send data, according to sync_r and sync_l choose to send data, were normal when the left and right channel, select the opposite data transmission, led_r = pin_l, led_l = pin_r. If a channel fails, the data not to see the opposite side, select the This side of the data is sent, led_l = pin_l, led_r = pin_r. Accordingly, not only to achieve self-healing network, but also eliminates the ring network blocking problem.

Self-healing fiber optic network of CAN bus

In the receive data selector, set the left channel as the preferred receive channels; not yet reached the time when the left channel data (flag_l = "0'') or the left channel failure, without human intervention, automatically selects the right channel to receive. Accordingly, achieve optimal reception (choice of priorities to reach channel data reception), and double-loop fiber CAN bus network self-healing capabilities.

Formed in the electric vehicle CAN self-healing fiber optic network, using plastic optical fiber as the transmission medium, plastic optical fiber has low loss window in the visible region, selected wavelength of 650nm (red) optical / electrical converter module - Agilent produced HFBR-1528 optical transmitter and optical receiver HFBR - 2528. CAN nodes control discharge device or with optional SJAl000 TMS320LF2407 DSP chip CAN controller, composed of four CAN self-healing optical network node board. CAN network data transfer rate is set to 125kbit / s, when the failure to set a certain channel, the network can achieve Figure 2 (b) are not self-healing function; when setting any node failure between the two fiber-optic network to Implementation Figure 2 (c) shows the self-healing capabilities. When the CAN node fails, the interface circuit can still work to ensure loop network; when the interface circuit failure will cause the node from the bus, the other nodes to achieve network self-healing, constitute a single ring. Through the oscilloscope to observe, sending node to send data through the bus competition; receiving node can send a response signal to the bus; node data through the 4-node self-healing fiber optic CAN return nodes in less than 100ns. After testing, the channel failure time for self-healing network 301ms.

Declined comment

91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
国产精品嫩草影院一区二区| 欧美日韩亚洲一二三| 午夜精品一区二区在线观看的| 精品欧美一区二区久久久伦| 国产v综合v亚洲欧美久久| 欧美大片va欧美在线播放| 欧美国产二区| 日韩视频一区在线| 热久久这里只有| 国产xxxxx在线观看| 日本中文字幕在线视频观看| 91九色单男在线观看| 欧美激情中文字幕乱码免费| 欧美性受xxx| 日韩视频亚洲视频| 热99久久精品| 日韩中文综合网| 人妻无码久久一区二区三区免费 | 成人91免费视频| 久久99热精品| 国产精品永久免费| 一区二区三区四区免费视频| 欧美日韩高清免费| 国产精品免费观看久久| 欧美激情专区| 国产精品老女人精品视频| 欧美性受xxx| 国产精品免费福利| 精品视频第一区| 色综合久久88| caopor在线视频| 日韩一区二区三区资源| 久久人91精品久久久久久不卡| 午夜精品久久久久久久99热 | 久久国产精品久久| 欧美中文字幕精品| www亚洲欧美| 欧美高清性xxxxhd| 欧美精品性视频| av日韩中文字幕| 色综合666| 俺去了亚洲欧美日韩| 黄色一级片黄色| 制服诱惑一区| 久久久久久99| 经典三级在线视频| 亚洲一区二区精品在线| 久久精品在线免费视频| 欧美亚洲国产免费| 久久综合网hezyo| 99久久国产宗和精品1上映| 尤物一区二区三区| 国产福利一区视频| 精品人妻少妇一区二区| 伊人精品久久久久7777| 久久久久久久免费视频| 国产一区二区丝袜高跟鞋图片| 亚洲人精品午夜射精日韩| 日韩一区二区三区在线播放| 国产中文字幕乱人伦在线观看| 亚洲欧洲精品一区二区 | 欧美精品videofree1080p| 国产精品2018| 免费在线观看毛片网站| 亚洲一区二区中文| 丝袜美腿精品国产二区| 国产一级不卡视频| 日本中文字幕久久看| 国产精品国产亚洲精品看不卡 | 日韩一区二区在线视频| 国产精品一区二区三区免费视频| 午夜精品在线视频| 国产精品黄页免费高清在线观看 | 狠狠色综合网站久久久久久久| www.亚洲成人| 97公开免费视频| 欧美在线中文字幕| 亚洲欧美日韩另类精品一区二区三区 | 国产成人一区二区三区电影| 欧美第一黄网| 午夜精品久久久久久久久久久久久| 久久天天躁狠狠躁夜夜av| 99久久精品免费看国产一区二区三区 | 国产高清精品软男同| 国产欧美在线看| 日韩欧美一区二区在线观看| 欧美精品第一页在线播放| 精品国产欧美成人夜夜嗨| 97成人在线视频| 激情小说综合网| 日本欧美精品在线| 一区二区不卡视频| 国产精品免费区二区三区观看| 久久久婷婷一区二区三区不卡| 国产欧美自拍视频| 蜜桃传媒一区二区| 欧美图片激情小说| 午夜精品一区二区在线观看的| 久久躁日日躁aaaaxxxx| 国产成人精品综合久久久| 91国产在线精品| 国产日韩欧美另类| 欧美精品久久| 欧美尤物巨大精品爽| 日本人成精品视频在线| 亚洲xxxx做受欧美| 中文字幕在线中文| 色综合视频一区中文字幕| 欧美成人精品一区| 国产精品视频精品视频| 日韩中文娱乐网| 久久精品日产第一区二区三区| 成人久久久久久| 国产午夜福利视频在线观看| 蜜桃精品久久久久久久免费影院| 欧美主播一区二区三区美女 久久精品人 | 97久久精品国产| 国产乱子伦精品| 国产性生交xxxxx免费| 免费看污污视频| 狠狠色噜噜狠狠狠狠色吗综合| 欧美影视一区二区| 人体精品一二三区| 日韩精品在在线一区二区中文| 色婷婷精品国产一区二区三区 | 日本免费在线精品| 日本精品一区在线观看| 亚洲免费不卡| 亚洲精品欧洲精品| 亚洲欧美日韩精品久久久| 欧美激情精品久久久久久久变态| 久久精品五月婷婷| 久久久久日韩精品久久久男男| 久久精品国产美女| 日韩视频免费中文字幕| 日韩视频一区在线| 国产精品日韩欧美综合| 久久亚洲国产成人| 欧美激情一区二区三级高清视频| 欧美激情亚洲一区| 亚洲一区二区三区视频播放| 亚洲电影一二三区| 视频一区二区综合| 欧洲成人在线视频| 免费国产在线精品一区二区三区| 国产日韩精品久久| 成人av中文| 久久9精品区-无套内射无码| 国产精品视频一区二区三区四 | 一本—道久久a久久精品蜜桃| 亚洲精品久久区二区三区蜜桃臀| 午夜精品久久久久久久99热| 日韩暖暖在线视频| 九九精品在线视频| 熟女少妇在线视频播放| 欧美日韩一区二区三区免费| 国产欧美精品aaaaaa片| 99国产精品白浆在线观看免费| 99视频在线免费观看| 国产一区二区三区四区五区加勒比| 国产精选久久久久久| 久久免费99精品久久久久久| 国产精品免费一区二区| 亚洲最大的av网站| 日本久久久精品视频| 色妞一区二区三区| 欧美成在线观看| 日本一区视频在线观看免费| 国内视频一区| 国产精品96久久久久久| 国产精品区一区二区三在线播放| 一区二区三区四区欧美| 热久久精品免费视频| 国产在线视频欧美| 久久久www免费人成黑人精品| 久久人人爽亚洲精品天堂| 欧美精品www| 青青草成人免费在线视频| 国产欧美日韩视频一区二区三区| 久久久人人爽| 成人444kkkk在线观看| 手机在线观看国产精品| 免费国产在线精品一区二区三区| 国产精品777| 久久这里有精品| 日本a在线天堂| 成人免费毛片在线观看| 久久精品亚洲精品| 亚洲欧洲另类精品久久综合| 欧美日韩亚洲免费| 国产精品99久久久久久久久久久久| 国产精品视频地址| 少妇人妻无码专区视频| 国产欧美日韩免费看aⅴ视频| 日韩中文字幕在线视频播放| 亚洲精品成人a8198a| 国产中文字幕免费观看| 深夜福利一区二区| 午夜精品一区二区三区在线视频| 国产一区二区自拍|