91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫

CAN bus based distributed grid sub-health monitoring system

Abstract: In view of the need for safety monitoring of a grid design of a distributed health monitoring system, introduced in the distributed system using controller area network (CAN) communication network module form a distributed program. Detail based on the CAN bus controller SJAl000 acquisition system design and specific design of hardware and software design to solve easily in the problems encountered.

In the construction of a large network structure, because of the special network structure and its geographical location in the typhoon-prone coastal areas, requiring high-speed data acquisition system designed network structure of the health status of the real-time monitoring, and data real-time analysis and assessment. Due to the need by the force conditions on the grid on the multi-point monitoring, consider Dao hardware Jizhongkongzhi Kuozhannengli Chai and Zai Xian Chang construction has Jiaoda the wiring Kunnan for this reason, a widely used in 分布式 system design, Jiang Ge Ge control unit located in the collection point on the scene. In order to achieve a distributed system monitoring and control functions, need to establish good communication in order to complete the system host with the intelligence unit of information exchange and communication between. According to the characteristics of the data acquisition system, its communications system should have good reliability, adaptability, scalability and simplicity of connection, and can meet the needs of long-distance transmission. Because this data collection system over the number of nodes (100 Lu), on the signal transmission speed is high and low bit error rate, using 485 data acquisition system built the traditional way, the maximum control point can only have 32 of the more than lkm speed routing structure only lOOkbps, and the "data collision" and "deadlock" and other issues not easily resolved, with 485 clearly does not meet design requirements.

CAN bus based distributed grid sub-health monitoring system

Compared with the traditional 485 speaking, the controller area network CAN (Controller Area Network) as a field bus, with its time-sharing multi-master, non-destructive automatic bus arbitration and error detection re-issued so flexible and reliable communications technology solve the 485 on-site commissioning difficulties, problems and long development cycle [1]. Especially in the more difficult installation environments, efficient on-site commissioning performance is particularly useful. As a decentralized, Shu Zi technology, two-way multi-point, high reliability, high-speed characteristics of the communication system, CAN can Goujianlinghuo of multi-master communication system, also can create a master Cong-style Jie Gou, and these two kinds of modes of hardware Wuli exactly the same connection. The automatic data encoding, CRC redundancy check, error automatic retransmission of data is assured with the accuracy of a serious error when a node from the bus automatically guarantee the stability of the system, and its load with a very strong band ability to drive up to 110 nodes, the system can meet the high-speed, precision, multi-load requirements.

An acquisition card hardware design

1.1 CAN bus Distributed System Design

System architecture shown in Figure 1. The system consists of host PC, monitor, CAN bus adapter and control unit composed of three parts. Upper monitor PCs using IBM-PC compatible machine, is mainly responsible for receiving and managing system data and control commands sent and the dynamic parameters of the control units and equipment, real-time status display; CAN bus adapter can easily connect to PC, to the CAN bus; control unit with microcontroller core, primarily responsible for on-site state of Huanjingcanshu and Shebei to monitor, for packaging of data from processing and handling of Shuozixinhao Guo Tong Xin by CAN controller SJA1000 CAN bus into .

CAN bus based distributed grid sub-health monitoring system

1.2 Control Unit module design and solution of key issues

The main function of the control unit is on-site collection of analog signals into digital signals, after processing through the CPU package sent by the CAN bus CAN bus controller for receiving and processing host computer; to receive control signal PC, the specific operation for field control . Specific issues need to be addressed: ① CAN module design; ② A / D Module.

1.2.1 CAN Module

Control unit with 8-bit microcontroller AT89C51 core, used as a device SJA1000 CAN controller and 82C250 and 6N137 silicon used as the CAN controller interface and opto-isolation. Hardware circuit shown in Figure 2.

System uses the CAN bus communication controller PHILIPS SJA1000 is a stand-alone company CAN device, the block diagram shown in Figure 3. It CAN2. OB-compatible [1], while supporting 11 (BasicCAN mode) and 29 (PeliCAN mode) identifier.

Figure 2 AT89C51 MCU ALE, WR, RD control the SJA1000, respectively end of ALE / AS, WR, RD client, address and data lines ADO ~ AD7 by the P0 port time division multiplexing to achieve. SJA1000 interrupt request signal INT interrupt in the interrupt occurs to allow and there, from high power to the transition to a low level, so the INT0 AT89C51 INT and directly connected. GAL chip select signal CS from the decoder circuit control, when the CS receives low when, SJA1000 is selected, CPU can SJA1000 to read / write operations. In order to enhance the control node of anti-interference ability, to prevent crosstalk between lines, SJA1000 is connected through the optocoupler 6N137 and 82C250, so that each CAN bus isolation between nodes in order to protect the CAN controller is working properly. 82C250 is a CAN bus transceiver is a CAN controller SJA1000 CAN Bus to work with the interface device, the differential CAN bus to be sent. The RS pin is used to select the work 82C250 mode (high-speed, slope control, or wait). RS pin to ground, 82C250 work in high-speed mode, RS incorporates a foot after the grounding resistance R, if the 82C250 CAN bus network in the terminal, bus interface part of the match to add a 120Ω resistor to protect the 82C250 from over-current shocks.


CAN bus based distributed grid sub-health monitoring system

1.2.2 A / D Module

A / D chip select 12-bit high-speed acquisition chip AD574. In this design, A / D module is the function of the external analog signal into digital signal through the AD574 after the parallel input to the AT89C51, AT89C51 then be packed, parallel output to the CAN bus communication controller SJA1000, by bus to the CAN transceiver bus. The control circuit DS1232, which has the power monitoring, manual reset and watchdog functions, but also output the two-way high-low reset signal, respectively, AT89C51 and SJA1000 output to the reset terminal to meet the requirements of this design.

2 Software

The health monitoring system requirements for the software part of the digital signal with on-site show, the scene detection and drive signal equipment and so on. In this design was completed for two Bufen tasks: first yes part of the upper Ji PC machine display, the main Tongguojicheng Kaifahuanjing PC software designed Chu Jian Shi display interface, with its emphasis on PC, and Xian Chang nodes of the Tong Xin; second is scene node control design, that device driver functions to achieve the purpose of the control PC to receive the signal, so the scene nodes work according to the established way of working.

According to the system requirements for the work, work will focus on CAN bus communication procedures, watchdog initialization, A / D sampling control program, the implementing agency control procedures and control algorithms, the main process shown in Figure 4. Due to space limitations, here focuses on designing SJA1000 initialization, sending programming, to receive programming and A / D conversion process design.

2.1 SJA1000 initialization Design

Initialization flow chart shown in Figure 5. AT89C51 power on or reset, call the reset procedure to reset terminal SJA1000 (RST) to provide reset signals to enter the reset mode SJA1000. SJA1000 only in the reset initialization mode for that. Initialization process was completed for the design of the following registers: (1) by the clock frequency register SJA1000 definition, determine the use of BassicCAN mode or use PeliCAN mode; is enabled CLOCKOUT and output clock frequency; whether to use the bypass CAN enter more device; TX1 output is interrupted by a special receiver. (2) by written acceptance code register and the acceptance mask register defines the acceptance code to receive messages, and the acceptance packet and compare the code definition of the relevant bit acceptance mask code. (3) bus timing register by writing the definition of the bus bit rate and sampling points within the bit period and a number of samples within a bit period. (4) the output register by writing the definition of CAN-bus output pin TX0, TX1 output mode and output configuration. (5) removal of the reset request flag SJA1000 into normal mode, so SJA1000 before proceeding to send and receive packets.

2.2 send and receive programming

MCU will send the message to be sent to the sending buffer SJA1000, SJA1000 command register and then send the request flag (TR) set, the sending process independently from the SJA1000. Send a message to write in the new buffer, you must check the status of the sending buffer status register flag (TBS), if "1", then send the buffer to be released, you can write a new message to send buffer device; Otherwise, send buffer is locked, new packets can not be written, can be used to send program interrupt and query method. In this design, the use of the query.

Packet reception is completed independently by the SJA1000. Received packets stored in the FIFO through the receiver filter, the first message into the receiver buffer, the status register to receive buffer status flag (RBS) and receive interrupt flag (RI) are marked. SCM removed from the receiving buffer after a packet to the command by setting the bit SJA1000 to release the receiver buffer register. In this design, the receiving program is designed with the interrupt.

CAN bus based distributed grid sub-health monitoring system

2.3 A / D converter design

In this design uses a 12-bit successive approximation A / D converter AD574. Way to check the design process, through the continuous query A / D converter conversion end flag to judge whether the end. When the conversion finished, add anyone to the CPU in processing the data and save the processed data to the 6264 chip.

High-speed CAN bus design based on distributed data acquisition system has some value, but low price and high reliability. While the system is also scalable, multi-channel acquisition is required under the circumstances to maintain only a small amount of sample chips can be. Approved by this bus system's communication ability test, Bingqiangshangshu system in place for Lian Xu Jiang Ganraohuanjing experiments, found that the use of communication Sulvwanquan Ke Yi ensure data of Shi Shi Kekaochuanshu, Qi Tongxinxiaoguo fully meet the requirements, while the upper Jihe bottom node can ensure mutual coordination.

Declined comment

