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

AT89C51 microcontroller based CAN bus-based Intelligent Node

Abstract: The CAN (Controller Area Network) bus characteristics, given CAN bus system intelligent node circuit principle and with the C51 language development program, facilitate the user to learn and master.

1 Introduction

CAN (Controller Area Network) is a controller area network, mainly used for a variety of equipment testing and control of fieldbus. BOSCH CAN bus is a German company of the 20th century and early 80's to solve a number of vehicle control and test equipment developed for data exchange between serial data communication protocol. This is a multi-master bus, both in the high-speed network nodes or in the low-cost systems, applications are extensive. As a result of a number of new technology and unique design, and Yi Ban the communication bus Xiangbi, CAN bus data communication with outstanding reliability, real time and flexibility, the following features:

● communication flexible and can work multi-master mode, any node on the network are active in any time to other nodes on the network to send information, regardless of master and slave.

● CAN node identifier only on the message filtering can achieve point to point, multipoint, and global broadcast send and receive data, the node can be divided into different priority, the priority of the node can be identified by packet break to set up the high priority data can be transmitted within 134μs to meet different real-time requirements.

● CAN bus communication format uses a short frame format, the number of bytes per frame more than 8 bytes, Keman Zu Ling Yu Zhong 控制 general industrial orders that the work Zhuangtai and test data requirements, Tong Shi, 8 bytes Buhuizhanyong bus time too long to ensure communication in real time.

● bus arbitration using non-destructive technique, when multiple nodes simultaneously send information to the bus, there are conflicts, the low priority node will take the initiative to send out data, while the high priority nodes can be affected to continue to transmit data, significant savings bus arbitration time of conflict, in the case of network overload will not occur networks.

● Direct communication distance up to 10 km (rate at 5 kb / s or less), the maximum transmission rate up to 1 Mb / s (this time from up to 40 m); up to 110 nodes, communications media can be twisted pair, coaxial cable or optical fiber.

● CAN bus with CRC testing and provides the appropriate error handling function, to ensure the reliability of data communication, the node of the serious situation in the wrong with self-closing output to other nodes on the bus operations are not affected.

2 CAN-bus system architecture

As the CAN bus multi-master mode work, I have the DCS (Distributed Control System) is not the same topology. The control system consists of computers and smart nodes shown in Figure 1. The greatest feature of this system is that all nodes can be attached to an equal status on the bus. A bus node usually include at least three parts: the task of SCM control node, the bus controller and bus driver. In this paper, a simple CAN bus intelligent node design. Intelligent node from the 89C5l MCU, SJA1000-based bus controller, 82C250-type bus driver and the PC form. In practice, the sensor can be connected to different parts, the completion of data collection and transmission.

AT89C51 microcontroller based CAN bus-based Intelligent Node

3 hardware design

I designed the CAN bus system intelligent node with Intel Corporation AT89C51 MCU as the node microprocessor. AT89C51 has a 64KB address space. Itself without the CAN controller and CAN bus, so to achieve the required communication between the external CAN controller and CAN drivers. In this design type used SJAl000 CAN bus communication controller and the AT82C250-type bus driver.

CAN bus system intelligent node hardware circuit shown in Figure 2. As can be seen from Figure 2, the hardware circuit mainly by AT89C51, SJAl000, AT82C250, 6N137 high-speed optocoupler and the MAX202 level converter device type composition. AT89C51 responsible SJAl000 initialization, control SJAl000 for data receive and transmit such communication task. MAX202 RS232 to TTL level and the level of each conversion, data can be received in the PC. SJAl000 the ADO-AD7 the P0 port to connect to the AT89C51, CS connected to the AT89C51 the P2.7. P2.7 to 0, CPU chip memory address optional in the SJA1000, CPU through the implementation of these addresses can SJAl000 corresponding read / write operations. SJAl000 the RD, WR, ALE pins are connected with the corresponding AT89C51, SJAl000's INT Access AT89C51 the INTl, AT89C51 can also be interrupted access SJA1000.
To enhance the capacity of the bus node interference, SJAl000 the TX0 and RX0 not directly related to the TXD and RXD 82C250 phase, but through 6N137 and AT82C250 phase, so well realized the bus electrical isolation between each node . However, the optocoupler circuit with the two power supply VCC and VDD must be isolated. Completely isolated power supply can be used for low power isolated modules. Although this increases the complexity of the interface circuit, but increase the stability and security of the node.

