CN108009116A - MicroUSB interface circuits and its mobile terminal - Google Patents
MicroUSB interface circuits and its mobile terminal Download PDFInfo
- Publication number
- CN108009116A CN108009116A CN201711401352.8A CN201711401352A CN108009116A CN 108009116 A CN108009116 A CN 108009116A CN 201711401352 A CN201711401352 A CN 201711401352A CN 108009116 A CN108009116 A CN 108009116A
- Authority
- CN
- China
- Prior art keywords
- pins
- micro usb
- usb interface
- interface modules
- pin
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Telephone Function (AREA)
Abstract
The present invention discloses a kind of Micro usb circuits and its mobile terminal, belongs to terminal interface field of circuit technology.The Micro usb circuits include:Micro usb interface modules, for realizing that the interaction of USB functions and earphone function interact respectively by Micro USB access ways;Impedance measurement chip, for carrying out impedance monitoring to Micro usb interface modules, when wired headset accesses Micro usb interface modules, to send switch-over control signal;Switching chip, for switching the connection mode between Micro usb interface modules and power management module according to switch-over control signal, selection;Power management chip, for according to the connection mode between Micro usb interface modules and power management module, USB function controls being carried out to Micro usb interface modules or carry out earphone function control to Micro usb interface modules.The Micro usb circuits and its mobile terminal of the present invention, its by Micro USB interfaces can automatic identification USB functions and earphone function, so as to select corresponding operating path, lift user experience.
Description
Technical field
The present invention relates to terminal interface field of circuit technology, more particularly to a kind of Micro usb circuits and its movement
Terminal.
Background technology
Mobile terminal on the market at present, the overwhelming majority is set using independent USB interface and earphone microphone interface, to lead to respectively
USB interface is crossed to realize USB functions (including mobile terminal charge function and data-transformation facility), is realized by earphone microphone interface
Earphone function (including the wired input of the audio of mobile terminal and output), but the diminution with mobile terminal size and thickness
Reduction, more and more producers start cancel earphone microphone interface, earphone function is realized by using USB Type C interface, so
And earphone function is realized by USB Type C interface, it, which is detected, needs special CC monitoring chips so that hardware cost is big
Width increase.
The content of the invention
It is a primary object of the present invention to propose a kind of Micro usb circuits and its mobile terminal, it is intended to pass through
Micro USB interfaces can automatic identification USB functions and earphone function, so as to select corresponding operating path, lift user
Experience.
To achieve the above object, a kind of Micro usb circuits provided by the invention, the Micro USB interfaces electricity
Road includes:Micro usb interface modules, for realizing the interaction of USB functions and ear respectively by Micro USB access ways
Wheat function interacts;Impedance measurement chip, for carrying out impedance monitoring to the Micro usb interface modules, with wired headset
When accessing the Micro usb interface modules, switch-over control signal is sent;Switching chip, for being controlled according to the switching
Signal processed, selection switch the connection mode between the Micro usb interface modules and the power management module;Power management
Chip, for according to the connection mode between the Micro usb interface modules and the power management module, to described
Micro usb interface modules carry out USB function controls or carry out earphone function control to the Micro usb interface modules.
Alternatively, the power management chip includes:USB function control units, for the Micro USB interfaces mould
Block carries out USB function controls;Earphone function control unit, for carrying out earphone function control to the Micro usb interface modules
System.
Alternatively, the switching chip includes switching signal receiving unit, the first pin units, second pin unit
And the 3rd pin units, first pin units, which correspond to, connects the Micro usb interface modules, the second pin list
Member is corresponding to connect the USB function control units, and the 3rd pin units, which correspond to, connects the earphone function control unit, institute
State the first pin units and switch the connection second pin unit or described the under the control of the switching signal receiving unit
Three pin units.
Alternatively, the impedance measurement chip includes:Enabled pin units, for monitoring the Micro USB interfaces mould
The level signal of the ID pins of block, is worked with judging whether to start the impedance measurement chip;Input pin unit, is used for
Connect the DP pins of the Micro usb interface modules and DM pins respectively, with monitor the DP pins and the DM pins it
Between impedance variations;Measurement result output unit, for according to the resistance between the DP pins and the DM pins monitored
Resistance, exports switch-over control signal.
Alternatively, the power management chip further includes:Voltage output unit, for exporting the Micro USB interfaces
The operating voltage of circuit;Headset plugs detection unit, for the switch-over control signal sent according to the impedance measurement chip, sentences
Whether the Micro usb interface modules that break access wired headset, and the switch-over control signal is transmitted to the switch and is cut
Change chip.
In addition, the present invention also proposes a kind of mobile terminal, the mobile terminal include terminal handler and with the terminal
The Micro usb circuits of processor connection, the Micro usb circuits include:Micro usb interface modules, are used
In by Micro USB access ways come realize respectively USB functions interaction and earphone function interact;Impedance measurement chip, is used
In carrying out impedance monitoring to the Micro usb interface modules, to access the Micro usb interface modules in wired headset
When, send switch-over control signal;Switching chip, for switching the Micro according to the switch-over control signal, selection
Connection mode between usb interface module and the power management module;Power management chip, for according to the Micro
Connection mode between usb interface module and the power management module, USB work(is carried out to the Micro usb interface modules
It can control or earphone function control is carried out to the Micro usb interface modules.
Alternatively, the power management chip includes:USB function control units, for the Micro USB interfaces mould
Block carries out USB function controls;Earphone function control unit, for carrying out earphone function control to the Micro usb interface modules
System.
Alternatively, the switching chip includes switching signal receiving unit, the first pin units, second pin unit
And the 3rd pin units, first pin units, which correspond to, connects the Micro usb interface modules, the second pin list
Member is corresponding to connect the USB function control units, and the 3rd pin units, which correspond to, connects the earphone function control unit, institute
State the first pin units and switch the connection second pin unit or described the under the control of the switching signal receiving unit
Three pin units.
Alternatively, the impedance measurement chip includes:Enabled pin units, for monitoring the Micro USB interfaces mould
The level signal of the ID pins of block, is worked with judging whether to start the impedance measurement chip;Input pin unit, is used for
Connect the DP pins of the Micro usb interface modules and DM pins respectively, with monitor the DP pins and the DM pins it
Between impedance variations;Measurement result output unit, for according to the resistance between the DP pins and the DM pins monitored
Resistance, exports switch-over control signal.
Alternatively, the power management chip further includes:Voltage output unit, for exporting the Micro USB interfaces
The operating voltage of circuit;Headset plugs detection unit, for the switch-over control signal sent according to the impedance measurement chip, sentences
Whether the Micro usb interface modules that break access wired headset, and the switch-over control signal is transmitted to the switch and is cut
Change chip.
Micro usb circuits and its mobile terminal proposed by the present invention, its Micro usb circuit include
Micro usb interface modules, impedance measurement chip, switching chip and power management chip, during work, pass through its impedance
Chip is measured, impedance monitoring is carried out to its Micro usb interface module, to access its Micro USB interface mould in wired headset
During block, switch-over control signal is sent, then by its switching chip under the switch-over control signal, to Micro USB interfaces
Connection mode between module and power management module makes choice switching.Come finally by its power management chip according to switching
Connection mode between the Micro usb interface modules and power management module chosen, carries out Micro usb interface modules
USB function controls carry out earphone function control to Micro usb interface modules.As it can be seen that the Micro USB interfaces electricity of the present invention
Road and its mobile terminal, its by Micro USB interfaces can automatic identification USB functions and earphone function, so as to select pair
The operating path answered, lifts user experience.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Fig. 2 is the communications network system Organization Chart that mobile terminal as shown in Figure 1 is based on.
Fig. 3 is the circuit diagram for the Micro usb circuits that the embodiment of the present invention one provides.
Fig. 4 is the shutdown charging flow schematic diagram of Micro usb circuits shown in Fig. 3.
Fig. 5 is the start charging flow schematic diagram of Micro usb circuits shown in Fig. 3.
Fig. 6 is that the wired headset of Micro usb circuits shown in Fig. 3 is inserted into flow diagram.
Fig. 7 is that the wired headset of Micro usb circuits shown in Fig. 3 extracts flow diagram.
Fig. 8 is that the OTG equipment of Micro usb circuits shown in Fig. 3 is inserted into flow diagram.
Fig. 9 is that the OTG equipment of Micro usb circuits shown in Fig. 3 extracts journey schematic diagram.
Figure 10 is the structure diagram of mobile terminal provided by Embodiment 2 of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " component " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet electricity
Brain, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable matchmaker
Body player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are mobile
Terminal, and the fixed terminal such as numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the component such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components,
Either combine some components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication
Standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time
Division-Synchronous Code Division Multiple Access, TD SDMA),
FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex Long Term Evolution) and
TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
Formula, speech recognition mode, broadcast reception mode when under isotype, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exports,.Moreover, audio output unit 103
The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used for the information for showing by information input by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment device is driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, when contact panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, can
The function that outputs and inputs of mobile terminal is realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band headset port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, headset port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
A part, by running or performing the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite includes UE (User Equipment, the use for communicating connection successively for the LTE system of universal mobile communications technology, the LTE system
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial RadioAccess Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used in relation to service features, data rate etc.
The dedicated information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, other wireless communication systems are readily applicable to, such as GSM,
CDMA2000, WCDMA, TD-SCDMA and following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
As shown in figure 3, the embodiment of the present invention one proposes a kind of Micro usb circuits 300, the Micro USB interfaces
Circuit 300 includes Micro usb interface modules 310, impedance measurement chip 320, switching chip 330 and power management core
Piece 340.
Wherein, Micro usb interface modules 310 are mainly used for realizing USB work(respectively by Micro USB access ways
Can interaction and earphone function interaction.Specifically, as shown in figure 3, Micro usb interface modules 310 include ID (dead end) pin,
VBUS (the positive 5V of power supply) pin, GND (signal ground) pin, DP (data cable is just) pins and DM (data cable is born) pin.In reality
During the use of border, the equipment such as data cable, charging wire, OTG equipment and wired headset is by Micro USB access ways with being somebody's turn to do
Micro usb interface modules 310, to realize that (including the charging and data-transformation facility) interaction of USB functions and earphone function are handed over
Mutually.
Impedance measurement chip 320 is mainly used for carrying out impedance monitoring to Micro usb interface modules 310, with wired ear
When wheat accesses Micro usb interface modules 310, switch-over control signal is sent.Specifically, as shown in figure 3, impedance measurement chip bag
Enabled pin units 321, input pin unit 322 and measurement result output unit 323 are included, wherein, enable pin units 321
Including EN pins, which is connected with the ID pins of Micro usb interface modules 310, to enable pin units 321 by this
Monitor the level signal of the ID pins of Micro usb interface modules 310, thus judge whether to start impedance measurement chip 320 into
Row work (in the present embodiment, when the ID pins of Micro usb interface modules 310 are changed into low level signal, the enabled pin list
Member 321 starts impedance measurement chip 320 and works).Input pin unit 322 includes R_P pins and R_M pins, wherein, R_
The DP pins of P pins connection Micro usb interface modules 310, the DM of R_M pins connection Micro usb interface modules 310 draw
Foot, to be become by the input pin unit 322 to the impedance between the DP pins and DM pins of Micro usb interface modules 310
Change is monitored.Measurement result output unit 323 includes INT (output is interrupted) pin, which is used for
According to the impedance variations between the DP pins and DM pins of the Micro usb interface modules 310 monitored, output switching control letter
Number.
Power management chip 340 is mainly used for according between Micro usb interface modules 310 and power management module 340
Connection mode, Micro usb interface modules 310 USB function controls or Micro usb interface modules 310 are carried out
Earphone function controls.Specifically, power management chip 340 includes USB function control units 341, earphone function control unit
342nd, voltage output unit 343 and headset plug detection unit 344, wherein, USB function control units 341 include VBUS (electricity
The positive 5V in source) pin, GND (signal ground) pin, DP (data cable is just) pins and DM (data cable is born) pin, with Micro
When usb interface module 310 is connected with the USB function control units 341, by the USB function control units 341 to Micro
Usb interface module 310 carries out USB function controls.Earphone function control unit 342 include Mic_in (headset input) pin,
HPH_REF (reference ground) pin, HS_L (the left output of headset) pins and HS_R (the right output of headset) pin, with Micro
When usb interface module 310 is connected with the earphone function control unit 342, by the earphone function control unit 342 to Micro
Usb interface module 310 carries out earphone function control.Voltage output unit 343 is mainly used for exporting Micro usb circuits
300 operating voltage.In the designing scheme of the present embodiment, which mainly includes LX_1V8 pins, can be used for
Export the operating voltage of 1.8V.Headset plug detection unit 344 includes HS_DET pins, can be sent according to impedance measurement chip
Switch-over control signal, judges whether Micro usb interface modules 310 access wired headset, and switch-over control signal is transmitted to
Switching chip 330.In addition, power management chip 340 further includes USB_ID pins, to correspond to Micro usb interface modules
310 ID pins, carry out master-slave equipment identification.
Switching chip 330 is mainly used for according to switch-over control signal, selection switching Micro usb interface modules 310
With the connection mode between power management module 340.Specifically, switching chip 330 includes switching signal receiving unit
331st, the first pin units 332,333 and the 3rd pin units 334 of second pin unit.First pin units 332, which correspond to, to be connected
Connect Micro usb interface modules 310, i.e. the DA1 pins of the first pin units 332, DA2 pins, DA3 pins and DA4 pins
It is sequentially connected VBUS pins, GND pin, DP pins and the DM pins of Micro usb interface modules 310.Second pin unit
333 correspond to connection USB function control units 341, i.e., the DB1 pins of second pin unit 333, DB2 pins, DB3 pins and
DB4 pins are sequentially connected VBUS pins, GND pin, DP pins and the DM pins of USB function control units 341.3rd pin
Unit 334 corresponds to connection headset function control unit 342, i.e. the DC1 pins of the 3rd pin units 334, DC2 pins, DC3 pins
And DC4 pins be sequentially connected the Mic_in pins of earphone function control unit 342, HPH_REF pins, HS_L pins and
HS_R pins.Switching signal receiving unit 341 includes SEL pins, the SEL pins and the HS_ of headset plug detection unit 344
DET pins connect, to receive the switch-over control signal that it is forwarded.So, the first pin units 332 can be believed in switching
Switching connection second pin unit 333 or the 3rd pin units 334 under the control of number receiving unit 331 so that Micro USB connect
Mouth mold block 310 or the USB function control units 341 for connecting power management chip 340, or the ear of connection power management chip 340
Wheat function control unit 342.
In the designing scheme of the present embodiment, as shown in figure 3, the HS_DET pins of power management chip 340 are connected to two
The anode of pole pipe D1, D2, the USB_ID pins of power management chip 340 are connected to the anode of diode D3, D4.Micro USB
The ID pins of interface module 310 are pulled to the LX_1V8 pins of power management chip 340, while Micro by pull-up resistor R1
The ID pins of usb interface module 310 are connected to the cathode of diode D2, D4 and the EN pins of impedance measurement chip 320, impedance
The INT pins of measurement chip 320 are connected to the grid of diode D1 cathodes and NMOS tube Q1, and the drain electrode of NMOS tube Q1 passes through upper
Pull-up resistor R3 is connected to the LX_1V8 pins of power management chip 340 and is connected to the cathode of diode D3, NMOS tube Q1's
Source electrode is connected to mainboard GND signals.In type selecting, R1, R2 in the present embodiment can select 10K resistance, switching chip 330
Supply voltage be typically 1.8V, cut-in voltage Vgs (th) scope of NMOS tube Q1 is 0.5V~1.0V, diode D1, D2,
The pressure drop of D3, D4 are less than 0.1V.
Below in conjunction with attached drawing, to specific work of the Micro usb circuits 300 in the present embodiment under various operating modes
It is explained in detail as principle.
First, shutdown charging work principle.
When the detection of corresponding mobile terminal is in off-mode, at this time, if Micro usb interface modules 310 pass through
When Micro USB access ways are connected to charger insertion, charger exports the corresponding mobile terminal of Vbus voltage triggereds most
Mini system starts, and power management chip 340 powers on, its LX_1V8 pin output 1.8V voltages, switching chip 330 works.
At this time, the ID pins (being pulled to LX_1V8 pins by R1 resistance) of Micro usb interface modules 310 are high level so that two
Pole pipe D2 is turned on, so that the HS_DET pins of power management chip 340 are high level, the SEL of switching chip 330 draws
Foot is also high level, and at this time, DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 connect respectively successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of switching chip 330 are connect, so that Micro usb interface modules
310 VBUS pins, GND pin, DP pins, DM pins are corresponding in turn to VBUS pins, the GND of connection power management chip 340
Pin, DP pins, DM pins.So, after mobile terminal minimum system gets up, charge protocol communication, communication are carried out
Charge after end according to communication protocol content Current Voltage, whole workflow schematic diagram is as shown in Figure 4.
2nd, start charging work principle.
When the detection of corresponding mobile terminal is in open state, the ID pins of Micro usb interface modules 310 (pass through
R1 resistance is pulled to LX_1V8 pins) it is high level so that and diode D2, D4 are turned on, and the HS_DET of power management chip 340 draws
Foot, USB_ID pins are high level, because the HS_DET pins of power management chip 340 are high level, therefore switching chip
330 SEL pins are also high level, and DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 divide successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of other connecting valve switching chip 330.Therefore, this state is default conditions.
When Micro usb interface modules 310 are connected to charger by Micro USB access ways to be inserted into, Micro USB interface moulds
The ID pins (being still pulled to LX_1V8 pins by R1 resistance) of block 310 are high level, and diode D2, D4 are still turned on, electricity
HS_DET pins, the USB_ID pins of source control chip 340 be also high level (at this time, corresponding mobile terminal be identified as from
Equipment), therefore the SEL pins of switching chip 330 are still high level, so switching chip 330 still maintains existing
DA1 pins, DA2 pins, DA3 pins, the DA4 pins of Default Connected State, i.e. switching chip 330 successively open respectively by connection
Concern changes DB1 pins, DB2 pins, DB3 pins, the DB4 pins of chip 330 so that the VBUS of Micro usb interface modules 310
VBUS pins, GND pin, the DP that pin, GND pin, DP pins, DM pins are corresponding in turn to connection power management chip 340 draw
Foot, DM pins.So, while mobile terminal is connected to charger insertion, charger carries out charging association with mobile terminal
View communication, sign off charge according to communication protocol content Current Voltage afterwards, and whole workflow schematic diagram is as shown in Figure 5.
3rd, wired headset insertion operation principle.
When the detection of corresponding mobile terminal is in open state, the ID pins of Micro usb interface modules 310 (pass through
R1 resistance is pulled to LX_1V8 pins) it is high level so that and diode D2, D4 are turned on, and the HS_DET of power management chip 340 draws
Foot, USB_ID pins are high level, because the HS_DET pins of power management chip 340 are high level, therefore switching chip
330 SEL pins are also high level, and DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 divide successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of other connecting valve switching chip 330.Therefore, this state is default conditions.
When Micro usb interface modules 310 are connected to wired headset by Micro USB access ways to be inserted into, Micro
VBUS pins, GND pin, DP pins, DM pins, the ID pins of usb interface module 310 are corresponding in turn to and are connected to wired headset
MIC pins, GND pin, HS_L pins, HS_R pins, HS_DET pins.Therefore, when Micro usb interface modules 310 are inserted into
During wired headset, the HS_DET pins of wired headset are connected to HS_L pins, and the HS_L pins in wired headset pass through 8 Europe
Loudspeaker are connected to GND pin, so, the 8 Europe loudspeaker that the ID pins of Micro usb interface modules 310 pass through HS_L pins at this time
It is pulled down to GND signals, diode D2, D4 cut-off conducting.When the ID pins of Micro usb interface modules 310 are changed into low level
When, the EN pin input low levels of impedance measurement chip 320, impedance measurement chip 320 is started to work, and measurement Micro USB connect
Impedance between the DP pins and DM pins of mouth mold block 310 is less than 150R, the INT pins of measurement Micro usb interface modules 310
Export as low level, diode D1 cut-off conductings, NMOS tube Q1 shut-offs, diode D3, which is pulled up resistance R3 and is pulled to LX_1V8, to be drawn
Foot, therefore diode D3 is turned on, USB_ID pins still remain high (at this time, corresponding mobile terminal is identified as slave device).And
Since diode D1, D2 are turned off turning on, therefore HS_DET pins are pulled down resistance R2 and stretch low level, so, switching core
The signal of the SEL pins of piece 330 is changed into low level, at this time, the DA1 pins of switching chip 330, DA2 pins, DA3 pins,
DA4 pins switch connection mode, with distinguish successively the connecting valve switching DC1 pins of chip 330, DC2 pins, DC3 pins,
DC4 pins so that VBUS pins, GND pin, DP pins, the DM pins of Micro usb interface modules 310 are corresponding in turn to connection
Mic_in pins, HPH_REF pins, HS_L pins and the HS_R pins of power management chip 340, so that wired headset
MIC pins, GND pin, HS_L pins, HS_R be corresponding in turn to Mic_in pins, the HPH_ of connection power management chip 340
REF pins, HS_L pins and HS_R pins.When the HS_DET leg signals of power management chip 340 are by high level to low electricity
During flat change, corresponding mobile terminal enters normal headset identification process, and whole workflow schematic diagram is as shown in Figure 6.
And when wired headset is pulled out, the ID pins of Micro usb interface modules 310 (are pulled to LX_ by R1 resistance
1V8 pins) it is high level, diode D2, D4 conducting, HS_DET pins, the USB_ID pins of power management chip 340 are height
Level, therefore the SEL leg signals of switching chip 330 are changed by low level to high level, the DA1 of switching chip 330
Pin, DA2 pins, DA3 pins, DA4 pins distinguish DB1 pins, DB2 pins, the DB3 of connecting valve switching chip 330 successively
Pin, DB4 pins, recover Default Connected State.Meanwhile the HS_DET leg signals of power management chip 340 by low level to
High level changes, and corresponding mobile terminal execution headset transfers to flow, and whole workflow schematic diagram is as shown in Figure 7.
4th, OTG equipment insertion operation principle.
When the detection of corresponding mobile terminal is in open state, the ID pins of Micro usb interface modules 310 (pass through
R1 resistance is pulled to LX_1V8 pins) it is high level so that and diode D2, D4 are turned on, and the HS_DET of power management chip 340 draws
Foot, USB_ID pins are high level, because the HS_DET pins of power management chip 340 are high level, therefore switching chip
330 SEL pins are also high level, and DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 divide successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of other connecting valve switching chip 330.Therefore, this state is default conditions.
When Micro usb interface modules 310 are connected to OTG equipment by Micro USB access ways to be inserted into, Micro
The ID pins of usb interface module 310 are pulled down to GND signals, diode D2, D4 cut-off conducting.When Micro usb interface modules
When 310 ID pins are changed into low level, the EN pin input low levels of impedance measurement chip 320, impedance measurement chip 320 starts
Work, the impedance between the DP pins and DM pins of measurement Micro usb interface modules 310 are more than 150R, measurement Micro USB
The INT pins output of interface module 310 is high level, and diode D1 conductings, NMOS tube Q1 is turned on, therefore diode D3 cut-offs are led
Logical, USB_ID pins are converted to low level (at this time, corresponding mobile terminal is identified as main equipment).And diode D1 conductings, D2
Cut-off conducting, therefore HS_DET pins still remain high level, therefore the SEL pins of switching chip 330 are still high level,
So switching chip 330 still maintains existing Default Connected State, i.e. DA1 pins, the DA2 of switching chip 330 draw
DB1 pins, DB2 pins, DB3 pins, the DB4 of connecting valve switching chip 330 draw respectively successively for foot, DA3 pins, DA4 pins
Foot so that VBUS pins, GND pin, DP pins, the DM pins of Micro usb interface modules 310 are corresponding in turn to connection power supply pipe
Manage VBUS pins, GND pin, DP pins, the DM pins of chip 340.When power management chip 340 USB_ID leg signals by
High level to low level change when, corresponding mobile terminal enters OTG patterns, and whole workflow schematic diagram is as shown in Figure 8.
And when OTG equipment is pulled out, the ID pins of Micro usb interface modules 310 (are pulled to LX_ by R1 resistance
1V8 pins) it is high level, diode D2, D4 conducting, HS_DET pins, the USB_ID pins of power management chip 340 are height
Level.Meanwhile the USB_ID leg signals of power management chip 340 are changed by low level to high level, corresponding mobile terminal
OTG patterns are exited, whole workflow schematic diagram is as shown in Figure 9.
Embodiment two
As shown in Figure 10, the embodiment of the present invention two proposes a kind of mobile terminal 400, which includes terminal
Reason device (not shown) and the Micro usb circuits 300 being connected with terminal handler, the Micro usb circuits 300 wrap
Include Micro usb interface modules 310, impedance measurement chip 320, switching chip 330 and power management chip 340.
Wherein, Micro usb interface modules 310 are mainly used for realizing USB work(respectively by Micro USB access ways
Can interaction and earphone function interaction.Specifically, as shown in figure 3, Micro usb interface modules 310 include ID (dead end) pin,
VBUS (the positive 5V of power supply) pin, GND (signal ground) pin, DP (data cable is just) pins and DM (data cable is born) pin.In reality
During the use of border, the equipment such as data cable, charging wire, OTG equipment and wired headset is by Micro USB access ways with being somebody's turn to do
Micro usb interface modules 310, to realize that (including the charging and data-transformation facility) interaction of USB functions and earphone function are handed over
Mutually.
Impedance measurement chip 320 is mainly used for carrying out impedance monitoring to Micro usb interface modules 310, with wired ear
When wheat accesses Micro usb interface modules 310, switch-over control signal is sent.Specifically, as shown in figure 3, impedance measurement chip bag
Enabled pin units 321, input pin unit 322 and measurement result output unit 323 are included, wherein, enable pin units 321
Including EN pins, which is connected with the ID pins of Micro usb interface modules 310, to enable pin units 321 by this
Monitor the level signal of the ID pins of Micro usb interface modules 310, thus judge whether to start impedance measurement chip 320 into
Row work (in the present embodiment, when the ID pins of Micro usb interface modules 310 are changed into low level signal, the enabled pin list
Member 321 starts impedance measurement chip 320 and works).Input pin unit 322 includes R_P pins and R_M pins, wherein, R_
The DP pins of P pins connection Micro usb interface modules 310, the DM of R_M pins connection Micro usb interface modules 310 draw
Foot, to be become by the input pin unit 322 to the impedance between the DP pins and DM pins of Micro usb interface modules 310
Change is monitored.Measurement result output unit 323 includes INT (output is interrupted) pin, which is used for
According to the impedance variations between the DP pins and DM pins of the Micro usb interface modules 310 monitored, output switching control letter
Number.
Power management chip 340 is mainly used for according between Micro usb interface modules 310 and power management module 340
Connection mode, Micro usb interface modules 310 USB function controls or Micro usb interface modules 310 are carried out
Earphone function controls.Specifically, power management chip 340 includes USB function control units 341, earphone function control unit
342nd, voltage output unit 343 and headset plug detection unit 344, wherein, USB function control units 341 include VBUS (electricity
The positive 5V in source) pin, GND (signal ground) pin, DP (data cable is just) pins and DM (data cable is born) pin, with Micro
When usb interface module 310 is connected with the USB function control units 341, by the USB function control units 341 to Micro
Usb interface module 310 carries out USB function controls.Earphone function control unit 342 include Mic_in (headset input) pin,
HPH_REF (reference ground) pin, HS_L (the left output of headset) pins and HS_R (the right output of headset) pin, with Micro
When usb interface module 310 is connected with the earphone function control unit 342, by the earphone function control unit 342 to Micro
Usb interface module 310 carries out earphone function control.Voltage output unit 343 is mainly used for exporting Micro usb circuits
300 operating voltage.In the designing scheme of the present embodiment, which mainly includes LX_1V8 pins, can be used for
Export the operating voltage of 1.8V.Headset plug detection unit 344 includes HS_DET pins, can be sent according to impedance measurement chip
Switch-over control signal, judges whether Micro usb interface modules 310 access wired headset, and switch-over control signal is transmitted to
Switching chip 330.In addition, power management chip 340 further includes USB_ID pins, to correspond to Micro usb interface modules
310 ID pins, carry out master-slave equipment identification.
Switching chip 330 is mainly used for according to switch-over control signal, selection switching Micro usb interface modules 310
With the connection mode between power management module 340.Specifically, switching chip 330 includes switching signal receiving unit
331st, the first pin units 332,333 and the 3rd pin units 334 of second pin unit.First pin units 332, which correspond to, to be connected
Connect Micro usb interface modules 310, i.e. the DA1 pins of the first pin units 332, DA2 pins, DA3 pins and DA4 pins
It is sequentially connected VBUS pins, GND pin, DP pins and the DM pins of Micro usb interface modules 310.Second pin unit
333 correspond to connection USB function control units 341, i.e., the DB1 pins of second pin unit 333, DB2 pins, DB3 pins and
DB4 pins are sequentially connected VBUS pins, GND pin, DP pins and the DM pins of USB function control units 341.3rd pin
Unit 334 corresponds to connection headset function control unit 342, i.e. the DC1 pins of the 3rd pin units 334, DC2 pins, DC3 pins
And DC4 pins be sequentially connected the Mic_in pins of earphone function control unit 342, HPH_REF pins, HS_L pins and
HS_R pins.Switching signal receiving unit 341 includes SEL pins, the SEL pins and the HS_ of headset plug detection unit 344
DET pins connect, to receive the switch-over control signal that it is forwarded.So, the first pin units 332 can be believed in switching
Switching connection second pin unit 333 or the 3rd pin units 334 under the control of number receiving unit 331 so that Micro USB connect
Mouth mold block 310 or the USB function control units 341 for connecting power management chip 340, or the ear of connection power management chip 340
Wheat function control unit 342.
In the designing scheme of the present embodiment, as shown in figure 3, the HS_DET pins of power management chip 340 are connected to two
The anode of pole pipe D1, D2, the USB_ID pins of power management chip 340 are connected to the anode of diode D3, D4.Micro USB
The ID pins of interface module 310 are pulled to the LX_1V8 pins of power management chip 340, while Micro by pull-up resistor R1
The ID pins of usb interface module 310 are connected to the cathode of diode D2, D4 and the EN pins of impedance measurement chip 320, impedance
The INT pins of measurement chip 320 are connected to the grid of diode D1 cathodes and NMOS tube Q1, and the drain electrode of NMOS tube Q1 passes through upper
Pull-up resistor R3 is connected to the LX_1V8 pins of power management chip 340 and is connected to the cathode of diode D3, NMOS tube Q1's
Source electrode is connected to mainboard GND signals.In type selecting, R1, R2 in the present embodiment can select 10K resistance, switching chip 330
Supply voltage be typically 1.8V, cut-in voltage Vgs (th) scope of NMOS tube Q1 is 0.5V~1.0V, diode D1, D2,
The pressure drop of D3, D4 are less than 0.1V.
Below in conjunction with attached drawing, to specific work of the Micro usb circuits 300 in the present embodiment under various operating modes
It is explained in detail as principle.
First, shutdown charging work principle.
When the detection of corresponding mobile terminal is in off-mode, at this time, if Micro usb interface modules 310 pass through
When Micro USB access ways are connected to charger insertion, charger exports the corresponding mobile terminal of Vbus voltage triggereds most
Mini system starts, and power management chip 340 powers on, its LX_1V8 pin output 1.8V voltages, switching chip 330 works.
At this time, the ID pins (being pulled to LX_1V8 pins by R1 resistance) of Micro usb interface modules 310 are high level so that two
Pole pipe D2 is turned on, so that the HS_DET pins of power management chip 340 are high level, the SEL of switching chip 330 draws
Foot is also high level, and at this time, DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 connect respectively successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of switching chip 330 are connect, so that Micro usb interface modules
310 VBUS pins, GND pin, DP pins, DM pins are corresponding in turn to VBUS pins, the GND of connection power management chip 340
Pin, DP pins, DM pins.So, after mobile terminal minimum system gets up, charge protocol communication, communication are carried out
Charge after end according to communication protocol content Current Voltage, whole workflow schematic diagram is as shown in Figure 4.
2nd, start charging work principle.
When the detection of corresponding mobile terminal is in open state, the ID pins of Micro usb interface modules 310 (pass through
R1 resistance is pulled to LX_1V8 pins) it is high level so that and diode D2, D4 are turned on, and the HS_DET of power management chip 340 draws
Foot, USB_ID pins are high level, because the HS_DET pins of power management chip 340 are high level, therefore switching chip
330 SEL pins are also high level, and DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 divide successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of other connecting valve switching chip 330.Therefore, this state is default conditions.
When Micro usb interface modules 310 are connected to charger by Micro USB access ways to be inserted into, Micro USB interface moulds
The ID pins (being still pulled to LX_1V8 pins by R1 resistance) of block 310 are high level, and diode D2, D4 are still turned on, electricity
HS_DET pins, the USB_ID pins of source control chip 340 be also high level (at this time, corresponding mobile terminal be identified as from
Equipment), therefore the SEL pins of switching chip 330 are still high level, so switching chip 330 still maintains existing
DA1 pins, DA2 pins, DA3 pins, the DA4 pins of Default Connected State, i.e. switching chip 330 successively open respectively by connection
Concern changes DB1 pins, DB2 pins, DB3 pins, the DB4 pins of chip 330 so that the VBUS of Micro usb interface modules 310
VBUS pins, GND pin, the DP that pin, GND pin, DP pins, DM pins are corresponding in turn to connection power management chip 340 draw
Foot, DM pins.So, while mobile terminal is connected to charger insertion, charger carries out charging association with mobile terminal
View communication, sign off charge according to communication protocol content Current Voltage afterwards, and whole workflow schematic diagram is as shown in Figure 5.
3rd, wired headset insertion operation principle.
When the detection of corresponding mobile terminal is in open state, the ID pins of Micro usb interface modules 310 (pass through
R1 resistance is pulled to LX_1V8 pins) it is high level so that and diode D2, D4 are turned on, and the HS_DET of power management chip 340 draws
Foot, USB_ID pins are high level, because the HS_DET pins of power management chip 340 are high level, therefore switching chip
330 SEL pins are also high level, and DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 divide successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of other connecting valve switching chip 330.Therefore, this state is default conditions.
When Micro usb interface modules 310 are connected to wired headset by Micro USB access ways to be inserted into, Micro
VBUS pins, GND pin, DP pins, DM pins, the ID pins of usb interface module 310 are corresponding in turn to and are connected to wired headset
MIC pins, GND pin, HS_L pins, HS_R pins, HS_DET pins.Therefore, when Micro usb interface modules 310 are inserted into
During wired headset, the HS_DET pins of wired headset are connected to HS_L pins, and the HS_L pins in wired headset pass through 8 Europe
Loudspeaker are connected to GND pin, so, the 8 Europe loudspeaker that the ID pins of Micro usb interface modules 310 pass through HS_L pins at this time
It is pulled down to GND signals, diode D2, D4 cut-off conducting.When the ID pins of Micro usb interface modules 310 are changed into low level
When, the EN pin input low levels of impedance measurement chip 320, impedance measurement chip 320 is started to work, and measurement Micro USB connect
Impedance between the DP pins and DM pins of mouth mold block 310 is less than 150R, the INT pins of measurement Micro usb interface modules 310
Export as low level, diode D1 cut-off conductings, NMOS tube Q1 shut-offs, diode D3, which is pulled up resistance R3 and is pulled to LX_1V8, to be drawn
Foot, therefore diode D3 is turned on, USB_ID pins still remain high (at this time, corresponding mobile terminal is identified as slave device).And
Since diode D1, D2 are turned off turning on, therefore HS_DET pins are pulled down resistance R2 and stretch low level, so, switching core
The signal of the SEL pins of piece 330 is changed into low level, at this time, the DA1 pins of switching chip 330, DA2 pins, DA3 pins,
DA4 pins switch connection mode, with distinguish successively the connecting valve switching DC1 pins of chip 330, DC2 pins, DC3 pins,
DC4 pins so that VBUS pins, GND pin, DP pins, the DM pins of Micro usb interface modules 310 are corresponding in turn to connection
Mic_in pins, HPH_REF pins, HS_L pins and the HS_R pins of power management chip 340, so that wired headset
MIC pins, GND pin, HS_L pins, HS_R be corresponding in turn to Mic_in pins, the HPH_ of connection power management chip 340
REF pins, HS_L pins and HS_R pins.When the HS_DET leg signals of power management chip 340 are by high level to low electricity
During flat change, corresponding mobile terminal enters normal headset identification process, and whole workflow schematic diagram is as shown in Figure 6.
And when wired headset is pulled out, the ID pins of Micro usb interface modules 310 (are pulled to LX_ by R1 resistance
1V8 pins) it is high level, diode D2, D4 conducting, HS_DET pins, the USB_ID pins of power management chip 340 are height
Level, therefore the SEL leg signals of switching chip 330 are changed by low level to high level, the DA1 of switching chip 330
Pin, DA2 pins, DA3 pins, DA4 pins distinguish DB1 pins, DB2 pins, the DB3 of connecting valve switching chip 330 successively
Pin, DB4 pins, recover Default Connected State.Meanwhile the HS_DET leg signals of power management chip 340 by low level to
High level changes, and corresponding mobile terminal execution headset transfers to flow, and whole workflow schematic diagram is as shown in Figure 7.
4th, OTG equipment insertion operation principle.
When the detection of corresponding mobile terminal is in open state, the ID pins of Micro usb interface modules 310 (pass through
R1 resistance is pulled to LX_1V8 pins) it is high level so that and diode D2, D4 are turned on, and the HS_DET of power management chip 340 draws
Foot, USB_ID pins are high level, because the HS_DET pins of power management chip 340 are high level, therefore switching chip
330 SEL pins are also high level, and DA1 pins, DA2 pins, DA3 pins, the DA4 pins of switching chip 330 divide successively
DB1 pins, DB2 pins, DB3 pins, the DB4 pins of other connecting valve switching chip 330.Therefore, this state is default conditions.
When Micro usb interface modules 310 are connected to OTG equipment by Micro USB access ways to be inserted into, Micro
The ID pins of usb interface module 310 are pulled down to GND signals, diode D2, D4 cut-off conducting.When Micro usb interface modules
When 310 ID pins are changed into low level, the EN pin input low levels of impedance measurement chip 320, impedance measurement chip 320 starts
Work, the impedance between the DP pins and DM pins of measurement Micro usb interface modules 310 are more than 150R, measurement Micro USB
The INT pins output of interface module 310 is high level, and diode D1 conductings, NMOS tube Q1 is turned on, therefore diode D3 cut-offs are led
Logical, USB_ID pins are converted to low level (at this time, corresponding mobile terminal is identified as main equipment).And diode D1 conductings, D2
Cut-off conducting, therefore HS_DET pins still remain high level, therefore the SEL pins of switching chip 330 are still high level,
So switching chip 330 still maintains existing Default Connected State, i.e. DA1 pins, the DA2 of switching chip 330 draw
DB1 pins, DB2 pins, DB3 pins, the DB4 of connecting valve switching chip 330 draw respectively successively for foot, DA3 pins, DA4 pins
Foot so that VBUS pins, GND pin, DP pins, the DM pins of Micro usb interface modules 310 are corresponding in turn to connection power supply pipe
Manage VBUS pins, GND pin, DP pins, the DM pins of chip 340.When power management chip 340 USB_ID leg signals by
High level to low level change when, corresponding mobile terminal enters OTG patterns, and whole workflow schematic diagram is as shown in Figure 8.
And when OTG equipment is pulled out, the ID pins of Micro usb interface modules 310 (are pulled to LX_ by R1 resistance
1V8 pins) it is high level, diode D2, D4 conducting, HS_DET pins, the USB_ID pins of power management chip 340 are height
Level.Meanwhile the USB_ID leg signals of power management chip 340 are changed by low level to high level, corresponding mobile terminal
OTG patterns are exited, whole workflow schematic diagram is as shown in Figure 9.
The Micro usb circuits and its mobile terminal that the embodiment of the present invention proposes, its Micro usb circuit bag
Include Micro usb interface modules, impedance measurement chip, switching chip and power management chip, during work, pass through its resistance
Anti- measurement chip, carries out impedance monitoring, to access its Micro USB interface in wired headset to its Micro usb interface module
During module, switch-over control signal is sent, then Micro USB are connect under the switch-over control signal by its switching chip
Connection mode between mouth mold block and power management module makes choice switching.Carry out basis finally by its power management chip to cut
Change the connection mode between the Micro usb interface modules and power management module chosen, to Micro usb interface modules into
Row USB function controls carry out earphone function control to Micro usb interface modules.As it can be seen that the Micro USB interfaces of the present invention
Circuit and its mobile terminal, its by Micro USB interfaces can automatic identification USB functions and earphone function, so as to select
Corresponding operating path, lifts user experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of Micro usb circuits, it is characterised in that the Micro usb circuits include:
Micro usb interface modules, for realizing the interaction of USB functions and headset respectively by Micro USB access ways
Function interacts;
Impedance measurement chip, for carrying out impedance monitoring to the Micro usb interface modules, described in being accessed in wired headset
During Micro usb interface modules, switch-over control signal is sent;
Switching chip, for according to the switch-over control signal, selection switch the Micro usb interface modules with it is described
Connection mode between power management module;
Power management chip, for according to the connection side between the Micro usb interface modules and the power management module
Formula, carries out the Micro usb interface modules USB function controls or carries out headset work(to the Micro usb interface modules
Can control.
2. Micro usb circuits as claimed in claim 1, it is characterised in that the power management chip includes:
USB function control units, for carrying out USB function controls to the Micro usb interface modules;
Earphone function control unit, for carrying out earphone function control to the Micro usb interface modules.
3. Micro usb circuits as claimed in claim 2, it is characterised in that the switching chip includes switching
Signal receiving unit, the first pin units, second pin unit and the 3rd pin units, first pin units, which correspond to, to be connected
The Micro usb interface modules are connect, the second pin unit, which corresponds to, connects the USB function control units, and the described 3rd
Pin units, which correspond to, connects the earphone function control unit, and first pin units are in the switching signal receiving unit
The lower switching of control connects the second pin unit or the 3rd pin units.
4. the Micro usb circuits as described in claim 1-3 is any, it is characterised in that the impedance measurement chip bag
Include:
Enabled pin units, the level signal of the ID pins for monitoring the Micro usb interface modules, to judge whether to open
The impedance measurement chip is moved to work;
Input pin unit, for connecting the DP pins and DM pins of the Micro usb interface modules respectively, with described in monitoring
Impedance variations between DP pins and the DM pins;
Measurement result output unit, the impedance variations between the DP pins and the DM pins that are monitored for basis are defeated
Go out switch-over control signal.
5. Micro usb circuits as claimed in claim 4, it is characterised in that the power management chip further includes:
Voltage output unit, for exporting the operating voltage of the Micro usb circuits.
Headset plugs detection unit, for the switch-over control signal sent according to the impedance measurement chip, judges the Micro
Whether usb interface module accesses wired headset, and the switch-over control signal is transmitted to the switching chip.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes terminal handler and connects with the terminal handler
The Micro usb circuits connect, the Micro usb circuits include:
Micro usb interface modules, for realizing the interaction of USB functions and headset respectively by Micro USB access ways
Function interacts;
Impedance measurement chip, for carrying out impedance monitoring to the Micro usb interface modules, described in being accessed in wired headset
During Micro usb interface modules, switch-over control signal is sent;
Switching chip, for according to the switch-over control signal, selection switch the Micro usb interface modules with it is described
Connection mode between power management module;
Power management chip, for according to the connection side between the Micro usb interface modules and the power management module
Formula, carries out the Micro usb interface modules USB function controls or carries out headset work(to the Micro usb interface modules
Can control.
7. mobile terminal as claimed in claim 6, it is characterised in that the power management chip includes:
USB function control units, for carrying out USB function controls to the Micro usb interface modules;
Earphone function control unit, for carrying out earphone function control to the Micro usb interface modules.
8. mobile terminal as claimed in claim 7, it is characterised in that the switching chip includes switching signal and receives list
Member, the first pin units, second pin unit and the 3rd pin units, first pin units are corresponded to described in connection
Micro usb interface modules, the second pin unit, which corresponds to, connects the USB function control units, the 3rd pin list
Member is corresponding to connect the earphone function control unit, and first pin units are under the control of the switching signal receiving unit
Switching connects the second pin unit or the 3rd pin units.
9. the mobile terminal as described in claim 6-8 is any, it is characterised in that the impedance measurement chip includes:
Enabled pin units, the level signal of the ID pins for monitoring the Micro usb interface modules, to judge whether to open
The impedance measurement chip is moved to work;
Input pin unit, for connecting the DP pins and DM pins of the Micro usb interface modules respectively, with described in monitoring
Impedance variations between DP pins and the DM pins;
Measurement result output unit, the impedance variations between the DP pins and the DM pins that are monitored for basis are defeated
Go out switch-over control signal.
10. mobile terminal as claimed in claim 9, it is characterised in that the power management chip further includes:
Voltage output unit, for exporting the operating voltage of the Micro usb circuits.
Headset plugs detection unit, for the switch-over control signal sent according to the impedance measurement chip, judges the Micro
Whether usb interface module accesses wired headset, and the switch-over control signal is transmitted to the switching chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401352.8A CN108009116B (en) | 2017-12-22 | 2017-12-22 | MicroUSB interface circuit and mobile terminal thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401352.8A CN108009116B (en) | 2017-12-22 | 2017-12-22 | MicroUSB interface circuit and mobile terminal thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108009116A true CN108009116A (en) | 2018-05-08 |
CN108009116B CN108009116B (en) | 2021-01-05 |
Family
ID=62060452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711401352.8A Active CN108009116B (en) | 2017-12-22 | 2017-12-22 | MicroUSB interface circuit and mobile terminal thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108009116B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109061595A (en) * | 2018-08-08 | 2018-12-21 | 深圳大学 | MMW RADAR SIGNAL USING processing unit and its method |
CN109902052A (en) * | 2019-01-22 | 2019-06-18 | 苏州佳世达电通有限公司 | Can adaptive switched data channel USB switching device and display |
CN115422102A (en) * | 2021-10-08 | 2022-12-02 | 无锡宇宁智能科技有限公司 | USB, type-C interface circuit and drive plate |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202634659U (en) * | 2012-05-23 | 2012-12-26 | 东莞宇龙通信科技有限公司 | Earphone interface self-adaptive circuit and mobile terminal |
CN202696710U (en) * | 2012-05-11 | 2013-01-23 | 东莞宇龙通信科技有限公司 | System using impedance to identify peripheral equipment |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN104035357A (en) * | 2014-06-27 | 2014-09-10 | 广东欧珀移动通信有限公司 | Headset, charging and OTG equipment circuit design based on USB socket |
US20140376753A1 (en) * | 2013-06-24 | 2014-12-25 | Sony Corporation | Crosstalk reduction in a headset |
CN105635885A (en) * | 2016-03-21 | 2016-06-01 | 青岛海信移动通信技术股份有限公司 | USB interface multiplex circuit, mobile terminal and earphone |
CN105630726A (en) * | 2016-01-29 | 2016-06-01 | 努比亚技术有限公司 | Two-channel mobile terminal for reusing USB (Universal Serial Bus) port |
CN105975422A (en) * | 2016-05-27 | 2016-09-28 | 北京小米移动软件有限公司 | Switching equipment, terminal and switching method |
-
2017
- 2017-12-22 CN CN201711401352.8A patent/CN108009116B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202696710U (en) * | 2012-05-11 | 2013-01-23 | 东莞宇龙通信科技有限公司 | System using impedance to identify peripheral equipment |
CN202634659U (en) * | 2012-05-23 | 2012-12-26 | 东莞宇龙通信科技有限公司 | Earphone interface self-adaptive circuit and mobile terminal |
US20140376753A1 (en) * | 2013-06-24 | 2014-12-25 | Sony Corporation | Crosstalk reduction in a headset |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN104035357A (en) * | 2014-06-27 | 2014-09-10 | 广东欧珀移动通信有限公司 | Headset, charging and OTG equipment circuit design based on USB socket |
CN105630726A (en) * | 2016-01-29 | 2016-06-01 | 努比亚技术有限公司 | Two-channel mobile terminal for reusing USB (Universal Serial Bus) port |
CN105635885A (en) * | 2016-03-21 | 2016-06-01 | 青岛海信移动通信技术股份有限公司 | USB interface multiplex circuit, mobile terminal and earphone |
CN105975422A (en) * | 2016-05-27 | 2016-09-28 | 北京小米移动软件有限公司 | Switching equipment, terminal and switching method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109061595A (en) * | 2018-08-08 | 2018-12-21 | 深圳大学 | MMW RADAR SIGNAL USING processing unit and its method |
CN109902052A (en) * | 2019-01-22 | 2019-06-18 | 苏州佳世达电通有限公司 | Can adaptive switched data channel USB switching device and display |
CN115422102A (en) * | 2021-10-08 | 2022-12-02 | 无锡宇宁智能科技有限公司 | USB, type-C interface circuit and drive plate |
CN115422102B (en) * | 2021-10-08 | 2023-10-27 | 无锡宇宁智能科技有限公司 | USB, type-C interface circuit and drive plate |
Also Published As
Publication number | Publication date |
---|---|
CN108009116B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110377251A (en) | A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium | |
CN108052302A (en) | Association display methods, terminal and the computer readable storage medium of double-sided screen | |
CN107517494A (en) | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium | |
CN108345426A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN107315515A (en) | Color change method, terminal and the computer-readable recording medium of status bar icon | |
CN110134471A (en) | A kind of screens switch animation control methods, terminal and computer readable storage medium | |
CN109358831A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN107728838A (en) | A kind of terminal display management method, mobile terminal and computer-readable recording medium | |
CN108879842A (en) | Charge control method, mobile terminal and computer readable storage medium | |
CN109376669A (en) | Control method, mobile terminal and the computer readable storage medium of intelligent assistant | |
CN109218527A (en) | screen brightness control method, mobile terminal and computer readable storage medium | |
CN107390856A (en) | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption | |
CN109739346A (en) | A kind of key simulating method, double screen terminal and computer readable storage medium | |
CN108009116A (en) | MicroUSB interface circuits and its mobile terminal | |
CN107239218A (en) | Control method, mobile terminal and the computer-readable recording medium of mobile terminal | |
CN110096213A (en) | Terminal operation method, mobile terminal and readable storage medium storing program for executing based on gesture | |
CN109890072A (en) | Saving power for terminal control method, device, mobile terminal and readable storage medium storing program for executing | |
CN109325133A (en) | A kind of method of Information locating, terminal and computer readable storage medium | |
CN108881542A (en) | Mobile terminal call method, mobile terminal and computer readable storage medium | |
CN108696909A (en) | Based reminding method, terminal and the computer readable storage medium of network connection | |
CN107704286A (en) | A kind of screen intensity quickly regulating method and its device, terminal device | |
CN107957838A (en) | The method, apparatus and computer-readable recording medium of multi-option application interface interaction | |
CN107396226B (en) | A kind of earphone compatible circuit, mobile terminal and electronic system | |
CN110174934A (en) | A kind of power button device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |