WO2013067958A1 - Headset circuit - Google Patents

Headset circuit Download PDF

Info

Publication number
WO2013067958A1
WO2013067958A1 PCT/CN2012/084362 CN2012084362W WO2013067958A1 WO 2013067958 A1 WO2013067958 A1 WO 2013067958A1 CN 2012084362 W CN2012084362 W CN 2012084362W WO 2013067958 A1 WO2013067958 A1 WO 2013067958A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
headset
control signal
clock
module
Prior art date
Application number
PCT/CN2012/084362
Other languages
French (fr)
Chinese (zh)
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 杭州硅星科技有限公司
Publication of WO2013067958A1 publication Critical patent/WO2013067958A1/en

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/033Headphones for stereophonic communication

Definitions

  • the present invention relates to an audio device, and more particularly to a headset circuit. Background technique
  • Headsets are the integration of headphones and microphones.
  • headsets are widely used, games, music, video, and it is ubiquitous.
  • the headset circuit in the prior art generally includes an audio codec/baseband processor and a headset excuses, wherein the audio codec/baseband processor drives the external earphone and the microphone through the headset interface to realize the input and output of the sound signal.
  • prior art headset circuits tend to have only conventional headset functions, failing to extend the functionality of the headset, and limiting the use of the headset.
  • the main object of the present invention is to provide a headset circuit which can be based on the traditional headset and headset interface without changing any audio codec/baseband.
  • Hardware such as a processor, only changing the control software, extracting power and clock through the headset interface and external circuit, can provide power and clock to a large number of peripherals, and expand the function of the headset.
  • the present invention provides a headset circuit including a headset interface circuit, an audio codec/baseband processor, and a control software module.
  • the headset interface circuit includes at least: a voltage conversion module connected to a function switching module Converting, by the function switching module, a clock signal generated by the control software module and processed by the audio codec/baseband processor into a DC voltage output, wherein when the clock signal frequency is zero, the clock The signal is always high Level
  • a clock shaping and generating circuit is connected to the function switching module to process a clock signal generated by the control software module and processed by the audio codec/baseband processor under the control of the function switching module to generate a new clock signal Output;
  • the function switching module is connected to the external earphone and the microphone, and is connected to the audio codec/baseband processor through a headset plug module for realizing state switching.
  • the headset circuit controls the state of the control audio codec/baseband processor by using the function switching of the function switching module, and simultaneously controls switching between different functions.
  • the headset circuit realizes the traditional headset function
  • the dual-end mode of the headphone port generates the power and the clock function
  • the independent single-ended input of the headphone port generates the power and the independent single-ended input generates the clock function
  • the headphone port generates the power and the clock separately. Keep switching between mono headset functions.
  • the voltage conversion module is an AC to DC voltage conversion module.
  • the function switching module implements state switching by turning on and off of the plurality of control switches. Further, the function switching module includes a first control switch, a second control switch, a third control switch, a fourth control switch, a fifth control switch, a sixth control switch, and a seventh control controlled by the first to fifth control signals.
  • the first control switch is disposed between the headset plug module and the right channel earphone
  • the second control switch is disposed between the headset plug module and the left channel earphone
  • the fifth control switch is connected to the left end
  • the other end is connected to one end of the first control switch connected to the headset plug module
  • the other end of the third control switch is connected to one end of the first control switch connected to the headset plug module, and the other end is connected to the voltage
  • the conversion module and the clock shaping and generating circuit are grounded through the sixth control switch
  • one end of the fourth control switch is connected to one end of the second control switch connected to the headset plug module, and the other end is connected to the voltage conversion module and
  • the clock shaping and generating circuit is grounded through the seventh control switch.
  • first control signal controls the first control switch and the sixth control switch
  • first The second control signal is used to control the second control switch and the seventh control switch
  • third control signal controls the third control switch
  • fourth control signal controls the fourth control switch
  • fifth control signal controls the first Five control switches.
  • the second control signal and the fourth control signal are in an inverse relationship
  • the fifth control signal is the fourth control signal and the first control The signals are combined.
  • the headset circuit controls the second control signal to be a high level, the first control signal is a high level, the fourth control signal is a low level, and the third control signal is a low level by the control software module
  • the fifth control signal is low and the traditional headset function is switched.
  • the headset circuit controls the second control signal to be a low level, the first control signal is a low level, the fourth control signal is a high level, and the third control signal can be switched by the control software module. .
  • the headset circuit controls the second control signal to be a low level by the control software module, the first control signal is a low level, the fourth control signal is a high level, and the second control signal is a high level Ping, the fifth control signal is low, and the negative input of the voltage conversion module is valid, the positive input input does not respond, and the positive input of the clock shaping and generating circuit is valid, and the negative input does not respond.
  • the independent single-ended input of the headphone port generates power and the independent single-ended input generates the switching function of the clock function.
  • the headset circuit controls the second control signal to be a low level, the first control signal is a high level, the fourth control signal is a high level, and the third control signal is a low level by the control software module
  • the fifth control signal is at a high level to realize the switching of the headphone port in a separate manner to generate power and clock while retaining the function of the mono headset.
  • the clock shaping and generating circuit processes the input clock signal, and outputs a new clock signal that shapes the input clock signal and a new clock signal that multiplies the input clock signal.
  • the headset circuit can be configured to communicate with the host device using the DC voltage and the new clock signal, and the headset circuit uses the control software module to generalize the audio codec/baseband processor.
  • the input/output interface is configured to meet a data port required by the specified bus, and the output of the left channel power amplifier and/or the right channel power amplifier is configured by the control software module to be a clock and/or a divided clock that specifies the bus requirement. .
  • the headset circuit of the present invention controls the state of the seven switches of the function switching module by using five control signals by adding a voltage conversion module, a clock shaping and generating circuit, and a function switching module in the headset interface circuit.
  • the control software module is used to control the working state in the audio codec/baseband processor, so that the invention can be based on the traditional headset and headset interface, without changing any audio codec/baseband processor and other hardware, only changing the control software.
  • the power and clock are extracted through the headset interface circuit and the external circuit, which can provide power and clock to a large number of peripherals, and expand the function of the headset.
  • FIG. 1 is a circuit structural diagram of a preferred embodiment of a headset circuit of the present invention
  • FIG. 2 is a conventional headset circuit configured by FIG. 1;
  • FIG. 3 is a circuit for generating a power source and a clock in a double-ended manner according to FIG. 1;
  • FIG. 4 is a single-ended input power supply and a single-ended input clock generating circuit which are changed by FIG. 3;
  • FIG. 5 is a single-ended power supply and clock circuit configured by FIG. detailed description
  • FIG. 1 is a circuit structural diagram of a preferred embodiment of a headset circuit of the present invention.
  • the headset circuit of the present invention can realize the input and output of the sound signal through the external earphone and the microphone, and can realize the switching between the traditional headset function and the energy extracted by the earphone and the clock function, which at least includes : a headset interface circuit 11, an audio codec/baseband processor 12, and a control software module 13.
  • the headset interface circuit 11 includes a voltage conversion module 110, a clock shaping and generating circuit 111, a function switching module 112, and a headset plug module 113.
  • the voltage conversion module 110 is a module for converting an alternating current voltage into a direct current voltage, which is used for switching.
  • the clock signal generated by the control software module 13 and processed by the audio codec/baseband processor 12 is converted into a DC voltage VDDL; the clock shaping and generating circuit 111 is used to switch the function module.
  • the control software module 13 Under the control of 112, the control software module 13 generates and processes a clock signal processed by the audio codec/baseband processor 12 to generate a new clock signal; the switching function module 112 is connected to the voltage conversion module 110, clock shaping and The generating circuit 111, the earphone, the microphone, and the audio codec/baseband processor 12 are connected through the headset plug module 112, and the audio codec/baseband processor 12 is controlled by the state switching of the function switching module 112 and simultaneously using the control software 13. Working status, can achieve two functions Switching.
  • the function switching module 112 includes first to seventh control switches (K1-K7), wherein the first to seventh control switches are controlled by five control signals, that is, the first control signal CTRL- R controls the first control switch K1 and the sixth control switch K6, the second control signal CTRL-L is used to control the second control switch K2 and the seventh control switch K7, and the third control signal controls CTRL-RB to control the third control switch K3
  • the fourth control signal CTRL_LB controls the fourth control switch ⁇ 4
  • the fifth control signal CTRL_LB&CTRL-R controls the fifth control switch K5, wherein the first control switch K1 is disposed between the headset plug module 112 and the right channel earphone
  • the second control switch K2 is disposed between the headset plug module 112 and the left channel earphone
  • the fifth control switch K5 is connected to the left channel earphone
  • the other end is connected to the first control switch K1 and the headset plug module 112.
  • One end, third control switch One end of the K3 is connected to one end of the first control switch K1 and the headset plug module 112, and the other end is connected to the voltage conversion module 110 and the clock shaping and generating circuit 111, and is grounded through the sixth control switch ⁇ 6, and the fourth control switch ⁇ 4 is connected at one end.
  • the second control switch ⁇ 2 is connected to the headset plug module 112, and the other end is connected to the voltage conversion module 110 and the clock shaping and generating circuit 111, and is grounded through the seventh control switch ⁇ 7.
  • the function switching module 112 is switched.
  • First to fifth control signals (CTRL-R, CTRL-L, CTRL-RB, CTRL-LB, and CTRL-LB&CTRL-R) control the first to seventh control switches (K1-K7) states, while controlling the software module 13 By controlling the operating state within the audio decoder/baseband processor 12, switching between the two functions is achieved.
  • FIG. 1 shows the AMPB.
  • the control signal of the internal register is abstracted into CB.
  • CB When CB is high, AMPB is turned off, and MICBIAS is set to high impedance.
  • CB is low, AMPB is turned on, and VDD voltage is regulated.
  • PGA Programmable Gain Amplifier
  • ADC analog-to-digital converter
  • the power amplifier realizes the external left-channel headphone coil.
  • the electric drive controls the working state through the internal register, and abstracts the control signal of the internal memory of the left channel power amplifier into CL.
  • the power amplifier of the left channel is turned off, and the output HPLOUT is set.
  • High impedance, CL low the left channel power amplifier is turned on, puts the internal left channel digital-to-analog converter (Left The signal VSIGL from Ch DAC is driven to the output HPLOUT.
  • the power amplifier (AMPR) realizes the electric drive of the external right-channel earphone coil, controls the working state through the internal register, and abstracts the control signal of the internal register of the right channel power amplifier.
  • CR when the CR level is specified, the right channel power amplifier is turned off, and the output HPROUT is set to a high impedance state. When the CR level is low, the right channel power amplifier is turned on, and the right channel number is turned on. The signal VSIGR from the analog converter (Right Ch DAC) is driven to the output HPROUT.
  • RB is the resistor for biasing the microphone port
  • C1 is for the microphone.
  • CL provides the blocking for the left channel headphone output, of course, in some applications, there may be no CL, CR is for the right channel The headphone output provides for blocking. In some applications, there is no CR.
  • the control software module 13 is used to control the audio codec/baseband processor to implement traditional headset functions and to switch energy and clock functions with headphones.
  • the first to seventh control switches (K1) are controlled by switching the first to fifth control signals (CTRL_R, CTRL_L, CTRL_RB, CTRL_LB, CTRL-LB&CTRL-R) -K7)
  • the state simultaneous control software module 13 controls the operating state in the audio codec/baseband processor 12, and can switch between the two functions, where the first to seventh control switches can be physical switches, such as electrical switches.
  • the mechanical switch can also be a switch that is equivalent to everything.
  • the ACDC CONV is an AC to DC voltage conversion module 110, and VDDL is a local power supply.
  • CLK GEN is a clock shaping and generating circuit 111.
  • CLKBUF is the shaping of the input clock signal.
  • CLKHS is a multiplication of the input clock signal. Of course, it can also generate more output frequency clocks.
  • the clock generated by CLKGEN includes but is not limited to CLKBUF and CLKHS, where VDDL, CLKBUF and CLKHS can be used to build many practical application circuits.
  • the 12-end configuration of the audio codec/baseband processor is as follows: CB low level, AMPB open, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1,
  • the audio electrical signal from the microphone is passed to the input of the PGA, and the output of the PGA is connected to the input of the ADC.
  • the CL low level AMPL is turned on, and the internal left channel audio signal reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via AMPL and then reaches the HPL point via CL.
  • the configuration of the headset interface circuit 11 is as follows: First, five control signals of the first to seventh control switches (first to fifth control signals CTRL_R, CTRL_L, CTRL_RB, CTRL_LB, CTRL-LB&CTRL) — R ) is correlated between the first control signal CTRL R and the third control signal CTRL RB Is a negation relationship, the second control signal CTRL_L is in inverse relationship with the fourth control signal CTRL_LB, and the fifth control signal CTRL_LB&CTRL_R is the fourth control signal CTRL_LB and the first control signal CTRL — R phase is formed.
  • the high and low levels of the abstracted switch control signal are used to describe the closing and opening of the switch.
  • the high level control signal is specified to be closed, and the low level control signal is correspondingly disconnected.
  • the second control signal CTRL_L is at a high level
  • the first control signal CTRL_R is at a high level
  • the fourth control signal CTRL_LB is at a low level
  • the third control signal CTRL RB is at a low level.
  • the fifth control signal CTRL_LB&CTRL-R is at a low level. Therefore, the equivalent circuit is as shown in FIG. 2, that is, FIG. 2 is a headset circuit having a conventional headset function configured by the configuration of the present invention.
  • the audio codec/baseband processor 12-side configuration is as follows: CB level, AMPB on, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1, The audio signal from the microphone is passed to the input of the PGA, and the output of the PGA is connected to the input of the ADC.
  • the CL low level AMPL is turned on, the internal left channel does not take the audio signal, and the control software generates the AC clock signal, which reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via the AMPL and then reaches the HPL point via the CL, CR
  • the low-level AMPR is turned on, and the internal right channel does not take the audio signal.
  • the control software generates an AC clock signal, which reaches the VSIGR point via the Right Ch DAC, reaches the HPROUT point via the AMPR, and reaches the HPR point via the CR.
  • the 11-end configuration of the headset interface is as follows:
  • the second control signal CTRL_L is low level
  • the first control signal CTRG-R is low level
  • the fourth control signal CTRL-LB is high level
  • the third control The signal CTRL-RB is high
  • the fifth control signal CTRL-LB&CTRL-R is ⁇ level
  • ACDC CONV is the voltage conversion module of the double-ended AC input to the DC output
  • VDDL is the local power supply
  • CLK GEN is the clock shaping and generation
  • CLKBUF is the shaping of the double-ended input clock signal
  • CLKHS is the multiplication of the input clock signal, therefore, the equivalent circuit is shown in Figure 3. That is: Figure 3 is the headphone port double-ended mode to generate power VDDL And the equivalent circuit of the clock CLKBUF, CLKHS, the advantage of the double-ended mode power supply is that it can get stronger driving ability than single-ended.
  • FIG. 4 is an independent single-ended input power supply and a single-ended input clock generation circuit of FIG.
  • the audio codec/baseband processor 12-end configuration is the same as the circuit configuration corresponding to FIG. 3, and the configuration of the headset interface 11 end is the same as that of FIG. 3, except that the ACDC CONV of the double-ended input in FIG. 3 is changed to ACDC CONV with single-ended input, although there are two wires connected to the ACDC CONV, only one of them works, and the CLK GEN of the double-ended input in Figure 3 is changed to the CLK GEN of the single-ended input. Specifically, instead of using one earphone cable to generate power independently, the other earphone cable independently generates a clock.
  • the audio codec/baseband processor 12-side configuration is as follows: CB low level, AMPB open, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1,
  • the audio electrical signal from the microphone is passed to the input of the PGA, and the output of the PGA is connected to the input of the ADC.
  • the CL low level AMPL is turned on, the internal left channel does not take the audio signal, and the control software generates an AC clock signal, which reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via the AMPL and then reaches the HPL point via the CL.
  • the CR low level AMPR is turned on, the internal right channel does not take the audio signal, and the control software module 13 generates an AC clock signal, which reaches the VSIGR point via the Right Ch DAC, reaches the HPROUT point via the AMPR, and reaches the HPR point via the CR. .
  • the clock signal frequency is 0, that is, the clock signal is a high-current current level, at this time, the corresponding DC blocking capacitor CR is short-circuited, and the ACDC CONV module only needs to convert the DC voltage into a DC voltage output. .
  • the 11-end configuration of the headset interface is as follows: The second control signal CTRL_L and the first control signal CTRL-R are low level, then correspondingly, the fourth control signal CTRL_LB is high level, and the second control signal CTRL_RB High level, the fifth control signal CTRL-LB&CTRL-R is low level, the negative input of ACDC CONV is specified to be valid, and the positive input of ACDC CONV specifies that ACDC CONV does not respond, that is, external connection to ACDC CONV The positive terminal is disconnected from the internal circuit. Similarly, the positive input of CLK GEN is valid and the negative input is not responding. Therefore, the equivalent circuit is shown in Figure 4.
  • Figure 4 is the headset The port independent single-ended input HPR generates the power supply VDDL and the independent single-ended input HPL generates the equivalent circuit of the clocks CLKBUF, CLKHS. (Note, HPR and HPL are interchangeable here, Figure 4 is one of two implementations.) The benefit of independent power and clock generation is the higher quality of the clock and power supply.
  • Figure 5 is a single-ended power supply and clock circuit configured in Figure 1, while retaining the monophonic headphone function.
  • the audio codec/baseband processor 12-side configuration is as follows: CB low level, AMPB open, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1,
  • the audio signal from the microphone is input to the input of the PGA, and the output of the PGA is connected to the input of the ADC, the CL ⁇ level AMPL is turned on, the internal left channel does not take the audio signal, and the control software module 13 generates an AC clock signal.
  • This signal reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via AMPL and then reaches the HPL point via CL.
  • CR low level AMPR is turned on, the internal right channel still goes the audio signal, this signal reaches the VSIGR point via the Right Ch DAC, then reaches the HPROUT point via AMPR and then reaches the HPR point via CR (the left and right channels are interchangeable here) , for the sake of explanation, a possible way is chosen).
  • the terminal end of the headset interface circuit 11 is configured as follows: The second control signal CTRL_L is low level, and the first control signal CTRL_R is high level, then correspondingly, the fourth control signal CTRL_LB is high level, third The control signal CTRL-RB is low, and the fifth control signal CTRL-LB&CTRL-R is high. Therefore, the equivalent circuit is shown in FIG. Figure 5 shows the equivalent circuit for generating the power supply VDDL and the clocks CLKBUF and CLKHS in a separate manner, while preserving the mono headphone function.
  • the functional circuits corresponding to FIG. 3, FIG. 4 and FIG. 5 can be configured to utilize the bus communication between the external devices of VDDL, CLKBUF, and CLKHS and the host.
  • the GPIO port of the audio codec/baseband processor 12 is configured by the control software module 13 to conform to the data port of the specified bus requirement
  • the HPLOUT and/or HPROUT are configured to the specified bus requirements by the control software module 13.
  • Clock and/or divided clock so that the bus is available
  • the headset circuit of the present invention increases the voltage conversion module, the clock shaping and generating circuit, and the function switching module in the headset interface circuit, and controls the state of the seven switches of the function switching module by using five control signals while using the control.
  • the software module controls the working state in the audio codec/baseband processor, so that the invention can be based on the traditional headset and headset interface, without changing any hardware such as an audio codec/baseband processor, only changing the control software,
  • the headset interface circuit and the external circuit extract power and clock, which can supply power and clock to a large number of peripherals, and expand the function of the headset.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)

Abstract

Disclosed is a headset circuit comprising a headset interface circuit, an audio codec/baseband processor, and a control software module. The headset interface circuit comprises: a voltage converter module, a clock shaping and generator circuit, and a function switching module. The present invention adds to the headset interface circuit the voltage converter module, the clock shaping and generator circuit, and the function switching module, and uses five control signals to control states of seven switches of the function switching module, while at the same time, uses the control software module to control a working state in the audio codex/baseband processor. This, on the basis of a conventional headset and headset interface, without modification of any hardware such as the audio codex/baseband processor but with modification of a control software only, allows the present invention to extract electricity and clock via the headset interface circuit and an externally-connected circuit, thus allowing for the provision of power supply and clock to a large number of peripherals, and for extended set of headset functions.

Description

耳麦电路 技术领域  Headset circuit
本发明涉及一种音频装置, 特别是涉及一种耳麦电路。 背景技术  The present invention relates to an audio device, and more particularly to a headset circuit. Background technique
耳麦, 顾名思义, 即为耳机与麦克风的整合体, 当前, 随着音频设备的 发展, 耳麦的应用非常广泛, 游戏、 音乐、 视频, 它无所不在。  Headsets, as the name suggests, are the integration of headphones and microphones. Currently, with the development of audio devices, headsets are widely used, games, music, video, and it is ubiquitous.
当前, 现有技术中的耳麦电路一般包括音频编解码器 /基带处理器以及耳 麦借口, 其中音频编解码器 /基带处理器通过耳麦接口, 驱动外接的耳机和麦 克风, 实现声音信号的输入及输出。 然而现有技术的耳麦电路往往只具有传 统的耳麦功能, 无法对耳麦的功能进行扩展, 限制了耳麦的使用。  Currently, the headset circuit in the prior art generally includes an audio codec/baseband processor and a headset excuses, wherein the audio codec/baseband processor drives the external earphone and the microphone through the headset interface to realize the input and output of the sound signal. . However, prior art headset circuits tend to have only conventional headset functions, failing to extend the functionality of the headset, and limiting the use of the headset.
综上所述, 可知现有技术中耳麦电路存在无法扩展耳麦功能的问题, 因 此, 实有必要提出改进的技术手段, 来解决此一问题。 发明内容  In summary, it can be seen that the prior art headset circuit has the problem that the headset function cannot be expanded. Therefore, it is necessary to propose an improved technical means to solve this problem. Summary of the invention
为克服上述现有技术中耳麦电路存在无法扩展耳麦功能的问题, 本发明 的主要目的在于提供一种耳麦电路, 其可以在传统耳麦及耳麦接口的基础上, 不改动任何音频编解码器 /基带处理器等硬件, 仅改变控制软件, 通过耳麦接 口、 外接电路来抽取电能及时钟, 可以给大量的外设提供电源及时钟, 扩展 了耳麦的功能。  In order to overcome the problem that the prior art headset circuit cannot expand the function of the headset, the main object of the present invention is to provide a headset circuit which can be based on the traditional headset and headset interface without changing any audio codec/baseband. Hardware such as a processor, only changing the control software, extracting power and clock through the headset interface and external circuit, can provide power and clock to a large number of peripherals, and expand the function of the headset.
为达上述及其它目的, 本发明提出一种耳麦电路, 包括耳麦接口电路、 音频编解码器 /基带处理器以及控制软件模块, 该耳麦接口电路至少包括: 电压转换模块, 连接于一功能切换模块, 以在该功能切换模块控制下将 该控制软件模块产生并经该音频编解码器 /基带处理器处理的时钟信号转换为 一直流电压输出, 其中, 当该时钟信号频率为零时, 该时钟信号为一直流高 电平; To achieve the above and other objects, the present invention provides a headset circuit including a headset interface circuit, an audio codec/baseband processor, and a control software module. The headset interface circuit includes at least: a voltage conversion module connected to a function switching module Converting, by the function switching module, a clock signal generated by the control software module and processed by the audio codec/baseband processor into a DC voltage output, wherein when the clock signal frequency is zero, the clock The signal is always high Level
时钟整形及产生电路, 连接于该功能切换模块, 以在该功能切换模块控 制下对该控制软件模块产生并经该音频编解码器 /基带处理器处理的时钟信号 进行处理, 产生新的时钟信号输出; 以及  a clock shaping and generating circuit is connected to the function switching module to process a clock signal generated by the control software module and processed by the audio codec/baseband processor under the control of the function switching module to generate a new clock signal Output;
功能切换模块, 与外接的耳机及麦克风连接, 并通过一耳麦插头模块与 音频编解码器 /基带处理器连接, 用于实现状态切换,  The function switching module is connected to the external earphone and the microphone, and is connected to the audio codec/baseband processor through a headset plug module for realizing state switching.
其中, 该耳麦电路通过该功能切换模块的状态切换并同时利用该控制软 件控制该控制音频编解码器 /基带处理器的工作状态, 实现不同功能之间的切 换。  The headset circuit controls the state of the control audio codec/baseband processor by using the function switching of the function switching module, and simultaneously controls switching between different functions.
进一步地, 该耳麦电路实现传统耳麦功能、 耳机口双端方式产生电源及 时钟的功能、 耳机口独立单端输入产生电源及独立单端输入产生时钟的功能 及耳机口单独方式产生电源及时钟同时保留单声道耳机功能之间的切换。  Further, the headset circuit realizes the traditional headset function, the dual-end mode of the headphone port generates the power and the clock function, the independent single-ended input of the headphone port generates the power and the independent single-ended input generates the clock function, and the headphone port generates the power and the clock separately. Keep switching between mono headset functions.
进一步地, 该电压转换模块为交流到直流的电压转换模块。  Further, the voltage conversion module is an AC to DC voltage conversion module.
进一步地, 该功能切换模块通过多个控制开关的通断来实现状态切换。 进一步地, 该功能切换模块包含由第一至第五控制信号控制的第一控制 开关、 第二控制开关、 第三控制开关、 第四控制开关、 第五控制开关、 第六 控制开关及第七控制开关, 该第一控制开关设置于该耳麦插头模块与右声道 耳机之间, 该第二控制开关设置于该耳麦插头模块与左声道耳机之间, 该第 五控制开关一端连接于左声道耳机, 另一端连接于该第一控制开关与该耳麦 插头模块相连的一端, 该第三控制开关一端连接于该第一控制开关与该耳麦 插头模块相连的一端, 另一端连接于该电压转换模块及该时钟整形及产生电 路, 并通过该第六控制开关接地, 该第四控制开关一端连接于该第二控制开 关与该耳麦插头模块相连的一端, 另一端连接于该电压转换模块及该时钟整 形及产生电路, 并通过该第七控制开关接地。  Further, the function switching module implements state switching by turning on and off of the plurality of control switches. Further, the function switching module includes a first control switch, a second control switch, a third control switch, a fourth control switch, a fifth control switch, a sixth control switch, and a seventh control controlled by the first to fifth control signals. a control switch, the first control switch is disposed between the headset plug module and the right channel earphone, the second control switch is disposed between the headset plug module and the left channel earphone, and the fifth control switch is connected to the left end The other end is connected to one end of the first control switch connected to the headset plug module, and the other end of the third control switch is connected to one end of the first control switch connected to the headset plug module, and the other end is connected to the voltage The conversion module and the clock shaping and generating circuit are grounded through the sixth control switch, and one end of the fourth control switch is connected to one end of the second control switch connected to the headset plug module, and the other end is connected to the voltage conversion module and The clock shaping and generating circuit is grounded through the seventh control switch.
进一步地, 第一控制信号控制该第一控制开关及该第六控制开关, 该第 二控制信号用于控制第二控制开关及该第七控制开关, 该第三控制信号控制 控制该第三控制开关, 该第四控制信号控制该第四控制开关, 该第五控制信 号控制该第五控制开关。 Further, the first control signal controls the first control switch and the sixth control switch, the first The second control signal is used to control the second control switch and the seventh control switch, the third control signal controls the third control switch, the fourth control signal controls the fourth control switch, and the fifth control signal controls the first Five control switches.
进一步地, 该第一控制信号与该第三控制信号之间、 该第二控制信号与 该第四控制信号之间为取反关系, 该第五控制信号为该第四控制信号与第一 控制信号相与而成。  Further, between the first control signal and the third control signal, the second control signal and the fourth control signal are in an inverse relationship, and the fifth control signal is the fourth control signal and the first control The signals are combined.
进一步地, 该耳麦电路通过该控制软件模块控制该第二控制信号为高电 平、 该第一控制信号为高电平、 该第四控制信号为低电平、 该第三控制信号 为低电平及该第五控制信号为低电平实现传统耳麦功能的切换。  Further, the headset circuit controls the second control signal to be a high level, the first control signal is a high level, the fourth control signal is a low level, and the third control signal is a low level by the control software module The fifth control signal is low and the traditional headset function is switched.
进一步地, 该耳麦电路通过该控制软件模块控制该第二控制信号为低电 平、 该第一控制信号为低电平、 该第四控制信号为高电平、 该第三控制信号 能的切换。  Further, the headset circuit controls the second control signal to be a low level, the first control signal is a low level, the fourth control signal is a high level, and the third control signal can be switched by the control software module. .
进一步地, 该耳麦电路通过该控制软件模块控制该第二控制信号为低电 平、 该第一控制信号为低电平、 该第四控制信号为高电平、 该第二控制信号 为高电平、 该第五控制信号为低电平, 并通过规定该电压转换模块的负端输 入有效、 正端输入规定不响应及规定该时钟整形及产生电路的正端输入有效、 负端输入不响应实现耳机口独立单端输入产生电源及独立单端输入产生时钟 功能的切换。  Further, the headset circuit controls the second control signal to be a low level by the control software module, the first control signal is a low level, the fourth control signal is a high level, and the second control signal is a high level Ping, the fifth control signal is low, and the negative input of the voltage conversion module is valid, the positive input input does not respond, and the positive input of the clock shaping and generating circuit is valid, and the negative input does not respond. The independent single-ended input of the headphone port generates power and the independent single-ended input generates the switching function of the clock function.
进一步地, 该耳麦电路通过该控制软件模块控制该第二控制信号为低电 平、 第一控制信号为高电平、 该第四控制信号为高电平、 该第三控制信号为 低电平、 该第五控制信号为高电平实现耳机口单独方式产生电源及时钟同时 保留单声道耳机功能的切换。  Further, the headset circuit controls the second control signal to be a low level, the first control signal is a high level, the fourth control signal is a high level, and the third control signal is a low level by the control software module The fifth control signal is at a high level to realize the switching of the headphone port in a separate manner to generate power and clock while retaining the function of the mono headset.
进一步地, 该时钟整形及产生电路对输入的时钟信号进行处理, 输出对 输入时钟信号整形的新的时钟信号及对输入时钟信号倍频的新的时钟信号。 进一步地, 该耳麦电路可配置成使用该直流电压及新的时钟信号的外部 设备与主机之间的总线通信, 该耳麦电路通过该控制软件模块把该音频编解 码器 /基带处理器的通用基本输入输出接口配置成符合规定总线要求的数据 口, 同时通过该控制软件模块把左声道功率放大器和(或)右声道功率放大 器的输出配置成规定总线要求的时钟和(或)分频时钟。 Further, the clock shaping and generating circuit processes the input clock signal, and outputs a new clock signal that shapes the input clock signal and a new clock signal that multiplies the input clock signal. Further, the headset circuit can be configured to communicate with the host device using the DC voltage and the new clock signal, and the headset circuit uses the control software module to generalize the audio codec/baseband processor. The input/output interface is configured to meet a data port required by the specified bus, and the output of the left channel power amplifier and/or the right channel power amplifier is configured by the control software module to be a clock and/or a divided clock that specifies the bus requirement. .
与现有技术相比, 本发明一种耳麦电路通过在耳麦接口电路中增加电压 转换模块、 时钟整形及产生电路以及功能切换模块, 利用五个控制信号控制 功能切换模块的七个开关的状态同时利用控制软件模块控制音频编解码器 /基 带处理器内的工作状态, 使得本发明可以在传统耳麦及耳麦接口的基础上, 不改动任何音频编解码器 /基带处理器等硬件, 仅改变控制软件, 通过耳麦接 口电路、 外接电路来抽取电能及时钟, 可以给大量的外设提供电源及时钟, 扩展了耳麦的功能。 附图说明  Compared with the prior art, the headset circuit of the present invention controls the state of the seven switches of the function switching module by using five control signals by adding a voltage conversion module, a clock shaping and generating circuit, and a function switching module in the headset interface circuit. The control software module is used to control the working state in the audio codec/baseband processor, so that the invention can be based on the traditional headset and headset interface, without changing any audio codec/baseband processor and other hardware, only changing the control software. The power and clock are extracted through the headset interface circuit and the external circuit, which can provide power and clock to a large number of peripherals, and expand the function of the headset. DRAWINGS
图 1为本发明一种耳麦电路之较佳实施例的电路结构图;  1 is a circuit structural diagram of a preferred embodiment of a headset circuit of the present invention;
图 2为图 1通过配置而成的传统耳麦电路;  2 is a conventional headset circuit configured by FIG. 1;
图 3是图 1通过配置而成的双端方式产生电源及时钟的电路;  3 is a circuit for generating a power source and a clock in a double-ended manner according to FIG. 1;
图 4是图 3通过改变而成的独立单端输入电源及单端输入时钟产生电路; 图 5是图 1通过配置而成的单端产生电源及时钟电路。 具体实施方式  FIG. 4 is a single-ended input power supply and a single-ended input clock generating circuit which are changed by FIG. 3; FIG. 5 is a single-ended power supply and clock circuit configured by FIG. detailed description
以下通过特定的具体实例并结合附图说明本发明的实施方式, 本领域技 术人员可由本说明书所揭示的内容轻易地了解本发明的其它优点与功效。 本 发明亦可通过其它不同的具体实例加以施行或应用, 本说明书中的各项细节 亦可基于不同观点与应用, 在不背离本发明的精神下进行各种修饰与变更。 图 1为本发明一种耳麦电路之较佳实施例的电路结构图。 如图 2所示, 本发明一种耳麦电路, 通过外接耳机与麦克风, 可实现声音信号的输入及输 出, 并可实现传统耳麦功能及用耳机抽取能量、 时钟功能之间的切换, 其至 少包括: 耳麦接口电路 11、 音频编解码器 /基带处理器 12 以及控制软件模块 13。 The embodiments of the present invention will be described by way of specific examples and the accompanying drawings, and those skilled in the art can readily understand the advantages and advantages of the present invention. The present invention may be embodied or applied in various other specific embodiments, and various modifications and changes may be made without departing from the spirit and scope of the invention. 1 is a circuit structural diagram of a preferred embodiment of a headset circuit of the present invention. As shown in FIG. 2, the headset circuit of the present invention can realize the input and output of the sound signal through the external earphone and the microphone, and can realize the switching between the traditional headset function and the energy extracted by the earphone and the clock function, which at least includes : a headset interface circuit 11, an audio codec/baseband processor 12, and a control software module 13.
其中,耳麦接口电路 11包括电压转换模块 110、时钟整形及产生电路 111、 功能切换模块 112以及耳麦插头模块 113 , 电压转换模块 110为一将交流电压 转换为直流电压的模块, 其用于在切换功能模块 112 的控制下, 将该控制软 件模块 13产生并经该音频编解码器 /基带处理器 12处理的时钟信号转换为转 换为直流电压 VDDL; 时钟整形及产生电路 111用于在切换功能模块 112的 控制下, 该控制软件模块 13产生并经该音频编解码器 /基带处理器 12处理的 时钟信号进行处理, 产生新的时钟信号; 切换功能模块 112连接于电压转换 模块 110、 时钟整形及产生电路 111、耳机、 麦克风, 并通过耳麦插头模块 112 与音频编解码器 /基带处理器 12连接,通过功能切换模块 112的状态切换并同 时利用控制软件 13控制音频编解码器 /基带处理器 12的工作状态, 可实现两 种功能之间的切换。  The headset interface circuit 11 includes a voltage conversion module 110, a clock shaping and generating circuit 111, a function switching module 112, and a headset plug module 113. The voltage conversion module 110 is a module for converting an alternating current voltage into a direct current voltage, which is used for switching. Under the control of the function module 112, the clock signal generated by the control software module 13 and processed by the audio codec/baseband processor 12 is converted into a DC voltage VDDL; the clock shaping and generating circuit 111 is used to switch the function module. Under the control of 112, the control software module 13 generates and processes a clock signal processed by the audio codec/baseband processor 12 to generate a new clock signal; the switching function module 112 is connected to the voltage conversion module 110, clock shaping and The generating circuit 111, the earphone, the microphone, and the audio codec/baseband processor 12 are connected through the headset plug module 112, and the audio codec/baseband processor 12 is controlled by the state switching of the function switching module 112 and simultaneously using the control software 13. Working status, can achieve two functions Switching.
在本发明较佳实施例中, 功能切换模块 112 包含第一至第七控制开关 ( K1-K7 ), 这里的第一至第七控制开关由五个控制信号控制, 即第一控制信 号 CTRL— R控制第一控制开关 K1及第六控制开关 K6,第二控制信号 CTRL— L 用于控制第二控制开关 K2及第七控制开关 K7、第三控制信号控制 CTRL— RB 控制第三控制开关 K3、 第四控制信号 CTRL— LB控制第四控制开关 Κ4, 第五 控制信号 CTRL— LB&CTRL— R控制第五控制开关 K5 , 其中第一控制开关 K1 设置于耳麦插头模块 112与右声道耳机之间,第二控制开关 K2设置于耳麦插 头模块 112与左声道耳机之间, 第五控制开关 K5—端连接于左声道耳机, 另 一端连接于第一控制开关 K1与耳麦插头模块 112相连的一端,第三控制开关 K3一端连接于第一控制开关 K1与耳麦插头模块 112相连的一端, 另一端连 接于电压转换模块 110及时钟整形及产生电路 111 , 并通过第六控制开关 Κ6 接地, 第四控制开关 Κ4一端连接于第二控制开关 Κ2与耳麦插头模块 112相 连的一端, 另一端连接于电压转换模块 110及时钟整形及产生电路 111 , 并通 过第七控制开关 Κ7接地, 这样, 功能切换模组 112通过切换第一至第五控制 信号 (CTRL— R、 CTRL— L、 CTRL— RB、 CTRL— LB及 CTRL— LB&CTRL— R ) 控制的第一至第七控制开关(K1-K7 )状态, 同时控制软件模块 13控制音频 解码器 /基带处理器 12内的工作状态, 即可实现两种功能之间的切换。 In a preferred embodiment of the present invention, the function switching module 112 includes first to seventh control switches (K1-K7), wherein the first to seventh control switches are controlled by five control signals, that is, the first control signal CTRL- R controls the first control switch K1 and the sixth control switch K6, the second control signal CTRL-L is used to control the second control switch K2 and the seventh control switch K7, and the third control signal controls CTRL-RB to control the third control switch K3 The fourth control signal CTRL_LB controls the fourth control switch Κ4, and the fifth control signal CTRL_LB&CTRL-R controls the fifth control switch K5, wherein the first control switch K1 is disposed between the headset plug module 112 and the right channel earphone The second control switch K2 is disposed between the headset plug module 112 and the left channel earphone, the fifth control switch K5 is connected to the left channel earphone, and the other end is connected to the first control switch K1 and the headset plug module 112. One end, third control switch One end of the K3 is connected to one end of the first control switch K1 and the headset plug module 112, and the other end is connected to the voltage conversion module 110 and the clock shaping and generating circuit 111, and is grounded through the sixth control switch Κ6, and the fourth control switch Κ4 is connected at one end. The second control switch Κ2 is connected to the headset plug module 112, and the other end is connected to the voltage conversion module 110 and the clock shaping and generating circuit 111, and is grounded through the seventh control switch Κ7. Thus, the function switching module 112 is switched. First to fifth control signals (CTRL-R, CTRL-L, CTRL-RB, CTRL-LB, and CTRL-LB&CTRL-R) control the first to seventh control switches (K1-K7) states, while controlling the software module 13 By controlling the operating state within the audio decoder/baseband processor 12, switching between the two functions is achieved.
以下将进一步配合图 1说明本发明之工作原理: 对于音频解码器 /基带处 理器 12部分, 放大器(AMPB ) 实现了麦克风偏置电压的输出, 通过内部寄 存器来控制其工作状态, 图 1把 AMPB内部寄存器的控制信号抽象成 CB, 为了便于说明, 规定 CB高电平的时候, AMPB被关断, 同时输出 MICBIAS 置成高阻态, CB低电平的时候, AMPB 开启, 把 VDD 电压稳压后输出到 MICBIAS„ 可编程增益放大器(PGA ) 实现了把 AIN来的麦克风的电信号放 大, 然后输入到模数转换器(ADC ), 功率放大器(AMPL ) 实现了对外接左 声道耳机线圈的电驱动, 通过内部寄存器来控制其工作状态, 把左声道功率 放大器内部寄存器的控制信号抽象成 CL, 规定 CL高电平的时候, 左声道的 功率放大器被关断, 同时输出 HPLOUT置成高阻态, CL低电平的时候, 左 声道的功率放大器开启, 把从内部左声道数模转换器(Left Ch DAC )来的信 号 VSIGL驱动到输出 HPLOUT, 功率放大器(AMPR ) 实现了对外接右声道 耳机线圈的电驱动, 通过内部寄存器来控制其工作状态, 把右声道功放内部 寄存器的控制信号抽象成 CR,规定 CR高电平的时候,右声道的功放被关断, 同时输出 HPROUT置成高阻态, CR低电平的时候, 右声道的功放开启, 把 从内部右声道数模转换器 (Right Ch DAC ) 来的信号 VSIGR驱动到输出 HPROUT, 图 1 中, RB是给麦克风口提供偏置用的电阻, C1是给麦克风输 入提供隔离直流用的, GPIO 口是通过麦克口输入输出数据用的, CL在给左 声道耳机输出提供隔直用的, 当然在一些应用里, 也可以没有 CL, CR是给 右声道耳机输出提供隔直用的, 在一些应用里, 也可以没有 CR, 控制软件模 块 13用于控制音频编解码器 /基带处理器等,以实现传统耳麦功能及用耳机抽 取能量及时钟功能的切换; 对于耳麦接口电路 11部分, 通过切换第一至第五 控制信号 (CTRL— R、 CTRL— L、 CTRL— RB、 CTRL— LB、 CTRL— LB&CTRL— R) 控制第一至第七控制开关(K1-K7 )状态同时控制软件模块 13控制音频编解 码器 /基带处理器 12内的工作状态, 可实现两种功能之间的切换, 这里第一至 第七控制开关可以是物理开关, 如电开关、 机械开关, 也可以是一切等效而 成的开关, ACDC CONV是交流到直流的电压转换模块 110, VDDL是本地电 源。 CLK GEN是时钟整形及产生电路 111 , CLKBUF是对输入时钟信号的整 形, CLKHS是对输入时钟信号的倍频, 当然也可以产生更多的输出频率的时 钟, CLKGEN 所产生的时钟包括但不仅限于 CLKBUF及 CLKHS, 其中, VDDL, CLKBUF及 CLKHS可以搭建很多的实际应用电路。 The working principle of the present invention will be further described below with reference to FIG. 1. For the audio decoder/baseband processor 12 part, the amplifier (AMPB) realizes the output of the microphone bias voltage, and controls the working state through the internal register, FIG. 1 shows the AMPB. The control signal of the internal register is abstracted into CB. For convenience of explanation, when CB is high, AMPB is turned off, and MICBIAS is set to high impedance. When CB is low, AMPB is turned on, and VDD voltage is regulated. After output to the MICBIAS„ Programmable Gain Amplifier (PGA), the electrical signal of the AIN microphone is amplified, and then input to an analog-to-digital converter (ADC). The power amplifier (AMPL) realizes the external left-channel headphone coil. The electric drive controls the working state through the internal register, and abstracts the control signal of the internal memory of the left channel power amplifier into CL. When the CL high level is specified, the power amplifier of the left channel is turned off, and the output HPLOUT is set. High impedance, CL low, the left channel power amplifier is turned on, puts the internal left channel digital-to-analog converter (Left The signal VSIGL from Ch DAC is driven to the output HPLOUT. The power amplifier (AMPR) realizes the electric drive of the external right-channel earphone coil, controls the working state through the internal register, and abstracts the control signal of the internal register of the right channel power amplifier. In CR, when the CR level is specified, the right channel power amplifier is turned off, and the output HPROUT is set to a high impedance state. When the CR level is low, the right channel power amplifier is turned on, and the right channel number is turned on. The signal VSIGR from the analog converter (Right Ch DAC) is driven to the output HPROUT. In Figure 1, RB is the resistor for biasing the microphone port, and C1 is for the microphone. Into the isolated DC, the GPIO port is used to input and output data through the microphone port, CL provides the blocking for the left channel headphone output, of course, in some applications, there may be no CL, CR is for the right channel The headphone output provides for blocking. In some applications, there is no CR. The control software module 13 is used to control the audio codec/baseband processor to implement traditional headset functions and to switch energy and clock functions with headphones. For the headset interface circuit 11 part, the first to seventh control switches (K1) are controlled by switching the first to fifth control signals (CTRL_R, CTRL_L, CTRL_RB, CTRL_LB, CTRL-LB&CTRL-R) -K7) The state simultaneous control software module 13 controls the operating state in the audio codec/baseband processor 12, and can switch between the two functions, where the first to seventh control switches can be physical switches, such as electrical switches. The mechanical switch can also be a switch that is equivalent to everything. The ACDC CONV is an AC to DC voltage conversion module 110, and VDDL is a local power supply. CLK GEN is a clock shaping and generating circuit 111. CLKBUF is the shaping of the input clock signal. CLKHS is a multiplication of the input clock signal. Of course, it can also generate more output frequency clocks. The clock generated by CLKGEN includes but is not limited to CLKBUF and CLKHS, where VDDL, CLKBUF and CLKHS can be used to build many practical application circuits.
图 2为图 1通过配置而成的传统耳麦电路。 音频编解码器 /基带处理器 12 端配置如下: CB低电平, AMPB开启, MICBIAS端口有麦克风的偏置电压, MICBIAS连接 RB给 MIC点提供偏置, 而同时 MIC点经由 C1到达 AIN, 把 从麦克风来的音频电信号传入到 PGA的输入,再 PGA的输出连接 ADC的输 入。 CL低电平 AMPL开启, 内部的左声道音频信号经由 Left Ch DAC到达 VSIGL点, 再经由 AMPL到达 HPLOUT点再经由 CL到达 HPL点。 CR 氐电 平 AMPR开启, 内部的右声道音频信号经由 Right Ch DAC到达 VSIGR点, 再经由 AMPR到达 HPROUT点再经由 CR到达 HPR点。耳麦接口电路 11端 配置如下: 首先说明, 第一至第七控制开关的五个控制信号 (第一至第五控 制信号 CTRL— R、 CTRL— L、 CTRL— RB、 CTRL— LB、 CTRL— LB&CTRL— R ) 是有相关性的, 其中第一控制信号 CTRL R与第三控制信号 CTRL RB之间 是取反关系, 第二控制信号 CTRL— L与第四控制信号 CTRL— LB之间是取反 关系, 第五控制信号 CTRL— LB&CTRL— R是第四控制信号 CTRL— LB和第一 控制信号 CTRL— R相与而成, 为了便于说明, 用抽象出来的开关控制信号的 高低电平来描述开关的闭合与断开, 规定高电平控制信号对应闭合, 低电平 控制信号对应断开。第二控制信号 CTRL— L为高电平,第一控制信号 CTRL— R 为高电平, 那么相应的, 第四控制信号 CTRL— LB 为低电平, 第三控制信号 CTRL RB为低电平, 第五控制信号 CTRL— LB&CTRL— R为低电平, 因此, 等效的电路如图 2所示, 即图 2为本发明通过配置设置而成的仅具有传统耳 麦功能的耳麦电路。 2 is a conventional headset circuit configured by FIG. The 12-end configuration of the audio codec/baseband processor is as follows: CB low level, AMPB open, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1, The audio electrical signal from the microphone is passed to the input of the PGA, and the output of the PGA is connected to the input of the ADC. The CL low level AMPL is turned on, and the internal left channel audio signal reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via AMPL and then reaches the HPL point via CL. The CR 氐 level AMPR is turned on, and the internal right channel audio signal reaches the VSIGR point via the Right Ch DAC, then reaches the HPROUT point via the AMPR and reaches the HPR point via the CR. The configuration of the headset interface circuit 11 is as follows: First, five control signals of the first to seventh control switches (first to fifth control signals CTRL_R, CTRL_L, CTRL_RB, CTRL_LB, CTRL-LB&CTRL) — R ) is correlated between the first control signal CTRL R and the third control signal CTRL RB Is a negation relationship, the second control signal CTRL_L is in inverse relationship with the fourth control signal CTRL_LB, and the fifth control signal CTRL_LB&CTRL_R is the fourth control signal CTRL_LB and the first control signal CTRL — R phase is formed. For convenience of explanation, the high and low levels of the abstracted switch control signal are used to describe the closing and opening of the switch. The high level control signal is specified to be closed, and the low level control signal is correspondingly disconnected. The second control signal CTRL_L is at a high level, and the first control signal CTRL_R is at a high level, and accordingly, the fourth control signal CTRL_LB is at a low level, and the third control signal CTRL RB is at a low level. The fifth control signal CTRL_LB&CTRL-R is at a low level. Therefore, the equivalent circuit is as shown in FIG. 2, that is, FIG. 2 is a headset circuit having a conventional headset function configured by the configuration of the present invention.
图 3是图 1通过配置而成的双端方式产生电源及时钟的电路。 其中音频 编解码器 /基带处理器 12端配置如下: CB 氏电平, AMPB开启, MICBIAS 端口有麦克风的偏置电压, MICBIAS连接 RB给 MIC点提供偏置, 而同时 MIC点经由 C1到达 AIN, 把从麦克风来的音频电信号传入到 PGA的输入, 再 PGA的输出连接 ADC的输入。 CL低电平 AMPL开启, 内部的左声道不 走音频信号, 由控制软件产生出交流时钟信号, 此信号经由 Left Ch DAC到 达 VSIGL点, 再经由 AMPL到达 HPLOUT点再经由 CL到达 HPL点, CR 低电平 AMPR开启, 内部的右声道不走音频信号, 由控制软件产生出交流时 钟信号, 此信号经由 Right Ch DAC 到达 VSIGR点, 再经由 AMPR到达 HPROUT点再经由 CR到达 HPR点。 耳麦接口 11端配置如下: 第二控制信 号 CTRL— L为低电平, 第一控制信号 CTRG— R为低电平, 那么相应的, 第四 控制信号 CTRL— LB为高电平, 第三控制信号 CTRL— RB为高电平, 第五控制 信号 CTRL— LB&CTRL— R为氐电平, ACDC CONV是双端交流输入到直流输 出的电压转换模块, VDDL是本地电源, CLK GEN是时钟整形及产生电路, CLKBUF是对双端输入时钟信号的整形, CLKHS是对输入时钟信号的倍频, 因此, 等效的电路如图 3所示。 即: 图 3是耳机口双端方式产生电源 VDDL 及时钟 CLKBUF、 CLKHS的等效电路, 双端方式供电的好处是可以比单端得 到更强的驱动能力。 3 is a circuit for generating a power supply and a clock in the double-ended manner of FIG. The audio codec/baseband processor 12-side configuration is as follows: CB level, AMPB on, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1, The audio signal from the microphone is passed to the input of the PGA, and the output of the PGA is connected to the input of the ADC. The CL low level AMPL is turned on, the internal left channel does not take the audio signal, and the control software generates the AC clock signal, which reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via the AMPL and then reaches the HPL point via the CL, CR The low-level AMPR is turned on, and the internal right channel does not take the audio signal. The control software generates an AC clock signal, which reaches the VSIGR point via the Right Ch DAC, reaches the HPROUT point via the AMPR, and reaches the HPR point via the CR. The 11-end configuration of the headset interface is as follows: The second control signal CTRL_L is low level, the first control signal CTRG-R is low level, then correspondingly, the fourth control signal CTRL-LB is high level, the third control The signal CTRL-RB is high, the fifth control signal CTRL-LB&CTRL-R is 氐 level, ACDC CONV is the voltage conversion module of the double-ended AC input to the DC output, VDDL is the local power supply, CLK GEN is the clock shaping and generation The circuit, CLKBUF is the shaping of the double-ended input clock signal, CLKHS is the multiplication of the input clock signal, therefore, the equivalent circuit is shown in Figure 3. That is: Figure 3 is the headphone port double-ended mode to generate power VDDL And the equivalent circuit of the clock CLKBUF, CLKHS, the advantage of the double-ended mode power supply is that it can get stronger driving ability than single-ended.
图 4是图 3通过改变而成的独立单端输入电源及单端输入时钟产生电路。 音频编解码器 /基带处理器 12端配置与图 3对应的电路配置相同, 耳麦接口 11端配置与图 3对应的电路配置也相同,不同的是把图 3中双端输入的 ACDC CONV改为单端输入的 ACDC CONV, 虽然有两根线连到 ACDC CONV, 仅 仅让其中的一根起效, 同时把图 3中双端输入的 CLK GEN改为单端输入的 CLK GEN。 具体来说改用一根耳机线独立产生电源, 另一根耳机线独立产生 时钟。 音频编解码器 /基带处理器 12端配置如下: CB低电平, AMPB开启, MICBIAS端口有麦克风的偏置电压, MICBIAS连接 RB给 MIC点提供偏置, 而同时 MIC点经由 C1到达 AIN,把从麦克风来的音频电信号传入到 PGA的 输入, 再 PGA的输出连接 ADC的输入。 CL低电平 AMPL开启, 内部的左 声道不走音频信号, 由控制软件产生出交流时钟信号, 此信号经由 Left Ch DAC到达 VSIGL点,再经由 AMPL到达 HPLOUT点再经由 CL到达 HPL点。 CR低电平 AMPR开启, 内部的右声道不走音频信号, 由控制软件模块 13产 生出交流时钟信号,此信号经由 Right Ch DAC到达 VSIGR点,再经由 AMPR 到达 HPROUT点再经由 CR到达 HPR点。在此需说明的是, 当时钟信号频率 为 0时, 即时钟信号为一直流高电平, 此时设置将对应的隔直电容 CR短路, ACDC CONV模块只需把直流电压转换为直流电压输出。耳麦接口 11端配置 如下: 第二控制信号 CTRL— L及第一控制信号 CTRL— R为低电平, 那么相应 的, 第四控制信号 CTRL— LB为高电平, 第二控制信号 CTRL— RB为高电平, 第五控制信号 CTRL— LB&CTRL— R为低电平, ACDC CONV的负端输入规定 有效, ACDC CONV的正端输入规定 ACDC CONV不响应,即对 ACDC CONV 来说从外部连接到正端的线与内部电路是断开的, 同理, CLK GEN的正端输 入规定有效, 负端输入不响应, 因此, 等效的电路如图 4所示。 图 4是耳机 口独立单端输入 HPR 产生电源 VDDL 及独立单端输入 HPL 产生时钟 CLKBUF、 CLKHS的等效电路。 (注, HPR与 HPL在此可以互换, 图 4是两 种实现中的一种)独立供电及产生时钟的好处是可以得到更高质量的时钟及 电源。 FIG. 4 is an independent single-ended input power supply and a single-ended input clock generation circuit of FIG. The audio codec/baseband processor 12-end configuration is the same as the circuit configuration corresponding to FIG. 3, and the configuration of the headset interface 11 end is the same as that of FIG. 3, except that the ACDC CONV of the double-ended input in FIG. 3 is changed to ACDC CONV with single-ended input, although there are two wires connected to the ACDC CONV, only one of them works, and the CLK GEN of the double-ended input in Figure 3 is changed to the CLK GEN of the single-ended input. Specifically, instead of using one earphone cable to generate power independently, the other earphone cable independently generates a clock. The audio codec/baseband processor 12-side configuration is as follows: CB low level, AMPB open, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1, The audio electrical signal from the microphone is passed to the input of the PGA, and the output of the PGA is connected to the input of the ADC. The CL low level AMPL is turned on, the internal left channel does not take the audio signal, and the control software generates an AC clock signal, which reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via the AMPL and then reaches the HPL point via the CL. The CR low level AMPR is turned on, the internal right channel does not take the audio signal, and the control software module 13 generates an AC clock signal, which reaches the VSIGR point via the Right Ch DAC, reaches the HPROUT point via the AMPR, and reaches the HPR point via the CR. . It should be noted that when the clock signal frequency is 0, that is, the clock signal is a high-current current level, at this time, the corresponding DC blocking capacitor CR is short-circuited, and the ACDC CONV module only needs to convert the DC voltage into a DC voltage output. . The 11-end configuration of the headset interface is as follows: The second control signal CTRL_L and the first control signal CTRL-R are low level, then correspondingly, the fourth control signal CTRL_LB is high level, and the second control signal CTRL_RB High level, the fifth control signal CTRL-LB&CTRL-R is low level, the negative input of ACDC CONV is specified to be valid, and the positive input of ACDC CONV specifies that ACDC CONV does not respond, that is, external connection to ACDC CONV The positive terminal is disconnected from the internal circuit. Similarly, the positive input of CLK GEN is valid and the negative input is not responding. Therefore, the equivalent circuit is shown in Figure 4. Figure 4 is the headset The port independent single-ended input HPR generates the power supply VDDL and the independent single-ended input HPL generates the equivalent circuit of the clocks CLKBUF, CLKHS. (Note, HPR and HPL are interchangeable here, Figure 4 is one of two implementations.) The benefit of independent power and clock generation is the higher quality of the clock and power supply.
图 5是图 1通过配置而成的单端产生电源及时钟电路, 同时还保留单声 道耳机功能。 音频编解码器 /基带处理器 12端配置如下: CB低电平, AMPB 开启 , MICBIAS端口有麦克风的偏置电压, MICBIAS连接 RB给 MIC点提 供偏置, 而同时 MIC点经由 C1到达 AIN, 把从麦克风来的音频电信号传入 到 PGA的输入, 再 PGA的输出连接 ADC的输入, CL 氐电平 AMPL开启, 内部的左声道不走音频信号, 由控制软件模块 13产生出交流时钟信号, 此信 号经由 Left Ch DAC到达 VSIGL点, 再经由 AMPL到达 HPLOUT点再经由 CL到达 HPL点。 CR低电平 AMPR开启, 内部的右声道依旧走音频信号, 此 信号经由 Right Ch DAC到达 VSIGR点,再经由 AMPR到达 HPROUT点再经 由 CR到达 HPR点 (此处左右声道是可以互换的, 为了便于说明, 选取了一 种可能的方式)。 耳麦接口电路 11端配置如下: 第二控制信号 CTRL— L为低 电平,第一控制信号 CTRL— R为高电平,那么相应的,第四控制信号 CTRL— LB 为高电平, 第三控制信号 CTRL— RB 为低电平, 第五控制信号 CTRL— LB&CTRL— R为高电平, 因此, 等效的电路如图 5所示。 图 5是耳机 口单独方式产生电源 VDDL及时钟 CLKBUF、 CLKHS的等效电路, 同时保 留单声道耳机功能。  Figure 5 is a single-ended power supply and clock circuit configured in Figure 1, while retaining the monophonic headphone function. The audio codec/baseband processor 12-side configuration is as follows: CB low level, AMPB open, MICBIAS port has microphone bias voltage, MICBIAS connection RB provides bias to MIC point, while MIC point reaches AIN via C1, The audio signal from the microphone is input to the input of the PGA, and the output of the PGA is connected to the input of the ADC, the CL 氐 level AMPL is turned on, the internal left channel does not take the audio signal, and the control software module 13 generates an AC clock signal. This signal reaches the VSIGL point via the Left Ch DAC, then reaches the HPLOUT point via AMPL and then reaches the HPL point via CL. CR low level AMPR is turned on, the internal right channel still goes the audio signal, this signal reaches the VSIGR point via the Right Ch DAC, then reaches the HPROUT point via AMPR and then reaches the HPR point via CR (the left and right channels are interchangeable here) , for the sake of explanation, a possible way is chosen). The terminal end of the headset interface circuit 11 is configured as follows: The second control signal CTRL_L is low level, and the first control signal CTRL_R is high level, then correspondingly, the fourth control signal CTRL_LB is high level, third The control signal CTRL-RB is low, and the fifth control signal CTRL-LB&CTRL-R is high. Therefore, the equivalent circuit is shown in FIG. Figure 5 shows the equivalent circuit for generating the power supply VDDL and the clocks CLKBUF and CLKHS in a separate manner, while preserving the mono headphone function.
在此, 需说明的是, 图 3、 图 4及图 5对应的功能电路都可以配置成利用 VDDL, CLKBUF、 CLKHS的外部设备与主机之间的总线通信。 具体来说, 通过控制软件模块 13把音频编解码器 /基带处理器 12的 GPIO口配置成符合 规定总线要求的数据口, 同时通过控制软件模块 13 把 HPLOUT 和 (或) HPROUT配置成规定总线要求的时钟和(或)分频时钟, 这样就具备了总线 通信的物理基础, 有同步时钟, 有电源, 有输入输出的双向数据线。 可以配 置成与 I2C兼容的总线, 也可以配置成与两线总线兼容的总线, 还可以配置 成其他一些总线。 Here, it should be noted that the functional circuits corresponding to FIG. 3, FIG. 4 and FIG. 5 can be configured to utilize the bus communication between the external devices of VDDL, CLKBUF, and CLKHS and the host. Specifically, the GPIO port of the audio codec/baseband processor 12 is configured by the control software module 13 to conform to the data port of the specified bus requirement, and the HPLOUT and/or HPROUT are configured to the specified bus requirements by the control software module 13. Clock and/or divided clock, so that the bus is available The physical basis of communication, there are synchronous clocks, power supplies, and bidirectional data lines with input and output. It can be configured as an I2C-compatible bus, as well as a bus compatible with a two-wire bus, or as a bus.
综上所述, 本发明一种耳麦电路通过在耳麦接口电路中增加电压转换模 块、 时钟整形及产生电路以及功能切换模块, 利用五个控制信号控制功能切 换模块的七个开关的状态同时利用控制软件模块控制音频编解码器 /基带处理 器内的工作状态, 使得本发明可以在传统耳麦及耳麦接口的基础上, 不改动 任何音频编解码器 /基带处理器等硬件,仅改变控制软件, 通过耳麦接口电路、 外接电路来抽取电能及时钟, 可以给大量的外设提供电源及时钟, 扩展了耳 麦的功能。  In summary, the headset circuit of the present invention increases the voltage conversion module, the clock shaping and generating circuit, and the function switching module in the headset interface circuit, and controls the state of the seven switches of the function switching module by using five control signals while using the control. The software module controls the working state in the audio codec/baseband processor, so that the invention can be based on the traditional headset and headset interface, without changing any hardware such as an audio codec/baseband processor, only changing the control software, The headset interface circuit and the external circuit extract power and clock, which can supply power and clock to a large number of peripherals, and expand the function of the headset.
上述实施例仅例示性说明本发明的原理及其功效, 而非用于限制本发明。 任何本领域技术人员均可在不违背本发明的精神及范畴下, 对上述实施例进 行修饰与改变。 因此, 本发明的权利保护范围, 应如权利要求书所列。  The above-described embodiments are merely illustrative of the principles of the invention and its advantages, and are not intended to limit the invention. Modifications and variations of the above-described embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the claims.

