CN103686535A - Terminal capable of automatically recognizing headset microphone and karaoke devices, and recognition method thereof - Google Patents

Terminal capable of automatically recognizing headset microphone and karaoke devices, and recognition method thereof Download PDF

Info

Publication number
CN103686535A
CN103686535A CN201310629940.2A CN201310629940A CN103686535A CN 103686535 A CN103686535 A CN 103686535A CN 201310629940 A CN201310629940 A CN 201310629940A CN 103686535 A CN103686535 A CN 103686535A
Authority
CN
China
Prior art keywords
earphone
input
audio
karaoke
audio signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310629940.2A
Other languages
Chinese (zh)
Other versions
CN103686535B (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

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a terminal capable of automatically recognizing a headset microphone and karaoke devices, and a recognition method thereof. The terminal comprises a detection module, a terminal MIC input module, a speaker, an audio processing module, and a processing unit. When the detection module detects plugging of an external device, a detection signal is output to the processing unit; the processing unit judges whether the plugged device is the headset or a karaoke device according to the level of the detection signal; when no device is plugged, the audio processing module controls an audio signal as input of the terminal MIC input module, and the audio signal is output by a speaker; when the karaoke device is plugged, the audio signal is switched to karaoke input and is output by the speaker; when the headset is plugged, the audio processing module judges whether the headset is provided with a microphone or not; if yes, the audio signal is switched to be input by the headset microphone and output by the headset; if not, the audio signal is controlled to be input by terminal MIC and output by the microphone. Therefore, the functions of the headset, the headset microphone and karaoke are achieved through a headset socket.

Description

Automatically terminal and the recognition methods of identification ear microphone and karaoke equipment
Technical field
The present invention relates to electronic product, particularly terminal and the recognition methods of a kind of automatic identification ear microphone and karaoke equipment.
Background technology
At present, the maximum earphone in market is the earphone with four-part form headset plug, and its headset plug is divided into four sections: be respectively L channel (L), R channel (R), (G) and microphone (M).This earphone can meet listens to the music, the demands such as Video chat, but do not there is the function of Karaoke.
Along with growth in the living standard, the use of intelligent television is more and more general, while some recreations such as getting together at home, use sometimes karaoke, and Karaoke interface on intelligent television is larger, affect the attractive in appearance of television set, and the earphone interface on TV and Karaoke interface can not be multiplexing, cause the interface on intelligent television a lot, can not meet intelligent television to the requirement of lightening development.
Thereby prior art need to improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide terminal and the recognition methods of a kind of automatic identification ear microphone and karaoke equipment, to solve the problem that can not realize Kara OK function in existing middle karaoke equipment plugged earphone socket.
In order to achieve the above object, the present invention has taked following technical scheme:
The terminal of a kind of automatic identification ear microphone and karaoke equipment, it comprises: detection module, fuselage MIC input module, loudspeaker, audio processing modules and processor, and described detection module, fuselage MIC input module, loudspeaker are all connected with audio processing modules with processor;
Whether described detection module detects has external equipment to insert, and when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert, to processor output interrupt signal and detection signal, the external equipment inserting according to the low and high level state judgement of detection signal of having no progeny in processor is earphone or karaoke equipment;
When the external equipment inserting is karaoke equipment, audio processing modules switches to audio signal by karaoke equipment and inputs, and by loudspeaker, is exported; When the external equipment inserting is earphone, audio processing modules judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is the input of fuselage MIC input module, is exported by earphone.
In described automatic identification ear microphone and the terminal of karaoke equipment, described audio processing modules judges when whether earphone is the earphone with microphone, by audio processing modules, judge whether mic_bias electric current surpasses preset value, if, judge that earphone is the earphone of not being with microphone, keep audio frequency to be input as the input of fuselage MIC input module; If not, judge that earphone is the earphone with microphone, switch the microphone input that audio frequency is input as earphone.
In described automatic identification ear microphone and the terminal of karaoke equipment, also comprise that described amplification module is connected between detection module and audio processing modules for amplifying the amplification module of the audio signal of Karaoke input.
In described automatic identification ear microphone and the terminal of karaoke equipment, described detection module comprises:
Earphone socket, it comprises audio signal input end, earth terminal, two audio signal output end, two detection terminals, pull-up resistor and pull down resistors;
For inputting the Karaoke input unit of Karaoke signal;
For inputting the earphone Mike input unit of earphone Mike signal;
For the earpiece audio output unit to earphone output audio signal;
Wherein, the 1st end of a detection terminal connects audio signal output end, the 2nd end of this detection terminal connects the interrupt signal test side of processor, also by pull down resistor ground connection, described audio signal output end is connected 3P3V feeder ear, is also connected the detection signal test side of described audio processing modules and processor by pull-up resistor;
The 1st end of another detection terminal connects another audio signal output end, and the 2nd end of this another detection terminal is unsettled, described another audio signal output end sub-connection audio processing modules;
Audio signal input end of one end frames connecting with headphone socket of described Karaoke input unit and earphone Mike input unit, the other end of Karaoke input unit connects audio processing modules by described amplification module, and the other end of described earphone Mike input unit connects audio processing modules; One end of described earpiece audio output unit connects audio processing modules, and the other end of earpiece audio output unit connects two audio signal output end.
In described automatic identification ear microphone and the terminal of karaoke equipment, described amplification module comprises:
For the audio signal after amplifying being carried out to filtering and every the first filter unit of straight processing;
For the second filter unit that the signal of the first filter unit output is carried out to filtering processing;
The first resistance;
The second resistance;
Amplifier chip;
Audio signal input end of one end frames connecting with headphone socket of described the first filter unit, the other end of the first filter unit is connected the 2nd end of amplifier chip successively with the first resistance by the second filter unit; Described the second resistance is connected between the 2nd end and the 1st end of amplifier chip; The 1st end of described amplifier chip connects audio processing modules, and the 8th end of amplifier chip connects VCC feeder ear.
In described automatic identification ear microphone and the terminal of karaoke equipment, described amplification module also comprises: integral filtering unit, described integral filtering unit is in parallel with the second resistance.
In described automatic identification ear microphone and the terminal of karaoke equipment, described amplification module also comprises: partial pressure unit and dividing potential drop filter unit, the 1st end of described partial pressure unit connects the 8th end of VCC feeder ear and amplifier chip, the 2nd end of partial pressure unit connects the 3rd end of amplifier chip and one end of dividing potential drop filter unit, the 3rd end of partial pressure unit and the other end ground connection of dividing potential drop filter unit.
In described automatic identification ear microphone and the terminal of karaoke equipment, described amplification module also comprises: voltage regulation filtering unit, one end of described voltage regulation filtering unit connects the 8th end of VCC feeder ear and amplifier chip, the other end ground connection of voltage regulation filtering unit.
A recognition methods for the terminal of above-mentioned automatic identification ear microphone and karaoke equipment, comprising:
Whether A, described detection module detect has external equipment to insert;
B, when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert, to processor output interrupt signal and detection signal, the external equipment inserting according to the low and high level state judgement of detection signal of having no progeny in processor is earphone or karaoke equipment;
C, when the external equipment inserting is karaoke equipment, audio processing modules switches to audio signal by karaoke equipment and inputs, and by loudspeaker, is exported; When the external equipment inserting is earphone, audio processing modules judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is the input of fuselage MIC input module, is exported by earphone.
In described recognition methods, in described step C, described audio processing modules judges when whether earphone is the earphone with microphone, by audio processing modules, judge whether mic_bias electric current surpasses preset value, if, judge that earphone is the earphone of not being with microphone, keep audio frequency to be input as the input of fuselage MIC input module; If not, judge that earphone is the earphone with microphone, switch the microphone input that audio frequency is input as earphone.
Compared to prior art, terminal and the recognition methods of automatic identification ear microphone provided by the invention and karaoke equipment, when detection module detection has external equipment to insert, output detection signal is to processor, the external equipment that processor inserts according to the low and high level state judgement of detection signal is earphone or karaoke equipment, when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert and external equipment is karaoke equipment, audio processing modules switches to audio signal by Karaoke input, by loudspeaker, is exported; When having external equipment to insert and external equipment is earphone, audio processing modules judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is the input of fuselage MIC input module, by earphone, is exported, thereby by earphone socket, realize the function of earphone, ear microphone and Karaoke.
Accompanying drawing explanation
Fig. 1 is the structured flowchart that the present invention identifies the terminal of ear microphone and karaoke equipment automatically.
Fig. 2 is the circuit diagram that the present invention identifies detection module in the terminal of ear microphone and karaoke equipment automatically.
Fig. 3 is the circuit diagram that the present invention identifies amplification module in the terminal of ear microphone and karaoke equipment automatically.
Fig. 4 the present invention identifies the flow chart of recognition methods of the terminal of ear microphone and karaoke equipment automatically.
Embodiment
The invention provides terminal and the recognition methods of a kind of automatic identification ear microphone and karaoke equipment, for making object of the present invention, technical scheme and effect clearer, clear and definite, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The terminal of automatic identification ear microphone provided by the invention and karaoke equipment, different from the internal resistance of earphone according to Karaoke, solved earphone socket and supported Kara OK function simultaneously, described terminal is intelligent television, panel computer, desktop computer, notebook computer etc.Refer to Fig. 1, it is the structured flowchart that the present invention identifies the terminal of ear microphone and karaoke equipment automatically.
The terminal of automatic identification ear microphone of the present invention and karaoke equipment comprises detection module 10, fuselage MIC input module 20, loudspeaker 30, audio processing modules 40 and processor 50, and described detection module 10, fuselage MIC input module 20, loudspeaker 30 and processor 50 are all connected with audio processing modules 40.
Wherein, whether described detection module 10 detects has external equipment to insert, and when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert, to processor 50 output interrupt signal and detection signals, the external equipment inserting according to the low and high level state judgement of detection signal of having no progeny in processor 50 is earphone or karaoke equipment.
When external equipment inserts in detection module 10, detection module 10 is to processor 50 output interrupt signal and detection signals, interrupt signal is mainly used to notification processor 50 has external equipment to insert in detection module 10, and detection signal is mainly used to judge the type of external equipment.Wherein, when detection signal is high level, expression external equipment is karaoke equipment; When detection signal is low level, expression external equipment is earphone.
During concrete enforcement, the type of the external equipment whether state of external equipment can insert and insert according to external equipment is divided into: the external equipment that does not insert external equipment, insertion is that the external equipment of karaoke equipment, insertion is for not with the earphone of microphone with the earphone of microphone and the external equipment of insertion.
Wherein, when not inserting external equipment, it is 20 inputs of fuselage MIC input module that audio processing modules 40 is controlled audio signal, by loudspeaker 30, is exported; When having external equipment to insert and external equipment is karaoke equipment, audio processing modules 40 switches to audio signal by karaoke equipment and inputs, and by loudspeaker 30, is exported; When having external equipment to insert and external equipment is earphone, audio processing modules 40 judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is 20 inputs of fuselage MIC input module, is exported by earphone.
Due to when detection signal is low level, it is earphone that processor 50 only can be judged external equipment, and its concrete outcome also needs audio processing modules 40 to do further judgement, and the input and output of the audio frequency of terminal are also completed by audio processing modules 40.
Described audio processing modules 40 can adopt audio chip, be used for judging when whether earphone is the earphone with microphone, concrete by audio processing modules 40, judge mic_bias(microphone bias electric current) whether electric current over preset value (as 300uA), if, judge that earphone is the earphone of not being with microphone, keep audio frequency to be input as 20 inputs of fuselage MIC input module; If not, judge that earphone is the earphone with microphone, switch the microphone input that audio frequency is input as earphone.
In order to increase the acoustics of karaoke equipment, the terminal of automatic identification ear microphone provided by the invention and karaoke equipment also comprises amplification module 60, described amplification module 60 is connected on the audio signal of inputting for amplifying karaoke equipment between detection module 10 and audio processing modules 40, thereby increases the acoustics of karaoke equipment.
See also Fig. 2, it identifies the circuit diagram of detection module in the terminal of ear microphone and karaoke equipment automatically for the present invention.As depicted in figs. 1 and 2, described detection module 10 comprises earphone socket 101, Karaoke input unit 102, earphone Mike input unit 103 and earpiece audio output unit 104.Wherein, described earphone socket 101 comprises audio signal input end 1,3,4, two detection terminals 5,6 of 2, two audio signal output end of earth terminal, pull-up resistor R01 and pull down resistor R02.Wherein, the resistance of pull-up resistor R01 is that the resistance of 10K Ω and pull down resistor R02 is 100K Ω.
Wherein, audio signal input end 1 of one end frames connecting with headphone socket 101 of described Karaoke input unit 102, the other end of Karaoke input unit 102 connects audio processing modules 40 by described amplification module 60, by audio signal input end 1 input Karaoke signal, and by amplification module 60, audio signal is amplified and inputed in audio processing modules 40.
Audio signal input end 1 of one end frames connecting with headphone socket 101 of described earphone Mike input unit 103, the other end of earphone Mike input unit 103 connects audio processing modules 40, by audio signal input end 1 input earphone Mike signal, and input in audio processing modules 40 and process.
One end of described earpiece audio output unit 104 connects audio processing modules 40, the other end of earpiece audio output unit 104 connects two audio signal output end 3,4, the audio signal after being processed by audio processing modules 40 by this to earpiece audio output unit 104 earphone output audio signals.
In the embodiment of the present invention, described Karaoke input unit 102, earphone Mike input unit 103, earpiece audio output unit 104 are functional module, can think the respective terminal of earphone socket 101 and the function that earphone socket 101 internal circuits can be realized.
Please again consult Fig. 1 and Fig. 2, during concrete enforcement, described audio signal output end 3,4 is left and right sound channels lead-out terminal HP_L, HP_R, whether and only need detect external equipment with a detection terminal 5 or 6 inserts, at detection terminal 5 or 6, detect while having external equipment to insert the flat detection signal of connected audio signal output end the 3 or 4 corresponding height of the output of the types according to external equipment.
Its circuit connecting mode is: detection terminal 5(or detection terminal 6) the 1st end connect a sub-3(of audio signal output end or audio signal output end 4), this detection terminal 5(or detection terminal 6) the 2nd end connect the interrupt signal test side HP_DET of processor 50, also by pull down resistor R02 ground connection, a described sub-3(of audio signal output end or audio signal output end 4) by pull-up resistor R01, connect 3P3V feeder ear J1, also connect the detection signal test side EARP_DET of described audio processing modules 40 and processor 50.Wherein, the interrupt signal test side HP_DET of processor 50 and detection signal test side EARP_DET are the IO mouth (being input/output interface) of processor, by interrupt mode, have judged whether signal input.
Another detection terminal 6(or detection terminal 5) the 1st end connect the sub-4(of another audio signal output end or audio signal output end 3), this another detection terminal 6(or detection terminal 5) the 2nd end unsettled, the sub-4(of described another audio signal output end or audio signal output end 3) connect audio processing modules 40.In use, detection terminal only need be used one, and another is vacant state, and therefore, its mode of connection has two kinds of modes.
For a better understanding of the present invention, herein to detect insertion situation and the type of external equipment with detection terminal 5, audio signal output end 3 is left channel audio signal lead-out terminal HP_L, audio signal output end 4 is right channel audio signal lead-out terminal HP_R, and the connected mode of earphone socket 101 is elaborated:
The 1st end of detection terminal 5 connects left channel audio signal lead-out terminal HP_L, the 2nd end of this detection terminal 5 connects the interrupt signal test side HP_DET of processor 50, also by pull down resistor R02 ground connection, described left channel audio signal lead-out terminal HP_L is connected 3P3V feeder ear J1, is also connected the detection signal test side EARP_DET of described audio processing modules 40 and processor 50 by pull-up resistor R01.The 1st end of detection terminal 6 connects right channel audio signal lead-out terminal HP_R, and the 2nd end of this detection terminal 6 is unsettled, and described right channel audio signal lead-out terminal HP_R connects audio processing modules 40, described earth terminal 2 ground connection.If adopt detection terminal 6 to detect, the connected mode of each terminal of earphone socket 101 and processor 50 and audio processing modules 40 adjusts accordingly, and repeats no more herein.
Further, described earphone socket 101 also comprises the filtration module being comprised of resistance R 03 and filter capacitor C01; The resistance of described resistance R 03 is 1K Ω, its junction, one end reason detection signal test side EARP_DET of device 50 and one end of filter capacitor C01, and the other end of resistance R 03 connects audio signal output end 3, the other end ground connection of filter capacitor C01.
Please continue to refer to Fig. 2, below take detection terminal 5 and detect external equipment as example, the testing process of terminal is elaborated:
When not inserting external equipment, one end butt audio signal output end 3 of detection terminal 5, the other end of detection terminal 5 connects the interrupt signal test side HP_DET of processor 50, because audio signal output end 3 is all connected 3P3V feeder ear J1 by pull-up resistor R01 with the detection signal test side EARP_DET of processor 50, effect due to pull-up resistor R01, make detection terminal 5 also be connected to 3P3V feeder ear J1, now the interrupt signal test side HP_DET of processor 50 and detection signal test side EARP_DET are high level, external equipment is not inserted in now processor 50 judgements.
In the time of in external equipment plugged earphone socket 101, the plug of external equipment can make detection terminal 5 and audio signal output end 3 separate, detection terminal 5 is ground connection due to the effect of pull down resistor R02, and now the interrupt signal test side HP_DET of processor 50 becomes low level.And the detection signal test side EARP_DET of processor 50, mainly for detection of earphone load.If what insert is earphone load, because the resistance in 32 Europe in earphone exists (different from the internal resistance of its karaoke equipment), the detection signal test side EARP_DET of processor 50 is dragged down, now detection signal test side is low level; If what insert is karaoke equipment, because the internal resistance of karaoke equipment is larger, detection signal test side EARP_DET can not be dragged down, so detection signal test side EARP_DET is high level.
After detection external equipment is earphone, also need the type of earphone to judge, the present invention judges by the mic_bias size of current in audio processing modules 40, when mic_bias electric current is greater than 300uA, the equipment that processor 50 judgements are inserted is earphone or the karaoke equipment with microphone; When mic_bias electric current is less than or equal to 300uA, the equipment that processor 50 judgement is inserted is not for the earphone of microphone.
To sum up, its truth table is as shown in the table during the type of terminal judges external equipment:
Figure 2013106299402100002DEST_PATH_IMAGE001
See also Fig. 3, it identifies the circuit diagram of amplification module in the terminal of ear microphone and karaoke equipment automatically for the present invention.As shown in Figures 2 and 3, described amplification module 60 comprises: the first filter unit 601, the second filter unit 602, the first resistance R 1, the second resistance R 2 and amplifier chip U1.
Audio signal input end of one end frames connecting with headphone socket 101 of described the first filter unit 601, the other end of the first filter unit 601 is connected the 2nd end of amplifier chip U1 by the second filter unit 602 successively with the first resistance R 1.The MIC_IN signal of karaoke equipment output is inputted in the second filter unit 602 after the first filter unit 601 carries out filtering and the processing of isolated DC level, by the second filter unit 602, carry out second level filtering processing, thoroughly remove noise signal, then by the first resistance R 1 input amplifier chip U1.
Wherein, described amplifier chip U1 adopts the integrated chip that model is RC4558, described the second resistance R 2 is connected in parallel between the 2nd end and the 1st end of amplifier chip U1, and the amplification factor of this first resistance R 1 and the second resistance R 2 formation amplifier chip U1 arranges the multiplication factor of amplifier chip U1.
The 1st end of described amplifier chip U1 connects audio processing modules 40, and the 8th end of amplifier chip U1 connects VCC feeder ear J2, and the 5th end of amplifier chip U1, the 6th end and the 7th end are unsettled, the 4th end ground connection.Certainly in other embodiments, this amplifier chip U1 can directly be used the amplifier chip of operational amplifier or other model to replace as required, and the present invention is not restricted this.
Please again consult Fig. 3, in the terminal of automatic identification ear microphone provided by the invention and karaoke equipment, described amplification module 60 also comprises: integral filtering unit 603, described integral filtering unit 603 is in parallel with the second resistance R 2, for the signal of amplifier the first resistance R 1 output is carried out to integral filtering processing.
Further, in the terminal of automatic identification ear microphone provided by the invention and karaoke equipment, described amplification module 60 also comprises: partial pressure unit 604 and dividing potential drop filter unit 605, the 1st end of described partial pressure unit 604 connects the 8th end of VCC feeder ear J2 and amplifier chip U1, the 2nd end of partial pressure unit 604 connects the 3rd end of amplifier chip U1 and one end of dividing potential drop filter unit 605, the 3rd end ground connection of partial pressure unit 604, the other end ground connection of dividing potential drop filter unit 605.The direct voltage of VCC feeder ear J2 output is through partial pressure unit 604 dividing potential drops, and the 8th pin of input compute chip after being carried out DC level filtering and processed by dividing potential drop filter unit 605, gives amplifier chip U1 power supply.
Further, described amplification module 60 also comprises: voltage regulation filtering unit 606, one end of described voltage regulation filtering unit 606 connects the 8th end of VCC feeder ear J2 and amplifier chip U1, the other end ground connection of voltage regulation filtering unit 606, for the voltage of VCC feeder ear J2 output being carried out to voltage stabilizing and filtering processing, the voltage of stable input amplifier chip U1.
Please continue to refer to Fig. 2 and Fig. 3, in specific implementation process, described the first filter unit 601 comprises the first capacitor C 1, the 3rd resistance R 3 and the 4th resistance R 4, the sub-1(of audio signal input end of described first capacitor C 1 one end frames connecting with headphone socket 101 is that the MIC_IN in Fig. 2 is connected with the MIC_IN in Fig. 3) and one end of described the 3rd resistance R 3, the other end connects one end of the second filter unit 602 and the 4th resistance R 4, the other end ground connection of described the 3rd resistance R 3, the 4th resistance R 4.
Described the second filter unit 602 comprises the 5th resistance R 5 and the second capacitor C 2, described the 5th resistance R 5 is connected between the other end and the first resistance R 1 of the first capacitor C 1, one end of described the second capacitor C 2 connects one end of the 5th resistance R 5 and one end of the first resistance R 1, the other end ground connection of the second capacitor C 2.
In the present embodiment, described the 5th resistance R 5 is for finely tuning the multiplication factor of amplifier chip U1.The resistance of described the first resistance R 1 is 10K Ω, and the resistance of the second resistance R 2 is 300K Ω, and the 5th resistance R 5 is zero Europe resistance.Therefore the multiplication factor of amplifier chip U1 is R2/(R1+R5)=30.
Please continue to refer to Fig. 3, described partial pressure unit 604 comprises the 6th resistance R 6 and the 7th resistance R 7, described dividing potential drop filter unit 605 comprises the 3rd capacitor C 3, one end of described the 6th resistance R 6 connects VCC feeder ear J2, the other end of the 6th resistance R 6 is by the 7th resistance R 7 ground connection, also by the 3rd capacitor C 3 ground connection.Wherein, described the 6th resistance R 6 is identical with the resistance of the 7th resistance R 7, and the voltage that makes the 8th end of amplifier chip U1 is 1/2 VCC.
Described integral filtering unit 603 comprises the 4th capacitor C 4, and described the 4th capacitor C 4 is connected in parallel on the two ends of the second resistance R 2, plays integral filtering effect.
Further, described voltage regulation filtering unit 606 also comprises the 5th capacitor C 5 and the 6th capacitor C 6, one end of one end of described the 5th capacitor C 5 and the 6th capacitor C 6 is all connected the 8th end of VCC feeder ear J2 and amplifier chip U1, the equal ground connection of the other end of the other end of described the 5th capacitor C 5 and the 6th capacitor C 6.
In described amplification module 60, MIC_IN signal is from 102 inputs of Karaoke input unit, after carrying out secondary filter processing, the first filter unit 601 and the second filter unit 602 input the 2nd end of amplifier chip U1, after amplifier chip U1 amplifies, from the 1st end of amplifier chip U1, export to audio processing modules 40.Audio signal after its amplification is the DC component of 0.5 VCC and the composite signal of the AC signal after 30 times of amplifications.
The present invention is the corresponding recognition methods that a kind of above-mentioned terminal is provided also, and as shown in Figure 4, described recognition methods comprises:
Whether S100, described detection module detect has external equipment to insert;
S200, when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert, to processor output interrupt signal and detection signal, the external equipment inserting according to the low and high level state judgement of detection signal of having no progeny in processor is earphone or karaoke equipment;
S300, when the external equipment inserting is karaoke equipment, audio processing modules switches to audio signal by karaoke equipment and inputs, and by loudspeaker, is exported; When the external equipment inserting is earphone, audio processing modules judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is the input of fuselage MIC input module, is exported by earphone.
In step S100, described detection module detects while having external equipment to insert and produces and interrupt, and notification processor starts to detect.Specifically as described in above-described embodiment.
In step S200, during detecting, processor has no progeny, by processor, according to the low and high level state of the detection signal of earphone socket output, confirm that external equipment is earphone or karaoke equipment.Specifically as described in above-described embodiment.
In step S300, if inserting terminal is earphone, by audio processing modules, the type of earphone is done to further judgement, specifically by audio processing modules, judge whether mic_bias electric current surpasses preset value, if, judge that earphone is the earphone of not being with microphone, keep audio frequency to be input as the input of fuselage MIC input module; If not, judge that earphone is the earphone with microphone, switch the microphone input that audio frequency is input as earphone.
This audio processing modules can adopt audio chip, and its important function is after judging the type of external equipment, controls the input and output mode of audio signal.Specifically as described in above-described embodiment.
Further, terminal and the recognition methods of automatic identification ear microphone of the present invention and karaoke equipment, can also judge by the software in set handling device and audio processing modules whether the external equipment of insertion is sound equipment, further expands the function of terminal.
In sum, the present invention can identify the external equipment of insertion automatically, and according to the type of external equipment, corresponding audio frequency input and the way of output are set, convenient and swift, make terminal can reduce by a larger Karaoke interface, make the appearance looks elegant of terminal, be conducive to terminal to lightening development, strengthened the competitiveness of product in market.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the automatic terminal of identification ear microphone and karaoke equipment, it is characterized in that, comprise: detection module, fuselage MIC input module, loudspeaker, audio processing modules and processor, described detection module, fuselage MIC input module, loudspeaker are all connected with audio processing modules with processor;
Whether described detection module detects has external equipment to insert, and when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert, to processor output interrupt signal and detection signal, the external equipment inserting according to the low and high level state judgement of detection signal of having no progeny in processor is earphone or karaoke equipment;
When the external equipment inserting is karaoke equipment, audio processing modules switches to audio signal by karaoke equipment and inputs, and by loudspeaker, is exported; When the external equipment inserting is earphone, audio processing modules judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is the input of fuselage MIC input module, is exported by earphone.
2. the terminal of automatic identification ear microphone according to claim 1 and karaoke equipment, it is characterized in that, described audio processing modules judges when whether earphone is the earphone with microphone, by audio processing modules, judge whether mic_bias electric current surpasses preset value, if, judge that earphone is the earphone of not being with microphone, keep audio frequency to be input as the input of fuselage MIC input module; If not, judge that earphone is the earphone with microphone, switch the microphone input that audio frequency is input as earphone.
3. the terminal of automatic identification ear microphone according to claim 1 and karaoke equipment, it is characterized in that, also comprise that described amplification module is connected between detection module and audio processing modules for amplifying the amplification module of the audio signal of Karaoke input.
4. the terminal of automatic identification ear microphone according to claim 3 and karaoke equipment, is characterized in that, described detection module comprises:
Earphone socket, it comprises audio signal input end, earth terminal, two audio signal output end, two detection terminals, pull-up resistor and pull down resistors;
For inputting the Karaoke input unit of Karaoke signal;
For inputting the earphone Mike input unit of earphone Mike signal;
For the earpiece audio output unit to earphone output audio signal;
Wherein, the 1st end of a detection terminal connects audio signal output end, the 2nd end of this detection terminal connects the interrupt signal test side of processor, also by pull down resistor ground connection, described audio signal output end is connected 3P3V feeder ear, is also connected the detection signal test side of described audio processing modules and processor by pull-up resistor;
The 1st end of another detection terminal connects another audio signal output end, and the 2nd end of this another detection terminal is unsettled, described another audio signal output end sub-connection audio processing modules;
Audio signal input end of one end frames connecting with headphone socket of described Karaoke input unit and earphone Mike input unit, the other end of Karaoke input unit connects audio processing modules by described amplification module, and the other end of described earphone Mike input unit connects audio processing modules; One end of described earpiece audio output unit connects audio processing modules, and the other end of earpiece audio output unit connects two audio signal output end.
5. according to the automatic identification ear microphone described in claim 3 or 4 and the terminal of karaoke equipment, it is characterized in that, described amplification module comprises:
For the audio signal after amplifying being carried out to filtering and every the first filter unit of straight processing;
For the second filter unit that the signal of the first filter unit output is carried out to filtering processing;
The first resistance;
The second resistance;
Amplifier chip;
Audio signal input end of one end frames connecting with headphone socket of described the first filter unit, the other end of the first filter unit is connected the 2nd end of amplifier chip successively with the first resistance by the second filter unit; Described the second resistance is connected between the 2nd end and the 1st end of amplifier chip; The 1st end of described amplifier chip connects audio processing modules, and the 8th end of amplifier chip connects VCC feeder ear.
6. the terminal of automatic identification ear microphone according to claim 5 and karaoke equipment, is characterized in that, described amplification module also comprises: integral filtering unit, described integral filtering unit is in parallel with the second resistance.
7. the terminal of automatic identification ear microphone according to claim 5 and karaoke equipment, it is characterized in that, described amplification module also comprises: partial pressure unit and dividing potential drop filter unit, the 1st end of described partial pressure unit connects the 8th end of VCC feeder ear and amplifier chip, the 2nd end of partial pressure unit connects the 3rd end of amplifier chip and one end of dividing potential drop filter unit, the 3rd end of partial pressure unit and the other end ground connection of dividing potential drop filter unit.
8. the terminal of automatic identification ear microphone according to claim 7 and karaoke equipment, it is characterized in that, described amplification module also comprises: voltage regulation filtering unit, one end of described voltage regulation filtering unit connects the 8th end of VCC feeder ear and amplifier chip, the other end ground connection of voltage regulation filtering unit.
9. automatically identify as claimed in claim 1 a recognition methods for the terminal of ear microphone and karaoke equipment, it is characterized in that, comprising:
Whether A, described detection module detect has external equipment to insert;
B, when not inserting external equipment, it is the input of fuselage MIC input module that audio processing modules is controlled audio signal, by loudspeaker, is exported; When having external equipment to insert, to processor output interrupt signal and detection signal, the external equipment inserting according to the low and high level state judgement of detection signal of having no progeny in processor is earphone or karaoke equipment;
C, when the external equipment inserting is karaoke equipment, audio processing modules switches to audio signal by karaoke equipment and inputs, and by loudspeaker, is exported; When the external equipment inserting is earphone, audio processing modules judges whether earphone is the earphone with microphone; If so, audio signal is switched to by ear microphone and inputted, by earphone, exported; Otherwise controlling audio signal is the input of fuselage MIC input module, is exported by earphone.
10. recognition methods according to claim 9, it is characterized in that, in described step C, described audio processing modules judges when whether earphone is the earphone with microphone, by audio processing modules, judge whether mic_bias electric current surpasses preset value, if so, judge that earphone is the earphone of not being with microphone, keep audio frequency to be input as the input of fuselage MIC input module; If not, judge that earphone is the earphone with microphone, switch the microphone input that audio frequency is input as earphone.
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 true CN103686535A (en) 2014-03-26
CN103686535B 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)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681951A (en) * 2016-01-29 2016-06-15 广东欧珀移动通信有限公司 Selfie stick recognition method, selfie stick recognition device and mobile terminal
WO2016161596A1 (en) * 2015-04-09 2016-10-13 华为技术有限公司 Audio connector recognition method and portable electronic device
CN106210980A (en) * 2016-08-10 2016-12-07 广东欧珀移动通信有限公司 A kind of audio frequency playing method and terminal
CN106973341A (en) * 2016-01-13 2017-07-21 厦门雅迅网络股份有限公司 Dynamic microphones insertion detection means and method based on vehicle mounted multimedia
CN107360495A (en) * 2016-05-10 2017-11-17 环旭电子股份有限公司 Suitable for the method for reducing External microphone plug noise of Android system
WO2018010375A1 (en) * 2016-07-11 2018-01-18 歌尔股份有限公司 Method and device for realising karaoke function through earphone, and earphone
CN108668200A (en) * 2018-06-29 2018-10-16 深圳微步信息股份有限公司 A kind of audio payment control circuit and mobile terminal
CN109417664A (en) * 2016-06-30 2019-03-01 诺基亚技术有限公司 Device, method and computer program for the audio-frequency module in electronic equipment
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 its audio signal and microphone signal input control circuit
CN113316064A (en) * 2021-04-28 2021-08-27 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN116709113A (en) * 2022-12-21 2023-09-05 荣耀终端有限公司 Audio circuit, control method thereof, electronic equipment and audio system

