CN204243832U - A kind of charging and output compatible multiplex roles charging circuit - Google Patents

A kind of charging and output compatible multiplex roles charging circuit Download PDF

Info

Publication number
CN204243832U
CN204243832U CN201420759810.0U CN201420759810U CN204243832U CN 204243832 U CN204243832 U CN 204243832U CN 201420759810 U CN201420759810 U CN 201420759810U CN 204243832 U CN204243832 U CN 204243832U
Authority
CN
China
Prior art keywords
interface
switch
charging
circuit
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201420759810.0U
Other languages
Chinese (zh)
Inventor
陈新银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Lanan Technology Co ltd
Original Assignee
Chongqing Blue Bank Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Blue Bank Communication Technology Co Ltd filed Critical Chongqing Blue Bank Communication Technology Co Ltd
Priority to CN201420759810.0U priority Critical patent/CN204243832U/en
Application granted granted Critical
Publication of CN204243832U publication Critical patent/CN204243832U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model provides a kind of charging and output compatible multiplex roles charging circuit, and comprising: a charging circuit, it is connected to first interface and the second interface respectively by the first charge switch and the second charge switch; Be connected to the switch control rule on the first charge switch and the second charge switch and comparison circuit, it controls described first charge switch and the second charge switch work, selects a selection first interface or the charging of the second interface; And data transmission circuit, its one end connects mainboard, and the other end is connected to first interface and the second interface respectively by the first transmitting switch and the second transmitting switch.Ensure it is no matter in the power-offstate or under open state, no matter insert two chargers simultaneously, or insert USB OTG line, or insert respectively, can normally work, and it is little to increase cost.This programme adopts pure hardware implementing completely, without the need to software modification, can reduce a large amount of development amount.

Description

