[go: up one dir, main page]

CN103686535B - The terminal and recognition methods of automatic identification ear microphone and karaoke equipment - Google Patents

The terminal and recognition methods of automatic identification ear microphone and karaoke equipment Download PDF

Info

Publication number
CN103686535B
CN103686535B CN201310629940.2A CN201310629940A CN103686535B CN 103686535 B CN103686535 B CN 103686535B CN 201310629940 A CN201310629940 A CN 201310629940A CN 103686535 B CN103686535 B CN 103686535B
Authority
CN
China
Prior art keywords
earphone
audio
terminal
input
karaoke
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310629940.2A
Other languages
Chinese (zh)
Other versions
CN103686535A (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.)
TCL Corp
Original Assignee
TCL Corp
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 Corp filed Critical TCL Corp
Priority to CN201310629940.2A priority Critical patent/CN103686535B/en
Publication of CN103686535A publication Critical patent/CN103686535A/en
Application granted granted Critical
Publication of CN103686535B publication Critical patent/CN103686535B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses the terminal and recognition methods of automatic identification ear microphone and karaoke equipment, its terminal includes detection module, fuselage MIC input modules, loudspeaker, audio processing modules and processor.When detection module detection has external equipment insertion, detection signal is exported to processor, processor is earphone or karaoke equipment according to the judgement insertion of the height of detection signal, when being not inserted into equipment, audio processing modules control audio signal to be inputted for fuselage MIC input modules, are exported by loudspeaker;When inserting karaoke equipment, audio signal is switched to and inputted by Karaoke, is exported by loudspeaker;When inserting earphone, audio processing modules judge whether earphone is the earphone with microphone;Inputted by ear microphone if so, then switching to audio signal, exported by earphone;Otherwise, control audio signal to be inputted for fuselage MIC, exported by earphone, so as to realize earphone, ear microphone and the function of Karaoke by earphone socket.

Description