Citations (7)

* 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
US20060215856A1 (en) * 2003-05-07 2006-09-28 Rolf Meyer Detection device
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060215856A1 (en) * 2003-05-07 2006-09-28 Rolf Meyer Detection device
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

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016161596A1 (en) * 2015-04-09 2016-10-13 华为技术有限公司 Audio connector recognition 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
CN106973341A (en) * 2016-01-13 2017-07-21 厦门雅迅网络股份有限公司 Dynamic microphones insertion detection means and method based on vehicle mounted multimedia
CN105681951A (en) * 2016-01-29 2016-06-15 广东欧珀移动通信有限公司 Selfie stick recognition method, selfie stick recognition device and mobile terminal
CN107360495A (en) * 2016-05-10 2017-11-17 环旭电子股份有限公司 Suitable for the method for reducing External microphone plug noise of Android system
US11277688B2 (en) 2016-06-30 2022-03-15 Nokia Technologies Oy Apparatus, method and computer program for audio module use in an electronic device
CN109417664A (en) * 2016-06-30 2019-03-01 诺基亚技术有限公司 Device, method and computer program for the audio-frequency module in electronic equipment
WO2018010375A1 (en) * 2016-07-11 2018-01-18 歌尔股份有限公司 Method and device for realising karaoke function through earphone, and earphone
CN106210980A (en) * 2016-08-10 2016-12-07 广东欧珀移动通信有限公司 A kind of audio frequency playing method and terminal
CN108668200A (en) * 2018-06-29 2018-10-16 深圳微步信息股份有限公司 A kind of audio payment control circuit and mobile 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 its audio signal and microphone signal input control circuit
CN113316064A (en) * 2021-04-28 2021-08-27 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN116709113A (en) * 2022-12-21 2023-09-05 荣耀终端有限公司 Audio circuit, control method thereof, electronic equipment and audio system
CN116709113B (en) * 2022-12-21 2024-05-24 荣耀终端有限公司 Audio circuit, control method thereof, electronic equipment and audio system
WO2024131269A1 (en) * 2022-12-21 2024-06-27 荣耀终端有限公司 Audio circuit and control method therefor, electronic device, and audio system

Also Published As

Publication number Publication date
CN103686535B (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN103686535A (en) Terminal capable of automatically recognizing headset microphone and karaoke devices, and recognition method thereof
CN101841588B (en) Audio interface device and electronic device using same
US8260380B2 (en) Headset with remote control
US20100104119A1 (en) Audio output device
CN105491469A (en) Method and system for controlling audio output mode based on wearing earphone state
CN101610439B (en) Electronic device
CN105848028B (en) Earphone for charging for audio frequency apparatus and be audio frequency apparatus charging method
CN105872904A (en) Microphone circuit, system and headset
CN101610440A (en) Electronic installation
CN109918041A (en) A kind of voicefrequency circuit, relevant device and control method
CN108322882B (en) Earphone plug detection circuit, earphone detection device and audio equipment
CN105142072A (en) Audio apparatus with externally connected player and audio playing method thereof
CN203407000U (en) Voice output adjustment circuit and audio and video playing equipment
CN206650845U (en) Headset detection device and intelligent electronic device
CN204929186U (en) Drive -by -wire earphone
CN104254027A (en) Earphone using method and system compatible with circular interface and USB (universal serial bus) interface
WO2023020112A1 (en) Audio playback device, terminal, and audio control method
CN1855706B (en) Music reproduction device for portable device
US9112468B2 (en) Audio device with mute function
CN102340720A (en) Interface circuit and electronic device with same
CN204537577U (en) Based on the Experiment of Electronic Technology platform of sound amplifier
CN113794969A (en) Audio interface device
CN105812980A (en) Earphone
CN205812367U (en) A kind of headset plugging testing circuit
CN105677288B (en) System and method for realizing simultaneous driving of internal and external audio output devices

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171110