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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
国产精品视频500部| 国产一区二区三区四区五区在线 | 日韩在线精品视频| 成人av免费看| 国产伦精品一区二区三区免费视频| 色综合久久久久久中文网| 北条麻妃在线视频观看| 亚洲视频在线二区| 久久精品国产2020观看福利| 免费h精品视频在线播放| 欧美激情一区二区三区高清视频| 成人av.网址在线网站| 日韩一级免费看| 日韩欧美亚洲区| 欧美精品第三页| 欧美 日韩 国产 在线观看| 色综合久久88| 欧美激情亚洲国产| 亚洲自拍小视频| 欧美一区二区三区免费视| 国产精品手机视频| 国产精品国产三级国产aⅴ9色| 99精品在线直播| 国产精品10p综合二区| 蜜臀久久99精品久久久酒店新书| 亚洲一区精品视频| 日本一欧美一欧美一亚洲视频| 国产精品狠色婷| 国产99在线|中文| 亚洲va欧美va国产综合久久| 国产精品手机播放| 色综合久久久久久中文网| 色妞一区二区三区| 国产精品久久..4399| 久久精品国产精品亚洲精品色| 国产一区视频免费观看| 日产中文字幕在线精品一区| 国产精品对白一区二区三区| 久久久久久欧美精品色一二三四| 国产伦精品一区二区三区| 日韩美女在线观看一区| 亚洲一区二区在| 日韩美女av在线免费观看| 伊人久久大香线蕉精品| 国产精品免费看久久久无码| 国产高清在线不卡| 国产精品免费一区| 伊甸园精品99久久久久久| 国产精品第二页| 欧美一区二区三区四区在线观看地址| 欧美一区二区中文字幕| 日韩一区二区高清视频| 在线亚洲美日韩| 欧美一区二区激情| 精品一区二区日本| 久久久午夜视频| 免费97视频在线精品国自产拍| 国产精品视频一二三四区| 成人国产精品一区| 91久久久精品| 欧美成人亚洲成人| 人人爽久久涩噜噜噜网站| 日本在线观看天堂男亚洲| 亚洲精品一区二区三区蜜桃久| 精品国产一区二区三区无码| 国产精品久久久一区二区三区| 日韩中文字幕在线视频| 久久久久国产精品熟女影院| 91久热免费在线视频| 国产日韩欧美在线观看| 国产真实乱子伦| 久久久久久久爱| 婷婷久久五月天| 国产精品一区二区三区观看 | 亚洲不卡中文字幕无码| 久久99精品久久久久久噜噜| 精品国产乱码久久久久久久软件 | 国产日韩在线观看av| 欧美精品在欧美一区二区| 欧美中日韩在线| 国产精品99久久免费黑人人妻| 91极品视频在线| 超碰91人人草人人干| 精品国产一区二区三区日日嗨| 国产精品国产三级国产aⅴ9色| 久久成人在线视频| 欧美在线中文字幕| 日韩一区二区久久久| 久热99视频在线观看| 国产精品国语对白| 欧美精品七区| 久久久国产成人精品| 不卡中文字幕av| 黄色网在线视频| 国产精品第100页| 国产一级片91| 欧美成人在线网站| 国产欧美日韩伦理| 欧美激情a∨在线视频播放| 亚洲精品国产精品久久| 日韩av在线一区二区三区| 欧美日韩激情视频在线观看| 国产亚洲二区| 欧美久久精品午夜青青大伊人 | 欧美激情18p| 国产欧美丝袜| 亚洲一区亚洲二区亚洲三区| 日产精品高清视频免费| 色一情一乱一乱一区91| 欧美极品欧美精品欧美图片| 国产三级精品在线不卡| av一区二区三区在线观看| 91精品久久久久久久久青青| 久久精彩免费视频| 激情小说综合区| 久久成人av网站| 99久久国产宗和精品1上映| 色狠狠av一区二区三区香蕉蜜桃| 国产精品久久久久9999| 亚洲午夜精品国产| 91av中文字幕| 人妻有码中文字幕| 国产精品大全| 国产激情视频一区| 欧美日韩在线不卡视频| 久久手机在线视频| 欧美在线观看网址综合| 91久久在线视频| 日韩欧美精品一区二区| 成人欧美一区二区三区黑人| 国产成人精品午夜| 成人久久精品视频| 日韩av中文字幕第一页| 97色在线播放视频| 日韩欧美在线一区二区| 91久久久一线二线三线品牌| 国产精品九九九| 91老司机精品视频| 免费在线国产精品| 在线视频不卡一区二区三区| 欧美在线性视频| 在线观看欧美亚洲| 国产精品视频精品| 国产极品尤物在线| 免费一级特黄毛片| 日本一区二区在线免费播放| 99久久综合狠狠综合久久止| 久久天天躁狠狠躁夜夜躁2014| 日韩国产小视频| 欧美精品在线观看91| 精品无码久久久久久久动漫| 国产精品视频在线免费观看| 日本电影亚洲天堂| 中文字幕色一区二区| 国产免费黄色av| 日韩精品一区二区三区色偷偷| 国产精品18久久久久久首页狼| 一区不卡视频| 国产精品女视频| 久久精品人人做人人爽电影| 午夜精品一区二区三区视频免费看| 国产视频一区二区三区四区| 国产av人人夜夜澡人人爽麻豆| 日韩中文字幕组| 免费不卡欧美自拍视频| 国产乱码精品一区二区三区不卡| 国产精品福利观看| 国产高清在线一区二区| 日产精品高清视频免费| 国产极品精品在线观看| 五月天婷亚洲天综合网鲁鲁鲁| 苍井空浴缸大战猛男120分钟| 亚洲一区三区在线观看| 91免费版网站在线观看| 视频一区二区三区免费观看| 久久男人资源视频| 不卡视频一区二区三区| 性欧美精品一区二区三区在线播放| 91国产丝袜在线放| 国产精品一区电影| 国产日韩在线视频| 国产日产欧美一区二区| 在线日韩av永久免费观看| 国产欧美va欧美va香蕉在线| 欧美区二区三区| 国产精品久久久久久久久久ktv| 国产日韩精品在线播放| 伊甸园精品99久久久久久| 91精品国产九九九久久久亚洲| 岛国一区二区三区高清视频| 777精品久无码人妻蜜桃| 日韩免费在线视频| 日韩av三级在线| 日本欧美视频在线观看| 国产精品久久久久9999爆乳| 国产欧美一区二区视频| 亚洲乱码一区二区三区| 久久国产精品网| 国产l精品国产亚洲区久久| 欧美日韩喷水|