AT82C250 and bus interface has also taken certain security and anti-jamming measures. AT82C250 the CANH CANL pins each pin and through a 5 Ω resistor is connected with the bus, resistors may play a limiting role in protecting against over-current shocks AT82C250. CANH and CANL and in parallel between the two 30pF capacitors small, you can filter out high frequency noise on the bus and have some anti-electromagnetic radiation. In addition, two CAN-bus input and to pick up a difference between the lightning tubes, when two ground between input and transient interference, lightning discharge tube play a protective role. AT82C250 the RS pin then a slope of the resistor, the resistance of the size of the bus communication speed can be adjusted, usually between 16 kΩ ~ 140 kΩ.

4 Software Design

4.1 Network Communication Rules

CAN bus multi-master work, the network took a node can be active at any time to other nodes on the network to send information, regardless of master and slave, and flexible communication. To prohibit bus conflict, CAN bus, bus arbitration using non-destructive technique, each node needs to be set according to different priorities, and to the identifier ID calibration, the smaller the value, the higher the priority. Bus nodes can communicate with each other in real time, when a node needs to receive another one node of the data, only the contents of its code register set and the other one the same node identifier can be. If you register for the identifier and the contents of the code set is inconsistent, then ignore the data issued by the node.
4.2 SJAl000 work mode settings

SJAl000 There are two operating modes: reset mode and work mode. In the reset mode, can receive a code to receive screening, the bus timing register 1 and the output O and control register set. CAN initialization generally more complete register set, when the CAN into work mode, their values will not change. In the operating mode can send and receive data. With particular attention to is this: When hardware reset or the controller will automatically reset when off-line mode, so that no normal CAN communication, which requires monitoring of the reset bit. The event of a hardware reset or reset the controller off-line mode to enter when requested to reset the position to 0 and enter the pattern, so that CAN will be able to send and receive normal.

4.3 software programming language based on C

System software design is the system power and SJAl000 AT89C51 after the first initialization, to determine the working frequency, baud rate, the output characteristics. Which Renyi Zhi can be adopted by the node can use the query from the CAN bus SJAl000 get the required data and to transmit the data to the PC display, while on the bus can send data to other intelligent nodes for receiving display. The following is a concrete realization process.

AT89C51 microcontroller based CAN bus-based Intelligent Node

AT89C51 microcontroller based CAN bus-based Intelligent Node

Is to test the above procedure, in which the main controller AT89C52 reg51.h is specially prepared for the library function, which is readily available in the Keil software, as long as included with # include statements can come in; intrins.h is empty after the call function _nop_ () to prepare for it which includes a statement similar to the assembly language of the NOP; CAN_TOUWENJIAN.h is the header file for the definition of the relevant registers. Tx_DATA_CAN () function is used to send data to the bus, REC_DATA_CAN () function is used to receive data from the bus, SERIAL () is used between the PC and the smart nodes communicate with each other. Space is limited, send and receive routines are given no specific subroutine.

5 Conclusion

The development of CAN bus in the test process, I mastered the CAN bus intelligent node, and has been applied in practice. By applying proven, CAN bus has the following advantages: network free, expandability; automatic error defined, simplifying the operation of the communication; can determine the data content of the priority to address the problem of real-time communication. In addition, CAN network has a number of industrial control system applications, especially in the high transmission speed and reliability but also for demanding real-time occasion, CAN bus will have broad application prospects. This article comes from "a certain type of control system to improve the signal of information transmission," discussion group, team leader is Professor Liu Yonghong, deputy director is Associate Professor Wen-Hung Chang, the main participants Professor Huang Chenfu, Zhao Yong Lecturer, Li Jingang graduate.

Declined comment

