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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
国产精品久久久久久久久久久久久| 91国在线高清视频| 亚洲欧洲免费无码| 欧美乱妇高清无乱码| 国产精品入口免费视| 日韩在线观看精品| 国产高清精品一区二区三区| 不卡中文字幕在线| 91久久精品日日躁夜夜躁国产| 成人免费毛片网| 国产精品一区在线免费观看| 国产一区 在线播放| 国产日韩欧美综合| 免费在线观看的毛片| 国语自产精品视频在线看| 欧美日韩国产精品一卡| 黄色国产精品视频| 精品一区二区日本| 国产欧美精品一区二区三区-老狼| 国产日韩中文字幕| 国产伦精品一区二区三区高清版 | 欧洲午夜精品久久久| 欧美亚洲免费在线| 蜜桃91精品入口| 成人精品一二区| 国产精品av网站| 日韩在线欧美在线国产在线| 国产成人久久精品| 久久亚洲综合国产精品99麻豆精品福利| 九色精品免费永久在线| 性高湖久久久久久久久aaaaa| 日韩精品久久一区二区| 黄色小网站91| 97免费高清电视剧观看| 久久久亚洲国产| 国产精品无av码在线观看| 久久国产天堂福利天堂| 欧美一区二区大胆人体摄影专业网站| 欧美在线观看网址综合| 国产日韩精品综合网站| 91久久精品国产91久久| 国产精品日韩精品| 亚洲天堂电影网| 欧美在线免费视频| 爱福利视频一区二区| 久久99精品久久久久久秒播放器| 国产精品成人久久电影| 日日摸天天爽天天爽视频| 国产原创欧美精品| 国产成人在线精品| 欧美日韩国产成人| 人妻少妇精品久久| 成人亚洲欧美一区二区三区| 国产精品视频xxxx| 日日骚一区二区网站| 精品一区二区三区自拍图片区| 久久资源av| 精品国产综合| 欧美 日韩 激情| 国产精品99久久久久久www | 亚洲午夜精品久久久久久人妖| 欧美中文字幕在线视频| 国产精品777| 欧美激情极品视频| 国内成+人亚洲| 久久久免费av| 亚洲午夜精品福利| 国产在线高清精品| 日韩亚洲一区二区| 天天久久人人| www.欧美黄色| 精品国产区在线| 国产自产在线视频一区| 色婷婷av一区二区三区在线观看 | 俺去啦;欧美日韩| 欧美一区二区三区成人久久片| 国产日韩欧美日韩| 久久久久免费精品| 午夜视频久久久| 99国产在线| 中文字幕乱码一区二区三区| 国模吧一区二区| 国产精品国产三级欧美二区| 热久久视久久精品18亚洲精品| 久久综合给合久久狠狠色| 亚洲永久一区二区三区在线| 欧美日韩精品久久| 久久精品福利视频| 欧美日韩精品一区| 久久手机免费视频| 欧美 国产 精品| 国产精品久久久久久免费观看| 韩国一区二区av| 国产精品入口尤物| 黄色a级片免费看| 久久精品国产免费观看 | 丁香六月激情婷婷| 91精品一区二区三区四区| 欧美激情亚洲另类| 不卡日韩av| 日韩中文字幕在线不卡| 久久久久久亚洲精品不卡4k岛国| 日本免费不卡一区二区| 日韩一区二区久久久| 欧美 日韩精品| 久久亚洲春色中文字幕| 国产这里只有精品| 久久91亚洲精品中文字幕| www.av中文字幕| 亚洲aⅴ日韩av电影在线观看| 91精品久久久久久久| 无码少妇一区二区三区芒果| 久久久噜噜噜久久中文字免| 欧美日韩精品不卡| 精品国产免费人成电影在线观...| 国产人妻777人伦精品hd| 在线观看日本一区| 91精品久久久久久久久久久久久久| 日本一区二区免费高清视频| 精品国产欧美一区二区三区成人 | 国产一区二区视频在线免费观看| 久久夜色撩人精品| 9a蜜桃久久久久久免费| 亚洲狠狠婷婷综合久久久| 久久www免费人成精品| 免费看黄在线看| 在线观看污视频| 日韩在线视频网站| 国产欧美久久一区二区| 日韩av电影中文字幕| 国产精品无码人妻一区二区在线| 国产精品又粗又长| 日韩av黄色网址| 国产精品国产三级国产aⅴ浪潮 | 亚洲资源在线看| 久久精品国产精品亚洲| 国产精品一区二区不卡视频| 无码少妇一区二区三区芒果| 国产精品美女久久久久av福利| 国产精品有限公司| 欧美专区一二三| 亚洲色成人一区二区三区小说| 久久精品国产一区二区电影| 91免费国产视频| 欧美日韩亚洲一区二区三区在线观看 | 国产深夜精品福利| 性欧美在线看片a免费观看| 国产精品美女久久久久av超清 | 亚洲一卡二卡三卡| 国产精品爽爽爽| 国产精华一区二区三区| 国产综合在线观看视频| 日韩av观看网址| 一区二区三区国| 国产精品区一区二区三在线播放| 成人精品一区二区三区电影免费| 欧美第一黄网| 日本一区二区三区视频免费看 | 少妇高潮喷水久久久久久久久久| 另类天堂视频在线观看| 久久免费一级片| 国产精品一区二区女厕厕| 欧美激情国产精品日韩| 日韩av免费一区| 亚洲精品女av网站| 精品久久久久久亚洲| 国产成人小视频在线观看| 久无码久无码av无码| 国产日韩av在线播放| 免费高清一区二区三区| 欧美在线一区二区三区四| 日本精品视频在线| 日韩av免费在线| 日本在线观看一区| 午夜视频久久久| 亚洲国产精品综合| 亚洲熟妇av日韩熟妇在线| 日韩av大片免费看| 亚洲精品一区二区三区蜜桃久| 欧美精品久久久久久久久| 国产精品久久久久久久久久久久 | 国产成人午夜视频网址| 久久久中精品2020中文| 久在线观看视频| 久久亚洲精品欧美| 97成人在线免费视频| 国产欧美久久一区二区| 国产三级精品在线不卡| 美国av一区二区三区| 免费av观看网址| 国产日韩第一页| 国产日韩换脸av一区在线观看| 国产欧美123| 国产免费人做人爱午夜视频| 国产一区欧美二区三区| 麻豆91av| 国产日韩精品电影| 国产精品亚洲αv天堂无码| 成人国产在线看| 99热在线播放|