[go: up one dir, main page]

CN106412760B - Earphone compatible device - Google Patents

Earphone compatible device Download PDF

Info

Publication number
CN106412760B
CN106412760B CN201510458748.0A CN201510458748A CN106412760B CN 106412760 B CN106412760 B CN 106412760B CN 201510458748 A CN201510458748 A CN 201510458748A CN 106412760 B CN106412760 B CN 106412760B
Authority
CN
China
Prior art keywords
level signal
earphone
circuit
identification circuit
connect
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510458748.0A
Other languages
Chinese (zh)
Other versions
CN106412760A (en
Inventor
莫晓光
熊兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TD Tech Ltd
Original Assignee
TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TD Tech Ltd filed Critical TD Tech Ltd
Priority to CN201510458748.0A priority Critical patent/CN106412760B/en
Publication of CN106412760A publication Critical patent/CN106412760A/en
Application granted granted Critical
Publication of CN106412760B publication Critical patent/CN106412760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stereophonic Arrangements (AREA)
  • Headphones And Earphones (AREA)

Abstract

The embodiment of the present invention provides a kind of earphone compatible device, comprising: earphone jack, identification circuit and processor;Earphone jack includes detection pin, and the detection pin with the right channel area of stereophone for connecting, alternatively, for connecting with the area PTT of push to speak formula PTT earphone;The detection pin is connect with the identification circuit;The processor is connect with the identification circuit;The identification circuit, for the output detection level signal after earphone is inserted into the earphone jack;The processor, for obtaining the detection level signal, and when the detection level signal is the first level signal, the identification circuit is switched to and the matched circuit of PTT earphone, and when the detection level signal is second electrical level signal, by the identification circuit be switched to the matched circuit of stereophone, realize the identification and compatibility of earphone.

Description

Earphone compatible device
Technical field
The present invention relates to electronic equipment more particularly to a kind of earphone compatible devices.
Background technique
With popularizing for electronic equipment, more and more users have held miscellaneous electronic equipment, such as each assonance Frequency player, video player, and the terminals such as audio, the mobile phone of video playback capability, tablet computer, notebook are had both, this A little electronic equipments are equipped with the attachmentes such as earphone, and after inserting an earphone into the earphone jack of equipment, user can be appreciated by earphone The audio-frequency unit of audio and video.
Currently, common earphone has stereophone, and such as: 3.5mm earphone, referring to Fig.1, stereophone are four-part form Earphone successively includes: L channel area 01, right channel area 02, access area 03 and Mike area (mic) 04.There are also one kind i.e. by i.e. Say (Push to talk, abbreviation PTT) earphone, referring to Fig.1, it successively includes: session which, which is also four-section type headset, (speak) area 11, the area PTT 12, access area 13 and Mike area 14.
In the prior art, the corresponding headset type of an electronic equipment is unique, after being replaced with other kinds of earphone It is not available then, earphone compatible is very poor.
Summary of the invention
The present invention provides a kind of earphone compatible device, and for solving, electronic equipment earphone compatible in the prior art is poor to be asked Topic.
Earphone compatible device provided by the invention, comprising: earphone jack, identification circuit and processor;
The earphone jack includes detection pin, and the detection pin is used to connect with the right channel area of stereophone, Alternatively, for being connect with the area PTT of push to speak formula PTT earphone;
The detection pin is connect with the identification circuit;The processor is connect with the identification circuit;
The identification circuit, for the output detection level signal after earphone is inserted into the earphone jack;
The processor is the first level letter for obtaining the detection level signal, and in the detection level signal Number when, by the identification circuit be switched to the matched circuit of PTT earphone, and the detection level signal be second electrical level When signal, the identification circuit is switched to and the matched circuit of stereophone.
As described above, the identification circuit includes: switching switch and comparator;
It is described switching switch input terminal with it is described detection pin output end connect, it is described switching switch output end and The electrode input end of the comparator connects;
After earphone is inserted into the earphone jack, the processor control switching is closed the switch, and the comparator is used for Export the detection level signal.
As described above, the identification circuit further include: driving circuit;
The driving circuit is connect with the input terminal of the switching switch, and the driving circuit and the detection pin connect It connects;
After earphone is inserted into the earphone jack, the driving circuit is in high-impedance state.
As described above, the identification circuit further include: the first filter circuit;
The input terminal of the switching switch is connect with the input terminal of first filter circuit, first filter circuit Output end ground connection.
As described above, the identification circuit further include: the second filter circuit;
The input terminal of second filter circuit is connect with the output end of the switching switch, second filter circuit Output end ground connection.
As described above, the processor, is used for when the detection level signal is the first level signal, by the identification Circuit be switched to the matched circuit of PTT earphone, and the detection level signal be second electrical level signal when, by the knowledge Other circuit be switched to the matched circuit of stereophone, specifically: the detection level signal be the first level signal when, It is closed the switching switch, when the detection level signal is second electrical level signal, disconnects the switching switch;
Wherein, first level signal is high level signal, and the second electrical level signal is low level signal.
Earphone compatible device provided by the invention, including earphone jack, identification circuit and processor, wherein identification circuit exists Earphone is inserted into output detection level signal after earphone jack, and processor is when detecting level signal is the first level signal, identification The earphone being inserted into out is PTT earphone, and above-mentioned identification circuit is switched to and is being detected with the matched circuit of PTT earphone, processor When level signal is second electrical level signal, identify that the earphone of insertion is stereophone, and above-mentioned identification circuit is switched to With the matched circuit of stereophone, to realize the identification and compatibility of stereophone and PTT earphone.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of stereophone and PTT earphone;
Fig. 2 is the structural schematic diagram of earphone compatible device embodiment one provided by the invention;
Fig. 3 is the structural schematic diagram of earphone compatible device embodiment two provided by the invention;
Fig. 4 is the structural schematic diagram of earphone compatible device embodiment three provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 2 is the structural schematic diagram of earphone compatible device embodiment one provided by the invention, which can integrate in each The terminal device, such as computer, laptop, mobile phone, tablet computer etc. of the pluggable earphone of kind.As shown in Fig. 2, the device It include: earphone jack 101, identification circuit 102 and processor 103, wherein
Earphone jack 101 includes detection pin 100, and the detection pin 100 is for the right channel area with stereophone Connection, alternatively, for being connect with the area PTT of PTT earphone.As shown in Figure 1, Two Areas is right to stereophone from inside to outside Sound channel region, Two Areas is the region PTT to PTT earphone from inside to outside, i.e. whether stereophone or PTT earphone, is inserted It is all that Two Areas is connect with detection pin 100 after entering above-mentioned earphone jack.
Above-mentioned detection pin 100 is connect with above-mentioned identification circuit 102, above-mentioned processor 103 also with above-mentioned identification circuit 102 Connection.
Identification circuit 102, for the output detection level signal after earphone is inserted into above-mentioned earphone jack.
Processor 103 is the first level signal for obtaining above-mentioned detection level signal, and in above-mentioned detection level signal When, by above-mentioned identification circuit 102 be switched to the matched circuit of PTT earphone, and above-mentioned detection level signal be second electricity When ordinary mail, above-mentioned identification circuit 102 is switched to and the matched circuit of stereophone.
I.e. processor 103 identifies that the earphone of insertion is PTT earphone when detecting level signal is the first level signal, And above-mentioned identification circuit 102 is switched to and is detecting level signal with the matched circuit of PTT earphone, processor 103 as the second electricity When ordinary mail, identify that the earphone of insertion is stereophone, and above-mentioned identification circuit 102 is switched to and stereophone The circuit matched.To realize the compatibility of earphone.
Above-mentioned first level signal is different with second electrical level signal, and the two is all digital level, one of them is high level Signal, another is low level signal.
In the present embodiment, earphone compatible device includes earphone jack, identification circuit and processor, and wherein identification circuit is in ear The machine transplanting of rice enters output detection level signal after earphone jack, and processor is identified when detecting level signal is the first level signal The earphone of insertion is PTT earphone, and above-mentioned identification circuit is switched to and is detecting electricity with the matched circuit of PTT earphone, processor Ordinary mail number be second electrical level signal when, identify that the earphone of insertion is stereophone, and by above-mentioned identification circuit be switched to The matched circuit of stereophone, to realize the identification and compatibility of stereophone and PTT earphone.
Fig. 3 is the structural schematic diagram of earphone compatible device embodiment two provided by the invention, as shown in figure 3, above-mentioned identification Circuit 102 includes: switching switch 201 and comparator 203.
Specifically, the input terminal of above-mentioned switching switch 201 is connect with the output end of above-mentioned detection pin 100, above-mentioned switching The output end of switch 201 is connect with the electrode input end of above-mentioned comparator 203.
It should be noted that in the present embodiment, to detect the side that pin 100 inputs a signal into above-mentioned identification circuit 102 To for input direction, the input terminal and output end of each device are distinguished with this.
Above-mentioned comparator 203 is for exporting above-mentioned detection level signal.
Specifically, after earphone is inserted into the above-mentioned connection of earphone jack 101, processor 103 can control above-mentioned switching switch 201 and close It closes, so that comparator 203 can export detection level signal, processor 103 can judge be inserted into ear according to detection level signal The type of machine.
Referring to Fig. 3, in another embodiment, above-mentioned identification circuit 102 further include: driving circuit 204.
Driving circuit 204 is connected with the input terminal of above-mentioned switching switch 201, and above-mentioned driving circuit 204 and above-mentioned detection Pin 100 connects.After earphone is inserted into above-mentioned earphone jack 101, above-mentioned driving circuit 204 is in high-impedance state.
Referring to Fig. 3, in another embodiment, above-mentioned identification circuit 102 further include: the first filter circuit 202.
The input terminal of above-mentioned switching switch 201 is connect with the input terminal of the first filter circuit 202, the first filter circuit 202 Output end ground connection.As shown in figure 3, the first filter circuit 202 may include the capacitor of 100 nanofarad (nF).
In specific implementation process, during identifying headset type, switching switch 201 can be closed, if insertion is Stereophone has electric current and flows through earphone right channel area when switching the closure of switch 201, to generate noise, but increases After above-mentioned first filter circuit 202, the switching closure moment circuit of switch 201 can flow through the capacitor in the first filter circuit 202, It is equivalent to capacitor charging, and then is slowly increased the electric current for flowing through earphone right channel area, to effectively avoid noise, improve user Experience.
Referring to Fig. 3, in another embodiment, above-mentioned identification circuit 102 further include: the second filter circuit 205, second filtering The input terminal of circuit 205 is connect with the output end of switching switch 201, the output end ground connection of the second filter circuit 205.Specifically, The input terminal of second filter circuit 205 is located between switching switch 201 and comparator 203, can compare that will be input to The signal of 203 anode of device is filtered, to improve the accuracy of the detection level signal of subsequent output.
On the basis of the above embodiments, more specifically, above-mentioned processor 103, is first in above-mentioned detection level signal When level signal, by above-mentioned identification circuit 102 be switched to the matched circuit of PTT earphone, and in above-mentioned detection level signal When for second electrical level signal, by above-mentioned identification circuit 102 be switched to the matched circuit of stereophone, specifically: detecting When level signal is the first level signal, it is closed above-mentioned switching switch 201, when detecting level signal is second electrical level signal, Disconnect above-mentioned switching switch 201.I.e. when earphone is PTT earphone, it is closed above-mentioned switching switch 201, is stereo ear in earphone When machine, above-mentioned switching switch 201 is disconnected, realizes the compatibility of earphone.
Specifically, above-mentioned first level signal can be high level signal, and above-mentioned second electrical level signal is low level signal.
Fig. 4 is the structural schematic diagram of earphone compatible device embodiment three provided by the invention, and Fig. 4 is the electricity after earphone insertion Lu Tu, if insertion is PTT earphone, the area PTT of PTT earphone and detection pin 100 are connected, and the area PTT of PTT earphone includes electricity Resistance 301 and electronic switch 302, if insertion is stereophone, the right channel area 303 of stereophone and detection pin 100 connect.
During specific implementation, under original state, the above-mentioned default of switching switch 201 is in an off state, driving circuit 204 Default is in close state, that is, is in high-impedance state, is equivalent to form open circuit.The output end of switching switch 201 is also provided with input Voltage, the voltage can be 1.8V.
After earphone is inserted into earphone jack 101, processor 103 can control switching switch 201 and be closed, so that comparator 203 is defeated Level signal is detected out.
If insertion is PTT earphone, under original state, the PTT key of PTT earphone is not pressed, and is inserted into earphone jack Afterwards, circuit loop flows back into ground through overdrive circuit 204 from electronic switch 302, since driving circuit 204 is in high-impedance state, than It is in high voltage compared with 203 anode input of device, higher than the voltage of cathode input, therefore comparator 203 exports high level signal, PTT The area PTT of earphone is in invalid.The high level signal that processor is exported according to comparator 203, closure switching switch 201.Work as PTT After the PTT of earphone presses key pressing, i.e., electronic switch 302 is closed, and earphone portion is equivalent to be grounded with by resistance 301, the resistance 301 It can be 50 ohm, at this point, the voltage of 203 anode input of comparator is smaller, lower than the input voltage of cathode, therefore comparator is defeated Enter low level signal, the area PTT of PTT earphone is in effective.Switching switch 201 remains closed.
If insertion is stereophone, right channel area 303 is equivalent to resistance, generally 32 ohm, at this point, comparator The voltages of 203 anode inputs are smaller, lower than the input voltage of cathode, therefore comparator input low level signal.Processor according to The low level signal that comparator 203 exports disconnects switching switch 201.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (6)

1. a kind of earphone compatible device characterized by comprising earphone jack, identification circuit and processor;
The earphone jack includes detection pin, and the detection pin is used to connect with the right channel area of stereophone, alternatively, For being connect with the area PTT of push to speak formula PTT earphone;
The detection pin is connect with the identification circuit;The processor is connect with the identification circuit;
The identification circuit, for the output detection level signal after earphone is inserted into the earphone jack;
The processor, for obtaining the detection level signal, and when the detection level signal is the first level signal, By the identification circuit be switched to the matched circuit of PTT earphone, and the detection level signal be second electrical level signal When, the identification circuit is switched to and the matched circuit of stereophone;
Wherein, first level signal is different with the second electrical level signal, and the two is all digital level, one of them is height Level signal, another is low level signal.
2. earphone compatible device according to claim 1, which is characterized in that the identification circuit include: switching switch and Comparator;
It is described switching switch input terminal with it is described detection pin output end connect, it is described switch switch output end with it is described The electrode input end of comparator connects;
After earphone is inserted into the earphone jack, the processor control switching is closed the switch, and the comparator is for exporting The detection level signal.
3. earphone compatible device according to claim 2, which is characterized in that the identification circuit further include: driving circuit;
The driving circuit is connect with the input terminal of the switching switch, and the driving circuit is connect with the detection pin;
After earphone is inserted into the earphone jack, the driving circuit is in high-impedance state.
4. earphone compatible device according to claim 2, which is characterized in that the identification circuit further include: the first filtering Circuit;
The input terminal of the switching switch is connect with the input terminal of first filter circuit, the output of first filter circuit End ground connection.
5. earphone compatible device according to claim 2, which is characterized in that the identification circuit further include: the second filtering Circuit;
The input terminal of second filter circuit is connect with the output end of the switching switch, the output of second filter circuit End ground connection.
6. earphone compatible device according to claim 1-5, which is characterized in that the processor, in institute State detection level signal be the first level signal when, the identification circuit is switched to and the matched circuit of PTT earphone, Yi Ji The detection level signal be second electrical level signal when, by the identification circuit be switched to the matched circuit of stereophone, Specifically: when the detection level signal is the first level signal, closure switching switch is the in the detection level signal When two level signals, switching switch is disconnected;
Wherein, first level signal is high level signal, and the second electrical level signal is low level signal.
CN201510458748.0A 2015-07-30 2015-07-30 Earphone compatible device Active CN106412760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510458748.0A CN106412760B (en) 2015-07-30 2015-07-30 Earphone compatible device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510458748.0A CN106412760B (en) 2015-07-30 2015-07-30 Earphone compatible device

Publications (2)

Publication Number Publication Date
CN106412760A CN106412760A (en) 2017-02-15
CN106412760B true CN106412760B (en) 2019-02-01

Family

ID=58009192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510458748.0A Active CN106412760B (en) 2015-07-30 2015-07-30 Earphone compatible device

Country Status (1)

Country Link
CN (1) CN106412760B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200767B (en) * 2018-11-20 2022-06-03 成都鼎桥通信技术有限公司 Earphone detection method, earphone detection device, terminal and storage medium
CN111757202B (en) * 2020-06-22 2022-05-27 环鸿电子(昆山)有限公司 Earphone recognition device, sound playing device and earphone recognition method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI253831B (en) * 2003-12-11 2006-04-21 Mitac Int Corp A detecting device and method of a headset having the communication function
CN2819226Y (en) * 2005-07-22 2006-09-20 华为技术有限公司 Earphone inserted tester
CN201623821U (en) * 2010-01-29 2010-11-03 江辉 Wireless earphone of interphone
CN102143262A (en) * 2010-02-03 2011-08-03 深圳富泰宏精密工业有限公司 Electronic device and method for switching audio input channel thereof
CN102546869A (en) * 2012-01-06 2012-07-04 海能达通信股份有限公司 USB (Universal Serial Bus) interface multiplexing interphone and control method thereof
CN104272766A (en) * 2012-04-13 2015-01-07 双绞线解决方案公司 Pulsed input push-to-talk systems, methods and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI253831B (en) * 2003-12-11 2006-04-21 Mitac Int Corp A detecting device and method of a headset having the communication function
CN2819226Y (en) * 2005-07-22 2006-09-20 华为技术有限公司 Earphone inserted tester
CN201623821U (en) * 2010-01-29 2010-11-03 江辉 Wireless earphone of interphone
CN102143262A (en) * 2010-02-03 2011-08-03 深圳富泰宏精密工业有限公司 Electronic device and method for switching audio input channel thereof
CN102546869A (en) * 2012-01-06 2012-07-04 海能达通信股份有限公司 USB (Universal Serial Bus) interface multiplexing interphone and control method thereof
CN104272766A (en) * 2012-04-13 2015-01-07 双绞线解决方案公司 Pulsed input push-to-talk systems, methods and apparatus

Also Published As

Publication number Publication date
CN106412760A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN103634724B (en) Earphone connection interface, earphone operating method and the terminal for supporting the interface and method
CN102143262B (en) Electronic device and method for switching audio input channel thereof
US9877126B2 (en) Apparatus, systems and methods for detecting insertion or removal of an audio accessory from an electronic device
CN102404665B (en) Earphone interface self-adaptation circuit
KR101636771B1 (en) Circuit apparatus and method for recognition earphone in electronic device
CN103974163B (en) Earphone compatible method and device and mobile terminal
CN105491469A (en) Method and system for controlling audio output mode based on wearing earphone state
CN101431708A (en) Terminal and method for recognizing headphone type
CN205071294U (en) Headphone structure circuit, earphone, audio output device and display device
CN104618836A (en) Communication device
CN103188594A (en) Detection circuit and detection method for earphone
CN103118191A (en) Using control method and mobile terminal for iPhone wire control earphone
CN101841754A (en) Terminal and voice-input device selection method
CN102769810A (en) Mobile terminal with a calling misoperation preventive function
CN105050001A (en) Headset compatible circuit and working method thereof
CN106412760B (en) Earphone compatible device
CN102710821A (en) Hand microphone for interphone and interphone
CN105120390A (en) Headphone socket, headphone plug and electronic device
CN204968070U (en) Earphone socket, Headphone plug and electronic equipment
CN105975422B (en) A kind of switching equipment, terminal and switching method
KR20110019841A (en) Apparatus and method for improving crosstalk between audio channels in a portable terminal
CN105142072B (en) A kind of audio devices and audio frequency playing method of external player
CN105516844A (en) Earphone device, electronic device provided with earphone device, and control method thereof
CN104683914A (en) Electronic equipment and earphone detection circuit, method and device
CN109918041A (en) An audio circuit, related equipment and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant