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

Based on the CAN bus ADμC812 Design of Intelligent Node

1 Introduction

CAN (Controller Area Network) bus protocol is based on the initial development and production of automotive electronics company known for the development of BOSCH, Germany, it is a distributed real-time control system to support serial communication local area network. Currently, CAN bus, with its high performance, high reliability, real-time advantages, which are widely used in the detection and control system for the implementation of data communication between agencies. CAN bus has the following technical characteristics:

● multi-master mode, adopt a non-destructive technique based on the priority bus arbitration;

● filter can be realized with more address to receive the frame transmission;

● data frame structure with a short, strong anti-interference, the information data frame error detection CRC checksum and other measures to improve;

● lost during the arbitration, or send an error Erzao because the frame can be detected automatically re-issued;

● serious mistake to turn off automatically when the bus function, so that other bus operators are not affected.

CAN bus line with ISO11898 standard, the maximum transfer rate of 1MB / s maximum transmission distance when the 40m; transmission rate 5kB / s maximum transmission distance when 10km.CAN bus transmission medium for twisted pair, coaxial cable, etc. . As the CAN bus is a very useful prospect field bus, so by Le internationally on many large firms, coupled with the hardware-based CAN bus interface, simple and convenient programming, and Ji Tong Rongyijicheng. Yinci it special for Yu System dispersive, demanding real-time, live environment interference occasions.

Based on the CAN bus ADμC812 Design of Intelligent Node

2 System Structure

As the CAN bus multi-master mode work, so it does not have the same DCS 控制 system topology. 其 system constitution by the computer and the smart nodes, as shown in Figure 1 is the system architecture. Gai system the most striking is that all nodes (including the host PC) can be attached to an equal status on the bus. a CAN bus node usually include at least three parts, namely, the MCU is responsible for mission control node, CAN bus controller and the CAN bus transceiver. This is given a complete data acquisition function of CAN node design.
3 CAN node hardware design

The CAN node circuit diagram shown in Figure 2. The three core components of the circuit is the microcontroller ADμC812 1 , independent CAN bus controller SJA1000 and the CAN bus driver PCA82C250. Which SJA1000 2 and PCA82C250 both The combination of applications have been in many of the design of CAN bus nodes used, and Ben designed the features of the Zaiyu, which yes Genju Yao complete data acquisition that specific Yaoqiu Lai Xuan Yong Weikongzhiqi ADμC812. Figure 2 serial interface Xinpian MAX232 as ADμC812 and PC, serial connection, its use is the single chip debugging features of the decision.

ADμC812 is a highly integrated, high-precision 12-bit data acquisition system, the product in its core integrated with on-chip reprogrammable non-volatile flash / electrical erase program memory, high-performance 8-bit (8051 compatible) MCU and multi-channel (8 input channels) 12-bit ADC.

As ADμC812 only through its serial port module and connect the computer's serial port without the need for additional simulator, which can make use of ADI's QUICKSTART software to implement the program online download, online debugging and on-line simulation, which greatly improves the work efficiency. This is the reason for this design using the MAX232.

Based on the CAN bus ADμC812 Design of Intelligent Node

The system at work, first of all sent from the sensor in front of industry-standard signal (4 ~ 20mA or 1 ~ 5V) through the conditioning circuit becomes 0 ~ 2.5V analog voltage signal input to the P0.0 ~ P0.7 ADμC812 (AD0 ~ AD7) pin (according to the actual situation to determine the number of ports required for AD), then control, then A / D conversion from the digital information sent through the CAN bus PCA82C250 SJA1000 and the related nodes.

SJA1000 microcontroller chip as the expansion of chip, the chip select pin CS should be connected to the P2.0 microcontroller, the CAN controller to be used to determine the address of the register. SJA1000 CAN bus drive through the link in the physical PCA82C250 bus. PCA82C250 device provides differential transmit capability to the bus and the CAN controller's differential ability to accept it in full and "ISO11898" standards-compliant. To further improve the system of anti-jamming capability, usually in the CAN bus controller SJA1000 CAN bus driver and increase access 6N137 PCA82C250 optical isolation between the chips, but not in Figure 2 that out. because of the communication signals transmitted to the wire reflection occurs when the endpoint, and the reflected signals can interfere with normal signal transmission, therefore, ends should be connected with the bus termination resistors R1, R2, to eliminate the reflected signal, the resistance and transmission lines should be roughly the same characteristic impedance.
4 CAN node software design

The node software program includes A / D converter (ADC), CAN controller initialization, CAN bus data, such as sending and receiving parts. The main program flow chart shown in Figure 3.

Based on the CAN bus ADμC812 Design of Intelligent Node

The following are the main components of this program design was elaborated.

4.1 A / D conversion section

The author used in this design is a single-step A / D conversion mode, and A / D conversion results into the specified data store. Concrete steps are as follows:

(1) by setting the ADC control register (ADCCON1 and ADCCON2) to determine the value of A / D converter sampling the work of state and channel number;

(2) enable ADC interrupt, set bit SCONV bit to start the single-step A / D conversion;

(3) wait for the ADC interrupt response, and enter the interrupt service routine;

(4) to sample data from the ADC-DATAH from ADCDATAL and remove the two special registers, and into pre-chip data memory, and then exit the interrupt service routine;

(5) to determine whether the required channel sampling is completed, if not completed, then set the sample channel and return to Step No. (2), if completed, has withdrawn from A / D conversion routines.

Through the program at any time based on the actual need to change the sampling channels, and sampling results directly into a designated data store, that in the future to send the data CAN bus facilitate.

4.2 SJA1000 initialization

CAN communication protocol is mainly completed by the CAN controller, and therefore, in order to achieve CAN node of data transfer, the initialization of the CAN controller is critical. This step directly determine the type of CAN Network Systems nodes are common comply with the agreement. initialized on the SJA1000 is in fact through its on-chip microcontroller registers write control word in all the process, the registers include the following:

REG CONTROL-internal control register address;

REG COMMAND-internal command register address;

REG STATUS - the internal status register address;

REG INTERRUPT-internal interrupt register address;
REG ACR-internal acceptance code register address;

REG AMR-internal acceptance mask register address;

REG BTR0-bus timing register 0;

REG BTR1-bus timing register 1;

REG OCR-output control register.

Of which: BTR0, BTR1 register contents can be used to determine the baud rate and the CAN system communication protocol physical layer synchronization jump width, therefore, a system for all nodes, the contents of two registers must be the same (including upper machine), or will not be able to communicate; OCR register used to determine the contents of the output of CAN controller mode; and write ACR, AMR will have to register according to the actual content of network systems and message identifier to decide. The design of , the author uses a BasicCAN mode.

Based on the CAN bus ADμC812 Design of Intelligent Node

After the completion of initialization, CAN controller can be running, but the data transceiver to achieve specific tasks, must also prepare a specific collection, hair procedures.

4.3 CAN bus to send and receive data

(1) to send part of the program design

