CN208477516U - A kind of USB interface switching is completed at the same time the circuit of charging and OTG function - Google Patents

A kind of USB interface switching is completed at the same time the circuit of charging and OTG function Download PDF

Info

Publication number
CN208477516U
CN208477516U CN201821168461.XU CN201821168461U CN208477516U CN 208477516 U CN208477516 U CN 208477516U CN 201821168461 U CN201821168461 U CN 201821168461U CN 208477516 U CN208477516 U CN 208477516U
Authority
CN
China
Prior art keywords
interface
circuit
switching
charging
otg
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
CN201821168461.XU
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.)
HUIZHOU MIQI COMMUNICATION EQUIPMENT CO Ltd
Original Assignee
HUIZHOU MIQI COMMUNICATION EQUIPMENT 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 HUIZHOU MIQI COMMUNICATION EQUIPMENT CO Ltd filed Critical HUIZHOU MIQI COMMUNICATION EQUIPMENT CO Ltd
Priority to CN201821168461.XU priority Critical patent/CN208477516U/en
Application granted granted Critical
Publication of CN208477516U publication Critical patent/CN208477516U/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 relates to the circuits that a kind of switching of USB interface is completed at the same time charging and OTG function, including switching chip, switching chip is connect with the processor in equipment, switching chip is also connected with first interface and second interface, first interface is also connect with the charging chip in equipment, second interface is connected with OTG circuit, and OTG circuit is connect with processor;The end S of switching chip is connected with first resistor, and the other end of first resistor connects power cathode, and the end D+, the end D-, the end S for switching chip are connect with processor;If first and second interfaces are inserted into external equipment simultaneously, if first interface is communication equipment, then signal of communication stays in first interface and is directly communicated with the processor of equipment, when first interface is inserted into charging equipment, circuit can work normally second interface insertion communication equipment at this time;Realize small in size, structure is simple, and applicability is extensive, at low cost.

Description