最新国产中文字幕| 久久久久久少妇| 日韩一级片播放| 国产三级在线观看完整版| 日韩精品xxx| 久久久99精品| 国产视频一区在线观看| 在线视频国产日韩| 日本久久精品一区二区| 美女网站色91| 亚洲一级在线观看| 中文字幕不卡的av| 亚洲美女免费在线| 欧美一区二区视频在线观看2022| 日韩欧美国产中文字幕| 欧美一区二区三区免费观看视频| 欧美日韩成人一区二区三区| 2022中文字幕| 亚洲一区二区观看| 欧美 日韩 国产 成人 在线| 国产精品免费无遮挡无码永久视频| 日本不卡123| 亚洲91精品在线观看| 强乱中文字幕av一区乱码| 欧美一区二区视频免费观看| 日韩精品一区二区三区色偷偷| 男女污污的视频| 日本a级片视频| 亚洲第一第二区| 国产精品福利影院| 风间由美性色一区二区三区 | 欧美精品第一页在线播放| 日韩av电影手机在线| 欧美午夜精品一区| 美女精品久久久| 青青草综合在线| 国产精品一二二区| 97久草视频| а天堂中文在线资源| 亚洲一区二区黄色| 国产做受高潮69| 久中文字幕一区| 免费观看成人在线视频| 1024手机在线视频| 91在线视频观看免费| 粉嫩aⅴ一区二区三区| 日韩一区二区电影在线| 国产精品视频播放| www.com操| 极品白嫩少妇无套内谢| 亚洲无码精品一区二区三区| 欧美日韩国产另类不卡| 欧美一级黄色影院| 亚洲国产高清aⅴ视频| 成人激情av在线| aaaa黄色片| 成年人午夜剧场| 国产电影精品久久禁18| 一区二区三欧美| 精品国产一区二区亚洲人成毛片 | 麻豆成人在线看| 欧美三级午夜理伦三级老人| 亚洲黄色小说网址| 在线观看精品国产| 91精品国产麻豆| 99re6在线观看| 亚洲视频一区二区免费在线观看| 99理论电影网| 免费在线观看成年人视频| 99视频在线看| 国产乱淫av一区二区三区| 亚洲免费一在线| 亚洲最新av网址| 国产精品白嫩初高中害羞小美女 | 在线观看三级网站| 无码国产伦一区二区三区视频| 国产成人亚洲欧洲在线| 亚洲国产精品一区二区三区| 中文字幕亚洲日本| 欧美色视频一区二区三区在线观看| 亚洲影视资源网| 青青草原国产视频| 欧美亚洲激情视频| 国产美女av一区二区三区| 亚洲一二三区在线| 日韩成人av影视| 日韩一区二区三区电影在线观看| 久久综合九色综合88i| 日韩一区欧美二区| 国产一区二区三区三区在线观看 | 欧洲av一区二区三区| 一区二区成人精品| 国产精品无码毛片| 亚洲精品亚洲人成人网| 欧美精品尤物在线| 精品一区久久久| 美女在线观看视频一区二区| 国产在线播放91| 黄色aaa毛片| 中文国产成人精品久久一| 久久精品日韩精品| a级片在线播放| 欧美日韩高清一区二区三区| 亚洲视频综合网| 色综合久久av| 一区二区三区不卡视频在线观看 | 国产乡下妇女做爰视频| 中文文精品字幕一区二区| 婷婷五月色综合| 久久亚洲精品小早川怜子| av日韩一区二区三区| 欧美午夜性色大片在线观看| 水蜜桃一区二区三区| 日本一级黄色录像| 日韩女优制服丝袜电影| 一区二区成人网| 美日韩一二三区| 欧美性xxxxxxxxx| 色无极影院亚洲| 国产精品一区二区久久精品| 国产福利拍拍拍| 亚洲视频免费一区| 中国男女全黄大片| 日韩美女啊v在线免费观看| 国产午夜视频在线| 国产肥臀一区二区福利视频| 欧美激情中文网| 亚洲精华国产精华精华液网站| 欧洲精品毛片网站| 黄色一级片在线| 色妞在线综合亚洲欧美| 日韩毛片无码永久免费看| 中文字幕佐山爱一区二区免费| 91免费观看| 中文有码在线播放| 欧美亚洲愉拍一区二区| 麻豆精品国产传媒| 制服视频三区第一页精品| 娇妻被老王脔到高潮失禁视频| 日本一区二区三区四区| 国产精品黄色av| 欧美 日韩 成人| 国产精品久久99| 国产日韩亚洲欧美| 三级av免费看| 国产在线精品免费av| 国产又大又粗又爽| 亚洲一区在线视频| 亚洲综合图片网| 亚州欧美一区三区三区在线| 亚洲精品成a人在线观看| 久久亚洲精华国产精华液| 久久综合久久鬼| 永久免费精品视频网站| 亚洲人成电影在线观看天堂色| 97久久超碰精品国产| 亚洲AV无码国产成人久久| 国产精品成人久久久久| 国产精品三级视频| 又色又爽的视频| 成人精品久久久| 欧美日韩中国免费专区在线看| 欧美亚洲精品天堂| 日韩一二三区不卡在线视频| 亚洲综合色视频| 日韩精品视频一区二区| 国产清纯美女被跳蛋高潮一区二区久久w | 成人免费视频一区| zzjj国产精品一区二区| 欧美成人xxxxx| 男人操女人的视频在线观看欧美| 久久国产婷婷国产香蕉| 午夜视频一区二区三区| 欧美激情一级二级| 亚洲av色香蕉一区二区三区| 91香蕉视频在线下载| 国产在线播放一区三区四| 波多野结衣成人在线| 日本aⅴ亚洲精品中文乱码| 99久久一区三区四区免费| 少妇高潮久久久| 国产精品69久久久久| 日本一级特级毛片视频| 青青草一区二区| 麻豆久久久久久久久久| 国产一区二区三区在线免费观看| 亚洲黄色小说在线观看| 日韩女优毛片在线| 国产成人在线免费看| 亚洲女与黑人做爰| 香蕉视频免费版| 亚洲综合小说区| 久久精品成人欧美大片| 一区二区三区欧美久久| 国产精品短视频| 午夜久久久久久久久| 国产一区二区剧情av在线| 一级片视频网站| 97国产在线播放| 亚洲精品美女视频| 91麻豆国产福利在线观看| 精品午夜福利视频| 成年人看片网站| 日韩激情视频在线播放| 香蕉视频黄色片| 国产精品毛片久久久久久久av| 中文字幕在线视频精品| 亚洲综合日韩中文字幕v在线| 欧美第一淫aaasss性| 欧美日韩精品是欧美日韩精品| 美国黄色a级片| 亚洲中文字幕无码不卡电影| 明星裸体视频一区二区| 99精品一级欧美片免费播放| 奇米影音第四色| 亚洲精品成人无码毛片| 丰满少妇一区二区三区专区| 精品免费国产一区二区| 欧美在线观看一区二区三区| 亚洲国产天堂久久综合| 国产精品大尺度| 日本波多野结衣在线| 国产三级视频网站| 亚洲国产精品123| 亚洲美女av在线| 久久国产精品色婷婷| 日精品一区二区| 色偷偷在线观看| 国产成人免费观看视频 | 99久久精品国产色欲| 亚洲天堂视频一区| 一本色道久久亚洲综合精品蜜桃| 亚洲一卡二卡三卡| 成人在线短视频| 制服丨自拍丨欧美丨动漫丨| 国产一级在线免费观看| 91麻豆精品在线| 在线观看亚洲黄色| 欧美成人久久久免费播放| 女人床在线观看| 成人有码在线播放| 正在播放欧美一区| 制服视频三区第一页精品| 姝姝窝人体www聚色窝| 欧美性大战久久久久xxx | 久久精品欧美一区二区三区不卡 | 我和岳m愉情xxxⅹ视频| 特黄特色免费视频| 中文字幕久久网| 久久电影网电视剧免费观看| 久久久久久久综合日本| 国内精品伊人久久久久av影院 | 精品电影在线观看| 久久精品国产亚洲一区二区三区| 日韩av电影网| 国产不卡在线一区| 91视频免费播放| 日本一区二区久久| 亚洲欧美日韩小说| 欧美三区在线观看| 亚洲精品字幕在线观看| 一区二区三区免费观看视频| 精品国产区一区二| 国产免费无遮挡| 少妇一级淫片免费放中国| 日韩电视剧免费观看网站| 一起草最新网址| www.欧美日韩| 欧美精品在线免费| 538国产视频| 亚洲激情中文1区| 久久国产天堂福利天堂| 肉大捧一出免费观看网站在线播放 | 乌克兰美女av| 亚洲综合五月天婷婷丁香| 国产精品三级av在线播放| 国产一区二区三区在线视频| 久久人人九九| 微拍福利一区二区| 丁香桃色午夜亚洲一区二区三区 | 日本新janpanese乱熟| 免费av中文字幕| 日韩av网站电影| 四虎永久免费在线| 国产成人免费视频网站| 久久综合久久八八| 亚洲乱妇老熟女爽到高潮的片| 国产精品影视网| 4388成人网| 免费看黄色的视频| 国产成人自拍网| 日韩精品电影网站| 久久欧美一区二区| 国产成人av免费观看| 精品国产乱码91久久久久久网站| 日韩av电影网址| 日本精品视频在线| 亚洲欧美一区二区三| 97久久天天综合色天天综合色hd| 欧美日韩在线国产| 在线精品91av| 日韩一级免费片| 色老汉一区二区三区| 狠狠爱免费视频| 中文字幕在线不卡一区| 污视频在线免费观看一区二区三区| 高h视频免费观看| 在线不卡免费av| 亚洲欧美偷拍另类| 日韩精品www| 中文文字幕一区二区三三| 日韩午夜在线视频| 在线能看的av| 久久久噜噜噜久久久| 亚洲第一视频在线播放| 欧美日韩中文字幕在线视频| 久久久国产精华液999999| 91蝌蚪国产九色| av女优在线播放| 欧美一区二区三区思思人| 国产av无码专区亚洲a∨毛片| 神马影院我不卡| 精品国产伦一区二区三区观看体验| 99热这里只有精品在线| 麻豆传媒一区二区| 欧洲国产伦久久久久久久| 成年人视频软件| 国产视频自拍一区| 精品熟妇无码av免费久久| 4438亚洲最大| 公侵犯人妻一区二区三区| 91精品国产一区二区三区香蕉| 最近中文字幕在线mv视频在线| 欧美日韩精品是欧美日韩精品| 北条麻妃在线观看| 亚洲国产精品久久人人爱| 99精品视频播放| 欧美人动与zoxxxx乱| 毛片毛片女人毛片毛片| 91免费版黄色| 成人黄色a**站在线观看| 欧妇女乱妇女乱视频| 日韩一区二区三区观看| 日本五十熟hd丰满| 欧美羞羞免费网站| 成人在线观看小视频| 午夜精品国产精品大乳美女| 香蕉视频911| 国产一区免费在线| 国产精品久久久久久久久图文区 | 成人av毛片在线观看| 成人av手机在线观看| 日本一区二区三区www| 国产成人亚洲综合色影视| 久精品国产欧美| 成人小说亚洲一区二区三区| 国产成人精品在线| 老牛影视一区二区三区| 一区高清视频| 欧美人与性动xxxx| 很污很黄的网站| 亚洲三级 欧美三级| 国产小视频你懂的| 国产丝袜一区二区三区免费视频 | 成人精品aaaa网站| 特级西西444www大精品视频免费看| 亚洲视频在线看| 日韩不卡视频在线| 国产精品高清在线观看| 国产成人av影院| www.欧美激情.com| 一区二区欧美久久| 国产喷水吹潮视频www| 成人国产在线视频| 国产在线麻豆精品观看| 欧美麻豆久久久久久中文| 国产精品一级视频| 国语精品中文字幕| 国产精品人人做人人爽人人添| 国产精品一色哟哟| 欧美人与禽zozo性伦| 久久精品91| 亚洲图片欧美日韩| 国产手机在线观看| 国产99在线播放| 亚洲人在线视频| 五月激情丁香一区二区三区| 欧性猛交ⅹxxx乱大交| 国产伦精品一区二区三区妓女| 日本sm极度另类视频| 成人午夜激情影院| www.4hu95.com四虎| 久久久久久中文字幕| 蜜桃av噜噜一区二区三区小说| 国产精品嫩草影院8vv8| 久热精品视频在线观看一区| 亚洲国产精品传媒在线观看| 国产亚洲欧美精品久久久www| 亚洲aa中文字幕| 日韩欧美亚洲一二三区| 国产乱码久久久久久| 欧美国产综合视频| 欧美高清自拍一区| 粉嫩老牛aⅴ一区二区三区| 一区二区视频网站| 亚洲欧洲国产精品久久| 亚洲国产精品国自产拍av秋霞| 国产成人aaaa| 欧美 亚洲 另类 激情 另类| 中文字幕无码精品亚洲35|