Utility model content
Main purpose of the present utility model is to provide a kind of energy auto-breaking after equipment is full of electricity and intuitively demonstrates the Intelligent USB charger of charging complete, and can protect by rechargeable battery, fail safe is high.
The utility model proposes a kind of intelligent USB adapter, comprise for alternating current being transferred to galvanic power module and the USB interface being used for being connected charging device, also comprise the voltage detection unit that the voltage of the battery of charging device is detected, the state indication unit that the charged state current to charging device indicates, cell voltage for detecting according to described voltage detection unit judges whether battery is full of electricity and is determining that battery is full of rear control module and the switch element stopping charging of electricity, described USB interface comprises the power end VBUS for powering to the charging device connected, negative data end D-, correction data end D+ and earth terminal GND, the power output end of described power module is connected with the power input of the power end VBUS of described USB interface and described control module, earth terminal GND and the described control module of described voltage detection unit and described USB interface are connected, described control module is connected with described state indication unit, described switch element comprises the change over switch for changing normal charging mode and intelligent charge pattern and the intelligent charge switch for starting charging under intelligent charge pattern, described change over switch is connected with described control module with described intelligent charge switch.
Preferably, described state indication unit comprise for show be in normal charging mode the first LED light, for showing the second LED light of being in intelligent charge pattern and being in for display adapter the 3rd LED light that initial state and battery are full of electricity condition.
Preferably, described control module comprises the single-chip microcomputer that model is HT46R064, described voltage detection unit is voltage checking chip, the first input end of described single-chip microcomputer is connected with described change over switch, second input of described single-chip microcomputer is connected with described intelligent charge switch, 3rd input of described single-chip microcomputer is connected with the detection signal output of described voltage checking chip, the detection signal input of described voltage checking chip is connected with the earth terminal GND of described USB interface, first output of described single-chip microcomputer is connected with the control signal input of described voltage checking chip, the control signal output of described voltage checking chip is connected with the earth terminal GND of described USB interface, second output of described single-chip microcomputer is connected with described first LED light, 3rd output of described single-chip microcomputer is connected with described second LED light, 4th output of described single-chip microcomputer is connected with described 3rd LED light.
Preferably, also comprise the USB special charging port controller be connected with the power output end of described power module, described USB special charging port controller is connected with negative data end D-, the correction data end D+ of described USB interface.
Preferably, the shell of described intelligent USB adapter is provided with display window, and described first LED light, the second LED light and the 3rd LED light are arranged in described display window.
Preferably, the shell of described intelligent USB adapter is provided with the charge mode selection key be connected with described change over switch and the intelligent charge button be connected with described intelligent charge switch.
The beneficial effect of Intelligent USB charger of the present utility model is:
Intelligent USB charger of the present utility model is detected the voltage of the battery of charging device and the voltage analog signal detected is sent to control module by voltage detection unit, when the voltage of battery being detected at setting range, then judge that battery is full of electricity, control module just controls battery and stops charging and driving corresponding indicator light to light, the equipment of realization is full of the rear auto-breaking of electricity, and intuitively demonstrate charging complete by indicator light is light, with protection by rechargeable battery, the over-charging of battery of avoiding device and cause shorter battery life, make user safer, the use of more feeling at ease.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the utility model, and be not used in restriction the utility model.
Referring to figs. 1 through Fig. 4, an embodiment of intelligent USB adapter of the present utility model is proposed:
A kind of intelligent USB adapter, comprise the plug 10 for incoming transport electricity, for alternating current being transferred to galvanic power module 1 and the USB interface 7 being used for being connected charging device, also comprise the voltage detection unit 3 that the voltage of the battery of charging device is detected, the state indication unit 4 that the charged state current to charging device indicates, cell voltage for detecting according to voltage detection unit 3 judges whether battery is full of electricity and is determining that battery is full of the rear control module 2 stopping charging of electricity, USB special charging port (DCP) controller 6 be connected with the power output end of power module 1 and switch element 5.
Plug 10 inserts in socket, and connect alternating current, the alternating current of input is converted to 5V direct current, for charging external equipment by power module 1.This USB interface 7 comprises power end VBUS for powering to the charging device connected, negative data end D-, correction data end D+ and earth terminal GND.The 5V power output end of this power module 1 is connected with the power input of power end VBUS, USB special charging port (DCP) controller 6 of USB interface 7 and control module 2.
The maximum output of USB interface 7 is 5V 2.1A, automatically can identify the mobile phone of different model or the charging current of flat board, reach best charging.
This USB special charging port (DCP) controller 6 is connected with negative data end D-, the correction data end D+ of USB interface 7, and negative data end D-and correction data end D+ is shorted together, and stops transfer of data, makes port concentrate on charge function completely.
This control module 2 comprises single-chip microcomputer that model is HT46R064 and provides the power supply chip of power adapter for single-chip microcomputer, the 5V power output end of power module 1 is connected with the power input of the power supply chip of control module 2, and the power output end of power supply chip is connected with the VDD pin of single-chip microcomputer.The reset terminal PA7/-RES of single-chip microcomputer is connected with the power output end of power supply chip by a resistance R5, and ground connection after being connected with an electric capacity C11.When power supply stops input, the reset terminal PA7/-RES of single-chip microcomputer connects low level, and Single Chip Microcomputer (SCM) system resets, and returns to initial state.
This voltage detection unit 3 is voltage checking chip, the detection signal input of voltage checking chip is connected with the earth terminal GND of USB interface 7,3rd input PA1/AN1 of single-chip microcomputer is connected with the detection signal output of voltage checking chip, and the resistance R10 that connects between the 3rd input PA1/AN1 and the detection signal output of voltage checking chip of single-chip microcomputer, an electric capacity C13 in parallel, resistance R10 and electric capacity C13 forms RC circuit, helps the voltage of microprocessor detect rechargeable battery.The voltage of the battery of voltage detection unit 3 pairs of charging devices detects in real time, and the voltage analog signal detected is sent to control module 2, and control module 2 pairs of voltage analog signals carry out conversion and calculate, to judge whether battery is full of electricity.
First output PA5/OSC2 of single-chip microcomputer is connected with the control signal input of voltage checking chip, and a resistance R9 is connected between the first output PA5/OSC2 and the control signal input of voltage checking chip of single-chip microcomputer, the control signal output of voltage checking chip is connected with the earth terminal GND of USB interface 7.When single-chip microcomputer judges that battery is full of electricity, single-chip microcomputer can send signal to voltage checking chip, makes the control signal output of voltage checking chip export high level, thus makes battery stop charging, realize intelligent charge.
In intelligent charge pattern; this Intelligent USB charger is detected the voltage of the battery of charging device by voltage detection unit 3 and the voltage analog signal detected is sent to control module 2; when the voltage of battery being detected at setting range; then judge that battery is full of electricity; control module 2 just controls battery and stops charging; the equipment of realization is full of the rear auto-breaking of electricity, to protect by rechargeable battery.
Switch element 5, state indication unit 4 are connected with control module 2.This switch element 5 comprises the change over switch for changing normal charging mode and intelligent charge pattern and the intelligent charge switch for starting charging under intelligent charge pattern.The first input end PA4/PWM0 of single-chip microcomputer is connected with change over switch K1, by change over switch K1, single-chip microcomputer is changed under dormancy and wake-up states, thus realizes the conversion of common powered-on mode and intelligent charge pattern.Second input PA3/AN3 of single-chip microcomputer is connected with intelligent charge switch S 1, when change over switch K1 is converted to intelligent charge pattern, opens intelligent charge by intelligent charge switch S 1.
The shell of intelligence USB adapter is provided with the charge mode selection key 30 be connected with change over switch K1 and the intelligent charge button 40 be connected with intelligent charge switch S 1, stirs charge mode selection key 30 left, enters normal charging mode; Stir charge mode selection key 30 to the right, enter intelligent charge pattern; Under intelligent charge pattern, pressing intelligent charge button 40, starts power supply to equipment charge.
State indication unit 4 comprise for show be in normal charging mode orange first LED light LED1, for showing the redness second LED light LED2 that is in intelligent charge pattern and being in for display adapter green the 3rd LED light LED3 that initial state and battery are full of electricity condition.Second output PB0 of single-chip microcomputer is connected with the first LED light, and the 3rd output PB1 of single-chip microcomputer is connected with the second LED light, and the 4th output PB2 of single-chip microcomputer is connected with the 3rd LED light.The shell of intelligence USB adapter is provided with display window 20, and the first LED light, the second LED light and the 3rd LED light are arranged in display window 20.When entering normal charging mode, the first orange LED light lights; When entering intelligent charge pattern, the second red LED light lights; When adapter is in initial state or device battery is full of electricity, the 3rd green LED light lights.
This Intelligent USB charger is a is mobile phone specially, panel computer and the product designed by charger baby, detected the voltage of the battery of charging device by voltage detection unit 3 and the voltage analog signal detected is sent to control module 2, when the voltage of battery being detected at setting range, then judge that battery is full of electricity, control module 2 just controls battery and stops charging and driving corresponding indicator light to light, the equipment of realization is full of the rear auto-breaking of electricity, and intuitively demonstrate charging complete by indicator light is light, with protection by rechargeable battery, the over-charging of battery of avoiding device and cause shorter battery life, make user safer, the use of more feeling at ease.
The foregoing is only preferred embodiment of the present utility model; not thereby the scope of the claims of the present utility model is limited; every equivalent structure transformation utilizing the utility model specification and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present utility model.