The terminal and recognition methods of automatic identification ear microphone and karaoke equipment
Technical field
The present invention relates to electronic product, the terminal of more particularly to a kind of automatic identification ear microphone and karaoke equipment and Recognition methods.
Background technology
At present, the most earphone in market is the earphone with four-section type headset plug, and its headset plug is divided into four sections:Respectively It is L channel(L), R channel(R),(G)And microphone(M).The earphone, which disclosure satisfy that, listens music, the demand such as Video chat, but Function without Karaoke.
With the improvement of living standards, the use of intelligent television is more and more common, some joys such as meet are carried out at home Karaoke is used sometimes when happy movable, and the Karaoke interface on intelligent television is bigger, influences the attractive in appearance of television set, And the earphone interface on TV and Karaoke interface can not be multiplexed, and cause the interface on intelligent television a lot, it is impossible to meet intelligence Requirement of the energy TV to lightening development.
Thus prior art could be improved and improve.
The content of the invention
In view of in place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of automatic identification ear microphone Terminal and recognition methods with karaoke equipment, to solve that in existing middle karaoke equipment insertion earphone socket OK a karaoke club can not be realized The problem of OK functions.
In order to achieve the above object, this invention takes following technical scheme:
A kind of terminal of automatic identification ear microphone and karaoke equipment, it includes:Detection module, fuselage MIC inputs Module, loudspeaker, audio processing modules and processor, the detection module, fuselage MIC input modules, loudspeaker and processor with Audio processing modules connect;
The detection module has detected whether external equipment insertion, when being not inserted into external equipment, audio processing modules Control audio signal to be inputted for fuselage MIC input modules, exported by loudspeaker;In being exported when there is external equipment insertion to processor Break signal and detection signal, the external equipment inserted according to the low and high level condition adjudgement of detection signal of having no progeny within a processor are Earphone or karaoke equipment;
When the external equipment of insertion is karaoke equipment, audio signal is switched to and set by Karaoke by audio processing modules Standby input, is exported by loudspeaker;When the external equipment of insertion is earphone, audio processing modules judge whether earphone is band microphone Earphone;Inputted by ear microphone if so, then switching to audio signal, exported by earphone;Otherwise, the audio signal is controlled to be Fuselage MIC input modules input, and are exported by earphone.
In described automatic identification ear microphone and the terminal of karaoke equipment, the audio processing modules judge earphone When whether being the earphone with microphone, judge whether mic_bias electric currents exceed preset value by audio processing modules, if so, then sentencing Disconnected earphone is the earphone without microphone, keeps audio input to be inputted for fuselage MIC input modules;If it is not, then judge that earphone is Earphone with microphone, switching audio input are the microphone input of earphone.
In described automatic identification ear microphone and the terminal of karaoke equipment, in addition to for amplifying Karaoke input Audio signal amplification module, the amplification module is connected between detection module and audio processing modules.
In described automatic identification ear microphone and the terminal of karaoke equipment, the detection module includes:
Earphone socket, it includes audio signal input terminal, ground terminal, two audio signal output terminals, two inspections Survey terminal, pull-up resistor and pull down resistor;
For inputting the Karaoke input block of karaoke signal;
For inputting earphone Mike's input block of earphone Mike's signal;
For to the earpiece audio output unit of earphone exports audio signal;
Wherein, the 1st end of a detection terminal connects an audio signal output terminal, and the 2nd end of the detection terminal connects Connect the interrupt signal test side of processor, be also grounded by pull down resistor, one audio signal output terminal passes through pull-up Resistance connection 3P3V feeder ears, the detection signal test side for being also connected with the audio processing modules and processor;
1st end of another detection terminal connects another audio signal output terminal, and the 2nd end of another detection terminal hangs Sky, another audio signal output terminal connection audio processing modules;
The Karaoke input block connects the audio signal input of earphone socket with one end of earphone Mike's input block Terminal, the other end for input block of playing Karaoka connect audio processing modules, the earphone Mike input by the amplification module The other end connection audio processing modules of unit;One end connection audio processing modules of the earpiece audio output unit, earphone The other end of audio output unit connects two audio signal output terminals.
In described automatic identification ear microphone and the terminal of karaoke equipment, the amplification module includes:
For the first filter unit being filtered to the audio signal after amplification and blocking is handled;
Signal for being exported to the first filter unit is filtered the second filter unit of processing;
First resistor;
Second resistance;
Amplifier chip;
First filter unit one end connection earphone socket audio signal input terminal, the first filter unit it is another One end passes sequentially through the 2nd end that the second filter unit connects amplifier chip with first resistor;The second resistance is connected on amplifier Between 2nd end of chip and the 1st end;The 1st end connection audio processing modules of the amplifier chip, the 8th end of amplifier chip connects Connect VCC feeder ears.
In described automatic identification ear microphone and the terminal of karaoke equipment, the amplification module also includes:Integration Filter unit, the integral filtering unit are in parallel with second resistance.
In described automatic identification ear microphone and the terminal of karaoke equipment, the amplification module also includes:Partial pressure Unit and divider filter unit, the 1st end connection VCC feeder ears of the partial pressure unit and the 8th end of amplifier chip, partial pressure unit The 3rd end of the 2nd end connection amplifier chip and one end of divider filter unit, the 3rd end of partial pressure unit and divider filter unit The other end ground connection.
In described automatic identification ear microphone and the terminal of karaoke equipment, the amplification module also includes:Voltage stabilizing Filter unit, one end connection VCC feeder ears of the voltage regulation filtering unit and the 8th end of amplifier chip, voltage regulation filtering unit The other end is grounded.
A kind of recognition methods of the terminal of above-mentioned automatic identification ear microphone and karaoke equipment, including:
A, the detection module has detected whether external equipment insertion;
B, when being not inserted into external equipment, audio processing modules control audio signal to be inputted for fuselage MIC input modules, Exported by loudspeaker;When there is external equipment insertion interrupt signal and detection signal, root of having no progeny within a processor are exported to processor The external equipment inserted according to the low and high level condition adjudgement of detection signal is earphone or karaoke equipment;
C, when the external equipment of insertion is karaoke equipment, audio processing modules switch to audio signal by playing Karaoka Equipment inputs, and is exported by loudspeaker;When the external equipment of insertion is earphone, audio processing modules judge whether earphone is band Mike The earphone of wind;Inputted by ear microphone if so, then switching to audio signal, exported by earphone;Otherwise, audio signal is controlled Input for fuselage MIC input modules, exported by earphone.
In described recognition methods, in the step C, the audio processing modules judge whether earphone is with microphone During earphone, judge whether mic_bias electric currents exceed preset value by audio processing modules, if so, then judging earphone for without Mike The earphone of wind, audio input is kept to be inputted for fuselage MIC input modules;If it is not, then judge that earphone for the earphone with microphone, is cut Change the microphone input that audio input is earphone.
Compared to prior art, terminal and the identification of automatic identification ear microphone and karaoke equipment provided by the invention Method, when detection module detection has external equipment insertion, output detection signal is to processor, and processor is according to detection signal The external equipment of low and high level condition adjudgement insertion is earphone or karaoke equipment, when being not inserted into external equipment, audio Processing module controls audio signal to be inputted for fuselage MIC input modules, is exported by loudspeaker;When have external equipment insert and it is external When equipment is karaoke equipment, audio signal is switched to and inputted by Karaoke by audio processing modules, is exported by loudspeaker;It is outer when having Connect equipment insertion and external equipment is when being earphone, audio processing modules judge whether earphone is the earphone with microphone;If so, Then audio signal is switched to and inputted by ear microphone, is exported by earphone;Otherwise, audio signal is controlled to be inputted for fuselage MIC Module inputs, and is exported by earphone, so as to realize earphone, ear microphone and the function of Karaoke by earphone socket.
Brief description of the drawings
Fig. 1 is the structured flowchart of the terminal of automatic identification ear microphone of the present invention and karaoke equipment.
Fig. 2 be automatic identification ear microphone of the present invention and karaoke equipment terminal in detection module circuit diagram.
Fig. 3 be automatic identification ear microphone of the present invention and karaoke equipment terminal in amplification module circuit diagram.
The flow chart of the recognition methods of the terminal of Fig. 4 automatic identification ear microphones of the present invention and karaoke equipment.
Embodiment
The present invention provides a kind of terminal and the recognition methods of automatic identification ear microphone and karaoke equipment, to make this hair Bright purpose, technical scheme and effect are clearer, clear and definite, and the embodiment that develops simultaneously referring to the drawings is to of the invention further detailed Explanation.It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The terminal of automatic identification ear microphone and karaoke equipment provided by the invention, according in Karaoke and earphone Resistance is different, solves earphone socket while supports Kara OK function, the terminal be intelligent television, tablet personal computer, desktop computer, Notebook computer etc..Referring to Fig. 1, it is the structural frames of the terminal of automatic identification ear microphone of the present invention and karaoke equipment Figure.
It is defeated that the automatic identification ear microphone of the present invention and the terminal of karaoke equipment include detection module 10, fuselage MIC Enter module 20, loudspeaker 30, audio processing modules 40 and processor 50, the detection module 10, fuselage MIC input modules 20, loudspeaker 30 and processor 50 be connected with audio processing modules 40.
Wherein, the detection module 10 has detected whether external equipment insertion, when being not inserted into external equipment, at audio Reason module controls audio signal to be inputted for fuselage MIC input modules, is exported by loudspeaker;When there is external equipment insertion to processor 50 output interrupt signals and detection signal, have no progeny what is inserted according to the low and high level condition adjudgement of detection signal in the processor 50 External equipment is earphone or karaoke equipment.
When external equipment is inserted in detection module 10, detection module 10 exports interrupt signal to processor 50 and detection is believed Number, interrupt signal, which is mainly used to notifier processes device 50, to be had in external equipment insertion detection module 10, and detection signal is mainly used to sentence The type of disconnected external equipment.Wherein, when detection signal is high level, expression external equipment is karaoke equipment;When detection is believed When number being low level, expression external equipment is earphone.
When it is implemented, the class for the external equipment whether state of external equipment can be inserted and insert according to external equipment Type is divided into:It is not inserted into external equipment, the external equipment of insertion is karaoke equipment, the external equipment of insertion is with microphone Earphone and the external equipment of insertion are the earphone without microphone.
Wherein, when being not inserted into external equipment, it is fuselage MIC input modules that audio processing modules 40, which control audio signal, 20 inputs, are exported by loudspeaker 30;When thering is external equipment to insert and external equipment is karaoke equipment, audio processing modules 40 Audio signal is switched to and inputted by karaoke equipment, is exported by loudspeaker 30;When having, external equipment inserts and external equipment is ear During machine, audio processing modules 40 judge whether earphone is the earphone with microphone;If so, then audio signal is switched to by earphone Microphone input, exported by earphone;Otherwise, control audio signal to be inputted for fuselage MIC input modules 20, exported by earphone.
Due to when detection signal is low level, processor 50 is only capable of judging that external equipment is earphone, its concrete outcome Audio processing modules 40 are also needed to determine whether, and the input and output of the audio of terminal are also complete by audio processing modules 40 Into.
The audio processing modules 40 can use audio chip, when for judging earphone whether being the earphone with microphone, Judge mic_bias especially by audio processing modules 40(Microphone bias electric current)Whether electric current exceedes preset value(Such as 300uA), if so, then judging earphone for the earphone without microphone, it is that fuselage MIC input modules 20 input to keep audio input; If it is not, then judging earphone for the earphone with microphone, switching audio input is the microphone input of earphone.
In order to increase the acoustics of karaoke equipment, automatic identification ear microphone provided by the invention is set with Karaoke Standby terminal also includes amplification module 60, and the amplification module 60 is connected between detection module 10 and audio processing modules 40 and used In the audio signal of amplification karaoke equipment input, so as to increase the acoustics of karaoke equipment.
Also referring to Fig. 2, it is to detect mould in the terminal of automatic identification ear microphone of the present invention and karaoke equipment The circuit diagram of block.As depicted in figs. 1 and 2, the detection module 10 includes earphone socket 101, Karaoke input block 102, ear Machine Mike input block 103 and earpiece audio output unit 104.Wherein, the earphone socket 101 includes audio signal input end Son 1, ground terminal 2, two audio signal output terminals 3,4, two detection terminals 5,6, pull-up resistor R01 and pull down resistor R02.Wherein, pull-up resistor R01 resistance is 10K Ω and pull down resistor R02 resistance is 100K Ω.
Wherein, the audio signal input terminal 1 of one end connection earphone socket 101 of the Karaoke input block 102, card The other end of OK input blocks 102 is drawn to connect audio processing modules 40 by the amplification module 60, by audio signal input end Son 1 inputs karaoke signal, and is inputted audio signal amplification into audio processing modules 40 by amplification module 60.
The audio signal input terminal 1 of one end connection earphone socket 101 of the earphone Mike input block 103, earphone The other end connection audio processing modules 40 of Mike's input block 103, input earphone Mike by audio signal input terminal 1 and believe Number, and input in audio processing modules 40 and handled.
One end connection audio processing modules 40 of the earpiece audio output unit 104, earpiece audio output unit 104 The other end connects two audio signal output terminals 3,4, and audio signal after being handled from audio processing modules 40 is from this to earphone The earphone exports audio signal of audio output unit 104.
In the embodiment of the present invention, the Karaoke input block 102, earphone Mike input block 103, earpiece audio output Unit 104 is functional module, it is believed that is that the respective terminal of earphone socket 101 and the internal circuit of earphone socket 101 can be real Existing function.
Referring to Fig. 1 and Fig. 2, when it is implemented, the audio signal output terminal 3,4 exports for left and right sound channels Terminal HP_L, HP_R, and only need to detect whether external equipment inserts using a detection terminal 5 or 6, in detection terminal 5 or 6 When detection has external equipment insertion, connected audio signal output terminal 3 or 4 exports corresponding according to the type of external equipment The flat detection signal of height.
Its circuit connecting mode is:One detection terminal 5(Or detection terminal 6)The 1st end connect an audio signal Lead-out terminal 3(Or audio signal output terminal 4), the detection terminal 5(Or detection terminal 6)The 2nd end connection processor 50 interrupt signal test side HP_DET, also it is grounded by pull down resistor R02, one audio signal output terminal 3(Or Audio signal output terminal 4)By pull-up resistor R01 connection 3P3V feeder ears J1, it is also connected with the and of audio processing modules 40 The detection signal test side EARP_DET of processor 50.Wherein, the interrupt signal test side HP_DET of processor 50 and detection are believed Number test side EARP_DET is the I/O port of processor(That is input/output interface), determine whether that signal is defeated by interrupt mode Enter.
Another detection terminal 6(Or detection terminal 5)The 1st end connect another audio signal output terminal 4(Or audio Signal output terminal 3), another detection terminal 6(Or detection terminal 5)The 2nd end it is hanging, another audio signal output Terminal 4(Or audio signal output terminal 3)Connect audio processing modules 40.When in use, detection terminal need to only use one, Another is blank state, and therefore, its mode of connection has two ways.
In order to be better understood from the present invention, herein to detect the insertion situation of external equipment and class using detection terminal 5 Type, audio signal output terminal 3 are left channel audio signal lead-out terminal HP_L, and audio signal output terminal 4 is R channel sound Frequency signal output terminal HP_R, the connected mode of earphone socket 101 is described in detail:
The 1st end connection left channel audio signal lead-out terminal HP_L of detection terminal 5, the 2nd end connection of the detection terminal 5 The interrupt signal test side HP_DET of processor 50, also it is grounded by pull down resistor R02, the left channel audio signal output end Sub- HP_L by pull-up resistor R01 connection 3P3V feeder ears J1, be also connected with the inspections of the audio processing modules 40 and processor 50 Survey signal detection end EARP_DET.The 1st end connection right channel audio signal lead-out terminal HP_R of detection terminal 6, the test side 2nd end of son 6 is hanging, the right channel audio signal lead-out terminal HP_R connections audio processing modules 40, the ground terminal 2 Ground connection.If detected using detection terminal 6, each terminal and processor 50 and the audio processing modules of earphone socket 101 40 connected mode adjusts accordingly, and here is omitted.
Further, the earphone socket 101 also includes the filtration module being made up of resistance R03 and filter capacitor C01;Institute The resistance for stating resistance R03 is 1K Ω, and its one end connects the detection signal test side EARP_DET and filter capacitor C01 of processor 50 One end, resistance R03 the other end connection audio signal output end 3, filter capacitor C01 the other end ground connection.
Please continue to refer to Fig. 2, exemplified by detecting external equipment by detection terminal 5 below, the detection process of terminal is carried out Describe in detail:
When being not inserted into external equipment, one end of detection terminal 5 abuts audio signal output terminal 3, detection terminal 5 The other end connects the interrupt signal test side HP_DET of processor 50, due to the inspection of audio signal output terminal 3 and processor 50 Signal detection end EARP_DET is surveyed by pull-up resistor R01 connection 3P3V feeder ear J1, due to pull-up resistor R01 effect, Detection terminal 5 is set to be also connected to 3P3V feeder ear J1, now the interrupt signal test side HP_DET and detection signal of processor 50 Test side EARP_DET is high level, and now processor 50 judges to be not inserted into external equipment.
When external equipment is inserted in earphone socket 101, the plug of external equipment can make detection terminal 5 and audio signal defeated Go out terminal 3 to separate, detection terminal 5 is grounded due to pull down resistor R02 effect, now the interrupt signal test side of processor 50 HP_DET is changed into low level.And the detection signal test side EARP_DET of processor 50, mainly for detection of earphone load.If insert What is entered is earphone load, because the resistance in 32 Europe in earphone is present(It is different from the internal resistance of its karaoke equipment), make processor 50 Detection signal test side EARP_DET drag down, now detection signal test side is low level;If insertion is karaoke equipment, Because the internal resistance of karaoke equipment is larger, it is impossible to drag down detection signal test side EARP_DET, so detection signal test side EARP_DET is high level.
After detection external equipment is earphone, also need to judge the type of earphone, the present invention passes through audio frequency process mould Mic_bias size of current in block 40 judges that when mic_bias electric currents are less than or equal to 300uA, then processor 50 judges to insert The equipment entered is earphone or karaoke equipment with microphone;When mic_bias electric currents are more than 300uA, then processor 50 is sentenced The equipment of disconnected insertion is the earphone without microphone.
To sum up, terminal judges that its truth table is as shown in the table during the type of external equipment:
Also referring to Fig. 3, it is to amplify mould in the terminal of automatic identification ear microphone of the present invention and karaoke equipment The circuit diagram of block.As shown in Figures 2 and 3, the amplification module 60 includes:First filter unit 601, the second filter unit 602, First resistor R1, second resistance R2 and amplifier chip U1.
The audio signal input terminal of one end connection earphone socket 101 of first filter unit 601, the first filtering are single The other end of member 601 passes sequentially through the 2nd end that the second filter unit 602 connects amplifier chip U1 with first resistor R1.Karaoke The filter of input second after the first filter unit 601 is filtered and isolated DC level is handled of the MIC_IN signals of equipment output In ripple unit 602, second level filtering process is carried out by the second filter unit 602, thoroughly removes noise signal, then pass through the first electricity Hinder in R1 input amplifier chips U1.
Wherein, the amplifier chip U1 uses model RC4558 integrated chip, and the second resistance R2 is connected in parallel on fortune Put between chip U1 the 2nd end and the 1st end, first resistor R1 and second resistance R2 composition amplifier chips U1 amplification factor are come Amplifier chip U1 multiplication factor is set.
The 1st end connection audio processing modules 40 of the amplifier chip U1, amplifier chip U1 the 8th end connection VCC power supplies J2 is held, amplifier chip U1 the 5th end, the 6th end and the 7th end are hanging, the 4th end ground connection.Certainly in other embodiments, the amplifier core Piece U1 can be replaced directly using the amplifier chip of operational amplifier or other models as needed, and the present invention is not limited this System.
Referring to Fig. 3, in the terminal of automatic identification ear microphone provided by the invention and karaoke equipment, institute Stating amplification module 60 also includes:Integral filtering unit 603, the integral filtering unit 603 is in parallel with second resistance R2, for pair The signal of amplifier first resistor R1 outputs carries out integral filtering processing.
Further, it is described to put in the terminal of automatic identification ear microphone provided by the invention and karaoke equipment Big module 60 also includes:Partial pressure unit 604 and divider filter unit 605, the 1st end connection VCC power supplies of the partial pressure unit 604 Hold J2 and amplifier chip U1 the 8th end, the 2nd end connection amplifier chip U1 of partial pressure unit 604 the 3rd end and divider filter unit 605 one end, the 3rd end ground connection of partial pressure unit 604, the other end ground connection of divider filter unit 605.VCC feeder ears J2 is exported DC voltage through the partial pressure of partial pressure unit 604, and pass through divider filter unit 605 carry out DC level filtering process after input fortune The 8th pin of chip is calculated, is powered to amplifier chip U1.
Further, the amplification module 60 also includes:Voltage regulation filtering unit 606, the voltage regulation filtering unit 606 One end connects VCC feeder ears J2 and amplifier chip U1 the 8th end, the other end ground connection of voltage regulation filtering unit 606, for VCC The voltage of feeder ear J2 outputs carries out voltage stabilizing and filtering process, the stable voltage for inputting amplifier chip U1.
Please continue to refer to Fig. 2 and Fig. 3, in specific implementation process, first filter unit 601 include the first electric capacity C1, 3rd resistor R3 and the 4th resistance R4, the audio signal input terminal 1 of the first electric capacity C1 one end connection earphone socket 101 (That is the MIC_IN connections in the MIC_IN and Fig. 3 in Fig. 2)With one end of the 3rd resistor R3, the filtering of other end connection second The resistance R4 of unit 602 and the 4th one end, the 3rd resistor R3, the 4th resistance R4 other end ground connection.
Second filter unit 602 includes the 5th resistance R5 and the second electric capacity C2, and the 5th resistance R5 is connected on Between one electric capacity the C1 other end and first resistor R1, one end of the second electric capacity C2 connects the 5th resistance R5 one end and the One resistance R1 one end, the second electric capacity C2 other end ground connection.
In the present embodiment, the 5th resistance R5 is used for the multiplication factor for finely tuning amplifier chip U1.The first resistor R1 Resistance be 10K Ω, second resistance R2 resistance is zero Europe resistance for 300K Ω, the 5th resistance R5.Therefore amplifier chip U1 Multiplication factor is R2/(R1+R5)=30.
Please continue to refer to Fig. 3, the partial pressure unit 604 includes the 6th resistance R6 and the 7th resistance R7, the divider filter Unit 605 includes the 3rd electric capacity C3, one end connection VCC feeder ear J2 of the 6th resistance R6, the 6th resistance R6 other end It is grounded by the 7th resistance R7, is also grounded by the 3rd electric capacity C3.Wherein, the resistance of the 6th resistance R6 and the 7th resistance R7 Identical, the voltage for making amplifier chip U1 the 8th end is 1/2 VCC.
The integral filtering unit 603 includes the 4th electric capacity C4, and the 4th electric capacity C4 is connected in parallel on the two of second resistance R2 End, plays integral filtering effect.
Further, the voltage regulation filtering unit 606 also includes the 5th electric capacity C5 and the 6th electric capacity C6, the 5th electricity Hold C5 one end and the 6th electric capacity C6 one end is all connected with VCC feeder ears J2 and amplifier chip U1 the 8th end, the 5th electric capacity The C5 other end and the 6th electric capacity the C6 other end are grounded.
In the amplification module 60, MIC_IN signals input at Karaoke input block 102, single by the first filtering The filter unit 602 of member 601 and second carries out the 2nd end of input amplifier chip U1 after secondary filter processing, by amplifier chip U1 After amplification, exported from amplifier chip U1 the 1st end into audio processing modules 40.Audio signal after it amplifies is 0.5 VCC DC component with 30 times amplification after AC signal composite signal.
The present invention correspondingly provides a kind of recognition methods of above-mentioned terminal, as shown in figure 4, described recognition methods includes:
S100, the detection module have detected whether external equipment insertion;
S200, when being not inserted into external equipment, audio processing modules control audio signal for fuselage MIC input modules it is defeated Enter, exported by loudspeaker;Interrupt signal and detection signal are exported to processor when there is external equipment insertion, is had no progeny within a processor It is earphone or karaoke equipment according to the external equipment that the low and high level condition adjudgement of detection signal inserts;
S300, when the external equipment of insertion is karaoke equipment, audio processing modules switch to audio signal by card The input of OK equipment is drawn, is exported by loudspeaker;When the external equipment of insertion is earphone, audio processing modules judge whether earphone is band The earphone of microphone;Inputted by ear microphone if so, then switching to audio signal, exported by earphone;Otherwise, audio is controlled Signal inputs for fuselage MIC input modules, is exported by earphone.
In the step s 100, interruption is produced when the detection module detection has external equipment insertion, notifier processes device starts Detection.Specifically as described in above-mentioned embodiment.
In step s 200, after processor detects interruption, the detection signal that is exported by processor according to earphone socket Low and high level state, to confirm that external equipment is earphone or karaoke equipment.Specifically as described in above-mentioned embodiment.
In step S300, if insertion terminal is earphone, the type of earphone is made by audio processing modules further Judge, specifically judge whether mic_bias electric currents exceed preset value by audio processing modules, if so, then judging earphone for without wheat The earphone of gram wind, it is the input of fuselage MIC input modules to keep audio input;If it is not, earphone is then judged for the earphone with microphone, Switch the microphone input that audio input is earphone.
The audio processing modules can use audio chip, and its important function is the control after the type of external equipment is judged The input of audio signal processed and the way of output.Specifically as described in above-mentioned embodiment.
Further, terminal and the recognition methods of automatic identification ear microphone and karaoke equipment of the invention, may be used also To judge whether the external equipment of insertion is sound equipment, is further opened up by setting the software in processor and audio processing modules Open up the function of terminal.
In summary, the present invention is capable of the external equipment of automatic identification insertion, and sets phase according to the type of external equipment The audio input and the way of output answered, it is convenient and swift, enable the terminals to reduce by a larger Karaoke interface, make the outward appearance of terminal It is attractive in appearance, be advantageous to terminal to lightening development, enhance the competitiveness of product in market.
It is understood that for those of ordinary skills, can be with technique according to the invention scheme and its hair Bright design is subject to equivalent substitution or change, and all these changes or replacement should all belong to the guarantor of appended claims of the invention Protect scope.

