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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
午夜免费福利小电影| 宅男av一区二区三区| 国产欧美在线一区二区| 欧美日韩精品久久| 欧美一区少妇| 欧美日韩在线播放一区二区| 欧美一二三不卡| 激情五月开心婷婷| 免费亚洲一区二区| 国产美女主播一区| 成人免费视频97| 99中文视频在线| 久久综合久久色| 久久久久久免费精品| 精品国内自产拍在线观看| 国产成人亚洲欧美| 国产成人无码精品久久久性色| 精品国偷自产在线| 久久电影一区二区| 亚洲一区三区电影在线观看| 亚洲国产日韩美| 日韩在线观看a| 欧美一区少妇| 国产精品一区二区免费| 国产精品88久久久久久妇女| 久久久免费av| 麻豆一区二区在线观看| 亚洲精品乱码久久久久久蜜桃91| 日本亚洲导航| 国产一区二区视频免费在线观看 | 欧洲中文字幕国产精品| 黄色网页免费在线观看| 成人亚洲综合色就1024| 久久久久久九九九| 精品国产一二三四区| 色99中文字幕| 精品视频免费观看| …久久精品99久久香蕉国产| 国产精品网红福利| 亚洲高清不卡一区| 狠狠精品干练久久久无码中文字幕 | 国产精品户外野外| 欧美激情一级二级| 日韩精品久久一区| 国产一区二区三区播放| 91久久精品www人人做人人爽| 日韩中文字幕网站| 亚洲最大成人网色| 欧美一区二区在线| 91免费版看片| 国产精品第一第二| 日韩精品久久一区| 成人免费观看视频在线观看| 久久天天躁狠狠躁夜夜躁| 亚洲欧美日韩不卡| 免费毛片一区二区三区久久久| 久久久人成影片一区二区三区| 另类专区欧美制服同性| 日韩理论片在线观看| av网址在线观看免费| 国产精品国产一区二区| 日产精品久久久一区二区福利| 国产欧美中文字幕| 国产精品久久久久久久天堂| 日本免费在线精品| 91美女片黄在线观看游戏| 国产精品久久久久久久av大片| 日韩av中文字幕第一页| 91精品国产精品| 久久久久久91| 国内精品久久久久久久果冻传媒| 久久精品网站视频| 亚洲欧洲精品一区二区三区波多野1战4| 欧美精品久久久久久久免费| 久久精品一区二| 久久久久久成人| 国产素人在线观看| 久久精品99国产精品酒店日本| 日本一区二区三区四区视频| 91精品国产91久久久久久不卡 | 成人国产精品日本在线| 久久久国产在线视频| 亚洲精品电影在线一区| 国产免费一区二区三区| 国产精品免费一区二区三区都可以 | 国产欧亚日韩视频| 国产精品国产精品国产专区蜜臀ah | 国产一级二级三级精品| 久久国产亚洲精品无码| 亚洲精品高清视频| 99久久综合狠狠综合久久止| 精品蜜桃一区二区三区| 国产日韩欧美二区| 欧美巨大黑人极品精男| 国产在线欧美日韩| 精品国产乱码久久久久久郑州公司| 黄色片免费在线观看视频| 久久九九国产精品怡红院| 欧美专区福利在线| 国产成人生活片| 欧美精品在欧美一区二区| 久热99视频在线观看| 黄色大片中文字幕| 国产精品第1页| 国产麻花豆剧传媒精品mv在线| 欧美成在线视频| 91免费人成网站在线观看18| 午夜精品在线视频| 久久99精品久久久久久三级| 日本不卡在线播放| 国产精品美女免费| 国产欧美一区二区三区在线看| 欧美日韩成人在线观看| 99免费在线视频观看| 亚洲a中文字幕| 日韩中文字幕在线精品| 国模精品视频一区二区| 九九精品在线观看| 99国产在线| 日韩国产欧美精品| 不卡中文字幕av| 91高清免费视频| 欧美性在线观看| 在线播放豆国产99亚洲| 国产精品 欧美在线| 国内精品久久久久| 午夜欧美一区二区三区免费观看| 久久av二区| 国产啪精品视频网站| 亚洲高清不卡一区| 久久视频中文字幕| av日韩中文字幕| 欧美日韩在线不卡一区| 亚洲一区二区久久久久久| 俺去啦;欧美日韩| 99视频网站| 欧美 日韩 国产精品| 亚洲欧洲精品在线| 国产精品欧美亚洲777777| 91麻豆精品秘密入口| 精品日产一区2区三区黄免费| 一女被多男玩喷潮视频| 国产成人小视频在线观看 | 日韩免费在线观看视频| 欧美精品午夜视频| 久久久久无码国产精品一区| 免费国产a级片| 亚洲 日韩 国产第一| 国产精品国产对白熟妇| 久久久精品有限公司| 国产在线视频在线| 日韩免费观看av| 亚洲熟妇无码一区二区三区导航| 久久久久久久久久久久久久久久av | 久久综合精品一区| 国产亚洲欧美一区二区| 日韩av成人在线观看| 欧美日韩国产91| 久久久精品久久| 国产极品jizzhd欧美| 成人9ⅰ免费影视网站| 欧美成人一区二区在线观看| 欧美激情综合色| 国产精品久久精品国产| 日韩网站免费观看| 久久久999免费视频| av在线亚洲男人的天堂| 国产亚洲精品自在久久| 国内精品视频一区| 日本不卡视频在线播放| 视频一区二区综合| 中文字幕精品一区日韩| 国产精品久久久久久av福利| 日韩在线免费观看视频| 91精品国产乱码久久久久久蜜臀 | 欧美亚洲成人免费| 日本精品一区在线观看| 五月婷婷综合色| 在线视频一二三区| 国产精品国产精品国产专区不卡| 色狠狠久久aa北条麻妃| 国产激情一区二区三区在线观看| 成人av免费看| 99福利在线观看| 99精彩视频| 91精品黄色| 91精品在线播放| 97国产在线观看| 精品一区日韩成人| 国内一区二区三区在线视频| 精品欧美日韩| 精品一区二区三区无码视频| 激情五月综合色婷婷一区二区| 欧美精品一区二区三区四区五区 | 日本在线视频www| 日本视频一区在线观看| 热久久精品免费视频| 欧美亚洲第一页| 欧美二区三区| 国产麻花豆剧传媒精品mv在线 |