A kind of high power UPS of being controlled by MCU
Technical field
The utility model relates to UPS field, relates in particular to a kind of high power UPS of being controlled by MCU.
Background technology
UPS (Uninterruptible Power Supply), uninterrupted power supply, is a kind of AC power of the voltage stabilization and frequency stabilization that contains energy storage device.Mainly utilize the energy storage devices such as battery when having a power failure to the computers such as computer/server, memory device, the network equipment, communications network system or industrial control system, need the industrial equipment etc. of continuous running that continual supply of electric power is provided.When civil power is inputted when normal, UPS will be supplied to load to use after civil power voltage stabilizing, and UPS is now exactly an AC system electricity pressurizer, simultaneously it also to energy storage device as batteries charging.Yet, how can remove setup parameter value and maintenance management UPS according to each user's hobby and environment for use at ordinary times, be that research staff thirsts for the problem solving always.
Utility model content
The purpose of this utility model is to propose a kind of UPS of user-friendly management.
The utility model is by the following technical solutions:
A kind of high power UPS of being controlled by MCU, comprise shell, transformer, display equipment, printed circuit board, battery, HID wiring and power line, on described printed circuit board, MCU is installed, the output of described MCU is connected with described display equipment input by printed circuit board.
Described MCU is the control chip of HCS08 series monolithic.
Described HCS08 series monolithic comprises 8 bit accumulators, 16 index registers can distinguishing access most-significant byte and least-significant byte, 16 stack pointers, 16 program counters and a conditional code register.
The demonstration output of described MCU is serial interface device, and the input of described display equipment connects described serial interface device.
Described printed circuit board is provided with display control program, serial line interface control system, man-machine interface control system and clock pulse control system, the output of described MCU connects the input of described serial line interface control system, the output of described serial line interface control system connects the input of described display control program, the output of described display control program connects the input of described display equipment, the output of described man-machine interface control system is connected with described MCU with described HID wiring with input, the input of described clock pulse control system is connected with the output of the output of described MCU and described transformer, the output of described clock pulse control system and the input of described MCU, the input of described transformer is connected with described HID wiring, the output of described power line is connected with the input of transformer, the input of described battery is connected with the output of transformer.
Described display control program comprises bottom layer driving device and App display unit, and the output of described bottom layer driving device connects the input of described display equipment, and the input of described bottom layer driving device connects described serial line interface control system; The input of described App display unit connects described serial line interface control system, and the output of described App display unit connects the input of described display equipment.
Described serial line interface control system comprises accessory drive and App analytical equipment, and the input of described App analytical equipment connects the output of described MCU, described in state App analytical equipment output connect the input of described App display unit; The input of described accessory drive connects the output of described MCU, and the output of described accessory drive connects the input of described bottom layer driving device.
Described man-machine interface control system comprises key detection device and buzzer control device, and the input of described key detection device connects the output of described HID wiring, and the output of described key detection device connects the input of described MCU5; The input of described buzzer control device connects the output of described MCU, and the output of described buzzer control device connects the input of described HID wiring.
Described clock pulse control system comprises Eeprom data storage apparatus, battery charge controller and fan control and arrangement for detecting, and described Eeprom data storage apparatus connects described MCU; Described battery charge controller connects described transformer and described MCU; The output of described fan control and arrangement for detecting is connected described HID wiring, and the input of described fan control and arrangement for detecting is connected the output of described MCU.
The beneficial effects of the utility model are: can be according to clearly allowing user understand the real-time status of UPS, and can input various instructions, realize the function regulating in real time with monitoring.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of a kind of embodiment of the utility model;
Fig. 2 is the schematic diagram of a kind of embodiment of the utility model;
Fig. 3 is the schematic diagram of a kind of embodiment of the utility model;
Fig. 4 is the schematic diagram of a kind of embodiment of the utility model;
1 is transformer; 2 is display equipment; 3 is battery; 4 is HID wiring; 5 is MCU; 6 is display control program; 61 is bottom layer driving device; 62 is App display unit; 7 is serial line interface control system; 71 is accessory drive; 72 is App analytical equipment; 8 is man-machine interface control system; 81 is key detection device; 82 is buzzer control device; 9 is clock pulse control system; 91 is Eeprom data storage apparatus; 92 is battery charge controller; 93 is fan control and arrangement for detecting.
Embodiment
The nominal definition that first will be called for short part English:
HID:HID(Human Interface Device) human interface device classification is the USB classification that Windows supports the earliest.By its title, can understand HID equipment is the equipment that computer is direct and people is mutual, such as keyboard, mouse and joystick etc.
MCU:MCU (Micro Control Unit) Chinese is micro-control unit, the main task of MCU has been exactly communication and the display equipment of data, the transmission that comprises bottom data receives, the Data Analysis of App layer, and the display equipment of the various states of UPS.
Eeprom:Eeprom (Electrically Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memo)--the storage chip that after a kind of power down, data are not lost.
Below in conjunction with accompanying drawing and by embodiment, further illustrate the technical solution of the utility model.
A kind of high power UPS of being controlled by MCU, comprise shell, transformer 1, display equipment 2, printed circuit board, battery 3, HID wiring 4 and power line, the MCU5 control chip of HCS08 series monolithic is installed on described printed circuit board, described HCS08 series monolithic comprises 8 bit accumulators, 16 index registers can distinguishing access most-significant byte and least-significant byte, 16 stack pointers, 16 program counters and a conditional code register; The demonstration output of described MCU5 is serial interface device, and the input of described display equipment 2 connects described serial interface device, and described MCU5 connects described display equipment 2 by printed circuit board.
Described printed circuit board, as Fig. 1, be provided with display control program 6, serial line interface control system 7, man-machine interface control system 8 and clock pulse control system 9, the output of described MCU5 connects the input of described serial line interface control system 7, the output of described serial line interface control system 7 connects the input 7 of described display control program, the output of described display control program 6 connects the input of described display equipment 2, the output of described man-machine interface control system 8 is connected with described MUC6 with described HID wiring 4 with input, the input of described clock pulse control system 9 is connected with the output of described transformer 1 with the output of described MCU5, the output of described clock pulse control system 9 and the input of described MCU5, the input of described transformer 1 is connected with described HID wiring 4, the output of described power line 5 is connected with the input of transformer 1, the input of described battery 3 is connected with the output of transformer 1.
Wherein, described display control program 6, as Fig. 2, comprises bottom layer driving device 61 and App display unit 62, the output of described bottom layer driving device 61 connects the input of described display equipment 2, and the input of described bottom layer driving device 61 connects described serial line interface control system 7; The input of described App display unit 62 connects described serial line interface control system 7, and the output of described App display unit 72 connects the input of described display equipment 2; Described serial line interface control system 7 comprises accessory drive 71 and App analytical equipment 72, and the input of described App analytical equipment 72 connects the output of described MCU5, described in state App analytical equipment 72 output connect the input of described App display unit 62; The input of described accessory drive 81 connects the output of described MCU5, and the output of described accessory drive 71 connects the input of described bottom layer driving device 61; Described man-machine interface control system 8, as Fig. 3, comprise key detection device 81 and buzzer control device 82, the input of described key detection device 81 connects the output of described HID wiring 4, and the output of described key detection device 81 connects the input of described MCU5; The input of described buzzer control device 82 connects the output of described MCU5, and the output of described buzzer control device 82 connects the input of described HID wiring 4; Described clock pulse control system 9, as Fig. 4, comprises Eeprom data storage apparatus 91, battery charge controller 92 and fan control and arrangement for detecting 93, and described Eeprom data storage apparatus 91 connects described MCU5; Described battery charge controller 92 connects described transformer 1 and described MCU5; The output of described fan control and arrangement for detecting 93 is connected described HID wiring 4, and described fan control is connected the output of described MCU5 with the input of arrangement for detecting 93.
The main task of the present embodiment MCU5 has been exactly communication and the LCD demonstration of data, by accessory drive 71, App analytical equipment 72, bottom layer driving device 61 and App display unit 62, the various states of UPS can be shown on display equipment 2 in real time.By coordinating of MCU5 and related system and device, can be according to clearly allowing user understand the real-time status of UPS, and can by HID system, be connected each external equipment with HID wiring by the various instructions of key detection device 81 input, realize the function regulating in real time with monitoring.Battery charge controller 92 can regulate the state of transformer and fan by each different index of battery and organism temperature from fan control and arrangement for detecting 93, realizes the function of automatic monitoring and adjusting.
The present embodiment adopts the HCS08 series monolithic of Freescale company R&D and production, and HCS08 series is a 8 novel 8-digit microcontroller series, although comprise new instruction, can carry out fast debugging and development function, but still completely compatible with old HC08 series.Described HCS08 series monolithic comprises 8 bit accumulators, 16 index registers can distinguishing access most-significant byte and least-significant byte, 16 stack pointers, 16 program counter and one 8 s' conditional code register; Wherein 8 accumulators are general eight bit registers.CPU comes deposit operation number and operation result with it; This 16 bit register note of index register is H:X, the effective address for indexed addressing with decision operand.Under indexed addressing pattern, it can addressing 64K byte.Low byte X is used for depositing the operand of command M UL and DIV.It is temporary that H:X also can be used as data; The stack pointer of 16 is used to refer to position next available in storehouse, when stack pointer offset addressing mode, CPU uses the content of stack pointer as the index of accessing operation number, storehouse can be positioned at any position of RAM, and the size of RAM is limited by 64K byte addressing space only; 16 (V4 kernel is 22) program counters are deposited the address of next instruction or operand, and it can access the address space of 64K byte (V4 kernel is 4M byte); 8 conditional code registers are used for depositing the indicating bit of global interrupt mask bit and five indicator operation results.
Know-why of the present utility model has below been described in conjunction with specific embodiments.These are described is in order to explain principle of the present utility model, and can not be interpreted as by any way the restriction to the utility model protection range.Explanation based on herein, those skilled in the art does not need to pay performing creative labour can associate other embodiment of the present utility model, within these modes all will fall into protection range of the present utility model.