Claims (8)

  1. A kind of 1. terminal of automatic identification ear microphone and karaoke equipment, it is characterised in that including:Detection module, fuselage MIC input modules, loudspeaker, audio processing modules and processor, the detection module, fuselage MIC input modules, loudspeaker and processing Device is connected with audio processing modules;
    The detection module has detected whether external equipment insertion, when being not inserted into external equipment, audio processing modules control Audio signal inputs for fuselage MIC input modules, is exported by loudspeaker;Exported when there is external equipment insertion to processor and interrupt letter Number and detection signal, have no progeny within a processor according to the low and high level condition adjudgement of detection signal insert external equipment be earphone Or karaoke equipment;
    When the external equipment of insertion is karaoke equipment, audio processing modules switch to audio signal defeated by karaoke equipment Enter, exported by loudspeaker;When the external equipment of insertion is earphone, audio processing modules judge whether earphone is the ear with microphone Machine;Inputted by ear microphone if so, then switching to audio signal, exported by earphone;Otherwise, it is fuselage to control audio signal MIC input modules input, and are exported by earphone;
    When external equipment is inserted in detection module, detection module exports interrupt signal and detection signal to processor, interrupts letter Number being used for notifier processes device has in external equipment insertion detection module, and detection signal is used for judging the type of external equipment, wherein, When detection signal is high level, expression external equipment is karaoke equipment;When detection signal is low level, represents external and set Standby is earphone;
    Whether the audio processing modules judge earphone when being the earphone with microphone, judge mic_bias by audio processing modules Whether electric current exceedes preset value, if so, then judging earphone for the earphone without microphone, it is that fuselage MIC is defeated to keep audio input Enter module input;If it is not, then judging earphone for the earphone with microphone, switch the microphone input that audio input is earphone, institute It is audio chip to state audio processing modules.
  2. 2. the terminal of automatic identification ear microphone according to claim 1 and karaoke equipment, it is characterised in that also wrap The amplification module of the audio signal for amplifying Karaoke input is included, the amplification module is connected on detection module and audio frequency process Between module.
  3. 3. the terminal of automatic identification ear microphone according to claim 2 and karaoke equipment, it is characterised in that described Detection module includes:
    Earphone socket, it includes audio signal input terminal, ground terminal, two audio signal output terminals, two test sides Son, pull-up resistor and pull down resistor;
    For inputting the Karaoke input block of karaoke signal;
    For inputting earphone Mike's input block of earphone Mike's signal;
    For to the earpiece audio output unit of earphone exports audio signal;
    Wherein, the 1st end of a detection terminal connects an audio signal output terminal, the 2nd end junction of the detection terminal Manage the interrupt signal test side of device, be also grounded by pull down resistor, one audio signal output terminal passes through pull-up resistor Connection 3P3V feeder ears, the detection signal test side for being also connected with the audio processing modules and processor;
    1st end of another detection terminal connects another audio signal output terminal, and the 2nd end of another detection terminal is hanging, institute State another audio signal output terminal connection audio processing modules;
    The Karaoke input block connects the audio signal input terminal of earphone socket with one end of earphone Mike's input block, The other end of Karaoke input block connects audio processing modules by the amplification module, the earphone Mike input block The other end connects audio processing modules;One end connection audio processing modules of the earpiece audio output unit, earpiece audio are defeated The other end for going out unit connects two audio signal output terminals.
  4. 4. the terminal of the automatic identification ear microphone and karaoke equipment according to Claims 2 or 3, it is characterised in that The amplification module includes:
    For the first filter unit being filtered to the audio signal after amplification and blocking is handled;
    Signal for being exported to the first filter unit is filtered the second filter unit of processing;
    First resistor;
    Second resistance;
    Amplifier chip;
    The audio signal input terminal of one end connection earphone socket of first filter unit, the other end of the first filter unit Pass sequentially through the 2nd end that the second filter unit connects amplifier chip with first resistor;The second resistance is connected on amplifier chip The 2nd end and the 1st end between;The 1st end connection audio processing modules of the amplifier chip, the 8th end connection VCC of amplifier chip Feeder ear.
  5. 5. the terminal of automatic identification ear microphone according to claim 4 and karaoke equipment, it is characterised in that described Amplification module also includes:Integral filtering unit, the integral filtering unit are in parallel with second resistance.
  6. 6. the terminal of automatic identification ear microphone according to claim 4 and karaoke equipment, it is characterised in that described Amplification module also includes:Partial pressure unit and divider filter unit, the 1st end connection VCC feeder ears and amplifier of the partial pressure unit 8th end of chip, the 3rd end of the 2nd end connection amplifier chip and one end of divider filter unit of partial pressure unit, partial pressure unit The other end of 3rd end and divider filter unit is grounded.
  7. 7. the terminal of automatic identification ear microphone according to claim 6 and karaoke equipment, it is characterised in that described Amplification module also includes:Voltage regulation filtering unit, one end connection VCC feeder ears of the voltage regulation filtering unit and the of amplifier chip 8 ends, the other end ground connection of voltage regulation filtering unit.
  8. 8. a kind of recognition methods of the terminal of automatic identification ear microphone and karaoke equipment as claimed in claim 1, it is special Sign is, including:
    A, the detection module has detected whether external equipment insertion;
    B, when being not inserted into external equipment, audio processing modules control audio signal to be inputted for fuselage MIC input modules, by loudspeaker Output;Interrupt signal and detection signal are exported to processor when there is external equipment insertion, is had no progeny within a processor according to inspection The external equipment for surveying the low and high level condition adjudgement insertion of signal is earphone or karaoke equipment;
    C, when the external equipment of insertion is karaoke equipment, audio processing modules switch to audio signal by karaoke equipment Input, is exported by loudspeaker;When the external equipment of insertion is earphone, audio processing modules judge whether earphone is with microphone Earphone;Inputted by ear microphone if so, then switching to audio signal, exported by earphone;Otherwise, it is machine to control audio signal Body MIC input modules input, and are exported by earphone;
    When external equipment is inserted in detection module, detection module exports interrupt signal and detection signal to processor, interrupts letter Number being used for notifier processes device has in external equipment insertion detection module, and detection signal is used for judging the type of external equipment, wherein, When detection signal is high level, expression external equipment is karaoke equipment;When detection signal is low level, represents external and set Standby is earphone;
    In the C, whether the audio processing modules judge earphone when being the earphone with microphone, are judged by audio processing modules Whether mic_bias electric currents exceed preset value, if so, then judging earphone for the earphone without microphone, holding audio input is machine Body MIC input modules input;If it is not, then judging earphone for the earphone with microphone, switching audio input is the microphone of earphone Input, the audio processing modules are audio chip.
