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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
日本不卡一区二区三区四区| 国产高潮呻吟久久久| 日韩中文字幕三区| 午夜午夜精品一区二区三区文| 精品中文字幕在线观看| 久久99热这里只有精品国产 | 久久99国产精品一区| 国产高清在线不卡| 久在线观看视频| 久久久久福利视频| 国产ts人妖一区二区三区| 91久久大香伊蕉在人线| 91精品免费视频| 国产精品999| 久久久久亚洲精品| 精品国产区一区二区三区在线观看| 久久久久久人妻一区二区三区| 国产成人短视频| 久久久久日韩精品久久久男男| 久久99精品久久久水蜜桃| 日韩在线视频导航| 国产精品丝袜高跟| 欧美xxxx18国产| 午夜精品一区二区三区视频免费看| 亚洲mm色国产网站| 欧美午夜欧美| 国产资源在线视频| 91精品国产精品| 久久久久久久久爱| 国产精品久久久久av福利动漫| 欧美日韩福利电影| 日产精品久久久一区二区| 欧美精品尤物在线| 国产精品一国产精品最新章节| 久久这里精品国产99丫e6| 久久精品视频免费播放| 一区高清视频| 日韩中文字幕在线视频观看| 黄色网址在线免费看| 高清视频一区二区三区| 久久成人免费观看| 欧美成年人视频网站| 中文字幕中文字幕在线中一区高清| 少妇高潮喷水久久久久久久久久| 青青草原一区二区| 97碰在线观看| 久久综合五月天| 日本高清不卡三区| 国产色婷婷国产综合在线理论片a| 国产精品69精品一区二区三区| 国产精品天天狠天天看| 午夜精品视频在线观看一区二区| 欧洲精品亚洲精品| 97免费高清电视剧观看| 国产精品三级在线| 懂色一区二区三区av片| 欧美成人精品欧美一级乱| 超碰97人人人人人蜜桃| 国产精品国产自产拍高清av水多| 日韩一区免费观看| 国产精品亚洲视频在线观看| 日韩在线激情视频| 日本在线视频www色| 97精品视频在线| 欧美日韩爱爱视频| 美女黄毛**国产精品啪啪| 久久国产精品一区二区三区四区| 亚洲综合在线小说| 国产视频一区二区视频| 色噜噜狠狠狠综合曰曰曰| 午夜视频久久久| 官网99热精品| 久久国产精品影视| 精品网站在线看| 精品国产一区二区三区在线观看 | 黄色片免费在线观看视频| 国产成人短视频| 少妇av一区二区三区无码 | 国产精品久久久久久久久久久久| 天堂av一区二区| 91免费国产视频| 久热精品视频在线观看一区| 激情五月综合色婷婷一区二区| 国产成人综合精品在线| 亚洲爆乳无码专区| 91精品国产九九九久久久亚洲 | 国产精品激情自拍| 欧美二区三区| 国产精品乱码| 免费看日b视频| 国产精品欧美日韩一区二区| 欧日韩在线观看| 日韩在线观看免费| 欧美在线亚洲一区| 国产精品入口免费视频一 | 欧美最猛黑人xxxx黑人猛叫黄| 久久男人资源视频| 日韩视频精品| 日韩中文字在线| 欧美日韩国产三区| 久久成人亚洲精品| 国产精品一区二区三区久久| 亚洲综合在线中文字幕| 久久免费视频在线| 日本一区二区视频| 国产成人精品一区二区在线| 欧美性久久久久| 久久综合久久美利坚合众国| 国产乱子伦精品无码专区| 亚洲一区二区三区香蕉| 久久久免费视频网站| 人体精品一二三区| 久久综合久久八八| 97免费在线视频| 日韩欧美视频网站| 国产精品久久久久不卡| 国产精品永久免费在线| 亚洲国产日韩综合一区| 色777狠狠综合秋免鲁丝| 狠狠色综合欧美激情| 久久久久久com| 国产精品1区2区在线观看| 欧美午夜精品久久久久久蜜| 久操成人在线视频| 久久综合九色欧美狠狠| 极品粉嫩国产18尤物| 一区二区三区av| 九九九九免费视频| 精品视频在线观看一区| 亚洲不卡中文字幕无码| 国产精品视频免费一区二区三区| 国产噜噜噜噜久久久久久久久| 天堂av一区二区| 欧美成年人视频网站欧美| 91av在线精品| 免费黄色福利视频| 天天综合色天天综合色hd| 国产综合色香蕉精品| 亚洲精品日韩在线观看| 国产精品美女999| 久久久久久a亚洲欧洲aⅴ| 国产一区二区视频播放| 欧美一级免费看| 色综合久久88| 色久欧美在线视频观看| 国产欧美久久久久久| 日韩免费一区二区三区| 亚洲女人毛片| 国产精品成人久久电影| 久久精品日韩| 成 年 人 黄 色 大 片大 全| 欧美日韩国产一二| 日本高清+成人网在线观看| 欧美精品一区二区三区国产精品| 久久精品日韩| 91精品国产91久久久久福利| 国产日韩换脸av一区在线观看| 日本精品一区在线观看| 免费99精品国产自在在线| www.色综合| 久久久福利视频| 成人福利视频网| 国产日韩精品电影| 美女视频久久| 精品嫩模一区二区三区| 日本视频一区二区在线观看| 一区二区视频在线免费| 欧美精品在线看| 国产精品三级网站| 久久精品成人欧美大片古装| 久久成人免费观看| 久久香蕉视频网站| 91精品久久久久久久久久久| 国产美女网站在线观看| 免费看成人午夜电影| 男人的天堂成人| 欧美在线影院在线视频| 日本韩国欧美精品大片卡二| 痴汉一区二区三区| 亚洲欧洲在线一区| 中文字幕在线观看一区二区三区| 色综合久久88| 中文精品一区二区三区| 久久99精品国产99久久6尤物| 免费av在线一区| 久久国产精品久久精品| 欧美激情一二三| 亚洲综合一区二区不卡| 制服诱惑一区| 亚洲综合日韩在线| 亚洲一区二区三区乱码aⅴ| 一区二区三区四区不卡| 亚洲自拍的二区三区| 亚洲不卡1区| 日本a在线天堂| 欧美日本韩国国产| 国产在线视频一区| 国产精品一二三在线观看| av天堂永久资源网| 91黄在线观看|