A kind of Multifunctional portable power source
Technical field
The utility model relates to portable electric appts accessory field, relates in particular to a kind of Multifunctional portable power source with the OTG function.
Background technology
Universal along with various intelligent mobile terminals as smart mobile phone, panel computer, camera etc., make USB OTG equipment both can be used as main equipment also can be used as from the function of equipment possess obtain more and more extensive use may.Yet the mobile terminal of prior art substantially all needs special-purpose OTG line to connect could realize the OTG function.And existing portable power source can only play the effect to mobile terminal charging, do not possess and serve as PC and be connected the function of medium with digital equipment data or OTG.When the user uses the mobile terminal device of supporting the OTG function to connect other digital equipment as USB flash disk as smart mobile phone or panel computer, need to use independent OTG line, carry, use all inconvenient; And, because mobile terminal device need to just can communicate connection for connected equipment power supply, reduced the cruising time of battery in mobile phone or panel computer.
It is can be for the USB mother socket of the digital equipments such as USB flash disk access that the OTG connecting line that the user uses is generally an end, the other end is that mobile terminal interface is as Micro USB public plug, VCC, the D-of Micro USB public plug, D+, GND pin respectively with VCC, D-, D+, the GND pin separate connection of USB mother socket, it is ground connection that the ID pin of Micro USB public plug is connected with the GND pin, form thus the OTG line, if it is unsettled that the ID pin of Micro USB public plug and GND pin are not connected, form a data wire that can be connected with data the mobile terminal device charging.
Summary of the invention
Technical problem to be solved in the utility model is: a kind of Multifunctional portable power source is provided, this portable power source has the function as emergent charging such as mobile phone, panel computer, cameras to mobile terminal, the function of also having gathered OTG line and power supply, remove user additional configuration connecting line and worry of reducing cruising time of battery in mobile terminal device and bringing while using the mobile terminal device of supporting the OTG function to be connected with other digital equipments OTG from, and the simple easy realization of circuit, very convenient and practical.
For solving the problems of the technologies described above, the utility model adopts following technical scheme:
A kind of Multifunctional portable power source, include the USB input port, power-supply circuit, a USB output port, the 2nd USB output port that connect successively, also include at least one mobile terminal interface data wire and the ID pin state switching circuit with OTG function, this mobile terminal interface data wire is connected with described power-supplying circuit, the 2nd USB output port, ID pin state switching circuit respectively.
Preferably, described ID pin state switching circuit is controlled the ID pin of mobile terminal interface and is opened a way over the ground or short circuit, can pass through software exchange ID pin status; Or by toggle switch manual switchover state.
Preferably, but but described power-supply circuit includes charging circuit repeated charge battery, the DC-DC booster circuit of being located at successively between described USB input port, a USB output port, the 2nd USB output port and described mobile terminal interface data wire and the control circuit be connected with the DC-DC booster circuit with described repeated charge battery, and this control circuit is provided with the control signal output port be connected with described ID pin state switching circuit.
Preferably, described USB input port is a Micro USB mother socket, and described first, second USB output port is the USB mother socket, and described mobile terminal interface data wire at least comprises a band Micro USB public plug and the inner data wire that comprises 5 heart yearns.
Preferably, described ID pin state switching circuit is a N channel field-effect pipe, and the grid of this field effect transistor is connected with described control signal output port, drain electrode is connected with the ID pin of described mobile terminal interface, source ground.
Preferably, the D-pin of a described USB output port respectively by resistance with the VCC pin, with the GND pin, is connected, the D+ pin passes through respectively a resistance and is connected with the GND pin with the VCC pin, the D-pin of described the 2nd USB output port, D+ pin are connected with D-pin, the D+ pin of described mobile terminal interface data wire respectively, and unsettled separately.
Preferably, described control circuit also is connected with working state indicating circuit and battery capacity indication circuit.
Preferably, the output of described power-supply circuit also is connected with a LED lighting circuit.
The beneficial effects of the utility model are: embodiment of the present utility model has the mobile terminal interface data wire of OTG function by setting, an and ID pin state conversion commutation circuit, thereby not only had to mobile terminal as mobile phone, panel computer, the function of the emergent charging such as camera, the function of also having gathered OTG line and power supply, remove user additional configuration connecting line and the worry of bringing the cruising time that has reduced the interior battery of mobile terminal device while using the mobile terminal device of supporting the OTG function to be connected with other digital equipments OTG from, and circuit is simple easily to be realized, very convenient and practical.
The accompanying drawing explanation
Fig. 1 is the electrical block diagram of an embodiment of Multifunctional portable power source of the present utility model.
Fig. 2 is the structural representation of power-supply circuit in embodiment of Multifunctional portable power source of the present utility model.
Fig. 3 is the circuit connection diagram of USB input port in embodiment of Multifunctional portable power source of the present utility model.
Fig. 4 is the interface circuit connection diagram of mobile terminal interface data wire in embodiment of Multifunctional portable power source of the present utility model.
Fig. 5 is the circuit connection diagram of a USB output port in embodiment of Multifunctional portable power source of the present utility model.
Fig. 6 is the circuit connection diagram of the 2nd USB output port in embodiment of Multifunctional portable power source of the present utility model.
Fig. 7 is the circuit connection diagram of ID pin commutation circuit in embodiment of Multifunctional portable power source of the present utility model.
Embodiment
Below in conjunction with accompanying drawing, the utility model is described in further detail.
Fig. 1-Fig. 7 describes an embodiment of the Multifunctional portable power source that the utility model provides in detail; As shown in Figure 1, the present embodiment mainly includes USB input port 1, power-supply circuit 2, a USB output port 3, the 2nd USB output port 4 connected successively, also include at least one mobile terminal interface data wire 5 and the ID pin state switching circuit 6 with OTG function, this mobile terminal interface data wire 5 is connected with described power-supplying circuit 2, the 2nd USB output port 4, ID pin state switching circuit 6 respectively.
In addition, the output of described power-supply circuit 2 also can connect a LED lighting circuit 6, in order to realize the function of LED flashlight.
The mobile terminal of the present embodiment can be the various digital equipments such as mobile phone, panel computer or camera of supporting the OTG function.
During specific implementation, when described ID pin commutation circuit control ID pin is opened a way over the ground, can realize that charging connects; While controlling ID pin shorted to earth, can realize that OTG connects.
Please refer to Fig. 2, during specific implementation, but but described power-supply circuit 2 can specifically include charging circuit 21 repeated charge batteries 22, the DC-DC booster circuit 23 of being located at successively between described USB input port 1 and USB output port 2 and the control circuit 24 be connected with DC-DC booster circuit 23 with described repeated charge battery 22, and this control circuit 24 is provided with the signal output port IO_1 be connected with described ID pin commutation circuit 6.
Further, described control circuit 24 also is connected with display circuit 25, working state indicating circuit 26 and battery capacity indication circuit 27.And, consider in order to protect cell safety, but can be provided with battery protecting circuit in described repeated charge battery 22.
Please refer to Fig. 3-Fig. 6, as a preferred implementation of the present embodiment, described USB input port is that a Micro USB mother socket, a described USB output port are that a mother socket of the USB with divider resistance, the 2nd USB output port are that a USB mother socket, described mobile terminal interface data wire at least comprise a band Micro USB public plug and the inner data connecting line that comprises 5 heart yearns.
Described mobile terminal interface data wire 5 also can include the data connecting line with iPhone Dock public plug, iPhone Lightning public plug or Mini USB public plug.
Please refer to Fig. 5, during specific implementation, the D-pin of a described USB output port respectively by resistance R 1 with resistance R 2, with the VCC pin, with the GND pin, be connected, the D+ pin passes through respectively resistance R 3 and is connected with the GND pin with the VCC pin with resistance R 4.
Please refer to Fig. 7, during specific implementation, described ID pin state switching circuit 6 can be specially a N channel field-effect pipe M1, and the grid of this field effect transistor is connected with described control signal output port, the ID pin on the interface of drain electrode and described mobile terminal interface data wire is connected, source ground.
In Fig. 3-Fig. 7, the input voltage that Vin is power-supply circuit 2 (as the computer of power supply or the output voltage of power supply adaptor); Vout is the output voltage of power-supply circuit 2; D-, D+ pin are the data pins of mobile terminal interface data wire 5, the 2nd USB output port 4; ID is the ID pin on the interface of mobile terminal interface data wire 5; IO_1 is the control output signal of power-supply circuit 2.
Below describe the operation principle of the present embodiment in detail.
Computer or power supply adaptor are by charging wire or, after being directly connected to USB input port 1, computer or power supply adaptor can charge to the present embodiment.
The one USB output port 3 by charging wire or data wire be connected to mobile terminal device as mobile phone after, the present embodiment can charge to mobile terminal device, due to a USB output port band divider resistance, the charging identification signal is provided, as iPhone4, support the original-pack data wire charging of this mobile terminal device for the mobile terminal device that requires the charging identification signal.
When control signal output port IO_1 is low level, field effect transistor M1 turn-offs, the ID pin is opened a way over the ground, the 2nd USB output port 4 and the mobile terminal interface data wire 5 of the present embodiment are set to charged state, the 2nd USB output port 4 by charging wire or data wire be connected to mobile terminal device as mobile phone after, the present embodiment can charge for it, mobile terminal interface data wire 5 be connected to mobile terminal device as mobile phone after, the present embodiment can charge for it, due to the 2nd USB output port 4 without divider resistance, the charging identification signal is not provided, for require the charging identification signal mobile terminal device as iPhone4, do not support to use original-pack data wire or 5 chargings of use mobile terminal interface data wire of this mobile terminal device.
When control signal output port IO_1 is high level, field effect transistor M1 conducting, ID pin shorted to earth, be set to the OTG connection status between the 2nd USB output port 4 of the present embodiment and mobile terminal interface data wire 5, the digital storage equipment such as the 2nd USB output port 4 access USB flash disks, after the digital equipments such as mobile phone of OTG access facility are supported in mobile terminal interface 5 accesses, the digital equipments such as mobile phone are connected with the USB flash disk data by portable power source, simultaneously because the 5V output of the 2nd USB output port is powered, having replaced the digital equipment such as mobile phone is the USB flash disk power supply, extended the cruising time of the digital equipments such as mobile phone.
The above is preferred implementation of the present utility model; it should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the utility model principle; can also make some improvements and modifications, these improvements and modifications also are considered as protection range of the present utility model.