CN201310629940.2A 2013-12-02 2013-12-02 The terminal and recognition methods of automatic identification ear microphone and karaoke equipment Expired - Fee Related CN103686535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310629940.2A CN103686535B (en) 2013-12-02 2013-12-02 The terminal and recognition methods of automatic identification ear microphone and karaoke equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310629940.2A CN103686535B (en) 2013-12-02 2013-12-02 The terminal and recognition methods of automatic identification ear microphone and karaoke equipment

Publications (2)

Publication Number Publication Date
CN103686535A CN103686535A (en) 2014-03-26
CN103686535B true CN103686535B (en) 2017-11-10

Family

ID=50322576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310629940.2A Expired - Fee Related CN103686535B (en) 2013-12-02 2013-12-02 The terminal and recognition methods of automatic identification ear microphone and karaoke equipment

Country Status (1)

Country Link
CN (1) CN103686535B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005762B (en) * 2015-04-09 2019-12-13 华为技术有限公司 Audio connector identification method and portable electronic device
CN106973341B (en) * 2016-01-13 2020-12-11 厦门雅迅网络股份有限公司 Moving-coil microphone insertion detection device and method based on vehicle-mounted multimedia
CN105681951B (en) * 2016-01-29 2018-03-06 广东欧珀移动通信有限公司 A kind of self-shooting bar recognition methods, device and mobile terminal
CN107360495B (en) * 2016-05-10 2020-01-24 环旭电子股份有限公司 Method for reducing plugging noise of external microphone suitable for android system
GB2551779A (en) 2016-06-30 2018-01-03 Nokia Technologies Oy An apparatus, method and computer program for audio module use in an electronic device
CN106210983A (en) * 2016-07-11 2016-12-07 歌尔股份有限公司 A kind of realize the method for Kara OK function, device and earphone by earphone
CN106210980A (en) * 2016-08-10 2016-12-07 广东欧珀移动通信有限公司 An audio playback method and terminal
CN108668200B (en) * 2018-06-29 2024-04-19 深圳微步信息股份有限公司 Audio payment control circuit and mobile terminal
CN109614070A (en) * 2018-12-12 2019-04-12 宁波市江北雪海音响有限公司 A kind of integral type KTV sound control system
CN109889953A (en) * 2019-03-08 2019-06-14 李志飞 Sound equipment and audio signal and microphone signal input control circuit thereof
CN113316064B (en) * 2021-04-28 2023-01-24 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN118646982A (en) * 2022-12-21 2024-09-13 荣耀终端有限公司 Audio circuit and control method thereof, electronic equipment and audio system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2819226Y (en) * 2005-07-22 2006-09-20 华为技术有限公司 Earphone inserted tester
JP2006352602A (en) * 2005-06-17 2006-12-28 Tamura Seisakusho Co Ltd Device, method, and program for signal processing
CN101316454A (en) * 2007-05-30 2008-12-03 美商富迪科技股份有限公司 Audio interface device and method
CN101938546A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Earphone microphone detection method based on mobile phone and mobile phone
CN102915726A (en) * 2012-10-19 2013-02-06 深圳市益光实业有限公司 Karaoke (OK) system for tablet personal computer and realizing method
CN202979262U (en) * 2012-12-13 2013-06-05 联想(北京)有限公司 Audio system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10320190B4 (en) * 2003-05-07 2005-07-07 Sennheiser Electronic Gmbh & Co. Kg detection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006352602A (en) * 2005-06-17 2006-12-28 Tamura Seisakusho Co Ltd Device, method, and program for signal processing
CN2819226Y (en) * 2005-07-22 2006-09-20 华为技术有限公司 Earphone inserted tester
CN101316454A (en) * 2007-05-30 2008-12-03 美商富迪科技股份有限公司 Audio interface device and method
CN101938546A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Earphone microphone detection method based on mobile phone and mobile phone
CN102915726A (en) * 2012-10-19 2013-02-06 深圳市益光实业有限公司 Karaoke (OK) system for tablet personal computer and realizing method
CN202979262U (en) * 2012-12-13 2013-06-05 联想(北京)有限公司 Audio system

