WO2012031468A1 - 一种耳机插拔检测电路 - Google Patents

一种耳机插拔检测电路 Download PDF

Info

Publication number
WO2012031468A1
WO2012031468A1 PCT/CN2011/070854 CN2011070854W WO2012031468A1 WO 2012031468 A1 WO2012031468 A1 WO 2012031468A1 CN 2011070854 W CN2011070854 W CN 2011070854W WO 2012031468 A1 WO2012031468 A1 WO 2012031468A1
Authority
WO
WIPO (PCT)
Prior art keywords
pin
signal line
pull
detection signal
circuit
Prior art date
Application number
PCT/CN2011/070854
Other languages
English (en)
French (fr)
Inventor
孙钦利
佘海波
张文刚
刘凤鹏
梁茂
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to KR1020127020815A priority Critical patent/KR101369944B1/ko
Priority to JP2012552247A priority patent/JP5562442B2/ja
Priority to US13/576,756 priority patent/US9332350B2/en
Priority to EP11822991.3A priority patent/EP2519034B1/en
Publication of WO2012031468A1 publication Critical patent/WO2012031468A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/6608Structural association with built-in electrical component with built-in single component
    • H01R13/6616Structural association with built-in electrical component with built-in single component with resistor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • H01R13/703Structural association with built-in electrical component with built-in switch operated by engagement or disengagement of coupling parts, e.g. dual-continuity coupling part
    • H01R13/7031Shorting, shunting or bussing of different terminals interrupted or effected on engagement of coupling part, e.g. for ESD protection, line continuity
    • H01R13/7033Shorting, shunting or bussing of different terminals interrupted or effected on engagement of coupling part, e.g. for ESD protection, line continuity making use of elastic extensions of the terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R24/00Two-part coupling devices, or either of their cooperating parts, characterised by their overall structure
    • H01R24/58Contacts spaced along longitudinal axis of engagement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication

