CN107885480A - Interface detects circuit and audio frequency apparatus - Google Patents

Interface detects circuit and audio frequency apparatus Download PDF

Info

Publication number
CN107885480A
CN107885480A CN201710957979.5A CN201710957979A CN107885480A CN 107885480 A CN107885480 A CN 107885480A CN 201710957979 A CN201710957979 A CN 201710957979A CN 107885480 A CN107885480 A CN 107885480A
Authority
CN
China
Prior art keywords
pin
earphone
channel
resistance
channel pin
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.)
Pending
Application number
CN201710957979.5A
Other languages
Chinese (zh)
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.)
TCL Tongli Electronics Huizhou Co Ltd
Original Assignee
TCL Tongli Electronics Huizhou 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 TCL Tongli Electronics Huizhou Co Ltd filed Critical TCL Tongli Electronics Huizhou Co Ltd
Priority to CN201710957979.5A priority Critical patent/CN107885480A/en
Publication of CN107885480A publication Critical patent/CN107885480A/en
Pending legal-status Critical Current

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)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stereophonic Arrangements (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The present invention, which discloses a kind of interface detection circuit and audio frequency apparatus, the circuit, to be included:Earphone base, its L channel pin has the original state mutually abutted when earphone male is not inserted into earphone jack with earphone base detection pin, and the working condition being constantly separated from each other is inserted in the earphone jack in earphone male;Male insertion detection circuit, detect and export the first level signal when L channel pin is in original state with earphone base detection pin;Second electrical level signal is exported when detecting L channel pin and in running order earphone base detection pin;Equipment detects circuit, the equipment inserted by L channel pin or R channel pin test earphone seat jack, and detection signal corresponding to output;Main control chip, when jumping to second electrical level signal by the first level signal of male insertion detection circuit output is detected, the power amplifier audio according to corresponding to equipment detects the detection signal configuration of circuit output.The equipment of automatic identification earphone base access of the present invention, and the audio according to corresponding to exporting access device.

Description

Interface detects circuit and audio frequency apparatus
Technical field
The present invention relates to power amplifier technology field, more particularly to a kind of interface detection circuit and audio frequency apparatus.
Background technology
At present, the COBBAIF (earphone base) of most of audio frequency apparatuses, such as audio 3.5mm interfaces, may be inserted into ear Machine, while tone frequency channel wire can also be inserted, and audio signal is output to the audio amplifier of rear end by COBBAIF.Audio frequency apparatus due to Can not the insertion of automatic identification COBBAIF be earphone or tone frequency channel wire, it is fixed that audio frequency apparatus can only pass through COBBAIF output Audio.
So, COBBAIF access be audio amplifier when, if audio frequency apparatus output be EQ audios, the EQ audios meeting and audio amplifier The EQ audios superposition itself possessed, and influence sound effect.And COBBAIF access be earphone when, if audio frequency apparatus export For bypass signals, now, do not possess EQ audios again in earphone, and influence earphone audio.
The content of the invention
The main object of the present invention is to propose a kind of interface detection circuit and audio frequency apparatus, it is intended to realizes automatic identification earphone The equipment that seated connection enters, and the audio according to corresponding to exporting access device, fixed audio can only be exported so as to solve audio frequency apparatus, And the problem of influenceing equipment audio.
To achieve the above object, the present invention proposes a kind of interface detection circuit, and the interface detection circuit includes:
Earphone base, the earphone base include earphone jack, the L channel pin being arranged in the earphone jack, R channel pin And earphone base detection pin;The L channel pin has with earphone base detection pin is not inserted into the earphone jack in earphone male The original state mutually abutted when interior, and the working condition being separated from each other when earphone male is inserted in the earphone jack;
Male insertion detection circuit, for detecting the L channel pin with earphone base detection pin in described first During beginning state, the first level signal is exported;Detecting that the L channel pin and the earphone base detection pin is in the work During state, second electrical level signal is exported;
Equipment detects circuit, for detecting what the earphone jack was inserted by the L channel pin or the R channel pin Equipment, and detection signal corresponding to output;
Main control chip, for detecting the output signal of the male insertion detection circuit by first level signal When jumping to the second electrical level signal, the detection signal of circuit output, power amplifier sound corresponding to configuration are detected according to the equipment Effect.
Preferably, the L channel pin is flexible, when the earphone male inserts the earphone jack, the left sound Road pin is promoted by the earphone male, is separated from each other with earphone base detection pin;Pulled out in the earphone male from earphone jack When going out, the L channel pin elasticity is recovered, and is mutually abutted with earphone base detection pin.
Preferably, the male insertion detection circuit includes first resistor, second resistance, 3rd resistor and the first electric capacity, The first end of the first resistor and earphone base detection pin electrical connection, the second end and the master control of the first resistor First detection pin of chip and the first end interconnection of the second resistance, the second end and the first dc source of the second resistance Connection;The first end of the 3rd resistor is electrically connected with the L channel pin, the second end ground connection of the 3rd resistor;It is described First electric capacity is arranged in series between the second end of the first resistor and ground.
Preferably, the equipment detection circuit includes the 4th resistance, the 5th resistance, the 6th resistance, the 7th resistance and first Electronic switch, first end and the L channel pin or the R channel pin of the 4th resistance are electrically connected, the 4th electricity Second end of resistance interconnects with the controlled end of the first end of the 5th resistance and first electronic switch;First electronic cutting The first conduction terminal closed interconnects with the first end of the 6th resistance and the first end of the 7th resistance, first electronic switch Second conduction terminal is grounded;Second end of the 5th resistance interconnects with the second end of the 6th resistance and the first dc source; Second end of the 7th resistance is connected with the second detection pin of the main control chip.
Preferably, first electronic switch is NPN type triode, and the base stage of the NPN type triode is described first The controlled end of electronic switch, the first conduction terminal of extremely described first electronic switch of current collection of the NPN type triode are described Second conduction terminal of extremely described first electronic switch of transmitting of NPN type triode.
Preferably, the equipment detection circuit also includes the second electric capacity, and second electric capacity is arranged in series in the described 4th Between second end of resistance and ground.
Preferably, the interface detection circuit also first including being used to discharge the electrostatic of the L channel pin is quiet Discharge of electricity pipe and the second static discharge pipe for being discharged to the electrostatic of the R channel, the first static discharge pipe string Connection is arranged between the L channel pin and ground;The second static discharge pipe is arranged in series in the R channel pin and ground Between.
Preferably, the interface detection circuit also includes being used to filter out the 4th of the interference signal of the L channel pin access 3rd electric capacity of electric capacity and the interference signal for filtering out the R channel pin access, the 3rd electric capacity are arranged in series in described Between R channel pin and ground;4th electric capacity is arranged in series between the L channel pin and ground.
The present invention also proposes a kind of audio frequency apparatus, including interface as described above detection circuit and power amplifier module, described to connect The L channel pin and the R channel pin L channel output end and R channel output end with the power amplifier module respectively of mouthful detection circuit Connection;The interface detection circuit includes:Earphone base, the earphone base include earphone jack, are arranged in the earphone jack L channel pin, R channel pin and earphone base detection pin;The L channel pin has public in earphone with earphone base detection pin Head is not inserted into the original state mutually abutted when in the earphone jack, and inserts phase in the earphone jack in earphone male The working condition mutually separated;The male insertion detection circuit, for detecting the L channel pin and earphone base inspection When survey pin is in the original state, the first level signal is exported;Detecting the L channel pin and earphone base detection When pin is in the working condition, second electrical level signal is exported;The equipment detects circuit, for by the L channel pin or The equipment that the R channel pin detects the earphone base jack insertion, and detection signal corresponding to output;The main control chip, use When detecting that first level signal jumps to the second electrical level signal, circuit output is detected according to the equipment Detection signal, power amplifier audio corresponding to configuration.
The present invention has headset plug or tone frequency channel wire plug to insert by setting male insertion detection circuit in earphone base Enter, and make under L channel pin promoted by headset plug or tone frequency channel wire plug, when being separated from each other with earphone base detection pin, output the Two level signals, so as to detect that first level signal of male insertion detection circuit output jumps to described for main control chip During the level signal upset of second electrical level signal, examined according to corresponding to the equipment input impedance that equipment detection electric circuit inspection arrives Signal, power amplifier audio corresponding to configuration are surveyed, if the equipment of access is audio amplifier, bypass signals is exported, possesses to adapt to itself Have balanced device (EQ) audio amplifier, if access for earphone, EQ signals are exported, to adapt to the ear that itself does not have balanced device (EQ) Machine.The equipment that the present invention realizes the access of automatic identification earphone base, and the audio according to corresponding to exporting access device, so as to solve Audio frequency apparatus can only export fixed audio, and the problem of influence equipment audio.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Structure according to these accompanying drawings obtains other accompanying drawings.
Fig. 1 is that interface of the present invention detects the functional schematic that circuit is applied to the embodiment of audio frequency apparatus one;
Fig. 2 is the electrical block diagram that interface detects the embodiment of circuit one in Fig. 1.
Drawing reference numeral explanation:
Label Title Label Title
10 Male insertion detection circuit LINE_DET First detection pin
20 Equipment detects circuit EAR_DET Second detection pin
30 Main control chip R1~R7 The resistance of first resistor~the 7th
J1 Earphone base C1~C4 The electric capacity of first electric capacity~the 4th
L L channel pin ESD1 First static discharge pipe
R R channel pin ESD2 Second static discharge pipe
DET Earphone base detects pin AU_L L channel output end
Q1 First electronic switch AU_R R channel output end
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only the part of the embodiment of the present invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its His embodiment, belongs to the scope of protection of the invention.
If it is to be appreciated that related in the embodiment of the present invention directionality instruction (such as up, down, left, right, before and after ...), Then directionality instruction be only used for explaining relative position relation under a certain particular pose (as shown in drawings) between each part, Motion conditions etc., if the particular pose changes, directionality instruction also correspondingly changes therewith.
If in addition, relating to the description of " first ", " second " etc. in the embodiment of the present invention, " first ", " second " etc. are somebody's turn to do Description be only used for describing purpose, and it is not intended that instruction or implying its relative importance or implicit indicating indicated skill The quantity of art feature.Thus, " first " is defined, the feature of " second " can be expressed or implicitly includes at least one spy Sign.In addition, the technical scheme between each embodiment can be combined with each other, but must be with those of ordinary skill in the art's energy Based on enough realizations, the knot of this technical scheme is will be understood that when the combination appearance of technical scheme is conflicting or can not realize Conjunction is not present, also not within the protection domain of application claims.
The present invention proposes a kind of interface detection circuit, and applied to audio frequency apparatus, the audio frequency apparatus can be Android TV, just Taking formula computer, mobile phone etc. has the audio frequency apparatus of power amplifier module.
In these audio frequency apparatuses, COBBAIF, also known as earphone base, such as audio 3.5mm interfaces, both it may be inserted into Earphone, while tone frequency channel wire can also be inserted, and audio signal is output to the audio amplifier of rear end by COBBAIF.Audio frequency apparatus can To export bypass signals and EQ signals, bypass signals are used to adapt to itself possess the audio amplifier for having balanced device (EQ), and EQ believes Number be used for adapt to itself do not have balanced device (EQ) earphone.But these audio frequency apparatuses can not automatic identification COBBAIF insert What is entered is earphone or tone frequency channel wire, and audio frequency apparatus can only export default audio by COBBAIF, and can not be adapted to automatically outer The earphone or audio amplifier of portion's access export suitable audio.So, COBBAIF access be audio amplifier when, if audio frequency apparatus Still EQ audios are exported, the EQ audios that the EQ audios can possess in itself with audio amplifier are superimposed, and influence sound effect.And connect in audio When what mouth accessed is earphone, if audio frequency apparatus output is bypass signals, now, do not possess EQ audios again in earphone, finally again Earphone audio can be influenceed.
Reference picture 1 and Fig. 2, in order to solve the above problems, in an embodiment of the present invention, interface detection circuit includes: Earphone base J1, male insertion detection circuit 10, equipment detection circuit 20 and main control chip 30;The inspection of male insertion detection circuit 10 Survey pin to be electrically connected with the L channel pin L, output end and the equipment detection circuit of the male insertion detection circuit 10 20 the first detection pin LINE_DET connections, the test side and the L channel pin L or described right sides of the equipment detection circuit 20 The R connections of sound channel pin, the second detection pin EAR_DET and equipment detection circuit 20 of the main control chip 30 output end connect Connect.Wherein,
Earphone base J1, the earphone base J1 include earphone jack (figure does not indicate), the left side being arranged in the earphone jack Sound channel pin L, R channel pin R and earphone base detection pin DET;The L channel pin L has in ear with earphone base detection pin DET Machine male is not inserted into the original state mutually abutted when in the earphone jack, and is inserted in earphone male in the earphone jack When the working condition that is separated from each other;L channel pin L is flexible, during earphone or audio OIR, when the earphone When male inserts the earphone jack, the L channel pin L is promoted by the earphone male, with earphone base detection pin DET It is separated from each other;When the earphone male is extracted from earphone jack, the L channel pin L elasticity is recovered, and is examined with the earphone base Pin DET is surveyed mutually to abut.
The male insertion detection circuit 10, for detecting the L channel pin L and earphone base detection pin DET During in the original state, the first level signal is exported;Detecting the L channel pin L and earphone base detection pin When DET is in the working condition, second electrical level signal is exported;Wherein, earphone male can be earphone Earphone joint or Access the audio frequency cable joint of audio amplifier.
The equipment detects circuit 20, for detecting the earphone base by the L channel pin L or described R channel pin R The equipment of J1 jacks insertion, and detection signal corresponding to output.
In the present embodiment, the equipment of insertion earphone base J1 insertions can be earphone or audio amplifier, it is to be understood that earphone It is different from the impedance of audio amplifier, the input impedance of earphone is generally 16 Ω or 32 Ω, and the input impedance of audio amplifier is generally higher than 10K Ω, the headset plug of earphone or the tone frequency channel wire plug of audio amplifier are when inserting in earphone base J1, headset plug or tone frequency channel wire Plug forms current loop with L channel pin L, the R channel pin R in earphone base J1, so according to the input of earphone or audio amplifier Voltage signal corresponding to impedance output is different, you can detect access is earphone or audio amplifier.
The main control chip 30, for when detecting that first level signal jumps to the second electrical level signal, The detection signal of the output of circuit 20, power amplifier audio corresponding to configuration are detected according to the equipment.
It should be noted that Android TV, portable computer, mobile phone etc. have in the audio frequency apparatus of power amplifier module, mostly Loudspeaker is additionally provided with to export the audio signal of power amplifier module output, and the L channel of loudspeaker and R channel and earphone base J1 L channel pin L and R channel pin R respectively connect with the L channel output terminals A U_L and R channel output terminals A U_R of audio-frequency module Connect.Usually, when earphone base J1 inserts without earphone male, audio signal is exported by the L channel and R channel of loudspeaker, And when earphone base J1 has the insertion of earphone male, earphone male can be by loudspeaker short circuit, and audio signal is passed through earphone base J1 Be output to in the earphone base J1 earphones being connected or audio amplifier.Exported in audio signal by the L channel and R channel of loudspeaker When, audio signal can also be transferred to earphone base J1 L channel pin L and R channel pin R, and equipment detection circuit 20 is to pass through L channel pin L or R channel pin R detect the equipment of the earphone base J1 jacks insertion, reference picture 1 or Fig. 2, the present embodiment with Illustrated exemplified by being detected by R channel pin R.In order to avoid equipment detection circuit 20 and main control chip 30 malfunction, this reality Example is applied by setting male insertion detection circuit 10, and has headset plug or the insertion of tone frequency channel wire plug in earphone base J1, and Make under L channel pin L promoted by headset plug or tone frequency channel wire plug, when being separated from each other with earphone base detection pin DET, output the Two level signals so that main control chip 30 detect male insertion detection circuit 10 export level signal upset when, according to institute State the detection signal that equipment detection circuit 20 exports, power amplifier audio corresponding to configuration.
Specifically, when headset plug or tone frequency channel wire plug insert, under the active force that earphone or tone frequency channel wire insert, earphone Seat J1 L channel pin L disconnects with earphone base detection pin DET to be electrically connected;Male insertion detection circuit 10 is detecting the left side Sound channel pin L and the earphone base detection pin DET disconnect when being electrically connected, the male insertion detection circuit 10 export described the One level signal jumps to the second electrical level signal, so that main control chip 30 detects what male insertion detection circuit 10 exported When level signal is overturn, the detection signal according to corresponding to the equipment detects the equipment input impedance that detects of circuit 20, configuration Corresponding power amplifier audio, if the equipment of access is audio amplifier, bypass signals are exported, have balanced device (EQ) to adapt to itself possess Audio amplifier, if access for earphone, EQ signals are exported, to adapt to the earphone that itself does not have balanced device (EQ).
When earphone heads or tone frequency channel wire plug are extracted, earphone base J110 earphone base detection pin DET and the left sound of lowermost end Road pin L recovers elasticity and abutted, that is, touches electrical connection, return to original state, and male insertion detection circuit 10 is described in detect When L channel pin L abuts with earphone base detection pin DET recovery elasticity, the male insertion detection circuit 10 exports described Second electrical level signal jumps to first level signal, so that main control chip 30 is detecting that male insertion detection circuit 10 is defeated During the level signal upset gone out, stop the detection signal for detecting circuit 20 according to the equipment and exporting, power amplifier sound corresponding to configuration Effect, even if namely main control chip 30 receive equipment detection circuit 20 export detection signal, be also failure to actuate.
The present invention has headset plug or tone frequency channel wire plug by setting male insertion detection circuit in earphone base J1 Insertion, and make L channel pin L under by headset plug or the promotion of tone frequency channel wire plug, when being separated from each other with earphone base detection pin DET, Second electrical level signal is exported, so that main control chip 30 detects first level signal that male insertion detection circuit 10 exports When jumping to the level signal upset of the second electrical level signal, inputted according to the equipment that equipment detection circuit 20 detects Detection signal corresponding to impedance, power amplifier audio corresponding to configuration, if the equipment of access is audio amplifier, bypass signals are exported, with Adapt to itself possess the audio amplifier for having balanced device (EQ), if access for earphone, EQ signals are exported, to adapt to itself without equal The earphone of weighing apparatus (EQ).The equipment that the present invention realizes the access of automatic identification COBBAIF, and exported and corresponded to according to access device Audio, the problem of can only exporting fixed audio so as to solve audio frequency apparatus, and influence equipment audio.
It is understood that above-mentioned first level signal and second electrical level signal can be low level signal respectively and high Level signal, when when being from the beginning not inserted into, male insertion detection circuit exports low level first level signal to master control core Piece 30, and when there is the insertion of earphone male, then the second electrical level signal of high level is exported to main control chip 30.
Reference picture 1 and Fig. 2, in a preferred embodiment, the male insertion detection circuit 10 include first resistor R1, the Two resistance R2,3rd resistor R3 and the first electric capacity C1, the first resistor R1 first end and earphone base detection pin DET electricity Gas connects, first detection pin LINE_DET and second electricity of the second end of the first resistor R1 with the main control chip 30 R2 first end interconnection is hindered, the second end of the second resistance R2 is connected with the first dc source VCC1;The 3rd resistor R3 First end and the L channel pin L be electrically connected, the second end ground connection of the 3rd resistor R3;The first electric capacity C1 series connection It is arranged between the first resistor R1 and ground.
In the present embodiment, there is no the insertion of earphone male in earphone base J1, i.e., no headset plug or tone frequency channel wire plug are inserted Enter, earphone base detection pin DET is touched with L channel pin L when abutting, and first resistor R1 one end is through earphone base detection pin DET, a left side Sound channel pin L and 3rd resistor R3 ground connection, first resistor R1 the second end connect through second resistance R2 and the first dc source VCC1 Connect, export voltage division signal to the first of main control chip 30 after first resistor R1, second resistance R2,3rd resistor R3 series connection partial pressures Detection pin LINE_DET, first resistor R1 and 3rd resistor R3 resistance are much smaller than second resistance R2, divide on second resistance R2 Voltage is to export to main control chip 30 first voltage for detecting pin LINE_DET, can be specifically calculated according to formula (1):
UR3=VCC1* (R1+R3)/(R1+R2+R3); (1)
When first resistor R1, second resistance R2,3rd resistor R3 resistance value are respectively 200K, 1K and 10K, and first When dc source VCC1 voltages are 3V, substitute into calculate UR3 voltage is 0.156V, thus when no earphone male is inserted, The level that main control chip 30 first detects pin LINE_DET is pulled low, and is inputted as low level.
First resistor R1 and the first electric capacity C1 composition RC integrating circuits, when audio frequency apparatus is started shooting, in RC integrating circuits, First electric capacity C1 charging interval T can be calculated according to formula T=RC, substitute into parameter and calculate to obtain T=0.113mS, be converted into Frequency=1/0.113=8.84Hz, and the sound that human ear can be heard is 20~20KHz, not in the range of human ear is listened to, therefore When audio frequency apparatus is started shooting, male insertion detection circuit 10 can also reduce audio frequency apparatus and produce POP noise.
When earphone base J1 has the insertion of earphone male, L channel pin L in the case where headset plug or tone frequency channel wire plug promote, with Earphone base detection pin DET is separated from each other, and first resistor R1 and second resistance R2, which disconnects, to be electrically connected, and first resistor R1 is in open circuit State, now second resistance R2 is pull-up resistor, and the first dc source VCC1 voltages are exported to main control chip through second resistance R2 30 the first detection pin LINE_DET, the level of main control chip 30 is driven high, and inputs as high level, so as to complete signal upset, If main control chip 30 detects high level, the detection signal of the output of circuit 20, audio corresponding to configuration are detected according to equipment.
Reference picture 1 and Fig. 2, in a preferred embodiment, the main control chip 30 include the 4th resistance R4, the 5th resistance R5, the 6th resistance R6, the 7th resistance R7 and the first electronic switch Q1, first end and the L channel pin of the 4th resistance R4 L or described R channel pin R is electrically connected, the second end of the 4th resistance R4 and the first end of the 5th resistance R5 and described First electronic switch Q1 controlled end interconnection;The first conduction terminal of the first electronic switch Q1 and the 6th resistance R6 first end And the first end interconnection of the 7th resistance R7, the second conduction terminal ground connection of the first electronic switch Q1;5th resistance R5 the second end interconnects with the second end of the 6th resistance R6 and the first dc source VCC1;The second of the 7th resistance R7 Hold and be connected with the second detection pin EAR_DET of the main control chip 30.
In the present embodiment, the first electronic switch Q1 is NPN type triode, and the base stage of the NPN type triode is institute The first electronic switch Q1 controlled end is stated, the first of the extremely described first electronic switch Q1 of current collection of the NPN type triode leads Go side, the extremely described first electronic switch Q1 of transmitting of the NPN type triode the second conduction terminal.
After it is high level that main control chip 30, which detects the first detection pin LINE_DET level upset, main control chip 30 is opened Begin to detect the level state that pin EAR_DET is surveyed in the second school.When headset plug or tone frequency channel wire plug insert, the metal portion of plug Divide and form current loop, the 4th resistance R4 first end and L channel pin L or R channel pin R with L channel pin L, R channel pin R Connection, the input impedance of earphone or the input impedance of audio amplifier and the 4th resistance R4 are connected partial pressure with the 5th resistance R5, and are exported To the base stage of NPN triode, to control the first electronic switch Q1 conduction and cut-offs.The voltage Ub of NPN transistor base can be according to public affairs Formula (2) is calculated:
Ub=VCC1 × (R4+ input impedance)/(R4+R5+ input impedance)
It is 16 Ω or 32 Ω that the input impedance of earphone, which is generally, and the input impedance of sound equipment is generally more than 10K.Work as earphone When inserting earphone base J1, the base voltage Ub of NPN triode substitutes into formula calculating and obtains Ub=0.391V finally, less than the poles of NPN tri- The conducting voltage of pipe, NPN triode are in cut-off state, and the first dc source VCC1 supply voltage is through the 6th resistance R6 and Seven resistance R7 are exported to the second of main control chip 30 and are detected pin EAR_DET, and the level of main control chip 30 is driven high, and are inputted as high electricity It is flat.When the tone frequency channel wire plug of audio amplifier comes in and goes out earphone base J1, the base voltage Ub of NPN triode substitutes into formula calculating and obtains Ub finally =0.6V, NPN triode conducting, and low level signal is exported to the second detection pin EAR_DET of main control chip 30, main control chip 30 level is pulled low, and is inputted as low level.So, main control chip 30 can be according to the second detection pin EAR_DETEAR_DET electricity Level state, test earphone seat J1 accesses are earphone or sound equipment, so as to configure corresponding audio.
Reference picture 1 and Fig. 2, further, in above-described embodiment, the equipment detection circuit 20 also includes the second electric capacity C2, the second electric capacity C2 are arranged in series between the 4th resistance R4 and ground.
In the present embodiment, when audio frequency apparatus is started shooting, the 5th resistance R5 and the second electric capacity C2 composition RC integrating circuit, and fill Electricity arrives Q1 conducting voltage, and the second electric capacity C2 charging interval T can be calculated according to formula T=RC, substitutes into parameter and calculates to obtain T =0.22mS, frequency=1/0.22=4.54Hz is converted into, and the sound that human ear can be heard is 20~20KHz, is not received in human ear In the range of listening, therefore when audio frequency apparatus is started shooting, even if earphone base J1 has been connected to audio amplifier before start, it will not also produce POP noise.And after earphone inserts, upper voltage jump Ut=earphone inputs impedance/(earphone load+R4+ of earphone input impedance R5), substitute into formula and can be calculated Ut ≈ 0V, will not also produce POP noise, therefore when audio frequency apparatus is started shooting, equipment detection electricity Road 20 can also reduce audio frequency apparatus and produce POP noise.
Reference picture 1 and Fig. 2, in a preferred embodiment, the interface detection circuit also include being used for the L channel Pin L the first static discharge pipe ESD1 discharge and the second electrostatic for being discharged to the electrostatic of the R channel are put Fulgurite ESD2, the first static discharge pipe ESD1 are arranged in series between the L channel pin L and ground;Second electrostatic is put Fulgurite ESD2 is arranged in series between the R channel and ground.
In the present embodiment, by setting the first static discharge pipe ESD1 and the second static discharge pipe ESD2, so that L channel When electrostatic on pin L and R channel pin R reaches certain voltage grade, the electrostatic on L channel pin L and R channel pin R is put Electricity, the first static discharge pipe ESD1 and the second static discharge pipe ESD2 will be audio amplifier or earphone and audio frequency apparatus circuit energy The electrostatic outside scope born is discharged by ground wire, to avoid electrostatic from being crosstalked into by left and right acoustic channels pin R the audio of audio frequency apparatus In module, audio-frequency module is damaged.
Reference picture 1 and Fig. 2, in a preferred embodiment, the interface detection circuit also include being used to filter out the left sound 4th electric capacity C4 of the interference signal of road pin L accesses and the interference signal for filtering out the R channel pin R accesses the 3rd electricity Hold C3, the 4th electric capacity C4 is arranged in series between the L channel pin L and ground;The 3rd electric capacity C3 is arranged in series in institute State between R channel and ground.
In the present embodiment, when the 3rd electric capacity C3 and the 4th electric capacity C4 are used to filter out earphone base J1 access earphones or audio amplifier, By the L channel either input nonlinearities signal of earphone or audio amplifier on sound channel pin, or filter out on the audio-frequency module of audio frequency apparatus It is output to the interference signal of L channel or sound channel pin.
The present invention also proposes a kind of audio frequency apparatus, and the audio frequency apparatus includes power amplifier module and interface as described above detects Circuit.The detailed construction of interface detection circuit can refer to above-described embodiment, and here is omitted;It is understood that due to Above-mentioned interface detection circuit is used in audio frequency apparatus of the present invention, therefore, the embodiment of audio frequency apparatus of the present invention is including above-mentioned Interface detects whole technical schemes of circuit whole embodiments, and the technique effect reached is also identical, no longer superfluous herein State;Wherein,
The L channel pin and R channel pin of the interface detection circuit L channel output end with the power amplifier module respectively Connected with R channel output end.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every at this Under the inventive concept of invention, the equivalent structure transformation made using description of the invention and accompanying drawing content, or directly/use indirectly It is included in other related technical areas in the scope of patent protection of the present invention.

Claims (9)

1. a kind of interface detects circuit, it is characterised in that the interface detection circuit includes:
Earphone base, the earphone base include earphone jack, the L channel pin being arranged in the earphone jack, R channel pin and ear Support detects pin;The L channel pin has when earphone male is not inserted into the earphone jack with earphone base detection pin The original state mutually abutted, and the working condition that is constantly separated from each other is inserted in the earphone jack in earphone male;
Male insertion detection circuit, for detecting that the L channel pin and the earphone base detection pin is in the initial shape During state, the first level signal is exported;Detecting that the L channel pin and the earphone base detection pin is in the working condition When, export second electrical level signal;
Equipment detects circuit, for detecting setting for the earphone jack insertion by the L channel pin or the R channel pin It is standby, and detection signal corresponding to output;
Main control chip, for being redirected in the output signal for detecting the male insertion detection circuit by first level signal During to the second electrical level signal, the detection signal of circuit output, power amplifier audio corresponding to configuration are detected according to the equipment.
2. interface as claimed in claim 1 detects circuit, it is characterised in that the L channel pin is flexible, in the ear When machine male inserts the earphone jack, the L channel pin is promoted by the earphone male, and pin phase is detected with the earphone base Mutually separation;When the earphone male is extracted from earphone jack, the L channel pin elasticity is recovered, and pin is detected with the earphone base Mutually abut.
3. interface as claimed in claim 1 detects circuit, it is characterised in that the male insertion detection circuit includes the first electricity Resistance, second resistance, 3rd resistor and the first electric capacity, the first end of the first resistor electrically connect with earphone base detection pin Connecing, the second end of the first resistor and the first end of the first detection pin of the main control chip and the second resistance interconnect, Second end of the second resistance is connected with the first dc source;The first end of the 3rd resistor and the L channel pin are electric Connection, the second end ground connection of the 3rd resistor;First electric capacity is arranged in series in the second end of the first resistor and ground Between.
4. interface as claimed in claim 1 detects circuit, it is characterised in that the equipment detection circuit include the 4th resistance, 5th resistance, the 6th resistance, the 7th resistance and the first electronic switch, the first end of the 4th resistance and the L channel pin or The R channel pin electrical connection, the second end of the 4th resistance and the first end of the 5th resistance and first electronics The controlled end interconnection of switch;First conduction terminal of first electronic switch and the first end of the 6th resistance and the 7th resistance First end interconnection, first electronic switch the second conduction terminal ground connection;The second end and the described 6th of 5th resistance Second end of resistance and the interconnection of the first dc source;Second end of the 7th resistance and the second detection pin of the main control chip Connection.
5. interface as claimed in claim 4 detects circuit, it is characterised in that first electronic switch is NPN type triode, The base stage of the NPN type triode is the controlled end of first electronic switch, and the current collection of the NPN type triode is extremely described First conduction terminal of the first electronic switch, the second conducting of extremely described first electronic switch of transmitting of the NPN type triode End.
6. interface as claimed in claim 4 detects circuit, it is characterised in that the equipment detection circuit also includes the second electricity Hold, second electric capacity is arranged in series between the second end and ground of the 4th resistance.
7. the interface detection circuit as described in claim 1 to 6 any one, it is characterised in that the interface detection circuit is also Including for the first static discharge pipe discharged to the electrostatic of the L channel pin and for the electrostatic to the R channel The the second static discharge pipe discharged, the first static discharge pipe are arranged in series between the L channel pin and ground;Institute The second static discharge pipe is stated to be arranged in series between the R channel pin and ground.
8. the interface detection circuit as described in claim 1 to 6 any one, it is characterised in that the interface detection circuit is also The 4th electric capacity including the interference signal for filtering out L channel pin access and for filtering out the R channel pin access 3rd electric capacity of interference signal, the 3rd electric capacity are arranged in series between the R channel pin and ground;The 4th electric capacity string Connection is arranged between the L channel pin and ground.
A kind of 9. audio frequency apparatus, it is characterised in that the interface inspection including power amplifier module and as described in any one of claim 1 to 8 Slowdown monitoring circuit, the L channel pin and R channel pin of interface detection circuit respectively with the L channel output end of the power amplifier module and R channel output end connects.
CN201710957979.5A 2017-10-12 2017-10-12 Interface detects circuit and audio frequency apparatus Pending CN107885480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710957979.5A CN107885480A (en) 2017-10-12 2017-10-12 Interface detects circuit and audio frequency apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710957979.5A CN107885480A (en) 2017-10-12 2017-10-12 Interface detects circuit and audio frequency apparatus

Publications (1)

Publication Number Publication Date
CN107885480A true CN107885480A (en) 2018-04-06

Family

ID=61781452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710957979.5A Pending CN107885480A (en) 2017-10-12 2017-10-12 Interface detects circuit and audio frequency apparatus

Country Status (1)

Country Link
CN (1) CN107885480A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254753A (en) * 2018-09-27 2019-01-22 京东方科技集团股份有限公司 Audio signal interface circuit and its device, control method, playback equipment
CN111698614A (en) * 2020-05-25 2020-09-22 歌尔光学科技有限公司 Audio output circuit and electronic equipment
CN112566001A (en) * 2020-12-04 2021-03-26 广州朗国电子科技有限公司 Earphone detection circuit and terminal equipment
CN114047384A (en) * 2021-11-04 2022-02-15 展讯通信(上海)有限公司 Low-impedance device testing module, system and method based on crosstalk principle
WO2022078037A1 (en) * 2020-10-16 2022-04-21 海信视像科技股份有限公司 Control circuit, receiving apparatus, and control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404665A (en) * 2010-09-07 2012-04-04 中兴通讯股份有限公司 Earphone interface self-adaptation circuit
CN103037282A (en) * 2012-11-29 2013-04-10 深圳Tcl新技术有限公司 Wireless speaker box system
CN203120126U (en) * 2013-03-08 2013-08-07 北京三博德胜科技有限公司 Headset loudspeaker box with automatic switchover function
CN105657613A (en) * 2016-03-29 2016-06-08 广州视源电子科技股份有限公司 Audio output method and device
CN106775558A (en) * 2016-11-29 2017-05-31 青岛海信移动通信技术股份有限公司 Method, device and the audio for obtaining earphone Optimal Parameters provide method, system
CN206212256U (en) * 2016-03-29 2017-05-31 广州视源电子科技股份有限公司 Equipment and system with audio output

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404665A (en) * 2010-09-07 2012-04-04 中兴通讯股份有限公司 Earphone interface self-adaptation circuit
CN103037282A (en) * 2012-11-29 2013-04-10 深圳Tcl新技术有限公司 Wireless speaker box system
CN203120126U (en) * 2013-03-08 2013-08-07 北京三博德胜科技有限公司 Headset loudspeaker box with automatic switchover function
CN105657613A (en) * 2016-03-29 2016-06-08 广州视源电子科技股份有限公司 Audio output method and device
CN206212256U (en) * 2016-03-29 2017-05-31 广州视源电子科技股份有限公司 Equipment and system with audio output
CN106775558A (en) * 2016-11-29 2017-05-31 青岛海信移动通信技术股份有限公司 Method, device and the audio for obtaining earphone Optimal Parameters provide method, system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254753A (en) * 2018-09-27 2019-01-22 京东方科技集团股份有限公司 Audio signal interface circuit and its device, control method, playback equipment
CN111698614A (en) * 2020-05-25 2020-09-22 歌尔光学科技有限公司 Audio output circuit and electronic equipment
CN111698614B (en) * 2020-05-25 2021-10-26 歌尔光学科技有限公司 Audio output circuit and electronic equipment
WO2022078037A1 (en) * 2020-10-16 2022-04-21 海信视像科技股份有限公司 Control circuit, receiving apparatus, and control method
CN114642001A (en) * 2020-10-16 2022-06-17 海信视像科技股份有限公司 Control circuit, receiving device and control method
CN112566001A (en) * 2020-12-04 2021-03-26 广州朗国电子科技有限公司 Earphone detection circuit and terminal equipment
CN114047384A (en) * 2021-11-04 2022-02-15 展讯通信(上海)有限公司 Low-impedance device testing module, system and method based on crosstalk principle
CN114047384B (en) * 2021-11-04 2024-05-07 展讯通信(上海)有限公司 Low-impedance device testing module, system and method based on crosstalk principle

Similar Documents

Publication Publication Date Title
CN107885480A (en) Interface detects circuit and audio frequency apparatus
CN102595300B (en) Apparatus for detecting faults of loudspeakers and loudspeaker system
CN101951446B (en) It is connected to the detection of the ancillary equipment of electronic equipment via audio/video plug, identifies and operate
CA2301254C (en) Noise cancellation system for active headsets
CN105848028B (en) Earphone for charging for audio frequency apparatus and be audio frequency apparatus charging method
CN101729958A (en) Audio frequency output device
CN103686535A (en) Terminal capable of automatically recognizing headset microphone and karaoke devices, and recognition method thereof
CN108028978A (en) Audio connector and circuit
CN103002367A (en) Mobile device for multi-channel sound collection and output using common connector, and driving method thereof
CN101990144A (en) Double earphone adapter, main board and method for detecting double earphones
CN102638745A (en) Earphone compatible method and system for terminal equipment and interface circuit of terminal equipment
CN104284274B (en) The audio component of electronic device and the application electronic device
CN203734822U (en) Automatic identification circuit for audio port connection modes and audio playback device
CN107438222A (en) It is a kind of to break and short-circuit detecting circuit and method towards earphone/headset loudspeaker
CN105142072A (en) Audio apparatus with externally connected player and audio playing method thereof
CN107635171A (en) A kind of circuit for improving earphone compatible
CN103813235B (en) A kind of method and device of information processing
CN104093104A (en) Circuit and method for eliminating POP sound of earphone
CN207475793U (en) It is a kind of can free switching audio output headset plug
CN206650845U (en) Headset detection device and intelligent electronic device
CN108769847A (en) A kind of microphone and implementation method with intelligent conversion interface
CN205666925U (en) A earphone for being audio equipment charges
CN208971820U (en) A kind of earphone insertion detection circuit, earphone isolation circuit and electronic equipment
CN204968055U (en) Wireless microphone receiver and microphone socket
CN107800853A (en) Memory, mobile phone and its voicefrequency circuit and the outer of audio file put method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406