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

Experiments based on CAN bus electrical system design guide

Abstract: Based on the CAN (Controller Area Network) protocol and its application in research, using CAN communications controller, CAN transceiver, as well as enhanced micro-controller components, developed and developing applications based on CAN bus system - - Electrical test guidance system

Introduction

In the production of field control system, intelligent equipment and Chang Gui electrical equipment Di installation, commissioning and maintenance requires considerable technical staff Shu Liang Di electrical, how Gao Xiao, volume, 規(guī)范 to train Gao Ji Jiao electrical apparatus manufacturers Caozuorenyuan yes urgent problem. It requires equipment with communication capabilities, training process for teachers to acquire the dynamic indicators, to understand the actual experimental conditions students can control the experiment process to achieve guidance.

Based on the CAN (Controller Area Network) protocol and its application in research, using CAN communications controller, CAN transceiver, as well as enhanced micro-controller components, developed and developing applications based on CAN bus system - Electrical Engineering Laboratory guidance system, the electrical network laboratory experiment out of teaching courses, thereby changing the shortage of conventional teaching methods for students to be more independent, flexible and complete the experimental task, and can be extended according to their experimental conditions for the establishment of open experiment training facilities and lay a good foundation base, but also to make students understand the real value of the network experiments to understand the CAN bus control technology basics.

1 CAN bus network communication protocol layer model

Applications for different areas of application of choice of different norms, the general areas of application, a "command - response" model of communication protocols, we would achieve reliable and effective "master - slave" type of communication 網(wǎng)絡(luò). If you need a great deal of data exchange or communication flexible CAN network, you can use some of the standard multi-master communication protocol, such as HilonB agreement or agreements with CAN2.0 the definition of a remote frame. In the field of automotive electronics products, usually directly by reference or other standard specification J1939. Communication design in power, the regular use of DeviceNETV2.0 specification, the specification has been adopted by national standards in China. Communication in the field of intelligent buildings, the general use of Modbus protocol or continue to use the RS-485 mode of "master - slave" protocol.

The system for establishing the actual CAN bus communication network, the use of the underlying hardware to achieve the CAN physical layer, data link layer control. Application CAN2.0A / B agreement communication error detection mechanisms such as the CAN bus communication network to ensure the reliability of an established user protocol layer communication protocols, and network traffic data stream interpretation and management. The user protocol layer (application layer) communication protocol by the data frame and remote frame format defined to achieve, and are "master - slave" type of structure
2 Hardware system components and design of the hardware module

Fieldbus based electrician experimental guidance system hardware consists of the host, interface cards, smart node (slave) component. Host Zhongyou application and database, etc. Wen Jian; CAN Interface Card is the bridge to achieve communication, 同時(shí) in networking Ta also serves as a node; Zhinengjiedian You based on field bus, single chip technology for data collection and transmission modules and physical operations Jiexianzhuangzhi etc.. Node can be under the control of the computer's electrical experiments on the students intelligent guidance.

2.1 Data Acquisition and Transmission Module

Data acquisition and transmission module can be divided into five main parts, namely: the composition of the host portion of the MCU AT89S52; by the SJA1000, PCA82C250, optical isolation circuit composed of CAN bus control and interface section; from the 5V reference voltage source, driver transistor, LED lights, digital tubes, power and display parts; using four 8255 as the I / O port expansion, and with operator back-end interface circuit digital data conversion and acquisition part; actual operatives bit.

AT89S52 MCU as a host, is responsible for initialization of the SJA1000, SJA1000 achieved by controlling the receive and transmit data such as communication, the implementation of the experimental data collection, using P1 port to control the dynamic scanning display relevant data to guide the experiment. Choose 74L, S373 as an address latch with a 74LS138 on the 8255, SJA1000 for chip select.

2.1.1 CAN bus control and interface section