Claims

权利要求 Rights request
1、 一种耳麦电路, 包括耳麦接口电路、 音频编解码器 /基带处理器以及 控制软件模块, 其特征在于, 该耳麦接口电路至少包括: A headset circuit, comprising a headset interface circuit, an audio codec/baseband processor, and a control software module, wherein the headset interface circuit comprises at least:
电压转换模块, 连接于一功能切换模块, 以在该功能切换模块控制下将 该控制软件模块产生并经该音频编解码器 /基带处理器处理的时钟信号转换为 一直流电压输出, 其中, 当该时钟信号频率为零时, 该时钟信号为一直流高 电平;  The voltage conversion module is connected to a function switching module, and the clock signal generated by the control software module and processed by the audio codec/baseband processor is converted into a DC voltage output under the control of the function switching module, wherein When the clock signal frequency is zero, the clock signal is a high level;
时钟整形及产生电路, 连接于该功能切换模块, 以在该功能切换模块控 制下对该控制软件模块产生并经该音频编解码器 /基带处理器处理的时钟信号 进行处理, 产生新的时钟信号输出; 以及  a clock shaping and generating circuit is connected to the function switching module to process a clock signal generated by the control software module and processed by the audio codec/baseband processor under the control of the function switching module to generate a new clock signal Output;
功能切换模块, 与外接的耳机及麦克风连接, 并通过一耳麦插头模块与 音频编解码器 /基带处理器连接, 用于实现状态切换,  The function switching module is connected to the external earphone and the microphone, and is connected to the audio codec/baseband processor through a headset plug module for realizing state switching.
其中, 该耳麦电路通过该功能切换模块的状态切换并同时利用该控制软 件控制该控制音频编解码器 /基带处理器的工作状态, 实现不同功能之间的切 换。  The headset circuit controls the state of the control audio codec/baseband processor by using the function switching of the function switching module, and simultaneously controls switching between different functions.
2、 如权利要求 1 所述的耳麦电路, 其特征在于: 该耳麦电路实现传统 耳麦功能、 耳机口双端方式产生电源及时钟的功能、 耳机口独立单端输入产 生电源及独立单端输入产生时钟的功能及耳机口单独方式产生电源及时钟同 时保留单声道耳机功能之间的切换。  2. The headset circuit according to claim 1, wherein: the headset circuit implements a traditional headset function, a dual-end mode of the headphone port generates a power source and a clock function, and the headphone port independently generates a single-ended input to generate power and an independent single-ended input. The function of the clock and the separate way of the headphone port generate power and clock while maintaining the switching between the mono headphone functions.
3、 如权利要求 2所述的耳麦电路, 其特征在于: 该电压转换模块为交 流到直流的电压转换模块。  3. The headset circuit of claim 2, wherein: the voltage conversion module is a voltage conversion module that is AC-DC.
4、 如权利要求 2所述的耳麦电路, 其特征在于: 该功能切换模块通过 多个控制开关的通断来实现状态切换。 4. The headset circuit according to claim 2, wherein: the function switching module implements state switching by switching on and off of the plurality of control switches.
5、 如权利要求 4所述的耳麦电路, 其特征在于: 该功能切换模块包含 由第一至第五控制信号控制的第一控制开关、 第二控制开关、 第三控制开关、 第四控制开关、 第五控制开关、 第六控制开关及第七控制开关, 该第一控制 开关设置于该耳麦插头模块与右声道耳机之间, 该第二控制开关设置于该耳 麦插头模块与左声道耳机之间, 该第五控制开关一端连接于左声道耳机, 另 一端连接于该第一控制开关与该耳麦插头模块相连的一端, 该第三控制开关 一端连接于该第一控制开关与该耳麦插头模块相连的一端, 另一端连接于该 电压转换模块及该时钟整形及产生电路, 并通过该第六控制开关接地, 该第 四控制开关一端连接于该第二控制开关与该耳麦插头模块相连的一端, 另一 端连接于该电压转换模块及该时钟整形及产生电路, 并通过该第七控制开关 接地。 5. The headset circuit according to claim 4, wherein: the function switching module includes a first control switch, a second control switch, a third control switch, and a fourth control switch controlled by the first to fifth control signals. a fifth control switch, a sixth control switch, and a seventh control switch, the first control switch is disposed between the headset plug module and the right channel earphone, and the second control switch is disposed on the headset plug module and the left channel Between the earphones, the fifth control switch is connected to the left channel earphone at one end, and the other end is connected to one end of the first control switch connected to the headset plug module, and the third control switch is connected at one end to the first control switch and the One end of the headset plug module is connected, the other end is connected to the voltage conversion module and the clock shaping and generating circuit, and is grounded through the sixth control switch, and the fourth control switch is connected at one end to the second control switch and the headset plug module a connected end, the other end being connected to the voltage conversion module and the clock shaping and generating circuit, and passing the seventh Switch system ground.
6、 如权利要求 5 所述的耳麦电路, 其特征在于: 第一控制信号控制该 第一控制开关及该第六控制开关, 该第二控制信号用于控制第二控制开关及 该第七控制开关, 该第三控制信号控制控制该第三控制开关, 该第四控制信 号控制该第四控制开关, 该第五控制信号控制该第五控制开关。  6. The headset circuit of claim 5, wherein: the first control signal controls the first control switch and the sixth control switch, the second control signal is used to control the second control switch and the seventh control a switch, the third control signal controls the third control switch, the fourth control signal controls the fourth control switch, and the fifth control signal controls the fifth control switch.
7、 如权利要求 6所述的耳麦电路, 其特征在于: 该第一控制信号与该 第三控制信号之间、 该第二控制信号与该第四控制信号之间为取反关系, 该 第五控制信号为该第四控制信号与第一控制信号相与而成。  The headset circuit according to claim 6, wherein: the first control signal and the third control signal are in an inverse relationship between the second control signal and the fourth control signal, The five control signals are formed by the fourth control signal and the first control signal.
8、 如权利要求 7 所述的耳麦电路, 其特征在于: 该耳麦电路通过该控 制软件模块控制该第二控制信号为高电平、 该第一控制信号为高电平、 该第 四控制信号为低电平、 该第三控制信号为低电平及该第五控制信号为低电平 实现传统耳麦功能的切换。  8. The headset circuit according to claim 7, wherein: the headset circuit controls the second control signal to be a high level, the first control signal is a high level, and the fourth control signal is controlled by the control software module. The low level, the third control signal is low level, and the fifth control signal is low level to realize switching of the traditional headset function.
9、 如权利要求 7 所述的耳麦电路, 其特征在于: 该耳麦电路通过该控 制软件模块控制该第二控制信号为低电平、 该第一控制信号为低电平、 该第 四控制信号为高电平、 该第三控制信号为高电平及该第五控制信号为低电平 实现耳机口双端方式产生电源及时钟功能的切换。 The headset circuit according to claim 7, wherein: the headset circuit controls the second control signal to be a low level by the control software module, the first control signal is a low level, the first The four control signals are at a high level, the third control signal is at a high level, and the fifth control signal is at a low level, so that the headphone port double-end mode generates power and clock function switching.
10、 如权利要求 7所述的耳麦电路, 其特征在于: 该耳麦电路通过该控 制软件模块控制该第二控制信号为低电平、 该第一控制信号为低电平、 该第 四控制信号为高电平、 该第二控制信号为高电平、 该第五控制信号为低电平, 并通过规定该电压转换模块的负端输入有效、 正端输入规定不响应及规定该 时钟整形及产生电路的正端输入有效、 负端输入不响应实现耳机口独立单端 输入产生电源及独立单端输入产生时钟功能的切换。 The headset circuit according to claim 7, wherein: the headset circuit controls the second control signal to be a low level, the first control signal is a low level, and the fourth control signal is controlled by the control software module Is high level, the second control signal is high level, the fifth control signal is low level, and the negative input input of the voltage conversion module is specified to be valid, the positive input input is not responding, and the clock shaping is specified and The positive input of the generating circuit is valid, and the negative input does not respond to realize the switching of the clock function by the independent single-ended input of the headphone port and the independent single-ended input.
11、 如权利要求 7所述的耳麦电路, 其特征在于: 该耳麦电路通过该控 制软件模块控制该第二控制信号为低电平、 第一控制信号为高电平、 该第四 控制信号为高电平、 该第三控制信号为低电平、 该第五控制信号为高电平实 现耳机口单独方式产生电源及时钟同时保留单声道耳机功能的切换。  The headset circuit according to claim 7, wherein: the headset circuit controls the second control signal to be low level, the first control signal is high level, and the fourth control signal is The high level, the third control signal is a low level, and the fifth control signal is a high level, so that the headphone port generates a power source and a clock separately while maintaining the switching of the mono headphone function.
12、 如权利要求 1所述的耳麦电路, 其特征在于: 该时钟整形及产生电 路对输入的时钟信号进行处理, 输出对输入时钟信号整形的新的时钟信号及 对输入时钟信号倍频的新的时钟信号。 12. The headset circuit of claim 1 wherein: the clock shaping and generating circuit processes the input clock signal, outputs a new clock signal shaped for the input clock signal, and a new multiplier for the input clock signal Clock signal.
13、 如权利要求 1 所述的耳麦电路, 其特征在于: 该耳麦电路可配置成 使用该直流电压及新的时钟信号的外部设备与主机之间的总线通信, 该耳麦 电路通过该控制软件模块把该音频编解码器 /基带处理器的通用基本输入输出 接口配置成符合规定总线要求的数据口, 同时通过该控制软件模块把左声道 功率放大器和(或)右声道功率放大器的输出配置成规定总线要求的时钟和 13. The headset circuit of claim 1 wherein: the headset circuit is configurable to communicate with a bus between an external device using the DC voltage and a new clock signal, the headset circuit passing the control software module Configuring the general basic input/output interface of the audio codec/baseband processor to a data port conforming to a specified bus requirement, and configuring the output of the left channel power amplifier and/or the right channel power amplifier through the control software module a clock that specifies the bus requirements and
(或)分频时钟。 (or) divided clock.
PCT/CN2012/084362 2011-11-11 2012-11-09 Headset circuit WO2013067958A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110357600.XA CN102395084B (en) 2011-11-11 2011-11-11 Headset circuit
CN201110357600.X 2011-11-11