Also Published As

Publication number Publication date
CN103686535A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103686535B (en) The terminal and recognition methods of automatic identification ear microphone and karaoke equipment
CN201349247Y (en) Earphone interface circuit and movable termination
CN101841588B (en) Audio interface device and electronic device using same
CN209375876U (en) Headphone boxes and audio devices
CN101729958A (en) Audio frequency output device
CN105554606B (en) Digital Headphones and Electronic Equipment
CN105491469A (en) Method and system for controlling audio output mode based on wearing earphone state
CN105848028A (en) Earphone for charging audio device and method for charging audio device
WO2016161596A1 (en) Audio connector recognition method and portable electronic device
CN105120390B (en) Headphone socket, headphone plug and electronic device
CN107635171B (en) Circuit for improving earphone compatibility
CN201898602U (en) Passive sound box interface of mobile phone
CN105741863A (en) Method and device for mobile terminal to play voice frequency, and mobile terminal
CN204968070U (en) Earphone socket, Headphone plug and electronic equipment
CN109918041A (en) An audio circuit, related equipment and control method
CN108063992A (en) Bluetooth earphone, earphone switching socket and method for switching between Bluetooth and wired earphone
CN202425042U (en) Earphone plugging-unplugging detecting device of mobile terminal
CN204539418U (en) A kind of multifunctional headphone
US20130114816A1 (en) Audio Coupling System
CN203181164U (en) A handset
CN206650845U (en) Headset detection device and intelligent electronic device
CN108196818A (en) Earphone recognition apparatus
CN201114733Y (en) Earphone circuit and TV with this circuit
CN207184791U (en) A kind of Type C interface circuits based on MTK6750 platforms
CN106028194A (en) Karaoke/Sing Bar Synchronous Monitor Headphones

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171110

CF01 Termination of patent right due to non-payment of annual fee