Definitions

  • the present invention relates to the field of terminal devices, and in particular, to a headset insertion and removal detection circuit.
  • FIG. 1 is a schematic diagram of the four-segment earphone plug and socket pin definition.
  • the four-segment earphone plug includes 3.5mm and 2.5mm.
  • the definition of the plug pin is GND (ground) and MIC (microphone) from the root to the end.
  • the difference between a three-piece headphone plug and a four-piece headphone plug is that there is no MIC pin.
  • Four-segment headphone jack pin definition including: 1 ground (GND), 2 right channel (R), 2nd pin 3, 5 left channel (L), and 5 feet forming a normally closed connection with 2 feet
  • the first pin 4, 6 mic (MIC) forming a normally closed connection, the difference between the three-segment earphone socket and the four-segment earphone socket is that there is no microphone (MIC) pin.
  • the detection of the insertion and removal of the earphone is realized by a pair of mechanical elastic pieces inside the earphone socket, such as the 4-pin and the normally-closed 5 feet.
  • the 5 pin is disconnected, electrically disconnected from the 4 pin, an interrupt is formed on the hardware, reported to the control circuit, and the terminal device enables the interrupt service routine.
  • the control circuit detects the exit and exits the service program.
  • the insertion and removal of the earphones causes the pins 4 and 5 of the earphone socket to be disconnected and closed, so whether the state of insertion and removal of the earphones can be correctly detected is closely related to the mechanical springs inside the earphone socket.
  • the technical problem to be solved by the present invention is to provide a headphone plugging and detecting circuit, which can more reliably detect the plugging and unplugging state of the earphone.
  • the present invention provides a headphone plug detecting circuit, the circuit comprising: a left channel (L) pin, a first pin connectable to and disconnected from the L pin, and a right channel a (R) pin and a second pin connectable to and disconnectable from the R pin, wherein: the circuit further includes a left detection signal line connected to the first pin, the left detection signal line being connected or configured a pull-up resistor, the first pin is electrically connected to the second pin, and the L pin and the R pin are respectively connected to a pull-down resistor.
  • L left channel
  • R right channel a
  • the resistance of the pull-up resistor and the pull-down resistor is such that the L pin is connected to the first pin, and/or the R pin is connected to the second pin, the left detection signal line is pulled down to a low level, And the L pin is disconnected from the first pin, and when the R pin is disconnected from the second pin, the left detection signal line is pulled to a high level.
  • the present invention further provides a headphone plug detecting and detecting circuit, the circuit comprising: a left channel (L) pin, a first pin connectable to and disconnected from the L pin, and a right sound a track (R) pin and a second pin connectable to and disconnectable from the R pin, wherein: the circuit further includes a left detection signal line connected to the first pin, the left detection signal line being connected or The pull-down resistor is configured, the first pin is electrically connected to the second pin, and the L pin and the R pin are respectively connected to the pull-up resistor.
  • L left channel
  • R right sound a track
  • the resistance of the pull-up resistor and the pull-down resistor is such that the L pin is connected to the first pin, and/or the R pin is connected to the second pin, and the left detection signal line is pulled to a high level. And the L pin is disconnected from the first pin, and when the R pin is disconnected from the second pin, the left detection signal line is pulled down to a low level.
  • the pull-up resistors respectively connected to the L pin and the R pin are greater than 9-10 times of the earphone coil resistance.
  • the present invention further provides a headphone plug detecting and detecting circuit, the circuit comprising: a left channel (L) pin, a first pin connectable to and disconnected from the L pin, and a right sound a (R) pin and a second pin connectable to and disconnectable from the R pin, wherein:
  • the circuit further includes a left detection signal line connected to the first pin and a right detection signal line connected to the second pin, wherein the left detection signal line and the right detection signal line are respectively connected or configured with a pull-up resistor
  • the L pin and the R pin are respectively connected to pull-down resistors.
  • the left detection signal line is pulled down to a low level, and when the L pin is disconnected from the first pin Pulling the left detection signal line to a high level, and when the R pin is connected to the second pin, the right detection signal line is pulled down to a low level, the R pin and the second pin When disconnected, the right detection signal line is pulled high.
  • the present invention also provides a headphone plug detecting circuit, the circuit comprising: a left channel (L) pin, a first pin connectable to and disconnected from the L pin, and a right sound a leg pin (R) and a second pin connectable to and disconnectable from the R pin, wherein: the circuit further includes a left detecting signal line connected to the first pin and the second pin The connected right detection signal line, the left detection signal line and the right detection signal line are respectively connected or configured with a pull-down resistor, and the L pin and the R pin are respectively connected with a pull-up resistor.
  • the resistance of the pull-up resistor and the pull-down resistor is such that when the L pin is connected to the first pin, the left detection signal line is pulled to a high level, and the L pin is disconnected from the first pin.
  • the left detection signal line is pulled down to a low level, and when the R pin is connected to the second pin, the right detection signal line is pulled to a high level, the R pin and the second tube When the foot is disconnected, the right detection signal line is pulled down to a low level.
  • the pull-up resistors respectively connected to the L pin and the R pin are greater than 9-10 times of the earphone coil resistance.
  • the invention not only has the advantages of simple circuit, small PCB footprint and low hardware cost, but also can effectively improve the reliability of the headphone plugging detection.
  • FIG. 1 is a schematic diagram of a definition of a four-segment earphone plug and a socket pin in the prior art
  • FIG. 2 is a schematic diagram of Embodiment 1 of the earphone plugging and detecting circuit of the present embodiment
  • 3 is a schematic diagram of Embodiment 2 of the earphone plugging and detecting circuit of the present embodiment
  • FIG. 4 is a schematic diagram of Embodiment 3 of the headphone plugging and detecting circuit of the present embodiment
  • FIG. 2 shows a headphone plug detecting and detecting circuit of the present invention, comprising: an L pin 5, a first pin 4, an R pin 2, and a R pin 2 which are normally closed to the L pin 5;
  • the second pin 3 of the normally closed connection and the left detecting signal line connected to the first pin 4 are connected to the left detecting signal line or the pull-up resistor R1 is disposed, and the first pin 4 is electrically connected to the second pin 3, L pin 5 and R pin 2 are respectively connected to pull-down resistors.
  • the resistor R1 connected to the left detection signal line is a pull-up resistor, and if the left detection signal line can be internally configured with a pull-up resistor, R1 can be omitted.
  • R1 forms a voltage dividing circuit with a pull-down resistor R3 connected to the left channel output (L-OUT) signal line and a pull-down resistor R2 connected to the right channel output (R-OUT) signal line, and R2 and R3
  • the pull-down capability is far stronger than the pull-up capability of R1.
  • the resistance of R1 is at least 10 times that of R2 and R3.
  • the resistance of R1 is 100 ⁇ ⁇ .
  • R2 and R3 have a resistance of 10 ⁇ . It is not limited to 10 times or more here, and can be valued according to experience, such as 9 times, 9.5 times, and the like.
  • the second pin 3 of the headphone jack and the first pin 4 are electrically connected together.
  • the earphone socket R pin 2 and the L pin 5 are disconnected, electrically disconnected from the second pin 3 and the first pin 4, respectively, and the pull-down resistors R2 and R3 are disabled, and the pull-up resistor R1 makes The left detection signal line is pulled up to a high level, forming a hardware interrupt, detecting the insertion of the earphone, and the process of pulling out the earphone is reversed.
  • the R pin 2 and the second pin 3, or one of the first pin 4 and the L pin 5 cannot form a normally closed state, and the other group can still work normally, for example, the first tube Pin 4 and L pin 5 are normally closed, and R1 and R2 can still form a partial voltage through the normally closed R pin 2 and the second pin 3.
  • the R pin 2 is disconnected, electrically The second pin 3 is disconnected, and the left detection signal line is pulled up to a high level to form a hardware interrupt, and the earphone insertion is detected, and the earphone extraction process is reversed. This shows that The detection circuit requires that a set of normally closed pins be valid, and the reliability of the earphone plugging detection is provided.
  • FIG. 3 shows a headphone plug detecting and detecting circuit of the present invention, the circuit comprising: an L pin 5, a first pin 4 and an R pin 2 connectable to and disconnected from the L pin 5, and The second pin 3 to which the R pin 2 can be connected and disconnected and the left detecting signal line connected to the first pin 4, the left detecting signal line being connected or configured with a pull-down resistor R1, the first pin 4 and the second Pin 3 is electrically connected, and L pin 5 and R pin 2 are connected to pull-up resistors R3 and R2, respectively.
  • the resistor R1 connected to the left detection signal line is a pull-down resistor, and if the left detection signal line can be internally configured with a pull-down resistor, the resistor can be omitted.
  • R1 forms a voltage dividing circuit with a pull-up resistor R3 connected to the left channel output signal line (L-OUT) and a pull-up resistor R2 connected to the right channel output signal line, and the pull-up resistors R2 and R3
  • the pull-up capability is much larger than the pull-down capability of the pull-down resistor R1.
  • the resistance of R2 and R3 is preferably greater than 32 ohms (headphone coil resistance) 9 ⁇ 10 times. In order to avoid a large current shunting of the earphone when the earphone is inserted, the effect of the earphone is affected.
  • the R pin 2 and the L pin 5 of the earphone socket are disconnected, electrically disconnected from the second pin 3 and the first pin 4, and the pull-up resistors R2 and R3 are disabled, and the pull-down resistor R1 is made.
  • the left detection signal line is pulled low to form a hardware interrupt, the earphone insertion is detected, and the headphone extraction process is reversed.
  • the detection circuit requires only one set of normally closed pins to be effective. For example, the first pin 4 and the L pin 5 are normally closed, and R1 and R2 can still form a divided voltage through the normally closed R pin 2 and the second pin 3. When the earphone is inserted, the R pin 2 is broken.
  • Embodiment 3 On, electrically disconnected from the second pin 3, the left detection signal line is pulled down to a high level, forming a hardware interrupt, detecting the insertion of the earphone, and the process of pulling out the earphone is reversed.
  • Embodiment 3 FIG.
  • FIG. 4 shows a headphone plug detecting and detecting circuit of the present invention, the circuit comprising: an L pin 5, a first pin 4 and an R pin 2 connectable to and disconnected from the L pin 5, and The second pin 3 to which the R pin 2 can be connected and disconnected, and the left detection signal line connected to the first pin 4 and the right detection signal line connected to the second pin 3, the left detection signal line and the right detection Signal lines are connected or configured with pull-up resistors, The L pin and the R pin are respectively connected to pull-down resistors.
  • the resistor R1 connected to the left detection signal line is a pull-up resistor, and if the left detection signal line can be internally configured with a pull-up resistor, the resistor can be omitted.
  • R1 and a pull-down resistor R3 connected to the left channel output signal line (L-OUT) form a voltage dividing circuit through the normally closed first pin 4 and L pin 5.
  • the pull-up resistor connected to the right detection signal line is R4. If the right detection signal line can be internally configured with a pull-up resistor, R4 can be omitted.
  • R4 and the pull-down resistor R2 connected to the right channel output signal line (R-OUT) form a voltage dividing circuit through the normally closed R pin 2 and the second pin 3, and the pull-down capability of R2 and R3 is far stronger.
  • the pull-up capability of R1 and R4 causes the left detection signal line and the right detection signal line to be pulled low when the headphones are not inserted.
  • the earphone socket R pin 2 and L pin 5 are disconnected, electrically disconnected from the second pin 3 and the first pin 4, respectively, the pull-down resistors R2 and R3 are disabled, and the pull-up resistor makes the left Both the detection signal line and the right detection signal line are pulled up to a high level to form a hardware interrupt, and the headphone insertion is detected, and the headphone extraction process is reversed.
  • one of the normally closed pins fails, one of the detection pins is high and the other detection pin is low.
  • the control circuit considers that there is no earphone insertion.
  • a set of earphone shrapnel that has not failed is disconnected and electrically separated.
  • FIG. 5 shows a headphone plug detecting and detecting circuit of the present invention, the circuit comprising: an L pin 5, a first pin 4 and an R pin 2 connectable to and disconnected from the L pin 5, and The second pin 3 to which the R pin 2 can be connected and disconnected, and the left detection signal line connected to the first pin 4 and the right detection signal line connected to the second pin 3, the left detection signal line and the right detection
  • the signal lines are respectively connected or configured with pull-down resistors
  • L pin 5 and R pin 2 are respectively connected to pull-up resistors.
  • the resistor R1 connected to the left detection signal line is a pull-down resistor, and if the left detection signal line can be internally configured with a pull-down resistor, the resistor can be omitted.
  • R1 forms a voltage dividing circuit with a pull-up resistor R3 connected to the left channel output (L-OUT) signal line.
  • the pull-down resistor on the right detection signal line is R4. If the right detection signal line can be internally configured with a pull-down resistor, the resistor can be omitted. R4 and the right channel
  • the pull-up resistor R2 on the outgoing (R-OUT) signal line forms a voltage dividing circuit. Moreover, the pull-up capability of R2 and R3 is much stronger than the pull-down capability of R1 and R4.
  • both the left detection signal line and the right detection signal line are pulled up to a high level, and at the same time, the resistance of R2 and R3
  • the value is preferably greater than 32 ohms (headphone coil resistance) 9 to 10 times to avoid a large current shunting of the earphone when the earphone is inserted, which affects the earphone effect.
  • Both the signal line and the right detection signal line are pulled down to a low level, forming a hardware interrupt, detecting the insertion of the earphone, and the process of pulling out the earphone is reversed.
  • one of the normally closed pins is disabled, one of the sense pins is low and the other sense pin is detected high.
  • the control circuit considers that no headphones are plugged in.
  • a set of earphone shrapnel that has not failed is disconnected and electrically separated.
  • both detecting pins are low level, and the control circuit considers that the earphone is inserted and the earphone is detected.
  • the terminal of the above-mentioned earphone plugging and unplugging detection circuit is also provided in the present embodiment.
  • the earphone plugging and detecting circuit is disposed in the housing of the terminal. The structure of the earphone plugging and detecting circuit is as described above, and details are not described herein again.
  • the dual-slip earphone plug-and-pull detection circuit is also suitable for a headphone jack with two sets of normally open pins.
  • the principle is similar.
  • the above circuit forms can improve the reliability of the earphone plugging and unplugging detection. Since the embodiment 1 occupies less resources and the circuit is relatively simple, the first embodiment is preferred.
  • the sense pin can be internally configured with pull-up or pull-down resistors, the pull-up or pull-down resistors on the sense pin can be omitted, further reducing PCB space and hardware costs.
  • the invention not only has the advantages of simple circuit, small PCB occupation area and low hardware cost, but also can effectively improve the reliability of the earphone plugging detection.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Stereophonic Arrangements (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

本发明公开了耳机插拔检测电路。其中一种电路包括:左声道(L)管脚、与该L管脚可连接和断开的第一管脚、右声道(R)管脚以及与该R管脚可连接和断开的第二管脚;该电路还包括与所述第一管脚连接的左检测信号线,该左检测信号线连接或配置上拉电阻,所述第一管脚与所述第二管脚电性连接,所述L管脚和所述R管脚分别连接下拉电阻。本发明不仅具有电路简单、PCB占用面积小和硬件成本低的优点,还能有效提高耳机插拔检测的可靠性。

Description

一种耳机插拔检测电路
技术领域 本发明涉及终端设备技术领域, 尤其涉及一种耳机插拔检测电路。
背景技术
耳机已经成为终端产品的标准配置附件。 使用耳机时通常要求终端产品 能够自动识别耳机***与拔出的状态, 因此需要釆用耳机插拔检测电路。 耳 机插拔检测电路的形式多种多样, 弹片式耳机插拔检测电路具有电路简单、 成本低且占用印刷电路板( Printed Circuit Board , PCB )面积 'J、的优点, 因而 被广泛釆用。 图 1是四段式耳机插头及插座管脚定义的示意图, 四段式耳机插头包括 3.5mm和 2.5mm两种, 插头管脚的定义从根部到端部分别是 GND (地) 、 MIC (麦克) 、 R (右声道)和 L (左声道)。 三段式耳机插头与四段式耳机 插头的区别是没有 MIC管脚。四段式耳机插座管脚定义,包括: 1地(GND )、 2右声道(R ) 、 与 2脚形成常闭连接的第二管脚 3、 5左声道(L ) 、 与 5 脚形成常闭连接的第一管脚 4、 6麦克(MIC ) , 三段式耳机插座与四段式耳 机插座的区别是没有麦克(MIC ) 管脚。 目前, 通过耳机插座内部的一对机械弹片, 如 4脚及与之常闭的 5脚实 现耳机***拔出的检测。 当***耳机时, 5脚断开, 在电气上与 4脚断开, 在硬件上形成中断, 上报给控制电路, 终端设备启用中断服务程序。 耳机拔 出时, 控制电路检测到后退出服务程序。 耳机***与拔出使得耳机插座的 4 脚和 5脚断开和闭合, 所以是否能够正确检测耳机的插拔状态与耳机插座内 部的机械弹片密切相关。 当耳机插座出现质量问题时, 如 4脚与 5脚本应该 常闭却没有常闭, 就会造成控制器误判断有耳机***, 终端产品出现耳机符 号, 同时切换音频通路至耳机端, 造成整个终端产品处于无声状态, 严重影 响用户正常使用。 发明内容 本发明要解决的技术问题是提供一种耳机插拔检测电路, 实现更加可靠 地检测耳机的插拔状态。 为解决上述技术问题, 本发明提供了一种耳机插拔检测电路, 该电路包 括: 左声道(L )管脚、 与该 L管脚可连接和断开的第一管脚、 右声道(R ) 管脚以及与该 R管脚可连接和断开的第二管脚, 其中: 该电路还包括与所述第一管脚连接的左检测信号线, 该左检测信号线连 接或配置上拉电阻, 所述第一管脚与所述第二管脚电性连接, 所述 L管脚和 所述 R管脚分别连接下拉电阻。 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接,和 /或 R 管脚与第二管脚连接时, 所述左检测信号线下拉为低电平, 并且所述 L管脚 与第一管脚断开, 且 R管脚与第二管脚断开时, 所述左检测信号线上拉为高 电平。 为解决上述技术问题, 本发明还提供了一种耳机插拔检测电路, 该电路 包括: 左声道(L )管脚、 与该 L管脚可连接和断开的第一管脚、右声道(R ) 管脚以及与该 R管脚可连接和断开的第二管脚, 其中: 该电路还包括与所述第一管脚连接的左检测信号线, 该左检测信号线连 接或配置下拉电阻, 所述第一管脚与所述第二管脚电性连接, 所述 L管脚和 R管脚分别连接上拉电阻。 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接,和 /或 R 管脚与第二管脚连接时, 所述左检测信号线上拉为高电平, 并且所述 L管脚 与第一管脚断开, 且 R管脚与第二管脚断开时, 所述左检测信号线下拉为低 电平。 所述 L管脚和 R管脚分别连接的上拉电阻大于耳机线圈电阻的 9~10倍。 为解决上述技术问题, 本发明还提供了一种耳机插拔检测电路, 该电路 包括: 左声道(L )管脚、 与该 L管脚可连接和断开的第一管脚、右声道(R ) 管脚以及与该 R管脚可连接和断开的第二管脚, 其中: 该电路还包括与所述第一管脚连接的左检测信号线以及与所述第二管脚 连接的右检测信号线, 所述左检测信号线和右检测信号线分别连接或配置上 拉电阻, 所述 L管脚和 R管脚分别连接下拉电阻。 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接时, 所述 左检测信号线下拉为低电平, 所述 L管脚与第一管脚断开时, 所述左检测信 号线上拉为高电平, 并且, 使所述 R管脚与第二管脚连接时, 所述右检测信 号线下拉为低电平, R管脚与第二管脚断开时, 所述右检测信号线上拉为高 电平。 为解决上述技术问题, 本发明还提供了一种耳机插拔检测电路, 该电路 包括: 左声道(L ) 管脚、 与该 L管脚可连接和断开的第一管脚、 右声道管 脚(R ) 以及与该 R管脚可连接和断开的第二管脚, 其中: 该电路还包括与所述第一管脚连接的左检测信号线以及与所述第二管脚 连接的右检测信号线, 所述左检测信号线和右检测信号线分别连接或配置下 拉电阻, 所述 L管脚和 R管脚分别连接上拉电阻。 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接时, 所述 左检测信号线上拉为高电平, 所述 L管脚与第一管脚断开时, 所述左检测信 号线下拉为低电平, 并且, 使所述 R管脚与第二管脚连接时, 所述右检测信 号线上拉为高电平, R管脚与第二管脚断开时, 所述右检测信号线下拉为低 电平。 所述 L管脚和 R管脚分别连接的上拉电阻大于耳机线圈电阻的 9~10倍。
综上所述, 本发明不仅具有电路简单、 PCB占用面积小和硬件成本低的 优点, 还能有效提高耳机插拔检测的可靠性。
附图概述 图 1 是现有技术中四段式耳机插头及插座管脚定义的示意图; 图 2是本实施方式耳机插拔检测电路实施例 1的示意图; 图 3 是本实施方式耳机插拔检测电路实施例 2的示意图; 图 4 是本实施方式耳机插拔检测电路实施例 3的示意图; 图 5 是本实施方式耳机插拔检测电路实施例 4的示意图。
本发明的较佳实施方式 下面结合附图对本发明进行详细说明。 需要说明的是, 在不冲突的情况 下, 本申请中的实施例及实施例中的特征可以相互任意组合。 实施例 1 : 图 2所示为本发明耳机插拔检测电路, 包括: L管脚 5、 与 L管脚 5常 闭连接的第一管脚 4、 R管脚 2、 与该 R管脚 2常闭连接的第二管脚 3以及 与第一管脚 4连接的左检测信号线, 左检测信号线连接或配置上拉电阻 R1 , 第一管脚 4与第二管脚 3电性连接, L管脚 5和 R管脚 2分别连接下拉电阻。 左检测信号线上连接的电阻 R1 为上拉电阻, 若左检测信号线可为内部 配置上拉电阻, 则 R1可以省去。 R1与连接在左声道输出 (L— OUT )信号线 上的下拉电阻 R3 及连接在右声道输出 (R— OUT )信号线上的下拉电阻 R2 形成分压电路, 并且, R2和 R3的下拉能力均远强于 R1的上拉能力, 使耳 机未***时, 左检测信号线为低电平, 如 R1 的阻值至少是 R2和 R3的 10 倍以上, 如 R1 阻值为 100 Κ Ω , R2和 R3阻值为 10ΚΩ。 此处并不限制在 10倍以上, 可根据经验进行取值, 如 9倍、 9.5倍等亦可。 耳机插座的第二管脚 3和第一管脚 4电气上连接在一起。 耳机***时, 耳机插座 R管脚 2和 L管脚 5断开,在电气上分别与第二管脚 3和第一管脚 4断开, 下拉电阻 R2和 R3失去作用, 上拉电阻 R1使左检测信号线被上拉 至高电平, 形成硬件中断, 检测到耳机***, 耳机拔出过程相反。 当耳机插 座因质量问题 R管脚 2与第二管脚 3 , 或者第一管脚 4与 L管脚 5其中一组 不能形成常闭, 另外一组仍能正常工作时, 例如, 第一管脚 4与 L管脚 5常 闭失效, 而 R1和 R2仍能通过常闭的 R管脚 2与第二管脚 3形成分压, 当耳 机***时, R管脚 2断开, 电气上与第二管脚 3断开, 左检测信号线被上拉 至高电平, 形成硬件中断, 检测到耳机***, 耳机拔出过程相反。 由此可见, 该检测电路要求只要有一组常闭管脚有效即可, 提供了耳机插拔检测的可靠 性。 实施例 2: 图 3所示为本发明耳机插拔检测电路, 该电路包括: L管脚 5、 与该 L 管脚 5可连接和断开的第一管脚 4、 R管脚 2、 与该 R管脚 2可连接和断开 的第二管脚 3以及与第一管脚 4连接的左检测信号线, 该左检测信号线连接 或配置下拉电阻 R1 , 第一管脚 4与第二管脚 3电性连接, L管脚 5和 R管脚 2分别连接上拉电阻 R3和 R2。 左检测信号线上连接的电阻 R1 为下拉电阻, 若左检测信号线可为内部 配置下拉电阻,则该电阻可以省去。 R1与连接在左声道输出信号线(L— OUT ) 上的上拉电阻 R3及连接在右声道输出信号线上的上拉电阻 R2形成分压电 路, 并且, 上拉电阻 R2和 R3的上拉能力远大于下拉电阻 R1的下拉能力, 使耳机未***时, 左检测信号线为高电平, 同时, R2和 R3的阻值最好大于 32 欧(耳机线圈电阻) 9~10倍, 以避免在耳机***状态下造成对耳机较大 的电流分流, 影响耳机效果。 耳机***时, 耳机插座 R管脚 2和 L管脚 5断开, 在电气上分别与第二 管脚 3和第一管脚 4断开, 上拉电阻 R2和 R3失去作用, 下拉电阻 R1使左 检测信号线被下拉至低电平, 形成硬件中断, 检测到耳机***, 耳机拔出过 程相反。 该检测电路要求只要有一组常闭管脚有效即可。 例如, 第一管脚 4 与 L管脚 5常闭失效, 而 R1和 R2仍能通过常闭的 R管脚 2与第二管脚 3 形成分压, 当耳机***时, R管脚 2断开, 电气上与第二管脚 3断开, 左检 测信号线被下拉至高电平, 形成硬件中断, 检测到耳机***, 耳机拔出过程 相反。 实施例 3: 图 4所示为本发明耳机插拔检测电路, 该电路包括: L管脚 5、 与该 L 管脚 5可连接和断开的第一管脚 4、 R管脚 2、 与该 R管脚 2可连接和断开 的第二管脚 3以及与第一管脚 4连接的左检测信号线以及与第二管脚 3连接 的右检测信号线, 左检测信号线和右检测信号线分别连接或配置上拉电阻, L管脚和 R管脚分别连接下拉电阻。 左检测信号线上连接的电阻 R1 为上拉电阻, 若左检测信号线可为内部 配置上拉电阻,则该电阻可以省去。 R1与连接在左声道输出信号线(L— OUT ) 上的下拉电阻 R3通过常闭的第一管脚 4和 L管脚 5形成分压电路。 右检测 信号线上连接的上拉电阻为 R4,若右检测信号线可为内部配置上拉电阻, 则 R4 可以省去。 R4与连接在右声道输出信号线(R— OUT )上的下拉电阻 R2 通过常闭的 R管脚 2和第二管脚 3形成分压电路, 并且, R2和 R3的下拉能 力均远强于 R1和 R4的上拉能力,使耳机未***时, 左检测信号线和右检测 信号线均下拉为低电平。
耳机***时, 耳机插座 R管脚 2和 L管脚 5断开, 在电气上分别与第二 管脚 3和第一管脚 4断开, 下拉电阻 R2和 R3失去作用, 上拉电阻使左检测 信号线和右检测信号线均被上拉至高电平,形成硬件中断,检测到耳机***, 耳机拔出过程相反。 当其中一组常闭管脚失效时, 则其中一个检测管脚为高 电平, 而另一个检测管脚为低电平, 此时, 控制电路则认为没有耳机***。 当耳机***时, 未失效的一组耳机弹片断开, 在电气上分离, 此时, 两个检 测管脚均为高电平, 控制电路则认为耳机***, 检测到耳机。 由此可见, 当 一组常闭管脚失效时, 检测电路仍能正确检测耳机插拔, 有效提高了耳机插 拔的可靠性。 实施例 4: 图 5所示为本发明耳机插拔检测电路, 该电路包括: L管脚 5、 与该 L 管脚 5可连接和断开的第一管脚 4、 R管脚 2、 与该 R管脚 2可连接和断开 的第二管脚 3以及与第一管脚 4连接的左检测信号线以及与第二管脚 3连接 的右检测信号线, 左检测信号线和右检测信号线分别连接或配置下拉电阻, L管脚 5和 R管脚 2分别连接上拉电阻。 左检测信号线上连接的电阻 R1 为下拉电阻, 若左检测信号线可为内部 配置下拉电阻, 则该电阻可以省去。 R1 与连接在左声道输出 (L— OUT )信 号线上的上拉电阻 R3形成分压电路。 右检测信号线上的下拉电阻为 R4, 若 右检测信号线可为内部配置下拉电阻, 则该电阻可以省去。 R4与在右声道输 出 ( R— OUT )信号线上的上拉电阻 R2形成分压电路。 并且, R2和 R3的上 拉能力均远强于 R1和 R4的下拉能力, 使耳机未***时, 左检测信号线和右 检测信号线均上拉为高电平, 同时, R2和 R3的阻值最好大于 32欧(耳机 线圈电阻) 9~10倍, 以避免在耳机***状态下造成对耳机较大的电流分流, 影响耳机效果。 耳机***时, 耳机插座 R管脚 2和 L管脚 5断开, 在电气上分别与第二 管脚 3和第一管脚 4断开, 上拉电阻 R2和 R3失去作用, 下拉电阻左检测信 号线和右检测信号线均被下拉至低电平, 形成硬件中断, 检测到耳机***, 耳机拔出过程相反。 当其中一组常闭管脚失去作用时, 则其中一个检测管脚 为低电平, 而另一个检测管脚检测为高电平, 此时, 控制电路则认为没有耳 机***。 当耳机***时, 未失效的一组耳机弹片断开, 在电气上分离, 此时, 两个检测管脚均为低电平, 控制电路则认为耳机***, 检测到耳机。 由此可 见, 当一组常闭管脚失效时, 检测电路仍能正确检测耳机插拔, 有效提高了 耳机插拔的可靠性。 本实施方式中还提供了釆用上述耳机插拔检测电路的终端, 耳机插拔检 测电路设置在终端的壳体中, 耳机插拔检测电路的结构如上所述, 在此不再 赘述。
双弹片耳机插拔检测电路同样适用于有两组常开管脚的耳机插座, 原理 类似。 以上电路形式均可提高耳机插拔检测的可靠性, 由于实施例 1 占用资 源少, 电路相对简单, 所以优先选用实施例 1。 并且, 当检测管脚可为内部 配置上拉或下拉电阻时, 检测管脚上的上拉或下拉电阻可以省去, 进一步节 约 PCB空间和硬件成本。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 工业实用 4生
本发明不仅具有电路简单、 PCB占用面积小和硬件成本低的优点, 还能 有效提高耳机插拔检测的可靠性。

Claims

权 利 要 求 书
1、 一种耳机插拔检测电路, 该电路包括: 左声道(L )管脚、 与该 L管 脚可连接和断开的第一管脚、 右声道(R )管脚以及与该 R管脚可连接和断 开的第二管脚, 其特征在于: 该电路还包括与所述第一管脚连接的左检测信号线, 该左检测信号线连 接或配置上拉电阻, 所述第一管脚与所述第二管脚电性连接, 所述 L管脚和 所述 R管脚分别连接下拉电阻。
2、 如权利要求 1所述的电路, 其中: 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接,和 /或 R 管脚与第二管脚连接时, 所述左检测信号线下拉为低电平, 并且所述 L管脚 与第一管脚断开, 且 R管脚与第二管脚断开时, 所述左检测信号线上拉为高 电平。
3、 一种耳机插拔检测电路, 该电路包括: 左声道(L )管脚、 与该 L管 脚可连接和断开的第一管脚、 右声道(R )管脚以及与该 R管脚可连接和断 开的第二管脚, 其特征在于: 该电路还包括与所述第一管脚连接的左检测信号线, 该左检测信号线连 接或配置下拉电阻, 所述第一管脚与所述第二管脚电性连接, 所述 L管脚和 R管脚分别连接上拉电阻。
4、 如权利要求 3所述的电路, 其中: 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接,和 /或 R 管脚与第二管脚连接时, 所述左检测信号线上拉为高电平, 并且所述 L管脚 与第一管脚断开, 且 R管脚与第二管脚断开时, 所述左检测信号线下拉为低 电平。
5、 如权利要求 4所述的电路, 其中: 所述 L管脚和 R管脚分别连接的上拉电阻大于耳机线圈电阻的 9~10倍。
6、 一种耳机插拔检测电路, 该电路包括: 左声道(L )管脚、 与该 L管 脚可连接和断开的第一管脚、 右声道(R )管脚以及与该 R管脚可连接和断 开的第二管脚, 其特征在于: 该电路还包括与所述第一管脚连接的左检测信号线以及与所述第二管脚 连接的右检测信号线, 所述左检测信号线和右检测信号线分别连接或配置上 拉电阻, 所述 L管脚和 R管脚分别连接下拉电阻。
7、 如权利要求 6所述的电路, 其中: 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接时, 所述 左检测信号线下拉为低电平, 所述 L管脚与第一管脚断开时, 所述左检测信 号线上拉为高电平, 并且, 使所述 R管脚与第二管脚连接时, 所述右检测信 号线下拉为低电平, R管脚与第二管脚断开时, 所述右检测信号线上拉为高 电平。
8、 一种耳机插拔检测电路, 该电路包括: 左声道(L )管脚、 与该 L管 脚可连接和断开的第一管脚、 右声道管脚(R ) 以及与该 R管脚可连接和断 开的第二管脚, 其特征在于: 该电路还包括与所述第一管脚连接的左检测信号线以及与所述第二管脚 连接的右检测信号线, 所述左检测信号线和右检测信号线分别连接或配置下 拉电阻, 所述 L管脚和 R管脚分别连接上拉电阻。
9、 如权利要求 8所述的电路, 其中: 所述上拉电阻和下拉电阻的阻值使所述 L管脚与第一管脚连接时, 所述 左检测信号线上拉为高电平, 所述 L管脚与第一管脚断开时, 所述左检测信 号线下拉为低电平, 并且, 使所述 R管脚与第二管脚连接时, 所述右检测信 号线上拉为高电平, R管脚与第二管脚断开时, 所述右检测信号线下拉为低 电平。
10、 如权利要求 9所述的电路, 其中: 所述 L管脚和 R管脚分别连接的上拉电阻大于耳机线圈电阻的 9~10倍。
PCT/CN2011/070854 2010-09-08 2011-01-31 一种耳机插拔检测电路 WO2012031468A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020127020815A KR101369944B1 (ko) 2010-09-08 2011-01-31 이어폰 풀링/플러깅 검출 회로
JP2012552247A JP5562442B2 (ja) 2010-09-08 2011-01-31 イヤホン挿抜検出回路
US13/576,756 US9332350B2 (en) 2010-09-08 2011-01-31 Earphone pulling and plugging detection circuit
EP11822991.3A EP2519034B1 (en) 2010-09-08 2011-01-31 Earphone pulling and plugging detection circuit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010205255273U CN201789630U (zh) 2010-09-08 2010-09-08 一种耳机插拔检测电路
CN201020525527.3 2010-09-08

Publications (1)

Publication Number Publication Date
WO2012031468A1 true WO2012031468A1 (zh) 2012-03-15

Family

ID=43821578

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070854 WO2012031468A1 (zh) 2010-09-08 2011-01-31 一种耳机插拔检测电路

Country Status (6)

Country Link
US (1) US9332350B2 (zh)
EP (1) EP2519034B1 (zh)
JP (1) JP5562442B2 (zh)
KR (1) KR101369944B1 (zh)
CN (1) CN201789630U (zh)
WO (1) WO2012031468A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101946486B1 (ko) 2012-08-23 2019-04-26 삼성전자 주식회사 이어폰 접속 인터페이스 및 이어폰 운용 방법과, 이를 지원하는 단말기
CN103024632B (zh) * 2012-12-30 2016-06-01 青岛歌尔声学科技有限公司 一种耳机降噪装置
KR102262218B1 (ko) * 2015-01-28 2021-06-09 삼성전자주식회사 이어잭 인식 방법 및 이를 지원하는 전자 장치
CN111294699B (zh) * 2018-12-29 2021-12-03 展讯通信(深圳)有限公司 防液体误判的耳机检测方法及装置
CN111372180A (zh) * 2020-03-03 2020-07-03 深圳市金锐显数码科技有限公司 一种智能耳机的检测方法及检测***
CN114501285B (zh) * 2020-11-13 2023-05-16 华为技术有限公司 一种插拔检测电路及插拔检测方法
CN114786108B (zh) * 2022-03-07 2022-12-09 深圳市安耐科电子技术有限公司 用于单声道功率放大器的配置电路和音频播放设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610439A (zh) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 电子装置
CN101610440A (zh) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 电子装置
TW201004389A (en) * 2008-07-04 2010-01-16 Hon Hai Prec Ind Co Ltd Electronic apparatus
TW201004390A (en) * 2008-07-04 2010-01-16 Hon Hai Prec Ind Co Ltd Electronic apparatus
CN201781618U (zh) * 2010-08-27 2011-03-30 广东长虹数码科技有限公司 一种可靠性高的耳机检测电路

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58171194A (ja) * 1982-03-31 1983-10-07 Matsushita Electric Ind Co Ltd 音響装置
TWI226731B (en) * 2003-03-26 2005-01-11 Realtek Semiconductor Corp Multi-jacks detector
JP2005045477A (ja) * 2003-07-28 2005-02-17 Sanyo Electric Co Ltd 音声回路
JP2007312030A (ja) * 2006-05-17 2007-11-29 Pioneer Electronic Corp ヘッドホン検知回路

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610439A (zh) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 电子装置
CN101610440A (zh) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 电子装置
TW201004389A (en) * 2008-07-04 2010-01-16 Hon Hai Prec Ind Co Ltd Electronic apparatus
TW201004390A (en) * 2008-07-04 2010-01-16 Hon Hai Prec Ind Co Ltd Electronic apparatus
CN201781618U (zh) * 2010-08-27 2011-03-30 广东长虹数码科技有限公司 一种可靠性高的耳机检测电路

Also Published As

Publication number Publication date
EP2519034A4 (en) 2014-04-23
JP2013519324A (ja) 2013-05-23
KR20120102810A (ko) 2012-09-18
US9332350B2 (en) 2016-05-03
KR101369944B1 (ko) 2014-03-06
EP2519034B1 (en) 2020-11-04
US20120308031A1 (en) 2012-12-06
JP5562442B2 (ja) 2014-07-30
CN201789630U (zh) 2011-04-06
EP2519034A1 (en) 2012-10-31

Similar Documents

Publication Publication Date Title
WO2012031468A1 (zh) 一种耳机插拔检测电路
US10659874B2 (en) Audio I O headset plug and plug detection circuitry
TWI533720B (zh) 具音訊插接偵測能力的音訊編解碼器及音訊插接偵測方法
WO2013067812A1 (zh) 耳机插座电路
WO2021135687A1 (zh) 电子设备与兼具快充与音频传输功能的配件
WO2018095025A1 (zh) 一种耳机测试电路
TW201019123A (en) Signal transmission path selecting circuit and method and electronic device applying the circuit
CN101841588A (zh) 音频接口装置及使用该音频接口装置的电子装置
WO2016070531A1 (zh) 音频接口及其信息处理方法、设备、播放器和存储介质
WO2014000556A1 (zh) 耳机接口电路及电子设备
TW201439895A (zh) 電子裝置及耳機感測方法
WO2015007170A1 (zh) 音频接口管脚识别装置、识别方法及终端
TW201025742A (en) Portable electric apparatus and jack connection method therefor
JP6425796B2 (ja) 移動端末
CN105142072A (zh) 一种外接播放器的音频装置及音频播放方法
CN107864422A (zh) 播放设备及基于播放设备的播放方法
TWI774396B (zh) 用於音訊介面的狀態偵測裝置
CN102340720A (zh) 接口电路及具有该接口电路的电子装置
JP5211099B2 (ja) 変換アダプタ及び電子機器
CN102291640B (zh) 双触点手机耳机插座
TWI231150B (en) Detection device and method for both audio-video interface socket and earphone line socket
JP3136234U (ja) 音響効果再生装置
TW201101618A (en) Audio connector and an electronic device using the same
CN202696764U (zh) 音频信号输出的兼容电路和电视机
TW201004390A (en) Electronic apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11822991

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011822991

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13576756

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20127020815

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2012552247

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE