CN207148771U - OTG power supply-charging automatic switching modules - Google Patents
OTG power supply-charging automatic switching modules Download PDFInfo
- Publication number
- CN207148771U CN207148771U CN201720999554.6U CN201720999554U CN207148771U CN 207148771 U CN207148771 U CN 207148771U CN 201720999554 U CN201720999554 U CN 201720999554U CN 207148771 U CN207148771 U CN 207148771U
- Authority
- CN
- China
- Prior art keywords
- otg
- interface
- ports
- cmos chip
- interfaces
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 239000000047 product Substances 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000009790 rate-determining step (RDS) Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
The utility model discloses:A kind of OTG power supplies, charging automatic switching module:It includes CMOS chip, the No.1 interface for connecting the Host equipment with OTG functions, No. two interfaces for connecting charger, No. three interfaces for connecting the external equipment for needing OTG to power;Described CMOS chip includes E ports, Y-port, Z ports, E ports electrically connect with No. two interfaces, and Z ports ground connection, Y-port electrically connects with No.1 interface, the utility model is using CMOS chip as core devices come the switching of automatic identification and control OTG and charge mode, small volume, cost is low, and power consumption almost can be ignored, service life is grown, it is cost-effective, easily integrate, be advantageous to mass produce;Without manually operated, without increasing MCU devices and writing the MCU control programs of complexity.
Description
Technical field
It the utility model is related to a kind of OTG to power-charge automatic switching module, be mainly used in OTG data/charging wire, OTG
External equipment etc..
Background technology
The development of USB technologies so that PC and peripheral equipment can be by simple mode, the manufacturing costs of appropriateness, will be each
The equipment of kind data transmission bauds links together.PC is connected to by USB, and data exchange is carried out under PC control.
But this convenient exchanged form, once have left PC, each equipment room can not be operated using USB port, because
Neither one slave unit potentially acts as the same main frames of PC.
OTG is On-The-Go abbreviation, is the technology that developed recently gets up, be mainly used in a variety of equipment or
Connection between mobile device, carry out data exchange.Such as Pad, mobile phone, tablet personal computer, digital camera, video camera, printer
Equipment.
OTG technologies are exactly that the data transmission of equipment room is realized in the case of no PC.Such as digital camera is directly connected to
Onto printer, by OTG technologies, the USB port of two equipment rooms is connected, the photograph taken is printed immediately;Can also
By the data in digital camera, it is sent to by OTG on the mobile hard disk of USB interface, field operation is just not necessarily to carry
Expensive storage card, or one portable computer of the back of the body.
USB device is divided into HOST (main equipment) and SLAVE (slave unit), only when a HOST is connected with a SLAVE
Shi Caineng realizes the transmission of data, and OTG equipment is exactly that our " EX " can serve as HOST, can also serve as SLAVE.
Current OTG equipment typically carries out normal work or switching power supply mould using traditional relay and hand switch
Formula, but in actual use, hand switch operation is cumbersome, and relay needs to coordinate MCU devices and writes complexity
MCU control programs, cost is higher, and equipment volume is big, and power consumption is big, and cost performance is not high.
Traditional scheme, the break-make relation between S and G pins is controlled using hand switch, it is very inconvenient.Controlling manually
During switch, it can not ensure whether the coordinating and unifying of charging is attempted to OTG equipment with outside, can not normally realize switching, meeting
System crash is caused, or even needs system reboot to recover normal operating conditions.
It is simple wrong using the patent formula of relay itself, can not ensure from charging be transformed into OTG states this
Individual process repeat circuit normal work, and relay is bulky all the time, access times are limited, and power consumption is big, at all can not be
Realized in cost-effective product.
Need MCU scheme self-powered must ensure always to be powered MCU.And MCU costs are high, programming is multiple
It is miscellaneous, along with big from charged pool, volume, it is difficult to large-scale commercial.
Such as the Chinese patent of Patent No. 200810108684.1, a kind of data transmission set, control circuit core are disclosed
Piece and operating mode control method, using relay as on-off switch, by circuit design according to whether there is external charge power supply
For the break-make situation according to automatic switchover relay.First this patent circuit design the problem of, can not realize well automatic
The function of switching;Secondly, relay has many defects in itself:Volume is big, and power consumption is big, poor reliability, is easily damaged, service life
It is short, can not really it apply in small volume, in cost-effective product.
The and for example Chinese patent of Patent No. 201410576624.8, disclose one kind and be based on the bidirectional balanced electricity of USB-OTG
The method and device of amount, it is believed that OTG and non-OTG differentiation are the level according to ID, are system automatic decision ID level to determine
It is to be in OTG states or charged state.But according to OTG operation principle, system should judge ID pins and ground pipe
Resistance value between pin (GND) determines to be in OTG states or charged state.Some designs are due to that can not stablize on the market
Control resistance value so that product OTG/ charged states switching it is unstable, once occur system crash, or even need restart
Normal work can be recovered.Or can be again not all right for other mobile phones for some mobile phones.
China Patent No. 201310396425.4, disclose a kind of USB OTGs, electronic equipment and realize OTG functions
Method, the state of external equipment can be judged by MCU, but be not described and next make where reason, applied in other words
It is unclear everywhere.
Utility model content
The purpose of this utility model is to overcome above shortcomings in the prior art, and provides a kind of structure design and close
Reason, OTG power-charged automatic switching module.
The technical scheme in the invention for solving the above technical problem is:A kind of OTG power supplies-charging automatic switchover mould
Block,:It include CMOS chip, for connect with OTG functions Host equipment No.1 interface, for connect charger two
Number interface, No. three interfaces for connecting the external equipment for needing OTG to power;Described CMOS chip include E ports, Y-port,
Z ports, E ports electrically connect with No. two interfaces, and Z ports ground connection, Y-port electrically connects with No.1 interface.
No.1 interface is access to the USB interface of the Host equipment with OTG functions, such as mobile phone, tablet personal computer etc.;No. two
Interface is access to the USB interface of charger;No. three interfaces are used to connect any external equipment for needing OTG to power, such as mobile
Hard disk, printer etc..
CMOS chip is exactly a switch.E ports are the control of this switch, and Y-port and Z ports are two ends of switch
Mouthful.That is E ports, which are drawn high, is equal to be switching off, so just disconnect between two ports of Y and Z, and when E ports are drawn
It is low to be equal to be to close switch, turned on using between two ports of Y and Z.
When No. two interfaces connect charger, No.1 interface is connected on the equipment USB interface for supporting OTG functions, CMOS cores
The Enable Pin E ports of piece are driven high, and CMOS chip disconnects automatically, is opened a way between Y-port and Z ports, and the connection of No.1 interface is set
It is standby to stop supplying power for outside, but still carry out data transmission through No.1 interface, No. three interfaces and external equipment.Now external equipment passes through
No. two interfaces, No. three interfaces are from charger power taking;The main frame that charger is connected to No.1 interface simultaneously charges.
When the connection of No. two interfaces and charger disconnects, the Enable Pin E ports of CMOS chip are pulled low, and CMOS chip is automatic
Closure, short circuit between Y-port and Z ports, the equipment of No.1 interface connection automatically into OTG power supply states, through No.1 interface,
No. three interfaces are powered and carried out data transmission to external equipment.
Using CMOS chip as core devices come automatic identification and control OTG and charge mode switching, small volume, into
This is low, and power consumption almost can be ignored, service life length, cost-effective, easily integrates, is advantageous to mass produce.Need not
It is manually operated, without increasing MCU devices and writing the MCU control programs of complexity.
No.1 interface, No. two interfaces and No. three interfaces described in the utility model include V (vcc), D+ (data+),
Four D- (data-), G (gnd) pins, it is electrically connected to each other between identical pin, wherein No.1 interface (J1) is additionally provided with pin S
(Sense)。
Data are transmitted by D+, D- pin between No.1 interface and No. three interfaces, powered by V pins;No. two interfaces and
Powered between No. three interfaces by V pins.
The Y-port of CMOS chip electrically connects with S pins, logical between the S pins in No.1 interface and G pins for controlling
It is disconnected.Mobile phone etc. supports the smart machine of OTG supplying power for outside to be determined by judging the break-make at itself USB interface between S and G pins
It is fixed whether supplying power for outside.Start to power if S and G is turned on, stopped power supply if S and G open circuits.
An electric capacity, one end ground connection of electric capacity, the other end and No.1 are connected with CMOS chip described in the utility model
The V pins electrical connection of interface.
Electric capacity be used in a short time (from external charge be transformed into OTG power supply between this period) to CMOS chip carry out
Power supply, so as to ensure that CMOS chip can not both have external power supply, again without in this time in the case of OTG power supplies
Continue normal work.
Two poles are provided with circuit between connection No.1 interface V pins described in the utility model, No. two interface V pins
Pipe.The E ports of CMOS chip can not be flowed to from OTG Host equipment for limiting the sense of current, so as to limit the sense of current
System, E ends will not be drawn high by mistake because OTG powers.
The utility model compared with prior art, has advantages below and effect:During external equipment use, utilize
The utility model module, without hand switch, equipment automatic switchover OTG powering modes and the charging for supporting OTG functions can be allowed
Pattern;OTG equipment can be charged in the case where keeping the uninterrupted use state of external equipment;The module can widely use
OTG data/charging wire, OTG external equipments, etc.;Simultaneously using CMOS chip as core devices come automatic identification and control
OTG and charge mode processed switching, small volume, cost is low, and power consumption almost can be ignored, service life length, cost-effective,
Easily integrate, be advantageous to mass produce;Without manually operated, journey is controlled without increasing MCU devices and writing the MCU of complexity
Sequence.
Brief description of the drawings
Fig. 1 is that the utility model embodiment OTG powers-charged the structural representation of automatic switching module.
Embodiment
Below in conjunction with the accompanying drawings and the utility model is described in further detail by embodiment, and following examples are pair
It is of the present utility model explanation and the utility model is not limited to following examples.
Referring to Fig. 1, a kind of OTG of the present embodiment powers-charged automatic switching module, including CMOS chip U1, for connecting
The No.1 interface J1 of Host equipment with OTG functions, No. two interface J2 for connecting charger, for connect need OTG
No. three interface J3 of the external equipment of power supply.
No.1 interface J1 is access to the USB interface of the Host equipment with OTG functions, such as mobile phone, tablet personal computer etc.;Two
Number interface J2 is access to the USB interface of charger;No. three interface J3 are used to connect any external equipment for needing OTG to power,
Such as mobile hard disk, printer.
Described No.1 interface J1, No. two interface J2 and No. three interface J3 include V (vcc), D+ (data+), D-
(data-), four pins of G (gnd), it is electrically connected to each other between identical pin, wherein No.1 interface J1 (J1) is additionally provided with pin S
(Sense)。
Data are transmitted by D+, D- pin between No.1 interface J1 and No. three interface J3, powered by V pins;No. two connect
Powered between J2 and No. three interface J3 of mouth by V pins.
Described CMOS chip U1 includes E ports, Y-port, Z ports, and E ports electrically connect with No. two interface J2, and Z ports connect
Ground, Y-port electrically connect with No.1 interface J1.
CMOS chip U1 Y-port electrically connects with S pins, for controlling between the S pins and G pins in No.1 interface J1
Break-make.Mobile phone etc. supports the smart machine of OTG supplying power for outside by judging the break-make at itself USB interface between S and G pins
To decide whether supplying power for outside.Start to power if S and G is turned on, stopped power supply if S and G open circuits.
Using CMOS chip U1 as core devices come automatic identification and control OTG and charge mode switching, small volume,
Cost is low, and power consumption almost can be ignored, service life length, cost-effective, easily integrates, is advantageous to mass produce.Nothing
Need to be manually operated, without increasing MCU devices and writing the MCU control programs of complexity.
In the present embodiment, an electric capacity C1, electric capacity C1 one end ground connection, the other end and No.1 are connected with CMOS chip U1
Interface J1 V pins electrical connection.
Electric capacity C1 be used in a short time (from external charge be transformed into OTG power supply between this period) to CMOS chip U1
It is powered, so as to ensure that CMOS chip U1 can not have this in the case of OTG power supplies again in both no external power supplies
Continue normal work in time.
In the present embodiment, connection No.1 interface J1 V pins, No. two interface J2 V pins between circuit in be provided with
Diode D1.CMOS chip U1 E ports can not be flowed to from OTG Host equipment for limiting the sense of current, so as to electric current side
To being limited, E ends will not be drawn high by mistake because OTG powers.
The rate-determining steps of the present embodiment are as follows:
(1) when using this module first, first No.1 interface J1 (J1) is connected on the main frame with OTG functions, now
Have not been entered into OTG power supply states;
(2) charger is connected to No. two interface J2 (J2), electric capacity C1 (C1) is charged, and then allow CMOS chip U1
(U1) normal operating conditions is entered;Now CMOS chip U1 (U1) Enable Pin E ports are driven high, and CMOS chip U1 (U1) is automatic
Disconnect, opened a way between Y-port and Z ports;
(3) charger is pulled out, CMOS chip U1 (U1) Enable Pin E is pulled low, and now CMOS chip U1 (U1) is by electric capacity
Powered in C1 (C1) short time and keep normally being switched to closure state, closed between Y-port and Z ports;At this moment main frame enters
OTG power supply states, except starting to power to CMOS chip U1 (U1), also the external equipment of No. three interface J3 (J3) above is carried out
Power supply;Now, due to diode D1 (D1) function of limiting the sense of current so that the OTG provided from No.1 interface J1 (J1)
Power supply will not maloperation CMOS chip U1 (U1) Enable Pin E ports are drawn high, so CMOS chip U1 (U1) can keep closing
Conjunction state, and then ensure that No.1 interface J1 (J1) is in OTG power supply states;
(4) as long as No.1 interface J1 (J1) was not turned off, CMOS chip U1 (U1) can be according to No. two interface J2
(J2) whether charger is accessed and normally automatically switch OTG powering modes and charge data pattern;
If No. two interface J2 (J2) connect charger, CMOS chip U1 (U1) Enable Pin E ports are driven high, CMOS cores
Piece U1 (U1) disconnects automatically, is opened a way between Y-port and Z ports, and the host device of No.1 interface J1 (J1) connections stops externally supplying
Electricity, but main frame still carries out data transmission through No.1 interface J1 (J1), No. three interface J3 (J3) with external equipment;It is now external to set
It is standby through No. two interface J2 (J2), No. three interface J3 (J3) from charger power taking;Charger connects to No.1 interface J1 (J1) simultaneously
The main frame connect charge;
If No. two interface J2 (J2) and the connection of charger disconnect, CMOS chip U1 (U1) Enable Pin E ports are drawn
Low, CMOS chip U1 (U1) is closed automatically, short circuit between Y-port and Z ports, and the host device of No.1 interface J1 (J1) connections is certainly
Dynamic to enter OTG power supply states, main frame is powered to external equipment through No.1 interface J1 (J1), No. three interface J3 (J3) and carries out data
Transmission;
(5) if No.1 interface J1 (J1) disconnected, or No.1 interface J1 (J1) has a power failure completely, then next time connects again
Connect when being operated, it is necessary to the step of repeating above-mentioned (1)~(3).
Above content described in this specification is only to the utility model example explanation.The utility model
Person of ordinary skill in the field can make various modifications or supplement to described specific embodiment or using class
As mode substitute, content without departing from the utility model specification or surmount model defined in the claims
Enclose, the scope of protection of the utility model all should be belonged to.
Claims (4)
- The automatic switching module 1. a kind of OTG powers-charged, it is characterised in that:Carried including CMOS chip (U1), for connecting The No.1 interface (J1) of the Host equipment of OTG functions, No. two interfaces (J2) for connecting charger, for connect need OTG No. three interfaces (J3) of the external equipment of power supply;Described CMOS chip (U1) includes E ports, Y-port, Z ports, and E ports electrically connect with No. two interfaces (J2), and Z ports connect Ground, Y-port electrically connect with No.1 interface (J1).
- The automatic switching module 2. OTG according to claim 1 powers-charged, it is characterised in that:Described No.1 interface (J1), No. two interfaces (J2) and No. three interfaces (J3) include tetra- pins of V, D+, D-, G, are electrically connected mutually between identical pin Connect;Wherein No.1 interface (J1) is additionally provided with pin S, and the Y-port of CMOS chip (U1) electrically connects with S pins.
- The automatic switching module 3. OTG according to claim 2 powers-charged, it is characterised in that:Described CMOS chip (U1) electric capacity (C1), one end ground connection of electric capacity (C1) are connected with, the V pins of the other end and No.1 interface (J1) are electrically connected Connect.
- The automatic switching module 4. OTG according to claim 3 powers-charged, it is characterised in that:The connection No.1 interface (J1) it is provided with diode (D1) in the circuit between V pins, No. two interface (J2) V pins.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720999554.6U CN207148771U (en) | 2017-08-10 | 2017-08-10 | OTG power supply-charging automatic switching modules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720999554.6U CN207148771U (en) | 2017-08-10 | 2017-08-10 | OTG power supply-charging automatic switching modules |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207148771U true CN207148771U (en) | 2018-03-27 |
Family
ID=61666195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720999554.6U Expired - Fee Related CN207148771U (en) | 2017-08-10 | 2017-08-10 | OTG power supply-charging automatic switching modules |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207148771U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108594978A (en) * | 2018-05-08 | 2018-09-28 | 北京振中电子技术有限公司 | A kind of control method and device of handheld terminal |
CN109388601A (en) * | 2017-08-10 | 2019-02-26 | 成都圣成通幽科技有限公司 | A kind of OTG power supply, charging automatic switching module and its control method |
-
2017
- 2017-08-10 CN CN201720999554.6U patent/CN207148771U/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN108594978A (en) * | 2018-05-08 | 2018-09-28 | 北京振中电子技术有限公司 | A kind of control method and device of handheld terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN209118258U (en) | A kind of wireless screen transmission device | |
CN106356925B (en) | Mobile terminal and its battery charge controller, charge control method | |
KR101504104B1 (en) | System and method for providing power through a reverse local data transfer connection | |
CN205544514U (en) | Take DATA TRANSFER FUNCTIONS's integrated charger | |
CN108718020A (en) | hub | |
CN105932733B (en) | OTG power supply and its method of supplying power to, OTG equipment and mobile communication equipment | |
CN104081368A (en) | Mobile device automatic detection apparatus and method | |
CN101601001A (en) | A plurality of connections to single serial interface | |
CN104067200B (en) | The communication of battery and monitoring via single line | |
US20190052105A1 (en) | Method for automatically identifying apple and android devices | |
CN109921481A (en) | To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated | |
CN107707000A (en) | A kind of OTG power supplies and wireless charging compatible circuit and correlation technique and terminal device | |
CN202076771U (en) | USB OTG circuit and portable electronic device utilizing thereof | |
CN207148771U (en) | OTG power supply-charging automatic switching modules | |
CN108963673A (en) | Based on OTG function charge and discharge settable data line and data transmission system | |
CN201084137Y (en) | A personal communication terminal accessory with functions of data backup, recovery and charging | |
CN2884752Y (en) | Cell phone fittings having functions of data backup, restoring and charing | |
CN107919717A (en) | Terminal, charging unit and charging system | |
CN109388601A (en) | A kind of OTG power supply, charging automatic switching module and its control method | |
CN208608497U (en) | A kind of connector of Type-C interface | |
CN207801530U (en) | Battery management system | |
CN203445629U (en) | Multifunctional back clip system of intelligent mobile terminal | |
CN203520299U (en) | Timer-power-on control circuit | |
CN102544919A (en) | Cable | |
CN206180647U (en) | Many mouthfuls of control circuit that charge and controlgear |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180327 |