A kind of USB quick charge line and method thereof
Technical field
The present invention relates to charging technique field, particularly relate to a kind of USB quick charge line and method thereof.
Background technology
Along with technology/technique in industry is constantly upgraded breakthrough, the Internet universal, particularly in recent years, mobile Internet and smart machine organically blending and universal, people's life/work rhythm, what be virtually accelerated becomes " becoming nervous ".The electronic product of new appearance is invariably with efficient, high-quality, intelligence, lightly convenient etc. for theory.
Such as smart mobile phone, the life popularizing and be widely used in us of the mobile devices such as panel computer, they have always been engraved in impact and have incorporated our each corner of life, we can according to various needs, obtain and install various customization of individual character/specialized application program very like a cork, but these extremely dazzle and have lively man-machine interface, the hardware configuration of super grade high efficiency also has the experience of high efficiency smart to bring to be our battery power to consume fast, and then make us need change battery or charging frequently and look for corresponding device genuine charger/charging wire frequently.
So people need often with the charger of multiple distinct device.But be sometimes easy to leave behind charger, for charging brings inconvenience.
Therefore, market just there is PC adaptive charging transducer, to realize, to the mobile device of targeted certain brand/certain specific model, coming for its quick charge through PC.Such as, certain brand adapter/converter only can give the charging of 1000mA to Samsung mobile phone, and to the panel computer of Samsung or apple Iphone, Ipad then cannot reach its quick charge effect, its maximum charging current is restricted to and is not more than 500mA. and this means, if user has multiple mobile device, then need to be with different this all kinds of PC adaptive charging transducer of N kind.
Summary of the invention
In order to solve the problems of the technologies described above, the object of this invention is to provide a kind of USB quick charge line and method thereof that the adaptive plurality of devices of a kind of energy carries out charging.
The technical solution adopted in the present invention is:
A kind of USB quick charge line, comprise connecting line and the USB-A joint being arranged on connecting line one end, described USB-A joint comprises 5V input USB-A male seat, 5V output USB-A female seat and mobile device intelligent identifying circuit, the output of described 5V input USB-A male seat is connected with the input of 5V output USB-A female seat and the input of mobile device intelligent identifying circuit respectively, and described 5V output USB-A female seat is connected with mobile device intelligent identifying circuit.
As the further improvement of described a kind of USB quick charge line, described mobile device intelligent identifying circuit comprises the first resistance, second resistance, 3rd resistance, 4th resistance, 5th resistance, logic controller, first electronic switch, second electronic switch, first operational amplifier, second operational amplifier and the 3rd operational amplifier, the first end of described first resistance is all connected with power end with the first end of the 3rd resistance, second end of described first resistance is connected to ground by the second resistance, second end of described 3rd resistance is connected to ground by the 4th resistance, the inverting input of described first operational amplifier is selected to be connected to the second end of the first resistance and the second end of the 3rd resistance, the inverting input of described second operational amplifier is selected to be connected to the second end of the first resistance and the second end of the 3rd resistance, the inverting input of described 3rd operational amplifier is connected with the inverting input of the second operational amplifier, the inverting input of described first operational amplifier is connected with DP signal end, the inverting input of described 3rd operational amplifier is connected with DM signal end, the in-phase input end of described first operational amplifier accesses the first base reference level, the in-phase input end of described second operational amplifier accesses the second base reference level, in-phase input end access the 3rd base reference level of described 3rd operational amplifier, the first input end of the output andlogic control device of described first operational amplifier connects, second input of the output andlogic control device of described second operational amplifier connects, 3rd input of the output andlogic control device of described 3rd operational amplifier connects, described DP signal end is connected with DM signal end by the first electronic switch, described DM signal end is connected to ground by the 5th resistance and the second electronic switch successively.
As the further improvement of described a kind of USB quick charge line, the resistance of described 5th resistance is 500 Ω.
As the further improvement of described a kind of USB quick charge line, described connecting line and part USB-A joint are coated with layer of PVC.
Another technical scheme of the present invention is:
A kind of USB fast charge method, comprises the following steps:
A, send test level signal by DM/DP holding wire to mobile device and carry out affiliated rechargeable standard identification, draw the rechargeable standard that mobile device is corresponding;
B, according to the rechargeable standard that draws, logic controller exports corresponding level signal to corresponding metal-oxide-semiconductor array, and controls it and connect corresponding electric resistance partial pressure array, thus starts quick charge.
As the further improvement of described a kind of USB fast charge method, described steps A comprises:
A1, the test level signal sent to mobile device by DM/DP holding wire;
Whether A2, the feedback level signal judging mobile device are H, if so, then perform steps A 3; Otherwise, then continue to send lower a kind of test level signal to mobile device, and re-execute steps A 2;
A3, be the test level signal of H according to corresponding feedback level signal, find out corresponding rechargeable standard.
The invention has the beneficial effects as follows:
It is adaptive that a kind of USB quick charge line of the present invention and method thereof effectively can realize USB quick charge by mobile device intelligent identifying circuit, automatically switch to the rechargeable standard belonging to mobile device, and carry out quick charge, effective solution is charged the problem maybe cannot charged slowly on computers, greatly save the charging stand-by period, make user without the need to multi-band charger again.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
Fig. 1 is the principle schematic of a kind of USB quick charge of the present invention line;
Fig. 2 is the circuit theory diagrams of mobile device intelligent identifying circuit in a kind of USB quick charge of the present invention line;
Fig. 3 is the flow chart of steps of a kind of USB fast charge method of the present invention.
Embodiment
With reference to figure 1, a kind of USB quick charge of the present invention line, comprise connecting line and the USB-A joint being arranged on connecting line one end, described USB-A joint comprises 5V input USB-A male seat, 5V output USB-A female seat and mobile device intelligent identifying circuit, the output of described 5V input USB-A male seat is connected with the input of 5V output USB-A female seat and the input of mobile device intelligent identifying circuit respectively, and described 5V output USB-A female seat is connected with mobile device intelligent identifying circuit.
With reference to figure 2, as the further improvement of described a kind of USB quick charge line, described mobile device intelligent identifying circuit comprises the first resistance R1, second resistance R2, 3rd resistance R3, 4th resistance R4, 5th resistance R5, logic controller, first electronic switch S1, second electronic switch S2, first operational amplifier D1, second operational amplifier D2 and the 3rd operational amplifier D3, the first end of described first resistance R1 is all connected with power end with the first end of the 3rd resistance R3, second end of described first resistance R1 is connected to ground by the second resistance R2, second end of described 3rd resistance R3 is connected to ground by the 4th resistance R4, the inverting input of described first operational amplifier D1 is selected to be connected to second end of the first resistance R1 and second end of the 3rd resistance R3, the inverting input of described second operational amplifier D2 is selected to be connected to second end of the first resistance R1 and second end of the 3rd resistance R3, the inverting input of described 3rd operational amplifier D3 is connected with the inverting input of the second operational amplifier D2, the inverting input of described first operational amplifier D1 is connected with DP signal end, the inverting input of described 3rd operational amplifier D3 is connected with DM signal end, the in-phase input end of described first operational amplifier D1 accesses the first base reference level, the in-phase input end of described second operational amplifier D2 accesses the second base reference level, in-phase input end access the 3rd base reference level of described 3rd operational amplifier D3, the first input end of the output andlogic control device of described first operational amplifier D1 connects, second input of the output andlogic control device of described second operational amplifier D2 connects, 3rd input of the output andlogic control device of described 3rd operational amplifier D3 connects, described DP signal end is connected with DM signal end by the first electronic switch S1, described DM signal end is connected to ground by the 5th resistance R5 and the second electronic switch S2 successively.
As the further improvement of described a kind of USB quick charge line, the resistance of described 5th resistance R5 is 500 Ω.
As the further improvement of described a kind of USB quick charge line, described connecting line and part USB-A joint are coated with layer of PVC.
With reference to figure 3, a kind of USB fast charge method of the present invention, comprises the following steps:
A, send test level signal by DM/DP holding wire to mobile device and carry out affiliated rechargeable standard identification, draw the rechargeable standard that mobile device is corresponding;
B, according to the rechargeable standard that draws, logic controller exports corresponding level signal to corresponding metal-oxide-semiconductor array, and controls it and connect corresponding electric resistance partial pressure array, thus starts quick charge.
As the further improvement of described a kind of USB fast charge method, described steps A comprises:
A1, the test level signal sent to mobile device by DM/DP holding wire;
Whether A2, the feedback level signal judging mobile device are H, if so, then perform steps A 3; Otherwise, then continue to send lower a kind of test level signal to mobile device, and re-execute steps A 2;
A3, be the test level signal of H according to corresponding feedback level signal, find out corresponding rechargeable standard.
Specific embodiments of the invention are as follows:
Access the equipment to USB-A joint of the present invention such as mobile phone/panel computer as user after, mobile device intelligent identifying circuit is by DM/DP holding wire, mobile device to user sends out " L-1 " level, then wait for that the DM/DP feedback on user's mobile device is " H ", or " L " level, if that user's mobile device feedback is " H ", then representing that the current charge arrangement to user's mobile device is correct, is conform to the configuration of its requirement; If that user's mobile device feedback is " L ", then mean that the current charge arrangement to mobile device is not right, mobile device intelligent identifying circuit can continue again to send out " L-2 " level through DM/DP to user's mobile device, till user's movement feedback is " H " level, and the good rechargeable standard belonging to equipment charge of ROM pre-edit inner with it is checked, draw corresponding rechargeable standard.According to Data Comparison, logic controller exports corresponding H/L level makes it connect corresponding resistor dividing potential drop array to corresponding metal-oxide-semiconductor array, the level that electric resistance array is got " opens " charging " recognitiion gate " of subscriber equipment by DM/DP holding wire, allow it enter most fast charge mode.
In mobile device intelligent identifying circuit, by sampling DM/DP being the level value of the inverting input of operational amplifier, and do " and computing " with the base reference level VDP/VDM1/VDM2 of the in-phase input end of operational amplifier, after obtaining " two level differences ", logic controller is exported to by its output pin, logic controller through intrinsic function computing when logic controller receive operational amplifier output terminal come level for " L " level time, logic controller can export " H " level again to the MOS electronic switch array of its inside, electronic switch secondary is switched and connects electric resistance partial pressure array first resistance R1, second resistance R2, 3rd resistance R3 the 4th resistance R4 and the 5th resistance R5, when logic controller receive operational amplifier output terminal come level for " H " level time, represent that current DM/DP two ends level value meets the rechargeable standard such as BC1.2 or YD/T1591-2009, therefore any process is not done in logic controller inside, , be confirmed whether that will control corresponding MOS array comes convert resistance dividing potential drop contact.To maintain the stabilization of level on DM/DP in real time, ensure mobile device stable continue be in " quick charge " state.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.