A kind of charging and output compatible multiplex roles charging circuit
Technical field
The utility model belongs to charging circuit field, particularly one charging and output compatible multiplex roles charging circuit.
Background technology
Along with the fast development of electronic information technology and Internet technology, particularly recent years mobile network and the application of cloud computing more and more extensive, the application of mobile device particularly panel computer has penetrated into each corner of society.Many a kind of charging modes and many USB port, can bring great convenience to user.
General mobile device just only has a general Micro USB port usually, this connector can support that (5V voltage always inputs from outside from external charging input, as PAD charging input source), also support that connecing USB OTG line exports (in mainboard, the always communication exported to the outside as external equipment of 5V voltage is powered), user can connect mouse, keyboard, USB flash disk, portable hard drive etc. by this USB OTG line.For windows operating system, when using as USB communication port, this side of panel computer is always as master control (Master or HOST, 5V voltage always exports to the outside).This side of ancillary equipment is controlled (Slave) always.
If client will increase 1 again and both supported that external charging inputted in existing scheme, it is very difficult for supporting again to connect the Micro USB port that OTG line exports.Mainly contain following two kinds of solutions at present:
Scheme one, as shown in Figure 1, is directly connected together the VBUS pin of two Micro USB.Advantage is simple.But there is following critical defect: when one of them Micro USB port inputs as charge port, when another one Micro USB port exports as OTG line, due to now, on same node, the 5V input of existing outside, have again inner 5V to export, this can cause Serious conflicts.Cause interlock circuit cannot work at all.Even burn out.
Scheme two, as shown in Figure 2, the charging circuit configuration retaining former scheme is constant, more additional a set of new charging circuit charges the battery.But there is following shortcoming: be first the increase in very large cost, secondly for window system, need a set of new window of exploitation to drive for this charging circuit.This bothers very much.After the last charging system owing to there being two covers different, it is very complicated that battery electric quantity management becomes, and related software also needs again to develop.
Utility model content
For the shortcoming of above scheme, the invention provides a kind of charging and output compatible multiplex roles charging circuit, the compatibility realizing the charging of multiple interface and export.
The technical solution of the utility model is:
A kind of charging and output compatible multiplex roles charging circuit, it comprises:
A charging circuit, it is connected to first interface and the second interface respectively by the first sub-charge switch and the second sub-charge switch;
Be connected to the switch control rule on described first sub-charge switch and described second sub-charge switch and comparison circuit, it controls described first sub-charge switch and described second sub-charge switch work, selects the described first interface of a selection or described second interface charging;
And data transmission circuit, its one end connects mainboard, and the other end is connected to described first interface and described second interface respectively by the first transmitting switch and the second transmitting switch.The utility model adopts a charging circuit, the compatibility of charging and transfer of data can be completed, and there will not be in prior art one when one of them Micro USB port inputs as charge port, the problem that when another one Micro USB port exports as OTG line, the 5V input of existing outside has again inner 5V to export on same node, can not cause serious friction, also interlock circuit can not be caused cannot to work at all, simultaneously, do not increase new charging circuit, cost is reduced relative to scheme two, and adopt switch control rule and comparison circuit to control the work of described first sub-charge switch and described second sub-charge switch, select the described first interface of a selection or described second interface charging, there will not be the problem that two interfaces charge simultaneously, do not need to change on systems soft ware simultaneously yet.
Preferably, in described charging and output compatible multiplex roles charging circuit, the number of described first interface and described second interface is at least one, the words of multiple interface, charge switch and switch control rule and comparison circuit can be increased according to quantity, just can realize multiplex roles and thrust and export compatibility.
Preferably, in described charging and output compatible multiplex roles charging circuit, described switch control rule and comparison circuit comprise and are connected to the first switch control rule on described first sub-charge switch and comparison circuit and the second switch be connected on described second sub-charge switch and control and comparison circuit; When equipment is in off-mode, and described first interface and described second interface are when all accessing charger, described first switch control rule and comparison circuit output low level are given described first sub-charge switch and connect described first sub-charge switch, described first interface starts charging, described second switch controls and comparison circuit keeps high level to make it remain open to the second sub-charge switch, and described second interface does not charge.Be provided with the priority of interface charging, can ensure to only have an interface in charging, avoid the problem that two interfaces charge simultaneously, the difficulty that electricity is added up can not be caused.
Preferably, in described charging and output compatible multiplex roles charging circuit, described switch control rule and comparison circuit comprise and are connected to the first switch control rule on described first sub-charge switch and comparison circuit and the second transmitting switch be connected on described second sub-charge switch and control and comparison circuit; When equipment is in open state, and described first interface and described second interface are when all accessing charger, described first switch control rule and comparison circuit output low level are given described first sub-charge switch and are connected described first interface and start charging, it is low level that described first switch control rule and comparison circuit export first interface status signal, the control of described second switch and comparison circuit are exported still keeps high level to described second sub-charge switch, described second sub-charge switch to be remained open, and described second interface does not charge.Be provided with the priority of interface charging, can ensure to only have an interface in charging, avoid the problem that two interfaces charge simultaneously, the difficulty that electricity is added up can not be caused.
Preferably, in described charging and output compatible multiplex roles charging circuit,
Described data transmission circuit connects described mainboard;
When equipment is in off-mode, described data transmission circuit disconnects;
When equipment is in open state, during described first interface data inserting transmission line, described data transmission circuit connects described first interface;
When equipment is in open state, during described second interface data inserting transmission line, described data transmission circuit connects described second interface.Described data transmission circuit disconnects when shutting down, and described first interface and described second interface all can not carry out transfer of data; Described data transmission circuit disconnects when starting shooting, and described first interface and described second interface all can carry out transfer of data, realize the transfer of data of multiplex roles.
Preferably, in described charging and output compatible multiplex roles charging circuit, described first interface and described second interface are the interface meeting USB2.0.As long as pinout is identical, also can be thimble etc., such as, by the form of thimble on PAD base, according to client's needs, can physical keyboard be done, also can do high capacity cell etc., applied range.If platform itself only only has one group of USB D+, D-interface can go expansion by USB HUB, note when selecting USB HUB, the USB HUB that should select meets following requirement: when a certain group of D+, D-short circuit time, other several groups of D+, D-still can normally work.Because according to BC1.2 rechargeable standard, common wall charger is D+, D-short circuit.
Preferably, in described charging and output compatible multiplex roles charging circuit, the one in described data output circuit external connection keyboard, mouse, USB flash disk or portable hard drive.
Preferably, in described charging and output compatible multiplex roles charging circuit, described equipment is the one in PAD, mobile phone or MP3.
The charging that the utility model provides and output compatible multiplex roles charging circuit are not only be confined to windows system, can also be applicable to the other systems such as android simultaneously, go for various electronic, be with a wide range of applications.
Present design mainly uses the ID pin level height in wherein Micro USB interface, the whether existence of VBUS voltage, in mainboard, whether OTG_5V voltage exists, judge whether panel computer is in open state or off-mode, control the switching of relevant diverter switch, ensure the normal work of interlock circuit.This programme charging circuit still uses original a set of, uses relevant commutation circuit, ensures it is no matter in the power-offstate or under open state, no matter insert two chargers simultaneously, or insert USBOTG line, or insert respectively, can normally work, and it is little to increase cost.This programme adopts pure hardware implementing completely, without the need to software modification, can reduce a large amount of development amount.
The utility model adopts a charging circuit, the compatibility of charging and transfer of data can be completed, and there will not be in prior art one when one of them Micro USB port inputs as charge port, the problem that when another one Micro USB port exports as OTG line, the 5V input of existing outside has again inner 5V to export on same node, can not cause serious friction, also interlock circuit can not be caused cannot to work at all, simultaneously, do not increase new charging circuit, cost is reduced relative to scheme two, and adopt switch control rule and comparison circuit to control the work of the first sub-charge switch and the second sub-charge switch, select a selection first interface or the charging of the second interface, there will not be the problem that two interfaces charge simultaneously, do not need to change on systems soft ware simultaneously yet.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of a scheme of current multiplex roles charging circuit;
Fig. 2 is the schematic diagram of another scheme of current multiplex roles charging circuit;
Fig. 3 is the structural representation of USB interface;
The schematic diagram of an embodiment of the charging that Fig. 4 provides for the utility model and output compatible multiplex roles charging circuit;
First switch control rule of an embodiment of the charging that Fig. 5 provides for the utility model and output compatible multiplex roles charging circuit and the circuit diagram of comparison circuit;
The second switch of an embodiment of the charging that Fig. 6 provides for the utility model and output compatible multiplex roles charging circuit controls and the circuit diagram of comparison circuit;
The circuit diagram of the part that the charging that Fig. 7 provides for the utility model is connected with A USB interface with the data transmission circuit of an embodiment of output compatible multiplex roles charging circuit;
The circuit diagram of the part that the charging that Fig. 8 provides for the utility model is connected with B USB interface with the data transmission circuit of an embodiment of output compatible multiplex roles charging circuit.
Embodiment
Below in conjunction with accompanying drawing, the utility model is described in further detail, can implements according to this with reference to specification word to make those skilled in the art.
Existing, comprise flat board and mobile phone, all only have a USB port, as shown in Figure 3, when the line VBUS pin inserted has 5V voltage to input, and USB_ID pin is when being sky pin, be just judged as that (meet BC1.2 charging specifications, size of current depends on and USB_D+ in charging, USB_D-, if short circuit between these two pin, be just judged as wall charger, charging current can be greater than 500mA; If these two pin are in communication state, be just judged as USB charger, charging current is limited in below 500mA).But the line VBUS pin inserted does not have voltage to input, and when USB_ID pin is ground connection, system can determine and insert USB OTG line, therefore charging can not start, and output USB_0TG_5V voltage to VBUS line powers to circumscribed USB equipment.
As shown in Figure 4, the utility model provides a kind of charging and output compatible multiplex roles charging circuit, and it comprises:
A charging circuit, it is connected to first interface A Micro USB and the second interface B Micro USB respectively by the first high-power SWITCH of sub-charge switch A MOS and the high-power SWITCH of the second sub-charge switch B MOS, wherein first interface A Micro USB comprises an a power pins VBUSa and ID pin IDa, and the second interface B Micro USB comprises an a power pins VBUSb and ID pin IDb;
Be connected to the switch control rule on the first high-power SWITCH of sub-charge switch A MOS and the high-power SWITCH of the second sub-charge switch BMOS and comparison circuit, it controls the high-power SWITCH work of the described first high-power SWITCH of sub-charge switch A MOS and the second sub-charge switch B MOS, selects first interface A Micro USB or the second interface B Micro USB to charge;
And data transmission circuit, its one end connects mainboard OTG_5V, the other end is connected to first interface A Micro USB and the second interface B Micro USB respectively by the first transmitting switch A SWITCH and the second transmitting switch A SWITCH, first transmitting switch A SWITCH is arranged between ID pin IDa and equipment mainboard OTG_5V, and the second transmitting switch A SWITCH is arranged between ID pin IDa and equipment mainboard OTG_5V.
In described charging and output compatible multiplex roles charging circuit, described switch control rule and comparison circuit comprise and are connected to the first switch control rule on the high-power SWITCH of the first sub-charge switch A MOS and comparison circuit and the second switch be connected on the high-power SWITCH of the second sub-charge switch B MOS and control and comparison circuit; When equipment is in off-mode, and two interfaces are when all accessing charger, described first switch control rule and comparison circuit output low level are given the first high-power SWITCH of sub-charge switch A MOS and are connected first interface A Micro USB and start charging, described second switch controls and comparison circuit keeps high level to make it remain open to the high-power SWITCH of the second sub-charge switch A MOS, and the second interface B Micro USB does not charge.
In described charging and output compatible multiplex roles charging circuit, described switch control rule and comparison circuit comprise the first switch control rule of being connected on the high-power SWITCH of the first sub-charge switch A MOS and comparison circuit B power switch controls and comparison circuit and the second switch be connected on the high-power SWITCH of the second sub-charge switch B MOS controls and comparison circuit B power switch controls and comparison circuit, when equipment is in open state, and two interfaces are when all accessing charger, described first switch control rule and comparison circuit A power switch control and comparison circuit output low level is connected first interface A Micro USB start charging to the first high-power SWITCH of sub-charge switch A MOS, described first switch control rule and comparison circuit A power switch control and comparison circuit output first interface status signal is low level, the control of described second switch and the control of comparison circuit B power switch and comparison circuit are exported still keeps high level to the high-power SWITCH of the second sub-charge switch A MOS, the high-power SWITCH of the second sub-charge switch A MOS to be remained open, second interface B Micro USB does not charge.
In described charging and output compatible multiplex roles charging circuit,
Described data transmission circuit connects mainboard OTG_5V;
When equipment is in off-mode, data transmission circuit disconnects;
When equipment is in open state, during first interface A Micro USB data inserting transmission line, data transmission circuit connects first interface A Micro USB;
When equipment is in open state, during the second interface B Micro USB data inserting transmission line, data transmission circuit connects the second interface B Micro USB.
In described charging and output compatible multiplex roles charging circuit, described first interface A Micro USB and the second interface A Micro USB is the interface meeting USB2.0.
In described charging and output compatible multiplex roles charging circuit, the one in described data output circuit external connection keyboard, mouse, USB flash disk or portable hard drive.
In described charging and output compatible multiplex roles charging circuit, described equipment is the one in PAD, mobile phone or MP3.
For windows PAD,
1) when windows PAD is in off-mode
Condition a: when A Micro USB interface inserts charger, B Micro USB interface also inserts charger
Due in the power-offstate, the ID pin IDa in two Micro USB port and IDb level are low level, and OTG_5V voltage is 0V, then A SWITCH and B SWITCH all closes.But because two chargers all insert, then the voltage of VBUSa, VBUSb all exists.Therefore the control of A power switch and comparison circuit output low level are to the high-power SWITCH of A MOS, this switch conduction, VCHG obtains electric, and as the input of charging circuit, battery starts charging.Meanwhile, B power switch controls and comparison circuit receives A output signal, export and still keep high level to the high-power SWITCH of B MOS, therefore the high-power SWITCH of B MOS still closes, avoid two chargers to work simultaneously, cause conflict, A Micro USB interface can be designed arbitrarily during design, priority when B Micro USB interface is charged simultaneously, guarantee only has a charger in real charging, another one charger does not charge, the A mouth state output signal of the control of A power switch and comparison circuit is received on the A mouth state input pin of the control of B mouth power switch and comparison circuit herein, during design priority, the state output signal of B Micro USB interface is not input on the control of A power switch and comparison circuit, then the power switch of A controls and comparison circuit just depends on VBUS voltage purely, output low level control signal is given to the high-power SWITCH of A MOS, the high-power SWITCH of A MOS is with regard to conducting, A Micro USB interface starts charging.Meanwhile, the control of B power switch and comparison circuit have received the state output signal of A Micro USB interface, indicate that charger inserts, B power switch controls and comparison circuit just still exports high-level control signal, the high-power SWITCH of B MOS is still closed, and B Micro USB interface is not charged.
Condition b: when A Micro USB interface inserts charger, B Micro USB interface inserts USBOTG line
A Micro USB interface VBUSa inputs 5V to be existed, and the control of A power switch and comparison circuit output low level are to the high-power SWITCH of A MOS, and this switch conduction, VCHG obtains electric, and as the input of charging circuit, battery starts to charge from A Micro USB interface.Because OTG_5V voltage is that the high-power SWITCH of 0, B MOS can not conducting, under off-mode, USB OTG line function cannot use.
Condition c: when B Micro USB interface inserts charger, A Micro USB interface inserts USBOTG line
Similar with condition b, B Micro USB interface VBUSb inputs 5V to be existed, and the control of B power switch and comparison circuit output low level are to the high-power SWITCH of B MOS, this switch conduction, VCHG obtains electric, and as the input of charging circuit, battery starts to charge from B Micro USB interface.Because OTG_5V voltage is that the high-power SWITCH of 0, A MOS can not conducting, under off-mode, USB OTG line function cannot use.
Condition d: when B Micro USB interface inserts USB OTG line, A Micro USB interface inserts USB OTG line
Because OTG_5V voltage under off-mode is 0, therefore the USB OTG line function of two Micro USB interface all cannot use.
2) when windows PAD is in open state
Condition a: when A Micro USB interface inserts charger, B Micro USB interface also inserts charger
Because flat board is started shooting, therefore OTG_5V voltage produces, but is high level due to the ID pin in two Micro USB interface and VBUS pin level, therefore A SWITCH and B SWITCH can not open.And the control of A power switch and comparison circuit output low level are to the high-power SWITCH of A MOS, this switch conduction, VCHG obtains electric, and as the input of charging circuit, battery starts to charge from first interface A Micro USB interface.Meanwhile, it is low level that A power switch control simultaneously and comparison circuit export A mouth status signal, therefore make the control of B power switch and comparison circuit output still keep high level to the high-power SWITCH of B MOS, therefore the high-power SWITCH of B MOS still closes, second interface B Micro USB interface is not charged, avoid two chargers to work simultaneously, cause conflict.
Condition b: when A Micro USB interface inserts charger, B Micro USB interface inserts USBOTG line
Due to the input of VBUSa 5V voltage, IDa is also for high level makes A power switch control and comparison circuit output low level is given to the high-power SWITCH of A MOS, this switch conduction, and VCHG obtains electric, as the input of charging circuit, battery starts to charge from first interface A Micro USB interface.This simultaneously, it is low level that A power switch control simultaneously and comparison circuit export A mouth status signal, therefore make the control of B power switch and comparison circuit output still keep high level to the high-power SWITCH of B MOS, therefore the high-power SWITCH of BMOS still closes, and the second interface B Micro USB interface is not charged.And due to, B Micro USB interface inserts USB OTG line, therefore IDb voltage is low level, thus BSWITCH opens, OTG_5V voltage is delivered on VBUSb line, B Micro USB interface USBOTG line can normally work, and B mouth status signal high level can be sent back to A power switch simultaneously and control and comparison circuit.
Condition c: when B Micro USB interface inserts charger, A Micro USB interface inserts USBOTG line
Due to the input of VBUSb 5V voltage, IDb is also high level, makes the control of B power switch and comparison circuit output low level be given to the high-power SWITCH of B MOS, this switch conduction, VCHG obtains electric, as the input of charging circuit, battery starts from the second interface B Micro USB interface charging.This simultaneously, A power switch controls and comparison circuit exports and still keeps high level to the high-power SWITCH of A MOS, and therefore the high-power SWITCH of A MOS still closes.And because A Micro USB interface inserts USBOTG line, therefore IDa voltage is low level, thus A SWITCH opens, and has been delivered to by OTG_5V voltage on VBUSa line, and A mouth USB OTG line can normally work.
Condition d: when B Micro USB interface inserts USB OTG line, A Micro USB interface inserts USB OTG line
Because the ID pin level in individual Micro USB port is low level, therefore two power switch controls and comparison circuit output are low level, two high-power SWITCH of MOS all close, meanwhile, A SWITCH and B SWITCH all opens, and has been delivered to respectively by OTG_5V voltage on VBUSa, VBUSb line, ensure that A Micro USB interface, B Micro USB interface USB OTG line all normally works.
As shown in Fig. 5, Fig. 6, Fig. 7 and Fig. 8, the circuit of actual design is as follows:
When A Micro USB interface and B Micro USB interface insert charger simultaneously, be preferential with A MicroUSB interface.
Definition+VSYS_EXT_VREG is cell voltage input, is nominally 3.7V,
Definition+V1P8A is the 1.8V voltage of system, and after only having system boot ,+V1P8A just has 1.8V voltage to export.
U8 is the DC-DC producing OTG_5V, and it has+V1P8A directly to control, and therefore under system closedown state, OTG_5V exports as 0V, under system boot state: OTG_5V output voltage is 5V.Concrete signal is defined as follows:
Voltage above VBUSa:Micro USB A the 1st pin (power supply pin), no matter be insert charger, still connect USB OTG line, during work, this pin voltage is defaulted as 5V (logic level is high level).
Level above USB_IDa:Micro USB A the 4th pin (ID detects pin), under off-mode, opinion inserts charger, and still connect USB OTG line, this pin voltage is 0V (logic level is low level).Under open state, if insertion is charger, this pin is defaulted as high level, if insertion is USB OTG line, because this pin is shorted to ground, so pin is low level by OTG line inside.
OTG_5V: this voltage acquiescence is used as the power supply (being made up of DC-DC) during USB OTG, and it has system voltage 1.8V directly to control, as long as system one is started shooting, system voltage 1.8V just exists, therefore OTG_5V voltage just exists always.Under off-mode, system voltage 1.8V does not exist, therefore OTG_5V voltage also can not exist.Whether one that is started shooting as this panel computer by OTG_5V judge that signal is (when OTG_5V is high level herein simultaneously, expression system is started shooting, when OTG_5V is low level, expression system is in off-mode) in practical application, also can represent the on-off state of system with other suitable signals.
A_STATUS:Micro_USB A mouth state indicates, and represents that this mouthful inserts USBOTG line or do not insert the state of any equipment, represent that this mouth is in charged state (inserting charging wire) during low level during high level.
In like manner, the definition of VBUSb, USB_IDb, B_STATUS belongs to B Micro USB interface, and definition reference is see A Micro USB interface.
As shown in Fig. 5, Fig. 6, Fig. 7 and Fig. 8, the operation principle of an embodiment of the charging that the utility model provides and output compatible multiplex roles circuit, is described below:
Under off-mode: OTG_5V voltage does not exist.
1) A Micro USB interface inserts charger, and B Micro USB interface does not insert any line.
+ VUSB_A has 5V voltage to input, therefore A test point (i.e. USB_ID_A) is high level, then U2 (the high-power SWITCH of A MOS) starts working, and it exports E test point (i.e.+VCHG) and obtains 5V voltage, be given to charging circuit, start to charge to battery.Simultaneously because OTG_5V voltage does not exist in the power-offstate, therefore Q24, U7 do not work.Can not have an impact to current the charging normal of A Micro USB interface.
Because B Micro USB interface does not insert any line, + VUSB_B voltage does not exist, therefore M test point (i.e. USB_ID_B) voltage does not also exist, Q4714-B, Q4714-A, Q4712-B, U3010 do not work, can not have an impact to E test point (i.e.+VCHG), the charging of A mouth still can normally be carried out.
2) A Micro USB interface inserts OTG line, and B Micro USB interface does not insert any line.
Because OTG_5V voltage does not exist in the power-offstate ,+VUSB_A and+VUSB_B does not also exist, and because whole plank is except+VSYS_EXT_VREG cell voltage, exists, therefore insert OTG line under off-mode without any impact without any voltage.
3) A Micro USB interface does not insert any line, and B Micro USB interface inserts charger.
Because A Micro USB interface does not insert any line, OTG_5V voltage does not exist, and+VUSB-A does not also exist, so Q24, Q25, Q26, U2, U7 do not work.Can not have an impact to E test point (i.e.+VCHG) and F test point (A_STATUS).
Because B Micro USB port inserts charger, therefore+VUSB_B has 5V voltage to input, then M test point (i.e. USB_ID_B) is high level, Q4714-B conducting, H test point is low level, and Q4714-A ends, N test point is high level, therefore U3010 (the high-power SWITCH of P MOS) starts working, VCHG (identical with E test point) obtains 5V voltage, is given to system charging circuit.Such B MicroUSB interface just starts to charge to battery.
4) A Micro USB interface does not insert any line, and B Micro USB interface inserts USB OTG line.
Because OTG_5V voltage does not exist in the power-offstate ,+VUSB_A and+VUSB_B does not also exist, and because whole plank is except+VSYS_EXT_VREG cell voltage, exists, therefore insert OTG line under off-mode without any impact without any voltage.
5) A Micro USB interface inserts charger, and B Micro USB interface inserts USB OTG line.
+ VUSB_A has 5V voltage to input, therefore A test point (i.e. USB_ID_A) is high level, then U2 (the high-power SWITCH of A MOS) starts working, and it exports E test point (i.e.+VCHG) and obtains 5V voltage, be given to charging circuit, start to charge to battery.Simultaneously because OTG_5V voltage does not exist in the power-offstate, therefore Q24, U7 do not work.Can not have an impact to current the charging normal of A Micro USB interface.
Due to the insertion of B Micro USB interface is USB OTG line, + VUSB_B voltage does not exist, OTG_5V voltage does not exist in the power-offstate, therefore M test point (i.e. USB_ID_B) voltage does not also exist, Q4714-B, Q4714-A, Q4712-B, U3010 do not work, can not have an impact to E test point (i.e.+VCHG), the charging of A Micro USB interface still can normally be carried out.
6) what A Micro USB interface was inserted is USB OTG line, and B Micro USB interface inserts charger
Due to the insertion of A Micro USB interface is USB OTG line, and under off-mode, OTG_5V voltage does not exist, and+VUSB_A does not also exist, so Q24, Q25, Q26, U2, U7 do not work.Can not have an impact to E test point (i.e.+VCHG) and F test point (A_STATUS).
Because B Micro USB interface inserts charger, therefore+VUSB_B has 5V voltage to input, then M test point (i.e. USB_ID_B) is high level, Q4714-B conducting, H test point is low level, and Q4714-A ends, N test point is high level, therefore U3010 (the high-power SWITCH of P MOS) starts working ,+VCHG (identical with E test point) obtains 5V voltage, is given to system charging circuit.Such B Micro USB interface just starts to charge to battery.
7) A Micro USB interface inserts charger, and B Micro USB interface inserts charger
+ VUSB_A has 5V voltage to input, therefore A test point (i.e. USB_ID_A) is high level, then U2 (the high-power SWITCH of A MOS) starts working, and it exports E test point (i.e.+VCHG) and obtains 5V voltage, be given to charging circuit, start to charge to battery.Simultaneously because OTG_5V voltage does not exist in the power-offstate, therefore Q24, U7 do not work.Can not have an impact to current the charging normal of A Micro USB interface.
Simultaneously because A test point (i.e. USB_ID_A) is high level, the grid of Q26 is also high level, make Q26 conducting always, C test point is high level, therefore Q25 conducting, (because B Micro USB interface charger inserts, have 5V voltage, Q25 is drained upper pull-up voltage), F test point (i.e. A_STATUS) is low level.Namely N test point (A_STATUS) is low level, and U3010 does not work, and can not produce any impact to+VCHG.
Although B Micro USB interface charger inserts, there is 5V voltage, M test point is made to be high level, then Q4712-B does not work (because OTG_5V voltage does not exist), Q4714-B conducting, H test point is low level, but due to N test point be low level, so Q4714-A does not work, on N test point without any impact.
Under open state: OTG_5V voltage produces
1) A Micro USB interface inserts charger, and B Micro USB interface does not insert any line.
A test point (i.e. USB_ID_A) is high level, then U2 (the high-power SWITCH of A MOS) starts working, and it exports E test point (i.e.+VCHG) and obtains 5V voltage, is given to charging circuit, starts to charge to battery.Q24 conducting simultaneously, B test point is low level, and U7 can not work, and can not all have an impact by+VUSB_A.Because pull-up voltage in Q25 drain electrode can not exist (B Micro USB interface does not insert any equipment), therefore Q25 can not work.
Because B Micro USB interface does not insert any equipment, Q4714-A, Q4714-B do not work, although M test point USB_ID_B is high level, Q4712-B conducting, R test point is low level, therefore U1 does not also work.Also can not charge normal A Micro USB interface and produce any impact.
2) A Micro USB interface inserts OTG line, and B Micro USB interface does not insert any line
A test point is low level, therefore U2 closedown does not work.Q24 ends, and B test point is high level, and U7 starts working, and export+VUSB_A voltage supply USB OTG equipment use, the USB OTG equipment of A Micro USB interface can normally work.
Simultaneously Q26 conducting, C test point is low level, but does not insert any equipment due to B Micro USB interface, therefore Q25 does not go up pull-up voltage, does not work yet, and does not affect B Micro USB interface state.
M test point is high level, Q4712-B conducting, and R test point is low level, and U1 does not work.Q4714-B, Q4714-A owing to not going up pull-up voltage, so also do not work.
3) A Micro USB interface does not insert any line, and B Micro USB interface inserts charger
A test point is high level, Q24 conducting, and B test point is low level, and U7 can not work.Simultaneously because+VUSB_A does not exist, therefore U2, Q26, Q25 do not work.
M test point is high level, Q4712-B conducting, and R test point is low level, and U1 does not work.Q4714-B conducting simultaneously, H test point is low level, and Q4714-A ends, and N test point is high level, and U3010 starts working.+ VCHG obtains 5V voltage, is given to system charging circuit, makes B Micro USB interface start to charge to battery.
4) A Micro USB interface does not insert any line, and B Micro USB interface inserts USB OTG line,
A test point is high level, Q24 conducting, and B test point is low level, and U7 can not work.Simultaneously because+VUSB_A does not exist, therefore U2, Q26, Q25 do not work.
M test point is low level, and Q4712-B ends, and R test point is high level, and U1 starts working, and export+VUSB_B voltage supply USB OTG equipment use, the USB OTG equipment of B Micro USB interface can normally work.
Q4714-B cut-off simultaneously, H test point is high level, Q4714-A conducting, and N test point is low level, and U3010 does not work.
5) A Micro USB interface inserts charger, and B Micro USB interface inserts USB OTG line.
A test point (i.e. USB_ID_A) is high level, then U2 (the high-power SWITCH of A MOS) starts working, and it exports E test point (i.e.+VCHG) and obtains 5V voltage, is given to charging circuit, starts to charge to battery.Q24 conducting simultaneously, B test point is low level, and U7 can not work, and can not all have an impact by+VUSB_A.Q26 conducting, C test point is high, and Q25 conducting, F test point (A_STATUS) is low level, and namely N test point is low level, and U3010 does not work, and can not have an impact by right+VCHG.
M test point is low level, and Q4712-B ends, and R test point is high level, and U1 starts working, and exports+VUSB_B and powers as USB OTG line, the USB OTG of B Micro USB interface is normally worked.
6) what A Micro USB interface was inserted is USB OTG line, and B Micro USB interface inserts charger
A test point (i.e. USB_ID_A) is low level, then U2 (the high-power SWITCH of A MOS) does not work, and can not all have an impact by+VCHG.Q24 ends, and B test point is high level, and U7 starts working, and export+VUSB_A voltage supply USB OTG equipment use, the USB OTG equipment of A Micro USB interface can normally work.
Q26 conducting, C test point is low level, and Q25 ends, and F test point (A_STATUS) is high level.
M test point is high level, Q4712-B conducting, and R test point is low level, therefore U1 can not work.Q4714-B also conducting simultaneously, H test point is low level, and Q4714-A ends, and output A_STATUS is high level, also ensure that N test point is high level.U3010 starts working, and+VCHG obtains 5V voltage, is given to system charging circuit, makes B Micro USB interface start to charge to battery.
7) A Micro USB interface inserts charger, and B Micro USB interface inserts charger
A test point (i.e. USB_ID_A) is high level, then U2 (the high-power SWITCH of A MOS) starts working, it exports E test point (i.e.+VCHG) and obtains 5V voltage, be given to charging circuit, therefore A Micro USB interface starts to charge to battery.Q24 conducting simultaneously, B test point is low level, and U7 can not work, and can not all have an impact by+VUSB_A.Q26 conducting, C test point is high, Q25 conducting, and F test point (A_STATUS) is low level, and namely N test point is low level, and U3010 does not work, even if therefore B Micro USB interface inserts charger, be also equivalent to disconnect.
M test point is high level, Q4712-B conducting, and R test point is low level, and U1 does not also work.
Q4714-B conducting, H test point is low level, but due to N test point be low level, Q4714-A is ineffective.
8) A Micro USB interface inserts USB OTG line, and B Micro USB interface inserts USB OTG line
A test point (i.e. USB_ID_A) is low level, then U2 (the high-power SWITCH of A MOS) does not work.Q24 ends, and B test point is high level, and U7 starts working, and export+VUSB_A voltage supply USB OTG equipment use, the USB OTG equipment of A Micro USB interface can normally work.
Q26 conducting, C test point is low level, and Q25 ends, and F test point (A_STATUS) depends on the state of Q4714-A;
M test point is low level, and Q4712-B ends, and R test point is high level, and U1 starts working.Export+VUSB_B to power as USB OTG line, the USB OTG of B Micro USB interface is normally worked.
Q4714-B cut-off simultaneously, H test point is high level, Q4714-A conducting, and N test point is low level, and U3010 does not work.
Have USB OTG_5V SWITCH, the high-power SWITCH of MOS, the whole circuit structure of power switch control and comparison circuit in the utility model simultaneously; The Micro USB interface of the utility model middle finger is only a kind of form, as long as pinout is identical, also can be thimble etc., such as, by the form of thimble on PAD base, according to client's needs, can do physical keyboard, also can do high capacity cell etc.
The utility model is also not only confined to window operating system.
Although embodiment of the present utility model is open as above, but it is not restricted to listed in specification and execution mode utilization, it can be applied to various applicable field of the present utility model completely, for those skilled in the art, can easily realize other amendment, therefore do not deviating under the universal that claim and equivalency range limit, the utility model is not limited to specific details and illustrates here and the legend described.

Claims (8)

1. charging and an output compatible multiplex roles charging circuit, is characterized in that, comprising:
A charging circuit, it is connected to first interface and the second interface respectively by the first sub-charge switch and the second sub-charge switch;
Be connected to the switch control rule on described first sub-charge switch and described second sub-charge switch and comparison circuit, it controls described first sub-charge switch and described second sub-charge switch work, selects the described first interface of a selection or described second interface charging;
And data transmission circuit, its one end connects mainboard, and the other end is connected to described first interface and described second interface respectively by the first transmitting switch and the second transmitting switch.
2. charging as claimed in claim 1 and output compatible multiplex roles charging circuit, it is characterized in that, the number of described first interface and described second interface is at least one.
3. the charging as described in any one of claim 1 or 2 and output compatible multiplex roles charging circuit, is characterized in that,
Described switch control rule and comparison circuit comprise and are connected to the first switch control rule on described first sub-charge switch and comparison circuit and the second switch be connected on described second sub-charge switch and control and comparison circuit; When equipment is in off-mode, and described first interface and described second interface are when all accessing charger, described first switch control rule and comparison circuit output low level are given described first sub-charge switch and connect described first sub-charge switch, described first interface starts charging, described second switch controls and comparison circuit keeps high level to described second sub-charge switch and makes it remain open, and described second interface does not charge.
4. the charging as described in any one of claim 1 or 2 and output compatible multiplex roles charging circuit, is characterized in that,
Described switch control rule and comparison circuit comprise and are connected to the first switch control rule on described first sub-charge switch and comparison circuit and the second switch be connected on described second sub-charge switch and control and comparison circuit; When equipment is in open state, and described first interface and described second interface are when all accessing charger, described first switch control rule and comparison circuit output low level are given described first sub-charge switch and connect described first sub-charge switch, described first interface starts charging, described first switch control rule and comparison circuit output low level, the control of described second switch and comparison circuit are exported still keeps high level to described second sub-charge switch, described second sub-charge switch is remained open, and the second interface does not charge.
5. charging as claimed in claim 1 and output compatible multiplex roles charging circuit, is characterized in that,
When equipment is in off-mode, described data transmission circuit disconnects;
When equipment is in open state, during described first interface data inserting transmission line, described data transmission circuit connects described first interface;
When equipment is in open state, during described second interface data inserting transmission line, described data transmission circuit connects described second interface.
6. charging as claimed in claim 5 and output compatible multiplex roles charging circuit, it is characterized in that, described first interface and described second interface are the interface meeting USB2.0.
7. charging as claimed in claim 6 and output compatible multiplex roles charging circuit, is characterized in that, the one in described data output circuit external connection keyboard, mouse, USB flash disk or portable hard drive.
8. charging as claimed in claim 7 and output compatible multiplex roles charging circuit, it is characterized in that, described equipment is the one in PAD, mobile phone or MP3.
CN201420759810.0U 2014-12-05 2014-12-05 A kind of charging and output compatible multiplex roles charging circuit Active CN204243832U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420759810.0U CN204243832U (en) 2014-12-05 2014-12-05 A kind of charging and output compatible multiplex roles charging circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420759810.0U CN204243832U (en) 2014-12-05 2014-12-05 A kind of charging and output compatible multiplex roles charging circuit

Publications (1)

Publication Number Publication Date
CN204243832U true CN204243832U (en) 2015-04-01

Family

ID=52773277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420759810.0U Active CN204243832U (en) 2014-12-05 2014-12-05 A kind of charging and output compatible multiplex roles charging circuit

Country Status (1)

Country Link
CN (1) CN204243832U (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138101A (en) * 2015-08-31 2015-12-09 联想(北京)有限公司 Power supply method and electronic devices
CN105549708A (en) * 2015-12-07 2016-05-04 联想(北京)有限公司 Power supply method and first electronic equipment
CN106597143A (en) * 2016-11-10 2017-04-26 青岛海信移动通信技术股份有限公司 Test device and test method
CN106972558A (en) * 2017-03-27 2017-07-21 联想(北京)有限公司 A kind of charge control method and electronic equipment
CN107566630A (en) * 2017-08-25 2018-01-09 深圳市汉普电子技术开发有限公司 Data communications method, USB main equipment and storage medium under charged state
CN108181978A (en) * 2017-12-29 2018-06-19 合肥联宝信息技术有限公司 The electrical control method and device of a kind of electronic equipment
CN109388601A (en) * 2017-08-10 2019-02-26 成都圣成通幽科技有限公司 A kind of OTG power supply, charging automatic switching module and its control method
CN109656858A (en) * 2018-12-22 2019-04-19 西安易朴通讯技术有限公司 USB control method, terminal device and computer readable storage medium
US10581263B2 (en) 2017-03-16 2020-03-03 Asustek Computer Inc. Charging circuit and control method thereof
CN112117810A (en) * 2020-09-28 2020-12-22 无锡睿勤科技有限公司 Charging circuit and charging method suitable for hybrid charger
CN114243871A (en) * 2022-02-28 2022-03-25 荣耀终端有限公司 Charging and discharging circuit, electronic equipment and electronic system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138101A (en) * 2015-08-31 2015-12-09 联想(北京)有限公司 Power supply method and electronic devices
CN105549708B (en) * 2015-12-07 2019-02-05 联想(北京)有限公司 A kind of method of supplying power to and the first electronic equipment
CN105549708A (en) * 2015-12-07 2016-05-04 联想(北京)有限公司 Power supply method and first electronic equipment
CN106597143A (en) * 2016-11-10 2017-04-26 青岛海信移动通信技术股份有限公司 Test device and test method
CN106597143B (en) * 2016-11-10 2022-01-14 青岛海信移动通信技术股份有限公司 Test equipment and test method
US10581263B2 (en) 2017-03-16 2020-03-03 Asustek Computer Inc. Charging circuit and control method thereof
CN106972558A (en) * 2017-03-27 2017-07-21 联想(北京)有限公司 A kind of charge control method and electronic equipment
CN106972558B (en) * 2017-03-27 2019-12-31 联想(北京)有限公司 Charging control method and electronic equipment
CN109388601A (en) * 2017-08-10 2019-02-26 成都圣成通幽科技有限公司 A kind of OTG power supply, charging automatic switching module and its control method
CN109388601B (en) * 2017-08-10 2023-07-18 成都圣成通幽科技有限公司 Control method of OTG power supply and charging automatic switching module
CN107566630A (en) * 2017-08-25 2018-01-09 深圳市汉普电子技术开发有限公司 Data communications method, USB main equipment and storage medium under charged state
CN108181978A (en) * 2017-12-29 2018-06-19 合肥联宝信息技术有限公司 The electrical control method and device of a kind of electronic equipment
CN108181978B (en) * 2017-12-29 2021-10-22 合肥联宝信息技术有限公司 Power control method and device for electronic equipment
CN109656858A (en) * 2018-12-22 2019-04-19 西安易朴通讯技术有限公司 USB control method, terminal device and computer readable storage medium
CN109656858B (en) * 2018-12-22 2021-03-05 西安易朴通讯技术有限公司 USB control method, terminal device and computer readable storage medium
CN112117810B (en) * 2020-09-28 2022-05-10 无锡睿勤科技有限公司 Charging circuit and charging method suitable for hybrid charger
CN112117810A (en) * 2020-09-28 2020-12-22 无锡睿勤科技有限公司 Charging circuit and charging method suitable for hybrid charger
CN114243871A (en) * 2022-02-28 2022-03-25 荣耀终端有限公司 Charging and discharging circuit, electronic equipment and electronic system

Similar Documents

Publication Publication Date Title
CN204243832U (en) A kind of charging and output compatible multiplex roles charging circuit
KR101504104B1 (en) System and method for providing power through a reverse local data transfer connection
CN202872406U (en) Interface multiplexing circuit and mobile terminal
KR101278466B1 (en) Data cable for fast charging
CN202258356U (en) Multifunctional wireless mobile hard disk
CN202134745U (en) Multifunctional USB OTG data line
WO2017045416A1 (en) Terminal usb interface setting method and terminal
CN204031462U (en) WIFI module and the Portable wireless router of Portable wireless router
CN109921481A (en) To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
CN103326078A (en) Mobile device charging method and system
CN103683384A (en) Host apparatus and charging method thereof
CN206099469U (en) USB OTG mobile device reading and writing charging device
CN104124732A (en) USB (Universal Serial Bus) interface based universal wireless power supply circuit for mobile terminal and power supply method thereof
EP4231164A1 (en) Information reading method, device, cable, charging system, and computer storage medium
CN204044810U (en) USB device and work system
CN204304476U (en) A kind of multi-functional data portable power source
CN204886213U (en) General electric power transmission cable and universal serial bus cable
CN204030194U (en) A kind of Multifunctional data line
CN101359836B (en) Self-switching charging circuit
CN202384813U (en) Multifunctional mobile power supply
CN203445629U (en) Multifunctional back clip system of intelligent mobile terminal
CN201541140U (en) Mobile phone charger capable of storing information
KR20150069659A (en) Usb gender
CN202550224U (en) USB (universal serial bus) hub with charging function
CN202422137U (en) Computer and built-in functional daughter board thereof

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: No. 16, cuixing Road, Hui Xing street, Yubei District, Chongqing

Patentee after: Chongqing Lanan Technology Co.,Ltd.

Address before: No. 13-2, Jiangying Road, Nanan District, Chongqing, Chongqing

Patentee before: CHONGQING BLUEBANK COMMUNICATION TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address