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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
国产亚洲精品久久久久久久| 国模精品系列视频| 青青影院一区二区三区四区| 不卡影院一区二区| 国产精品美女在线观看| 日韩精品极品视频在线观看免费| 91精品国产91久久久久久| 欧美激情亚洲精品| 国产亚洲一区二区三区在线播放| 色妞色视频一区二区三区四区| 天堂v在线视频| 成人中文字幕在线观看| 九九精品在线视频| 欧美日韩福利在线| 日韩一区二区三区在线播放| 天堂精品视频| 久久综合九色综合网站| 亚洲精品乱码久久久久久蜜桃91 | av在线观看地址| 一区二区视频在线播放| 国产精品专区在线| 精品国产乱码久久久久久蜜柚| 精品一区2区三区| 久久精品视频在线| 今天免费高清在线观看国语| 国产精品视频1区| 欧美高清视频一区二区三区在线观看| 久久久成人精品| 黄色一级大片在线观看| 久久av.com| 国产精品一区二区三区免费视频| 中文精品无码中文字幕无码专区 | 欧美一区二区三区在线免费观看 | 97免费视频在线| 久久久久久91| 国产精品一区二区三区久久久| 一区精品视频| 久久久爽爽爽美女图片| 性色av一区二区三区在线观看| 68精品久久久久久欧美| 日韩av日韩在线观看| 久久久噜噜噜久久中文字免| 欧美日韩一区在线播放| 九九综合九九综合| 91国自产精品中文字幕亚洲 | 成人免费观看a| 日韩一级片免费视频| 久久久免费精品| 日韩精品一区在线视频| 久久精品一本久久99精品| 国产亚洲欧美在线视频| 亚洲精品日韩精品| 日韩午夜在线视频| 国产一区二区三区播放| 亚洲a中文字幕| 国产精品视频白浆免费视频| av动漫在线观看| 欧美牲交a欧美牲交aⅴ免费下载| 久久综合九色九九| 久久涩涩网站| 精品嫩模一区二区三区| 亚洲午夜久久久影院伊人| 97国产一区二区精品久久呦| 日韩精品第一页| 国产精品久久久久久久乖乖| 91久久精品美女| 欧美日韩午夜爽爽| 中文网丁香综合网| 日韩在线不卡视频| 产国精品偷在线| 欧美国产日韩激情| 视频一区视频二区视频三区视频四区国产| 国产成人精品一区二区三区福利 | 久热精品视频在线| av在线不卡观看| 欧美一区少妇| 色综合久久久888| 日韩在线视频网站| av久久久久久| 国产综合欧美在线看| 日本亚洲欧洲精品| 欧美激情a∨在线视频播放| www.久久色.com| 91免费在线观看网站| 国产在线999| 青青青国产在线视频| 亚洲一区二区三区sesese| 国产精品免费一区二区三区| 久久久7777| www..com日韩| 国产在线精品二区| 日韩av电影在线网| 在线观看欧美一区| 国产精品第七十二页| 国产成人黄色片| 国产精品亚洲自拍| 国产在线一区二区三区播放| 欧美中文字幕在线观看| 日本高清视频免费在线观看| 亚洲精品国产精品国自产| 国产99久久精品一区二区 夜夜躁日日躁 | 一区二区成人国产精品| 国产精品流白浆视频| 久久精品aaaaaa毛片| 成人黄色av网站| 国产亚洲精品美女久久久m| 欧美成人一区二区在线观看| 青青草视频在线免费播放| 日本一区网站| 欧美一区二区三区……| 亚洲aa中文字幕| 亚洲精品国产精品久久| 亚洲熟妇无码一区二区三区| 中文字幕日韩精品久久| 欧美激情视频在线| 欧美精品在线第一页| 国产精品成人av在线| 国产精品久久久久久五月尺| 国产成人精品在线| 久久国产精品-国产精品| 久久久中精品2020中文| …久久精品99久久香蕉国产| 91九色在线免费视频| 成人免费观看cn| 成人h视频在线| 成人国内精品久久久久一区| 分分操这里只有精品| aaa毛片在线观看| 91精品国产91久久久久福利| 国产精彩免费视频| 久久婷婷人人澡人人喊人人爽| 久久久精品在线视频| 久久久免费精品视频| 久久亚洲国产精品日日av夜夜| 99久久99| 国产成人成网站在线播放青青| 久精品国产欧美| 久久精品国产96久久久香蕉| 久久精品国亚洲| 国产精品三区www17con| 国产精品第一视频| 国产av国片精品| 亚洲免费视频一区| 日本999视频| 欧美日韩在线高清| 国产日韩在线亚洲字幕中文| 成人av.网址在线网站| 久久久天堂国产精品女人| 久久久久久久国产精品| 精品国产一区久久久| 久色乳综合思思在线视频| 中文字幕欧美日韩一区二区三区| 一本色道久久88亚洲精品综合| 视频在线99| 精品欧美一区二区久久久伦| 国产精品中文久久久久久久| 777精品久无码人妻蜜桃| 久久久久久久久91| 另类色图亚洲色图| 一级日韩一区在线观看| 日韩一级片免费视频| 女女同性女同一区二区三区按摩| 国产日韩精品一区二区| 99se婷婷在线视频观看| 久久一区免费| 国产精品裸体瑜伽视频| 亚洲制服中文| 欧美在线不卡区| 国产精品一区二区三区免费观看| 久久精品香蕉视频| 国产精品久久国产| 亚洲wwwav| 免费特级黄色片| 91精品国产色综合| 久久视频在线看| 亚洲精品免费一区二区三区| 欧美国产综合在线| 91国语精品自产拍在线观看性色| 久久精品小视频| 一区二区日本伦理| 青草青草久热精品视频在线观看 | 综合久久国产| 人妻少妇精品久久| 成人9ⅰ免费影视网站| 久久九九免费视频| 亚洲中文字幕久久精品无码喷水| 欧洲亚洲一区二区三区四区五区| 国产一区二区高清不卡| 久久久久一区二区| 欧美日韩不卡合集视频| 欧洲美女7788成人免费视频| 91免费国产视频| 国产精品视频999| 天堂va久久久噜噜噜久久va| 国产一区不卡在线观看| 日韩在线视频免费观看高清中文 | 国产综合视频在线观看| 久久久噜噜噜久久中文字免| 亚洲永久一区二区三区在线| 国产一区香蕉久久|