The utility model content
In view of this, the utility model is to provide a kind of charger with usb communication and expanded function, with solve that above-mentioned digital product charges or data transmission procedure in can occur that transfer of data lost efficacy or the charging problem of unstable because electric current is low.
For addressing the above problem, the utility model provides a kind of charger with usb communication and expanded function, comprising:
The control module that connects diverter switch, control its switch connection self-charging module is discharged to peripheral hardware to battery charge or connection battery output module after triggering; After described self-charging module detects USB IN input interface connection peripheral hardware, trigger control module connects self with diverter switch, after described battery output module detects USB out output interface that data exchange module HUB connects and is connected to peripheral hardware, can trigger control module diverter switch be connected self, and whether the voltage, the electric current that detect described USB out interface are lower than threshold value, the control battery discharge; Described USB IN interface connects HUB.
Preferably, described self-charging module also connects the direct current input interface.
Preferably, the quantity of described USB IN interface or described USB out interface is at least more than one.
Preferably, described battery also connects and shows the electric weight indicator light that discharges and recharges.
The charger that has USB interface in the utility model, can digital product charge by USB interface or data transmission procedure in, when electric current is low, compensate, avoid transfer of data to lose efficacy or guarantee the digital product constant charge; When at the outdoor application digital product, the user can be in moving process, is the digital product charging by charger, is user-friendly to.
Embodiment
For clearly demonstrating the technical scheme in the utility model, provide preferred embodiment below and be described with reference to the accompanying drawings.
Referring to Fig. 1, Fig. 1 is the structure chart of embodiment, comprise: by the USB1 and the USB2 of data wire connection, USB1 is first USB interface, USB2 is second USB interface, and USB1 connects double control switch S2 and control chip, and one of S2 connects charge controlling chip and storage battery to switch, another connects control chip and diverter switch S1 to switch, and another of S1 is to connecting storage battery and USB2.
When USB1 inserts computer, when the control chip measuring voltage satisfies threshold value, double control switch 1,4 closures of S2,2,3 closures, 1,2 closures of S1 switch, the computer expert crosses USB1 to charge in batteries, and charging process is controlled by charge controlling chip, and is the transfer of data power supply;
In the charging process of storage battery, control chip constantly detects the variation of voltage, and when voltage was lower than threshold value, control chip disconnected 1,4 ends of S2, makes the electric current from USB 1 stop to be storage battery power supply, only is the transfer of data power supply between USB1 and the USB2;
When control chip stops to be storage battery power supply, only be in the process of the transfer of data power supply between USB1 and the USB2, when control chip detects electric current instability from USB1, in the time of can not guaranteeing transfer of data, 2,3 pins with Closing Switch S1, by storage battery power supply, guarantee the transfer of data between USB1 and the USB2.
As user during at the outdoor application digital product, because mobility is strong, when the digital product electric weight was not enough, USB interface that also can be by storage battery is directly for digital product charges, and was user-friendly.
At the interface of USB1, USB2, can also expand a plurality of USB interface respectively, to satisfy the transfer of data needs between computer and a plurality of digital product.When carrying out battery charge by USB interface, can charge with USB interface (trickle charge generally has only the input current of 500mA) also can utilize external power supply to fill soon.
During charging, can use circuit supply pattern (Bus-powered mode) to carry out transfer of data or power supply (even mains switch goes out closed condition).When the demand that the big what of electric weight of USB interface input is exported, remaining electric weight can charge to rechargeable battery; When the electric weight of USB interface input is less than the demand of output, the input of USB electric weight can be cut off, by rechargeable battery powered.The time of switching is short more good more.
One of the foregoing description is a kind of implementation of the present utility model, provides another implementation embodiment two below, referring to Fig. 2,
Comprise: control module connects battery output module or self-charging module by diverter switch, after the self-charging module detects USB IN input interface or the connection of DC IN interface, trigger control module connects the self-charging module with diverter switch SW1, and the self-charging module can be a battery charge with the input current from USB IN interface and DC IN interface;
After the battery output module detects USB out output interface that data exchange module HUB connects and is connected to peripheral hardware, can trigger control module diverter switch SW1 be switched to battery input module side, and detect voltage, the current value of each USB out interface, when the output valve of voltage, electric current is lower than threshold value, the control battery discharge.
USB IN interface connects each USB out interface by the HUB module, in use, also carries out transfer of data by each USB interface, and the quantity of USB IN interface or USB out interface can be more than one.
In the charge and discharge process, the conducting of control module control SW2, control electric weight indicator light shows different indication colors.
The charger that has USB interface in the utility model, can digital product charge by USB interface or data transmission procedure in, when electric current is low, compensate, avoid transfer of data to lose efficacy or guarantee the digital product constant charge; When at the outdoor application digital product, the user can be in moving process, is the digital product charging by charger, is user-friendly to.
For the device of being set forth among each embodiment of the utility model, all within spirit of the present utility model and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within the protection range of the present utility model.