91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
久久久女女女女999久久 | 色综合导航网站| 毛葺葺老太做受视频| 欧美成aaa人片免费看| 国产日韩精品视频| 一区二区免费电影| 久久久精品动漫| 欧美亚洲视频在线观看| 国产精品嫩草影院久久久| 国产美女网站在线观看| 亚洲www在线观看| 日韩亚洲国产中文字幕| 国产一级不卡毛片| 亚洲欧美日韩国产成人综合一二三区 | 精品乱子伦一区二区三区| 国产麻花豆剧传媒精品mv在线| 中文字幕一区综合| 久久久99爱| 男人亚洲天堂网| 中文精品一区二区三区 | 国产精品三级美女白浆呻吟| 国产在线日韩在线| 久久久久成人精品| 国产成人精品免费久久久久| 黄www在线观看| 亚洲va男人天堂| 国产精品日韩一区二区| av在线播放亚洲| 热99久久精品| 一区二区三区的久久的视频| 久久久久久久有限公司| 国产情侣av自拍| 日韩亚洲一区在线播放| 久久夜色精品国产亚洲aⅴ| 91久久精品国产| 激情视频综合网| 亚洲欧洲一区二区福利| 日韩中文字幕不卡视频| 丰满人妻中伦妇伦精品app| 欧美一级大片在线观看| 亚洲视频导航| 国产精品吊钟奶在线| 久久这里只有精品23| 狠狠干一区二区| 日本在线观看a| 久久99精品久久久久久噜噜 | 一区二区三区电影| 国产成人无码a区在线观看视频 | 精品麻豆av| 日韩一区二区久久久| av观看久久| 国产日韩久久| 欧美激情第六页| 日本亚洲导航| 亚洲综合精品伊人久久| 久久成人精品电影| 久久精品久久久久久| 国产精彩精品视频| www精品久久| 国产在线精品一区二区中文| 欧美精品国产精品久久久| 日韩av在线播放不卡| 亚洲国产日韩美| 国产精品久久久久久久app| 久久久久久久激情| 久久另类ts人妖一区二区| 国产精品亚洲不卡a| 国产综合av在线| 狠狠97人人婷婷五月| 欧美一区深夜视频| 日本精品久久电影| 视频一区二区在线| 亚洲免费视频播放| 亚洲一区国产精品| 久久久久久18| 欧美激情在线视频二区| 久久亚洲一区二区三区四区五区高| 爽爽爽爽爽爽爽成人免费观看| 99视频日韩| 99精品视频播放| 99九九视频| www..com日韩| yellow视频在线观看一区二区 | 国产精品福利在线观看网址| 国产精品丝袜一区二区三区| 久久久久久久久电影| 久久riav| 久久福利一区二区| 国产对白在线播放| 国产成人精品久久久| 777午夜精品福利在线观看| av久久久久久| 白白操在线视频| 97精品视频在线观看| 91美女福利视频高清| 97久久天天综合色天天综合色hd| 成人福利视频网| 91麻豆天美传媒在线| 91av成人在线| 九一免费在线观看| 日韩中文av在线| 国产精品免费视频xxxx| 另类天堂视频在线观看| 九九久久精品一区| 亚洲精品视频一二三| 午夜精品短视频| 日韩欧美亚洲在线| 人人做人人澡人人爽欧美| 欧美午夜小视频| 国产原创精品| 99在线观看视频免费| 国产脚交av在线一区二区| 久久久久久久久影视| 久久精品91久久香蕉加勒比 | 久久精品视频中文字幕| 国产精品美女免费看| 国产精品久久久久99| 一区二区三区日韩视频| 亚洲福利av在线| 日韩欧美精品免费| 欧美日韩亚洲一二三| 国产日产欧美精品| 国产精品99久久免费黑人人妻| 久久国产欧美精品| 操91在线视频| 天天综合五月天| 欧美国产亚洲一区| 不卡一区二区三区视频| 久久国产精品网| 国产精品久久久久久久乖乖| 一区二区三区av| 日本不卡在线观看| 国产一区二区不卡视频| 国产精品99久久免费黑人人妻| 日韩中文字幕网| 美女av一区二区| 日韩久久久久久久| 国产剧情日韩欧美| 久久久久免费精品国产| 久久福利视频网| 日日碰狠狠丁香久燥| 国产综合在线看| 国产精彩免费视频| 欧美精品在线网站| 日韩精品大片| 成人黄色一区二区| 国产成人久久777777| 久久久久久久少妇| 久久伊人精品视频| 亚洲在线观看一区| 欧美一级中文字幕| 欧洲精品在线一区| 久久久黄色av| 欧美日韩成人精品| 欧美老熟妇喷水| 久无码久无码av无码| 欧美另类69精品久久久久9999| 亚洲www在线观看| 国模吧无码一区二区三区| 久久狠狠久久综合桃花| 亚洲一卡二卡| 国产一区二区四区| 深夜福利日韩在线看| 亚洲精品一区国产精品| 蜜桃成人免费视频| 国产激情在线看| 亚洲资源在线看| 国产一区二区在线免费视频| 久久久久久久久久久成人| 亚洲精品成人三区| 国产精品一区二区三区久久久| 国产精品丝袜久久久久久高清 | 日韩av高清| 国产精品影片在线观看| 国产精品视频免费一区| 日韩视频免费播放| 国产精品a久久久久久| 国产脚交av在线一区二区| 欧美激情精品久久久久久黑人 | 国产专区一区二区| 久久久亚洲国产天美传媒修理工| 久久精品成人欧美大片| 一区国产精品| 久久久久网址| 久久综合久中文字幕青草| 欧美久久久久久久| 久久久久久午夜| 日本一区二区高清视频| 91精品国产综合久久久久久丝袜| 九九热在线精品视频| 国产日韩一区二区在线观看| 国产精品电影久久久久电影网| 含羞草久久爱69一区| xxxx性欧美| 欧美在线视频免费| 久久精品视频99| 狠狠色综合欧美激情| 国产精品国产福利国产秒拍| 美女在线免费视频| 精品不卡一区二区三区|