CN105101001A - Earphone identification device and terminal equipment - Google Patents

Earphone identification device and terminal equipment Download PDF

Info

Publication number
CN105101001A
CN105101001A CN201510599893.0A CN201510599893A CN105101001A CN 105101001 A CN105101001 A CN 105101001A CN 201510599893 A CN201510599893 A CN 201510599893A CN 105101001 A CN105101001 A CN 105101001A
Authority
CN
China
Prior art keywords
earphone
identification signal
detection pin
processor
down resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510599893.0A
Other languages
Chinese (zh)
Other versions
CN105101001B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510599893.0A priority Critical patent/CN105101001B/en
Publication of CN105101001A publication Critical patent/CN105101001A/en
Application granted granted Critical
Publication of CN105101001B publication Critical patent/CN105101001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides an earphone identification device and terminal equipment. The earphone identification device comprises an earphone pin, a detection pin, a power supply port, a pull-down resistor and a processor. The detection pin is connected with the power supply port via the pull-down resistor. The processor is connected with the detection pin and the pull-down resistor. The processor acquires an earphone identification signal at the detection pint, and a situation that an earphone is plugged in the earphone identification device is confirmed when the voltage value of the earphone identification signal is less than or equal to a first preset threshold value, or a situation that non-earphone conductive material enters the earphone identification device is confirmed when the voltage value of the earphone identification signal is greater than the first preset threshold value and less than or equal to a second preset threshold value. A situation that other conductive material enters the earphone identification device and then is misjudged to be the earphone can be eliminated so that the situation that other conductive material enters the earphone identification device and then is misjudged to be the earphone can be avoided.

Description

Earphone recognition apparatus and terminal equipment
Technical field
The present invention relates to the communication technology, particularly relate to a kind of earphone recognition apparatus and terminal equipment.
Background technology
Along with the development of electric terminal equipment, current most terminal equipment is all provided with earphone jack, and supports earphone and horn function simultaneously.Terminal equipment is not when earphone jack has plugged earphone, and acquiescence starts loudspeaker and carries out audio transmission, after terminal equipment detects earphone plugged earphone jack, can close horn function and start ear-phone function, namely carrying out audio transmission by earphone.
In prior art, in terminal equipment, earphone jack can be connected with earphone detection circuit, as shown in Figure 1, earphone detection circuit comprises: detect pin 01, left channel pin 02, pull down resistor 03 and voltage output end 04, after headset plug inserts the earphone jack of terminal equipment, detection pin 01 can be communicated with left channel pin 02, and by left channel pin 02 ground connection, produce loop, due to detect pin 01 and left channel pin 02 form resistance and be less than pull down resistor 03, therefore under dividing potential drop effect, the identification voltage now detecting pin 01 generation can lower than predetermined threshold value (such as: 90% of voltage output end 04 output voltage values), thus define earphone insertion, correspondingly, the control part branch control terminal of terminal equipment is closed horn function and is opened ear-phone function.
But, because earphone jack is generally all in communication with the outside, sometimes may have some conductive materials enters in earphone jack, such as intake, and then cause detection pin 01 to be communicated with left channel pin 02, after pull down resistor 03 dividing potential drop, also the identification voltage lower than predetermined threshold value may be produced, then terminal equipment can be mistaken for earphone and insert earphone jack thus unlatching ear-phone function, illustrate, existing earphone detection circuit is subject to the hardware constraints of System on Chip/SoC, general predetermined threshold value is minimum can only be 90% of power supply port voltage, namely for the power supply port voltage of 1.8V, predetermined threshold value is 1.62V, because the resistance magnitude of pull down resistor 03 is larger, for 100k Europe, after earphone plugged earphone jack, L channel resistance is about 32 Europe, and after if other non-earphone conductive materials enter earphone jack, the identification voltage produced is between 1.6V-0.2V, be less than 1.62V.Earphone will be mistaken for insert, cause user cannot normally by loudspeaker audio reception, if receive calls also cannot receive audio frequency from receiver.
Summary of the invention
The invention provides a kind of earphone recognition apparatus and terminal equipment, insert terminal equipment for solving terminal equipment erroneous judgement earphone and cause user cannot the problem of audio reception.
First aspect present invention provides a kind of earphone recognition apparatus, comprising: earphone pin, detection pin, power supply port, pull down resistor and processor;
Described detection pin is connected with described power supply port by described pull down resistor, and described pull down resistor is all connected with described processor 41 with described detection pin;
Described processor, for going out to obtain earphone identification signal from described detection pin, and determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of described earphone identification signal is less than or equal to the first predetermined threshold value, define non-earphone conductive materials when the magnitude of voltage of described earphone identification signal is greater than the first predetermined threshold value and is less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus.
Second aspect present invention provides a kind of terminal equipment, comprises the earphone recognition apparatus that first aspect present invention provides.
In earphone recognition apparatus provided by the invention and terminal equipment, earphone recognition apparatus comprises: earphone pin, detect pin, power supply port, pull down resistor and processor, detect pin to be connected with power supply port by pull down resistor, processor is connected with pull down resistor with detection pin simultaneously, processor obtains earphone identification signal at detection pin place, and determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of above-mentioned earphone identification signal is less than or equal to the first predetermined threshold value, or, the first predetermined threshold value is greater than at the magnitude of voltage of above-mentioned earphone identification signal, and define non-earphone conductive materials when being less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus, and only will define earphone in prior art when earphone identification signal meets a larger predetermined threshold value and insert and directly switch to headset mode, the reception of user to audio frequency can be affected, the earphone recognition apparatus that the present embodiment provides obtains described earphone identification signal by processor, and set the earphone identification that the first predetermined threshold value and the second predetermined threshold value carry out different range, the situation being mistaken for earphone after having other conductive materials to enter earphone recognition apparatus can be got rid of, to ensure that user accurately receives each class audio frequency better.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the earphone recognition apparatus structural representation of prior art;
Fig. 2 is the structural representation of earphone recognition apparatus embodiment one provided by the invention;
Fig. 3 is the structural representation of earphone recognition apparatus embodiment two provided by the invention;
Fig. 4 is the structural representation of earphone recognition apparatus embodiment three provided by the invention;
Fig. 5 is the structural representation of earphone recognition apparatus embodiment four provided by the invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 2 is the structural representation of earphone recognition apparatus embodiment one provided by the invention, this earphone recognition apparatus can be integrated in various can the terminal equipment of plugged earphone, such as mobile phone, panel computer, notebook computer etc., more specifically, this earphone recognition apparatus can be a part for the earphone jack on terminal equipment.
As shown in Figure 2, this device comprises: earphone pin 11, detection pin 12, power supply port 21, pull down resistor 104, processor 41.
Wherein, detect pin 12 to be connected with power supply port 21 by pull down resistor 104, and processor 41 is connected with pull down resistor 104 with this detection pin 12 simultaneously, this detection pin 12 is in earphone insertion or after having conductive materials to enter, be conducted with earphone pin 11, to form measure loop.
Processor 41 can obtain earphone identification signal from detection pin 12, and determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of above-mentioned earphone identification signal is less than or equal to the first predetermined threshold value, or, define non-earphone conductive materials when the magnitude of voltage of above-mentioned earphone identification signal is greater than the first predetermined threshold value and is less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus.Wherein, earphone identification signal is exactly the voltage signal produced according to the voltage that power supply port 21 provides.
Particularly, when have earphone insert or after having other conductive materials to enter earphone jack, can make to detect pin 12 and earphone pin 11 conductive communication, and then make conducting between power supply port 21 and ground, form loop, now electric current can flow through pull down resistor 104 from power supply port 21, then enters headset detection pin 12, and enter earphone pin 11 by headset plug or other conductive materials, finally enter ground.Now processor 41 just can be sampled to obtain voltage signal at detection pin 12 place, and using above-mentioned voltage signal as earphone identification signal.Wherein, above-mentioned power supply port 21 can by the cell powers voltage in terminal equipment.
After above-mentioned headset detection signal being detected, the magnitude of voltage of earphone identification signal is compared with predetermined threshold value by processor 41.If the magnitude of voltage of earphone identification signal is less than or equal to the first predetermined threshold value, then determine the insertion that there is headset plug in earphone jack, if the magnitude of voltage of earphone identification signal is greater than first threshold, be less than or equal to Second Threshold, then determine the conductive materials that there is non-headset plug in earphone jack.
Further, the resistance of pull down resistor 104 is greater than the resistance of the conductive materials of above-mentioned non-headset plug, in specific implementation process, the resistance magnitude of pull down resistor 104 is not less than 10K, and the resistance that the conductive materials (i.e. other conductive materials) of the resistance formed to make headset plug and non-headset plug is formed can obviously be distinguished.Find in an experiment, what enter the non-headset plug of earphone jack mostly is fluid to some material, fluid in earphone jack define resistance resistance magnitude be 10K magnitude, because headset plug is metalwork, the resistance of its resistance formed is about tens Europe, therefore the resistance of pull down resistor be set to be not less than 10K, the resistance that the conductive materials (i.e. other conductive materials) of the resistance that headset plug is formed by the magnitude of voltage that can go out by detecting pin and non-headset plug is formed can obviously be distinguished.For example, when the supply power voltage of power supply port is 1.8V, pull down resistor is 10K Europe, the resistance that headset plug multiform becomes is 30 Europe, when the resistance that other conductive materials are formed is 20K Europe, when headset plug inserts, the voltage that detection pin detects is less than 0.1V, earphone jack exist other materials enter time, detecting the voltage that detects of pin is 1.2V.
Preferably, the resistance magnitude of pull down resistor 104 is not less than 100K.The magnitude of voltage detecting pin place when other conductive materials enter earphone jack is made to be able to obvious differentiation with the magnitude of voltage detected when pin is not switched on.For example, when the supply power voltage of power supply port is 1.8V, pull down resistor is 100K Europe, the resistance that headset plug multiform becomes is 30 Europe, when the resistance that other conductive materials are formed is 40K Europe, when headset plug inserts, the voltage that detection pin detects is less than 0.1V, earphone jack exist other materials enter time, detect the voltage that detects of pin and be about 0.5V.
The earphone recognition apparatus provided in the present embodiment, comprising: earphone pin, detection pin, power supply port, pull down resistor and processor, detect pin to be connected with power supply port by pull down resistor, processor is connected with pull down resistor with detection pin simultaneously, processor obtains earphone identification signal at detection pin place, and determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of above-mentioned earphone identification signal is less than or equal to the first predetermined threshold value, or, the first predetermined threshold value is greater than at the magnitude of voltage of above-mentioned earphone identification signal, and define non-earphone conductive materials when being less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus, and only will define earphone in prior art when earphone identification signal meets a larger predetermined threshold value and insert and directly switch to headset mode, the reception of user to audio frequency can be affected, the earphone recognition apparatus that the present embodiment provides obtains described earphone identification signal by processor, and set the earphone identification that the first predetermined threshold value and the second predetermined threshold value carry out different range, the situation being mistaken for earphone after having other conductive materials to enter earphone recognition apparatus can be got rid of, to ensure that user accurately receives each class audio frequency better.
Fig. 3 is the structural representation of earphone recognition apparatus embodiment two provided by the invention, and as shown in Figure 3, on the basis of Fig. 2, this earphone recognition apparatus also comprises: analog to digital converter 31.The input of analog to digital converter 31 is connected with pull down resistor 104 with detection pin 12 simultaneously, and the output of analog to digital converter 31 is connected with processor 41.
Analog to digital converter 31, for obtaining earphone identification signal from detection pin 12, being converted to digital earphone identification signal by above-mentioned earphone identification signal, and this digital earphone identification signal is sent to processor 41.Correspondingly, processor 41, specifically for receiving the digital earphone identification signal that analog to digital converter 31 sends, and determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of above-mentioned digital earphone identification signal is less than or equal to the first predetermined threshold value, or, define non-earphone conductive materials when the magnitude of voltage of above-mentioned digital earphone identification signal is greater than the first predetermined threshold value and is less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus.
Adopt digital to analog converter to carry out the conversion of earphone identification signal, processor chips can be made need not to carry out the conversion of analog signal to digital signal, reduce the workload of processor.
Fig. 4 is the structural representation of earphone recognition apparatus embodiment three provided by the invention, and as shown in Figure 4, on the basis of Fig. 3, this earphone recognition apparatus also comprises: detection module 32.
One end of detection module 32 is connected with processor 41, the other end is connected with pull down resistor 104 with detection pin 12 simultaneously, for obtaining earphone identification signal from detection pin 12, and send identification triggering signal when this earphone identification signal is less than or equal to the second predetermined threshold value to processor 41.Identify triggering signal for processor 41 is received and process analog to digital converter 32 send digital earphone identification signal.
During specific implementation, detection module 32 first detects earphone identification signal, if earphone identification signal is less than or equal to the second predetermined threshold value, detection module 32 can think that detection pin 12 and earphone pin 11 are conducted, triggering signal is identified so produce, the digital earphone identification signal that this identification triggering signal Trigger processor 41 pairs of analog to digital converters 31 send detects, if processor 41 does not receive identification triggering signal, the digital earphone identification signal that analog to digital converter 31 sends can be ignored, the detection number of times of processor 41 pairs of digital earphone identification signals can be reduced like this.
Correspondingly, processor 41, specifically for after the identification triggering signal receiving detection module 32 transmission, determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of above-mentioned digital earphone identification signal is less than or equal to the first predetermined threshold value, or, define non-earphone conductive materials when the magnitude of voltage of above-mentioned digital earphone identification signal is greater than the first predetermined threshold value and is less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus.
In specific implementation process, this detection module 32 can be a micro-control unit (MicrocontrollerUnit, be called for short MCU), identify that triggering signal can be interrupt signal, when determining that above-mentioned earphone identification signal is less than or equal to the second predetermined threshold value, produce an interrupt signal and send to processor 41, but not as limit.
It should be noted that, above-mentioned earphone pin 11 is generally left channel pin, with the L channel joint area of earphone, correspondingly, with reference to Fig. 2, pin 13 is Mike's pin, pin 14 is R channel pin, but not as limit, can adjust flexibly according to dissimilar earphone.
In the present embodiment, detect pin with earphone pin conductive communication after produce earphone identification signal, analog to digital converter and detection module all can obtain earphone identification signal from detection pin, detection module sends identification triggering signal to processor when judging that earphone identification signal is less than or equal to the second predetermined threshold value, processor detects further to the digital earphone identification signal that analog to digital converter sends again, so that what insertion determined by processor is earphone or other non-earphone conductive materials on earth, achieve and identify earphone more accurately, and only will define earphone in prior art when earphone identification signal meets a larger predetermined threshold value and insert and directly switch to headset mode, the reception of user to audio frequency can be affected, the earphone recognition apparatus that the present embodiment provides first is judged for the first time by detection module, Trigger processor judges again to earphone identification signal again, the situation being mistaken for earphone after having other conductive materials to enter earphone recognition apparatus can be got rid of, to ensure that user accurately receives each class audio frequency better.
Fig. 5 is the structural representation of earphone recognition apparatus embodiment four provided by the invention, and as shown in Figure 5, above-mentioned analog to digital converter 31 comprises: Deltasigma modulator 301 and filter 302, and this Deltasigma modulator 301 and filter 302 are connected in series.
More specifically, as shown in Figure 3, Deltasigma modulator 301 comprises: amplifier 311, integrator 312, comparator 313 and digital-to-analogue conversion feedback circuit (DAC) 314.Above-mentioned detection pin 12 is connected with the positive input terminal of amplifier 311, the output of amplifier 311 is connected with the input of integrator 312, the output of this integrator 312 is connected with the negative input end of comparator 313, the output of this comparator 313 is connected with the input of filter 302, and one end of above-mentioned digital-to-analogue conversion feedback circuit 314 is connected with the negative input end of amplifier 311, and the other end of digital-to-analogue conversion feedback circuit 314 is connected with the output of comparator 313.This amplifier 311 can be differential amplifier.
Earphone identification signal is after the positive input terminal input of amplifier 311, process through Deltasigma modulator 301 and filter 302, the digital earphone identification signal exported can be obtained at the output of filter 302, and this digital earphone identification signal is sent to processor 41 so that processor according to 41 digital earphone identification signals judge further insert whether be earphone.
Wherein, in specific implementation process, the earphone identification signal of input is deducted signal from 1 DAC314 using the input of result as integrator 312 by amplifier 311, when the whole system of earphone recognition apparatus is in steady-working state, the output signal of integrator 312 is whole error voltage sums, integrator 312 can be regarded as low pass filter simultaneously, noise is had to the rejection ability of-6dB.The output of comparator 313 is converted to digital waveform by DAC314, feeds back to amplifier 311.
Quantizing noise is stretched over whole frequency bandwidth by integrator 312, thus makes noise shaping, and filter 302 can filter out most shaping noise.
It should be noted that, earphone is different with the resistance of other conductive materials, when there is liquid and entering as earphone jack, headset plug is compared with other conductive materials, the magnitude of their resistance difference is larger, thus the pressure drop difference produced is apart from also comparatively large, cause the magnitude of voltage of output voltage signal also can be different.Such as, the about 20-30k Europe of water stain resistance, the resistance after headset plug inserts is equivalent to 32 Europe.
In the present embodiment, analog to digital converter comprises: Deltasigma modulator and filter, Deltasigma modulator comprises: amplifier, integrator, comparator and digital-to-analogue conversion feedback circuit, for earphone identification signal is carried out analog-to-digital conversion, analog to digital converter and detection module all can obtain earphone identification signal from detection pin, detection module sends identification triggering signal to processor when judging that earphone identification signal is less than or equal to the second predetermined threshold value, processor detects further to the digital earphone identification signal that analog to digital converter sends again, so that what insertion determined by processor is earphone or other non-earphone conductive materials on earth, achieve and identify earphone more accurately, and only will define earphone in prior art when earphone identification signal meets a larger predetermined threshold value and insert and directly switch to headset mode, the reception of user to audio frequency can be affected, the earphone recognition apparatus that the present embodiment provides first is judged for the first time by detection module, Trigger processor judges again to earphone identification signal again, the situation being mistaken for earphone after having other conductive materials to enter earphone recognition apparatus can be got rid of, to ensure that user accurately receives each class audio frequency better.
Further, the first end being also provided with the first inductance 101, first inductance 101 between pull down resistor 104 and detection pin 12 is connected with detection pin 12, and the second end of the first inductance 101 is connected with pull down resistor 104.
Detection module 32 is connected with detection pin 12 and is specially: detect pin 12 and be connected by second end of the second resistance 102 with the first inductance 101, and the first end of the first inductance 101 is connected with detection pin 12.
Analog to digital converter 31 is connected with detection pin 12 and is specially: analog to digital converter 31 is connected by second end of the first resistance 103 with the first inductance 101, and the first end of the first inductance 101 is connected with detection pin 12.
Preferably, the input of analog to digital converter 31 is by resistance 105 ground connection.
Wherein, the first resistance 103 can be 100k Europe, and the second resistance 102 can be 20k Europe.
Alternatively, when the voltage of feeder ear is 1.8V, above-mentioned second predetermined threshold value can be 1.6V, and the first predetermined threshold value can be 0.2V.But not as limit, can according to resistance and hardware condition set particularly.
In the present embodiment, be also provided with the first inductance between pull down resistor and detection pin, the first end of the first inductance is connected with detection pin, and the second end of the first inductance is connected with pull down resistor.Detect pin to be connected with the second end of the first inductance by the second resistance; Detect pin to be connected with the second end of the first inductance by the 3rd resistance.Analog to digital converter and detection module all can obtain earphone identification signal from detection pin, detection module sends identification triggering signal to processor when judging that earphone identification signal is less than or equal to the second predetermined threshold value, processor detects further to the digital earphone identification signal that analog to digital converter sends again, so that what insertion determined by processor is earphone or other non-earphone conductive materials on earth, achieve and identify earphone more accurately, and only will define earphone in prior art when earphone identification signal meets a larger predetermined threshold value and insert and directly switch to headset mode, the reception of user to audio frequency can be affected, the earphone recognition apparatus that the present embodiment provides first is judged for the first time by detection module, Trigger processor judges again to earphone identification signal again, the situation being mistaken for earphone after having other conductive materials to enter earphone recognition apparatus can be got rid of, to ensure that user accurately receives each class audio frequency better.
The present invention also provides a kind of terminal equipment, and this terminal equipment comprises above-mentioned earphone recognition apparatus, and it realizes principle and technique effect is similar, does not repeat them here.
This terminal equipment can be the terminal equipment that various support earphone inserts, such as mobile phone, panel computer, notebook computer etc.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. an earphone recognition apparatus, is characterized in that, comprising: earphone pin, detection pin, power supply port, pull down resistor and processor;
Described detection pin is connected with described power supply port by described pull down resistor, and described pull down resistor is all connected with described processor with described detection pin;
Described processor, for going out to obtain earphone identification signal from described detection pin, and determine that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of described earphone identification signal is less than or equal to the first predetermined threshold value, define non-earphone conductive materials when the magnitude of voltage of described earphone identification signal is greater than the first predetermined threshold value and is less than or equal to the second predetermined threshold value and enter this earphone recognition apparatus.
2. device according to claim 1, is characterized in that, described pull down resistor and described detection pin are all connected with described processor and are specially:
Described detection pin is all connected with the input of analog to digital converter with described pull down resistor;
The output of described analog to digital converter is connected with described processor;
Described analog to digital converter, for obtaining earphone identification signal from described detection pin, being converted to digital earphone identification signal by described earphone identification signal, and described digital earphone identification signal is sent to described processor; Correspondingly,
Described processor, specifically for determining that earphone inserts above-mentioned earphone recognition apparatus when the magnitude of voltage of described digital earphone identification signal is less than or equal to the first predetermined threshold value, defining non-earphone conductive materials when the magnitude of voltage of described digital earphone identification signal is greater than the first predetermined threshold value and is less than or equal to the second predetermined threshold value and entering this earphone recognition apparatus.
3. device according to claim 2, is characterized in that, described earphone recognition apparatus also comprises: detection module; One end of described detection module is connected with described processor, and the other end of described detection module is connected with described detection pin and described pull down resistor simultaneously;
Described detection module, for obtaining described earphone identification signal from described detection pin, and sends identification triggering signal when described earphone identification signal is less than or equal to described second predetermined threshold value to described processor; Correspondingly,
Described processor, specifically for after receiving the described identification triggering signal that described detection module sends, receives and processes the digital earphone identification signal that analog to digital converter sends.
4. device according to claim 2, is characterized in that, described analog to digital converter comprises: Deltasigma modulator and filter, and described Deltasigma modulator is connected with described filters in series;
Wherein, described Deltasigma modulator comprises: amplifier, integrator, comparator and digital-to-analogue conversion feedback circuit, described detection pin is connected with the positive input terminal of described amplifier, the output of described amplifier is connected with the input of described integrator, the output of described integrator is connected with the negative input end of described comparator, the output of described comparator is connected with the input of described filter, one end of described digital-to-analogue conversion feedback circuit is connected with the negative input end of described amplifier, and the other end of described digital-to-analogue conversion feedback circuit is connected with the output of described comparator.
5. device according to claim 4, is characterized in that, is provided with the first inductance between described detection pin and described pull down resistor, and the first end of described first inductance is connected with described detection pin, and the second end of described first inductance is connected with described pull down resistor;
Described analog to digital converter is connected with detection pin and is specially: the input of analog to digital converter is connected by second end of the first resistance with described first inductance, and is connected with described detection pin by described first inductance;
Described detection module is connected with described detection pin and is specially: described detection module is connected with the second end of described first inductance by the second resistance, and is connected with described detection pin by described first inductance.
6. device according to claim 5, is characterized in that, the resistance of described first resistance is greater than the resistance of described second resistance.
7. device according to claim 6, is characterized in that, the resistance of described pull down resistor is greater than the resistance of described non-earphone conductive materials.
8. device according to claim 7, is characterized in that, the resistance of described pull down resistor is 100K ohm.
9. device according to claim 2, is characterized in that, described detection module is micro-control unit, and described identification triggering signal is interrupt signal.
10. a terminal equipment, is characterized in that, comprises the earphone recognition apparatus described in any one of claim 1-9.
CN201510599893.0A 2015-09-18 2015-09-18 Earphone recognition apparatus and terminal device Active CN105101001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510599893.0A CN105101001B (en) 2015-09-18 2015-09-18 Earphone recognition apparatus and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510599893.0A CN105101001B (en) 2015-09-18 2015-09-18 Earphone recognition apparatus and terminal device

Publications (2)

Publication Number Publication Date
CN105101001A true CN105101001A (en) 2015-11-25
CN105101001B CN105101001B (en) 2018-03-16

Family

ID=54580371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510599893.0A Active CN105101001B (en) 2015-09-18 2015-09-18 Earphone recognition apparatus and terminal device

Country Status (1)

Country Link
CN (1) CN105101001B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657596A (en) * 2016-02-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Earphone recognition device and terminal
CN107295140A (en) * 2017-06-27 2017-10-24 努比亚技术有限公司 A kind of detection method of earphone, device and terminal
CN107682799A (en) * 2017-09-07 2018-02-09 维沃移动通信有限公司 A kind of voiceband facility plug detection method and mobile terminal
CN108196818A (en) * 2017-12-30 2018-06-22 珠海市杰理科技股份有限公司 Earphone recognition apparatus
CN110209543A (en) * 2019-05-28 2019-09-06 维沃移动通信有限公司 A kind of detection method and terminal of earphone socket
CN111586549A (en) * 2020-05-14 2020-08-25 西安闻泰电子科技有限公司 Earphone insertion detection circuit
CN113316064A (en) * 2021-04-28 2021-08-27 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN113556642A (en) * 2021-07-09 2021-10-26 维沃移动通信有限公司 Electronic equipment assembly and terminal equipment
CN113821391A (en) * 2021-09-14 2021-12-21 维沃移动通信有限公司 Device identification method, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2756097C1 (en) * 2021-03-24 2021-09-28 Денис Андреевич Рублев Digital earpieces detector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201118957Y (en) * 2007-11-21 2008-09-17 康佳集团股份有限公司 Earphone detection circuit
CN201733438U (en) * 2010-07-15 2011-02-02 广东欧珀移动通信有限公司 Earphone plugging and pulling detection circuit
EP2299669A1 (en) * 2009-09-07 2011-03-23 HTC Corporation Electronic device and system and method thereof for identifying electronic accessory and controlling electronic device
CN103905955A (en) * 2012-12-27 2014-07-02 华为终端有限公司 Method and apparatus for detecting insertion of earphones, and interface circuit
CN104683914A (en) * 2013-11-28 2015-06-03 展讯通信(上海)有限公司 Electronic equipment and earphone detection circuit, method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201118957Y (en) * 2007-11-21 2008-09-17 康佳集团股份有限公司 Earphone detection circuit
EP2299669A1 (en) * 2009-09-07 2011-03-23 HTC Corporation Electronic device and system and method thereof for identifying electronic accessory and controlling electronic device
CN201733438U (en) * 2010-07-15 2011-02-02 广东欧珀移动通信有限公司 Earphone plugging and pulling detection circuit
CN103905955A (en) * 2012-12-27 2014-07-02 华为终端有限公司 Method and apparatus for detecting insertion of earphones, and interface circuit
CN104683914A (en) * 2013-11-28 2015-06-03 展讯通信(上海)有限公司 Electronic equipment and earphone detection circuit, method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657596A (en) * 2016-02-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Earphone recognition device and terminal
CN107295140A (en) * 2017-06-27 2017-10-24 努比亚技术有限公司 A kind of detection method of earphone, device and terminal
CN107682799A (en) * 2017-09-07 2018-02-09 维沃移动通信有限公司 A kind of voiceband facility plug detection method and mobile terminal
CN107682799B (en) * 2017-09-07 2019-06-07 维沃移动通信有限公司 A kind of voiceband facility plug detection method and mobile terminal
CN108196818A (en) * 2017-12-30 2018-06-22 珠海市杰理科技股份有限公司 Earphone recognition apparatus
CN110209543A (en) * 2019-05-28 2019-09-06 维沃移动通信有限公司 A kind of detection method and terminal of earphone socket
CN111586549A (en) * 2020-05-14 2020-08-25 西安闻泰电子科技有限公司 Earphone insertion detection circuit
CN111586549B (en) * 2020-05-14 2022-03-15 昆明闻泰通讯有限公司 Earphone insertion detection circuit
CN113316064A (en) * 2021-04-28 2021-08-27 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN113556642A (en) * 2021-07-09 2021-10-26 维沃移动通信有限公司 Electronic equipment assembly and terminal equipment
CN113821391A (en) * 2021-09-14 2021-12-21 维沃移动通信有限公司 Device identification method, device and storage medium

