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

CAN bus in the intelligent power distribution system

Introduction
Currently, most of the computer room power distribution system using UPS, ensure reliable power supply room. UPS systems are used for each channel current automatic air circuit breakers for overcurrent protection, such protection is effective, but not intelligent, can not be set, not alarm, and no power supply and fault alarm information records, and high reliability of the requirements is not consistent with the need and demand for further reform. This article is the development of intelligent computer room power distribution system iPDS (Intelligent Power Distribution System) satisfy the above requirements, has two major characteristics of intelligence and humanity. The system uses interactive CAN bus data transfer, good to meet system reliability, real-time and cost requirements.

System Design
The intelligent system power supply from various quarters on the engine room current, leakage current, zero ground voltage, automatic air breaker status information such as real-time monitoring, display, real-time alarm, detailed records and other functions, and can be flexible based on user requirements configuration of monitoring information from various quarters. You can check room separate ways on the display power usage, early detection and eliminate hidden dangers, real-time fault, and further improve the system reliability.
The system consists of data processing units, data acquisition node, LED display node, touch screen etc., of the specific system architecture shown in Figure 1.

CAN bus in the intelligent power distribution system

Figure 1 Intelligent Distribution System Chart
Complexity of the system structure, perfect function, touch screen via RS-485 and the data processing unit connected to the data processing unit, data acquisition node and nodes are mounted LED display on the CAN bus, the components of different functions:
1. Data processing unit has two CPU, MCU AT89C58 and P87C591, both through the dual port RAM for data exchange, which AT89C58 and the touch screen through the RS-485 communication, dealing with touch screen display and setting information, P87C591 CAN bus address mutual information.
2. Touch screen is the system's main interface used to set the system configuration information, displays the current separate ways in the current, leakage current, voltage and zero-in automatic air circuit breaker status, etc., and can view the history of police records.
3. Data Acquisition Node collection separate ways analog and switch information transmitted through the CAN bus for data processing unit.
4. LED display shows the current separate ways the major nodes of analog and switch the alarm information to facilitate users to view, make the system more humane.
CAN bus hardware design
P87C591 Introduction
In the system, manufactured by Philips P87C591 microcontroller, which is a high-performance 8-bit microcontroller with on-chip CAN controller, which greatly simplifies the hardware design improves the stability of CAN interfaces.
P87C591 uses a powerful 80C51 instruction set and integrated SJA1000 CAN controller PeliCAN function.
P87C591 CAN node connected to the circuit design is relatively simple, the required external components plus two capacitors is only a crystal oscillator driver chip, a connection to the reset pin of the resistors, capacitors. Using on-chip power-on reset circuit and a transceiver to connect to the CAN bus P87C591.
CAN bus communication process and the allocation of identifiers
The system requirements for real-time high volume data transmission, data collection node information collection should be fast to load the data processing unit for timely processing, data processing unit Jiang settings on the touch screen real-time transmission of information to the data acquisition unit; data processing unit processed the information collected, will the current system state in a timely manner in the LED display on the displayed nodes, and command relay.
The CAN bus system using CAN2.0B communication protocol, a standard frame format, the 11 identifiers to distinguish between nodes on the CAN bus. CAN bus data processing unit is the most important nodes, control of the bus data transfer and processing, the highest priority, followed by data collection node, which is the source of data, real-time acquisition Biography
Delivery of data, is again LED display node.
Taking into account the expansion of the system problem, set aside part of the identifier, according to the user requirements can be increased, decreased data acquisition node and LED display nodes, without affecting the priority of the system design.
CAN Bus Software
Data processing unit is the highest priority on the CAN bus nodes, control the whole process of data transmission on the bus, its software design includes two parts, namely, application layer protocol communications network and the function realization of the process and coding.
Functional analysis and system initialization software design
P87C591 completed for data processing and transmission, through the CAN bus data acquisition node collection to receive from various quarters to the analog and switch information, collated by the agreement to the dual-port RAM in the storage and processing results to the LED display according to the node send a message. Dual-port RAM in the main program query the data collection node settings, real-time data acquisition Jiedian send a message to, with and Fasongyuancheng frame, Qingqiumoni and switch information of the transmission, 這樣 avoid multiple data collection nodes Tong Shi Shang Mass collection of information, effectively preventing the overflow and data loss to receive, information received from various quarters after the acquisition, processing and storage to the dual-port RAM, and send to the LED nodes.
In program design, system design initialization procedure is a very important part of the work, it is the premise of the system can work properly. Therefore, the initialization design is a key process in the system initialize the dual port RAM to be initialized, open the watchdog, set the interrupt priority, initialize CAN controller and the I / O port, open The total interruption operations to ensure the stability of the system to work properly.
CAN Communication Program
CAN communication software mainly consists of the following components: initialization, receiving and processing, sending processing, interrupt handling and error handling. This article focuses on initializing, sending, receiving and processing routines and error handling.
Initialization subroutine
CAN controller initialization, including the mode of operation, acceptance filters, bus timing and interrupt settings. Acceptance filter setting determines the information received in this node format. Timer used to set the CAN bus baud rate of data transmission, the baud rate of each node on the bus must be consistent, otherwise it will cause data transmission errors.
Send process
Subroutine is responsible for node to send packets to send. The user simply sends the data to be transmitted into a specific format, a combination of packets sent into the CAN controller buffer, and then you can start sending commands. Information from the CAN controller is sent to the CAN bus is done automatically by the CAN controller. The system uses the query sent.
Receiving process
Subroutine is responsible for receiving node to receive packets, and other conditions of treatment, such as on the bus off, error alarm, receive overflow handling the situation. Information from the CAN bus to CAN CAN controller buffer is done automatically. Receiving program simply read from the receive buffer to receive the information you can. Taking into account the requirements of real-time, using interrupt shown in Figure 2.
Error Handling
In the CAN initialization, open the wrong alarm interrupt enable and bus error interrupt is enabled when the error counter (send error counter and receive error counters in any of them) count more than 96, indicating the bus was seriously disturbed, resulting in Error warning interrupt; when sending an error counter exceeds 255, the node into the bus off, CAN controller will set the reset mode bit to 1 (current) and generates an error warning and bus error interrupt. Error alarm is cleared of all wrong interrupt counter value, to maintain the operation of CAN, but it has limitations: clear the error counter is simply reset the error counters and can not fundamentally eliminate the source of error; due to an error alarm interrupt conditions resulting from the error counter is over 96, while the bus closed interrupt conditions generated by sending the error counter exceeds 255, therefore, send an error counter error alarm caused the bus error interrupt can be masked interrupt. System error alarm response may be due to disruption caused the total system can not produce bus close to CAN bus has been in a precarious state.
To avoid this, only open bus error interrupt enable, so that the bus where a serious error, bus error interrupt can be generated immediately, so that errors are a timely manner. Bus error interrupt handling is reset the node, re-initialize the CAN controller, so you can eliminate the error, give a good initial state node. As the CAN bus error between the two transmission line contacts are also easily lead to CAN bus off, so that nodes do not work, check status register in the main program in the current CAN bus status, time reset the node to node to work.
Meanwhile, in order to more easily visualize the CAN bus, working condition, designed a light, when the bus normally send and receive messages, the indicator light flashes, once the CAN bus off, the node does not participate in bus activity, the indicator no longer flashes (this bright light or long long time off), when the bus error can not be reset when the node address, you can view the status indicator (long light or long off), in a timely manner for non-maintenance repair work nodes.

Conclusion
Using CAN bus technology to build intelligent power distribution system to improve the system stability and real-time, system low price, easy installation and maintenance, has a good upgrade, expand capacity. The system has been successfully fitted to the economic, trade, stock trading room in the industry, reliable operation, to achieve the design objectives.

Declined comment

91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
久久在线免费观看视频| 日韩av免费看网站| 亚洲.欧美.日本.国产综合在线 | 国模精品视频一区二区三区| 国产激情在线观看视频| 亚洲一区二区三区在线视频| 精品午夜一区二区| 国产精品日韩欧美大师| 欧美视频在线第一页| 久久精品日产第一区二区三区| 亚洲中文字幕无码中文字| 国产一区二区高清不卡| 国产精品日韩专区| 欧美精品一区三区在线观看| 久久99中文字幕| 日韩不卡视频一区二区| 91久久大香伊蕉在人线| 亚洲乱码一区二区三区三上悠亚| 国产一区二区三区小说| 国产精品久久波多野结衣| 欧美精品成人一区二区在线观看| 久久久久久人妻一区二区三区| 日本亚洲欧洲色α| 久久国产精品一区二区三区| 日韩av大片免费看| 久久99影院| 日韩免费不卡av| 久草综合在线观看| 欧美自拍视频在线| 久久精品国产一区| 欧美精品一区二区性色a+v| 久久久久北条麻妃免费看| 女女同性女同一区二区三区按摩| 日韩中文字幕免费看| 欧美亚洲国产视频| 国产精品久久久一区二区三区| 黑人中文字幕一区二区三区| 国产精品国语对白| 国产欧美中文字幕| 一区二区精品免费视频| 97精品欧美一区二区三区| 亚洲国产另类久久久精品极度 | 天堂а√在线中文在线| 久久久久亚洲精品国产| 欧美精品欧美精品| 国产精品黄视频| 成人精品一区二区三区电影免费| 婷婷五月综合缴情在线视频| 国产成人精品最新| 国产日韩精品一区观看| 亚洲自拍欧美另类| 久久久久久久一区二区| 激情小说综合区| 制服诱惑一区| 国产v片免费观看| 蜜臀av性久久久久蜜臀av| 中文字幕精品在线播放| 国产成人综合精品| 黄网站色视频免费观看| 一本久道高清无码视频| 久久精品国产精品亚洲色婷婷| 欧美精品无码一区二区三区| 欧美极品在线视频| 久久久久久久久久久免费视频| 国产综合香蕉五月婷在线| 亚洲成人第一| 久久人人爽亚洲精品天堂| 国产精品一二三视频| 日韩精品在线视频免费观看| 欧美精品少妇videofree| 114国产精品久久免费观看| 欧美连裤袜在线视频| 在线观看成人av| 国产精品视频白浆免费视频| 97久久天天综合色天天综合色hd| 日韩av中文字幕第一页| 精品国产免费久久久久久尖叫| 国产v综合v亚洲欧美久久| 国产欧美久久久久久| 青青在线免费观看| 亚洲综合国产精品| 国产精品久久不能| 国产成人短视频| 国产日韩在线看片| 青青视频免费在线观看| 一区二区高清视频| 国产精品日韩一区二区三区| 77777亚洲午夜久久多人| 国内自拍欧美激情| 日韩精品免费播放| 欧美日韩国产成人在线| www国产91| 久久久中文字幕| 国产精品一区二区久久精品 | 91免费福利视频| 国产又黄又猛视频| 欧美一级电影久久| 亚洲精品欧洲精品| 中文字幕日韩精品久久| 国产精品久久久久久久久久久久午夜片| 91精品国产自产91精品| 国产一二三四区在线观看| 欧美一区免费视频| 日韩欧美在线电影| 午夜精品一区二区三区在线| 综合操久久久| 在线精品日韩| 久久99亚洲热视| 欧美成人全部免费| 久久亚洲国产精品| 国产精品免费在线播放| xxxx性欧美| 色久欧美在线视频观看| 久久久久久久久电影| 国产大片精品免费永久看nba| 99久久伊人精品影院| 99精品国产一区二区| 97国产在线视频| 国产精品自产拍高潮在线观看| 黄色一级片网址| 欧美 日韩精品| 黄色av网址在线播放| 欧美高清性xxxxhdvideosex| 好吊色欧美一区二区三区四区| 精品欧美国产| 国产一区一区三区| 国产日产欧美a一级在线| 国产日韩换脸av一区在线观看| 国产日韩欧美自拍| 高清欧美性猛交| 99re在线视频上| 久久久亚洲精品视频| 国产成年人在线观看| 久99久视频| 国产成人亚洲综合91精品| 久久免费99精品久久久久久| 久久av免费观看| 久久精品国产69国产精品亚洲| 日本一本草久p| 欧美精品七区| 国产免费一区二区三区四在线播放 | 青青草国产精品视频| 狠狠精品干练久久久无码中文字幕| 欧美日韩精品久久| 国产天堂视频在线观看| 国产女女做受ⅹxx高潮| 91久久精品日日躁夜夜躁国产| 久久男人av资源网站| 色吧影院999| 国产精品美女xx| 一区二区三区观看| 少妇大叫太大太粗太爽了a片小说| 日韩精品一区二区三区外面 | 国产免费观看久久黄| 91国产精品电影| 色吧影院999| 国产精品第100页| 欧美激情精品久久久久久变态| 亚洲一区二区三区在线视频| 日韩欧美一区三区| 国产一区二区在线免费视频| 高清一区二区三区日本久| 久久99久久久久久| 国产精品吹潮在线观看| 午夜久久资源| 女女同性女同一区二区三区91 | 久久久免费高清电视剧观看| 久久久精品影院| 欧美激情精品久久久久久变态| 性欧美亚洲xxxx乳在线观看| 日韩久久在线| 国产伦精品一区二区三区| 久久国产精品精品国产色婷婷| 国产精品久久久久久久7电影| 亚洲黄色一区二区三区| 黄色高清视频网站| 91精品国产综合久久久久久丝袜| 日韩中文字幕久久| 亚洲一区亚洲二区亚洲三区| 欧美在线不卡区| 91久久久在线| 国产精品极品美女在线观看免费| 亚洲a级在线播放观看| 韩国精品久久久999| 久久综合一区| 欧美激情亚洲精品| 欧美亚洲国产视频小说| 91久久国产自产拍夜夜嗨| 久久亚洲精品国产亚洲老地址| 欧美一区二区三区免费观看| 国产日韩欧美日韩大片| zzjj国产精品一区二区| 春日野结衣av| 国产欧美一区二区三区在线| 久久九九国产精品怡红院| 亚洲黄色成人久久久| 国产乱肥老妇国产一区二| 国产精品偷伦一区二区| 午夜精品久久久99热福利| 国产九九精品视频|