From the machine running the process, as required to complete a number of host CPU tasks requires a certain degree of flexibility at the same time, the system needs to have some scalability, therefore, the CAN controller from the machine selection Philips company SJA1000. Chosen as the CAN bus PCA82C250 transceiver, it is the physical layer CAN protocol controller and the question of interface, with anti-transient, anti-RF and anti-electromagnetic interference performance, internal limiting circuit with short circuit on the transmission output level protection functions. In the node (station machine) was inserted between the coupler and the media circuit, that is, the TX0 and RX0 SJA1000 is not directly related to the TXD and RXD 82C250 connected, but after high-speed optocoupler 6N137 connected with 82C250. 6N137 separated for high-speed optical devices, as the outside line and asked the isolation system, using two completely separate power supply VCC and VDD are two parts of the optocoupler circuit power supply, so as to achieve complete isolation between the signals, so that effectively improve the system of anti-jamming capability and internal security of the system. SJA1000 of ADO ~ AD7 the P0 port to connect to the AT89S52, CS connected to the Y4 74LS138 port, Y4 is 0, CPU chip memory address optional in the SJA1000, CPU through these addresses can perform the appropriate read and write operations SJA1000, SJA1000 of RD, WR, ALE AT89S52 respectively connected to the corresponding pin can be connected INT AT89S52 the INT0 or INT1. AT89S52 can be interrupted or query access SJA1000, INT can also be connected to other ports AT89S52 using query access SJA1000. Interface circuit shown in Figure 1.
2.1.2 Data Conversion and acquisition part

1) Data Conversion Circuit

According to electrical control theory analysis and research, from which optimized kind of general wiring methods, to the point Dui Ying Yi Ci by order of operations to the CPU's I / O port provides Yidingguize the 5 V level, you can 完成 Cai Yang and Shu Zi amount of conversion. Students for the operator and the actual position of the positive terminal connector, the rear is connected to the signal line, signal line and the other end of the port 8255 of a fixed phase.

2) the sampling circuit

Station side machine 4 8255 as I / O port expansion, and through 20 kΩ pull-down resistor and the corresponding back-end operator position terminal phase. Initialization in 8255, allowed to work in the way of ordinary time, this time, if a terminal is high, then the corresponding 8255 I / O port can be collected high. If all terminals are high, then the total current will be close to 7805 the maximum output current. Therefore, the need to use split-phase, sub-circuit method, the experiment guide operation, completion of the pilot's guidance tasks. 2.1.3 MCU access to the hardware addresses of the various parts of the circuit

Hardware circuit design is completed, the access address can be determined according to the specific situation. In this paper, P2.5 ~ 2.7 port to control 74LS138, 8255, respectively 4 and SJA1000 to chip select and access. The access address as shown in Table 1.

Experiments based on CAN bus electrical system design guide

3 CAN-bus electrical system node test software

3.1 Data acquisition and display in the node to achieve

In this paper, AT89S52 MCU as the station (node) system control, data acquisition and display of the core, using Keil uVision2 integrated development environment for software development and debugging.

As the machine needs to be done from the display, data acquisition and transmission capabilities, so at least by two interrupt source control, the INT0 and T0. Of which: INT0 is used to indicate CAN Bus data reception and transmission process such as external interrupt; T0 control display scan clock. Data sampling process is divided into two situations: First, automatic initialization of the initial sampling; Second, during the running of the program, when the received data frame, the automatic implementation of a sample.
1) showed that some of the functions and process analysis

Shows there are three kinds of circuit function: display initialization is successful, the experimental error and the steps the students instructions and other information. This information is user-based hardware and software needs of their own definitions. In this paper, 74LS47 decoder driver IC to drive and display control. By software running, so P1 port control 6, respectively yang side of the digital control off, while the P0 port to the 74LS47 decoder driver circuit to provide data to realize the display of dynamic scan control. Initializing a custom display for the normal 004 321, during normal operation display issue number, phase number, grade or step wiring error number when an error flag.

