CN108196818A - Earphone recognition apparatus - Google Patents

Earphone recognition apparatus Download PDF

Info

Publication number
CN108196818A
CN108196818A CN201711489463.9A CN201711489463A CN108196818A CN 108196818 A CN108196818 A CN 108196818A CN 201711489463 A CN201711489463 A CN 201711489463A CN 108196818 A CN108196818 A CN 108196818A
Authority
CN
China
Prior art keywords
voltage
headset plug
earphone
interface
test side
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
CN201711489463.9A
Other languages
Chinese (zh)
Other versions
CN108196818B (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli 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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201711489463.9A priority Critical patent/CN108196818B/en
Publication of CN108196818A publication Critical patent/CN108196818A/en
Application granted granted Critical
Publication of CN108196818B publication Critical patent/CN108196818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Headphones And Earphones (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Stereophonic Arrangements (AREA)

Abstract

The present invention relates to a kind of earphone recognition apparatus, including main control chip, first interface, second interface, third interface and the 4th interface;First interface, second interface, third interface and the 4th interface are located in earphone jack, it is respectively connected to a port of earphone, the first common voltage test side connection first interface of main control chip, the second common voltage test side connection second port of main control chip, the first headset plug test side connection third interface of main control chip, the second headset plug test side of main control chip connects the 4th interface;Main control chip obtains first voltage, the second voltage of the second common voltage test side, the tertiary voltage of the first headset plug test side and the 4th voltage of the second headset plug test side of the first common voltage test side, according to first voltage and second voltage identification earphone insert state, whether headset plug is accessed according to tertiary voltage and the 4th voltage identification third interface or the 4th interface, the audio frequency output channel of earphone is inserted into configuration.

Description

Earphone recognition apparatus
Technical field
The present invention relates to field of circuit technology, more particularly to a kind of earphone recognition apparatus.
Background technology
Earphone is people's extremely common a kind of electronic equipment in daily life, and type is various, model is different.Usually In the case of, earphone includes headset plug end (such as L channel end, right channel end), the multiple ports in common end and electret wheat end, It after earphone accesses corresponding playback equipment, needs accordingly to identify above-mentioned multiple ports of earphone, and is tied according to identification Fruit complete earphone match postpone could be played out by earphone equipment audio listen to and user speech output.
Different classes of earphone has different identification methods, and traditional earphone identification technology is needed by different classes of ear Specific identification chip (such as QSC6155, PM8028) and corresponding peripheral cell corresponding to machine realize that identification is complicated.
Invention content
Based on this, it is necessary to for traditional earphone recognition apparatus it is complicated the technical issues of, a kind of earphone is provided and is known Other device.
A kind of earphone recognition apparatus, which is characterized in that including main control chip, first interface, second interface, third interface and 4th interface;
The first interface, second interface, third interface and the 4th interface are arranged in earphone jack, are respectively connected to earphone Any one port in plug end, common end and electret wheat end, the first common voltage test side of the main control chip connect Connect first interface, the second common voltage test side connection second port of main control chip, the first headset plug inspection of main control chip End connection third interface is surveyed, the second headset plug test side of main control chip connects the 4th interface;
The main control chip obtains the first voltage of the first common voltage test side, the second common voltage test side respectively 4th voltage of second voltage, the tertiary voltage of the first headset plug test side and the second headset plug test side, according to institute First voltage and the insert state of second voltage identification earphone are stated, according to the tertiary voltage and the 4th voltage identification third interface Or the 4th interface whether access headset plug, and the audio frequency output channel of earphone is inserted into according to recognition result configuration.
First interface, second interface, third interface and the 4th interface are arranged on earphone jack by above-mentioned earphone recognition apparatus In, it is public by the first of main control chip with any one port being respectively connected in headset plug end, common end and electret wheat end Common voltage test side connects first interface, and the second common voltage test side connection second port, the first headset plug test side connects Third interface is connect, the second headset plug test side connects the 4th interface, the first common electrical is obtained respectively by above-mentioned main control chip Press the first voltage of test side, the second voltage of the second common voltage test side, the first headset plug test side tertiary voltage, And second headset plug test side the 4th voltage, with according to first voltage and second voltage identification earphone insert state, Whether headset plug is accessed, and according to identification according to the tertiary voltage and the 4th voltage identification third interface or the 4th interface As a result the audio frequency output channel of earphone is inserted into configuration, has been carried out effective simplification to the identification structure of be inserted into earphone, has been improved To the recognition efficiency of be inserted into earphone, the corresponding identification cost of reduction.
The main control chip is respectively by the first headset plug test side and the second headset plug in one of the embodiments, The output voltage of test side is disposed as setting voltage value, the pull down resistor of the first common voltage test side is opened, if recognizing The first voltage is equal to ground terminal voltage, then judges that headset plug is not inserted into earphone jack;If it is big to recognize the first voltage In ground terminal voltage, then judge that headset plug is inserted into earphone jack.
The present embodiment can be by the pull down resistor of the first common voltage test side of unlatching, according to corresponding first voltage to ear Whether machine transplanting of rice head, which is inserted into earphone jack, is accurately identified.
The main control chip is respectively by the first headset plug test side and the second headset plug in one of the embodiments, The output voltage of test side is disposed as setting voltage value, the pull down resistor of the second common voltage test side is opened, if recognizing The second voltage is equal to ground terminal voltage, then judges that headset plug is not inserted into earphone jack;If it is big to recognize the second voltage In ground terminal voltage, then judge that headset plug is inserted into earphone jack.
The present embodiment can be by the pull down resistor of the second common voltage test side of unlatching, according to corresponding second voltage to ear Whether machine transplanting of rice head, which is inserted into earphone jack, is accurately identified.
After main control chip judgement headset plug is inserted into earphone jack in one of the embodiments, the is set respectively The output voltage values of one headset plug test side and the output voltage values of the second headset plug test side, are detecting the third When voltage is equal with the 4th voltage, judgement third interface access headset plug.
The headset plug that the present embodiment can access third interface accurately identifies.
As one embodiment, after the main control chip judgement third interface access headset plug, close the first earphone and insert The output of head test side either the second headset plug test side is by the first headset plug test side or the second headset plug Test side is set as earphone common end, and audio frequency output channel is configured for third interface.
The present embodiment can carry out corresponding earphone configuration, to ensure that earphone is follow-up after third interface accesses headset plug Normal work.
After main control chip judgement headset plug is inserted into earphone jack in one of the embodiments, the is set respectively The output voltage values of one headset plug test side and the output voltage values of the second headset plug test side, are detecting the third When voltage and unequal the 4th voltage, judgement the 4th interface access headset plug.
The headset plug that the present embodiment can access the 4th interface accurately identifies.
As one embodiment, the main control chip sets the first electret wheat input terminal and the input of the second electret wheat End, the first electret wheat input terminal are passed through by the first capacitance connection third interface, the second electret wheat input terminal The 4th interface of second capacitance connection, the third interface by first resistor connect outside bias power supply circuit, the described 4th Interface connects the bias power supply circuit by second resistance.
As one embodiment, the main control chip is detecting the 4th voltage equal to first voltage or the second electricity During pressure, headset plug of the headset plug of the 4th interface for OMTP standards is inserted into judgement;Detecting that the tertiary voltage is equal to When first voltage or second voltage, headset plug of the headset plug of the 4th interface for CTIA standards is inserted into judgement.
The present embodiment can accordingly identify the headset plug type for being inserted into the 4th interface.
As one embodiment, if the headset plug is the headset plug of OMTP standards, the main control chip closes the Headset plug test side is set as earphone common end by the output of one headset plug test side, by the first electret wheat input terminal The input pin of electret microphone is set as, accesses the bias voltage that the bias power supply circuit opens electret microphone, And audio frequency output channel is configured according to the earphone that OMTP standards are insertion.
As one embodiment, if the headset plug is the headset plug of CTIA standards, the main control chip closes the First headset plug test side is set as earphone common end by the output of two headset plug test sides, and the second electret wheat is defeated Enter the input pin that end is set as electret microphone, access the biased electrical that the bias power supply circuit opens electret microphone Pressure, and be that audio frequency output channel is configured in the earphone being inserted into according to CTIA standards.
Description of the drawings
Fig. 1 is the earphone recognition apparatus structure diagram of one embodiment;
Fig. 2 is the earphone recognition apparatus structure diagram of one embodiment;
Fig. 3 is the pin configuration schematic diagram of the DAC_L or DAC_R of one embodiment;
Fig. 4 is the earphone recognition apparatus structure diagram of one embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
With reference to figure 1, Fig. 1 show the earphone recognition apparatus structure diagram of one embodiment, including main control chip 20, One interface 11, second interface 12,13 and the 4th interface 14 of third interface;
The first interface 11, second interface 12,13 and the 4th interface 14 of third interface are arranged in earphone jack, respectively Access any one port in headset plug end, common end and electret wheat end, the first common electrical of the main control chip 20 Press test side DAC_L connections first interface 11, the second common voltage test side DAC_R connection second ports of main control chip 20 12, the first headset plug test side VCMO0 connection thirds interface 13 of main control chip 20, the second headset plug of main control chip 20 The 4th interface 14 of test side VCMO1 connections;
The main control chip 20 obtains the first voltage V of the first common voltage test side DAC_L respectivelyad1, the second common electrical Press the second voltage V of test side DAC_Rad2, the first headset plug test side VCMO0 tertiary voltage Vad3And second earphone The 4th voltage V of plug test side VCMO1ad4, according to the first voltage Vad1With second voltage Vad2Identify the insertion shape of earphone State, according to the tertiary voltage Vad3With the 4th voltage Vad4Whether identification third interface 13 or the 4th interface 14 access earphone and insert Head, and the audio frequency output channel for being inserted into earphone is configured according to recognition result.
Above-mentioned main control chip 20 can be that coherent detection program can be written to carry out each pin output control and voltage detecting Intelligent chip can be arranged in the playback equipment (such as tablet computer, mobile phone) where earphone jack.Specifically, master control The internal structure of chip 20 can with reference chart 2 Suo Shi include Multipexer selector MUX and port voltage detection circuit ADC, on Stating main control chip 20 can be by the multiple selector MUX built in it to its each leads ends (such as the first common voltage test side DAC_L, the second common voltage test side DAC_R, the first headset plug test side VCMO0 and the second headset plug test side VCMO1 control) is identified and exported into row related signal, and each leads ends pair are carried out by above-mentioned port voltage detection circuit ADC Answer the detection of voltage.
Earphone recognition apparatus provided in this embodiment connects first interface 11, second interface 12, third interface 13 and the 4th Mouthfuls 14 are arranged in earphone jack, with any one port being respectively connected in headset plug end, common end and electret wheat end, By the first common voltage test side DAC_L connections first interface 11 of main control chip 20, the second common voltage test side DAC_R connects Second port 12, the first headset plug test side VCMO0 connection thirds interface 13 are connect, the second headset plug test side VCMO1 connects The 4th interface 14 is connect, obtains the first voltage pressure of the first common voltage test side DAC_L respectively by above-mentioned main control chip 20 Vad1, the second common voltage test side DAC_R second voltage Vad2, the first headset plug test side VCMO0 tertiary voltage Vad3And second headset plug test side VCMO1 the 4th voltage Vad4, with according to first voltage Vad1With second voltage Vad2Know The insert state of other earphone, according to the tertiary voltage Vad3With the 4th voltage Vad4Identify third interface 13 or the 4th interface 14 Headset plug whether is accessed, and the audio frequency output channel of earphone, the knowledge to be inserted into earphone are inserted into according to recognition result configuration Other structure has carried out effective simplification, improves the recognition efficiency to be inserted into earphone, the corresponding identification cost of reduction.
The main control chip is respectively by the first headset plug test side and the second headset plug in one of the embodiments, The output voltage of test side is disposed as setting voltage value, the pull down resistor of the first common voltage test side is opened, if recognizing The first voltage is equal to ground terminal voltage, then judges that headset plug is not inserted into earphone jack;If it is big to recognize the first voltage In ground terminal voltage, then judge that headset plug is inserted into earphone jack.
Above-mentioned setting voltage value can be configured according to the model features of main control chip, can specifically be set to one It is a to be more than ground terminal voltage VgndVoltage value, if the output of above-mentioned first headset plug test side and the second headset plug test side Voltage is Vplug, main control chip detecting first voltage Vad1Equal to ground terminal voltage, i.e. Vad1=VgndWhen, judge headset plug It is not inserted into earphone jack;Detecting first voltage Vad1More than ground terminal voltage, i.e. Vad1>Vgnd, particularly detect above-mentioned first Voltage Vad1=(Vplug* R3/ (Re+R3)) when, it is possible to determine that headset plug has been inserted into earphone jack, wherein, above-mentioned R3 is first The resistance value of common voltage test side pull down resistor, Re are earphone speaker impedance, can be preset according to correlation experience value.
The present embodiment can be by the pull down resistor of the first common voltage test side of unlatching, according to the first voltage pair detected Whether headset plug, which is inserted into earphone jack, is accurately identified.
The main control chip is respectively by the first headset plug test side and the second headset plug in one of the embodiments, The output voltage of test side is disposed as setting voltage value, the pull down resistor of the second common voltage test side is opened, if recognizing The second voltage is equal to ground terminal voltage, then judges that headset plug is not inserted into earphone jack;If it is big to recognize the second voltage In ground terminal voltage, then judge that headset plug is inserted into earphone jack.
Above-mentioned setting voltage value can be configured according to the model features of main control chip, can specifically be set to one It is a to be more than ground terminal voltage VgndVoltage value, if the output of above-mentioned first headset plug test side and the second headset plug test side Voltage is Vplug, main control chip detecting second voltage Vad2Equal to ground terminal voltage, i.e. Vad2=VgndWhen, judge headset plug It is not inserted into earphone jack;Detecting second voltage Vad2More than ground terminal voltage, i.e. Vad2>Vgnd, particularly detect above-mentioned second Voltage Vad2=(Vplug* R3/ (Re+R3)) when, it is possible to determine that headset plug has been inserted into earphone jack, wherein, above-mentioned R3 is second The resistance value of common voltage test side pull down resistor, Re are earphone speaker impedance, can be preset according to correlation experience value.
The present embodiment can be by the pull down resistor of the second common voltage test side of unlatching, according to the second voltage pair detected Whether headset plug, which is inserted into earphone jack, is accurately identified.
As one embodiment, main control chip is in the first common voltage test side DAC_L or the second common voltage test side The internal structure schematic diagram of DAC_R can with refering to what is shown in Fig. 3, pin port therein (the first common voltage test side DAC_L or Second common voltage test side DAC_R) can pull down resistor R3 be connected by a switchgear, main control chip can be by upper State unlatching and disconnection that switchgear controls corresponding pull down resistor;First common voltage test side DAC_L or the second common voltage The pin port of test side DAC_R can also connect the port voltage detection circuit built in main control chip, carry out corresponding port electricity The detection of pressure.
In one embodiment, after above-mentioned main control chip judgement headset plug is inserted into earphone jack, the first ear is set respectively The output voltage values of machine transplanting of rice head test side and the output voltage values of the second headset plug test side, are detecting the tertiary voltage Vad3With the 4th voltage Vad4When equal, judgement third interface access headset plug.
The output voltage values of above-mentioned first headset plug test side and the output voltage values of the second headset plug test side can It is set accordingly with the model features respectively according to corresponding main control chip, under usual situation, above-mentioned first headset plug inspection Output voltage values and the output voltage values of the second headset plug test side for surveying end are unequal;If the first headset plug test side Output voltage values are Vdet0, the output voltage values of the second headset plug test side are Vdet1, then Vdet0≠Vdet1
The present embodiment, can by the detection of voltage corresponding to the first headset plug test side and the second headset plug test side It is accurately identified with the headset plug accessed to third interface, simplifies corresponding identification process.
As one embodiment, after the main control chip judgement third interface access headset plug, close the first earphone and insert The output of head test side VCMO0 or the second headset plug test side VCMO1, by the first headset plug test side VCMO0 Or second headset plug test side VCMO1 be set as earphone common end, and audio frequency output channel is configured for third interface.
Above-mentioned main control chip can also adjust the audio that earphone is inserted into equipment (playback equipment i.e. where earphone jack) Parameter, with cooperation insertion earphone use, improve the using effect of earphone.
In the present embodiment, the port voltage detection circuit built in main control chip detects Vad3=Vad4When, main control chip closes The output of VCMO1 or VCMO0 are closed, VCMO0 or VCMO1 are set as earphone common end, and is 3 foot earphone kind equipments (by the Three interfaces access the earphone of headset plug) configuration audio frequency output channel, to ensure the accuracy of earphone configuration.
In one embodiment, after the main control chip judgement headset plug is inserted into earphone jack, the first ear is set respectively The output voltage values of machine transplanting of rice head test side and the output voltage values of the second headset plug test side, are detecting the tertiary voltage Vad3With the 4th voltage Vad4When unequal, judgement the 4th interface access headset plug.
The output voltage values of above-mentioned first headset plug test side and the output voltage values of the second headset plug test side can It is set accordingly with the model features respectively according to corresponding main control chip, under usual situation, above-mentioned first headset plug inspection Output voltage values and the output voltage values of the second headset plug test side for surveying end are unequal;If the first headset plug test side Output voltage values are Vdet0, the output voltage values of the second headset plug test side are Vdet1, then Vdet0≠Vdet1
Above-mentioned 4th interface can access a plurality of types of headset plugs, such as CTIA standard headphone plugs or OMTP standards Headset plug.Specifically, in Vad3 ≠ Vad4, and Vad1(or Vad2)=Vad3When, the headset plug of the 4th interface access belongs to CTIA standards, main control chip can be the earphone kind equipment configuration audio frequency output channel being inserted into according to above-mentioned CTIA standards;In Vad3 ≠Vad4, and Vad1(or Vad2)=Vad4When, the headset plug of the 4th interface access belongs to OMTP standards, and main control chip can be according to OMTP standards are the earphone kind equipment configuration audio frequency output channel being inserted into.Above-mentioned main control chip can be directed to the access of the 4th interface Headset plug carries out type identification, audio frequency parameter is adjusted according to the type identified, the type earphone to be coordinated accordingly to play It is used in equipment, realizes self-adapting estimation and configuration of the above-mentioned playback equipment to be inserted into earphone.
The present embodiment, can by the detection of voltage corresponding to the first headset plug test side and the second headset plug test side It is accurately identified with the headset plug accessed to the 4th interface, simplifies corresponding identification process.
As one embodiment, refering to what is shown in Fig. 4, above-mentioned main control chip 20 can also set the first electret wheat input terminal MIC0 and the second electret wheat input terminal MIC1, the first electret wheat input terminal MIC0 connects third by the first capacitance 31 Interface 13, the second electret wheat input terminal MIC1 connect the 4th interface 14, the third interface 13 by the second capacitance 32 External bias power supply circuit is connected by first resistor 33, the 4th interface 14 connects the biasing by second resistance 34 Power circuit.
Above-mentioned first resistor 33 and second resistance 34 are respectively biasing resistor, and above-mentioned first capacitance, 31 and second capacitance 32 divides It Wei not capacitance.
In the present embodiment, main control chip 20 can also carry out the first electret wheat input terminal MIC0 and the second electret wheat is defeated Enter to hold the setting of MIC1, as shown in figure 4, above-mentioned first electret wheat input terminal MIC0 can pass sequentially through the first capacitance 31 and One resistance 33 connects external bias power circuit, and the second electret wheat input terminal MIC1 can pass sequentially through the second capacitance 32 and the Two resistance 34 connect external bias power circuit, so that main control chip passes through above-mentioned first electret wheat input terminal MIC0 or second Electret wheat input terminal MIC1 opens the bias voltage of electret microphone, and the electret microphone for be inserted into earphone is matched It puts.
As one embodiment, above-mentioned main control chip is detecting the 4th voltage Vad4Equal to first voltage Vad1Or Second voltage Vad2When, headset plug of the headset plug of the 4th interface for OMTP standards is inserted into judgement;Detecting the third Voltage Vad3 is equal to first voltage Vad1Or second voltage Vad2When, the headset plug that the 4th interface is inserted into judgement is CTIA standards Headset plug.
As one embodiment, if the headset plug is the headset plug of OMTP standards, the main control chip closes the Headset plug test side VCMO1 is set as earphone common end, by the first electret by the output of one headset plug test side VCMO0 Body wheat input terminal MIC0 is set as the input pin of electret microphone, accesses the bias power supply circuit and opens electret mike The bias voltage of wind, and be that audio frequency output channel is configured in the earphone being inserted into according to OMTP standards.
Above-mentioned main control chip can also adjust the audio frequency parameter of playback equipment that earphone is inserted into according to OMTP standards, to match Use of the earphone on playback equipment is closed, realizes self-adapting estimation and configuration of the above-mentioned playback equipment to be inserted into earphone.
In the present embodiment, main control chip detects Vad3≠Vad4, and Vad1(or Vad2)=Vad4When, it can close VCMO0's Output, earphone common end is set as by VCMO1, and MIC0 is set as to the input pin of electret microphone, opens electret wheat The bias voltage of gram wind, and be that audio frequency output channel is configured in the earphone kind equipment being inserted into according to OMTP standards, adjustment earphone is inserted Enter the audio frequency parameter of playback equipment, to ensure the accuracy in above-mentioned earphone class setting configuration process.
As one embodiment, if the headset plug is the headset plug of CTIA standards, the main control chip closes the First headset plug test side VCMO0 is set as earphone common end, by second by the output of two headset plug test side VCMO1 Electret wheat input terminal MIC1 is set as the input pin of electret microphone, accesses the bias power supply circuit and opens electret The bias voltage of microphone, and be that audio frequency output channel is configured in the earphone being inserted into according to CTIA standards.
Above-mentioned main control chip can also adjust the audio frequency parameter of playback equipment that earphone is inserted into according to CTIA standards, to match Use of the earphone on playback equipment is closed, realizes self-adapting estimation and configuration of the above-mentioned playback equipment to be inserted into earphone.
In the present embodiment, main control chip is detecting Vad3≠Vad4, and Vad1(or Vad2)=Vad3When, close the defeated of VCMO1 Go out, VCMO0 is set as earphone common end, MIC1 is set as to the input pin of electret microphone, open electret mike The bias voltage of wind, and be that audio frequency output channel is configured in the earphone kind equipment being inserted into according to CTIA standards, adjustment earphone is inserted into The audio frequency parameter of playback equipment, it is ensured that the accuracy of corresponding earphone configuration.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of earphone recognition apparatus, which is characterized in that including main control chip, first interface, second interface, third interface and Four interfaces;
The first interface, second interface, third interface and the 4th interface are arranged in earphone jack, are respectively connected to headset plug Any one port in end, common end and electret wheat end, the first common voltage test side connection of the main control chip the One interface, the second common voltage test side connection second port of main control chip, the first headset plug test side of main control chip Third interface is connected, the second headset plug test side of main control chip connects the 4th interface;
The main control chip obtain respectively the first voltage of the first common voltage test side, the second common voltage test side second 4th voltage of voltage, the tertiary voltage of the first headset plug test side and the second headset plug test side, according to described The insert state of one voltage and second voltage identification earphone, according to the tertiary voltage and the 4th voltage identification third interface or Whether the 4th interface accesses headset plug, and the audio frequency output channel of earphone is inserted into according to recognition result configuration.
2. earphone recognition apparatus according to claim 1, which is characterized in that the main control chip respectively inserts the first earphone The output voltage of head test side and the second headset plug test side is disposed as setting voltage value, opens the detection of the first common voltage The pull down resistor at end if recognizing the first voltage is equal to ground terminal voltage, judges that headset plug is not inserted into earphone jack;If It recognizes the first voltage and is more than ground terminal voltage, then judge that headset plug is inserted into earphone jack.
3. earphone recognition apparatus according to claim 1, which is characterized in that the main control chip respectively inserts the first earphone The output voltage of head test side and the second headset plug test side is disposed as setting voltage value, opens the detection of the second common voltage The pull down resistor at end if recognizing the second voltage is equal to ground terminal voltage, judges that headset plug is not inserted into earphone jack;If It recognizes the second voltage and is more than ground terminal voltage, then judge that headset plug is inserted into earphone jack.
4. the earphone recognition apparatus according to Claims 2 or 3, which is characterized in that the main control chip judges headset plug Be inserted into earphone jack after, set respectively the first headset plug test side output voltage values and the second headset plug test side it is defeated Go out voltage value, when detecting that the tertiary voltage is equal with the 4th voltage, judgement third interface access headset plug.
5. earphone recognition apparatus according to claim 4, which is characterized in that the main control chip judgement third interface access After headset plug, the output of the first headset plug test side or the second headset plug test side is closed, by first earphone Plug test side or the second headset plug test side are set as earphone common end, and audio output is configured for third interface and leads to Road.
6. the earphone recognition apparatus according to Claims 2 or 3, which is characterized in that the main control chip judges headset plug Be inserted into earphone jack after, set respectively the first headset plug test side output voltage values and the second headset plug test side it is defeated Go out voltage value, when detecting that the tertiary voltage and the 4th voltage are unequal, judgement the 4th interface access headset plug.
7. earphone recognition apparatus according to claim 6, which is characterized in that the main control chip sets the first electret wheat Input terminal and the second electret wheat input terminal, the first electret wheat input terminal pass through the first capacitance connection third interface, institute The second electret wheat input terminal is stated by the 4th interface of the second capacitance connection, the third interface connects external by first resistor Bias power supply circuit, the 4th interface connects the bias power supply circuit by second resistance.
8. earphone recognition apparatus according to claim 7, which is characterized in that the main control chip is detecting the described 4th When voltage is equal to first voltage or second voltage, the headset plug that the 4th interface is inserted into judgement is inserted for the earphone of OMTP standards Head;When detecting that the tertiary voltage is equal to first voltage or second voltage, the headset plug of the 4th interface is inserted into judgement Headset plug for CTIA standards.
9. earphone recognition apparatus according to claim 8, which is characterized in that if the headset plug is the ear of OMTP standards Machine transplanting of rice head, the main control chip close the output of the first headset plug test side, and headset plug test side is set as earphone public affairs First electret wheat input terminal, is set as the input pin of electret microphone, accesses the bias power supply circuit and open by end altogether The bias voltage of electret microphone is opened, and is that audio frequency output channel is configured in the earphone being inserted into according to OMTP standards.
10. earphone recognition apparatus according to claim 8, which is characterized in that if the headset plug is CTIA standards Headset plug, the main control chip close the output of the second headset plug test side, the first headset plug test side are set as Second electret wheat input terminal is set as the input pin of electret microphone, accesses the bias supply by earphone common end Circuit opens the bias voltage of electret microphone, and is that audio frequency output channel is configured in the earphone being inserted into according to CTIA standards.
CN201711489463.9A 2017-12-30 2017-12-30 Earphone recognition device Active CN108196818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711489463.9A CN108196818B (en) 2017-12-30 2017-12-30 Earphone recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711489463.9A CN108196818B (en) 2017-12-30 2017-12-30 Earphone recognition device

Publications (2)

Publication Number Publication Date
CN108196818A true CN108196818A (en) 2018-06-22
CN108196818B CN108196818B (en) 2021-03-19

Family

ID=62587421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711489463.9A Active CN108196818B (en) 2017-12-30 2017-12-30 Earphone recognition device

Country Status (1)

Country Link
CN (1) CN108196818B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109638911A (en) * 2018-12-14 2019-04-16 珠海市杰理科技股份有限公司 Charge telecommunication circuit, system, method, intelligent terminal and its accessory
CN110430503A (en) * 2019-08-06 2019-11-08 合肥联宝信息技术有限公司 A kind of audio socket

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917659A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Detection device, method and mobile terminal of earphone circuit
CN102404665A (en) * 2010-09-07 2012-04-04 中兴通讯股份有限公司 Earphone interface self-adaptation circuit
US20140064512A1 (en) * 2012-08-29 2014-03-06 Samsung Electronics Co., Ltd. Earphone connection interface, terminal including the same, and method of operating terminal
CN103945317A (en) * 2014-04-25 2014-07-23 矽力杰半导体技术(杭州)有限公司 Detection method and circuit for detecting type of earphone connector
CN104683915A (en) * 2013-11-28 2015-06-03 展讯通信(上海)有限公司 Electronic equipment and earphone detection circuit, method and device
CN105101001A (en) * 2015-09-18 2015-11-25 青岛海信移动通信技术股份有限公司 Earphone identification device and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917659A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Detection device, method and mobile terminal of earphone circuit
CN102404665A (en) * 2010-09-07 2012-04-04 中兴通讯股份有限公司 Earphone interface self-adaptation circuit
US20140064512A1 (en) * 2012-08-29 2014-03-06 Samsung Electronics Co., Ltd. Earphone connection interface, terminal including the same, and method of operating terminal
CN104683915A (en) * 2013-11-28 2015-06-03 展讯通信(上海)有限公司 Electronic equipment and earphone detection circuit, method and device
CN103945317A (en) * 2014-04-25 2014-07-23 矽力杰半导体技术(杭州)有限公司 Detection method and circuit for detecting type of earphone connector
CN105101001A (en) * 2015-09-18 2015-11-25 青岛海信移动通信技术股份有限公司 Earphone identification device and terminal equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ARPIT MEHTA MAXIM 公司: "利用低功耗比较器自动检测音频附件", 《设计应用》 *
CHUN-YEN TSENG ETAL.: "An Integrated 1.2V-to-6V CMOS Charge-Pump for Electret Earphone", 《2007 IEEE SYMPOSIUM ON VLSI CIRCUITS》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109638911A (en) * 2018-12-14 2019-04-16 珠海市杰理科技股份有限公司 Charge telecommunication circuit, system, method, intelligent terminal and its accessory
CN109638911B (en) * 2018-12-14 2020-08-25 珠海市杰理科技股份有限公司 Charging communication circuit, system and method, intelligent terminal and accessory thereof
CN110430503A (en) * 2019-08-06 2019-11-08 合肥联宝信息技术有限公司 A kind of audio socket

Also Published As

Publication number Publication date
CN108196818B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN102404665B (en) A kind of earphone interface adaptive circuit
CN104519444B (en) Audio signal processing circuit and audio system
CN105848028B (en) Earphone for charging for audio frequency apparatus and be audio frequency apparatus charging method
CN101841588B (en) Audio interface device and electronic device using same
CN105120390B (en) Headphone socket, headphone plug and electronic device
CN105554606A (en) Digital earphone and electronic device
CN101287202A (en) Earphone detecting method for mobile terminal
CN107172515A (en) Test earphone plug is inserted in mobile terminal detection circuit and mobile terminal
CN201750528U (en) Audio processing device
CN106465005A (en) Earphone type identification method, apparatus and terminal device
CN104093114B (en) A kind of detection means of earphone keystroke, detecting system and detection method
CN202750144U (en) Walkie-talkie mobile phone
CN107885480A (en) Interface detects circuit and audio frequency apparatus
CN204968070U (en) Earphone socket, Headphone plug and electronic equipment
CN108196818A (en) Earphone recognition apparatus
CN105142072B (en) A kind of audio devices and audio frequency playing method of external player
WO2019100750A1 (en) Method, circuit, and device for eliminating crosstalk between audio signal playback channels
CN107635171B (en) Circuit for improving earphone compatibility
CN107005762A (en) Audio connector recognition methods and portable electric appts
CN106231460B (en) The multiplexing method and device of earphone interface
CN108322882A (en) Earphone plug detection circuit, headset detection device and audio frequency apparatus
CN104093104A (en) Circuit and method for eliminating POP sound of earphone
CN107205191A (en) A kind of interior recording device extended by ear microphone jack and method
CN202750221U (en) External audio broadcasting device
CN108769847A (en) A kind of microphone and implementation method with intelligent conversion interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.