CAN bus to send data using the flow chart shown in Figure 4. In fact, in running the process, often sending a frame of data found on one of the data has not been fully completed to send (you can check status registers REG STATUS The first four BIT TCS's obvious, hidden states can transmit data about the previous situation). Therefore, the author used approach is: to send by command utilization startup after this time, stop to check on the status register to determine the time to send is complete until the OK is completed. This will provide convenience for the next send, but also conducive to the smooth implementation of procedures to avoid errors.

(2) to receive part of the program design

Based on the CAN bus ADμC812 Design of Intelligent Node

Figure 5 shows part of the system to receive the software flow chart.

In fact, the response speed is not too high occasions, to check to design the receiving subroutine is the simplest, most reliable way. If you have data on the bus sent to the node, the first by querying the status register 1 BIT_RBS the bit state, will be aware of receive buffer (RXFIFO) the available information, then the software will RXFIFO the data one by one "moved" to a designated on-chip storage space can be. For such a key to data collection capabilities based CAN node, the data is mostly from the CAN network in the "control center" made to the control signal, designed to leave them for further processing on it ADμC812.

It should also be noted are: receiving inquiry, to "observe" whether You bus Guanbi, bus error, buffer overload Deng receiving state, if any, must go through corresponding "error" Chuli, otherwise they could no data received, there is a question about the remote frame handling. limited space, this is not an introduction.

5 Conclusion

Practice shows that: the CAN bus described in this article intelligent node can implement the industry standard analog output signals on the collection as well as other nodes on the CAN bus communication. As the node is based on the MCU ADμC812 development, so it's small size and expansion flexibility. I believe that the microcontroller based on the various bus nodes will be widely used.

Declined comment

亚洲a视频在线观看| 亚洲动漫第一页| 日韩欧美色综合网站| 国内免费精品永久在线视频| 久久99国产精品一区| 动漫性做爰视频| 国产不卡一区二区在线播放| 日韩理论片中文av| 免费毛片在线播放免费| 色综合天天做天天爱| 久久精品国产美女| 午夜一级免费视频| 国产又粗又猛又黄又爽无遮挡| 十八禁一区二区三区| 欧美视频在线观看一区二区| 精品国产91久久久久久老师| 欧美资源在线观看| 黄色一级片一级片| 国语对白做受xxxxx在线中国| 欧美午夜性色大片在线观看| 欧美精品韩国精品| 成人av无码一区二区三区| 国产成人午夜99999| 伊人亚洲福利一区二区三区| 亚洲 欧美 另类人妖| 少妇一级淫免费观看 | 北条麻妃在线观看视频| 中文字幕一区二区人妻| 国产欧美综合色| 欧美日本国产视频| 91精品国产综合久久久久久蜜臀| 屁屁影院ccyy国产第一页| 三级在线观看免费大全| 亚洲男人的天堂一区二区| 91视频 - 88av| 高清乱码毛片入口| 国产亚洲精品高潮| 69av在线视频| 亚洲一区二区在线视频观看| av女名字大全列表| 欧美精品免费看| 美女诱惑黄网站一区| 国产日韩欧美中文| 久久午夜夜伦鲁鲁一区二区| 亚洲精品喷潮一区二区三区| 亚洲精品mp4| 欧美极品一区| 欧美日韩生活片| xxxxx在线观看| 亚洲欧洲精品天堂一级| 国产综合欧美在线看| 国产大片aaa| 日韩欧美不卡在线观看视频| 在线不卡欧美精品一区二区三区| 都市激情久久久久久久久久久| 天堂网中文在线观看| 在线观看日韩国产| 亚洲免费电影一区| 免费中文字幕日韩| 亚洲综合视频1区| 亚洲一区二区在线视频| 91久久国产综合| 96pao国产成视频永久免费| 一区二区成人在线| 无码人妻av免费一区二区三区| 久久精品第九区免费观看| 在线观看中文字幕不卡| 午夜成人鲁丝片午夜精品| 一级日本黄色片| 国产日韩在线看片| 日韩一区在线播放| 成人黄色激情视频| 午夜伦理一区二区| 日韩久久久久久久久久久| 午夜不卡av免费| 污视频网址在线观看| 91美女福利视频| 老司机av福利| 国产日韩av一区| 欧美性受xxxx黑人猛交88| 国产亚洲欧美色| 欧美视频在线观看网站| 中文字幕一区二区三区四区不卡| 最新视频 - x88av| 亚洲免费在线视频| 九九九九免费视频| 色诱视频网站一区| 无码人妻aⅴ一区二区三区| 亚洲精品在线电影| 日韩福利片在线观看| 国产一区二区三区视频免费| 丰满圆润老女人hd| 日韩在线观看成人| 激情小说中文字幕| 国产一级揄自揄精品视频| 天天色天天综合| 色哟哟入口国产精品| 一区二区三区午夜| 国产 高清 精品 在线 a| 男人的天堂久久精品| 中文字幕人妻熟女在线| 亚洲欧美国产精品专区久久 | 手机精品视频在线观看| 欧美日韩午夜爽爽| 精品日韩成人av| 国产后入清纯学生妹| 国产a级黄色大片| 91精品免费观看| 一级久久久久久久| 成人高清在线观看| 国产精品亚洲视频| 成人黄色片视频| 亚洲欧洲在线观看| 无码国产精品高潮久久99| av动漫在线播放| 黄色精品在线看| 黑人巨大精品一区二区在线| 国产精品久久在线观看| 久久影视一区二区| 性欧美精品男男| 国产精品日韩久久久久| 久久久国产精品不卡| 国产真实乱子伦| 91久久精品国产91性色tv | 一区二区三区播放| 精品成人av一区| 一区二区三区四区视频在线观看| 欧美亚洲一区二区在线观看| 亚洲精品天堂网| 91性高湖久久久久久久久_久久99| 亚洲一区二区三区视频在线播放| 欧美亚洲国产怡红院影院| 日韩国产欧美精品一区二区三区| 精品人妻aV中文字幕乱码色欲| 亚洲中文字幕无码中文字| 欧美精品一级二级| 午夜性色福利视频| 亚洲高清在线观看一区| 亚洲美女视频网站| 亚洲av无码国产精品久久不卡 | 日韩精品1区2区| 五月天亚洲综合情| 欧美日韩一区二区三区四区 | 日韩精品人妻中文字幕| 日本一区视频在线| 一本一本大道香蕉久在线精品 | 高清国产在线观看| 美女在线免费视频| 日韩中文字幕av| 亚洲精品免费视频| 亚洲第一精品在线观看| 久久久久一区二区| 色一区av在线| 91麻豆国产精品久久| 精品少妇久久久| 一级做a爰片久久| 欧美伦理91i| 亚洲国产激情av| 国产人妻精品一区二区三区 | 蜜桃视频在线观看一区| 国产乱码久久久久久| 无码播放一区二区三区| 国产欧美日本在线| 97国产精品视频| 日韩av在线电影网| 日韩欧美国产高清91| 久久久久国产免费免费| 亚洲欧美日韩精品永久在线| 特级做a爱片免费69| 2019男人天堂| 男男受被啪到高潮自述| 欧美成人精品免费| 久久久国产精品一区二区三区| 国产999视频| 欧美日韩国产成人在线| 精品香蕉一区二区三区| 欧美日韩精品三区| 精品女同一区二区三区在线播放| 久久久久久**毛片大全| 国产精品一级黄| 天天操天天射天天舔| 一本色道久久综合亚洲| 久久国产黄色片| 免费一级片在线观看| 老司机精品免费视频| 很污的网站在线观看| 欧美中文字幕一区二区三区| 国产精品嫩草影院av蜜臀| 国产精品麻豆久久久| 亚洲日本中文字幕区| 国产日韩欧美综合在线| 成人精品国产福利| 99久久伊人久久99| 国产成人av电影在线观看| 免费在线观看成人| 欧美aaa在线| 老司机精品视频在线| 久久福利视频一区二区| 久久一区中文字幕| 毛片基地黄久久久久久天堂| 青青草97国产精品免费观看无弹窗版 | 任我爽在线视频| 久久中文字幕在线观看| 好看的av在线| 国产特黄一级片| 蜜臂av日日欢夜夜爽一区| 久久精品国产秦先生| 国产精品99久久不卡二区| 国产成人丝袜美腿| 国产亚洲欧洲一区高清在线观看| 国产精品理伦片| 洋洋av久久久久久久一区| 精品久久久久久国产| 色天天综合色天天久久| 欧美一二区视频| 日韩中文字幕视频| 欧亚精品中文字幕| 91麻豆桃色免费看| 色狠狠久久av五月综合|| 日本日本19xxxⅹhd乱影响| 精品人妻二区中文字幕| 精品少妇久久久| 丰满人妻一区二区三区免费| 成人午夜电影网站| 五月天久久比比资源色| 日日骚久久av| 日本乱人伦a精品| 国产精品午夜av在线| 欧美 日韩 国产 在线观看| 在线视频日韩一区| 中文字幕免费高清| 久久精品免费av| 国产三级按摩推拿按摩| 男女男精品网站| 国产精品欧美久久久久无广告| 精品免费在线视频| 亚洲欧洲偷拍精品| 亚洲大胆人体av| 久久人体大胆视频| 久久一区二区精品| 成人妇女淫片aaaa视频| 久久久成人精品一区二区三区| 在线播放第一页| 日韩在线播放中文字幕| 成人综合在线观看| 欧美日韩国产综合一区二区三区 | 午夜成人免费视频| 亚洲成人精品久久| 亚洲国产成人精品女人久久久 | 亚洲电影网站| 不卡av免费在线| 亚洲国产精品无码久久久久高潮| 久久成人小视频| 国产乱淫片视频| 成人午夜在线播放| 一本大道综合伊人精品热热 | 91av视频导航| 欧美二区三区| 精品久久久久久久无码| www国产亚洲精品久久网站| 精品国偷自产在线视频| www.亚洲视频.com| 中文字幕久久久久| 香蕉影视欧美成人| 中文字幕一区二区三区电影| 久久精品视频免费播放| 色yeye香蕉凹凸一区二区av| 日韩中文在线字幕| 久久色成人在线| 4444亚洲人成无码网在线观看 | 国产日韩成人内射视频| av免费在线观看不卡| 一区二区三区四区在线免费观看 | 色婷婷在线影院| 国产精品久久久久精| 欧美丝袜一区二区三区| 日韩免费精品视频| 九色精品免费永久在线| 欧美在线一区二区视频| 国精产品一区二区三区| 亚洲丰满少妇videoshd| 亚洲国产精品毛片| 日韩电影在线观看电影| 米奇精品一区二区三区在线观看| 国产黄色录像视频| 日本高清免费不卡视频| 亚洲国产精品无码观看久久| 日韩国产成人精品| 国产精品男女猛烈高潮激情| 国产精品第二十页| 亚洲欧美制服第一页| 五月天av在线播放| 亚洲少妇屁股交4| 400部精品国偷自产在线观看 | 成人黄色综合网站| 91天堂在线观看| 亚洲av无码一区二区三区在线| 国产成人欧美日韩在线电影| 狠狠躁夜夜躁人人躁婷婷91| 91超碰caoporn97人人| 嫩草av久久伊人妇女超级a| 久久人人爽人人爽人人片av免费| 久久久精品综合| 俺去了亚洲欧美日韩| www.xxx麻豆| 天天综合久久综合| 午夜影视日本亚洲欧洲精品| 欧美亚洲一区在线| 欧美精品色视频| 久久久久国内| 91精品国产一区二区| 国产一区二区三区四区五区在线 | 成年人晚上看的视频| 欧美国产精品v| 欧美在线不卡区| 俄罗斯精品一区二区三区| 日本一区二区高清视频| 精品成人无码久久久久久| 亚洲欧美日韩系列| 成人在线中文字幕| 丰满少妇乱子伦精品看片| 成人aa视频在线观看| 日韩暖暖在线视频| 黄色av网址在线| 亚洲精品一区久久久久久| 国产九九九九九| 无码精品黑人一区二区三区| 午夜精品福利在线观看| 可以在线观看av的网站| 亚洲成人教育av| 88xx成人精品| 欧美伊人久久大香线蕉综合69 | 成人一区二区电影| 久久久精品视频免费观看| 亚洲一区av在线| 国产精品一码二码三码在线| 欧美亚洲另类小说| 欧美色综合网站| 中国女人做爰视频| 美女尤物国产一区| 欧美成年人网站| 精品人妻中文无码av在线| 午夜亚洲国产au精品一区二区| 色综合视频二区偷拍在线| 国产视频一区二区三| 在线国产精品播放| 在线观看日韩精品视频| 亚洲精品午夜久久久| 久久久久久国产精品mv| 亚洲AV无码精品色毛片浪潮| 亚洲国产三级网| 国产精品日日摸夜夜爽| 亚洲一区自拍偷拍| 黄页网站在线观看视频| 国产一区二区在线看| 成人精品视频在线| av中文在线播放| 精品国产一区二区三区不卡| 国产成人福利在线| 久久久99精品免费观看不卡| 久久久久久一区| www一区二区| 亚洲av片不卡无码久久| 欧美日韩黄色一区二区| 国产一区亚洲二区三区| 亚洲国产成人av网| 成人在线电影网站| 色噜噜国产精品视频一区二区| 99视频免费看| 久久久久国产精品麻豆| 亚洲高清资源综合久久精品| 18涩涩午夜精品.www| 麻豆天美蜜桃91| 成人免费视频网| 亚洲国产成人在线| a视频免费观看| 午夜精品视频网站| 久久久久青草大香线综合精品| 两根大肉大捧一进一出好爽视频| 性久久久久久久久| 中出视频在线观看| 欧美激情区在线播放| 午夜福利视频一区二区| 亚洲精品少妇一区二区| 日韩亚洲欧美在线观看| 在线播放亚洲精品| 91影院在线免费观看视频| 亚洲AV无码成人片在线观看 | 国产精品羞羞答答| 热久久一区二区| 国产综合色一区二区三区| 亚洲av电影一区| 夜夜爽www精品| 亚洲欧洲日本在线| 一级黄色片毛片| 日韩成人av在线| 不卡av电影在线| 国产精品国产精品| 久久亚洲免费视频| 久久午夜夜伦鲁鲁一区二区| 欧美午夜不卡在线观看免费| 蜜桃无码一区二区三区| 精品国产一区二区在线| 99久久99久久久精品棕色圆| 99porn视频在线| 中文字幕亚洲一区二区av在线 | 国模叶桐国产精品一区| 99热这里只有精品在线观看| 久热这里只精品99re8久| 亚洲五码中文字幕|