CN103974169A - Audio processing device and audio processing method - Google Patents
Audio processing device and audio processing method Download PDFInfo
- Publication number
- CN103974169A CN103974169A CN201310058563.1A CN201310058563A CN103974169A CN 103974169 A CN103974169 A CN 103974169A CN 201310058563 A CN201310058563 A CN 201310058563A CN 103974169 A CN103974169 A CN 103974169A
- Authority
- CN
- China
- Prior art keywords
- audio
- switch
- earphone
- processing
- processing unit
- 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
Links
Landscapes
- Headphones And Earphones (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention provides an audio processing device and an audio processing method used for eliminating noise during plugging and unplugging of a headset. The audio processing device comprises an audio jack, a processing unit and a switch. The audio jack comprises multiple audio contacts. The processing unit detects whether the headset is plugged in or not through the audio jack. The switch is coupled between one of the audio contacts and a ground point. When the processing unit detects that the headset is plugged in, the switch is turned on by the processing unit. After the switch is turned on beyond a preset time, the first switch is switched off by the processing unit.
Description
Technical field
The present invention relates to a kind of electronic installation, and relate to especially a kind of apparatus for processing audio and audio-frequency processing method.
Background technology
Under the service condition of the electronic apparatus such as at present notebook computer, smart mobile phone or panel computer is more prevalent, for audio plays data under the prerequisite not affecting other people, be also increasing use opportunity of earphone.But using earphone often can run into a situation while being connected with electronic apparatus, be exactly earphone in the time plugging, tend to spread out of at the receiver of earphone " poh " noise.And along with electronic apparatus is different from the kind of earphone, such noise also may vary, in the time that service condition needs, such noise just can constantly occur, may make user to accept.
Summary of the invention
The invention provides a kind of apparatus for processing audio and audio-frequency processing method, the noise producing when headset plugging can be eliminated.
A kind of apparatus for processing audio of the present invention, is applicable to an audio-frequency processing method, comprising: an audio jack, a processing unit and one first switch.Audio jack comprises multiple audio frequency contacts.Whether processing unit detects an earphone by audio jack and is inserted into.The first switch is coupled between one of audio frequency contact and an earth point.Wherein, in the time that processing unit Test earphone is inserted into, processing unit conducting the first switch; And exceed after the scheduled time when the first switch conduction, processing unit disconnects the first switch.
A kind of audio-frequency processing method of the present invention, is applicable to an apparatus for processing audio, and the noise causing in order to eliminate a headset plugging, comprises the following steps.First, whether detection one earphone is inserted into an audio jack of apparatus for processing audio.Then, in the time that Test earphone inserts, one first switch of conducting apparatus for processing audio, wherein the first switch is coupled between an audio frequency contact and an earth point of apparatus for processing audio.Then,, when the first switch conduction exceeded after the scheduled time, disconnect the first switch.
Based on above-mentioned, the invention provides a kind of apparatus for processing audio and audio-frequency processing method, in the time detecting that earphone inserts, eliminate the issuable noise of headset earpiece.
For above-mentioned feature and advantage of the present invention can be become apparent, special embodiment below, and coordinate diagram to be described in detail below.
Brief description of the drawings
Fig. 1 is according to the structural representation of the shown apparatus for processing audio of one embodiment of the invention;
Fig. 2 is according to the conducting state of shown the first switch of one embodiment of the invention, second switch and the timing diagram that detects voltage;
Fig. 3 is according to the flow chart of the shown audio-frequency processing method of one embodiment of the invention.
Description of reference numerals:
10: apparatus for processing audio;
110: audio jack;
111~114: tie point;
120,130: switch;
20: the splicing ear of earphone;
GP: earth point;
LC: left channel signals;
RC: right-channel signals;
GND: earthed voltage;
MCR: microphone signal;
CS: control signal;
DV: detect voltage;
VDD: supply voltage;
R1: resistance;
S301~S303: step;
T1~T5: time interval.
Embodiment
Fig. 1 is according to the structural representation of the shown apparatus for processing audio of one embodiment of the invention.Please refer to Fig. 1, apparatus for processing audio 10 comprises audio jack 110, processing unit (not shown), the first switch 120 and second switch 130.Audio jack 110 is in order to be connected with the splicing ear 20 of earphone, comprise audio frequency contact 111~114, in the time that the splicing ear 20 of earphone inserts audio jack 110,10 of apparatus for processing audio are respectively by microphone signal MCR, earthed voltage GND, right-channel signals RC and the left channel signals LC of audio frequency contact 111~114 transmission/reception earphones.Wherein 111~114 of audio frequency contacts are the metallic contact of shell fragment or other types.
The first switch 120 is coupled between the audio frequency contact 114 and earth point GP that receives left channel signals LC, and wherein earth point GP provides an earthed voltage.Second switch 130 is arranged on the inner surface of audio jack 110, and couples processing unit, and couples a supply voltage VDD by resistance R 1.Processing unit receives and detects voltage DV from second switch 130.Because Fig. 1 mainly illustrates to illustrate the structure of apparatus for processing audio 10, processing unit is omitted not shown in Fig. 1, but still can mention in the following description the start content of processing unit.
In the initial condition situation of apparatus for processing audio 10, second switch 130 is open circuit (opening circuit) state, the first switch 120 is short circuit (conducting) state, and under these circumstances, the detection voltage DV received by processing unit is a high potential state, and the magnitude of voltage that is also supply voltage deducts by the pressure drop of resistance R 1.Second switch 130 is arranged at the slightly interval part of audio frequency contact 114 of distance reception left channel signals LC.In the time that the splicing ear 20 of earphone is inserted into audio jack 110, the splicing ear 20 of earphone contact audio frequency contact 111,112,113,114 and second switch 130 sequentially.
In the present embodiment, second switch 130 can be the mechanical switch of an entity, and in the time that splicing ear 20 and audio jack 110 join, second switch 130 is closure (conducting) because the splicing ear 20 of earphone inserts the stress of audio jack 110.And due to the conducting of second switch 130, the received detection voltage DV of processing unit is electronegative potential, processing unit just judges that earphone is to be inserted in audio jack 110 thus, and transfer control signal is to switch the mode of operation of apparatus for processing audio 10 as headset mode.
Generally speaking, apparatus for processing audio 10 does not have first switch 120 of conducting state of being generally (normally close).For example, due to the interior resistance of the receiver itself of earphone little, 32 ohm of left and right.Do not have in the first switch 120 situations, and the splicing ear 20 of earphone is while being inserted into audio jack 110, direct voltage (for example supply voltage VDD, or the bias voltage of left channel signals LC) will fill with back the receiver of earphone, with cause user from the receiver of earphone hear " poh " noise of a sound.
And in the present embodiment, in the time that the splicing ear 20 of earphone joins with audio jack 110, the state that the first switch 120 is conducting, make to transmit the path ground connection of left channel signals LC, make earphone end (the namely receiver of earphone) can avoid the noise that direct voltage caused through moment.And the splicing ear 20 of working as earphone is inserted into, and the first switch 120 conductings exceeded after the scheduled time, processing unit just transfer control signal CS disconnects the first switch 120, make left channel signals LC can be sent to by contact 114 internal resistance of earphone, join by end points 113 and earthed voltage (ground plane) again, and make the L channel of earphone send audio frequency by left channel signals LC.
In the present embodiment, due to the noise that the conducting of the first switch 120 only causes because of the process earphone internal resistance of direct voltage moment in order to eliminate earphone, therefore the above-mentioned scheduled time is only set in 1~2 millisecond, but the present invention is not restricted to this.In the present invention, second switch 130 also can arrange with contact 111~113 and be connected, and second switch 130 also can be the other forms of switches such as transistor.And apparatus for processing audio 10 can arrange jointly with various electronic installations such as PC, notebook computer, smart mobile phone, panel computer or music players.The processing unit of apparatus for processing audio 10 can arrange jointly with the processor of above-mentioned electronic installation, also can independently arrange.In the situation of the above-mentioned processing unit that apparatus for processing audio 10 is independently set, processing unit can be system level chip (System on Chip, SoC) or several gate coordinate the entity circuit such as counting circuit to realize, the present invention does not limit above-mentioned implementation.
Fig. 2 is according to the conducting state of shown the first switch of one embodiment of the invention, second switch and the timing diagram that detects voltage.Please refer to Fig. 1 and Fig. 2, be initial condition in the time of time interval T1, and namely apparatus for processing audio 10 starts, and audio jack 110 is while being not yet connected with the splicing ear 20 of earphone, and switch 120 is conducting, 130, the switch states for disconnecting.In the time of time interval T2, the splicing ear 20 of earphone is inserted into audio jack 110, and switch 130 is subject to splicing ear 20 to insert the stress of audio jack 110 and conducting.And, now due to the conducting of switch 130, detecting voltage DV and be converted to electronegative potential from high potential, processing unit also obtains earphone splicing ear 20 from detecting the change judgement of voltage DV has inserted audio jack 110.
Time interval T3 is that the splicing ear 20 of earphone inserts audio jack 110 and exceedes a scheduled time, and for example, after 1 millisecond, the control unit CS that transmits control signal disconnects with control switch 120, make left channel signals LC can normal delivery to earphone.Time interval T4 is the stable time that uses earphone, and 120,130, switch remains open respectively, and the state of conducting.Time interval T5 represents the situation that earphone is pulled out.In the time that the splicing ear 20 of earphone is pulled out, switch 130 is because the state of disconnection is got back in stress relieved.Because switch 130 disconnects, the received detection voltage DV of control unit also gets back to the state of high potential thereupon.In the time that control unit detects that detecting voltage DV is high potential, send anti-phase control signal CS to switch 120 with actuating switch 120.Hence one can see that, and in the time that earphone is pulled out, the state of switch 130,120 is got back to initial condition, as the on off state of time interval T1.
It is worth mentioning that, the execution mode of control signal CS is relevant with the example of the first switch 120, for example in the time controlling its conducting, continue to send a high potential signal, while controlling again its disconnection, continue to send a low-potential signal, or send a pulse signal in the time controlling its conducting or disconnect, and the first switch 120 is replaced between ON/OFF.The present invention does not limit above-mentioned execution mode.
The present invention one provides a kind of audio-frequency processing method, is applicable to an apparatus for processing audio, and the noise causing in order to eliminate a headset plugging.Fig. 3 is according to the flow chart of the shown audio-frequency processing method of one embodiment of the invention.Please refer to Fig. 3, first, in the time of step S301, whether detection one earphone is inserted into an audio jack of apparatus for processing audio.Then, in the time of step S302, namely in the time that Test earphone inserts, one first switch of conducting apparatus for processing audio, wherein the first switch is coupled between one of audio frequency contact for apparatus for processing audio and an earth point.Then in the time of step S303, when the first switch conduction exceeded after the scheduled time, disconnect the first switch.Can be with reference to the explanation of above-mentioned Fig. 1, Fig. 2 embodiment as for detailed execution mode of the present invention, in which not repeat.
In sum, the invention provides a kind of apparatus for processing audio and audio-frequency processing method, in the time that earphone is inserted into the audio jack of apparatus for processing audio, first by the path ground connection of direct voltage, make it not because moment produces noise by the internal resistance of earphone.Making to plug the noise that earphone causes can be eliminated at every turn.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. an apparatus for processing audio, the noise when eliminating headset plugging, is characterized in that, comprising:
One audio jack, comprises multiple audio frequency contacts;
Whether one processing unit, detect an earphone by this audio jack and be inserted into; And
One first switch, is coupled between one of those audio frequency contacts and an earth point,
Wherein, in the time that this processing unit detects this earphone and is inserted into, this first switch of this processing unit conducting; And
When this first switch conduction exceeded after the scheduled time, this processing unit disconnects this first switch.
2. apparatus for processing audio according to claim 1, is characterized in that, those audio frequency contacts comprise a L channel audio frequency contact, a right audio channel contact, a ground contact and a microphone contact.
3. apparatus for processing audio according to claim 1, is characterized in that, this processing unit judges according to a detection voltage whether this earphone is inserted into, and wherein, in the time that this detection voltage is an electronegative potential, this processing unit judges that this earphone is inserted into.
4. apparatus for processing audio according to claim 3, is characterized in that, also comprises:
One second switch, is arranged on this audio jack inner surface, and couples this processing unit,
Wherein, in the time that this earphone is inserted into, this second switch is switched on, and in the time that this second switch is switched on, this detection voltage is this electronegative potential.
5. apparatus for processing audio according to claim 1, is characterized in that, comprising:
In the time that this processing unit detects this earphone and is pulled out, this first switch of this processing unit conducting.
6. an audio-frequency processing method, is applicable to an apparatus for processing audio, and the noise causing in order to eliminate a headset plugging, is characterized in that, comprising:
Detect the audio jack whether an earphone is inserted into this apparatus for processing audio;
In the time detecting this earphone insertion, one first switch of this apparatus for processing audio of conducting, wherein this first switch is coupled between one of audio frequency contact for this apparatus for processing audio and an earth point; And
When this first switch conduction exceeded after the scheduled time, disconnect this first switch.
7. audio-frequency processing method according to claim 6, is characterized in that, this audio frequency contact is a L channel audio frequency contact, a right audio channel contact, a ground contact or a microphone contact.
8. audio-frequency processing method according to claim 6, is characterized in that, the step whether this detection one earphone is inserted into also comprises:
Judge according to a detection voltage whether this earphone is inserted into, wherein, in the time that this detection voltage is an electronegative potential, judge that this earphone is by this insertion.
9. audio-frequency processing method according to claim 8, is characterized in that, this apparatus for processing audio processing unit also comprises a second switch, describedly judges that according to a detection voltage step whether this earphone is inserted into also comprises:
In the time that this second switch is switched on, this detection voltage is this electronegative potential.
10. audio-frequency processing method according to claim 6, is characterized in that, after the step of this first switch of described disconnection, described method also comprises:
In the time that this earphone of detection is pulled out, this first switch of conducting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310058563.1A CN103974169B (en) | 2013-01-24 | 2013-01-24 | Apparatus for processing audio and audio-frequency processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310058563.1A CN103974169B (en) | 2013-01-24 | 2013-01-24 | Apparatus for processing audio and audio-frequency processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103974169A true CN103974169A (en) | 2014-08-06 |
CN103974169B CN103974169B (en) | 2018-01-05 |
Family
ID=51243123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310058563.1A Active CN103974169B (en) | 2013-01-24 | 2013-01-24 | Apparatus for processing audio and audio-frequency processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103974169B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933823A (en) * | 2015-02-25 | 2016-09-07 | 马克西姆综合产品公司 | Backward compatible system and method for using 4P audio jack to provide power and signal to headset with active noise cancellation |
CN106331950A (en) * | 2015-07-01 | 2017-01-11 | 三星电子株式会社 | Audio device and multimedia device including audio device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201153322Y (en) * | 2007-12-06 | 2008-11-19 | 中兴通讯股份有限公司 | Audio circuit |
CN101350594A (en) * | 2008-08-21 | 2009-01-21 | 深圳华为通信技术有限公司 | Method, circuit and electronic device for eliminating start-up sound-breaking of audio circuit |
CN101950867A (en) * | 2010-07-21 | 2011-01-19 | 惠州Tcl移动通信有限公司 | Earphone socket and mobile terminal thereof |
US20110170734A1 (en) * | 2010-01-08 | 2011-07-14 | Samsung Electronics Co. Ltd. | Ear jack for detecting earphone plug |
CN102158779A (en) * | 2011-03-31 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Earphone socket and realization method thereof |
CN102638741A (en) * | 2011-02-11 | 2012-08-15 | 上海闻泰电子科技有限公司 | Method for fully eliminating earphone POP noise |
-
2013
- 2013-01-24 CN CN201310058563.1A patent/CN103974169B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201153322Y (en) * | 2007-12-06 | 2008-11-19 | 中兴通讯股份有限公司 | Audio circuit |
CN101350594A (en) * | 2008-08-21 | 2009-01-21 | 深圳华为通信技术有限公司 | Method, circuit and electronic device for eliminating start-up sound-breaking of audio circuit |
US20110170734A1 (en) * | 2010-01-08 | 2011-07-14 | Samsung Electronics Co. Ltd. | Ear jack for detecting earphone plug |
CN101950867A (en) * | 2010-07-21 | 2011-01-19 | 惠州Tcl移动通信有限公司 | Earphone socket and mobile terminal thereof |
CN102638741A (en) * | 2011-02-11 | 2012-08-15 | 上海闻泰电子科技有限公司 | Method for fully eliminating earphone POP noise |
CN102158779A (en) * | 2011-03-31 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Earphone socket and realization method thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933823A (en) * | 2015-02-25 | 2016-09-07 | 马克西姆综合产品公司 | Backward compatible system and method for using 4P audio jack to provide power and signal to headset with active noise cancellation |
CN105933823B (en) * | 2015-02-25 | 2020-07-07 | 马克西姆综合产品公司 | Backward compatible system and method for providing power and signals to headphones with active noise cancellation using a 4P audio plug |
CN106331950A (en) * | 2015-07-01 | 2017-01-11 | 三星电子株式会社 | Audio device and multimedia device including audio device |
CN106331950B (en) * | 2015-07-01 | 2020-06-09 | 三星电子株式会社 | Audio device and multimedia device including the same |
Also Published As
Publication number | Publication date |
---|---|
CN103974169B (en) | 2018-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2645737B1 (en) | Apparatus and method for interfacing earphone | |
US7912501B2 (en) | Audio I/O headset plug and plug detection circuitry | |
US9374642B2 (en) | Multipurpose connector for multiplexing headset interface into high-definition video and audio interface, and handheld electronic device | |
US9681241B2 (en) | Apparatus, systems and methods for detecting insertion or removal of an audio accessory from an electronic device | |
CN103686531A (en) | Earphone connection interface, terminal including the same, and method of operating terminal | |
KR101820730B1 (en) | Detecting System For connecting of Earphone And Electric Device supporting the same | |
WO2012009984A1 (en) | Method and device for sharing micro-usb interface between earphone and usb | |
US20140072129A1 (en) | Method and apparatus for detecting insertion of external audio outputting device in electronic device | |
US20140100001A1 (en) | Apparatus and method for detecting insertion of headset into mobile station | |
KR100871260B1 (en) | Apparatus for detecting the earjack plug | |
US9774152B2 (en) | Forward and backward compatible 5 pole audio plug and jack system | |
CN102480563B (en) | Control method and device in process of inserting earphone into earphone socket | |
CN103078224B (en) | Connecting line, control method, control circuit and electronic equipment | |
CN101841588A (en) | Audio interface device and electronic device using same | |
KR20150045638A (en) | Earjack and electronic device having the same | |
CN102768558A (en) | All-in-one computer having function of muting loudspeaker | |
CN111031435A (en) | Audio circuit, head-mounted display equipment and head-mounted display system | |
US20210165055A1 (en) | Circuitry for detecting jack plug insertion or removal | |
WO2021212718A1 (en) | Wireless earbud resetting circuit, wireless earbud, and resetting method | |
CN103974169A (en) | Audio processing device and audio processing method | |
CN103813228A (en) | Earphones and activation method thereof | |
US8611549B2 (en) | Detection circuit for audio device | |
CN104254027A (en) | Earphone using method and system compatible with circular interface and USB (universal serial bus) interface | |
CN103037282A (en) | Wireless speaker box system | |
US20220386050A1 (en) | State detection device for use in an audio interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |