日韩免费一级毛片在线观看-中文日韩亚洲综合-欧美系列日韩另类-欧美激情极品日韩-午夜日韩爱爱毛片视频免费看-欧美日韩一区免费观看-欧美日韩欧美黄色三级

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

精品国产亚洲一区二区三区| 色综合久久天天综线观看| 尤物视频网站在线观看| 亚洲 男人 天堂| 欧美1卡一卡二卡三新区| 一本高清在线| 欧美激情在线精品video| 一级女性大黄生活片免费| 日日日夜夜操| 国产91丝袜在线播放0| 精品国产一区二区三区久久久狼| 精品视频一区二区三区免费| 欧美一区二区三区性| 九九精品久久久久久久久| 国产一区二区高清视频| 日韩在线观看视频免费| 黄视频网站在线免费观看| 欧美a免费| 日韩专区在线播放| 国产韩国精品一区二区三区| a级精品九九九大片免费看| 亚洲 男人 天堂| 韩国妈妈的朋友在线播放| 九九精品在线播放| 日本伦理黄色大片在线观看网站| 美女被草网站| 国产精品自拍在线| 久久精品免视看国产明星| 99久久精品国产高清一区二区| 999久久久免费精品国产牛牛| 麻豆网站在线免费观看| 日韩欧美一二三区| 久久精品欧美一区二区| 中文字幕一区二区三区精彩视频 | 欧美激情一区二区三区视频| 国产一区精品| 欧美激情影院| 日本特黄特黄aaaaa大片| 精品视频免费在线| 欧美日本韩国| 国产成人女人在线视频观看| 韩国三级一区| 精品国产一区二区三区国产馆| 亚洲第一色在线| 黄色福利| 国产亚洲免费观看| 欧美大片毛片aaa免费看| 成人免费一级纶理片| 国产91精品一区| 中文字幕一区二区三区 精品| 国产精品1024永久免费视频 | 黄色免费三级| 99久久精品国产片| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 精品视频一区二区三区免费| 日韩一级精品视频在线观看| 九九免费精品视频| 超级乱淫黄漫画免费| 四虎影视库| 色综合久久久久综合体桃花网| 午夜久久网| 尤物视频网站在线观看| 欧美激情一区二区三区中文字幕| 久草免费资源| 国产一区二区精品| 欧美一级视频免费| 99热热久久| 免费毛片播放| 999精品视频在线| 久草免费在线观看| 天天色色色| 999久久狠狠免费精品| 久久久久久久网| 97视频免费在线| 久久国产精品自线拍免费| 日本特黄特色aa大片免费| 日韩中文字幕一区二区不卡| 久久精品大片| 免费的黄视频| 国产91素人搭讪系列天堂| 麻豆系列 在线视频| 成人a大片高清在线观看| 日韩免费片| 黄视频网站免费看| 黄视频网站在线看| 成人a大片高清在线观看| 欧美大片毛片aaa免费看| 青青久热| 国产一区二区精品在线观看| 国产麻豆精品免费密入口| a级精品九九九大片免费看| 欧美一级视频免费| 成人a级高清视频在线观看| 国产亚洲男人的天堂在线观看| 久久国产精品自由自在| 国产91素人搭讪系列天堂| 欧美一区二区三区性| 九九免费精品视频| 四虎精品在线观看| 九九久久99| 精品国产亚洲一区二区三区| 国产高清视频免费| 九九精品在线| 国产视频久久久| 色综合久久天天综线观看| 日本伦理黄色大片在线观看网站| 999精品在线| 成人免费观看网欧美片| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 青青久久精品| 欧美日本免费| 国产不卡在线播放| 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 日韩一级黄色片| 欧美另类videosbestsex久久| 成人a大片在线观看| 国产不卡在线播放| 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 天天做人人爱夜夜爽2020| 欧美a级大片| 精品国产一区二区三区久久久蜜臀| 欧美激情影院| 一级片片| 国产网站免费视频| 日本在线不卡视频| 国产成+人+综合+亚洲不卡| 国产原创视频在线| 一级女性全黄久久生活片| 日韩一级黄色片| 可以免费看毛片的网站| 天天做日日爱| 欧美大片aaaa一级毛片| 日本免费看视频| 国产一区二区精品| 成人a大片在线观看| 麻豆系列国产剧在线观看| 欧美大片毛片aaa免费看| 国产不卡在线看| 日韩免费在线视频| 精品视频一区二区三区| 欧美一级视频免费| 亚洲精品中文一区不卡| 韩国三级视频在线观看| 国产视频在线免费观看| 免费的黄色小视频| 精品国产三级a∨在线观看| 青青青草影院 | 午夜久久网| 成人免费网站视频ww| 日韩一级精品视频在线观看| 国产视频久久久| 日韩免费在线观看视频| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 国产成+人+综合+亚洲不卡| 欧美另类videosbestsex视频| 国产不卡精品一区二区三区| 一级女性大黄生活片免费| 久久久久久久免费视频| 久久国产一久久高清| 久久精品欧美一区二区| 精品久久久久久中文| 国产视频一区在线| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 成人免费一级毛片在线播放视频| 二级片在线观看| 国产91丝袜在线播放0| 欧美大片毛片aaa免费看| 欧美日本二区| 深夜做爰性大片中文| 一级女性全黄久久生活片| 青青久久精品国产免费看| 久草免费在线观看| 尤物视频网站在线| 天堂网中文字幕| 免费毛片播放| 亚洲 激情| 欧美爱爱动态| 国产91精品一区| 日本免费乱理伦片在线观看2018| 午夜激情视频在线播放| 日韩中文字幕在线亚洲一区| 国产一区二区精品| 高清一级做a爱过程不卡视频| 精品久久久久久综合网| 精品视频免费看| 国产成人精品影视| 一级毛片看真人在线视频| 黄视频网站免费看| 国产成人精品一区二区视频| 国产不卡高清在线观看视频| 四虎论坛| 午夜欧美福利| 美女免费精品高清毛片在线视| 韩国三级香港三级日本三级| 日本特黄特色aaa大片免费| 欧美a级片视频| 成人免费一级毛片在线播放视频| 国产91精品系列在线观看| 国产视频久久久久| 91麻豆精品国产高清在线|