关键词:电源开关;定时;电源故障;单片机 Abstract In daily life, as the aging of electrical equipment, transmission line issues such as wear and tear, if not unnoticed, it is easy to lead to unintended harm when power supply failure, and is dangerous when unattended. Meanwhile, the energy crisis also prompted us to better control of the electrical equipment. At present, the realization of the power switch control are most commonly used hardware-based control to prevent forgetting off the controller power switch. The program is based on hardware-based, the time when the power failure it will automatically cut off, but not conducive to manual monitoring. Control method for the current problem, the paper raises a new way to control power switch. Based on MCU Timing switching power supply using computer and microcomputer, through software programming to realize the power switch of the control and treatment, use of microcontroller on power supplies monitoring, through the serial port RS-232 to a computer, and simulation results on a computer with VC + + design window is shown to realize the simulation of the timer switch power supply design and implementation. The system has the following advantages: 1. Power control is more streamlined. System is relatively simple mode of operation, the user simply set the power supply switching time, the computer will control, and control the results of dominant way of graphically displayed. 2. Economy and practicality. With lower computer microcomputer control, with the host computer's operation, so the cost to a minimum. At the same time, relatively simple circuit design, reduced data processing time and improve the efficiency of the process. 3. Scalability. System design to take into account the future development and use of technology needs, with the update, expand and upgrade potential. The system is based on only the least cost to achieve power supply control, the practical applications in the future of the project works according to the actual needs of expansion of system functions. With the above advantages, the scheme can be applied to real life applications, in order to achieve the lowest cost efficient power supply control. Intuitive graphical interface makes the operation and display more of human nature, for future power development in a new way of thinking and the reference value.
Key words: power on and off; definite time; power failure; SCM