Publications (1)

Publication Number Publication Date
WO2013067958A1 true WO2013067958A1 (en) 2013-05-16

Family

ID=45862280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084362 WO2013067958A1 (en) 2011-11-11 2012-11-09 Headset circuit

Country Status (2)

Country Link
CN (1) CN102395084B (en)
WO (1) WO2013067958A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698590A (en) * 2020-07-22 2020-09-22 安徽信息工程学院 Intelligence earphone of running based on wireless charging

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395084B (en) * 2011-11-11 2014-05-14 杭州硅星科技有限公司 Headset circuit
CN102427569A (en) * 2011-12-20 2012-04-25 杭州硅星科技有限公司 Headset interface and GPIO (General Purpose Input/Output) interface multiplex circuit structure
CN102983756A (en) * 2012-11-28 2013-03-20 孙本彤 Intelligent external device power supply method and intelligent external device power supply device
CN105282639B (en) * 2014-07-04 2019-07-23 杭州硅星科技有限公司 Earphone microphone interface control system and earphone microphone interface control method
CN105554606B (en) * 2015-12-15 2019-03-12 广州三星通信技术研究有限公司 Digital earphone and electronic equipment
CN106101903B (en) * 2016-08-09 2022-07-01 杭州纳雄科技有限公司 Digital headset, headset system and control method thereof
CN113035215B (en) * 2021-02-02 2022-12-13 昆山海菲曼科技集团有限公司 Audio signal processing chip and earphone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2759090Y (en) * 2004-12-07 2006-02-15 联想(北京)有限公司 Loudspeaker box device
CN101894562A (en) * 2010-07-02 2010-11-24 中兴通讯股份有限公司 Method and terminal for reducing influence of environment noise on video
CN102088285A (en) * 2009-12-04 2011-06-08 Nxp股份有限公司 Clock signal generator
CN102395084A (en) * 2011-11-11 2012-03-28 杭州硅星科技有限公司 Headset circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0999721A3 (en) * 1998-11-07 2003-05-21 Samsung Electronics Co., Ltd. Device for controlling connection of built-in type ear-microphone for portable radio terminal
CN201188444Y (en) * 2008-04-24 2009-01-28 中兴通讯股份有限公司 Data line capable of implementing electrification and earphone function
CN201359725Y (en) * 2009-01-21 2009-12-09 青岛海信移动通信技术股份有限公司 USB interface circuit and portable hand-held device provided with the circuit
TWI405990B (en) * 2009-10-21 2013-08-21 Htc Corp Electronic device and method thereof for identifying electronic accessory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2759090Y (en) * 2004-12-07 2006-02-15 联想(北京)有限公司 Loudspeaker box device
CN102088285A (en) * 2009-12-04 2011-06-08 Nxp股份有限公司 Clock signal generator
CN101894562A (en) * 2010-07-02 2010-11-24 中兴通讯股份有限公司 Method and terminal for reducing influence of environment noise on video
CN102395084A (en) * 2011-11-11 2012-03-28 杭州硅星科技有限公司 Headset circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698590A (en) * 2020-07-22 2020-09-22 安徽信息工程学院 Intelligence earphone of running based on wireless charging

Also Published As

Publication number Publication date
CN102395084B (en) 2014-05-14
CN102395084A (en) 2012-03-28

Similar Documents

Publication Publication Date Title
WO2013067958A1 (en) Headset circuit
WO2018032799A1 (en) Noise-cancelling operation control method for headphone and audio processor in terminal device
WO2015165345A1 (en) Transmission method, mobile terminal, multi-channel earphone, and audio playing system
WO2016007375A1 (en) Wireless in-ear headphones
JP3213242U (en) Composite earphone
CN105208495A (en) Stereo headphone
WO2018076628A1 (en) Usb interface circuit, terminal, headset circuit and headset, and storage medium
WO2012068814A1 (en) Audio processing method and dual-mode digital mobile communication terminal
CN106658328B (en) A kind of earphone test circuit
WO2014176723A1 (en) Headset capable of converting sound channels
CN203574831U (en) In-ear earphone
CN201491240U (en) Loud speaking device
CN104105020A (en) Bluetooth earphones, charging method and charging system
WO2017181386A1 (en) Mobile terminal-based hearing aid device
WO2018058997A1 (en) Networked speakers and system thereof
CN204068875U (en) based on the multi-channel digital audio amplifier of FPGA
CN109151641B (en) Contact type expansion earphone
CN208971749U (en) A kind of head-type charging equipment and wear-type wireless headphone system
WO2017147975A1 (en) Earphone adapter and earphone
CN201114769Y (en) Sound box with playing and power amplification effect
CN204425567U (en) A kind of wireless sound box
CN211406260U (en) Loudspeaker device
CN203399273U (en) Portable playing device with negative oxygen ion generator
CN207530255U (en) Multi-functional crossover sub
CN104661149B (en) Signal processing circuit and related signal processing method applied to ear microphone group

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: 12847207

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12847207

Country of ref document: EP

Kind code of ref document: A1