A kind of USB interface switching is completed at the same time the circuit of charging and OTG function
Technical field
The utility model relates to OTG field of circuit technology, are completed at the same time more specifically to a kind of switching of USB interface The circuit of charging and OTG function.
Background technique
Scientific and technological continuous development, mobile phone, the mobile terminals such as plate also make rapid progress, and every household has mobile phone, plate substantially This electronic product, while the interface quantity demand of product is also higher and higher, mobile phone, flat panel products are mostly 1 Micro at present USB interface, but in actual use because the peripheral hardwares such as mouse, USB flash disk need to connect product can only use OTG wire rod as turn Parallel operation part, but can not charge at this time, more awkward when battery capacity is lower, the lightening and user of product connects at the same time Mouth quantitative requirement contradiction, while the signal pins of chip itself can not increase also with the area and volume-diminished of chip product, Ordinary user will not generally have the devices such as OTG patchcord, therefore the function of multiple interfaces is completed using original quantity pin It is a kind of feasible method to meet user demand.
Utility model content
The technical problem to be solved by the present invention is to, in view of the above drawbacks of the prior art, provide it is a kind of small in size, Structure is simple, and applicability is extensive, and USB interface switching at low cost is completed at the same time the circuit of charging and OTG function.
The technical scheme adopted by the utility model to solve the technical problem is as follows:
Construct the circuit that a kind of switching of USB interface is completed at the same time charging and OTG function, including switching chip;Wherein, described Switching chip is connect with the processor in equipment, and the switching chip is also connected with first interface and second interface, and described first Interface is also connect with the charging chip in equipment, and the second interface is connected with OTG circuit, the OTG circuit and the processing Device connection;The end S of the switching chip is connected with first resistor, and the other end of the first resistor connects power cathode, described The end D+, the end D-, the end S of switching chip are connected to the processor.
USB interface switching described in the utility model is completed at the same time the circuit of charging and OTG function, wherein described first The end USB1_DP of interface connects the end HSD1+ of the switching chip;The end USB1_DM of the first interface connects the switching The end HSD1- of chip.
USB interface switching described in the utility model is completed at the same time the circuit of charging and OTG function, wherein described second The end D+ of interface is connect with the end the switching chip HSD2+, and the end D- of the second interface and the switching end chip HSD2- connect It connects.
USB interface switching described in the utility model is completed at the same time the circuit of charging and OTG function, wherein the OTG electricity Road includes boost converter, and the OUT terminal of the boost converter is connect with the end VCC of the second interface, the boost conversion The end EN of device is connected to the processor.
The utility model has the beneficial effects that: switching the processing of chip and equipment when first interface is inserted into external equipment Device co-ordination judges the type of access device, then defaults if charging equipment and does not switch, then believes communication if communication equipment Number switchback first interface;Second interface can only connection communication equipment not can be carried out charging, second interface is by OTG circuit to external Equipment power supply;If first and second interfaces are inserted into external equipment simultaneously, if first interface is communication equipment, then signal of communication is stayed It is directly communicated with the processor of equipment in first interface, when first interface is inserted into charging equipment, second interface insertion communication Circuit can work normally equipment at this time;Realize small in size, structure is simple, and applicability is extensive, at low cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below in conjunction with attached drawing and reality Applying example, the utility model is described in further detail, and the accompanying drawings in the following description is only section Example of the invention, for this For the those of ordinary skill of field, without creative efforts, it is attached to can also be obtained according to these attached drawings other Figure:
Fig. 1 is that the USB interface switching of the utility model preferred embodiment is completed at the same time charging and the circuit switching of OTG function The circuit diagram of chip;
Fig. 2 is that the USB interface switching of the utility model preferred embodiment is completed at the same time the circuit first of charging and OTG function The circuit diagram of interface;
Fig. 3 is that the USB interface switching of the utility model preferred embodiment is completed at the same time the circuit second of charging and OTG function The circuit diagram of interface and OTG circuit connection.
Specific embodiment
It is practical below in conjunction with this in order to keep the objectives, technical solutions, and advantages of the embodiments of the present invention clearer Technical solution in new embodiment carries out clear, complete description, it is clear that described embodiment is the portion of the utility model Point embodiment, rather than whole embodiments.Based on the embodiment of the present invention, those of ordinary skill in the art are not paying creation Property labour under the premise of every other embodiment obtained, belong to the protection scope of the utility model.
The USB interface switching of the utility model preferred embodiment is completed at the same time circuit such as Fig. 1 institute of charging and OTG function Show, while referring to Fig.2, Fig. 3 includes switching chip IC _ SGM7227, switching chip IC _ SGM7227 and the processor in equipment (not shown) connection, switching chip IC _ SGM7227 are also connected with first interface J2105 and second interface TYPE-A, and first Interface J2105 is also connect with the charging chip (not shown) in equipment, and second interface TYPE-A is connected with OTG circuit 1, OTG circuit 1 is connect with processor (not shown);The switching end chip IC _ SGM7227 S is connected with first resistor R2104, The other end of first resistor R2104 connects power cathode, the switching end chip IC _ SGM7227 D+, the end D-, the end S with processing The connection of device (not shown);Switch the place of chip IC _ GSM7227 and equipment when first interface J2105 is inserted into external equipment Reason device (not shown) co-ordination judges the type of access device, then defaults if charging equipment and does not switch, if communication Equipment is then by signal of communication switchback first interface;Second interface TYPE-A can only connection communication equipment not can be carried out charging, second Interface TYPE-A is powered by OTG circuit 1 to external equipment;First, second interface J2105, TYPE-A is inserted into external set simultaneously If standby, if first interface J2105 is communication equipment, then signal of communication stay in first interface J2105 directly with the processing of equipment Device is communicated, and when first interface J2105 is inserted into, charging equipment, circuit can be at this time for second interface TYPE-A insertion communication equipment It works normally;Realize small in size, structure is simple, and applicability is extensive, at low cost.
It should be noted that processor is the processor in the equipment such as mobile phone or tablet computer.
As shown in Fig. 2, the end USB1_DP of first interface J2105 connects switching chip IC _ SGM7227 HSD1+ End;The end USB1_DM of the first interface J2105 connects the switching end chip IC _ SGM7227 HSD1-.
As shown in figure 3, the end D+ of second interface TYPE-A is connect with the switching end chip IC _ SGM7227 HSD2+, second The end D- of interface TYPE-A is connect with the switching end chip IC _ SGM7227 HSD2-;Structure is simple, and assembling is easy, production efficiency It is high.
As shown in figure 3, OTG circuit includes boost converter U2106, the end OUT of boost converter U2106 connects with second The end the VCC connection of mouth TYPE-A, the end EN of boost converter U2106 is connect with processor (not shown);Structure is simple, at This is low, enhances operation stability.
It should be understood that for those of ordinary skills, it can be modified or changed according to the above description, And all these modifications and variations all should belong to the protection scope of the appended claims for the utility model.

Claims (4)

1. a kind of USB interface switching is completed at the same time the circuit of charging and OTG function, including switching chip;It is characterized in that, described Switching chip is connect with the processor in equipment, and the switching chip is also connected with first interface and second interface, and described first Interface is also connect with the charging chip in equipment, and the second interface is connected with OTG circuit, the OTG circuit and the processing Device connection;The end S of the switching chip is connected with first resistor, and the other end of the first resistor connects power cathode, described The end D+, the end D-, the end S of switching chip are connected to the processor.
2. the circuit that USB interface switching according to claim 1 is completed at the same time charging and OTG function, which is characterized in that institute The end USB1_DP for stating first interface connects the end HSD1+ of the switching chip;The end USB1_DM of the first interface connects institute State the end HSD1- of switching chip.
3. the circuit that USB interface switching according to claim 1 is completed at the same time charging and OTG function, which is characterized in that institute The end D+ for stating second interface is connect with the end the switching chip HSD2+, the end D- of the second interface and the switching chip The connection of the end HSD2-.
4. the circuit that USB interface switching according to claim 1 is completed at the same time charging and OTG function, which is characterized in that institute Stating OTG circuit includes boost converter, and the OUT terminal of the boost converter is connect with the end VCC of the second interface, the liter The end EN of pressure converter is connected to the processor.
CN201821168461.XU 2018-07-23 2018-07-23 A kind of USB interface switching is completed at the same time the circuit of charging and OTG function Active CN208477516U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821168461.XU CN208477516U (en) 2018-07-23 2018-07-23 A kind of USB interface switching is completed at the same time the circuit of charging and OTG function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821168461.XU CN208477516U (en) 2018-07-23 2018-07-23 A kind of USB interface switching is completed at the same time the circuit of charging and OTG function

Publications (1)

Publication Number Publication Date
CN208477516U true CN208477516U (en) 2019-02-05

Family

ID=65208627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821168461.XU Active CN208477516U (en) 2018-07-23 2018-07-23 A kind of USB interface switching is completed at the same time the circuit of charging and OTG function

Country Status (1)

Country Link
CN (1) CN208477516U (en)

Similar Documents

Publication Publication Date Title
CN202872406U (en) Interface multiplexing circuit and mobile terminal
CN202134745U (en) Multifunctional USB OTG data line
CN209030353U (en) Interface circuit and device
CN103365817B (en) A kind of general-purpose serial bus USB circuit and terminal
CN108595354A (en) A kind of centreless laptop and laptop
CN202058194U (en) Mobile terminal subscriber identify module (SIM) card packaging structure thereof
CN207516993U (en) A kind of Interface Expanding circuit and device
CN206116826U (en) USB data line of compatible OTG function
CN208477516U (en) A kind of USB interface switching is completed at the same time the circuit of charging and OTG function
CN206100092U (en) Many interfaces cell -phone adapter
CN206099382U (en) General portable power source
CN203445629U (en) Multifunctional back clip system of intelligent mobile terminal
CN202995719U (en) USB (universal serial bus) interface extension equipment and electronic terminal
CN206742881U (en) Has the cable arrangement of power indicator function
CN205846767U (en) Charger
CN208094245U (en) external sound card
CN207867492U (en) A kind of centreless laptop and laptop
CN208767808U (en) A kind of USB2.0 and Type-C twoport charger circuit of intelligent recognition current limliting
CN208461504U (en) Charging unit
CN207939393U (en) A kind of powering mode converter
CN202142070U (en) Multi-functional card reader
CN201797204U (en) Universal serial bus (USB) concentrator for power supply
CN204206154U (en) The gate circuit conversion equipment of a kind of universal serial port and ISO7816 agreement
CN205453196U (en) Activation electricity charging circuit based on mobile phone batteries
CN204407647U (en) A kind of OTG data wire

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant