CN203883996U - An earphone detection circuit used for a mobile terminal - Google Patents
An earphone detection circuit used for a mobile terminal Download PDFInfo
- Publication number
- CN203883996U CN203883996U CN201420292053.0U CN201420292053U CN203883996U CN 203883996 U CN203883996 U CN 203883996U CN 201420292053 U CN201420292053 U CN 201420292053U CN 203883996 U CN203883996 U CN 203883996U
- Authority
- CN
- China
- Prior art keywords
- earphone
- mobile terminal
- analog switch
- detection circuit
- base
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The utility model provides an earphone detection circuit used for a mobile terminal. The earphone detection circuit used for the mobile terminal includes a CPU arranged in a mobile terminal, an earphone interface circuit of the mobile terminal, an earphone seat, an earphone button arranged on the bottom portion of the earphone seat and four analogue switches. One end of the earphone button is grounded. The other end of the earphone button is connected with a break detection end of the CPU arranged in the mobile terminal. The input end of each analogue switch is in connection with signal control output ends of the CPU arranged in the mobile terminal. The output end of each analog switch is in connection with the earphone interface circuit of the mobile terminal. Common ends of the four analogue switches are respectively connected with the earphone seat. The earphone seat is connected with the common ends of the four analogue switches. According to the earphone detection circuit used for the mobile terminal of the utility model, the earphone button is hidden to the bottom portion of the earphone seat and the plurality of analog switches are arranged so as to control on-off of circuits related to a process of the insertion of the earphone in the mobile terminal; and influences to detection signals by unexpected electrical contact in an earphone insertion and pulling process are avoided.
Description
Technical field
The utility model relates to mobile terminal testing circuit, is specifically related to a kind of earphone detection circuit for mobile terminal.
Background technology
Along with the development of modern technologies, become requisite communication in people's life, working equipment as mobile phone, the panel computer of mobile terminal.Earphone is as the requisite part of mobile terminal, and when earphone inserts, under normal circumstances, mobile phone can detect the action of plugged earphone and open audio-frequency module.But, in the time that user carries out some improper operations as slow plugged earphone, can just there will be and earphone cannot be detected, the phenomenon that causes earphone normally not use.
At present in the industry more common earphone detecting method be by by headset detection signal by moving 1.8V high level on pull-up resistor to, audio frequency L channel is pulled down to ground connection by resistance.Make in the time that earphone inserts, headset plug first segment can be communicated with or disconnect L channel and detection signal.When general connection, detection signal is due to electric resistance partial pressure, and level is pulled down to a low level that approaches 0V; When disconnection, detection signal level is pulled to 1.8V.Whether mobile phone inserts by monitoring level Test earphone.Relatively early time, detection signal is generally received on the GPIO mouth of CPU.Also there are at present a lot of detection of platform functions to be integrated into audio coding decoding chip internal, do not need to distribute GPIO from CPU end again.Above-mentioned detection method, in the process of inserting, can run into the situation that can't detect earphone at earphone.Main cause is during insertion, and the becket on receiver J-Horner can repeatedly electrical contact occur with earphone base, causes producing unexpected level and change on detection signal, and then affected headset detection mechanism, does the judgement making mistake.
Utility model content
The purpose of this utility model is to provide a kind of earphone detection circuit for mobile terminal, by increasing earphone keystroke in earphone base bottom, between earphone base, the built-in CPU of mobile terminal and external headphones testing circuit, be provided with multiple analog switches the head circuit of earphone base is carried out to break-make control, before earphone does not insert completely, open circuit connects, and avoids changing because not controlled electrical contact produces unknowable level on detection signal during insertion.After earphone inserts completely, be communicated with head circuit, ensure that detection signal stably changes and keeps level, insert detection thereby complete earphone accurately.
In order to achieve the above object, the utility model is achieved through the following technical solutions:
For an earphone detection circuit for mobile terminal, comprise: the earphone interface circuit of the built-in CPU of mobile terminal, mobile terminal, be characterized in, this testing circuit also comprises:
Earphone keystroke, above-mentioned earphone keystroke one end ground connection, the other end of this earphone keystroke is connected with the interruption test side of the above-mentioned built-in CPU of mobile terminal;
Four analog switches, the input of above-mentioned each analog switch is connected with the signal controlling output of the built-in CPU of this mobile terminal, and the output of each analog switch is connected with the earphone interface circuit of above-mentioned mobile terminal; The common port of four above-mentioned analog switches is connected with above-mentioned earphone base respectively.
The above-mentioned earphone detection circuit for mobile terminal, is characterized in, this testing circuit also comprises: earphone base, above-mentioned earphone keystroke is arranged on this earphone base inner bottom part.
The above-mentioned earphone detection circuit for mobile terminal, is characterized in, above-mentioned earphone base comprises:
Microphone signal end, the common port of the analog switch above-mentioned with is connected;
Earphone right-channel signals end, the common port of the analog switch above-mentioned with another is connected;
The common port of earphone L channel and the detection signal end analog switch above-mentioned with all the other two is connected;
The earth terminal ground connection of earphone base.
The above-mentioned earphone detection circuit for mobile terminal, is characterized in, the power end of above-mentioned each analog switch is connected with working power, the earth terminal ground connection of each analog switch; In the time of the input input low level of analog switch, the common port of analog switch and empty foot conducting; In the time of the input input high level of analog switch, the common port of analog switch and output conducting.
A kind of mobile terminal, is characterized in, comprises above-mentioned earphone detection circuit.
The utility model compared with prior art has the following advantages:
A kind of earphone detection circuit for mobile terminal that the utility model provides, earphone keystroke is hidden at the bottom of earphone base, and multiple analog switches are set, earphone is inserted to relevant connecting and disconnecting of the circuit in mobile terminal process and control, avoid the impact of less desirable electrical contact on detection signal in headset plugging process.Meanwhile, the utility model can be avoided occurring that earphone inserts the problem that can not be detected because there is not expected level on detection signal.
Brief description of the drawings
Fig. 1 is the integrated circuit figure of a kind of earphone detection circuit for mobile terminal of the utility model.
Fig. 2 is the embodiment schematic diagram of a kind of earphone detection circuit for mobile terminal of the utility model.
Embodiment
Below in conjunction with accompanying drawing, by describing a preferably specific embodiment in detail, the utility model is further elaborated.
As shown in Figure 1, a kind of earphone detection circuit for mobile terminal, comprises: the earphone interface circuit 200 of the built-in CPU100 of mobile terminal, mobile terminal, earphone keystroke 300, four analog switches 400 and earphone bases 500.
As shown in Figure 2, earphone keystroke 300, is arranged on earphone base 500 bottoms.
Four analog switches 400 are respectively used to control the break-make of L channel, R channel, Mike's signal and the detection signal of earphone.
Earphone base 500 is for fixed outer earphone, and makes the earphone interface circuit 200 of external headphones and mobile terminal inside form electrical connection.
The earphone interface circuit 200 of mobile terminal is for after being connected external headphones by the earphone interface circuit 200 of this mobile terminal and the internal audio frequency module of mobile terminal, the audio signal of final mobile terminal receive, can normally work earphone.
In the present embodiment, adopt NO type earphone base as earphone base 500.The analog switch that employing model is TS5A12301E is as the analog switch 400 in the utility model.Microphone signal end, earphone right-channel signals end, earphone L channel and the detection signal end of earphone base 500 and earth terminal are respectively M end, R end, L end and the G end of NO type earphone base 500.
As shown in Figure 1, earphone keystroke 300 one end ground connection, the other end is connected with the interruption test side of the built-in CPU100 of mobile terminal.The IN end of each analog switch 400 is connected with the signal controlling output of the built-in CPU100 of this mobile terminal, and the NO end of each analog switch 400 is connected with the earphone interface circuit 200 of mobile terminal; The COM end of four analog switches 400 is connected with earphone base 500 respectively.Earphone base 500 is connected with the COM end of four analog switches 400.
As shown in Figure 1, the microphone signal end of earphone base 500 and the COM of an analog switch 400 end are connected; The earphone right-channel signals end of earphone base 500 is connected with the COM of another analog switch 400 end; The earphone L channel of earphone base 500 and detection signal end are connected with the COM end of all the other two analog switches 400; The earth terminal ground connection of earphone base 500.
Wherein, the earphone L channel of earphone base 500 and detection signal end are connected with the COM end of two analog switches 400 of L channel, the detection signal of controlling earphone respectively.
As shown in Figure 1, the V+ end of each analog switch 400 is connected with working power, the GND end ground connection of each analog switch 400; In the time of the IN of analog switch 400 end input low level, the COM end of analog switch 400 and the conducting of NC end; In the time of the IN of analog switch 400 end input high level, the COM end of analog switch 400 and the conducting of NO end.
A kind of earphone detection circuit for mobile terminal that the utility model provides, specific works principle is as follows:
Earphone keystroke 300 one end ground connection, earphone keystroke 300 other ends are connected with the GPIO_A end of the built-in CPU100 of mobile terminal; This GPIO_A end is for interrupting test side.
The IN end of each analog switch 400 is connected with the GPIO_B end of the built-in CPU100 of this mobile terminal, and the NO end of each analog switch 400 is connected with the earphone interface circuit 200 of mobile terminal; The COM end of four analog switches 400 is connected with earphone base 500 respectively.Earphone base 500 is connected with the COM end of four analog switches 400; This GPIO_B end is signal controlling output.
In the time not having earphone to insert or earphone there is no complete plugged earphone seat 500, earphone keystroke 300 is not pressed, GPIO_A end by move 1.8V high level to, GPIO_B holds output low level, the IN of four analog switches 400 end input low level respectively, the COM end and the conducting of NC end that make each analog switch 400, earphone base 500 disconnects with the earphone interface circuit 200 of mobile terminal; Earphone can not be communicated with the audio-frequency module of mobile terminal inside, i.e. earphone cisco unity malfunction.
In the time of earphone plugged earphone seat 500, only have in the time of the complete plugged earphone of earphone seat 500, earphone keystroke 300 just can be pressed.Now, the GPIO_A end input low level of the built-in CPU100 of mobile terminal, GPIO_B end output high level, the IN of four analog switches 400 end input high level respectively, make the COM end and the conducting of NO end of each analog switch 400, thereby earphone base 500 is communicated with the earphone interface circuit 200 of mobile terminal; After earphone base 500 is communicated with the earphone interface circuit 200 of mobile terminal, earphone is communicated with the audio-frequency module of mobile terminal inside, and earphone can obtain the audio signal of the audio-frequency module of mobile terminal inside.
Although content of the present utility model has been done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to restriction of the present utility model.Read after foregoing those skilled in the art, for multiple amendment of the present utility model and substitute will be all apparent.Therefore, protection range of the present utility model should be limited to the appended claims.
Claims (5)
1. for an earphone detection circuit for mobile terminal, comprise: the built-in CPU(100 of mobile terminal), the earphone interface circuit (200) of mobile terminal, it is characterized in that, this testing circuit also comprises:
Earphone keystroke (300), described earphone keystroke (300) one end ground connection, the other end of this earphone keystroke (300) and the described built-in CPU(100 of mobile terminal) interruption test side be connected;
Four analog switches (400), the input of described each analog switch (400) and the built-in CPU(100 of this mobile terminal) signal controlling output be connected, the output of each analog switch (400) is connected with the earphone interface circuit (200) of described mobile terminal; The common port of described four analog switches (400) is connected with described earphone base (500) respectively.
2. the earphone detection circuit for mobile terminal as claimed in claim 1, is characterized in that, this testing circuit also comprises: earphone base (500), described earphone keystroke (300) is arranged on this earphone base (500) inner bottom part.
3. the earphone detection circuit for mobile terminal as claimed in claim 2, is characterized in that, described earphone base (500) comprises:
Microphone signal end, is connected with the common port of the analog switch (400) described in;
Earphone right-channel signals end, is connected with the common port of the analog switch (400) described in another;
Earphone L channel and detection signal end are connected with the common port of the analog switch (400) described in all the other two;
The earth terminal ground connection of earphone base (500).
4. the earphone detection circuit for mobile terminal as claimed in claim 3, is characterized in that, the power end of described each analog switch (400) is connected with working power, the earth terminal ground connection of each analog switch (400); In the time of the input input low level of analog switch (400), the common port of analog switch (400) and empty foot conducting; In the time of the input input high level of analog switch (400), the common port of analog switch (400) and output conducting.
5. a mobile terminal, is characterized in that, comprises the earphone detection circuit as described in claim 1-4 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420292053.0U CN203883996U (en) | 2014-06-04 | 2014-06-04 | An earphone detection circuit used for a mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420292053.0U CN203883996U (en) | 2014-06-04 | 2014-06-04 | An earphone detection circuit used for a mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203883996U true CN203883996U (en) | 2014-10-15 |
Family
ID=51684454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420292053.0U Expired - Fee Related CN203883996U (en) | 2014-06-04 | 2014-06-04 | An earphone detection circuit used for a mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203883996U (en) |
-
2014
- 2014-06-04 CN CN201420292053.0U patent/CN203883996U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101951421B (en) | Expansion use method for cell phone earphone interface | |
CN203466944U (en) | Self configuration device | |
CN101841586B (en) | Method for expanding earphone interface of mobile phone into serial communication interface | |
CN102143262B (en) | Electronic device and method for switching audio input channel thereof | |
CN202634659U (en) | Earphone interface self-adaptive circuit and mobile terminal | |
EP2863652B1 (en) | Audio interface self-adaptation device | |
CN101841753A (en) | Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire | |
CN204836506U (en) | Headset patch cord | |
EP2806662B1 (en) | Apparatus for detecting the type of an audio interface | |
CN104035357A (en) | Headset, charging and OTG equipment circuit design based on USB socket | |
CN205071294U (en) | Headphone structure circuit, earphone, audio output device and display device | |
CN102480563B (en) | Control method and device in process of inserting earphone into earphone socket | |
CN103118191A (en) | Using control method and mobile terminal for iPhone wire control earphone | |
CN203933930U (en) | Earphone interface circuit and portable electron device | |
CN105635902A (en) | Audio interface compatible with digital audio device and implementation method | |
CN101990144A (en) | Double earphone adapter, main board and method for detecting double earphones | |
CN103813231A (en) | Method, intelligent device, system and plug for judging access signals | |
CN102710821B (en) | Hand microphone for interphone and interphone | |
CN203691642U (en) | Mobile terminal provided with multiplex interface | |
KR20120102810A (en) | Earphone pulling and plugging detection circuit | |
CN203883996U (en) | An earphone detection circuit used for a mobile terminal | |
CN202094975U (en) | Male joint low level detection circuit for earphone of cell phone | |
CN101917659A (en) | Detection device, method and mobile terminal of earphone circuit | |
CN214045978U (en) | Earphone socket circuit and electronic equipment | |
CN103974169B (en) | Apparatus for processing audio and audio-frequency processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141015 Termination date: 20190604 |