2) the principle of data acquisition and process analysis

The principles of data collection is: CPU through the port P2 corresponding Qi pin control to its counterpart in the Fenxiang first terminal Tigong 5 V Dianping, the other contacts by Yi Ding Xiang Lian Yongxinhaoxian rules so that each power level Duan Zi Shang Chuxian 0 or high, so the corresponding terminal state can be read by 8255. That a certain sequence of wiring can be read in the corresponding 8255 data in different sampling. 8255 Each port can read an 8-bit binary number (1 byte), these steps associated with the experimental data, so that each operation have different data. The system needs 4 8255, obtained a sample of 12 8-bit binary number.

RAM space in the microcontroller to set up a 20-byte array as a collection of data storage space. In the power-on reset, so that 8255 are initialized to the ordinary reading methods to initialize the array to write data. Normal operation, each received a data frame to conduct a data collection. The data collected directly by CAN bus communication frame format, the contents of the array is updated, to prepare to read and upload. Data acquisition memory address and content shown in Table 2.

Experiments based on CAN bus electrical system design guide

3.2 Communication Software

Main points in this article using PC15121 interface card as the interface device, in communication with the protocol established, the main station and the communication from the station can call the interface functions of the product to achieve. From the station (station) CAN nodes control software is modular in design. There are five modules: SJA1000 initialization module, SJA1000 receive data module, SJA1000 send data module, SJA1000 error processing module; systems and other mission modules.

3.3 The procedures for the operation of smart nodes

From the main function for hardware initialization, enter the normal display, waiting for an interrupt event occurs, receive data frames, data processing and delivery was, waiting to receive remote frames and return the required data frames and data acquisition. The main program flow shown in Figure 2. External interrupt service program flow shown in Figure 3.

Experiments based on CAN bus electrical system design guide

In the host program design, interface and data processing algorithms process design is the key. Among them, the host interface card can be used as an intelligent node, network, data communication is mainly the card operation.

4 Conclusion

This article on the CAN bus network hardware and software systems analysis and research, using one kind of networking protocol based on CAN bus and data transmission mode and experimental Zhidao 其 used in electrical systems to "Zhu 1 from" Tongxinmoshi Network communication, to achieve the expected goal. Equipment to meet the test environment.

Declined comment

欧美日韩在线免费观看视频| 偷拍视频一区二区| 琪琪亚洲精品午夜在线| 国产精品1区2区在线观看 | 国产精品久久免费看| 久久婷婷国产综合国色天香| 亚洲特级片在线| 欧美午夜www高清视频| 欧美日韩国产色站一区二区三区| 5月丁香婷婷综合| 亚洲精品自拍偷拍| 久久成人综合视频| 国产欧美精品在线| 日本高清视频一区二区三区| 91网站在线观看免费| 国产高清视频网站| 99久久久无码国产精品性| 青青草手机视频在线观看| 国产精品久久久久久久久久精爆| 99国产成人精品| 精品一区二区精品| 日本一区二区久久| 欧美性受xxxx黑人xyx性爽| 日韩精品久久久久久久玫瑰园| www.亚洲一区| 成人免费视频97| 一区二区三视频| 牛夜精品久久久久久久| 欧洲美熟女乱又伦| 成人综合婷婷国产精品久久蜜臀 | 99久久精品一区| 日本一区二区三区四区| 丰满少妇在线观看资源站| 波多野结衣 在线| 久久午夜无码鲁丝片| 亚洲国产www| 91亚洲国产成人精品一区二三| 精品国产成人av| 亚洲黄色有码视频| 国产精品都在这里| 性生活免费观看视频| 国产免费无码一区二区| 中文字字幕在线中文| 美女一区二区三区在线观看| 久久免费看少妇高潮| 欧美三级日韩在线| 久久久久五月天| 欧美精品亚洲| 性xxxxxxxxx| 无码人妻丰满熟妇精品| 粉嫩av一区二区三区在线播放| 夜色激情一区二区| 一区二区三区国产视频| 国产不卡一区二区在线观看| 久久综合伊人77777麻豆最新章节| 91免费在线看片| 久久国产日本精品| 日韩美女久久久| 亚洲欧美日韩一区在线| 国产伦精品一区| www.桃色.com| 亚洲一区二区色| 中文字幕欧美日韩一区| 亚洲欧美制服丝袜| 麻豆久久久av免费| 人体私拍套图hdxxxx| 亚洲免费成人在线| 亚洲国产成人精品视频| 欧美另类69精品久久久久9999| 色姑娘综合网| 国产91在线播放九色| 青娱乐精品视频在线| 欧美午夜理伦三级在线观看| 国产精品大陆在线观看| 国产免费又粗又猛又爽| 中国老头性行为xxxx| 中文字幕亚洲精品在线观看| 久久久精品久久| 欧美亚洲视频一区| 天天看天天摸天天操| 国产成人免费xxxxxxxx| 亚洲成人网久久久| 亚洲国产精品一区在线观看不卡| 中字幕一区二区三区乱码 | 久久婷婷久久| 不卡av电影在线播放| 亚洲第一视频网| 国产99久久精品一区二区永久免费 | 51精品国自产在线| 亚洲国产精品人久久电影| 亚洲日本欧美在线| 在线观看免费国产视频| 欧美俄罗斯乱妇| 91亚洲一线产区二线产区 | 熟女高潮一区二区三区| 中文字幕五月天| 天堂在线中文网| 在线观看视频一区二区| 色婷婷久久一区二区| 欧美激情区在线播放| 自拍日韩亚洲一区在线| 成人一区二区三区| 亚洲成人你懂的| 99在线视频精品| 成人性生交大片免费看视频直播 | 亚洲一级中文字幕| 国产精品久久久一区麻豆最新章节| 国产91在线亚洲| 亚洲精选在线视频| 99草草国产熟女视频在线| 国产精品不卡一区二区三区| 欧美最猛性xxxxx亚洲精品| 成人精品久久久| av网站有哪些| 久久久久国产一区二区三区四区 | 久久久精品午夜少妇| 久久久久久麻豆| 法国空姐在线观看免费| 国产综合成人久久大片91| 精品国产123| 先锋影音日韩| 免费观看日批视频| 久久精品免费看| 国产精品爱久久久久久久| 国产无码精品视频| 爱情岛论坛亚洲入口| 久久久噜噜噜久久中文字幕色伊伊| 香蕉视频在线网址| 91在线精品一区二区| 亚洲一区二区三区四区视频| 性农村xxxxx小树林| 成人黄色a**站在线观看| 在线成人一区二区| 少妇性l交大片7724com| 在线观看国产精品视频| 678五月天丁香亚洲综合网| 国产一卡二卡在线| 同产精品九九九| 欧美性三三影院| 国产麻豆剧传媒精品国产av| 久久一级免费视频| 欧美一级日韩不卡播放免费| 无码人妻一区二区三区在线| 欧美乱妇15p| 国产精品久久久久aaaa九色| av亚洲精华国产精华精| 99re久久精品国产| 日韩精品在线观看网站| 在线免费日韩av| 国产精品欧美经典| 国产精品久久久久久久天堂| 亚洲综合网在线| 欧美一区二区三区在线观看视频| 超碰成人在线免费观看| 韩国三级与黑人| 国产精品欧美激情在线| 国产精品天干天干在线综合| 久久久久国产精品免费| 在线观看国产小视频| 日本欧美一级片| 四虎884aa成人精品| 精品亚洲男同gayvideo网站 | 欧美国产精品一二三| 久久国产欧美精品| 日韩亚洲欧美成人一区| 国产三级av片| 国产成人精品在线观看| 日韩男人的天堂| 日韩中文在线观看| 老熟妇一区二区三区| 久久精品色欧美aⅴ一区二区| 天天爽天天爽夜夜爽| 亚洲午夜激情av| www.久久网| 国产日韩精品在线| 国产福利一区在线| 最新天堂在线视频| 一区二区日韩视频| 欧美自拍视频在线| 中文字幕视频一区| 欧美性潮喷xxxxx免费视频看| 日韩美女精品在线| 日韩不卡av在线| 69堂成人精品免费视频| 黄色三级视频在线播放| 日本久久电影网| 亚洲av熟女高潮一区二区| 91麻豆精品国产91久久久资源速度 | 欧美 日韩 国产 成人 在线 91| 欧美中文字幕视频在线观看| 天天做天天干天天操| 中文字幕精品—区二区| 激情小说亚洲一区| 国产美女www爽爽爽| 免费成人深夜蜜桃视频| 日韩a在线播放| 亚洲xxxxx| 欧美va在线播放| 国产精品theporn动漫| 亚洲人成网7777777国产| 人人狠狠综合久久亚洲| 色综合久久av| 欧美精品一区二区三区蜜臀| 9久久婷婷国产综合精品性色| 亚洲成人一区在线| 成 人 黄 色 片 在线播放| 午夜精品久久久内射近拍高清 | 中文字幕不卡在线视频极品| 极品人妻videosss人妻| 欧美一级在线视频| 国产麻豆午夜三级精品| 精品少妇一二三区| www男人天堂| av片中文字幕| 国产精品对白一区二区三区| 伊人亚洲福利一区二区三区| 性猛交富婆╳xxx乱大交天津| 麻豆视频传媒入口| 亚洲黄色有码视频| 久久av中文字幕片| 亚洲一级生活片| 97在线中文字幕| 少妇av一区二区| 999热视频| aa级大片欧美| 中文字幕无码不卡免费视频| 精品国产成人在线| 久久电影网站中文字幕| 午夜男人的天堂| 亚洲精品中文字幕av| 成人性生交大片免费| 日韩三级视频在线| 久久精品视频8| 欧美精品久久| 美日韩精品免费| 亚欧精品在线| 尤物在线免费视频| 日韩欧美高清dvd碟片| 黄色片一区二区| 久久久免费看片| 欧美日韩在线中文| 91成人国产在线观看| 日韩激情av在线| 免费毛片网站在线观看| 亚洲色图av在线| 蜜桃精品在线观看| 国产男女激情视频| 欧美黑人在线观看| 91啪国产在线| 中文字幕五月欧美| 麻豆一区二区在线观看| 天天综合网天天综合色| 在线观看91av| 亚洲老板91色精品久久| 97视频在线观看免费| 日韩免费在线视频| 91青青草免费在线看| 性欧美亚洲xxxx乳在线观看| 91麻豆精品国产91| 91欧美一区二区| 一区二区三区精彩视频| 亚洲成人网在线播放| 91视频免费入口| 欧美午夜aaaaaa免费视频| 久久在精品线影院精品国产| 福利一区福利二区| 成人欧美一区二区三区黑人一 | 动漫精品一区二区| 久久综合色8888| 92久久精品一区二区| 天天综合网久久综合网| 国产亚洲欧美精品久久久www| 成人毛片视频免费看| 亚洲女爱视频在线| 日韩精品在线免费观看视频| 欧美激情第一页xxx| 欧美激情精品久久久久久变态 | 日韩视频在线免费观看| 一本久久综合亚洲鲁鲁五月天 | 亚洲国产精品午夜在线观看| 亚洲国产日韩美| 九九视频这里只有精品 | 亚洲成人精品一区二区| 精品久久久久久无码中文野结衣| 亚洲 日韩 国产第一区| 狠狠综合久久av| 久热精品视频在线观看一区| xxx一区二区| 一本一道综合狠狠老| 一本色道久久综合狠狠躁篇怎么玩 | 黄色正能量网站| 精品国产免费一区二区三区 | 国产黄页在线观看| caoporm在线视频| 444亚洲人体| 精品免费国产| 在线观看日韩羞羞视频| 人妻av无码专区| 国产精品美女主播| 欧美成人午夜免费视在线看片 | 青娱乐国产在线| 久久综合色播五月| 亚洲欧美国产日韩中文字幕| 69精品丰满人妻无码视频a片| av黄色免费网站| 日韩中文字幕不卡| 久久精品欧美日韩精品| 亚洲精品视频在线看| 久久精品一区二区三区四区| 色综合网站在线| 国产一区二区片| 成人黄色午夜影院| 国产精品久久久久久久久久新婚 | 欧美一级淫片aaaaaaa视频| 91精品国产高清久久久久久久久 | 亚洲色图久久久| 国产xxxx振车| 中文字幕第80页| 欧美成人免费观看视频| 亚洲图片小说视频| 国产高清中文字幕| 亚洲第一香蕉网| 国产精品高潮呻吟AV无码| 麻豆国产精品一区二区三区 | 日韩三级在线播放| 五月婷婷六月香| 亚洲欧美日韩国产yyy| 欧美男女交配视频| 五月天六月丁香| 国产精品无码天天爽视频| 国产高清无密码一区二区三区| 欧美久久一区二区| 精品视频一区在线视频| 在线色欧美三级视频| 国产精品美女无圣光视频| 一本—道久久a久久精品蜜桃| 欧美成年人在线观看| 欧美最猛性xxxxx直播| 91 中文字幕| 中文字幕在线看高清电影| 在线观看国产精品一区| 五月激情丁香网| 久久婷婷丁香| 久久久午夜精品理论片中文字幕| 亚洲精品视频免费看| 国产精品久久久久久久久免费桃花| 亚洲最大的成人av| 中文字幕一区二区三区蜜月 | 在线观看18视频网站| 丰满爆乳一区二区三区| 久久国产精品网| 97国产精东麻豆人妻电影 | 97人人模人人爽人人喊38tv| 狠狠爱一区二区三区| 精品免费国产| 欧美污视频网站| 岛国精品一区二区三区| 国产高潮视频在线观看| 毛茸茸多毛bbb毛多视频| 91丨porny丨对白| 永久免费未视频| wwwxxx亚洲| 欧美一级免费片| 97精品电影院| 一本大道久久a久久精二百 | 亚洲大尺度在线观看| 一区不卡在线观看| 日本aⅴ亚洲精品中文乱码| 日本系列欧美系列| 国产麻豆视频精品| 欧美一区二区三区思思人| 国产欧美日韩在线播放| 国产ts在线观看| 亚洲AV无码一区二区三区少妇| 亚洲国产成人av好男人在线观看| 日韩欧美自拍偷拍| 欧美一区第一页| 国产xxxxx在线观看| 国产精品热久久| 亚洲欧洲av一区二区三区久久| 日韩视频在线你懂得| 麻豆国产精品官网| 国产精品久久久久久免费免熟| 欧美成人aaa片一区国产精品| 国产性生活毛片| 欧美美女一级片| 人妻精品无码一区二区三区 | 欧美日韩国产精品一卡| 国产精品视频久久久久| 欧美激情免费视频| 日韩在线观看高清| 亚洲国产精品成人精品| 在线成人av网站| 91国模大尺度私拍在线视频| 福利一区视频在线观看| 亚洲一二三四久久| 亚洲欧美日韩电影| 亚洲男帅同性gay1069| 中文一区二区在线观看| 99国产精品国产精品久久| 成人aa视频在线观看| 国产福利视频一区二区三区| 激情文学综合插| 寂寞少妇一区二区三区| 久久99精品久久久| 久久99精品久久久久久动态图| 精品一区二区在线视频| 国产一区二区在线影院| 国产精品一品二品| 99热99精品|