CN109275067A - Combined type connector circuit for detecting and its operating method - Google Patents

Combined type connector circuit for detecting and its operating method Download PDF

Info

Publication number
CN109275067A
CN109275067A CN201710580414.XA CN201710580414A CN109275067A CN 109275067 A CN109275067 A CN 109275067A CN 201710580414 A CN201710580414 A CN 201710580414A CN 109275067 A CN109275067 A CN 109275067A
Authority
CN
China
Prior art keywords
detecting
contact
connector
circuit
audio
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
CN201710580414.XA
Other languages
Chinese (zh)
Other versions
CN109275067B (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 CN201710580414.XA priority Critical patent/CN109275067B/en
Publication of CN109275067A publication Critical patent/CN109275067A/en
Application granted granted Critical
Publication of CN109275067B publication Critical patent/CN109275067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The embodiment of the present invention provides a kind of combined type connector circuit for detecting that can be used for message codec and its operating method.The combined type connector circuit for detecting not only can be used to judge the contact of audio connector, it may also be ensured that the audio connector of difference structure can be compatible to message codec.

Description

Combined type connector circuit for detecting and its operating method
Technical field
The invention relates to a kind of combined type connector circuit for detecting and its operating methods, and especially a kind of for message The combined type connector circuit for detecting and its operating method of codec (Audio Codec).
Background technique
In general, a message is connected in the audio connector of audio output device (for example, earphone) (Audio Jack) When codec, the ability which needs to have the contact for detecting audio connector, in this way, the sound Interrogating codec could be according to the contact of audio connector and to adjust out audio signals output mode appropriate.Citing comes Say, at present on the market the contact of audio connector then mainly with tricyclic structure (for example, TRS) or tetracyclic structure (for example, CTIA Or OMTP) it is in the majority, therefore existing message codec be only able to support Auto-Sensing have TRS structure, CTIA structure or The audio output device of the audio connector of OMTP structure.However, for some with higher-order structure (for example, difference structure) For the audio output device of audio connector, the structure of audio connector is all different with above-mentioned three, therefore will be unable to compatible In existing message codec.
In view of this, how to provide a kind of combined type connector circuit for detecting for message codec, and make The combined type connector circuit for detecting also can ensure that differential (Differential) other than the contact that can determine whether audio connector The audio output device of the audio connector of structure can also be compatible to existing message codec, be for fields urgent need to resolve The problem of.
Summary of the invention
The embodiment of the present invention provides a kind of combined type connector circuit for detecting for message codec.Wherein, described multiple Box-like connector circuit for detecting is for electrically connecting to the audio connector of an audio output device, this audio connector contains a plurality of connect Point, and these contacts include an apical grafting point, one first ring contact, one second ring contact and a set of contact.The combined type connector Circuit for detecting includes a detecting and control circuit and a differential wave amplifying circuit.Detecting and control circuit, by via a spy Constant voltage source and a bias resistance come to from set contact to the second ring contact and from the second ring contact to two paths point of set contact Jin Hang not be conductive, to acquire one first impedance value and one second impedance value, and according to the first impedance value and the second impedance value, Judge a contact of this audio connector, and according at least one control signal of this contact output.Differential wave amplification electricity Road is then coupled to detecting and control circuit, and to receive this control signal.When detecting judges audio connector with control circuit This contact when belonging to a difference structure, differential wave amplifying circuit then controls signal according to this, by L channel forward direction (Positive) audio signals, L channel negative sense (Negative) audio signals, a right channel forward direction audio signals and one are right Sound channel negative sense audio signals are separately input into these contacts of this audio connector.
The embodiment of the present invention separately provides a kind of operating method of combined type connector circuit for detecting for message codec. Wherein, this combined type connector circuit for detecting is for electrically connecting to the audio connector of an audio output device, this audio connector includes A plurality of contacts, and these contacts include an apical grafting point, one first ring contact, one second ring contact and a set of contact.It is described Operating method includes the following steps.Firstly, using a detecting and control circuit, via a specific voltage source and a bias resistance, Conduction is carried out respectively to from set contact to the second ring contact and from the second ring contact to two paths of set contact, to acquire one the One impedance value and one second impedance value, and according to the first impedance value and the second impedance value, judge a contact of this audio connector Kenel, and according at least one control signal of this contact output.Then, this of audio connector is judged with control circuit when detecting When contact belongs to a difference structure, using a differential wave amplifying circuit, signal is controlled according to this, by L channel forward direction Audio signals, a L channel negative sense audio signals, a right channel forward direction audio signals and right channel negative sense audio signals difference Input is so far in these contacts of audio connector.
In conclusion combined type connector circuit for detecting and its operating method provided by the embodiment of the present invention, not only can be used The contact of audio connector is judged, it may also be ensured that the audio connector of difference structure can be compatible to existing message encoding and decoding Device.
Be further understood that feature and technology contents of the invention to be enabled, please refer to below in connection with it is of the invention specifically Bright and attached drawing, but these explanations are intended merely to illustrate the present invention with institute's accompanying drawings, rather than interest field of the invention is appointed What limitation.
Detailed description of the invention
Figure 1A is the structural schematic diagram of audio connector provided by the embodiment of the present invention.
Figure 1B is the running schematic diagram when contact of the audio connector of Figure 1A belongs to TRS structure.
Fig. 1 C is the running schematic diagram when contact of the audio connector of Figure 1A belongs to CTIA structure.
Fig. 1 D is the running schematic diagram when contact of the audio connector of Figure 1A belongs to OMTP structure.
Fig. 2 is the circuit diagram of combined type connector circuit for detecting provided by the embodiment of the present invention.
Fig. 3 A and Fig. 3 B be in the combined type connector circuit for detecting of Fig. 2 detecting and control circuit it is performed to from set contact to Second ring contact and the schematic diagram for carrying out conduction respectively to two paths of set contact from the second ring contact.
Fig. 4 is the flow diagram of the operating method of combined type connector circuit for detecting provided by the embodiment of the present invention.
[symbol description]
11: audio connector
T: apical grafting point the R1: the first ring contact
R2: the second ring contact SL: set contact
2: message codec
L: L channel audio signals R: right channel audio signals
GND: ground voltage
MIC_S: microphone reception signals
L+: L channel forward direction audio signals L-: L channel negative sense audio signals
R+: right channel forward direction audio signals R-: right channel negative sense audio signals
22: combined type connector circuit for detecting
221: detecting and control circuit 223: differential wave amplifying circuit
225: differential wave generation circuit 227: connector circuit for detecting
229: message analog digital converter
MIC_BIAS: specific voltage source
RES_BIAS: bias resistance
Rmic+: the first the Rmic-: the second impedance value of impedance value
223a~223b: signal amplification unit
AS: numerical digit audio stream
SW1: first switch cell S W2: second switch unit
S400~S460: process step
Specific embodiment
Hereinafter, it will illustrate that various embodiments of the present invention carry out the present invention is described in detail by schema.However, of the invention Concept may embody in many different forms, and should not be construed as limited by exemplary embodiments set forth herein.In addition, Same reference numbers can be used to indicate similar element in the drawings.
Firstly, please referring to Figure 1A to Fig. 1 D.Wherein, Figure 1A is that the structure of audio connector provided by the embodiment of the present invention is shown Be intended to, and Figure 1B to Fig. 1 D be to respectively explanation figure 1A audio connector 11 with different contacts (for example, TRS tie Structure, CTIA structure and OMTP structure) when running schematic diagram.In the present embodiment, the message of audio output device (not being painted) Connector 11 contains a plurality of contacts, and these contacts include apical grafting point T, the first ring contact R1, the second ring contact R2 and socket Point SL.It is worth noting that, the present invention is not intended to limit the specific implementation of audio output device, therefore have in the art Usual skill should can carry out the design in relation to audio output device according to actual demand or application.
It more carefully says, as shown in Figure 1B, when the contact of audio connector 11 belongs to TRS structure, apical grafting point T is just used Come received from a L channel audio signals L provided by message codec 2, and the first ring contact R1 is then used to received from message A right channel audio signals R provided by codec, and the second ring contact R2 and set contact SL are then jointly coupled to message A ground voltage GND in codec 2.It is worth noting that, the present invention is not intended to limit the provided left side of message codec 2 Specific implementation when sound channel audio signals L and right channel audio signals R, therefore the usually intellectual of having answers in the art It can be designed according to actual demand or application.
In addition, as shown in Fig. 1 C and Fig. 1 D, when the contact of audio connector 11 belongs to CTIA structure or OMTP structure, Apical grafting point T and the first ring contact R1 is still then for received from L channel audio signals L provided by message codec respectively And right channel audio signals R, but the second ring contact R2 and set contact SL can select one to be used as output one microphone receipts The contact of sound signal MIC_S.To sum up, for the fortune for the audio connector 11 for belonging to TRS structure, CTIA structure or OMTP structure It is all to have known by usually intellectual in the art, therefore just do not add to go to live in the household of one's in-laws on getting married about this is dissolved in its thin portion as principle It states.
It should be noted that in the present embodiment, when the contact of audio connector 11 but belongs to difference structure, apical grafting Point T, the first ring contact R1, the second ring contact R2 and set contact SL are then respectively as one L channel forward direction audio signals L of reception +, a L channel negative sense audio signals L-, a right channel forward direction audio signals R+ and a right channel negative sense audio signals R- one connect Point.For example, in a kind of wherein application, apical grafting point T and the first ring contact R1 are just used to receive L channel forward direction sound respectively Signal L+ and L channel negative sense audio signals L- is interrogated, and the second ring contact R2 and set contact SL are then used to receiving right channel respectively just To audio signals R+ and right channel negative sense audio signals R-.
It or is that in other applications, apical grafting point T and the first ring contact R1 are then used to receive L channel forward direction respectively Audio signals L+ and right channel forward direction audio signals R+, and the second ring contact R2 and set contact SL are then used to receive L channel respectively Negative sense audio signals L- and right channel negative sense audio signals R-.To sum up, the present invention, which is not intended to limit audio connector 11, belongs to difference The specific implementation of operation principles when dynamic structure, therefore the usually intellectual of having should can be according to actual demand in the art Or application is to be designed.
However, according to the prior art it is found that operation principles but can not for the audio connector 11 for belonging to difference structure Existing message codec 2 can be effectively compatible to.Then, referring to Fig. 2, Fig. 2 is multiple provided by the embodiment of the present invention The circuit diagram of box-like connector circuit for detecting.Wherein, the combined type connector circuit for detecting 22 of Fig. 2 can be for Figure 1B to figure In the message codec 2 of 1D, therefore understood also referring to Figure 1B to Fig. 1 D with benefit, but the present invention is not intended to limit answering for Fig. 2 Box-like connector circuit for detecting 22 can be only used in the message codec 2 of Figure 1B to Fig. 1 D.
In addition, it is to be understood that the combined type connector circuit for detecting 22 of Fig. 2 is also possible to be directly arranged at message volume solution In code device 2, rather than only as with another circuit for linking outside message codec 2.To sum up, the present invention is not intended to limit again Specific implementation between box-like connector circuit for detecting 22 and message codec 2 has usual knowledge in the art Person should can be designed according to actual demand or application.
It more carefully says, the combined type connector circuit for detecting 22 mainly includes a detecting and control circuit 221 and coupling It is connected to a differential wave amplifying circuit 223 of detecting Yu control circuit 221.Wherein, above-mentioned each element can be through pure hardware Circuit arranges in pairs or groups firmware or software to realize, or through hardware circuit to realize.To sum up, the present invention be not intended to limit it is compound The specific implementation of formula connector circuit for detecting 22.In addition, above-mentioned detecting and control circuit 221 and differential wave amplifying circuit 223 can be integration or be provided separately, and the present invention is also not limited system.
In practice, since the contact of the audio connector 11 of Fig. 2 assumes that be unknown, the detecting of combined type connector Circuit 22 just will be used to be electrically connected audio connector 11, and can detect the contact of audio connector 11.Specifically, such as Shown in Fig. 2, when audio output device is connected through the audio connector 11 of Figure 1A with combined type connector circuit for detecting 22, detect Survey with control circuit 221 will by via a specific voltage source MIC_BIAS and a bias resistance RES_BIAS come to from socket Point SL to the second ring contact R2 and conduction is carried out respectively from the second ring contact R2 to two paths of set contact SL, to acquire one the One impedance value Rmic+ and one second impedance value Rmic-, and according to the first impedance value Rmic+ and the second impedance value Rmic-, sentence The contact of disconnected audio connector 11, and according at least one control signal (not being painted) of this contact output.Wherein, detailed Judgment mechanism is detected, more subsequent paragraph will be described in.
Then, when detecting judges that the contact of audio connector 11 belongs to difference structure with control circuit 221, differential letter Number amplifying circuit 223 then controls signal according to this, by L channel forward direction audio signals L+, L channel negative sense audio signals L-, the right side Sound channel forward direction audio signals R+ and right channel negative sense audio signals R- are separately input into these contacts of audio connector 11.As Described in previous contents, because the present invention is not intended to limit the specific implementation side of operation principles when audio connector 11 belongs to difference structure Formula, so that is, each contact in audio connector 11, which can be, not repeatedly selects to receive each other L channel forward direction Audio signals L+, L channel negative sense audio signals L-, right channel forward direction audio signals R+ and right channel negative sense audio signals R- One of them.
Therefore, two signal amplification unit 223a~223b will have can be used in the differential wave amplifying circuit 223 in Fig. 2, and Each signal amplification unit 223a~223b can be from L channel forward direction audio signals L+, L channel negative sense audio signals L-, right sound In road forward direction audio signals R+ and right channel negative sense audio signals R-, not repeatedly selection is taken the post as both as its input signal. It should be noted that the specific implementation in relation to differential wave amplifying circuit 223, the present invention and not only with side shown in Fig. 2 Formula is limitation, and the usually intellectual of having should can be designed according to actual demand or application in the art.
On the other hand, from Figure 1B to Fig. 1 D it is found that the output signal as provided by existing message codec 2 is only capable of For L channel audio signals L and right channel audio signals R, therefore in an embodiment of the present invention, combined type connector circuit for detecting 22 more may include the differential wave generation circuit 225 for being coupled to differential wave amplifying circuit 223.Wherein, differential wave generates Circuit 225 is then used to received from a numerical digit audio stream provided by message codec 2 (Digital Audio Stream) AS, and according to numerical digit audio stream AS, L channel forward direction audio signals L+, L channel negative sense audio signals are produced respectively L-, right channel forward direction audio signals R+ and right channel negative sense audio signals R-.
It should be understood that the numerical digit audio stream AS in Fig. 2 can be for example represented as provided by message codec 2 The integration of L channel audio signals L and right channel audio signals R, but the present invention is not limited thereto system.In addition, in general, Whether current message codec 2 need to be additionally provided with an independent detecting mechanism mostly has connector insertion to detect, therefore In an embodiment of the present invention, combined type connector circuit for detecting 22 still includes a connector circuit for detecting 227, and connector detecting is electric Road 227 is then used to detect whether audio connector 11 is electrically connected at combined type connector circuit for detecting 22.
That is, connector circuit for detecting 227 is used to detect whether audio connector 11 is inserted into combined type connector detecting electricity In one socket (not being painted) on road 22.Wherein, when connector circuit for detecting 227 detect audio connector 11 be electrically connected at combined type When connector circuit for detecting 22, connector circuit for detecting 227 just understand enable detecting and control circuit 221 start to from set contact SL to Second ring contact R2 and conduction is carried out respectively from the second ring contact R2 to two path of set contact SL, and according to being acquired The first impedance value Rmic+ and the second impedance value Rmic-, judge the contact of audio connector 11.
In practice, connector circuit for detecting 227 be can be through detecting from the voltage change on apical grafting point T, and to judge Whether audio connector 11 is electrically connected at combined type connector circuit for detecting 22.It is noted that the present invention is not intended to limit connector The specific implementation of circuit for detecting 227, therefore above content is merely citing herein, it is not intended to limiting the invention.
On the other hand, if the contact that audio connector 11 is contemplated may still belong to TRS structure, CTIA structure or OMTP structure, therefore combined type connector circuit for detecting 22 provided by the embodiment of the present invention, can also be and be collocated with different skills Art means, to ensure that existing tricyclic and tetracyclic structure also can normally be compatible to message codec 2.Then, when detecting and control When circuit 221 processed judges that the contact of audio connector 11 belongs to TRS structure, differential wave amplifying circuit 223 then detect by basis It surveys and controls signal provided by control circuit 221, by L channel forward direction audio signals L+ and right channel forward direction audio signals R+ It is separately input into the apical grafting point T and the first ring contact R1 of audio connector 11, and via a first switch cell S W1, by Two ring contact R2 and set contact SL are all coupled to the ground voltage GND in combined type connector circuit for detecting 22.
Similarly, differential when detecting judges that the contact of audio connector 11 belongs to OMTP structure with control circuit 221 Signal amplification circuit 223 then controls signal according to provided by detecting and control circuit 221, by L channel forward direction audio signals L+ And right channel forward direction audio signals R+ is separately input into the apical grafting point T and the first ring contact R1 of audio connector 11, and via Second ring contact R2 and set contact SL are respectively coupled to a message class by one second switch cell S W2 and first switch cell S W1 Than digital converter (Audio ADC) 229 and ground voltage GND.
In addition, when detecting judges that the contact of audio connector 11 belongs to CTIA structure with control circuit 221, differential letter Number amplifying circuit 223 then controls signal according to provided by detecting and control circuit 221, by sound channel forward direction audio signals L+ and the right side Sound channel forward direction audio signals R+ is separately input into the apical grafting point T and the first ring contact R1 of audio connector 11, and via first Switch unit SW1 and second switch cell S W2, by the second ring contact R2 and set contact SL be respectively coupled to ground voltage GND and Message analog digital converter 229.
It should be understood that can be for example represented as by the signal exported via message analog digital converter 229 Microphone reception signals MIC_S after handled by message analog digital converter 229.To sum up, above-mentioned ought connect in message When first 11 contact belongs to TRS structure, OMTP structure or CTIA structure, the combined type connector of the embodiment of the present invention detects electricity The specific implementation of technological means performed by road 22 is also merely herein citing, and it is not intended to limiting the invention.
Then, below for detecting performed by the detecting and control circuit 221 in combined type connector circuit for detecting 22 Mechanism is further introduced.It please refers to and is detected in the combined type connector circuit for detecting that Fig. 3 A and Fig. 3 B, Fig. 3 A and Fig. 3 B are Fig. 2 With performed by control circuit for from set contact to the second ring contact and from the second ring contact to set contact two paths respectively into The conductive schematic diagram of row.Wherein, part element identical with Fig. 2 is indicated in Fig. 3 A and Fig. 3 B with identical figure number, therefore not in this Add that its details is described in detail again.
It should be noted that since electret capacitor microphone (Condenser Microphone) has been widely used in sound It interrogates in output device, therefore more must should actively be provided in combined type connector circuit for detecting 22 (or message codec 1) one steady Fixed voltage source (also that is, specific voltage source MIC_BIAS) and bias resistance RES_BIAS starts electret capacitor type Mike Wind.In addition, because electret capacitor microphone operation has different impedances in positive bias and reverse blas and formed, In the case where not needing extra circuits element cost, the combined type connector circuit for detecting 22, Bian Kezhi of the embodiment of the present invention Connect using above-mentioned specific voltage source MIC_BIAS and bias resistance RES_BIAS come respectively to from set contact to the second ring contact (such as Shown in Fig. 3 A) and it is conductive to the progress of two paths of set contact (as shown in Figure 3B) from the second ring contact, to obtain the first impedance value Rmic+ and the second impedance value Rmic-.
More specifically, the present invention, which can be, carrys out experimental measurement first with mode illustrated by Fig. 3 A and Fig. 3 B and connects in difference Different impedance values are formed by under point kenel, and drafts out to be used as according to all experimental datas and judges different contacts The criterion of identification of kenel.Therefore, first and second impedance value Rmic of audio connector 11 is acquired with control circuit 221 when detecting +, Rmic- when, detecting with control circuit 221 can be according to the first impedance value Rmic+, the second impedance value Rmic- and above-mentioned identification Criterion judges the contact of audio connector 11.
For example, the data that experimental amount is measured can be please referred to such as following table one.
Table one
Wherein, K indicates to be a fixed impedance value, and RHPThen expression is impedance of audio output device itself.Separately Outside, above-mentioned so-called " difference structure A ", what be can refer to is exactly that apical grafting point T and the first ring contact R1 is used to receiving L channel just respectively To audio signals L+ and L channel negative sense audio signals L-, and the second ring contact R2 and set contact SL are then used to receive right sound respectively The application of road forward direction audio signals R+ and right channel negative sense audio signals R-.
Similarly, above-mentioned so-called " difference structure B ", then can refer to be exactly apical grafting point T and the first ring contact R1 be used to minute Not Jie Shou L channel forward direction audio signals L+ and right channel forward direction audio signals R+, and the second ring contact R2 and set contact SL then use To receive the application of L channel negative sense audio signals L- and right channel negative sense audio signals R- respectively.
To sum up, for belonging to for the audio connector 11 of difference structure A, between the second ring contact R2 and set contact SL Impedance, be impedance R of audio output device itselfHP.That is, no matter positively biased or inverse partially all not any difference Not.On the contrary, the impedance for belonging to for the audio connector 11 of difference structure B, between the second ring contact R2 and set contact SL It is then infinitely great.Then, the first impedance value Rmic+ and the second impedance value being can be found that by table one under five kinds of contacts The combination of Rmic- is different from, and therefore, the detecting of the embodiment of the present invention just can actively be drafted out a set of with control circuit 221 Suitable criterion of identification.
For example, all equal with obtained first and second impedance value Rmic+, the Rmic- of control circuit 221 when detecting And when being 0 (also that is, Rmic+=Rmic-=0), detecting just can judge the contact of audio connector 11 with control circuit 221 Belong to TRS structure.Or when detecting with obtained first and second impedance value Rmic+, the Rmic- of control circuit 221 all etc. (also that is, Rmic+=Rmic-=R when impedance of audio output device itselfHP), detecting just can be judged with control circuit 221 The contact of audio connector 11 belongs to above-mentioned difference structure A.Similarly, when detecting and control circuit 221 obtained first And second impedance value Rmic+, Rmic- when being all equal to infinity are (also that is, from set contact to the second ring contact and from the second ring contact It is all non-conductive to two paths of set contact, therefore Rmic+, Rmic- are all expressed as infinity, Rmic+=Rmic-=∞), detecting It just can judge that the contact of audio connector 11 belongs to above-mentioned difference structure B with control circuit 221.
In addition, when detecting and the obtained first impedance value Rmic+ of control circuit 221 are less than the second impedance value Rmic- (also that is, Rmic+ < Rmic-), detecting just can judge that the contact of audio connector 11 belongs to OMTP knot with control circuit 221 Structure.When detecting is greater than the second impedance value Rmic- with the obtained first impedance value Rmic+ of control circuit 221 (also that is, Rmic+ > Rmic-), detecting just can judge that the contact of audio connector 11 belongs to CTIA structure with control circuit 221.It is worth noting , the above-mentioned specific reality that contact is judged according to the first impedance value Rmic+, the second impedance value Rmic- and criterion of identification Existing mode is all merely herein citing, and it is not intended to limiting the invention.
Finally, in order to further explain the operation workflow about combined type connector circuit for detecting 22, the present invention is further A kind of embodiment of its operating method is provided.It is that combined type provided by the embodiment of the present invention connects please refer to Fig. 4, Fig. 4 The flow diagram of the operating method of head circuit for detecting.Operating method described in this example can be shown in Fig. 2 combined type connector It executes in circuit for detecting 22, therefore is please understood together according to Fig. 2 to Fig. 3 B with benefit.In addition, detailed step process such as previous embodiment It is described, it is only summarized in this and no longer adds redundant.
Firstly, using a connector circuit for detecting, detecting whether audio connector is electrically connected at combined type in step S400 Connector circuit for detecting, and when detecting audio connector is electrically connected at combined type connector circuit for detecting, carry out step S410.? In step S410, the detecting of connector circuit for detecting enable one and control circuit.Then, in the step s 420, detecting and control are utilized Circuit connects the set contact from audio connector to the second ring contact and from message via a specific voltage source and a bias resistance Two paths of the second ring contact of head to set contact carry out conduction respectively, acquire one first impedance value and one second resistance with corresponding Anti- value, and according to first impedance value and second impedance value, judge a contact of audio connector, and according to the contact At least one control signal of kenel output.
When the contact for judging audio connector belongs to difference structure, step S430 is carried out.In step S430, utilize Differential wave amplifying circuit, according to this control signal, by a L channel forward direction audio signals, a L channel negative sense audio signals, One right channel forward direction audio signals and a right channel negative sense audio signals are separately input into the corresponding contact of audio connector.
Similarly, when the contact for judging audio connector belongs to TRS structure, step S440 is carried out.In step S440 In, using differential wave amplifying circuit, signal is controlled according to this, L channel forward direction audio signals and right channel forward direction message are believed It number is separately input into the apical grafting point and the first ring contact of audio connector, and via first switch unit, by audio connector Second ring contact and set contact are all coupled to ground voltage.
Either, when the contact for judging audio connector belongs to OMTP structure, step S450 is carried out.In step S450 In, using differential wave amplifying circuit, signal is controlled according to this, L channel forward direction audio signals and right channel forward direction message are believed It number is separately input into the apical grafting point and the first ring contact of audio connector, and via second switch unit and first switch list Second ring contact of audio connector and set contact are respectively coupled to message analog digital converter and ground voltage by member.
It or is, when the contact for judging audio connector belongs to CTIA structure, to carry out step S460.In step In S460, using differential wave amplifying circuit, signal is controlled according to this, by L channel forward direction audio signals and right channel forward direction sound News signal is separately input into the apical grafting point and the first ring contact of audio connector, and via first switch unit and second switch Second ring contact of audio connector and set contact are respectively coupled to ground voltage and message analog digital converter by unit.
On the other hand, if it is mostly to be only capable of providing incorporating L channel message letter that existing message codec, which is contemplated, Number and the numerical digit audio streams of right channel audio signals can be with benefit therefore in operating method provided by the embodiment of the present invention It with a differential wave generation circuit, receives and comes from numerical digit audio stream provided by message codec, and according to the numerical digit Audio stream generates L channel forward direction audio signals, L channel negative sense audio signals, right channel forward direction audio signals and the right side respectively Sound channel negative sense audio signals.To sum up, the L channel audio signals and right channel audio signals of above-mentioned generation differential form Specific implementation is all merely herein citing, and it is not intended to limiting the invention.
In conclusion the embodiment of the present invention provided by for message codec combined type connector circuit for detecting and its Operating method not only can be used to the contact for judging audio connector, it may also be ensured that the audio connector of difference structure can be compatible In message codec.In this way, the high-order audio output device of this kind of differential output, it is no longer necessary to use special requirement Converter can directly be run in existing message codec, allow user that can more experience differential message institute band easily Come preferable sound quality sense by.

Claims (10)

1. a kind of combined type connector circuit for detecting for message codec, wherein the combined type connector circuit for detecting is to electricity Property one audio output device of connection audio connector, which contains a plurality of contacts, and those contacts include a top Contact, one first ring contact, one second ring contact and a set of contact, the combined type connector circuit for detecting include:
One detecting and control circuit, by via a specific voltage source and a bias resistance come to from the set contact to second ring Contact and two paths from the second ring contact to the set contact carry out conduction respectively, to acquire one first impedance value and one Two impedance values, and according to first impedance value and second impedance value, judge a contact of the audio connector, and according to At least one control signal of contact output;And
One differential wave amplifying circuit, is coupled to the detecting and control circuit, to receive the control signal, and works as the detecting When judging that the contact of the audio connector belongs to a difference structure with control circuit, the differential wave amplifying circuit was according to should Signal is controlled, by a L channel forward direction audio signals, a L channel negative sense audio signals, a right channel forward direction audio signals and one Right channel negative sense audio signals are separately input into those contacts of the audio connector.
2. combined type connector circuit for detecting according to claim 1, wherein the detecting and control circuit are according to first resistance Anti- value and second impedance value judge whether two path is conductive, and work as non-conductive two path or first impedance value and be somebody's turn to do When second impedance value is equal, the detecting and control circuit judge that the contact of the audio connector belongs to the difference structure.
3. combined type connector circuit for detecting according to claim 1, further includes:
One connector circuit for detecting, to detect whether the audio connector is electrically connected at the combined type connector circuit for detecting, wherein When detect the audio connector be electrically connected at the combined type connector circuit for detecting when, the connector circuit for detecting then the enable detecting with Control circuit starts to carry out two path respectively conduction, and according to first impedance value acquired and second resistance Anti- value, to judge the contact of the audio connector.
4. combined type connector circuit for detecting according to claim 1, further includes:
One differential wave generation circuit is coupled to the differential wave amplifying circuit, comes from the message codec institute to receive The numerical digit audio stream provided, and according to the numerical digit audio stream, the L channel forward direction audio signals, the left side are generated respectively Sound channel negative sense audio signals, the right channel forward direction audio signals and the right channel negative sense audio signals.
5. combined type connector circuit for detecting according to claim 1, wherein when the detecting and control circuit judge the message When the contact of connector belongs to a TRS structure, the differential wave amplifying circuit is then according to the control signal, by the L channel Positive audio signals and the right channel forward direction audio signals are separately input into the apical grafting point and the first ring contact, and via The second ring contact and the set contact are all coupled to a ground voltage by one first switch unit.
6. combined type connector circuit for detecting according to claim 1, wherein when the detecting and control circuit judge the message When the contact of connector belongs to an OMTP structure, the differential wave amplifying circuit is then according to the control signal, by the left sound Road forward direction audio signals and the right channel forward direction audio signals are separately input into the apical grafting point and the first ring contact, and are passed through By a second switch unit and a first switch unit, the second ring contact and the set contact are respectively coupled to a message analogy Digital converter and a ground voltage.
7. combined type connector circuit for detecting according to claim 1, wherein when the detecting and control circuit judge the message When the contact of connector belongs to a CTIA structure, the differential wave amplifying circuit is then according to the control signal, by the left sound Road forward direction audio signals and the right channel forward direction audio signals are separately input into the apical grafting point and the first ring contact, and are passed through By a first switch unit and a second switch unit, the second ring contact and the set contact are respectively coupled to ground connection electricity Pressure and a message analog digital converter.
8. a kind of operating method of the combined type connector circuit for detecting for message codec, wherein the combined type connector is detected Circuit is for electrically connecting to the audio connector of an audio output device, which contains a plurality of contacts, and those connect Point includes an apical grafting point, one first ring contact, one second ring contact and a set of contact, which includes:
Using a detecting and control circuit, via a specific voltage source and a bias resistance, to from the set contact to second ring Contact and two paths from the second ring contact to the set contact carry out conduction respectively, to acquire one first impedance value and one Two impedance values, and according to first impedance value and second impedance value, judge a contact of the audio connector, and according to At least one control signal of contact output;And
When the detecting and control circuit judge that the contact of the audio connector belongs to a difference structure, a differential letter is utilized Number amplifying circuit, according to the control signal, by a L channel forward direction audio signals, a L channel negative sense audio signals, a right sound Road forward direction audio signals and a right channel negative sense audio signals are separately input into those contacts of the audio connector.
9. operating method according to claim 8, wherein the detecting and control circuit according to first impedance value and this Two impedance values judge whether two path is conductive, and work as non-conductive two path or first impedance value and second impedance value When equal, the detecting and control circuit judge that the contact of the audio connector belongs to the difference structure.
10. operating method according to claim 8, further includes:
Using a connector circuit for detecting, detect whether the audio connector is electrically connected at the combined type connector circuit for detecting, wherein When detect the audio connector be electrically connected at the combined type connector circuit for detecting when, the connector circuit for detecting then the enable detecting with Control circuit starts to carry out two path respectively conduction, and according to first impedance value acquired and second resistance Anti- value, to judge the contact of the audio connector.
CN201710580414.XA 2017-07-17 2017-07-17 Composite joint detection circuit and operation method thereof Active CN109275067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710580414.XA CN109275067B (en) 2017-07-17 2017-07-17 Composite joint detection circuit and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710580414.XA CN109275067B (en) 2017-07-17 2017-07-17 Composite joint detection circuit and operation method thereof

Publications (2)

Publication Number Publication Date
CN109275067A true CN109275067A (en) 2019-01-25
CN109275067B CN109275067B (en) 2021-10-22

Family

ID=65147589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710580414.XA Active CN109275067B (en) 2017-07-17 2017-07-17 Composite joint detection circuit and operation method thereof

Country Status (1)

Country Link
CN (1) CN109275067B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572732A (en) * 2019-07-19 2019-12-13 南昌华勤电子科技有限公司 earphone standard and impedance measuring device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100260341A1 (en) * 2009-04-10 2010-10-14 Sander Wendell B Electronic device and external equipment with configurable audio path circuitry
US20120200172A1 (en) * 2011-02-09 2012-08-09 Apple Inc. Audio accessory type detection and connector pin signal assignment
CN103458351A (en) * 2012-05-31 2013-12-18 瑞昱半导体股份有限公司 Compound joint detection circuit
CN105263076A (en) * 2015-10-21 2016-01-20 广东欧珀移动通信有限公司 Balanced headphone based on USB-C plug and mobile terminal
US20170111742A1 (en) * 2015-09-11 2017-04-20 Ess Technology, Inc. Apparatus and Method for Driving Headphones Differentially in Mobile Applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100260341A1 (en) * 2009-04-10 2010-10-14 Sander Wendell B Electronic device and external equipment with configurable audio path circuitry
US20120200172A1 (en) * 2011-02-09 2012-08-09 Apple Inc. Audio accessory type detection and connector pin signal assignment
CN103458351A (en) * 2012-05-31 2013-12-18 瑞昱半导体股份有限公司 Compound joint detection circuit
US20170111742A1 (en) * 2015-09-11 2017-04-20 Ess Technology, Inc. Apparatus and Method for Driving Headphones Differentially in Mobile Applications
CN105263076A (en) * 2015-10-21 2016-01-20 广东欧珀移动通信有限公司 Balanced headphone based on USB-C plug and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572732A (en) * 2019-07-19 2019-12-13 南昌华勤电子科技有限公司 earphone standard and impedance measuring device and method
CN110572732B (en) * 2019-07-19 2021-08-03 南昌华勤电子科技有限公司 Earphone standard and impedance measuring device and method

Also Published As

Publication number Publication date
CN109275067B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US7961895B2 (en) Audio interface device and method
CN100343837C (en) Identification system and method for recognizing any one of a number of different types of devices
KR102504634B1 (en) Connectors for transmitting audio data
US6856046B1 (en) Plug-in device discrimination circuit and method
KR101607899B1 (en) Method and apparatus for an integrated headset switch with reduced crosstalk noise
KR102105315B1 (en) Detection circuit
US20180220230A1 (en) Audio i o headset plug and plug detection circuitry
CN105554606B (en) Digital earphone and electronic equipment
JP4143635B2 (en) Audio input / output device and input / output function switching method
KR101646964B1 (en) Circuit apparatus and method for recognition earphone in electronic device
CN101951446A (en) Be connected to detection, identification and the operation of the ancillary equipment of electronic equipment via the audio/video plug
CN102143262A (en) Electronic device and method for switching audio input channel thereof
WO2018095025A1 (en) Earphone testing circuit
KR20060091071A (en) Apparatus for outputting mono and stereo sound in mobile communication terminal
KR20160052405A (en) Audio crosstalk calibration switch
US20130003990A1 (en) Electronic device and audio output control method thereof
CN104427441B (en) Integrated audio signal processing circuit, audio system and the method for reducing cross-talk noise
CN110719548A (en) Audio processing device, audio crosstalk processing method and device
CN105721980A (en) Audio differential signal implementation method
CN102638745A (en) Earphone compatible method and system for terminal equipment and interface circuit of terminal equipment
CN109275067A (en) Combined type connector circuit for detecting and its operating method
US7023983B2 (en) Versatile circuit for interfacing with audio headsets
CN106338937B (en) Apparatus and method for generating an output signal based on a detected load resistance value
CN109918041B (en) Audio circuit, related equipment and control method
TWI641270B (en) Combo-jack detecting circuit and operating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant