CN104599672A - Audio encoder/decoder with audio insertion-connection detection capacity and audio insertion-connection detecting method - Google Patents

Audio encoder/decoder with audio insertion-connection detection capacity and audio insertion-connection detecting method Download PDF

Info

Publication number
CN104599672A
CN104599672A CN201310531097.4A CN201310531097A CN104599672A CN 104599672 A CN104599672 A CN 104599672A CN 201310531097 A CN201310531097 A CN 201310531097A CN 104599672 A CN104599672 A CN 104599672A
Authority
CN
China
Prior art keywords
signal
plug
detection signal
contact
contact point
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
CN201310531097.4A
Other languages
Chinese (zh)
Other versions
CN104599672B (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor 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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201310531097.4A priority Critical patent/CN104599672B/en
Publication of CN104599672A publication Critical patent/CN104599672A/en
Application granted granted Critical
Publication of CN104599672B publication Critical patent/CN104599672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Coupling Device And Connection With Printed Circuit (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The invention discloses an audio encoder/decoder with audio insertion-connection detection capacity and an audio insertion-connection detecting method. The embodiment of the audio encoder/decoder includes a first contact signal input end, for being electrically connected with a sleeving-connecting point of a plug, and receiving a first contact signal; a second contact signal input end, for electrically connected with an annular connecting point or a sleeving-connecting point of the plug, and receiving a second contact signal; a plug detecting circuit, coupled with the first contact or second contact signal input end for detecting whether the voltage level of the first or second contact signal changes, and generate a plug detecting signal accordingly; and a control circuit, coupled with the plug detecting circuit, for judging whether the plug exists according to the plug detecting signal.

Description

There are audio codec and the audio frequency grafting detection method of audio frequency grafting detectability
Technical field
The invention relates to the audio codec and audio frequency grafting detection method with audio frequency grafting detectability, especially carry out the audio codec that detects and audio frequency grafting detection method about the existing pin via audio codec.
Background technology
Generally speaking, the electronic installation with audio frequency processing capacity can provide earphone jack and/or microphone jack to connect this electronic installation and earphone and/or microphone for user.Some electronic installation only provides one of them of earphone and microphone jack; Some can provide earphone and microphone jack respectively; Some then provides compound jack so that integrated headphone microphone (abbreviation headset) connects.But no matter be above-mentioned any electronic installation, all need whether to insert the plug of earphone, microphone or headset or extract to detect, to carry out corresponding action according to testing result.Whether one of them of current plug detection technique arranges independently detection architecture on circuit boards to detect and have plug insert or extract, again testing result is transferred to audio codec via special pin, judge whether that plug exists for this audio codec according to this testing result, but this way additionally need arrange aforementioned independent detection structure, and need the pin taking this audio codec, because this increasing the cost of total solution.
As mentioned above, current audio frequency grafting detection technique still has its weak point, and therefore, the art needs a kind of more economical solution to carry out the detection of audio jack.
More prior aries can be learnt via following documents: the patent of Taiwan Patent notification number I236191; The patent of Taiwan Patent notification number I358862; And the patent of Taiwan Patent notification number M383236.
summary of the invention
An object of the present invention is to provide a kind of audio codec and the audio frequency grafting detection method with audio frequency grafting detectability, to solve the problem of prior art.
Another object of the present invention is to provide a kind of audio codec and the audio frequency grafting detection method with audio frequency grafting detectability, to save the use of pin, saves cost whereby.
Another object of the present invention is to provide a kind of audio codec and the audio frequency grafting detection method with audio frequency grafting detectability, to carry out grafting detection in audio codec inside, thus be omitted in the use of the mechanical detection means of this audio codec outside.
The invention discloses a kind of audio codec with audio frequency grafting detectability, whether exist for test plug.According to the embodiment of the present invention, this audio codec comprises: the first contact point signal input end, for the cover contact of Electric plug with shutter, and receives the first contact point signal; Second contact point signal input end, for articulating point or the above-mentioned cover contact of Electric plug with shutter, and receives the second contact point signal; Whether plug testing circuit, couple the first contact or the second contact point signal input end, change for the voltage potential detecting the first or second contact point signal, and produce plug detection signal according to this; And control circuit, couple plug testing circuit, for judging whether plug exists according to plug detection signal.
Whether the invention also discloses a kind of audio frequency grafting detection method, exist for test plug, be perform by audio codec of the present invention or its equivalent device.According to the embodiment of the present invention, the method comprises: receive the first contact point signal, the cover contact of its corresponding plug; Receive the second contact point signal, the articulating point of its corresponding plug or above-mentioned cover contact; Whether the voltage potential detecting one of the first or second contact point signal changes, and produces plug detection signal according to this; And judge whether plug exists according to plug detection signal.
The present invention further discloses a kind of audio codec with audio frequency grafting detectability, whether be pulled out for test plug.According to the embodiment of the present invention, this audio codec comprises: the first contact point signal input end, for the cover contact of Electric plug with shutter, and receives the first contact point signal; Second contact point signal input end, for being electrically connected the articulating point of this plug or above-mentioned cover contact, and receives the second contact point signal; Bias signal output, for exporting bias voltage signal to cover contact or articulating point; Extracting testing circuit, couple bias signal output, for exporting bias voltage signal to bias signal output, detecting the output current of corresponding bias voltage signal whereby, extract detection signal to produce according to the value of output current; And control circuit, couple and extract testing circuit, for judging whether plug is pulled out according to extracting detection signal.
Feature for the present invention, effect and effect, below in conjunction with accompanying drawing and be preferred embodiment described in detail.
Accompanying drawing explanation
Fig. 1 is the kind schematic diagram of audio jack;
Fig. 2 is the schematic diagram with the embodiment of the audio codec of audio frequency grafting detectability of the present invention;
Fig. 3 a is the schematic diagram of the testing mechanism of Fig. 2;
Fig. 3 b is the schematic diagram of the testing mechanism of Fig. 2;
Fig. 4 is the schematic diagram with another embodiment of the audio codec of audio frequency grafting detectability of the present invention;
Fig. 5 is the schematic diagram with the another embodiment of the audio codec of audio frequency grafting detectability of the present invention;
Fig. 6 is the schematic diagram of the embodiment of audio frequency grafting detection method of the present invention;
Fig. 7 determines whether to proceed based on the embodiment of Fig. 6 the schematic diagram of embodiment that plug detects;
Fig. 8 is the schematic diagram carrying out the embodiment of contact detection based on the embodiment of Fig. 7;
Fig. 9 produces based on the embodiment of Fig. 8 to extract the schematic diagram of the embodiment of detection signal; And
Figure 10 produces based on the embodiment of Fig. 7 to extract the schematic diagram of the embodiment of detection signal.
Embodiment
The technical terms of following description is the idiom with reference to the art, and as this instructions has explanation or definition to part term, the explanation of this part term is as the criterion with the explanation of this instructions or definition.
Disclosure of the present invention comprises the audio codec and audio frequency grafting detection method with audio frequency grafting detectability, whether exist for detecting audio jack, except can be applicable to integrated circuit (such as, audio codec (Audio Codec)), also can be applicable to system and device (such as, music player, computing machine or mobile phone), wherein, this audio jack as shown in Figure 1, can be: monophony plug 110, comprise apical grafting point (Tip Contact) (such as, L channel contact L) and cover contact (Sleeve Contact) is (such as, ground contact G), dual-track plug 120, comprises apical grafting point (such as, L channel contact L), articulating point (Ring Contact) (such as, right channel contact R) and cover contact (such as, ground contact G), the earphone microphone plug 130 of the first kind, comprise apical grafting point (such as, L channel contact L), first ring contact (Ring1Contact) (such as, right channel contact R), the second articulating point (Ring2Contact) (such as, ground contact G) and cover contact (such as, microphone contact M), or the earphone microphone plug 140 of Second Type, this plug 140 and the difference of plug 130 are this second articulating point and the exchange function overlapping contact.Structure and fuction due to above-mentioned plug 110 ~ 140 belongs to the general knowledge of the art, therefore, if not necessary, at this by the more explanations about plug of omission.
With reference to Fig. 2, it is the schematic diagram with the embodiment of the audio codec of audio frequency grafting detectability of the present invention.As shown in the figure, the audio codec 200 of present embodiment comprises multiple signal input part, and each signal input part is used for being formed with audio jack 160 via socket 150 being electrically connected, and audio jack 160 can be any one plug of Fig. 1.Described multiple signal input part comprises: the first contact point signal input end 210, for the cover contact of Electric plug with shutter 160, to receive the first contact point signal; Second contact point signal input end 220, for the second articulating point (when plug 130 or the plug 140 of plug 160 corresponding diagram 1) or cover contact (when plug 110 or the plug 120 of plug 160 corresponding diagram 1) of Electric plug with shutter 160, to receive the second contact point signal; 3rd contact point signal input end 230, for first ring contact (when the plug 120 of plug 160 corresponding diagram 1, plug 130 or plug 140) or cover contact (when the plug 110 of plug 160 corresponding diagram 1) of Electric plug with shutter 160; And the 4th contact point signal input end 240, for being electrically connected the apical grafting point of this plug 160.In the present embodiment, the first contact point signal is cover contact point signal, and the second contact point signal is ring contact point signal.3rd contact point signal input end 230 and the 4th contact point signal input end 240 are generally required for audio codec 200, but do not relate to the technical characteristic of present embodiment due to these two signal input parts 230,240, therefore omit related description at this.In addition, audio codec 200 also comprises plug testing circuit 250, couple one of them of the first contact point signal input end 210 and the second contact point signal input end 220, whether change for the voltage potential detecting the first or second contact point signal, produce plug detection signal according to this; And control circuit 260(is such as, digital processing circuit), couple plug testing circuit 250, judged whether that plug exists according to plug detection signal.
As mentioned above, continue with reference to Fig. 2.In the present embodiment, plug testing circuit 250 is voltage potentials of detection second contact point signal input end 220, when plug 160 does not also insert, the voltage potential of the second contact point signal input end 220 can corresponding second current potential (such as, noble potential VDD), the voltage potential of the first contact point signal input end 210 can corresponding first current potential (such as, earthing potential VG), but, the art those of ordinary skill disclosure according to the present invention can reconfigure plug testing circuit 250, the electrical connection of the first contact point signal input end 210 and the second contact point signal input end 220, with the voltage potential of the voltage potential but not the second contact point signal that detect the first contact point signal, under this framework, when plug 160 does not also insert, the voltage potential of the second contact point signal input end 220 will correspond to aforesaid first current potential (such as, earthing potential VG), and the voltage potential of the first contact point signal input end 210 will correspond to aforesaid second current potential (such as, noble potential VDD).In addition, with reference to Fig. 3 a and 3b, it is the schematic diagram of the testing mechanism of Fig. 2, in present embodiment, plug testing circuit 250 comprises comparator circuit (not shown), for more described voltage potential and preset potential (such as, VDD/2), as shown in Figure 3 a, when plug does not insert, without guiding path between first contact point signal input end 210 and the second contact point signal input end 220, therefore the voltage potential of the first contact point signal input end 210 and the second contact point signal input end 220 is respectively aforementioned first current potential (such as, earthing potential VG) and the second current potential is (such as, noble potential VDD), plug testing circuit 250 produces aforementioned plug detection signal by comparative voltage current potential and preset potential, control circuit 260 judges do not have plug to insert based on plug detection signal again, when there being plug to insert, as shown in Figure 3 b, first signal input part 210 and the second contact point signal input end 220 can form guiding path via this plug, due to this guiding path equiva lent impedance Z much smaller than the impedance R(on the transfer path of former second current potential such as, Z is one of percentage of R or following), therefore the voltage potential of the second contact point signal input end 220 can be pulled to close with the current potential of the first contact point signal input end 210 by this second current potential, now plug testing circuit 250 is namely by comparing voltage potential and the preset potential of the second contact point signal input end 220, produce aforementioned plug detection signal, based on plug detection signal, control circuit 260 has judged that plug inserts again.
As mentioned above, when the audio codec of the present invention's proposition is applied to the plug 110 or the plug 120 that detect Fig. 1, also time namely for detecting the plug without microphone contact, whether then the second contact point signal input end 220 can be exclusively used in detection has head insert or extract, namely also whether plug testing circuit 250 can continue test plug and exist, to produce plug detection signal as described in aforementioned, and control circuit 260 can continue to have judged whether that plug inserts or extracts according to plug detection signal.If the audio codec that the present invention proposes is applied to the plug 130 or the plug 140 that detect Fig. 1, also time namely for detecting the plug with microphone contact, control circuit 260 can after judgement has plug to insert, the default value (its corresponding state existed without the plug) storage unit (enforcement) of audio codec 200 stored becomes retention (it is to the state that plug should be had to exist), just no longer judge whether plug is extracted according to plug detection signal afterwards, but judge whether plug is extracted according to extracting detection signal, change back default value when plug is pulled out by retention, in more detail, because current plug has microphone contact, therefore the second contact point signal input end 220 is after the detection completing plug insertion, may be used for receiving microphone signal, or not to be suitable for carrying out the detection that plug extracts by microphone signal affects, therefore control circuit 260 just needs in addition to carry out according to extracting detection signal the judgement that plug extracts.
Fig. 4 shows the block diagram according to another embodiment of audio codec of the present invention, in order to determine whether plug 160 has microphone contact, the audio codec 400 of Fig. 4 compares the audio codec 200 of Fig. 2, comprise circuit for detecting connecting point 410 further, it couples the first contact point signal input end 210 and the second contact point signal input end 220, for after plug detection signal indicating plug 160 exists, contact detection signal is produced according to the first contact point signal and the second contact point signal, wherein, if contact detection signal indicates the corresponding identical signal of first and second contact point signal (such as, ground signalling), represent that the first contact point signal input end 210 and the second contact input signal 220 are connected to the cover contact of plug 160 (such as simultaneously, ground contact), instead of the cover contact being connected to plug 160 respectively (such as, ground contact) and the second articulating point is (such as, microphone contact), now according to contact detection signal, control circuit 260 can judge that plug 160 does not support microphone function, continue to judge whether plug 160 is pulled out according to aforementioned plug detection signal, if contact detection signal indicates the signal on the first contact point signal input end 210 and the second contact point signal input end 220 to correspond to unlike signal, represent that the first contact point signal input end 210 is not identical (such as with the tie point of the second contact point signal input end 220 on plug 160, be coupled to microphone contact and ground contact respectively), now according to contact detection signal, control circuit 260 can learn that microphone function supported by plug 160, changes and judges whether plug 160 is pulled out according to aforementioned detection signal of extracting.Note that above-mentioned circuit for detecting connecting point 410 also realizes by other known plug species detection technology.Separately note that when circuit for detecting connecting point 410 detects, the connection of the first contact point signal input end 210 and the first current potential is disconnected by switch 420, and to avoid the first current potential impact to detect, wherein, switch 420 is controlled by control circuit 260.
With reference to Fig. 5, aforementionedly detection signal is extracted in order to produce, audio codec 500 compares the audio codec 200 of Fig. 2, comprise further: the first bias signal output 510, the second contact point signal input end 220 be coupled to plug 160 microphone contact and as microphone signal receiving end time, via bias resistance R bexport bias voltage signal (such as, microphone bias voltage signal) to microphone contact, second bias signal output 520, the first contact point signal input end 210 be coupled to plug 160 microphone contact and as microphone signal receiving end time, via another bias resistance R bexport this bias voltage signal to microphone contact, and extract testing circuit 530, couple first and second bias signal output 510, 520, this bias voltage signal to the first or the second bias signal output 510 is exported according to the control of control circuit 260, 520, and then detect should the output current of bias voltage signal, produce with the change of the value according to output current and extract detection signal, for example, extract testing circuit 530 and comprise parallel pathways (not shown), the current value detecting this parallel pathways according to the bifurcated characteristic of electric current carrys out the change of indirect detection output current, and produced by the current value that compares parallel pathways and pre-set current value and extract detection signal, when the current value extracting detection signal instruction parallel pathways is greater than pre-set current value, represent that the loop that aforementioned output current cannot have been formed by microphone contact and the ground contact of plug 160 is shunted, therefore control circuit 260 can judge that plug 160 is pulled out.Extract testing circuit 530 to produce extract detection signal if note that, represent that plug 160 has microphone function, therefore control circuit 260 can according to extracting detection signal but not aforementioned plug detection signal judges whether plug 160 is pulled out.Separately please note, extracting testing mechanism if above-mentioned only for detecting the plug 130 of Fig. 1 and the wherein a kind of of plug 140, the first bias signal output 510(can be omitted when detection target is plug 130) maybe can omit the second bias signal output 520(when detection target is plug 140).
Continue with reference to Fig. 5, because the first contact point signal input end 210 in present embodiment is coupled to the first current potential (such as when carrying out plug detection, earthing potential), and formed with the second bias signal output 520 when carrying out extracting detection and be electrically connected, therefore for avoiding the first current potential impact to detect, present embodiment arranges switch 420 between the first contact point signal input end 210 and the first current potential, for according to the control conducting of control circuit 260 or not conducting, or rather, if according to plug detection signal, control circuit 260 judges that plug 160 does not exist, switch 420 conducting is then made to detect to proceed plug, if and according to plug detection signal, control circuit 260 judges that plug 160 exists, then making this switch 420 not conducting to extract testing circuit 530 carries out extracting detection.But, as as described in the embodiment of Fig. 2, by reconfiguring electrical connection, plug testing circuit 250 can couple the first contact point signal input end 210 but not the second contact point signal input end 220 to carry out plug detection, now the second contact point signal input end 220 is coupled to the first current potential when carrying out plug detection, and carrying out being electrically connected the first bias signal output 510 when extracting detection, therefore, detect for avoiding the first current potential impact, aforementioned switches 420 or another switch (not shown) are configurable between the second contact point signal input end 220 and the first current potential, with the control conducting when plug 160 does not insert according to control circuit 260, and the not conducting when plug 160 inserts.
Please note, the embodiment of Fig. 5 can the embodiment of composition graphs 4, make control circuit 260 can based on contact detection signal optionally according to plug detection signal or extract detection signal and judge whether plug 160 is pulled out, in other words, when contact detection signal indicating plug 160 has microphone function, control circuit 260 just enable this is extracted testing circuit 530 and ignores plug detection signal or forbid this plug testing circuit 250; But the embodiment of Fig. 5 also can only be applied to the plug with microphone function, now namely without the need to adopting the contact measuring ability of Fig. 4.Separately please note, if the embodiment of the embodiment composition graphs 4 of Fig. 5, first control circuit 260 can make switch 420 become not conducting to carry out contact detection from conducting when the instruction of plug detection signal has plug 160 to exist, then when contact detection signal indicates first and second identical signal of contact point signal correspondence, (it means that plug 160 does not have microphone function) makes switch 420 conducting again, to judge whether plug 160 is extracted according to plug detection signal foregoing again; Or when contact detection signal indicates the corresponding unlike signal of first and second contact point signal (it means that plug 160 has microphone function) make switch 420 maintain not conducting, to judge whether plug 160 is pulled out according to aforementioned detection signal of extracting.Please note again, the plug detection function of the embodiment of Fig. 2 with extract measuring ability any one can implement separately, the extracting measuring ability and also can implement separately of the embodiment of Fig. 5, implement insert or extract measuring ability how separately because aforementioned explanation has been enough to make the art those of ordinary skill understand, omit at this and repeat and unnecessary explanation.
With reference to Fig. 6, except aforesaid device invention, whether the present invention separately proposes a kind of audio frequency grafting detection method, exist for test plug, the method performs by the audio codec of tool audio frequency grafting detectability of the present invention or its equivalent device, comprises the following steps:
Step S610: receive the first contact point signal, the cover contact of its corresponding plug;
Step S620: receive the second contact point signal, the articulating point of its corresponding plug or cover contact;
Step S630: whether the voltage potential detecting the first or second contact point signal changes, produces plug detection signal according to this.In present embodiment, step S630 comprises: comparative voltage current potential and preset potential, produces plug detection signal whereby; And
Step S640: judge whether plug inserts or extract according to plug detection signal.
With reference to Fig. 7, when the audio frequency grafting detection method that the present invention proposes is applied to the plug may with microphone contact, except the step of Fig. 6, can comprise the following steps: further
Step S710: judge whether plug exists, and produces control signal according to this according to plug detection signal;
Step S720: if judge that plug does not exist according to plug detection signal, makes the switch keeping conducting on detection path to continue to detect by control signal; And
Step S730: if judge that plug exists according to plug detection signal, makes switch not conducting by control signal to stop the plug of Fig. 6 to detect, and carries out other detection (such as, contact detects and/or extracts detection).
In addition, as shown in Figure 8, the embodiment of Fig. 7 also can comprise the following steps to realize the detection of above-mentioned contact:
Step S810: after plug detection signal indicating plug exists, produces contact detection signal according to first and second contact point signal;
Step S820: if contact detection signal represents the corresponding identical signal of first and second contact point signal, also namely represent that the plug detected does not have microphone contact, now make aforementioned switches conducting by control signal, continue whereby to produce aforementioned plug detection signal, and judge whether plug is pulled out according to this; And
Step S830: if contact detection signal represents first and second contact point signal corresponding unlike signal respectively, also namely represent the plug detected and there is microphone contact, now maintain switch not conducting by control signal, produce separately whereby and extract detection signal, and judge whether plug is pulled out according to this.
With reference to Fig. 9, when judging whether plug has microphone contact via contact detection signal, described in producing, extract detection signal, the embodiment of Fig. 8 can comprise the following steps: further
Step S910: when aforementioned contact detection signal represents the corresponding unlike signal of first and second contact point signal difference, export bias voltage signal according to contact detection signal;
Step S920: the output current detecting corresponding bias voltage signal, extracts detection signal to produce according to the value of output current; And
Step S930: judge whether plug is pulled out according to extracting detection signal.
But with reference to Figure 10, when not producing contact detection signal, the embodiment of Fig. 7 can comprise the following steps to produce to extract detection signal:
Step S1010: after plug detection signal indicating plug exists, exports bias voltage signal;
Step S1020: the output current detecting corresponding bias voltage signal, extracts detection signal to produce according to the value of output current; And
Step S1030: judge whether plug is pulled out according to extracting detection signal.
Except the respective embodiments described above, as preserved the testing result whether plug exists, the embodiment of Fig. 6 can comprise the following steps:, after plug detection signal indicating plug exists, default value to be become retention; And according to plug detection signal or extract detection signal and determine whether retention to become default value.
Because the art those of ordinary skill can understand this method working of an invention details and change by the device disclosure of an invention content of Fig. 2 to Fig. 5, therefore, under the prerequisite not affecting the method disclosure of an invention requirement and exploitativeness, repeat omitting and unnecessary explanation.Note that the term of this instructions such as " cover contact ", " articulating point ", " apical grafting point ", " the first current potential ", " the second current potential " etc. identify title, and be not used to limit the present invention.In addition, in aforementioned icon, the order etc. of the position of assembly, shape, size, ratio and step is only the object illustrated, is make the art those of ordinary skill understand purposes of the present invention, not restriction of the present invention.Moreover, the art personnel optionally can implement the part or all of technical characteristic of arbitrary embodiment according to disclosure of the present invention and the demand of self, or optionally implement the combination of the part or all of technical characteristic of multiple embodiment, increase elasticity during the invention process whereby.
In sum, disclosed in this invention there is audio frequency grafting detectability audio codec and audio frequency grafting detection method undertaken inserting and/or extracting detection by the first existing contact and the second contact point signal input end, without the need to arranging independently detection architecture outward at audio codec, also without the need to being received the signal of independent detection structure by the additional pin of audio codec, the space use of circuit board and the cost of associated component is therefore saved.
Although embodiments of the present invention are described above; but these embodiments are not intended to limit the present invention; the art those of ordinary skill the content expressed or imply according to the present invention can impose change to technical characteristic of the present invention; these all changes all may belong to the scope of patent protection sought by the present invention; in other words, what scope of patent protection of the present invention need define depending on the claim of this instructions is as the criterion.

Claims (18)

1. have an audio codec for audio frequency grafting detectability, for attachment plug, described audio codec comprises:
First contact point signal input end, for being electrically connected the cover contact of described plug, and receives the first contact point signal;
Second contact point signal input end, for being electrically connected the articulating point of described plug or described cover contact, and receives the second contact point signal;
Plug testing circuit, couple described first contact point signal input end or described second contact point signal input end, whether the voltage potential for detecting described first contact point signal when coupling described first contact point signal input end changes or whether the voltage potential that detects described second contact point signal when coupling described second contact point signal input end changes, and produces plug detection signal according to this; And
Control circuit, couples described plug testing circuit, judges whether described plug exists according to described plug detection signal.
2. audio codec according to claim 1, wherein, described plug testing circuit is comparator circuit, for voltage potential and the preset potential of the more described first or second contact point signal, produces described plug detection signal accordingly.
3. audio codec according to claim 1, comprises further:
Switch, be controlled by described control circuit, when described plug testing circuit is when producing described plug detection signal according to described first contact point signal, described switch is coupled between described second contact point signal input end and earth terminal, when described plug testing circuit is when producing described plug detection signal according to described second contact point signal, described switch is coupled between described first contact point signal input end and described earth terminal;
Wherein, when described control circuit judges that described plug does not exist, described control circuit makes described switch keeping conducting, and when described control circuit judges that described plug exists, described control circuit makes the not conducting of described switch.
4. audio codec according to claim 3, comprises further:
Circuit for detecting connecting point, couples described first contact point signal input end and described second contact point signal input end, after described plug detection signal indicates described plug to exist, produces contact detection signal according to first and second contact point signal described;
Wherein, if the corresponding identical signal of described contact detection signal instruction first and second contact point signal described, according to described plug detection signal, described control circuit judges whether described plug is pulled out.
5. audio codec according to claim 4, comprises further:
First bias signal output, for being electrically connected cover contact or the articulating point of described plug;
Second bias signal output, for being electrically connected the cover contact of described plug; And
Extract testing circuit, couple first and second bias signal output described, for when described contact detection signal instruction first and second contact point signal described distinguishes corresponding unlike signal, export bias voltage signal to the described first or second bias signal output, detect the output current of corresponding described bias voltage signal accordingly, extract detection signal to produce according to the value of described output current;
Wherein, if described in extract testing circuit produce described in extract detection signal, described control circuit according to described in extract detection signal and judge whether described plug is pulled out.
6. audio codec according to claim 3, comprises further:
Bias signal output, for exporting bias voltage signal; And
Extract testing circuit, be coupled to described bias signal output, described bias voltage signal is exported to described bias signal output after existing for indicating described plug at described plug detection signal, detect the output current of corresponding described bias voltage signal accordingly, extract detection signal to produce according to the value of described output current;
Wherein, described control circuit according to described in extract detection signal and judge whether described plug is pulled out.
7., according to the audio codec described in claim 3, comprise further:
Circuit for detecting connecting point, couples described first contact and the second contact point signal input end, after existing, produces contact detection signal according to first and second contact point signal described for indicating described plug at described plug detection signal;
Wherein, if the corresponding identical signal of described contact detection signal instruction first and second contact point signal described, described control circuit makes described switch conduction according to described contact detection signal, if described contact detection signal instruction first and second contact point signal described corresponding unlike signal respectively, control circuit maintains the not conducting of described switch according to described contact detection signal.
8. audio codec according to claim 1, comprise storage unit further, and described control circuit is after described plug detection signal indicates described plug to exist, the default value of described storage unit is become retention, and according to described plug detection signal or extract detection signal and determine whether described retention to become described default value
Wherein, described default value indicates the state without plug, and described retention indicates the state of plug.
9. whether an audio frequency grafting detection method, exist for test plug, is to perform by the audio codec with audio frequency grafting detectability, comprising:
Receive the first contact point signal, the cover contact of its corresponding described plug;
Receive the second contact point signal, the articulating point of its corresponding described plug or described cover contact;
Whether the voltage potential detecting the described first or second contact point signal changes, and produces plug detection signal according to this; And
Judge whether described plug exists according to described plug detection signal.
10., according to the audio frequency grafting detection method described in claim 9, wherein, the step producing described plug detection signal comprises:
More described voltage potential and preset potential, produce described plug detection signal whereby.
11. audio frequency grafting detection methods according to claim 9, comprise further:
Judge whether described plug exists, and produces control signal according to this according to described plug detection signal;
If judge that described plug does not exist according to described plug detection signal, maintain switch conduction by described control signal; And
If judge that described plug exists according to described plug detection signal, make the not conducting of described switch by described control signal.
12. audio frequency grafting detection methods according to claim 11, comprise further:
After described plug detection signal indicates described plug to exist, produce contact detection signal according to first and second contact point signal described;
If described contact detection signal represents the corresponding identical signal of first and second contact point signal described, make described switch conduction by described control signal; And
If described contact detection signal represents first and second contact point signal described corresponding unlike signal respectively, maintain the not conducting of described switch by described control signal.
13. audio frequency grafting detection methods according to claim 11, comprise further:
After described plug detection signal indicates described plug to exist, produce contact detection signal according to first and second contact point signal described; And
If described contact detection signal represents the corresponding identical signal of first and second contact point signal described, judge whether described plug is pulled out according to described plug detection signal.
14. audio frequency grafting detection methods according to claim 13, comprise further:
When described contact detection signal represents the corresponding unlike signal of described first and second contact point signal difference, export bias voltage signal according to described contact detection signal;
Detect the output current of corresponding described bias voltage signal, described in producing according to the value of described output current, extract detection signal; And
Judge whether described plug is pulled out according to described detection signal of extracting.
15. audio frequency grafting detection methods according to claim 11, comprise further:
After plug detection signal indicates described plug to exist, export bias voltage signal;
Detect the output current of corresponding described bias voltage signal, extract detection signal to produce according to the value of described output current; And
Judge whether described plug is pulled out according to described detection signal of extracting.
16. audio frequency grafting detection methods according to claim 9, comprise further:
After described plug detection signal indicates described plug to exist, default value is become retention; And
According to described plug detection signal or extract detection signal and determine whether described retention to become described default value,
Wherein, described default value indicates the state without plug, and described retention indicates the state of plug.
17. 1 kinds of audio codecs with audio frequency grafting detectability, comprising:
First contact point signal input end, for being electrically connected the cover contact of described plug, and receives the first contact point signal;
Second contact point signal input end, for being electrically connected the articulating point of described plug or described cover contact, and receives the second contact point signal;
Bias signal output, for exporting bias voltage signal to described cover contact or described articulating point;
Extracting testing circuit, couple described bias signal output, for exporting described bias voltage signal to described bias signal output, detecting the output current of corresponding described bias voltage signal whereby, extract detection signal to produce according to the value of described output current; And
Control circuit, extracts testing circuit described in coupling, and judges whether described plug is pulled out for extracting detection signal described in basis.
18. according to the audio codec described in claim 17, wherein, described in extract value and the pre-set current value of the more described output current of testing circuit, extract detection signal described in producing according to this.
CN201310531097.4A 2013-10-31 2013-10-31 There are the audio codec and audio grafting detection method of audio grafting detectability Active CN104599672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310531097.4A CN104599672B (en) 2013-10-31 2013-10-31 There are the audio codec and audio grafting detection method of audio grafting detectability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310531097.4A CN104599672B (en) 2013-10-31 2013-10-31 There are the audio codec and audio grafting detection method of audio grafting detectability

Publications (2)

Publication Number Publication Date
CN104599672A true CN104599672A (en) 2015-05-06
CN104599672B CN104599672B (en) 2018-04-03

Family

ID=53125405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310531097.4A Active CN104599672B (en) 2013-10-31 2013-10-31 There are the audio codec and audio grafting detection method of audio grafting detectability

Country Status (1)

Country Link
CN (1) CN104599672B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331950A (en) * 2015-07-01 2017-01-11 三星电子株式会社 Audio device and multimedia device including audio device
CN107925822A (en) * 2015-08-31 2018-04-17 伯斯有限公司 Microphone compatibility
CN108492543A (en) * 2018-03-19 2018-09-04 苏州佳世达光电有限公司 A kind of host equipment, input controlling equipment and signal transmit method for detecting
CN112003097A (en) * 2019-05-08 2020-11-27 群光电能科技(苏州)有限公司 Power plug, power supply and power connector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200826718A (en) * 2006-12-01 2008-06-16 Wistron Neweb Corp Electronic device capable of automatically discriminating headset type and related method
US20080307144A1 (en) * 2007-06-05 2008-12-11 Apple Inc. Personal media device docking station having an accessory device detector
CN101841754A (en) * 2010-04-29 2010-09-22 中兴通讯股份有限公司 Terminal and voice-input device selection method
CN102378087A (en) * 2010-07-23 2012-03-14 飞兆半导体公司 Audio jack reset
CN102710821A (en) * 2012-05-15 2012-10-03 青岛海信移动通信技术股份有限公司 Hand microphone for interphone and interphone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200826718A (en) * 2006-12-01 2008-06-16 Wistron Neweb Corp Electronic device capable of automatically discriminating headset type and related method
US20080307144A1 (en) * 2007-06-05 2008-12-11 Apple Inc. Personal media device docking station having an accessory device detector
CN101841754A (en) * 2010-04-29 2010-09-22 中兴通讯股份有限公司 Terminal and voice-input device selection method
CN102378087A (en) * 2010-07-23 2012-03-14 飞兆半导体公司 Audio jack reset
CN102710821A (en) * 2012-05-15 2012-10-03 青岛海信移动通信技术股份有限公司 Hand microphone for interphone and interphone

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107925822A (en) * 2015-08-31 2018-04-17 伯斯有限公司 Microphone compatibility
CN107925822B (en) * 2015-08-31 2020-03-13 伯斯有限公司 Microphone compatibility
CN108492543A (en) * 2018-03-19 2018-09-04 苏州佳世达光电有限公司 A kind of host equipment, input controlling equipment and signal transmit method for detecting
CN112003097A (en) * 2019-05-08 2020-11-27 群光电能科技(苏州)有限公司 Power plug, power supply and power connector
CN112003097B (en) * 2019-05-08 2022-02-11 群光电能科技(苏州)有限公司 Power plug, power supply and power connector

Also Published As

Publication number Publication date
CN104599672B (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN203466944U (en) Self configuration device
KR101946486B1 (en) Ear-phone Operation System and Ear-phone Operating Method, and Portable Device supporting the same
US9301045B2 (en) Audio I O headset plug and plug detection circuitry
US20140072129A1 (en) Method and apparatus for detecting insertion of external audio outputting device in electronic device
KR101941509B1 (en) Apparatus and method for preventing error recognition in earjack
TWI533720B (en) Audio codec with audio jack detection function and audio jack detection method
EP2863652B1 (en) Audio interface self-adaptation device
CN101729958A (en) Audio frequency output device
CN103078224B (en) Connecting line, control method, control circuit and electronic equipment
CN104599672A (en) Audio encoder/decoder with audio insertion-connection detection capacity and audio insertion-connection detecting method
WO2016165297A9 (en) Earphone jack and method for detecting whether earphone is inserted in place
CN103888873A (en) Electronic device and UART output system and method
WO2020048298A1 (en) Audio signal processing method and apparatus
EP2519034B1 (en) Earphone pulling and plugging detection circuit
CN102073470A (en) Electronic equipment and control method thereof
CN101841754A (en) Terminal and voice-input device selection method
CN106226647B (en) The earphone socket and electronic equipment of a kind of electronic equipment
CN105281153B (en) A kind of interface, USB plug and mobile terminal
CN104683914A (en) Electronic equipment and earphone detection circuit, method and device
CN109713511A (en) Detection circuit, earphone socket, method and mobile terminal
CN104105046A (en) Detection circuit
CN104093104A (en) Circuit and method for eliminating POP sound of earphone
CN106412760B (en) Earphone compatible device
CN102291640B (en) Double-contact mobile phone earphone socket
CN206686364U (en) Headset plugging detects circuit and electronic equipment

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