Also Published As

Publication number Publication date
CN105101001B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN105101001A (en) Earphone identification device and terminal equipment
EP2806662B1 (en) Apparatus for detecting the type of an audio interface
US9407987B2 (en) Audio interface self-adaptation device
CN101951446A (en) Be connected to detection, identification and the operation of the ancillary equipment of electronic equipment via the audio/video plug
CN204836506U (en) Headset patch cord
CN201509235U (en) Headphone detection circuit of mobile terminal and mobile terminal thereof
US11860805B2 (en) Terminal device, adapter, and charging method
CN101841753A (en) Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire
KR20110040359A (en) Circuit apparatus and method for recognition earphone in electronic device
CN102480563B (en) Control method and device in process of inserting earphone into earphone socket
CN104618836A (en) Communication device
US20170223449A1 (en) Electronic device, earphone, and electronic device system
CN201750528U (en) Audio processing device
CN102710821B (en) Hand microphone for interphone and interphone
US9848270B2 (en) Electronic device, earphone, and electronic device system
CN105050001A (en) Headset compatible circuit and working method thereof
EP3690633B1 (en) Signal transmission circuit, signal transmission method and intelligent terminal
CN105049998A (en) Audio communication device
CN203734838U (en) Earphone plugging detection apparatus
CN207475793U (en) It is a kind of can free switching audio output headset plug
CN103347104B (en) The mobile device that can externally charge
CN106412760A (en) Earphone compatible apparatus
CN109769174B (en) Judging circuit and method for positive and negative terminals of MIC (microphone) of earphone and electronic equipment
CN206212256U (en) Equipment and system with audio output
CN110209371A (en) A kind of audio compatible circuit and video and audio equipment

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