CN107396226B - A kind of earphone compatible circuit, mobile terminal and electronic system - Google Patents
A kind of earphone compatible circuit, mobile terminal and electronic system Download PDFInfo
- Publication number
- CN107396226B CN107396226B CN201710727906.7A CN201710727906A CN107396226B CN 107396226 B CN107396226 B CN 107396226B CN 201710727906 A CN201710727906 A CN 201710727906A CN 107396226 B CN107396226 B CN 107396226B
- Authority
- CN
- China
- Prior art keywords
- earphone
- control
- module
- mic
- nmos tube
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of earphone compatible circuit, the compatible circuit includes: MIC module, control module and earphone interface;The MIC module, test side are connected with the test side of the earphone interface, and input terminal is connected with the input terminal of the control module, for detected earphone be inserted into the earphone interface when, Xiang Suoshu control module input voltage signal;The control module, its control terminal is connected with the input terminal of the earphone interface, and output end is connected with the reference voltage end of the MIC module, for according to the voltage signal received, control flows into the current direction of the earphone interface, and output reference voltage is to the MIC module;The MIC module, is also used to when detecting the reference voltage, triggers the start-up operation of itself left and right sound channels.The invention also discloses a kind of mobile terminal and electronic systems can be compatible with the earphone of two kinds of various criterions by implementing technical solution of the present invention.
Description
Technical field
The present invention relates to design of electronic circuits technical field more particularly to a kind of earphone compatible electricity for mobile terminal
Road, mobile terminal and electronic system.
Background technique
With the rapid development of communication technology, the function of the mobile terminals such as mobile phone is more and more, the joy being able to achieve on computer
Happy function, most of all to have realized on mobile terminals, people can watch movie on mobile terminals, play game, browsing
Webpage, listens to music Video chat.
Currently when carrying out music using mobile terminal, it can usually be listened to by earphone.At present on the market
Earphone for mobile terminal is there are two types of standard, i.e. national standard earphone and American Standard earphone.The difference of the two is: MIC signal with
GND signal is exchanged.Signal of the American Standard earphone from headset plug successively sorts are as follows: L channel, right channel, earth signal, MIC letter
Number.And national standard earphone signal from headset plug successively sorts are as follows: L channel, right channel, MIC signal, GND signal.Work as movement
(such as American Standard mobile terminal uses national standard earphone, and national standard is mobile when the headset designs standard and earphone standard signal of terminal are inconsistent
Terminal uses American Standard standard earphone), it just will appear the case where earphone plays no sound or earpiece volume very little, so user
Earphone ability normal use must be replaced, user experience is influenced.
Summary of the invention
It is a primary object of the present invention to propose it is a kind of applied to the earphone compatible circuit of mobile terminal, mobile terminal and
Electronic system can be compatible with the earphone of two kinds of various criterions.
To achieve the above object, a kind of earphone compatible circuit provided by the invention, the compatible circuit include:
MIC module, control module and earphone interface;
The test side of the MIC module is connected with the test side of the earphone interface, the input terminal of the MIC module and institute
The input terminal for stating control module is connected, and the MIC module is used for when having detected that earphone is inserted into the earphone interface, Xiang Suoshu
Control module input voltage signal;
The control terminal of the control module is connected with the input terminal of the earphone interface, the output end of the control module with
The reference voltage end of the MIC module is connected, and the control module is used for according to the voltage signal received, and control flows into
The current direction of the earphone interface, and output reference voltage is to the MIC module;
The MIC module, is also used to when detecting the reference voltage, triggers the start-up operation of itself left and right sound channels.
Wherein, the control module includes:
In parallel first flows to control circuit and second and flows to control circuit;Described first flows to the input terminal of control circuit
The input terminal for flowing to control circuit with described second is connected;Described first flows to the control terminal of control circuit and second flow direction
The control terminal of control circuit is connected;The output that described first output end for flowing to control circuit flows to control circuit with described second
End is connected;
When the MIC module inputs the voltage signal to the control module, described first, which flows to control circuit, is led
It is logical and described second flows to control circuit cut-off, it is first-class to conducting and the second flow direction is ended and exported described with reference to electricity to control
It is depressed into the MIC module;Or described second flow to control circuit conducting and first flow to control circuit cut-off, to control second
To conducting and the first flow direction cut-off, and the reference voltage is exported to the MIC module.
Wherein, the current direction of first flow direction is from ground to MIC;The current direction of second flow direction is from MIC
To ground.
Wherein, described first to flow to control circuit include: first resistor, first capacitor, the first PMOS tube, the first NMOS tube
And second NMOS tube;
Wherein, the input terminal that one end of the first resistor flows to control circuit as described first, respectively with the MIC
The input terminal of module, the source electrode of first PMOS tube are connected, and the other end of the first resistor is separately connected first electricity
The drain electrode of one end of appearance, the grid of first PMOS tube and first NMOS tube, another termination of the first capacitor
Ground;
The grid of first PMOS tube connects the drain electrode of first NMOS tube, and the drain electrode of first PMOS tube is simultaneously
Connect the input terminal of the grid of first NMOS tube, the grid of the second NMOS tube and the earphone interface;Described first
The source electrode of NMOS tube is grounded;
The grid of second NMOS tube connects the grid of first NMOS tube, the input terminal of the earphone interface, institute
The drain electrode for stating the second NMOS tube connects the input terminal of the earphone interface;The source electrode of second NMOS tube is as described first-class
To the output end of control circuit, the reference voltage end of the MIC module is connected.
Wherein, described second to flow to control circuit include: second resistance, the second capacitor, the second PMOS tube, third NMOS tube
And the 4th NMOS tube;
Wherein, the input terminal that one end of the second resistance flows to control circuit as described second, respectively with the MIC
The input terminal of module, the source electrode of second PMOS tube are connected, and the other end of the second resistance is separately connected second electricity
The drain electrode of one end of appearance, the grid of second PMOS tube and the third NMOS tube, another termination of second capacitor
Ground;
The grid of second PMOS tube connects the drain electrode of the third NMOS tube, and the drain electrode of second PMOS tube is simultaneously
Connect the grid, the grid of the 4th NMOS tube and the input terminal of the earphone interface of the third NMOS tube;The third
The source electrode of NMOS tube is grounded;
The grid of 4th NMOS tube connects the grid of the third NMOS tube, the input terminal of the earphone interface, institute
The drain electrode for stating the 4th NMOS tube connects the input terminal of the earphone interface;The source electrode of 4th NMOS tube is as described first-class
To the output end of control circuit, the reference voltage end of the MIC module is connected.
Wherein, the MIC module further include: L channel control terminal and right channel control terminal;
The L channel control terminal is connect with the left channel interface of the earphone interface, ear described in the right channel control terminal
The left channel interface of machine interface connects.
Wherein, the MIC module further include: biased electrical pressure side and 3rd resistor;
One end of the 3rd resistor connects the biased electrical pressure side, and the other end connects the input terminal of the MIC module, with
And the input terminal of the control module.
Wherein, the MIC module further include: the 4th resistance and the 5th resistance;
One end of 4th resistance is separately connected the left channel interface of the L channel control terminal and the earphone interface,
Other end ground connection;
One end of 5th resistance is separately connected the right channel interface of the right channel control terminal and the earphone interface,
Other end ground connection.
Correspondingly, the present invention also provides a kind of mobile terminals, including earphone compatible circuit described in any of the above embodiments.
Correspondingly, the present invention also provides a kind of electronic system, mobile terminals and earphone described above.
The beneficial effects of the present invention are:
The technical solution of the embodiment of the present invention, since the standard of the earphone of insertion earphone interface may be American Standard or national standard,
When the earphone of various criterion is inserted into earphone interface, control module can control the current direction for flowing into earphone interface, so that control
The output end of module always can output reference voltage to MIC module reference voltage end (HPH-REF pin), so as to trigger
The left and right acoustic channels of MIC module are started to work, and form the circuit of L channel, right channel, earth signal, MIC signal, or form left sound
The circuit in road, right channel, MIC signal, GND signal, so that the earphone compatible circuit can be compatible with the earphone of various criterion.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the structural schematic diagram of the first embodiment of earphone compatible circuit of the invention;
Fig. 4 is the structural schematic diagram of the second embodiment of earphone compatible circuit of the invention;
Fig. 5 is MIC performance loop schematic diagram when the circuit in Fig. 4 uses American Standard earphone;
Fig. 6 is that the circuit in Fig. 4 uses earphone horn performance loop schematic diagram when American Standard earphone;
Fig. 7 is that the circuit in Fig. 4 uses MIC performance loop schematic diagram when national standard earphone;
Fig. 8 is that the circuit in Fig. 4 uses earphone horn performance loop schematic diagram when national standard earphone;
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.
Specific 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 subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The image processing method of moving object provided in the present invention can be applied to various terminals and computer-readable
Storage medium.Wherein, terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as hand
Machine, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA),
Portable media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, step counting
The fixed terminals such as the mobile terminals such as device, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components 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 constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent 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, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including 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, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent 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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated 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 a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of 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 sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of 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) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch 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
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch 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, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone 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, ear 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 storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it 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 entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing 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) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions 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.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
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 connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may 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, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may 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 should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
As shown in figure 3, being that the structure of the first embodiment of the earphone compatible circuit applied to mobile terminal of the invention is shown
It is intended to.Wherein, mobile terminal for example can be applied to the equipment such as smart phone, tablet computer, personal digital assistant.
As shown in figure 3, the earphone compatible circuit 300 includes: MIC module 31, control module 32 and earphone interface 33.
Wherein, the test side (HS-DET pin) of MIC module 31 is connected with the test side (end DET) of earphone interface 33, MIC
The input terminal (Mic-in pin) of module 31 is connected with the input terminal of control module 32, for detecting earphone insertion earphone
When interface 33, to 32 input voltage signal of control module.And the input terminal phase of the control terminal of control module 32 and earphone interface 33
Even, the output end of control module 32 is connected with the reference voltage end (HPH-REF pin) of MIC module 31, and control module 32 is used for
According to the voltage signal received, the current direction of the earphone of control insertion earphone interface 33, and output reference voltage to MIC mould
Block 31;The reference voltage end (HPH-REF pin) of MIC module 31 triggers itself left and right sound channels and opens when receiving reference voltage
Beginning work.
In the embodiment of the present invention, since the standard of the earphone of insertion earphone interface 33 may be American Standard or national standard, work as difference
When the earphone of standard is inserted into earphone interface, control module 32 can control the current direction for flowing into earphone interface 33, so that control mould
The output end of block 32 always can output reference voltage to MIC module 31 reference voltage end (HPH-REF pin), so as to touch
The left and right acoustic channels for sending out MIC module 31 are started to work, and form the circuit of L channel, right channel, earth signal, MIC signal, or formed
The circuit of L channel, right channel, MIC signal, GND signal, so that the earphone compatible circuit can be compatible with various criterion
Earphone.
It should be noted that control module 32 may include:
In parallel first flows to control circuit and second and flows to control circuit;First flows to the input terminal of control circuit and
Two input terminals for flowing to control circuit are connected, and first, which flows to the input terminal of control circuit and second, flows to the input terminal of control circuit
Collectively as the input terminal of control module 32;The control terminal that first control terminal for flowing to control circuit flows to control circuit with second
It is connected, control of the control terminal collectively as control module 32 that the first control terminal for flowing to control circuit flows to control circuit with second
End processed;The output end that first output end for flowing to control circuit flows to control circuit with second is connected, and first flows to control circuit
Output end and second flow to control circuit output end of the output end collectively as control module 32;
Wherein, the current direction of the first flow direction is from ground to MIC;The current direction of second flow direction is from MIC to ground.It is
Say, first flow to control circuit control flow into earphone interface 33 current direction be to MIC, second flows to control circuit control
The current direction of earphone interface 33 is flowed into as MIC to ground.
When MIC module 31 is to 32 input voltage signal of control module, according to the standard of the earphone of insertion earphone interface 33,
First flow to control circuit conducting and second flow to control circuit cut-off, with control it is first-class to conducting and second flow direction cut-off simultaneously
The reference voltage is exported to the MIC module;Second flow to control circuit conducting and first flow to control circuit cut-off, with control
Second processed exports the reference voltage to the MIC module to conducting and the first flow direction cut-off.
Wherein, it first flows to control circuit with second to flow to the structure of control circuit identical, may each comprise: resistance, electricity
Hold, PMOS tube and two NMOS tubes.In the following, embodiment shown in Fig. 4, detailed description of the present invention control module 32 will be passed through.
As shown in figure 4, being the structure of the second embodiment of the earphone compatible circuit 300 applied to mobile terminal of the invention
Schematic diagram.Wherein, mobile terminal for example can be applied to the equipment such as smart phone, tablet computer, personal digital assistant.
As shown in figure 4, the source electrode of PMOS tube Q1 (the first PMOS tube) connects codec IC (MIC in the earphone compatible circuit
Module 31) MIC_in pin, MIC_in pin is pulled to Mic_bias (biased electrical pressure side) by Rp resistance (3rd resistor)
The power supply of output, the drain electrode of PMOS tube Q1 are connected to the input terminal (M/G pin) of earphone interface, resistance R1 (first resistor) and electricity
Hold C1 (first capacitor) and forms series circuit, the grid of the connected position connection PMOS tube Q1 between resistance R1 and capacitor C1 device
With the drain electrode of NMOS tube (the first NMOS tube) Q2, the earth signal of the source electrode connection mainboard of NMOS tube Q2, the grid of NMOS tube Q2 connects
Meet the drain electrode of PMOS tube Q1, the input terminal (M/G pin) of the drain electrode connection earphone interface of NMOS tube (the 4th NMOS tube) Q3, NMOS
The source electrode of the drain electrode of grid connection PMOS tube Q4 (the second PMOS tube) of pipe Q3, NMOS tube Q3 connects codec IC (MIC module
31) HPH_REF pin (reference voltage end);The MIC_in pin (input terminal) of the source electrode connection codec IC of PMOS tube Q4,
The drain electrode of PMOS tube Q4 is connected to the G/M signal pin (input terminal) of earphone interface 33, resistance R2 (second resistance) and capacitor C2
(the second capacitor) form series circuit, between resistance R2 and capacitor C2 device connected position connection PMOS tube Q4 grid with
The drain electrode of NMOS tube (third NMOS tube) Q5, the earth signal of the source electrode connection mainboard of NMOS tube Q5, the grid connection of NMOS tube Q5
The drain electrode of PMOS tube Q4, the G/M pin of the drain electrode connection earphone interface 33 of NMOS tube (the second NMOS tube) Q6, the grid of NMOS tube Q6
Pole connects the drain electrode of PMOS tube Q1, the HPH_REF pin (reference voltage end) of the source electrode connection codec IC of NMOS tube Q6.
HS_L, HS_R of Codec IC is separately connected left and right acoustic channels L, R of earphone interface, the HS_DET connection earphone interface of Codec IC
Test side (end DET, for plugging headset detection).
The working principle of this earphone compatible circuit is as follows:
When the earphone for having American Standard is inserted into earphone interface 33, i.e. the pin of the earphone of insertion earphone interface input terminal is: M/G
Pin, i.e., the flow direction of electric current in earphone are as follows: MIC to ground.Due to the end DET of the HS_DET connection earphone interface of Codec IC, when
When having detected earphone insertion, Codec IC control Mic_bias is powered on, and voltage is from 0V liter on the Mic_in pin of Codec IC
To Vmic_in, Vmic_in gradually passes through R1 and charges to C1 in the process, and PMOS tube Q1 grid voltage slowly increases, and PMOS
The source electrode rate of rise of pipe Q1 is faster than gate boost speed, so voltage rises to the process of Vmic_in from 0V on Mic_in pin
Middle PMOS tube Q1 is just begun to turn on, its drain voltage starts to increase after PMOS tube Q1 is begun to turn on, when the drain electrode electricity of PMOS tube Q1
After pressure reaches the cut-in voltage VGS (TH) of NMOS tube Q2, Q6, NMOS tube Q2, Q6 is begun to turn on, after NMOS tube Q2 is begun to turn on
The grid voltage of PMOS tube Q1 is begun to decline, so that PMOS tube Q1 is fully on, its drain voltage after PMOS tube Q1 is fully on
It increases, and then keeps NMOS tube Q6 fully on.
Meanwhile when on Mic_in pin voltage from 0V rise to Vmic_in during this, Vmic_in voltage gradually passes through R2
It charges to C2, PMOS tube Q4 grid voltage slowly increases, and the source electrode rate of rise of PMOS tube Q4 is faster than gate boost speed, institute
With voltage on Mic_in pin from 0V rise to Vmic_in during PMOS tube Q4 just begin to turn on, therefore the drain electrode of PMOS tube Q4
Voltage also starts to increase, but since the drain electrode connection of PMOS tube Q4 is the G-signal (ground) of American Standard earphone, therefore its drain voltage quilt
Be pulled in 0.2V hereinafter, and after R2 is fully charged to C2, PMOS tube Q4 source voltage terminal and grid voltage are about the same, therefore PMOS
Pipe Q4 cut-off.
At this point, current direction is as indicated by thick solid lines shown in fig. 5 since NMOS tube Q6 is fully on and PMOS tube Q4 ends.
HPH_REF pin, the HPH_REF pipe of Codec IC are transported to from NMOS tube Q6 outflow at this point, having voltage signal (reference voltage)
When foot detects voltage, left and right acoustic channels L, R connection of itself HS_L pin, HS_R pin and earphone interface are triggered.At this point,
Left and right sound channels are started to work, to form the circuit of L channel, right channel, earth signal, MIC signal, current direction is such as Fig. 6
In heavy line shown in.
When the earphone for having national standard is inserted into earphone interface 33, i.e. the pin of the earphone of insertion earphone interface input terminal is: G/M
Pin, i.e., the flow direction of electric current in earphone are as follows: ground to MIC.Due to the end DET of the HS_DET connection earphone interface of Codec IC, when
When having detected earphone insertion, Codec IC control Mic_bias is powered on, and voltage is from 0V liter on the Mic_in pin of Codec IC
To Vmic_in, Vmic_in gradually passes through R2 and charges to C2 in the process, and PMOS tube Q4 grid voltage slowly increases, and PMOS
The source electrode rate of rise of pipe Q4 is faster than gate boost speed, so voltage rises to the process of Vmic_in from 0V on Mic_in pin
Middle PMOS tube Q4 is just begun to turn on, its drain voltage starts to increase after PMOS tube Q4 is begun to turn on, when the drain electrode electricity of PMOS tube Q4
After pressure reaches the cut-in voltage VGS (TH) of NMOS tube Q3, Q5, NMOS tube Q3, Q5 is begun to turn on, after NMOS tube Q5 is begun to turn on
The grid voltage of PMOS tube Q4 is begun to decline, so that PMOS tube Q4 is fully on, its drain voltage after PMOS tube Q4 is fully on
It increases, and then keeps NMOS tube Q3 fully on.
Meanwhile when on Mic_in pin voltage from 0V rise to Vmic_in during this, Vmic_in voltage gradually passes through R1
It charges to C1, PMOS tube Q1 grid voltage slowly increases, and the source electrode rate of rise of PMOS tube Q1 is faster than gate boost speed, institute
With voltage on Mic_in pin from 0V rise to Vmic_in during PMOS tube Q1 just begin to turn on, therefore the drain electrode of PMOS tube Q1
Voltage also starts to increase, but since the drain electrode connection of PMOS tube Q1 is the G-signal (ground) of state's earphone, therefore its drain voltage is drawn
To in 0.2V hereinafter, and after R1 is fully charged to C1, PMOS tube Q1 source voltage terminal and grid voltage are about the same, therefore PMOS tube
Q1 cut-off.
At this point, current direction is as shown in the heavy line in Fig. 7 since NMOS tube Q3 is fully on and PMOS tube Q1 ends.
HPH_REF pin, the HPH_REF pipe of Codec IC are transported to from NMOS tube Q3 outflow at this point, having voltage signal (reference voltage)
When foot detects voltage, left and right acoustic channels L, R connection of itself HS_L pin, HS_R pin and earphone interface are triggered.At this point,
Left and right sound channels are started to work, to form the circuit of L channel, right channel, earth signal, MIC signal, current direction is such as Fig. 8
In heavy line shown in.
It should be noted that needing to guarantee the unlatching electricity that earphone MIC cathode voltage Vmic is greater than NMOS tube Q2, Q6 in type selecting
It presses VGS (TH), therefore NMOS tube Q2, Q3, Q4, Q5 should select VGS (TH) more appropriate between 0.4~0.6V, and it leads completely
The pressure that is powered is small as far as possible.It is more appropriate between -0.6V to -0.4V that same PMOS tube Q1, Q6, which should select VGS (TH), and it is completely
Conducting voltage is small as far as possible.
The earphone compatible circuit of the embodiment of the present invention is controlled by designing two current directions in parallel in the control module
Circuit, so that thering is voltage signal to export to MIC regardless of the standard of the earphone of insertion earphone interface is American Standard or national standard
The reference voltage end of module, so that left and right acoustic channels L, R of the HS_L pin of MIC module, HS_R pin and earphone interface connect
It is logical, and then form the circuit of L channel, right channel, earth signal, MIC signal, or formed L channel, right channel, MIC signal,
The compatibility to different earphone standards is realized in the circuit of signal, promotes user experience.
It is understood that the earphone compatible circuit 300 of the embodiment of the present invention, can be applied to mobile terminal, to make
American Standard earphone or national standard earphone can be matched by obtaining the mobile terminal.Certainly, which can also be with the earphone of various criterion
Form an electronic system.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of earphone compatible circuit, which is characterized in that the compatible circuit includes:
MIC module, control module and earphone interface;
The test side of the MIC module is connected with the test side of the earphone interface, the input terminal of the MIC module and the control
The input terminal of molding block is connected, for when having detected that earphone is inserted into the earphone interface, the input of Xiang Suoshu control module to be electric
Press signal;
The control terminal of the control module is connected with the input terminal of the earphone interface, the output end of the control module with it is described
The reference voltage end of MIC module is connected, and the control module is used to be controlled described in flowing into according to the voltage signal received
The current direction of earphone interface, and output reference voltage is to the MIC module;Wherein, the control module includes two parallel connections
Current direction control circuit;
The MIC module is also used to when detecting the reference voltage, triggers the start-up operation of itself left and right sound channels.
2. earphone compatible circuit as described in claim 1, which is characterized in that the control module includes:
In parallel first flows to control circuit and second and flows to control circuit;Described first flows to the input terminal of control circuit and institute
The input terminal that second flows to control circuit is stated to be connected;Described first flows to the control terminal of control circuit and second traffic organising
The control terminal of circuit is connected;The output end phase that described first output end for flowing to control circuit flows to control circuit with described second
Even;
When the MIC module to the control module input the voltage signal when, described first flow to control circuit conducting and
Described second flow to control circuit cut-off, with control it is first-class to conducting and second flow direction end and export the reference voltage extremely
The MIC module;Or described second flow to control circuit conducting and first flow to control circuit cut-off, to control second guide
Logical and the first flow direction cut-off, and the reference voltage is exported to the MIC module.
3. earphone compatible circuit as claimed in claim 2, which is characterized in that it is described first flow direction current direction be from ground to
MIC;The current direction of second flow direction is from MIC to ground.
4. earphone compatible circuit as claimed in claim 3, which is characterized in that described first to flow to control circuit include: first
Resistance, first capacitor, the first PMOS tube, the first NMOS tube and the second NMOS tube;
Wherein, the input terminal that one end of the first resistor flows to control circuit as described first, respectively with the MIC module
Input terminal, first PMOS tube source electrode be connected, the other end of the first resistor is separately connected the first capacitor
The drain electrode of one end, the grid of first PMOS tube and first NMOS tube, the other end ground connection of the first capacitor;
The grid of first PMOS tube connects the drain electrode of first NMOS tube, and the drain electrode of first PMOS tube connects simultaneously
The input terminal of the grid of first NMOS tube, the grid of the second NMOS tube and the earphone interface;First NMOS tube
Source electrode ground connection;
The grid of second NMOS tube connects the grid of first NMOS tube, the input terminal of the earphone interface, and described
The drain electrode of two NMOS tubes connects the input terminal of the earphone interface;The source electrode of second NMOS tube is as the first flow direction control
The output end of circuit processed connects the reference voltage end of the MIC module.
5. earphone compatible circuit as claimed in claim 3, which is characterized in that described second to flow to control circuit include: second
Resistance, the second capacitor, the second PMOS tube, third NMOS tube and the 4th NMOS tube;
Wherein, the input terminal that one end of the second resistance flows to control circuit as described second, respectively with the MIC module
Input terminal, second PMOS tube source electrode be connected, the other end of the second resistance is separately connected second capacitor
The drain electrode of one end, the grid of second PMOS tube and the third NMOS tube, the other end ground connection of second capacitor;
The grid of second PMOS tube connects the drain electrode of the third NMOS tube, and the drain electrode of second PMOS tube connects simultaneously
Grid, the grid of the 4th NMOS tube and the input terminal of the earphone interface of the third NMOS tube;The third NMOS tube
Source electrode ground connection;
The grid of 4th NMOS tube connects the grid of the third NMOS tube, the input terminal of the earphone interface, and described
The drain electrode of four NMOS tubes connects the input terminal of the earphone interface;The source electrode of 4th NMOS tube is as the first flow direction control
The output end of circuit processed connects the reference voltage end of the MIC module.
6. earphone compatible circuit as described in claim 1, which is characterized in that the MIC module further include: L channel control terminal
With right channel control terminal;
The L channel control terminal is connect with the left channel interface of the earphone interface, and earphone described in the right channel control terminal connects
The left channel interface connection of mouth.
7. earphone compatible circuit as described in claim 1, which is characterized in that the MIC module further include: biased electrical pressure side,
And 3rd resistor;
One end of the 3rd resistor connects the biased electrical pressure side, and the other end connects the input terminal of the MIC module, Yi Jisuo
State the input terminal of control module.
8. earphone compatible circuit as claimed in claim 6, which is characterized in that the MIC module further include: the 4th resistance and
Five resistance;
One end of 4th resistance is separately connected the left channel interface of the L channel control terminal and the earphone interface, another
End ground connection;
One end of 5th resistance is separately connected the right channel interface of the right channel control terminal and the earphone interface, another
End ground connection.
9. a kind of mobile terminal, which is characterized in that including the earphone compatible circuit as described in claim 1 to 8.
10. a kind of electronic system, which is characterized in that including mobile terminal as claimed in claim 9 and earphone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710727906.7A CN107396226B (en) | 2017-08-23 | 2017-08-23 | A kind of earphone compatible circuit, mobile terminal and electronic system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710727906.7A CN107396226B (en) | 2017-08-23 | 2017-08-23 | A kind of earphone compatible circuit, mobile terminal and electronic system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107396226A CN107396226A (en) | 2017-11-24 |
CN107396226B true CN107396226B (en) | 2019-07-09 |
Family
ID=60354242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710727906.7A Active CN107396226B (en) | 2017-08-23 | 2017-08-23 | A kind of earphone compatible circuit, mobile terminal and electronic system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396226B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966085B (en) * | 2018-06-28 | 2021-03-26 | 努比亚技术有限公司 | Self-adaptive audio circuit and mobile terminal |
CN110572732B (en) * | 2019-07-19 | 2021-08-03 | 南昌华勤电子科技有限公司 | Earphone standard and impedance measuring device and method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404665B (en) * | 2010-09-07 | 2016-12-07 | 中兴通讯股份有限公司 | A kind of earphone interface adaptive circuit |
CN202310052U (en) * | 2011-11-10 | 2012-07-04 | 中兴通讯股份有限公司 | Earphone socket circuit |
CN103167368B (en) * | 2012-02-07 | 2015-12-30 | 吴志勇 | A kind of earphone compatible circuit and compatible with earphone |
CN103260108A (en) * | 2012-02-20 | 2013-08-21 | 深圳富泰宏精密工业有限公司 | Electronic device and method for achieving earphone compatibility |
US9854355B2 (en) * | 2012-06-10 | 2017-12-26 | Apple Inc. | Grounding circuit for alternate audio plug designs |
CN102882090B (en) * | 2012-10-15 | 2015-05-13 | 信雅达***工程股份有限公司 | Device compatible with earphone interfaces |
TWM524033U (en) * | 2015-12-11 | 2016-06-11 | Nueteq Technology Inc | AV switch featuring automatic microphone jack determining function |
-
2017
- 2017-08-23 CN CN201710727906.7A patent/CN107396226B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107396226A (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762876A (en) | A kind of input method switching method, mobile terminal and computer storage media | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN109032466A (en) | Long screenshot method, mobile terminal and storage medium based on double screen | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN108966085A (en) | adaptive audio circuit and mobile terminal | |
CN109901980A (en) | Serial ports log grabs circuit, method, terminal and computer readable storage medium | |
CN108874708A (en) | OTG equipment, terminal charging method, mobile terminal and computer readable storage medium | |
CN110096375A (en) | A kind of Application sharing data method, device and computer readable storage medium | |
CN109462700A (en) | A kind of call method, mobile terminal and computer readable storage medium | |
CN109729475A (en) | Charging bluetooth earphone method, circuit, terminal and computer readable storage medium | |
CN109428923A (en) | Information push method, server, terminal and computer readable storage medium | |
CN107396226B (en) | A kind of earphone compatible circuit, mobile terminal and electronic system | |
CN109979473A (en) | A kind of call sound processing method and device, terminal device | |
CN109669512A (en) | A kind of display control method, Folding screen terminal and computer readable storage medium | |
CN108009116A (en) | MicroUSB interface circuits and its mobile terminal | |
CN108881542A (en) | Mobile terminal call method, mobile terminal and computer readable storage medium | |
CN110174934A (en) | A kind of power button device and mobile terminal | |
CN108429957A (en) | TypeC earphones switching cable and wired earphone TypeC connection systems | |
CN109710207A (en) | Method, dual-screen mobile terminal and the storage medium of dual-screen mobile terminal preview picture | |
CN109714691A (en) | A kind of acoustic signal processing method of mobile terminal, mobile terminal and storage medium | |
CN109358796A (en) | A kind of game visual field sharing method, terminal and readable storage medium storing program for executing | |
CN109684020A (en) | A kind of method for switching theme, equipment and computer readable storage medium | |
CN109462829A (en) | A kind of call transfer method, equipment and computer readable storage medium | |
CN109714460A (en) | Press key expansion device, terminal, key expansion method and storage medium | |
CN108650404A (en) | Port start-up circuit, 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 |