WO2019114297A1 - Bias voltage output circuit and driving circuit - Google Patents

Bias voltage output circuit and driving circuit Download PDF

Info

Publication number
WO2019114297A1
WO2019114297A1 PCT/CN2018/099433 CN2018099433W WO2019114297A1 WO 2019114297 A1 WO2019114297 A1 WO 2019114297A1 CN 2018099433 W CN2018099433 W CN 2018099433W WO 2019114297 A1 WO2019114297 A1 WO 2019114297A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
output
bias voltage
voltage
driving
Prior art date
Application number
PCT/CN2018/099433
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
Priority claimed from CN201810111857.9A external-priority patent/CN109922394B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019114297A1 publication Critical patent/WO2019114297A1/en

Links

Images

Classifications

    • 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

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a bias voltage output circuit and a driving circuit.
  • Terminal devices are showing more and more functions in the process of rapid development.
  • the use of terminal devices to play audio files or video files has become a part of everyday life. For example, a user can play an audio file and listen by inserting a headset into the headset socket of the terminal device.
  • the MICBIAS chip for powering the earphone is most susceptible to the above problems, thus solving the blasting sound, ESD and EOS of the MICBIAS chip during the plugging and unplugging process of the earphone.
  • the problem is to solve the above problems of the terminal device.
  • FIG. 1 is a solution for eliminating popping sound in the prior art.
  • the voltage on the filter capacitor C1 of the MICBIAS chip is quickly discharged through the switch S2 in FIG. 1, and the earphone is divided by the switch S1, so that the earphone can be recognized by the human ear.
  • the sound should be kept to a minimum.
  • the switch S1 directly contacts the headphone interface, the ESD can be directly applied to the switch S1 through the MICP, which in turn causes ESD and EOS problems of the MICBIAS chip.
  • Embodiments of the present application provide a method for simultaneously solving popping sound, ESD, and EOS problems.
  • a bias voltage output circuit of an audio playback device includes a bias voltage output module, a logic control module, a filter capacitor, and a bleeder module.
  • a bias voltage output module the first end of the bias voltage output module is connected to the first output end of the logic control module, and the second end is connected to an interface of the external audio output device of the audio playback device, Under the action of the logic control module, an output bias voltage is used to drive an external audio output device connected to the interface;
  • the filter capacitor is connected to the bias voltage output module for filtering the offset
  • the voltage output module generates noise during the output of the bias voltage, and stores the power during the output of the bias voltage output module;
  • the first end of the bleeder module is connected to the filter capacitor, The second end is connected to the second output end of the logic control module, and is configured to discharge the power stored by the filter capacitor under the action of the logic control module;
  • the logic control module is configured to determine the access of the external audio output device When the interface is connected, the bias voltage output
  • the control bias voltage output module stops outputting the bias voltage, so that the external audio output device is disconnected from the power source.
  • the bleeder and discharge module is controlled to discharge the power stored in the filter capacitor, so that the blasting sound does not appear in the external audio output device, thereby solving the problem of blasting sound.
  • the logic control module is respectively connected to the bias voltage output module and the bleeder and discharge module, and the problem of the blasting sound can be solved by controlling the states of the bias voltage output module and the bleeder and discharge module respectively, thereby no longer As in the prior art, for example, the solution described in FIG.
  • the venting and discharging module is not directly connected to the interface of the external audio output device, so that the static electricity or the external voltage can be prevented from being directly discharged by the MICP, and the external audio output device can be solved in the prior art.
  • MICP causes ESD and EOS problems with the bias voltage output circuit, ie, both POP, ESD, and EOS issues are addressed.
  • the bias voltage output module includes a voltage generating module, an error amplifying module, a first driving module, and an output voltage sampling and feedback module, and an output end of the voltage generating module and the first of the error amplifying module
  • the input terminal is connected, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module, the output end of the error amplifying module is connected to the input end of the first driving module, and the error amplifying module is used to
  • the reference voltage is subjected to a voltage stabilization process to obtain and output the bias voltage to the first driving module, and an output end of the first driving module is connected to the external audio output device, and the external audio output is driven by the bias voltage
  • the input end of the output voltage sampling and feedback module is connected to the output end of the first driving module, and the output end is connected to the second input end of the error amplifying module, and the output voltage sampling and feedback module is used for the offset
  • the voltage is sampled, and the sampling result is fed back to the
  • the bias voltage output module is realized by a simple structure such as a voltage generating module, an error amplifying module, a first driving module, and an output voltage sampling and feedback module, and the implementation manner is simple.
  • the bias voltage output module includes a voltage generating module, an error amplifying module, a class AB level shifting control module, a second driving module, and an output voltage sampling and feedback module, and an output terminal of the voltage generating module Connected to the first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module, the output end of the error amplifying module and the class AB level conversion control module
  • the input terminal is connected, and the error amplifying module is configured to perform voltage stabilization processing on the reference voltage, and obtain and output an adjusted voltage to the class AB level conversion control module, and the output end of the class AB level conversion control module and the first
  • the input end of the two driving module is connected to convert the adjusted voltage into the bias voltage, and output the bias voltage to the driving module, where the noise of the bias voltage is less than the noise of the adjusted voltage
  • the output end of the second driving module is connected to the external audio output device for driving the external audio output device through the class
  • the noise of the class AB control signal is small and the distortion rate is low
  • the class AB level conversion control module is added in the bias voltage output module, and the voltage is generated by the class AB level conversion control module.
  • the reference voltage generated by the module is converted into a class AB level signal, which can reduce the noise of the bias voltage output circuit and make the bias voltage outputted by the bias voltage output circuit more stable.
  • the bias voltage output circuit further includes a first filter resistor coupled to the second driving module for filtering out time division multiplexed TDD noise generated in the bias voltage output circuit.
  • the TDD noise in the bias voltage output circuit can be further reduced by adding a filter resistor to the bias voltage output circuit.
  • the bias voltage output module comprises a voltage generating module, an error amplifying module, a bidirectional switch, a third driving module, a class AB level conversion control module, a fourth driving module, and an output voltage sampling and feedback module.
  • the output end of the voltage generating module is connected to the first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module, the output end of the error amplifying module
  • the input end of the bidirectional switch is connected, the first output end of the bidirectional switch is connected to the third driving module, and the second output end of the bidirectional switch is connected to the class AB level conversion control module, and the bidirectional switch and the bidirectional switch
  • the error amplifying module is configured to perform voltage stabilization processing on the reference voltage, obtain and output the bias voltage to the third driving module, where the bidirectional switch and the bidirectional switch When the second output forms a second path, the error amplifying module is configured to perform
  • the bias voltage output module can output the bias voltage in any of two ways, and add a bidirectional switch in the bias voltage output module, so that any one of them can be selected according to actual use requirements.
  • One way to achieve the bias voltage output is to increase the flexibility of the bias voltage output module.
  • the bias voltage output circuit further includes a second filter resistor coupled to the fourth driving module for filtering out time division multiplexed TDD noise generated in the bias voltage output circuit.
  • the TDD noise in the bias voltage output circuit can be further reduced by adding a filter resistor to the bias voltage output circuit.
  • the bias voltage output module further includes an electrostatic discharge/over-electric stress protection module coupled to the input of the output voltage sampling and feedback module for presence in the bias voltage output circuit In the case of excessive electrical stress or static electricity, the voltage across at least one of the plurality of modules included in the bias voltage output module is reduced, and the at least one module does not include the electrostatic discharge/over-electric stress protection module.
  • the electrostatic discharge/over-electric stress protection module can ensure that the voltage across the bias voltage output module is within a safe value, thereby effectively protecting Each module in the bias voltage output module is protected from transient high voltage surges.
  • the bleeder module is an N-type metal-oxide-semiconductor transistor or a unidirectional switch.
  • the second drive module is a P-type metal-oxide-semiconductor transistor or an N-type metal-oxide-semiconductor transistor.
  • the bleeder and discharge module and the second drive module can be realized by simple components, and the implementation is simple.
  • a driving circuit for an audio output device comprising a processing module, a crosstalk canceling module, a digital to analog conversion module, and a driving module.
  • the output end of the processing module is connected to the input end of the crosstalk cancellation module, and is configured to generate and output an audio signal to the crosstalk cancellation module, where the audio signal includes a left channel signal and a right channel signal, the crosstalk cancellation module, the output end and the
  • the input end of the digital-to-analog conversion module is connected to cancel the crosstalk between the left channel signal and the right channel signal, and output the left-channel signal after the crosstalk cancellation and the right-path signal after the crosstalk is eliminated to the digital-to-analog conversion module;
  • the digital-to-analog conversion module is connected to the input end of the driving module, and is configured to perform digital-to-analog conversion processing on the left-channel signal after eliminating crosstalk, obtain and output a left-channel analog audio signal to the driving module, and The right channel signal after crosstalk cancellation is
  • a crosstalk cancellation module is added to the path, and the left channel signal and the right channel signal are correlated by the crosstalk cancellation module.
  • the crosstalk between the left and right signals finally outputted by the external audio output device is reduced, and the left and right crosstalk performance of the output signal of the external audio output device in the prior art can be improved.
  • the crosstalk cancellation module includes a first enhancement device, a first delay device, a first computing device, a second enhancement device, a second delay device, and a second computing device.
  • the first reinforcing device is configured to filter out a first portion of the left channel signal of the left channel signal that is outside the preset frequency band, and according to a preset amplification factor, the second portion of the left channel signal that is located on the preset frequency band is left
  • the road signal is amplified to obtain a first left channel signal
  • the first delay device is configured to acquire a left channel signal within a preset number of sampling periods before the current sampling period
  • the first computing device is configured to use the left channel signal
  • the second partial left signal and the left signal in the preset number of sampling periods before the current sampling period are subjected to a first operation to obtain the processed left signal;
  • the second boosting device is used for filtering a first portion of the right channel signal outside the preset frequency band of the right channel signal, and amplifying the second portion of the right
  • the crosstalk between the left channel signal and the right channel signal can be reduced by filtering, sampling, and processing the left channel signal and the right channel signal, respectively, and the implementation manner is simple.
  • the driving circuit further includes an impedance detecting module, an input end of the impedance detecting module is connected to an output end of the driving module, and an output end is connected to the processing module, and the impedance detecting module is configured to detect the external connection
  • the impedance of the audio output device is output to the processing module; the processing module is further configured to adjust the voltage of the audio signal according to the impedance.
  • the impedance of the external audio output device is detected by the impedance detecting module, and then the impedance value is output to the processing module, so that the processing module can output an audio signal whose voltage value matches the external audio output device, and increase the driving circuit. Flexibility.
  • the driving circuit further includes a correction module, the input end of the correction module is connected to the output end of the driving device, and the output end is connected to the crosstalk canceling module, and the correcting module is configured to detect the left side analog Stereo separation between the audio signal and the right analog audio signal, and outputting the stereo separation to the crosstalk cancellation module;
  • the crosstalk cancellation module is further configured to adjust the first enhancement device or the first according to the stereo separation degree The value of the preset amplification factor in the second enhancement device, and/or the preset number of values in the first delay device or the second delay device.
  • the stereo separation degree between the output left analog audio signal and the right analog audio signal is detected in real time by the correction module, so that the crosstalk cancellation module can adjust the internal processing according to the detected stereo separation degree.
  • Parameters for example, when the stereo separation degree is small, increasing the amplification system in the enhancement device, reducing the sampling period of the delay device, etc., the drive circuit can be adapted to different audio playback devices, and the application range of the drive circuit can be improved. .
  • FIG. 2 is a schematic diagram of a bias voltage output circuit according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a first implementation manner of a bias voltage output module 301 according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a second implementation manner of the bias voltage output module 301 according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a class AB amplifier according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a third implementation manner of the bias voltage output module 301 according to an embodiment of the present application.
  • FIG. 7A is a schematic diagram of a first implementation manner of a bidirectional switch 703 according to an embodiment of the present application.
  • FIG. 7B is a schematic diagram of a second implementation manner of the bidirectional switch 703 according to the embodiment of the present application.
  • FIG. 8A is a schematic diagram of a first connection manner of an electrostatic discharge/over-electric stress protection module 901 according to an embodiment of the present application;
  • FIG. 8B is a schematic diagram of a second connection manner of the electrostatic discharge/over-electric stress protection module 901 in the embodiment of the present application;
  • 8C is a schematic diagram of a third connection manner of the electrostatic discharge/over-electric stress protection module 901 in the embodiment of the present application;
  • FIG. 9 is a schematic structural diagram of an electrostatic discharge/over-electric stress protection module 901 according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a detection module in a logic control module 302 according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a bleeder and discharge module 304 according to an embodiment of the present application.
  • 12A is a schematic diagram of a first connection manner of a filter resistor 305 according to an embodiment of the present application
  • 12B is a schematic diagram of a second connection manner of the filter resistor 305 according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a specific example of a bias voltage output circuit in an embodiment of the present application.
  • 14A is a schematic structural diagram of an earphone adopting the OMTP standard system in the prior art
  • 14B is a schematic structural diagram of an earphone using a CTIA standard system in the prior art
  • 15 is a schematic diagram showing a connection manner of a set of analog switches added between wires connected to a microphone and a headphone in a headphone socket when the earphone adopts the USB Type-C standard system in the prior art;
  • 16 is a schematic diagram of crosstalk of left and right signals of a prior art earphone during transmission
  • FIG. 17 is a schematic structural diagram of a driving circuit of an audio output device according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of an implementation manner of a crosstalk cancellation module 1802 according to an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of an implementation manner of a driving circuit in an embodiment of the present application.
  • 20 is a schematic structural diagram of another implementation manner of a driving circuit in an embodiment of the present application.
  • FIG. 21 is a schematic structural diagram of an implementation manner of the correction module 1806 in the embodiment of the present application.
  • Plosive sound refers to a transient audio signal generated on an external audio playback device when an external audio playback device, such as a headphone or a speaker, is used to play the sound.
  • This plosive sound is mainly caused by a jump in the DC level of the playback device connected to the external audio playback device, and generally exists in the following two application scenarios: the system (or chip) of the playback device is normal (or Abnormal) power-on and power-off process, and the connection (or disconnection) of the playback device to the external audio playback device.
  • the problem of popping sound generated during the connection (or disconnection) between the playback device and the external audio playback device is mainly solved.
  • Electrostatic discharge refers to the damage caused by the instantaneous discharge of the device when it is subjected to static electricity generated by itself or other external devices.
  • Static electricity is an objective natural phenomenon, such as contact, friction, and electrical induction.
  • the body's own actions or contact, separation and friction with other objects can generate thousands or even tens of thousands of volts of static electricity.
  • the general chip's ESD protection standard is only two thousand volts, so the static electricity generated by the human body often causes electrons. Electrical products are unstable or even damaged.
  • EOS Error electrical stress: When the voltage or current outside the device is too high, exceeding the maximum specification of the voltage or current that the device can withstand, a thermal effect occurs, resulting in weakened or even damaged performance of the device.
  • EOS refers to the damage caused by improper design voltage (flow) or leakage current generated by test machine, production machine, instrument, fixture, etc., to other devices.
  • Time division dual (TDD) noise For the global system for mobile communication (GSM) communication protocol, the terminal equipment RF power amplifier needs to transmit signals every 4.6 milliseconds (that is, 217 Hz). Communicating with the base station, the signal contains 900MHz/1800MHz, or 1900MHz GSM signal and the envelope of the power amplifier. When the receiving signal is not good, the terminal device will increase the transmitting power, causing interference with the microphone for picking up the sound inside the terminal device, and the earpiece or earphone for playing the sound.
  • GSM global system for mobile communication
  • the terminal equipment RF power amplifier needs to transmit signals every 4.6 milliseconds (that is, 217 Hz). Communicating with the base station, the signal contains 900MHz/1800MHz, or 1900MHz GSM signal and the envelope of the power amplifier. When the receiving signal is not good, the terminal device will increase the transmitting power, causing interference with the microphone for picking up the sound inside the terminal device, and the earpiece or earphone for playing the sound.
  • the result reflected by the interference is: when the terminal device When the caller plays a ring tone, or in an application scenario such as making a voice call or playing a short message tone, the current sound of “ ⁇ ” or “ ⁇ ” will be heard in the microphone or earphone.
  • External audio output device It can be a device such as a headphone, a speaker or a speaker.
  • the earphones may be earphones of the Open Terminal Equipment Platform Organization (OMTP) standard system, or may be the headphones of the American Wireless Communications and Internet Association (CTIA) standard system, or may be headphones adopting the USB Type-C standard system. It can also be other standard headphones in the development of future communication technologies.
  • OMTP Open Terminal Equipment Platform Organization
  • CTIA American Wireless Communications and Internet Association
  • USB Type-C USB Type-C standard system
  • Audio playback device It can be a device that needs to play audio, such as a terminal device, a computer, a hearing aid, or a virtual reality device.
  • the terminal device may be a device including providing voice and/or data connectivity to the user, for example, may include a handheld device having a wireless connection function, or a processing device connected to the wireless modem.
  • the terminal device can communicate with the core network via a radio access network (RAN) to exchange voice and/or data with the RAN.
  • the terminal device may include a user equipment (UE), a wireless terminal device, a mobile terminal device, a mobile phone (or "cellular" phone), a portable, a pocket, a handheld, a computer built-in or a mobile device. , smart wearable devices, etc.
  • PCS personal communication service
  • SIP Session Initiation Protocol
  • Stereo Separation Characterizes the degree of crosstalk between the left and right channels of the audio output device. The greater the crosstalk between the two channels, the smaller the stereo separation.
  • the problem of the popping sound generated during the insertion and removal of the earphone is solved by the switch S1 and the switch S2, but since the switch S1 is directly connected to the earphone interface, when the switch S1 is at In the connection state, and the terminal device generates static electricity due to factors such as friction, induction between electronic devices, or the charger of the terminal device using excessive voltage, the MICBIAS chip forming a loop with the switch S1 may be due to the static electricity or the charger.
  • the discharge causes the ESD or EOS problem.
  • the bias voltage output circuit used in the prior art for providing the bias voltage to the external audio output device cannot simultaneously solve the popping sound, ESD and the external audio output device during the plugging and unplugging process. EOS problem.
  • the embodiment of the present application provides a bias voltage output circuit of an audio playback device for simultaneously solving POP, ESD, and EOS problems.
  • the bias voltage output circuit includes a bias voltage output module 301 , a logic control module 302 , a filter capacitor 303 , and a bleeder module 304 .
  • the bias voltage output module 301 is connected to the earphone interface on the terminal device.
  • the logic control module 302 is connected to the earphone, and the logic control module 302 detects The insertion operation then triggers the bias voltage output module 301 connected to the first output terminal of the logic control module 302 to output a bias voltage.
  • the bias voltage of the earphone outputted by the bias voltage output module 301 is applied.
  • the filter capacitor 303 connected to the bias voltage output module in the bias voltage output circuit is used to filter out the bias voltage output module 301 generated during the output of the bias voltage required by the earphone.
  • the noise is stored in the process of outputting the bias voltage by the bias voltage output module 301; when the user of the terminal device pulls the earphone out of the earphone jack, the earphone is disconnected from the terminal device, and the logic control module 302 detects the The pull-out operation then triggers the bias voltage output module 301 to stop outputting the bias voltage, and at the same time, the logic control module 302 controls the bleeder module 304 connected to the second output terminal to discharge the amount of power stored in the filter capacitor 303 to avoid filtering. The plosive sound caused by the residual voltage in the capacitor 303.
  • the logic control module 302 is respectively connected to the bias voltage output module 301 and the bleeder module 304, and the blowdown can be solved by controlling the states of the bias voltage output module 301 and the bleeder module 304, respectively.
  • the problem is that, unlike the prior art, for example, the solution described in FIG. 1, it is necessary to provide the switch S1 in the circuit, and naturally there is no prior art due to static electricity or an external voltage directly hitting the switch S1 through the MICP.
  • the ECD and EOS problems of the MICBIAS chip, and in the circuit, the bleeder module 304 is not directly connected to the interface of the external audio output device in the audio playback device, thereby avoiding the leakage of static electricity or external voltage directly through the MCP.
  • the discharge module can solve the ESD and EOS problems of the bias voltage output circuit caused by the MCP of the external audio output device in the prior art, that is, solve the POP, ESD and EOS problems at the same time.
  • the bias voltage output module 301 can adopt various implementation manners, for example, including but not limited to the following three types:
  • the bias voltage output module 301 includes a voltage generating module 401, an error amplifying module 402, a first driving module 403, and an output voltage sampling and feedback module 404, wherein:
  • An output end of the voltage generating module 401 is connected to the first input end of the error amplifying module 402.
  • the voltage generating module 401 is configured to generate a reference voltage, where the value of the reference voltage is a value of a bias voltage required by the earphone, and is generated.
  • the reference voltage is input to the error amplifying module 402; the output of the error amplifying module 402 is connected to the input end of the first driving module 403, and the error amplifying module 402 is used for voltage stabilizing the reference voltage, outputting a bias voltage, and
  • the bias voltage is output to the first driving module 403; the output end of the first driving module 403 is connected to the interface of the earphone, and is used to drive the earphone into the working state through the bias voltage when the earphone is connected to the interface;
  • the input end of the sampling and feedback module 404 is connected to the output end of the first driving module 403, and the output end of the output voltage sampling and feedback module 404 is connected to the second input end of the error amplifying module 402 for sampling the bias voltage. And the sampling result is fed back to the error amplification module 402, and the error amplification module 402 adjusts the voltage value of the reference voltage according to the sampling result.
  • the voltage generation module 401 can be a voltage reference source.
  • the voltage reference source can be divided into a bandgap voltage reference source and a Zener voltage reference source.
  • the bandgap voltage reference source structure is a series connection of a forward biased PN junction and a voltage source having a thermoelectric potential (VT), which is compensated by the negative temperature coefficient of the PN junction and the positive temperature coefficient of the VT, thereby outputting a temperature A stable reference voltage.
  • the voltage regulator reference voltage is constructed by connecting a Zener diode with a subsurface breakdown in series with a PN junction, and the temperature is compensated by the positive temperature coefficient of the Zener diode and the negative temperature coefficient of the PN junction, so that the output is stable.
  • the reference voltage Generally speaking, the voltage reference of the Zener voltage reference source is higher, about 7V, and the reference voltage of the bandgap voltage reference source is relatively low. Therefore, in actual use, the bias voltage required by the earphone can be used. Select the appropriate type of voltage reference source. Of course, you can also use the reference voltage chip directly, for example, the MAX6350 chip, the MAX675 chip, etc., and will not be described here.
  • the error amplification module 402 can be an error amplifier (EA).
  • the error amplifier works by comparing the difference between the voltages input at both ends, wherein the voltage input to one input terminal is the reference voltage generated by the voltage generating module 401, and the voltage at the other input terminal is the preset reference voltage, thereby obtaining the The difference signal of the two voltages is output to the gate of the adjustment tube inside the error amplifier, controls the operating state of the adjustment tube, and corrects the pulse duty ratio of the voltage, so that the voltage outputted by the error amplifier remains stable.
  • the error amplifying module 402 may be an error amplifying circuit formed by selecting a corresponding device by the above working principle, or may be an error amplifier chip, such as a TL431 chip, etc., which is not limited herein.
  • the first driving module 403 may be composed of a driver or a power tube such as a Power MOS transistor.
  • the size and power of the driver or the power tube need to be determined according to the requirements of the entire circuit and the magnitude of the bias voltage required by the earphone, and are not limited herein.
  • the output voltage sampling and feedback module 404 can be specifically a sampling circuit.
  • the bias voltage is sampled by the sampling circuit, and the sampling result is fed back to the error amplification module 402.
  • the output voltage sampling and feedback module 404 can directly output the sampling signal of the bias voltage to the error amplifying module 402, so that the error amplifying module 402 determines the control of the output voltage according to the sampling signal, such as increasing the voltage or lowering the voltage;
  • the comparison result of the sampling signal of the bias voltage and a standard voltage may be output to the error amplification module 402.
  • the output is low, if sampling When the difference between the voltage of the signal and the standard voltage exceeds the preset range, the high level is output, and thus the error amplifying module 402 directly controls the output voltage according to the comparison result.
  • other feedback methods may also be used by those skilled in the art, which are not limited herein.
  • the second embodiment of the bias voltage output module 301 is provided in the embodiment of the present application:
  • the bias voltage output module 301 includes a voltage generating module 501, an error amplifying module 502, a class AB level shift control module 503, a second driving module 504, and an output voltage sampling and feedback module 505, wherein:
  • An output end of the voltage generating module 501 is connected to the first input end of the error amplifying module 502, and the voltage generating module 501 is configured to generate a reference voltage, where the value of the reference voltage is a value of a bias voltage required by the earphone, and is generated.
  • the reference voltage is input to the error amplification module 502; the output of the error amplification module 502 is connected to the input of the class AB level conversion control module 503, and the error amplification module 502 is used for voltage regulation of the reference voltage, and the output is adjusted.
  • the output of the class AB level conversion control module 503 is connected to the input end of the second driver module 504 for using the adjusted voltage
  • the conversion is converted to a bias voltage, and the bias voltage is output to the second driving module 504.
  • the type of the bias voltage is a class AB control level signal, and the TDD noise of the class AB control level signal is less than the TDD noise of the adjusted voltage;
  • the output of the second driving module 504 is The earphone is connected to drive the earphone into an operating state by the bias voltage;
  • the input end of the output voltage sampling and feedback module 505 is connected to the output end of the second driving module 504, and the output of the output voltage sampling and feedback module 505 is
  • the second input end of the error amplifying module 502 is connected to sample the class AB control level signal, and feed the sampling result to the error amplifying module 502, and the error amplifying module 502 adjusts the voltage of the reference voltage according to the sampling result. value.
  • the class AB level shift control module 503 can be constructed of a class AB amplifier.
  • the structure of the class AB amplifier is shown in Figure 5, consisting of two transistors Q1 and Q2, and adding two identical V BB voltages between transistor Q1 and transistor Q2.
  • Class AB amplifiers are usually combined with two transistors. The two transistors use a push-pull operation. When a voltage signal is input, one of the two transistors is turned off, and the other transistor is turned on. The two transistors are always turned on. Cut-off and conduction, so that Class AB amplifiers generate less heat and are more efficient.
  • the output of the class AB amplifier can be a differential output, as shown in FIG. 4, and of course, it can also be a single-ended output. In the embodiment of the present application, a differential output of a class AB amplifier is taken as an example.
  • the driving module 504 may be composed of two drivers or two power transistors.
  • the second driving module 504 includes two metal-oxide-semiconductor transistors, one of which is a P-type metal-oxide. - a semiconductor transistor (pmos tube) and the other an N-type metal-oxide-semiconductor transistor (nmos tube).
  • the size and power of the driver or the power tube need to be determined according to the requirements of the entire circuit and the magnitude of the bias voltage required by the earphone, and are not limited herein.
  • the voltage generating module 501, the error amplifying module 502, and the output voltage sampling and feedback module 505 are similar to the voltage generating module 401, the error amplifying module 402, and the output voltage sampling and feedback module 404 in the first implementation manner, respectively. I will not repeat them here.
  • the first implementation is simpler, and the bias voltage outputted by the second implementation is more stable, and for the terminal device, different circuit layouts will be There are different requirements for the bias voltage.
  • the ground planes of the bias voltage output module 301 and the headphone jack may be inconsistent, so that the terminal device is in communication.
  • TDD noise is more likely to occur, and the bias voltage is more stable at this time; and when the position of the voltage output module 301 is placed closer to the position of the earphone socket, a simple bias voltage output circuit can be used at this time.
  • the embodiment of the present application provides a third implementation manner of the bias voltage output module 301:
  • the bias voltage output module 301 includes a voltage generating module 701, an error amplifying module 702, a bidirectional switch 703, a third driving module 704, a class AB level shift control module 705, a fourth driving module 706, and an output voltage sampling. And a feedback module 707, wherein:
  • An output end of the voltage generating module 701 is connected to the first input end of the error amplifying module 702, and the voltage generating module 701 is configured to generate a reference voltage, where the value of the reference voltage is a value of a bias voltage required by the earphone, and is generated.
  • the reference voltage is input to the error amplifying module 702; the output of the error amplifying module 702 is connected to the input end of the bidirectional switch 703, the first output end of the bidirectional switch 703 is connected to the first driving module 704, and the second output end of the bidirectional switch 703 Connected to the class AB level conversion control module 705, when the first path of the bidirectional switch 703 and the first output end of the bidirectional switch 703 is formed, the error amplifying module 702 is configured to perform voltage stabilization processing on the reference voltage, and output a bias voltage.
  • the bias voltage is output to the third driving module 704.
  • the error amplifying module 702 is configured to perform voltage stabilization processing on the reference voltage, and output adjustment. After the voltage, the adjusted voltage is output to the class AB level conversion control module 705; the bidirectional switch 703 is connected to the logic control module 302 for logic control The first module or the second path is formed by the module 302. The output of the third driving module 704 is connected to the earphone for driving the bias voltage when the bidirectional switch 703 forms the first path.
  • the earphone enters an operating state; an output end of the class AB level shift control module 705 is connected to an input end of the fourth driving module 706, and is configured to convert the adjusted voltage into a bias when the second path is formed by the bidirectional switch 703 Setting a voltage, and outputting the bias voltage to the fourth driving module 706, the type of the bias voltage is a class AB control level signal, and the TDD noise of the class AB control level signal is less than the TDD noise of the adjusted voltage.
  • the output end of the fourth driving module 706 is connected to the earphone for driving the earphone into the working state by the bias voltage; the input end of the output voltage sampling and feedback module 707 is respectively connected with the output end of the third driving module 704 and the fourth The output of the driving module 706 is connected, and the output of the output voltage sampling and feedback module 707 is connected to the second input of the error amplifying module 702 for sampling the bias voltage. And the sampling result is fed back to the error amplifier module 702, a module error amplifier 702 to adjust the reference voltage value based on the sampling result.
  • the first implementation mode and the second implementation manner are combined by the bidirectional switch 703.
  • the technician flexibly selects the first path or the second path output bias voltage according to the use requirement, thereby
  • the bias voltage output module 301 is more suitable for use.
  • the bias voltage output module 301 outputs the bias voltage using the class AB level shift control module 705, since the class AB control level is more stable, the TDD noise can be improved without adding additional noise reduction capacitors. It is possible to reduce the board area of the terminal device and to facilitate miniaturization of the terminal device.
  • the bidirectional switch 703 in the third implementation can also be controlled using a chip.
  • the chip controls the bidirectional switch 703 to select the second path when the distance is less than a preset threshold.
  • the chip controls the bidirectional switch 703 to select the first path, which simplifies the control operation of the bias voltage output module 301 by the technician.
  • the voltage generating module 701, the error amplifying module 702, the third driving module 704, and the output voltage sampling and feedback module 707 are respectively combined with the voltage generating module 401, the error amplifying module 402, and the first driving in the first implementation manner.
  • the module 403 is similar to the output voltage sampling and feedback module 404, and the class AB level shift control module 705 and the fourth driver module 706 are similar to the class AB level shift control module 503 and the second driver module 504 of the second implementation, respectively. , will not repeat them here.
  • the bidirectional switch 703 may specifically be a selection switch having two interfaces, and the two interfaces are respectively connected to the third driving module 704 and the class AB level conversion control module 705, as shown in FIG. 7A; or may be composed of multiple switches.
  • the bidirectional switch can be composed of two independent single interface switches, and the third driving module 704 and the class AB level conversion control module 705 are respectively connected to a single interface switch, and which module is used to control the single interface switch guide connected to the module.
  • the selection switch or the single-interface switch may be an independent switching device, or may be formed by using a MOS transistor or a logic operation chip.
  • the specific structure of the bidirectional switch 703 is not limited in the embodiment of the present application.
  • an electrostatic discharge/over-electric stress protection module 901 may also be disposed. , as shown in Figures 8A-8C.
  • the electrostatic discharge/over-electric stress protection module 901 is connected to the output end of the first driving module 403; when the bias voltage output module 301 is
  • the electrostatic discharge/over-electric stress protection module 901 is connected to the output end of the second driving module 504; when the bias voltage output module 301 adopts the third implementation mode.
  • the electrostatic discharge/overvoltage stress protection module 901 is connected to the output of the third drive module 704.
  • the electrostatic discharge/over-electric stress protection module 901 is at an extremely high speed, for example, 10 -
  • the speed of the 12 S level changes the high impedance of the ESD/Extra-stress protection module 901 to a low impedance while absorbing surge power of up to several kilowatts, so that the voltage across the bias voltage output module 301 is at a safe value. For example, 2.5V or the like, thereby effectively protecting the respective devices in the bias voltage output module 301 from transient high voltage surges.
  • the first driving module 403 or the second driving module 504 or the third driving module 704 in the bias voltage output module 301 is directly connected to the earphone, and the earphone
  • the peripheral device that is, the first driving module 403 or the second driving module 504 or the third driving module 704 is the device that is most easily in contact with the outside, so that when an ESD/EOS event is generated, the first driving module 403 or the second driving module
  • the 504 or the third driving module 704 is the device that is first subjected to a high voltage impact, and therefore, the electrostatic discharge/overelectric stress protection module 901 is connected to the first driving module 403 or the second driving module 504 or the third driving module 704.
  • each device in the bias voltage output module 301 is damaged by a transient high voltage.
  • the electrostatic discharge/over-electric stress protection module 901 can be composed of two diodes packaged together, as shown in FIG. When the voltage generated by the ESD/EOS event is positive, the upper diode in Figure 9 is divided. When the voltage generated by the ESD/EOS event is negative, the lower diode in Figure 9 is divided. The device in the bias voltage output module 301 is thus protected.
  • the electrostatic discharge/over-electric stress protection module 305 can also be directly implemented by using an ESD/EOS protector such as a transient voltage suppressor (TVS) diode, and the model and parameters of the ESD/EOS protector should be selected. It is determined according to the layout of each device in the bias voltage output module 301, the board space available in the terminal device, and the electrical characteristics of the bias voltage output module 301.
  • TVS transient voltage suppressor
  • the logic control module 302 the filter capacitor 303, and the bleeder module 304 in the bias voltage output circuit are described in detail.
  • the logic control module 302 needs to detect the earphone insertion operation and the earphone extraction operation of the terminal device.
  • the control bias voltage output module 301 is at the output bias voltage; when the earphone is detected to be pulled out
  • the bias voltage output module 302 is controlled to be in an inoperative state, that is, no bias voltage is output. Since the filter capacitor 303 stores a partial power during the bias voltage output module 301 outputting the bias voltage, when the logic control module 302 detects the operation of the earphone to pull out the terminal device, it is also necessary to control the bleeder module 304 to vent. The amount of power stored by the filter capacitor 303 is released, thereby avoiding popping sound.
  • the logic control module 302 can include a control chip and a detection module.
  • the detecting module is configured to detect the insertion and extraction operations of the earphone, and then send the detection result to the control chip, and the control chip makes a judgment result, and then sends the control information to the bias voltage output module 301 and the bleeder module 304.
  • the detecting module can detect the insertion and extraction operations of the earphone through the earphone socket.
  • the detecting module can be a detecting pin, and the detecting pin is connected to the left channel detecting end in the earphone socket. Connect a resistor to the sense pin. As shown in Figure 10, the sense pin will output a level.
  • the metal of the earphone plug When the earphone is inserted, the metal of the earphone plug will touch the detection pin, so that the level of the detection pin changes, from a high level to a low level; and when the earphone is pulled out from the terminal device, the detection pin is detected. The level changes from low level to high level. In this way, the control chip can determine whether the earphone is inserted or removed according to the value of the level of the detection pin. When the control chip determines the insertion operation of the earphone, the control information that the control bias voltage output module 301 is in an operating state and the bleeder and discharge module 304 is controlled to be in an inoperative state is transmitted.
  • the control chip can control the loop of the bias voltage output module 301 to be in an on state and the loop of the control bleeder module 304 to be in an off state.
  • a switching device connected to the control chip may be disposed in the loop of the bias voltage output module 301, and the control chip controls the working state of the bias voltage output module 301 by controlling the switching device, for example, When the control chip detects that the earphone is inserted into the terminal device, the switching device connected to the bias voltage output module 301 is controlled to be closed, so that the loop of the bias voltage output module 301 is turned on, and at this time, the bias voltage output module 301 enters the working state. .
  • the venting and discharging module 304 may also be composed of a switching device, as shown in FIG.
  • the switching device is in the closed state, the bleeder module 304 is in an active state, and when the switching device is in the off state, the bleeder module 304 is in a non-operating state.
  • the control chip controls the switching device to be in an off state.
  • the bleeder module 304 is in an inoperative state, so that the filter capacitor 303 outputs an offset at the bias voltage output module 301.
  • the power is stored; when the control chip detects that the earphone is pulled out of the terminal device, the control chip controls the switch device to be in a closed state.
  • the bleeder and discharge module 304 is in an active state, and a conduction loop is formed with the filter capacitor 303. Thereby, the amount of power stored in the filter capacitor 303 is discharged.
  • the logic control module 302 may also be an application processor of the terminal device, for example, an open multimedia application platform (OMAP), or a digital signal processor (digital signal). Processing, DSP), for example, TMS320C54xx, TMS320C55xx or DSP32/32C monolithic devices.
  • OMAP open multimedia application platform
  • DSP digital signal processor
  • TMS320C54xx, TMS320C55xx or DSP32/32C monolithic devices for example, TMS320C54xx, TMS320C55xx or DSP32/32C monolithic devices.
  • the switching device constituting the bleeder and discharge module 304 and the switching device for controlling the operating state of the bias voltage output module 301 may be N-type metal-oxide-semiconductor transistors or unidirectional switches or other types of switching devices, and are not used herein. limit.
  • the filter resistor 305 may also be disposed in the circuit. 12A-12B, the filter resistor is connected to the second driving module 504 or the fourth driving module 706, and is used to filter out the bias voltage output circuit when the class AB level conversion control module is in the working state. TDD noise.
  • the resistance of the filter resistor 305 needs to be selected according to actual use requirements, and is not limited herein.
  • FIG. 13 is a specific example of the bias voltage output circuit in the embodiment of the present application.
  • S2 is a switching device composed of Power MOS2
  • Power MOS constitutes a fourth driving module 706.
  • a switching device may be further provided for controlling the bias voltage output module 301 to output a bias voltage when the S3 switching device is in a closed state, and triggering a bias when the S3 switching device is in an off state.
  • the voltage output module 301 stops outputting the bias voltage.
  • the operating state of the bias voltage output module and the bleeder module is controlled by the logic control module, and after the logic control module detects that the external audio output device is disconnected from the audio playback device, the bias voltage output module is controlled.
  • the bias voltage is not output, so that the external audio output device is disconnected from the power source, and the bleeder module is controlled to bleed off the amount of power stored in the filter capacitor, so that the pop-up sound does not appear in the external audio output device, thereby solving the problem.
  • the problem of popping sound is controlled by the logic control module, and after the logic control module detects that the external audio output device is disconnected from the audio playback device.
  • the logic control module is no longer connected to the switch S1, but is respectively connected to the bias voltage output module and the bleeder module, and the state of the bias voltage output module and the bleeder module is passed through the logic control module.
  • the control solves the problem of the blasting sound, and the venting and discharging module is not directly connected with the interface of the external audio output device, so that the static electricity or the external voltage can be avoided by the venting and discharging module directly hit by the MICP, and the external audio output device can be solved in the prior art.
  • the MCP causes ESD and EOS problems with the bias voltage output circuit, ie, both POP, ESD, and EOS issues are resolved.
  • the external audio output device After solving the POP, ESD and EOS problems of the external audio output device to the bias voltage output circuit of the audio playback device, for the function of the external audio output device itself, the external audio output device can output the audio signal and the audio playback device is required.
  • Various modes of support for external audio output devices The external audio output device is an example of a headphone, and the earphone can adopt an OMTP standard system, as shown in FIG. 14A, or a CTIA standard system, as shown in FIG. 14B, or a USB Type-C standard system. With the increasing integration of audio playback devices, the adoption of the USB Type-C standard for headsets has gradually become a trend.
  • the earphone When the earphone adopts the USB Type-C standard system, for the audio playback device, since the USB Type-C standard supports the forward and reverse insertion working modes, it is required to be connected between the wires of the earphone socket and the microphone and the earphone respectively.
  • the output signal of the left side of the earphone is a sine wave signal
  • the output signal of the right side of the earphone is a DC signal.
  • the sine of the left side of the earphone is due to the impedance introduced between the earphone ground and the ground of the main board.
  • the wave signal is coupled to the right path of the earphone through the impedance, so that the output signal of the right channel of the earphone may become a sine wave signal whose amplitude is smaller than the amplitude of the output signal of the left side of the earphone, affecting the left and right crosstalk performance of the output signal of the earphone.
  • the embodiment of the present application provides a driving circuit of an audio output device, including a processing module 1801, a crosstalk canceling module 1802, a digital-to-analog conversion module 1803, and a driving module 1804, where:
  • the output of the processing module 1801 is connected to the input end of the crosstalk cancellation module 1802 for generating an audio signal, and outputs the audio signal to the crosstalk cancellation module 1802; the output of the crosstalk cancellation module 1802 and the input end of the digital to analog conversion module 1803.
  • the output end of the digital-to-analog conversion module 1803 is connected to the input end of the driving module 1804, and is configured to perform digital-to-analog conversion processing on the processed left-path signal, obtain and output a left-channel analog audio signal, and the right after the processing
  • the road signal is subjected to digital-to-analog conversion processing to obtain and output a right-channel analog audio signal
  • the output end of the driving module 1804 is connected to the external audio output device for driving the external audio output device to output the left-channel analog audio signal and the right-channel analog signal Audio signal drive.
  • the audio signal transmission path is transferred to the digital-to-analog conversion module 1803 by the processing module 1801, and a crosstalk canceling module 1802 is added to the path, and the left-channel audio is passed through the crosstalk canceling module 1802.
  • the correlation processing between the signal and the right audio signal causes the crosstalk between the left and right audio signals outputted by the external audio output device to be reduced, which can improve the left and right crosstalk performance of the output signal of the external audio output device in the prior art.
  • the processing module 1801 may specifically be an application processor (AP), for example, OMAP, or may be a DSP, for example, a single-chip device such as TMS320C54xx, TMS320C55xx, or DSP32/32C.
  • AP application processor
  • DSP digital signal processor
  • the processing module 1801 can determine that an audio signal needs to be output according to the user's operation on the audio playback device. For example, when the user performs the operation of playing the song A, at this time, the processing module 1801 acquires the audio data corresponding to the song A, for example, the left channel audio data 1 and the right channel audio data 2, and the left channel audio data 1 and the right.
  • the road audio data 2 is sent to the crosstalk cancellation module 1802.
  • the crosstalk canceling module 1802 may specifically be a Transaural filter, for example, a Schroeder form or an Atal form Transaural filter, or a modified form filter, for example, a Cooper form or a Bauck form Transaural filter, which is not used herein. limit.
  • a Transaural filter for example, a Schroeder form or an Atal form Transaural filter
  • a modified form filter for example, a Cooper form or a Bauck form Transaural filter, which is not used herein. limit.
  • the crosstalk cancellation module 1802 can also be implemented using a plurality of filter constituent circuits. Please refer to FIG. 18, which is an example of the crosstalk cancellation module 1802.
  • the crosstalk cancellation module 1802 is divided into two parts: a first crosstalk canceling device 1901 that eliminates crosstalk in the left channel audio data 1, and a crosstalk second crosstalk canceling device 1902 in the right channel audio data 2.
  • the first crosstalk canceling device 1901 includes three parts: a first boosting device 19011 for enhancing a specific frequency band portion of the left channel audio data 1, a first delay device 19012 for delay processing the left channel audio data 1, and A first computing means 19013 for eliminating crosstalk of the right channel audio data 2 in the left channel audio data 1, the specific band portion of the left channel audio data 1 being the second portion of the left channel signal.
  • the first crosstalk canceling means 1901 and the second crosstalk canceling means 1902 are respectively used for processing the left channel audio data 1 and the right channel audio data 2, the processing is the same, and therefore, the structure is also similar, and therefore, the second crosstalk canceling means 1902
  • the above three parts are also included, namely the second stiffening device 19021, the second delay device 19022, and the second computing device 19023.
  • the specific frequency band portion of the first reinforcing device 19011 and the second reinforcing device 19021 can be set by a person skilled in the art according to actual use conditions.
  • the first stiffening device 19011 and the second stiffening device 19021 may be a combination of a filter and an amplifier, which may use one or more combinations of a low pass filter, a band pass filter, or a high pass filter; amplification of the amplifier
  • the coefficients need to be selected based on actual use.
  • the second portion of the left channel audio data is acquired by the first enhancement device 19011
  • the second portion of the right channel audio data is acquired by the second enhancement device 19021.
  • the first delay means 19012 is for delaying the left channel audio data 1.
  • the sampling signal of the left audio data 1 is delayed by one sampling period to obtain a sampling signal of the sampling period before the current sampling period, or may be delayed by a preset duration to acquire the time corresponding to the preset duration before the current time.
  • the audio data is not limited here.
  • the first delay module 19012 further includes an amplifier for amplifying the delayed audio data to obtain delayed left audio data.
  • the amplification factor of the amplifier can be the same as in the first stiffening device 19011.
  • the second delay device 19022 is configured to perform delay processing on the right channel audio data 2 to obtain delayed right channel audio data.
  • the first delay module 19012 and the second delay device 19022 may further include an amplifier for performing the delayed audio data. Zoom in.
  • the amplification factor of the amplifier may be the same as the amplification factor in the first reinforcement device 19011, or may be different, and is not limited herein.
  • the processing of the first computing device 19013 requires the use of the right channel audio data 2
  • the processing of the second computing device 19023 requires the use of the left channel audio data 2
  • the specific calculation method is as follows:
  • the first computing device 19013 performs a summation operation on the second partial left channel audio data output by the first boosting device 19011, the left channel audio data 1 and the delayed right channel audio data output by the second delay device 19022, thereby eliminating the right The crosstalk of the audio data 2 to the left audio data 1.
  • the second computing device 19923 performs a first operation on the second portion of the right audio data, the right audio data 2, and the delayed left audio data output by the first delay module 19012, which is output by the second boosting device 19021, the first operation It may be a summation operation or a weighted summation operation or the like, thereby eliminating crosstalk of the left channel audio data 1 to the right channel audio data 2.
  • the digital-to-analog conversion module 1803 may specifically be a digital to analog converter (DAC), for example, a weight resistance network DAC, an R-2R inverted T-resistance network DAC, and a single-value current type network DAC, etc., of course, digital mode
  • the conversion module 1803 may also be a circuit composed of a digital register, an analog electronic switch, a bit-resistance network, a summing operational amplifier, and a reference voltage source, which are not limited in the embodiment of the present application.
  • the crosstalk cancellation module 1802 sends the processed left channel audio data 1 and the processed right channel audio data 2 to the digital to analog conversion module 1803, the data conversion module 1803 respectively processes the processed left channel audio data 1 and the right channel.
  • the audio data 2 is converted to an analog audio signal, and the output value drive module 1804.
  • the drive module 1804 can be specifically configured by an operational amplifier.
  • the left audio signal and the right audio signal respectively correspond to one operational amplifier.
  • the operational amplifier detects an audio signal input, the analog audio signal is amplified according to a preset amplification gain parameter to drive the external audio playback device.
  • the corresponding analog audio signal is output through the left and right output devices.
  • FIG. 19 is an example of a driving circuit provided by an embodiment of the present application.
  • each audio playback device such as a mobile phone or a tablet computer
  • the processing module 1801 and the crosstalk cancellation module 1804 may be used for left and right audio.
  • the processing parameters of the signal also change. For example, when the impedance to the ground of the audio playback device is larger, in order to make the quality of the audio signal output by the external audio output device the same, the amplitudes of the left audio data 1 and the right audio data 2 output by the processing module 1801 also need to be increased. Therefore, referring to FIG. 20, the driving circuit further includes:
  • An impedance detecting module 1805 an input end of the impedance detecting module 1805 is connected to an output end of the driving module 1804, and an output end of the impedance detecting module 1805 is connected to the processing module 1801, for detecting an impedance value of the external audio output device, and the The impedance value is output to the processing module 1801 such that the processing module 1801 adjusts the voltage of the audio signal based on the impedance value.
  • the impedance detecting module 1805 may specifically measure the current and voltage across the external audio output device, determine the impedance of the external audio output device by the ratio of the voltage to the current, and may also use some impedance detecting device, such as an oscilloscope. , an impedance test board, etc., or an impedance test chip, such as the AD5933, etc., can be selected by those skilled in the art according to actual use requirements.
  • the audio playback device may further be provided with a correction module 1806, and the correction module automatically adjusts the processing parameters according to different audio playback devices.
  • the correction module 1806 may include a stereo separation detection module and a comparator.
  • the input ends of the stereo separation detection module respectively input left and right analog audio signals, and are determined by the stereo separation detection module.
  • the stereo separation of the current left and right analog audio signals The greater the stereo separation, the greater the crosstalk characterizing the left and right analog audio signals.
  • the output of the stereo separation detection module is connected to an input of the comparator, for example The cathode of the comparator, the other input of the comparator, for example, the anode of the comparator is set to a preset stereo separation parameter value, and the output of the comparator is connected to the crosstalk cancellation module 1802.
  • the comparator compares the stereo separation parameter value with the preset stereo separation parameter value. , get the comparison result. For example, when the comparison result is +1, it indicates that the stereo separation parameter value is smaller than the preset stereo separation parameter value, indicating that the crosstalk cancellation module 1802 invalidates the parameter for crosstalk cancellation of the audio output device; when the comparison result is -1 When the stereo separation parameter value is greater than the preset stereo separation parameter value, indicating that the crosstalk cancellation module 1802 is valid for the crosstalk cancellation of the audio output device, the parameters in the crosstalk cancellation module 1802 need to be adjusted.
  • the comparison result is output to the crosstalk cancellation module 1802.
  • the crosstalk cancellation module 1802 can keep the value of the parameter currently used for crosstalk cancellation of the audio output device unchanged; when the comparison result is -1, the crosstalk cancellation module 1802 The value of the parameter currently used for crosstalk cancellation of the audio output device can be increased or decreased, and then the same method is used for multiple adjustments until the comparison result of the comparator output is +1.
  • the self-learning process of the crosstalk cancellation module 1802 is implemented by the correction module 1806, so that the adjustment process of the driving circuit is more convenient.
  • the stereo separation degree detection module in the correction module 1806 can also be replaced with the crosstalk detection module, so that the crosstalk detection module can directly determine the crosstalk detection module.
  • the degree of crosstalk between the left and right analog audio signals is then outputted to the comparator for comparison, and finally the comparison result is output to the crosstalk cancellation module 1802 to adjust the left and right signals in the crosstalk cancellation module 1802.
  • the parameters for crosstalk cancellation processing are inversely proportional to each other.
  • the correction module 1806 can also include an analog to digital converter (ADC) and a digital circuit.
  • ADC analog to digital converter
  • the ADC can directly detect the magnitude of the crosstalk of the audio output device, and then convert the order of magnitude to a level signal through the digital circuit.
  • the correction module 1806 can also be a manual adjustment module, which is adjusted by the technician according to the crosstalk parameter values of the current left and right analog audio signals, and is not limited herein.
  • the crosstalk cancellation module is added to the path of the processing module and the digital-to-analog conversion module, and the left audio signal and the right audio signal are correlated, so that the output of the external audio output device is finally left,
  • the crosstalk between the right audio signals is reduced, which can improve the left and right crosstalk performance of the output signal of the external audio output device in the prior art.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Amplifiers (AREA)

Abstract

A bias voltage output circuit and a driving circuit. The bias voltage output circuit comprises: a bias voltage output module, used to output a bias voltage under the action of a logic control module and the bias voltage is used to drive an audio output device; a filter capacitor, used to filter noise generated by the bias voltage output module and store power produced during the process of the bias voltage output module outputting a bias voltage; a bleeder module, used to discharge the power stored by the filter capacitor under the action of a logic control module; a logic control module, used, when it is ascertained that the audio output device has connected to an audio playback device, to trigger the bias voltage output module to output a bias voltage and to control the bleeder module to prevent discharge of the power stored by the filter capacitor. When it is ascertained that the audio output device is disconnected from the audio playback device, triggering the bias voltage output module to stop outputting bias voltage and controlling the bleeder module to discharge the power stored by the filter capacitor.

Description

偏置电压输出电路及驱动电路Bias voltage output circuit and driving circuit 技术领域Technical field
本申请涉及通信技术领域,尤其涉及偏置电压输出电路及驱动电路。The present application relates to the field of communications technologies, and in particular, to a bias voltage output circuit and a driving circuit.
背景技术Background technique
终端设备在快速发展的过程中,呈现出越来越多的功能。用户使用终端设备播放音频文件或者视频文件已成为日常生活的一部分。例如,用户可以播放音频文件,并通过在终端设备的耳机插座中插入耳机来收听。Terminal devices are showing more and more functions in the process of rapid development. The use of terminal devices to play audio files or video files has become a part of everyday life. For example, a user can play an audio file and listen by inserting a headset into the headset socket of the terminal device.
而耳机在插拔时,会使终端设备的直流电平发生跳变,从而产生爆破音(pop noise)等。且由于人体自身的动作或与其他物体的接触、分离和摩擦等,也会给终端设备带来静电放电(electro-static discharge,ESD)问题。当用户错误使用时,例如,将充电器插头插入耳机插座,还会产生过度电性应力(electrical over-stress,EOS)问题,这些问题都可能会导致终端设备的内部芯片永久失效。因此,如何改善上述问题,是终端设备急需解决的。When the earphone is plugged and unplugged, the DC level of the terminal device will jump, resulting in pop noise and the like. And due to the human body's own actions or contact, separation and friction with other objects, it also brings electrostatic-static discharge (ESD) problems to the terminal equipment. When a user misuses, for example, plugging a charger plug into a headphone jack, it also creates an electrical over-stress (EOS) problem that can cause permanent failure of the internal chip of the terminal device. Therefore, how to improve the above problems is an urgent need for the terminal equipment to be solved.
在终端设备中,用于给耳机提供电源的麦克偏置电压(MICBIAS)芯片是最容易受到上述问题影响的,因此,解决了MICBIAS芯片在耳机插拔过程中存在的爆破音、ESD以及EOS的问题,也就是解决了终端设备存在的上述问题。In the terminal device, the MICBIAS chip for powering the earphone is most susceptible to the above problems, thus solving the blasting sound, ESD and EOS of the MICBIAS chip during the plugging and unplugging process of the earphone. The problem is to solve the above problems of the terminal device.
请参考图1,为现有技术中的一种消除爆破音的方案。当检测到耳机拔出后,通过图1中的开关S2对MICBIAS芯片的滤波电容C1上的电压进行快速放电,并使用开关S1对耳机进行分压,使得耳机上能够被人耳辨识到的爆破音尽量降到最低。然而,由于开关S1直接接触耳机接口,从而使ESD可以通过MICP直接打到开关S1上,又会造成MICBIAS芯片的ESD和EOS问题。Please refer to FIG. 1 , which is a solution for eliminating popping sound in the prior art. After detecting that the earphone is pulled out, the voltage on the filter capacitor C1 of the MICBIAS chip is quickly discharged through the switch S2 in FIG. 1, and the earphone is divided by the switch S1, so that the earphone can be recognized by the human ear. The sound should be kept to a minimum. However, since the switch S1 directly contacts the headphone interface, the ESD can be directly applied to the switch S1 through the MICP, which in turn causes ESD and EOS problems of the MICBIAS chip.
可见,现有技术中无法同时解决外接音频输出装置在插拔过程中的爆破音、ESD和EOS问题。It can be seen that in the prior art, the popping sound, ESD and EOS problems of the external audio output device during the plugging and unplugging process cannot be simultaneously solved.
发明内容Summary of the invention
本申请实施例提供一种,用以同时解决爆破音、ESD和EOS问题。Embodiments of the present application provide a method for simultaneously solving popping sound, ESD, and EOS problems.
第一方面,提供一种音频播放设备的偏置电压输出电路,该偏置电压输出电路包括偏置电压输出模块、逻辑控制模块、滤波电容以及泄放电模块。该偏置电压输出模块,该偏置电压输出模块的第一端与该逻辑控制模块的第一输出端连接,第二端与该音频播放设备的外接音频输出装置的接口连接,用于在该逻辑控制模块的作用下,输出偏置电压,该偏置电压用于驱动接入到该接口的外接音频输出装置;该滤波电容,与该偏置电压输出模块连接,用于滤除该偏置电压输出模块在输出该偏置电压的过程中产生的噪声,以及在该偏置电压输出模块输出该偏置电压的过程中存储电量;该泄放电模块的第一端与该滤波电容连接,第二端与该逻辑控制模块的第二输出端连接,用于在该逻辑控制模块的作用下,泄放该滤波电容存储的电量;该逻辑控制模块,用于在确定该外接音频输出装置接入到该接口时,触发该偏置电压输出模块输出该偏置电压,以及控制该泄放电模块禁止泄放该滤波电容存储的电量,在确定该外接音频输出装置与该接口断开连接时,触发该偏置电压输出模块停止输出该偏置电压,以及控制该泄放电模块泄放该滤波电容存储的电量。In a first aspect, a bias voltage output circuit of an audio playback device is provided. The bias voltage output circuit includes a bias voltage output module, a logic control module, a filter capacitor, and a bleeder module. a bias voltage output module, the first end of the bias voltage output module is connected to the first output end of the logic control module, and the second end is connected to an interface of the external audio output device of the audio playback device, Under the action of the logic control module, an output bias voltage is used to drive an external audio output device connected to the interface; the filter capacitor is connected to the bias voltage output module for filtering the offset The voltage output module generates noise during the output of the bias voltage, and stores the power during the output of the bias voltage output module; the first end of the bleeder module is connected to the filter capacitor, The second end is connected to the second output end of the logic control module, and is configured to discharge the power stored by the filter capacitor under the action of the logic control module; the logic control module is configured to determine the access of the external audio output device When the interface is connected, the bias voltage output module is triggered to output the bias voltage, and the bleeder module is controlled to ban the storage of the storage capacity of the filter capacitor. When given the external audio output device connected to the interface is disconnected, the trigger bias voltage output module outputting the bias voltage is stopped, and controlling the discharge of the filter capacitor discharging module bleed charge stored.
在上述技术方案中,当逻辑控制模块检测到外接音频输出装置与音频播放设备断开连接后,则控制偏置电压输出模块停止输出偏置电压,使外接音频输出装置断开与电源的连接,同时控制泄放电模块泄放掉滤波电容中存储的电量,这样,外接音频输出装置中便不会出现爆破音,从而解决了爆破音的问题。进一步,在该电路中,逻辑控制模块分别与偏置电压输出模块以及泄放电模块连接,且通过分别对偏置电压输出模块及泄放电模块的状态的控制已经能够解决爆破音问题,从而不再像现有技术,例如,图1所述的方案,需要在电路中设置开关S1,自然也就不存在现有技术中由于静电或者外部电压通过MICP直接打到开关S1上造成的MICBIAS芯片的ESD和EOS问题。且在该电路中,该泄放电模块不直接与外接音频输出装置的接口连接,从而可以避免静电或者外部电压通过MICP直接打到的泄放电模块,可以解决现有技术中通过外接音频输出装置的MICP造成对偏置电压输出电路的ESD和EOS问题,即,同时解决了POP、ESD以及EOS问题。In the above technical solution, when the logic control module detects that the external audio output device is disconnected from the audio playback device, the control bias voltage output module stops outputting the bias voltage, so that the external audio output device is disconnected from the power source. At the same time, the bleeder and discharge module is controlled to discharge the power stored in the filter capacitor, so that the blasting sound does not appear in the external audio output device, thereby solving the problem of blasting sound. Further, in the circuit, the logic control module is respectively connected to the bias voltage output module and the bleeder and discharge module, and the problem of the blasting sound can be solved by controlling the states of the bias voltage output module and the bleeder and discharge module respectively, thereby no longer As in the prior art, for example, the solution described in FIG. 1 requires the switch S1 to be provided in the circuit, and naturally there is no ESD of the MICBIAS chip caused by static electricity or external voltage directly hitting the switch S1 through the MICP in the prior art. And EOS issues. In the circuit, the venting and discharging module is not directly connected to the interface of the external audio output device, so that the static electricity or the external voltage can be prevented from being directly discharged by the MICP, and the external audio output device can be solved in the prior art. MICP causes ESD and EOS problems with the bias voltage output circuit, ie, both POP, ESD, and EOS issues are addressed.
在一种可能的设计中,该偏置电压输出模块包括电压生成模块、误差放大模块、第一驱动模块以及输出电压采样及反馈模块,该电压生成模块的输出端与该误差放大模块的第一输入端连接,该电压生成模块用于生成参考电压,并向该误差放大模块输出该参考电压,该误差放大模块的输出端与该第一驱动模块的输入端连接,该误差放大模块用于对该参考电压进行稳压处理,得到并向该第一驱动模块输出该偏置电压,该第一驱动模块的输出端与该外接音频输出装置连接,用于通过该偏置电压驱动该外接音频输出装置,该输出电压采样及反馈模块的输入端与该第一驱动模块的输出端连接,输出端与该误差放大模块的第二输入端连接,该输出电压采样及反馈模块用于对该偏置电压进行采样,并将采样结果反馈给该误差放大模块,该误差放大模块,用于根据该采样结果调整该参考电压。In a possible design, the bias voltage output module includes a voltage generating module, an error amplifying module, a first driving module, and an output voltage sampling and feedback module, and an output end of the voltage generating module and the first of the error amplifying module The input terminal is connected, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module, the output end of the error amplifying module is connected to the input end of the first driving module, and the error amplifying module is used to The reference voltage is subjected to a voltage stabilization process to obtain and output the bias voltage to the first driving module, and an output end of the first driving module is connected to the external audio output device, and the external audio output is driven by the bias voltage The input end of the output voltage sampling and feedback module is connected to the output end of the first driving module, and the output end is connected to the second input end of the error amplifying module, and the output voltage sampling and feedback module is used for the offset The voltage is sampled, and the sampling result is fed back to the error amplification module, and the error amplification module is used according to Adjusting the reference voltage sampling result.
在上述技术方案中,通过电压生成模块、误差放大模块、第一驱动模块以及输出电压采样及反馈模块这些简单的结构实现偏置电压输出模块,实现方式简单。In the above technical solution, the bias voltage output module is realized by a simple structure such as a voltage generating module, an error amplifying module, a first driving module, and an output voltage sampling and feedback module, and the implementation manner is simple.
在一种可能的设计中,该偏置电压输出模块包括电压生成模块、误差放大模块、AB类电平转换控制模块、第二驱动模块以及输出电压采样及反馈模块,该电压生成模块的输出端与该误差放大模块的第一输入端连接,该电压生成模块用于生成参考电压,并向该误差放大模块输出该参考电压,该误差放大模块的输出端与该AB类电平转换控制模块的输入端连接,该误差放大模块用于对该参考电压进行稳压处理,得到并向该AB类电平转换控制模块输出调整后的电压,该AB类电平转换控制模块的输出端与该第二驱动模块的输入端连接,用于将该调整后的电压转换为该偏置电压,并向该驱动模块输出该偏置电压,该偏置电压的噪声小于该调整后的电压的噪声,该第二驱动模块的输出端与该外接音频输出装置连接,用于通过该AB类控制电平信号驱动该外接音频输出装置,该输出电压采样及反馈模块的输入端与该第二驱动模块的输出端连接,输出端与该误差放大模块的第二输入端连接,该输出电压采样及反馈模块用于对该偏置电压进行采样,并将采样结果反馈给该误差放大模块,该误差放大模块,用于根据该采样结果调整该参考电压。In a possible design, the bias voltage output module includes a voltage generating module, an error amplifying module, a class AB level shifting control module, a second driving module, and an output voltage sampling and feedback module, and an output terminal of the voltage generating module Connected to the first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module, the output end of the error amplifying module and the class AB level conversion control module The input terminal is connected, and the error amplifying module is configured to perform voltage stabilization processing on the reference voltage, and obtain and output an adjusted voltage to the class AB level conversion control module, and the output end of the class AB level conversion control module and the first The input end of the two driving module is connected to convert the adjusted voltage into the bias voltage, and output the bias voltage to the driving module, where the noise of the bias voltage is less than the noise of the adjusted voltage, The output end of the second driving module is connected to the external audio output device for driving the external audio output device through the class AB control level signal The input end of the output voltage sampling and feedback module is connected to the output end of the second driving module, and the output end is connected to the second input end of the error amplifying module, and the output voltage sampling and feedback module is used for the biasing The voltage is sampled, and the sampling result is fed back to the error amplification module, and the error amplification module is configured to adjust the reference voltage according to the sampling result.
在上述技术方案中,利用了AB类控制信号的噪声小及失真率低的特点,在偏置电压输出模块中增加了AB类电平转换控制模块,通过AB类电平转换控制模块将电压生成模块产生的参考电压转换为AB类电平信号,可以降低偏置电压输出电路的噪声,使偏置电压输出电路输出的偏置电压更加稳定。In the above technical solution, the noise of the class AB control signal is small and the distortion rate is low, and the class AB level conversion control module is added in the bias voltage output module, and the voltage is generated by the class AB level conversion control module. The reference voltage generated by the module is converted into a class AB level signal, which can reduce the noise of the bias voltage output circuit and make the bias voltage outputted by the bias voltage output circuit more stable.
在一种可能的设计中,该偏置电压输出电路还包括第一滤波电阻,与该第二驱动模块连接,用于滤除该偏置电压输出电路中产生的时分复用TDD噪声。In a possible design, the bias voltage output circuit further includes a first filter resistor coupled to the second driving module for filtering out time division multiplexed TDD noise generated in the bias voltage output circuit.
在上述技术方案中,可以通过在偏置电压输出电路增加滤波电阻,进一步降低偏置电压输出电路中的TDD噪声。In the above technical solution, the TDD noise in the bias voltage output circuit can be further reduced by adding a filter resistor to the bias voltage output circuit.
在一种可能的设计中,该偏置电压输出模块包括电压生成模块、误差放大模块、双向开关、第三驱动模块、AB类电平转换控制模块、第四驱动模块以及输出电压采样及反馈模块,该电压生成模块的输出端与该误差放大模块的第一输入端连接,该电压生成模块用于生成参考电压,并向该误差放大模块输出该参考电压,该误差放大模块的输出端与该双向开关的输入端连接,该双向开关的第一输出端与该第三驱动模块连接,该双向开关的第二输出端与该AB类电平转换控制模块连接,在该双向开关与该双向开关的第一输出端形成第一通路时,该误差放大模块用于对该参考电压进行稳压处理,得到并向该第三驱动模块输出该偏置电压,在该双向开关与该双向开关的第二输出端形成第二通路时,该误差放大模块用于对该参考电压进行稳压处理,得到并向该AB类电平转换控制模块输出调整后的电压,该双向开关与该逻辑控制模块连接,用于在该逻辑控制模块的作用下选择形成该第一通路或形成该第二通路,该第三驱动模块的输出端与该外接音频输出装置连接,用于在该双向开关形成该第一通路时,通过该偏置电压驱动该外接音频输出装置,该AB类电平转换控制模块的输出端与该第四驱动模块的输入端连接,用于在该双向开关形成该第二通路时,将该调整后的电压转换为该偏置电压,并向该第四驱动模块输出该偏置电压,该偏置电压的噪声小于该调整后的电压的噪声,该第四驱动模块的输出端与该外接音频输出装置连接,用于在该双向开关形成该第二通路时,通过该偏置电压驱动该外接音频输出装置,该输出电压采样及反馈模块的输入端分别与该第三驱动模块的输出端以及该第四驱动模块的输出端连接,输出端与该误差放大模块的第二输入端连接,该输出电压采样及反馈模块用于对该偏置电压进行采样,并将采样结果反馈给该误差放大模块,该误差放大模块,用于根据该采样结果调整该参考电压。In a possible design, the bias voltage output module comprises a voltage generating module, an error amplifying module, a bidirectional switch, a third driving module, a class AB level conversion control module, a fourth driving module, and an output voltage sampling and feedback module. The output end of the voltage generating module is connected to the first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module, the output end of the error amplifying module The input end of the bidirectional switch is connected, the first output end of the bidirectional switch is connected to the third driving module, and the second output end of the bidirectional switch is connected to the class AB level conversion control module, and the bidirectional switch and the bidirectional switch When the first output end forms the first path, the error amplifying module is configured to perform voltage stabilization processing on the reference voltage, obtain and output the bias voltage to the third driving module, where the bidirectional switch and the bidirectional switch When the second output forms a second path, the error amplifying module is configured to perform voltage stabilization processing on the reference voltage to obtain and report to the class AB The switching control module outputs the adjusted voltage, and the bidirectional switch is connected to the logic control module, and is configured to select or form the second path by the logic control module, and the output end of the third driving module Connecting to the external audio output device, when the bidirectional switch forms the first path, driving the external audio output device by the bias voltage, the output end of the class AB level conversion control module and the fourth driving module The input terminal is connected to convert the adjusted voltage into the bias voltage when the bidirectional switch forms the second path, and output the bias voltage to the fourth driving module, the noise of the bias voltage The output of the fourth driving module is connected to the external audio output device, and is configured to drive the external audio output device by the bias voltage when the bidirectional switch forms the second path, An input end of the output voltage sampling and feedback module is respectively connected to an output end of the third driving module and an output end of the fourth driving module, and outputs The terminal is connected to the second input end of the error amplifying module, and the output voltage sampling and feedback module is configured to sample the bias voltage, and feed back the sampling result to the error amplifying module, and the error amplifying module is configured to The sampling result adjusts the reference voltage.
在上述技术方案中,在偏置电压输出模块可以通过两种方式中的任意一种输出偏置电压,并在偏置电压输出模块中增加双向开关,从而可以根据实际使用需求来选择其中的任意一种来实现偏置电压的输出,可以增加偏置电压输出模块的灵活性。In the above technical solution, the bias voltage output module can output the bias voltage in any of two ways, and add a bidirectional switch in the bias voltage output module, so that any one of them can be selected according to actual use requirements. One way to achieve the bias voltage output is to increase the flexibility of the bias voltage output module.
在一种可能的设计中,该偏置电压输出电路还包括第二滤波电阻,与该第四驱动模块连接,用于滤除该偏置电压输出电路中产生的时分复用TDD噪声。In a possible design, the bias voltage output circuit further includes a second filter resistor coupled to the fourth driving module for filtering out time division multiplexed TDD noise generated in the bias voltage output circuit.
在上述技术方案中,可以通过在偏置电压输出电路增加滤波电阻,进一步降低偏置电压输出电路中的TDD噪声。In the above technical solution, the TDD noise in the bias voltage output circuit can be further reduced by adding a filter resistor to the bias voltage output circuit.
在一种可能的设计中,该偏置电压输出模块还包括静电放电/过度电性应力保护模块,与该输出电压采样及反馈模块的输入端连接,用于在该偏置电压输出电路中存在过度电性应力或静电时,降低该偏置电压输出模块包含的多个模块中的至少一个模块两端的电压,该至少一个模块不包括该静电放电/过度电性应力保护模块。In a possible design, the bias voltage output module further includes an electrostatic discharge/over-electric stress protection module coupled to the input of the output voltage sampling and feedback module for presence in the bias voltage output circuit In the case of excessive electrical stress or static electricity, the voltage across at least one of the plurality of modules included in the bias voltage output module is reduced, and the at least one module does not include the electrostatic discharge/over-electric stress protection module.
在上述技术方案中,当偏置电压输出电路中产生ESD/EOS事件时,可以通过静电放电/过度电性应力保护模块确保偏置电压输出模块两端的电压位于一个安全值内,从而有效地保护偏置电压输出模块中的各个模块免受瞬态的高电压冲击而损坏。In the above technical solution, when an ESD/EOS event is generated in the bias voltage output circuit, the electrostatic discharge/over-electric stress protection module can ensure that the voltage across the bias voltage output module is within a safe value, thereby effectively protecting Each module in the bias voltage output module is protected from transient high voltage surges.
在一种可能的设计中,该泄放电模块为N型金属-氧化物-半导体晶体管或单向开关。In one possible design, the bleeder module is an N-type metal-oxide-semiconductor transistor or a unidirectional switch.
在一种可能的设计中,该第二驱动模块为P型金属-氧化物-半导体晶体管或N型金属-氧化物-半导体晶体管。In one possible design, the second drive module is a P-type metal-oxide-semiconductor transistor or an N-type metal-oxide-semiconductor transistor.
在上述技术方案中,可以通过简单的元器件实现泄放电模块以及该第二驱动模块,实 现方式简单。In the above technical solution, the bleeder and discharge module and the second drive module can be realized by simple components, and the implementation is simple.
第二方面,提供一种音频输出装置的驱动电路,该驱动电路包括处理模块、串扰消除模块、数模转换模块以及驱动模块。该处理模块的输出端与该串扰消除模块的输入端连接,用于生成并向该串扰消除模块输出音频信号,该音频信号包括左路信号及右路信号,该串扰消除模块,输出端与该数模转换模块的输入端连接,用于消除该左路信号以及该右路信号之间的串扰,并向该数模转换模块输出消除串扰后的左路信号以及消除串扰后的右路信号;该数模转换模块,输出端与该驱动模块的输入端连接,用于对该消除串扰后的左路信号进行数模转换处理,得到并向该驱动模块输出左路模拟音频信号,以及对该消除串扰后的右路信号进行数模转换处理,得到并向该驱动模块输出右路模拟音频信号;该驱动模块,输出端与该外接音频输出装置连接,用于驱动该外接音频输出装置的左输出装置输出该左路模拟音频信号,以及驱动该外接音频输出装置的右输出装置输出该右路模拟音频信号。In a second aspect, a driving circuit for an audio output device is provided, the driving circuit comprising a processing module, a crosstalk canceling module, a digital to analog conversion module, and a driving module. The output end of the processing module is connected to the input end of the crosstalk cancellation module, and is configured to generate and output an audio signal to the crosstalk cancellation module, where the audio signal includes a left channel signal and a right channel signal, the crosstalk cancellation module, the output end and the The input end of the digital-to-analog conversion module is connected to cancel the crosstalk between the left channel signal and the right channel signal, and output the left-channel signal after the crosstalk cancellation and the right-path signal after the crosstalk is eliminated to the digital-to-analog conversion module; The digital-to-analog conversion module is connected to the input end of the driving module, and is configured to perform digital-to-analog conversion processing on the left-channel signal after eliminating crosstalk, obtain and output a left-channel analog audio signal to the driving module, and The right channel signal after crosstalk cancellation is subjected to digital-to-analog conversion processing, and a right-channel analog audio signal is obtained and output to the driving module; the output module is connected to the external audio output device for driving the left end of the external audio output device The output device outputs the left analog audio signal, and the right output device that drives the external audio output device outputs the right analog sound Signal.
在上述技术方案中,通过将处理模块传递给数模转换模块的音频信号传递通路截断,在该通路上增加了串扰消除模块,通过串扰消除模块将左路信号和右路信号进行相关性处理,使得最终在外接音频输出装置输出的左、右路信号之间的串扰降低,可以改善现有技术中外接音频输出装置输出信号的左右路串扰性能。In the above technical solution, by intercepting the audio signal transmission path of the processing module to the digital-to-analog conversion module, a crosstalk cancellation module is added to the path, and the left channel signal and the right channel signal are correlated by the crosstalk cancellation module. The crosstalk between the left and right signals finally outputted by the external audio output device is reduced, and the left and right crosstalk performance of the output signal of the external audio output device in the prior art can be improved.
在一种可能的设计中,该串扰消除模块包括第一加强装置、第一延迟装置、第一计算装置、第二加强装置、第二延迟装置以及第二计算装置。该第一加强装置用于滤除该左路信号中位于预设频带之外的第一部分左路信号,并按照预设放大系数对该左路信号中位于该预设频带上的第二部分左路信号进行放大,获得第一左路信号,该第一延迟装置用于获取在当前采样周期之前的预设数量的采样周期内的左路信号,该第一计算装置用于将该左路信号、该第二部分左路信号以及该在当前采样周期之前的预设数量的采样周期内的左路信号进行第一运算,获得该处理后的左路信号;该第二加强装置用于滤除该右路信号中位于该预设频带之外的第一部分右路信号,并按照该预设放大系数对该右路信号中位于该预设频带上的第二部分右路信号进行放大,获得第一右路信号;该第二延迟装置用于获取在当前采样周期之前的该预设数量的采样周期内的右路信号,该第二计算装置用于将该右路信号、该第二部分右路信号以及该在当前采样周期之前的该预设数量的采样周期内的右路信号进行第一运算,获得该处理后的右路信号。In one possible design, the crosstalk cancellation module includes a first enhancement device, a first delay device, a first computing device, a second enhancement device, a second delay device, and a second computing device. The first reinforcing device is configured to filter out a first portion of the left channel signal of the left channel signal that is outside the preset frequency band, and according to a preset amplification factor, the second portion of the left channel signal that is located on the preset frequency band is left The road signal is amplified to obtain a first left channel signal, the first delay device is configured to acquire a left channel signal within a preset number of sampling periods before the current sampling period, and the first computing device is configured to use the left channel signal The second partial left signal and the left signal in the preset number of sampling periods before the current sampling period are subjected to a first operation to obtain the processed left signal; the second boosting device is used for filtering a first portion of the right channel signal outside the preset frequency band of the right channel signal, and amplifying the second portion of the right channel signal of the right channel signal on the preset frequency band according to the preset amplification factor, to obtain the first a right channel signal; the second delay device is configured to acquire a right channel signal in the preset number of sampling periods before the current sampling period, and the second computing device is configured to use the right channel signal, the second portion The right signal and the right signal within the sampling period preceding the current sampling period of the predetermined number of a first calculation to obtain the right signal after the processing.
在上述技术方案中,通过分别对左路信号和右路信号进行滤波、采样和运算处理,可以降低左路信号和右路信号之间的串扰,实现方式简单。In the above technical solution, the crosstalk between the left channel signal and the right channel signal can be reduced by filtering, sampling, and processing the left channel signal and the right channel signal, respectively, and the implementation manner is simple.
在一种可能的设计中,该驱动电路还包括阻抗检测模块,该阻抗检测模块的输入端与该驱动模块的输出端连接,输出端与该处理模块连接,该阻抗检测模块用于检测该外接音频输出装置的阻抗,并向该处理模块输出该阻抗;该处理模块,还用于根据该阻抗调整该音频信号的电压。In a possible design, the driving circuit further includes an impedance detecting module, an input end of the impedance detecting module is connected to an output end of the driving module, and an output end is connected to the processing module, and the impedance detecting module is configured to detect the external connection The impedance of the audio output device is output to the processing module; the processing module is further configured to adjust the voltage of the audio signal according to the impedance.
在上述技术方案中,通过阻抗检测模块检测出外接音频输出装置的阻抗,然后将该阻抗值输出给处理模块,可以使处理模块能够输出电压值与外接音频输出装置匹配的音频信号,增加驱动电路的灵活性。In the above technical solution, the impedance of the external audio output device is detected by the impedance detecting module, and then the impedance value is output to the processing module, so that the processing module can output an audio signal whose voltage value matches the external audio output device, and increase the driving circuit. Flexibility.
在一种可能的设计中,该驱动电路还包括校正模块,该校正模块的输入端与该驱动装置的输出端连接,输出端与该串扰消除模块连接,该校正模块用于检测该左路模拟音频信号与该右路模拟音频信号之间的立体声分离度,并向该串扰消除模块输出该立体声分离度;该串扰消除模块,还用于根据该立体声分离度调整该第一加强装置或该第二加强装置 中的该预设放大系数的取值,和/或,该第一延迟装置或该第二延迟装置中的该预设数量的取值。In a possible design, the driving circuit further includes a correction module, the input end of the correction module is connected to the output end of the driving device, and the output end is connected to the crosstalk canceling module, and the correcting module is configured to detect the left side analog Stereo separation between the audio signal and the right analog audio signal, and outputting the stereo separation to the crosstalk cancellation module; the crosstalk cancellation module is further configured to adjust the first enhancement device or the first according to the stereo separation degree The value of the preset amplification factor in the second enhancement device, and/or the preset number of values in the first delay device or the second delay device.
在上述技术方案中,通过校正模块实时检测输出的左路模拟音频信号与右路模拟音频信号之间的立体声分离度,从而是串扰消除模块能够根据检测出的立体声分离度来调整其内部的处理参数,例如,当立体声分离度较小时,增加加强装置中的放大系统,减小延迟装置的采样周期等,可以使该驱动电路能够适配不同的音频播放装置,可以提高该驱动电路的适用范围。In the above technical solution, the stereo separation degree between the output left analog audio signal and the right analog audio signal is detected in real time by the correction module, so that the crosstalk cancellation module can adjust the internal processing according to the detected stereo separation degree. Parameters, for example, when the stereo separation degree is small, increasing the amplification system in the enhancement device, reducing the sampling period of the delay device, etc., the drive circuit can be adapted to different audio playback devices, and the application range of the drive circuit can be improved. .
附图说明DRAWINGS
图1为现有技术中的一种消除爆破音的方案的电路图;1 is a circuit diagram of a solution for eliminating popping sound in the prior art;
图2为本申请实施例提供的一种偏置电压输出电路的示意图;2 is a schematic diagram of a bias voltage output circuit according to an embodiment of the present application;
图3为本申请实施例的偏置电压输出模块301的第一种实现方式示意图;FIG. 3 is a schematic diagram of a first implementation manner of a bias voltage output module 301 according to an embodiment of the present application;
图4为本申请实施例的偏置电压输出模块301的第二种实现方式示意图;4 is a schematic diagram of a second implementation manner of the bias voltage output module 301 according to an embodiment of the present application;
图5为本申请实施例的AB类放大器的结构示意图;FIG. 5 is a schematic structural diagram of a class AB amplifier according to an embodiment of the present application; FIG.
图6为本申请实施例的偏置电压输出模块301的第三种实现方式示意图;FIG. 6 is a schematic diagram of a third implementation manner of the bias voltage output module 301 according to an embodiment of the present application;
图7A为本申请实施例的双向开关703的第一种实现方式示意图;7A is a schematic diagram of a first implementation manner of a bidirectional switch 703 according to an embodiment of the present application;
图7B为本申请实施例的双向开关703的第二种实现方式示意图;FIG. 7B is a schematic diagram of a second implementation manner of the bidirectional switch 703 according to the embodiment of the present application;
图8A为本申请实施例中静电放电/过度电性应力保护模块901的第一种连接方式示意图;8A is a schematic diagram of a first connection manner of an electrostatic discharge/over-electric stress protection module 901 according to an embodiment of the present application;
图8B为本申请实施例中静电放电/过度电性应力保护模块901的第二种连接方式示意图;FIG. 8B is a schematic diagram of a second connection manner of the electrostatic discharge/over-electric stress protection module 901 in the embodiment of the present application;
图8C为本申请实施例中静电放电/过度电性应力保护模块901的第三种连接方式示意图;8C is a schematic diagram of a third connection manner of the electrostatic discharge/over-electric stress protection module 901 in the embodiment of the present application;
图9为本申请实施例中静电放电/过度电性应力保护模块901的结构示意图;FIG. 9 is a schematic structural diagram of an electrostatic discharge/over-electric stress protection module 901 according to an embodiment of the present application;
图10为本申请实施例的逻辑控制模块302中的检测模块的结构示意图;FIG. 10 is a schematic structural diagram of a detection module in a logic control module 302 according to an embodiment of the present application;
图11为本申请实施例中泄放电模块304的结构示意图;FIG. 11 is a schematic structural diagram of a bleeder and discharge module 304 according to an embodiment of the present application;
图12A为本申请实施例中滤波电阻305的第一种连接方式示意图;12A is a schematic diagram of a first connection manner of a filter resistor 305 according to an embodiment of the present application;
图12B为本申请实施例中滤波电阻305的第二种连接方式示意图;12B is a schematic diagram of a second connection manner of the filter resistor 305 according to an embodiment of the present application;
图13为本申请实施例中的偏置电压输出电路的一种具体的示例的示意图;13 is a schematic diagram of a specific example of a bias voltage output circuit in an embodiment of the present application;
图14A为现有技术中采用OMTP标准制式的耳机的结构示意图;14A is a schematic structural diagram of an earphone adopting the OMTP standard system in the prior art;
图14B为现有技术中采用CTIA标准制式的耳机的结构示意图;14B is a schematic structural diagram of an earphone using a CTIA standard system in the prior art;
图15为现有技术中当耳机采用USB Type-C标准制式时耳机插座中分别与麦克风和耳机地连接的导线之间增加的一组模拟开关的连接方式示意图;15 is a schematic diagram showing a connection manner of a set of analog switches added between wires connected to a microphone and a headphone in a headphone socket when the earphone adopts the USB Type-C standard system in the prior art;
图16为现有技术耳机的左右路信号在传输过程发生串扰的示意图;16 is a schematic diagram of crosstalk of left and right signals of a prior art earphone during transmission;
图17为本申请实施例提供的一种音频输出装置的驱动电路的结构示意图;FIG. 17 is a schematic structural diagram of a driving circuit of an audio output device according to an embodiment of the present disclosure;
图18为本申请实施例中串扰消除模块1802的一种实现方式的结构示意图;FIG. 18 is a schematic structural diagram of an implementation manner of a crosstalk cancellation module 1802 according to an embodiment of the present application;
图19为本申请实施例中驱动电路的一种实现方式的结构示意图;FIG. 19 is a schematic structural diagram of an implementation manner of a driving circuit in an embodiment of the present application;
图20为本申请实施例中驱动电路的另一种实现方式的结构示意图;20 is a schematic structural diagram of another implementation manner of a driving circuit in an embodiment of the present application;
图21为本申请实施例中校正模块1806的一种实现方式的结构示意图。FIG. 21 is a schematic structural diagram of an implementation manner of the correction module 1806 in the embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施例作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms in the embodiments of the present application will be explained so as to be understood by those skilled in the art.
(1)爆破音:指的是在使用外接音频播放装置,例如,耳机或者喇叭等设备,播放声音的时候,在该外接音频播放装置上产生的瞬态音频信号。这种爆破音主要是由于与外接音频播放装置连接的播放设备上面的直流电平发生了跳变而产生的,一般存在于以下两种应用场景下:播放设备的系统(或芯片)的正常(或非正常)上下电过程,以及播放设备与外接音频播放装置的连接(或断开)过程中。本申请实施例中主要解决播放设备与外接音频播放装置的连接(或断开)过程中产生的爆破音问题。(1) Plosive sound: refers to a transient audio signal generated on an external audio playback device when an external audio playback device, such as a headphone or a speaker, is used to play the sound. This plosive sound is mainly caused by a jump in the DC level of the playback device connected to the external audio playback device, and generally exists in the following two application scenarios: the system (or chip) of the playback device is normal (or Abnormal) power-on and power-off process, and the connection (or disconnection) of the playback device to the external audio playback device. In the embodiment of the present application, the problem of popping sound generated during the connection (or disconnection) between the playback device and the external audio playback device is mainly solved.
(2)静电放电:指的是当器件在遭受到自身或其它由外部器件产生的静电时,该器件瞬间放电所造成的破坏情形。静电是一种客观存在的自然现象,产生的方式如接触、摩擦、电器间感应等。人体自身的动作或与其他物体的接触、分离和摩擦等,可以产生几千甚至上万伏的静电,而一般芯片的ESD防护标准都只有两千伏,所以由人体产生的静电往往会造成电子电器产品运行不稳定,甚至损坏。(2) Electrostatic discharge: Refers to the damage caused by the instantaneous discharge of the device when it is subjected to static electricity generated by itself or other external devices. Static electricity is an objective natural phenomenon, such as contact, friction, and electrical induction. The body's own actions or contact, separation and friction with other objects can generate thousands or even tens of thousands of volts of static electricity. The general chip's ESD protection standard is only two thousand volts, so the static electricity generated by the human body often causes electrons. Electrical products are unstable or even damaged.
(3)过度电性应力:是指器件外部的电压或者电流过高,超过器件所能承受的电压或者电流的最大规范条件时,产生热效应,导致器件的性能减弱甚至损坏。通常来见,EOS是指由测试机台、生产机台、仪器、治具等,产生的设计不当电压(流)或漏电流,对其他器件所造成的破坏情形。(3) Excessive electrical stress: When the voltage or current outside the device is too high, exceeding the maximum specification of the voltage or current that the device can withstand, a thermal effect occurs, resulting in weakened or even damaged performance of the device. Generally speaking, EOS refers to the damage caused by improper design voltage (flow) or leakage current generated by test machine, production machine, instrument, fixture, etc., to other devices.
(4)时分双工(time division dual,TDD)噪声:对于全球移动通信系统(global system for mobile communication,GSM)通信协议来说,终端设备射频功放需要每隔4.6毫秒(也就是217Hz)发射信号和基站通信,该信号包含900MHz/1800MHz,或是1900MHz的GSM信号以及功率放大器的包络线。当接收信号不好时,终端设备会加大发射功率,导致干扰终端设备内部用于拾音的麦克风,以及用于放音的听筒或者耳机,这种干扰所反映出来的结果就是:当终端设备来电播放铃音,或者在进行语音通话,播放短信提示音等应用场景下,会在话筒或者耳机中会听到“哼哼”或者“嗡嗡”的电流声。(4) Time division dual (TDD) noise: For the global system for mobile communication (GSM) communication protocol, the terminal equipment RF power amplifier needs to transmit signals every 4.6 milliseconds (that is, 217 Hz). Communicating with the base station, the signal contains 900MHz/1800MHz, or 1900MHz GSM signal and the envelope of the power amplifier. When the receiving signal is not good, the terminal device will increase the transmitting power, causing interference with the microphone for picking up the sound inside the terminal device, and the earpiece or earphone for playing the sound. The result reflected by the interference is: when the terminal device When the caller plays a ring tone, or in an application scenario such as making a voice call or playing a short message tone, the current sound of “哼哼” or “嗡嗡” will be heard in the microphone or earphone.
(5)外接音频输出装置:可以是耳机、音箱、扬声器等装置。其中,耳机可以是开放终端设备平台组织(OMTP)标准制式的耳机,也可以是美国无线通信和互联网协会(CTIA)标准制式的耳机,也可以是采用USB Type-C标准制式的耳机,当然,也可以是未来通信技术发展中的其他制式的耳机。(5) External audio output device: It can be a device such as a headphone, a speaker or a speaker. The earphones may be earphones of the Open Terminal Equipment Platform Organization (OMTP) standard system, or may be the headphones of the American Wireless Communications and Internet Association (CTIA) standard system, or may be headphones adopting the USB Type-C standard system. It can also be other standard headphones in the development of future communication technologies.
(6)音频播放设备:可以是终端设备、计算机、助听器或者虚拟现实设备等需要播放音频的设备。其中,终端设备可以是包括向用户提供语音和/或数据连通性的设备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网(radio access network,RAN)与核心网进行通信,与RAN交换语音和/或数据。该终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、移动电话(或称为“蜂窝”电话),便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,智能穿戴式设备等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(SIP)话机、智能头盔等设备。(6) Audio playback device: It can be a device that needs to play audio, such as a terminal device, a computer, a hearing aid, or a virtual reality device. Wherein, the terminal device may be a device including providing voice and/or data connectivity to the user, for example, may include a handheld device having a wireless connection function, or a processing device connected to the wireless modem. The terminal device can communicate with the core network via a radio access network (RAN) to exchange voice and/or data with the RAN. The terminal device may include a user equipment (UE), a wireless terminal device, a mobile terminal device, a mobile phone (or "cellular" phone), a portable, a pocket, a handheld, a computer built-in or a mobile device. , smart wearable devices, etc. For example, personal communication service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, smart helmets, and the like.
(7)立体声分离度:表征音频输出装置中左、右两个声道之间相互串扰的程度,两 个声道之间串扰越大,则立体声分离度越小。(7) Stereo Separation: Characterizes the degree of crosstalk between the left and right channels of the audio output device. The greater the crosstalk between the two channels, the smaller the stereo separation.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the contextual object is an "or" relationship.
由于现有技术中,如图1所示的方案中,通过开关S1和开关S2解决了耳机插拔过程中产生的爆破音问题,但是由于开关S1直接与耳机接口连接,这样,当开关S1处于连接状态,且终端设备由于摩擦、电子设备之间的感应等因素产生静电或者终端设备使用电压过高的充电器进行充电时,与开关S1构成回路的MICBIAS芯片则会因为该静电或者该充电器的放电而造成ESD或EOS问题,可见,现有技术中用于给外接音频输出装置提供偏置电压的偏置电压输出电路无法同时解决外接音频输出装置在插拔过程中的爆破音、ESD和EOS问题。In the prior art, in the solution shown in FIG. 1, the problem of the popping sound generated during the insertion and removal of the earphone is solved by the switch S1 and the switch S2, but since the switch S1 is directly connected to the earphone interface, when the switch S1 is at In the connection state, and the terminal device generates static electricity due to factors such as friction, induction between electronic devices, or the charger of the terminal device using excessive voltage, the MICBIAS chip forming a loop with the switch S1 may be due to the static electricity or the charger. The discharge causes the ESD or EOS problem. It can be seen that the bias voltage output circuit used in the prior art for providing the bias voltage to the external audio output device cannot simultaneously solve the popping sound, ESD and the external audio output device during the plugging and unplugging process. EOS problem.
鉴于此,本申请实施例提供一种音频播放设备的偏置电压输出电路,用于同时解决POP、ESD以及EOS问题。In view of this, the embodiment of the present application provides a bias voltage output circuit of an audio playback device for simultaneously solving POP, ESD, and EOS problems.
下面,将结合附图介绍本发明实施例提供的技术方案,在下面的介绍过程中,将以音频播放设备为终端设备、外接音频输出装置为耳机为例进行说明。In the following, the technical solution provided by the embodiment of the present invention will be described with reference to the accompanying drawings. In the following description, an audio playback device as a terminal device and an external audio output device as an earphone will be taken as an example for description.
请参考图2,为本申请实施例提供的一种偏置电压输出电路,该偏置电压输出电路包括偏置电压输出模块301、逻辑控制模块302、滤波电容303以及泄放电模块304。其中,偏置电压输出模块301与终端设备上的耳机接口连接,当终端设备的用户将耳机插入到终端设备上的耳机插孔时,逻辑控制模块302与耳机连接,逻辑控制模块302则会检测该插入操作,然后则触发与该逻辑控制模块302的第一输出端连接的偏置电压输出模块301输出偏置电压,此时,耳机则在偏置电压输出模块301输出的偏置电压的作用下处于工作状态。在耳机处于工作状态时,偏置电压输出电路中与偏置电压输出模块连接的滤波电容303,则用于滤除偏置电压输出模块301在输出耳机所需的偏置电压的过程中产生的噪声以及在偏置电压输出模块301输出该偏置电压的过程中存储电量;当终端设备的用户将耳机从耳机插孔中拔出时,耳机与终端设备断开连接,逻辑控制模块302检测该拔出操作,然后触发偏置电压输出模块301停止输出偏置电压,同时,逻辑控制模块302控制与其第二输出端连接的泄放电模块304泄放滤波电容303中存储的电量,以避免由滤波电容303中的残余电压造成的爆破音。Please refer to FIG. 2 , which is a bias voltage output circuit according to an embodiment of the present application. The bias voltage output circuit includes a bias voltage output module 301 , a logic control module 302 , a filter capacitor 303 , and a bleeder module 304 . The bias voltage output module 301 is connected to the earphone interface on the terminal device. When the user of the terminal device inserts the earphone into the earphone jack on the terminal device, the logic control module 302 is connected to the earphone, and the logic control module 302 detects The insertion operation then triggers the bias voltage output module 301 connected to the first output terminal of the logic control module 302 to output a bias voltage. At this time, the bias voltage of the earphone outputted by the bias voltage output module 301 is applied. Under work. When the earphone is in an operating state, the filter capacitor 303 connected to the bias voltage output module in the bias voltage output circuit is used to filter out the bias voltage output module 301 generated during the output of the bias voltage required by the earphone. The noise is stored in the process of outputting the bias voltage by the bias voltage output module 301; when the user of the terminal device pulls the earphone out of the earphone jack, the earphone is disconnected from the terminal device, and the logic control module 302 detects the The pull-out operation then triggers the bias voltage output module 301 to stop outputting the bias voltage, and at the same time, the logic control module 302 controls the bleeder module 304 connected to the second output terminal to discharge the amount of power stored in the filter capacitor 303 to avoid filtering. The plosive sound caused by the residual voltage in the capacitor 303.
进一步,在该电路中,逻辑控制模块302分别与偏置电压输出模块301以及泄放电模块304连接,且通过分别对偏置电压输出模块301及泄放电模块304的状态的控制已经能够解决爆破音问题,从而不再像现有技术,例如,图1所述的方案,需要在电路中设置开关S1,自然也就不存在现有技术中由于静电或者外部电压通过MICP直接打到开关S1上造成的MICBIAS芯片的ESD和EOS问题,且在该电路中,该泄放电模块304不直接与音频播放设备中的外接音频输出装置的接口连接,从而可以避免静电或者外部电压通过MICP直接打到的泄放电模块,可以解决现有技术中通过外接音频输出装置的MICP造成对偏置电压输出电路的ESD和EOS问题,即,同时解决了POP、ESD以及EOS问题。Further, in the circuit, the logic control module 302 is respectively connected to the bias voltage output module 301 and the bleeder module 304, and the blowdown can be solved by controlling the states of the bias voltage output module 301 and the bleeder module 304, respectively. The problem is that, unlike the prior art, for example, the solution described in FIG. 1, it is necessary to provide the switch S1 in the circuit, and naturally there is no prior art due to static electricity or an external voltage directly hitting the switch S1 through the MICP. The ECD and EOS problems of the MICBIAS chip, and in the circuit, the bleeder module 304 is not directly connected to the interface of the external audio output device in the audio playback device, thereby avoiding the leakage of static electricity or external voltage directly through the MCP. The discharge module can solve the ESD and EOS problems of the bias voltage output circuit caused by the MCP of the external audio output device in the prior art, that is, solve the POP, ESD and EOS problems at the same time.
在实际应用中,偏置电压输出模块301可以采用多种实现方式,例如,包括但不限于如下三种:In practical applications, the bias voltage output module 301 can adopt various implementation manners, for example, including but not limited to the following three types:
第一种实现方式:The first way to achieve:
请参考图3,偏置电压输出模块301包括电压生成模块401、误差放大模块402、第一 驱动模块403以及输出电压采样及反馈模块404,其中:Referring to FIG. 3, the bias voltage output module 301 includes a voltage generating module 401, an error amplifying module 402, a first driving module 403, and an output voltage sampling and feedback module 404, wherein:
电压生成模块401的输出端与误差放大模块402的第一输入端连接,电压生成模块401用于生成参考电压,该参考电压的取值为耳机所需的偏置电压的取值,并将生成的参考电压输入给误差放大模块402;误差放大模块402的输出端与第一驱动模块403的输入端连接,误差放大模块402用于对该参考电压进行稳压处理,输出偏置电压,并将该偏置电压输出给第一驱动模块403;第一驱动模块403的输出端与耳机的接口连接,用于当耳机接入到接口时,通过该偏置电压驱动该耳机进入工作状态;输出电压采样及反馈模块404的输入端与第一驱动模块403的输出端连接,输出电压采样及反馈模块404的输出端与误差放大模块402的第二输入端连接,用于对该偏置电压进行采样,并将采样结果反馈给误差放大模块402,误差放大模块402则根据该采样结果调整参考电压的电压值。An output end of the voltage generating module 401 is connected to the first input end of the error amplifying module 402. The voltage generating module 401 is configured to generate a reference voltage, where the value of the reference voltage is a value of a bias voltage required by the earphone, and is generated. The reference voltage is input to the error amplifying module 402; the output of the error amplifying module 402 is connected to the input end of the first driving module 403, and the error amplifying module 402 is used for voltage stabilizing the reference voltage, outputting a bias voltage, and The bias voltage is output to the first driving module 403; the output end of the first driving module 403 is connected to the interface of the earphone, and is used to drive the earphone into the working state through the bias voltage when the earphone is connected to the interface; The input end of the sampling and feedback module 404 is connected to the output end of the first driving module 403, and the output end of the output voltage sampling and feedback module 404 is connected to the second input end of the error amplifying module 402 for sampling the bias voltage. And the sampling result is fed back to the error amplification module 402, and the error amplification module 402 adjusts the voltage value of the reference voltage according to the sampling result.
在实际应用中,电压生成模块401可以是电压参考源。在选择电压参考源时,需要根据耳机所需的偏置电压以及输出电路要求的分辨率精度、工作温度范围等情况综合考虑。电压参考源可以分为带隙电压参考源和稳压管电压参考源两类。带隙电压参考源结构是将一个正向偏置PN结和一个具有热电势(VT)的电压源串联,利用PN结的负温度系数与VT的正温度系数相抵消实现温度补偿,从而输出一个稳定的基准电压。稳压管电压参考源的结构是将一个次表面击穿的稳压管和一个PN结串联,利用稳压管的正温度系数和PN结的负温度系数相抵消实现温度补偿,从而输出稳定的基准电压。通常来讲,稳压管电压参考源提供的基准电压较高,约7V,而带隙电压参考源的基准电压比较低,因此,在实际使用中,可以根据耳机所需的偏置电压的大小选择合适的电压参考源的类型,当然,也可以直接使用参考电压芯片,例如,MAX6350芯片、MAX675芯片等,在此不再赘述。In a practical application, the voltage generation module 401 can be a voltage reference source. When selecting the voltage reference source, it is necessary to consider the bias voltage required by the earphone and the resolution accuracy and operating temperature range required by the output circuit. The voltage reference source can be divided into a bandgap voltage reference source and a Zener voltage reference source. The bandgap voltage reference source structure is a series connection of a forward biased PN junction and a voltage source having a thermoelectric potential (VT), which is compensated by the negative temperature coefficient of the PN junction and the positive temperature coefficient of the VT, thereby outputting a temperature A stable reference voltage. The voltage regulator reference voltage is constructed by connecting a Zener diode with a subsurface breakdown in series with a PN junction, and the temperature is compensated by the positive temperature coefficient of the Zener diode and the negative temperature coefficient of the PN junction, so that the output is stable. The reference voltage. Generally speaking, the voltage reference of the Zener voltage reference source is higher, about 7V, and the reference voltage of the bandgap voltage reference source is relatively low. Therefore, in actual use, the bias voltage required by the earphone can be used. Select the appropriate type of voltage reference source. Of course, you can also use the reference voltage chip directly, for example, the MAX6350 chip, the MAX675 chip, etc., and will not be described here.
误差放大模块402可以是一个误差放大器(error amplifier,EA)。误差放大器的工作原理为:比较两端输入的电压的差值,其中一个输入端输入的电压即为电压生成模块401生成的参考电压,另一个输入端的电压为预设的基准电压,从而获取这两个电压的差值信号,输出到误差放大器内部的调整管的栅极,控制调整管的工作状态,校正电压的脉冲占空比,从而使误差放大器输出的电压保持稳定。在实际使用中,误差放大模块402可以是通过上述工作原理选择相应的器件构成的误差放大电路,也可以是误差放大器芯片,例如TL431芯片等,在此不作限制。The error amplification module 402 can be an error amplifier (EA). The error amplifier works by comparing the difference between the voltages input at both ends, wherein the voltage input to one input terminal is the reference voltage generated by the voltage generating module 401, and the voltage at the other input terminal is the preset reference voltage, thereby obtaining the The difference signal of the two voltages is output to the gate of the adjustment tube inside the error amplifier, controls the operating state of the adjustment tube, and corrects the pulse duty ratio of the voltage, so that the voltage outputted by the error amplifier remains stable. In actual use, the error amplifying module 402 may be an error amplifying circuit formed by selecting a corresponding device by the above working principle, or may be an error amplifier chip, such as a TL431 chip, etc., which is not limited herein.
第一驱动模块403可以由驱动器构成,也可以由功率管,例如Power MOS管构成。其中,驱动器或功率管的尺寸和功率需要根据整个电路的需求以及耳机所需的偏置电压的大小来决定,在此不作限制。The first driving module 403 may be composed of a driver or a power tube such as a Power MOS transistor. The size and power of the driver or the power tube need to be determined according to the requirements of the entire circuit and the magnitude of the bias voltage required by the earphone, and are not limited herein.
输出电压采样及反馈模块404具体可以是采样电路。通过采样电路对该偏置电压进行采样,并将采样结果反馈至误差放大模块402。输出电压采样及反馈模块404可以直接将偏置电压的采样信号直接输出至误差放大模块402,以使误差放大模块402根据采样信号确定对输出电压的控制,例如增大电压或者降低电压等;也可以是将偏置电压的采样信号与一个标准电压的比较结果输出至误差放大模块402,例如,若采样信号的电压与标准电压的差值在预设范围内,则输出低电平,若采样信号的电压与标准电压的差值超过了预设范围,则输出高电平,这样,误差放大模块402则直接根据该比较结果对输出电压进行控制。当然,本领域技术人员也可以采用其他反馈方式,在此不作限制。The output voltage sampling and feedback module 404 can be specifically a sampling circuit. The bias voltage is sampled by the sampling circuit, and the sampling result is fed back to the error amplification module 402. The output voltage sampling and feedback module 404 can directly output the sampling signal of the bias voltage to the error amplifying module 402, so that the error amplifying module 402 determines the control of the output voltage according to the sampling signal, such as increasing the voltage or lowering the voltage; The comparison result of the sampling signal of the bias voltage and a standard voltage may be output to the error amplification module 402. For example, if the difference between the voltage of the sampling signal and the standard voltage is within a preset range, the output is low, if sampling When the difference between the voltage of the signal and the standard voltage exceeds the preset range, the high level is output, and thus the error amplifying module 402 directly controls the output voltage according to the comparison result. Of course, other feedback methods may also be used by those skilled in the art, which are not limited herein.
为了降低偏置电压输出电路的噪声,使偏置电压输出电路输出的偏置电压更加稳定,本申请实施例提供偏置电压输出模块301第二种实现方式:In order to reduce the noise of the bias voltage output circuit, the bias voltage outputted by the bias voltage output circuit is more stable. The second embodiment of the bias voltage output module 301 is provided in the embodiment of the present application:
请参考图4,偏置电压输出模块301包括电压生成模501、误差放大模块502、AB类电平转换控制模块503、第二驱动模块504以及输出电压采样及反馈模块505,其中:Referring to FIG. 4, the bias voltage output module 301 includes a voltage generating module 501, an error amplifying module 502, a class AB level shift control module 503, a second driving module 504, and an output voltage sampling and feedback module 505, wherein:
电压生成模块501的输出端与误差放大模块502的第一输入端连接,电压生成模块501用于生成参考电压,该参考电压的取值为耳机所需的偏置电压的取值,并将生成的参考电压输入给误差放大模块502;误差放大模块502的输出端与AB类电平转换控制模块503的输入端连接,误差放大模块502用于对该参考电压进行稳压处理,输出调整后的电压,并将该调整后的电压输出给AB类电平转换控制模块503;AB类电平转换控制模块503的输出端与第二驱动模块504的输入端连接,用于将该调整后的电压转换为偏置电压,并将该偏置电压输出给第二驱动模块504。在这种实现方式中,该偏置电压的类型为AB类控制电平信号,该AB类控制电平信号的TDD噪声小于该调整后的电压的TDD噪声;第二驱动模块504的输出端与该耳机连接,用于通过该偏置电压驱动该耳机进入工作状态;输出电压采样及反馈模块505的输入端与第二驱动模块504的输出端连接,输出电压采样及反馈模块505的输出端与误差放大模块502的第二输入端连接,用于对该AB类控制电平信号进行采样,并将采样结果反馈给误差放大模块502,误差放大模块502则根据该采样结果调整该参考电压的电压值。An output end of the voltage generating module 501 is connected to the first input end of the error amplifying module 502, and the voltage generating module 501 is configured to generate a reference voltage, where the value of the reference voltage is a value of a bias voltage required by the earphone, and is generated. The reference voltage is input to the error amplification module 502; the output of the error amplification module 502 is connected to the input of the class AB level conversion control module 503, and the error amplification module 502 is used for voltage regulation of the reference voltage, and the output is adjusted. And adjusting the voltage to the class AB level conversion control module 503; the output of the class AB level conversion control module 503 is connected to the input end of the second driver module 504 for using the adjusted voltage The conversion is converted to a bias voltage, and the bias voltage is output to the second driving module 504. In this implementation, the type of the bias voltage is a class AB control level signal, and the TDD noise of the class AB control level signal is less than the TDD noise of the adjusted voltage; the output of the second driving module 504 is The earphone is connected to drive the earphone into an operating state by the bias voltage; the input end of the output voltage sampling and feedback module 505 is connected to the output end of the second driving module 504, and the output of the output voltage sampling and feedback module 505 is The second input end of the error amplifying module 502 is connected to sample the class AB control level signal, and feed the sampling result to the error amplifying module 502, and the error amplifying module 502 adjusts the voltage of the reference voltage according to the sampling result. value.
在实际应用中,AB类电平转换控制模块503可以由AB类放大器构成。AB类放大器的结构如图5所示,由两个晶体管Q1和Q2构成,并在晶体管Q1和晶体管Q2之间加上两个相同的V BB电压。AB类放大器通常是两个晶体管配合进行,两个晶体管采用推挽工作方式,当有电压信号输入时,两个晶体管中的其中一个晶体管截止,而另外一个晶体管导通,两个晶体管始终是轮流截止和导通,从而AB类放大器产生的热量较小,并且效率较高。 In practical applications, the class AB level shift control module 503 can be constructed of a class AB amplifier. The structure of the class AB amplifier is shown in Figure 5, consisting of two transistors Q1 and Q2, and adding two identical V BB voltages between transistor Q1 and transistor Q2. Class AB amplifiers are usually combined with two transistors. The two transistors use a push-pull operation. When a voltage signal is input, one of the two transistors is turned off, and the other transistor is turned on. The two transistors are always turned on. Cut-off and conduction, so that Class AB amplifiers generate less heat and are more efficient.
AB类放大器的输出可以为差分输出,如图4所示,当然也可以是单端输出,在本申请实施例中以AB类放大器差分输出为例。当AB类放大器为差分输出时,驱动模块504可以由两个驱动器或者两个功率管构成,例如第二驱动模块504包括两个金属-氧化物-半导体晶体管,其中一个为P型金属-氧化物-半导体晶体管(pmos管),另一个为N型金属-氧化物-半导体晶体管(nmos管)。其中,驱动器或功率管的尺寸和功率需要根据整个电路的需求以及耳机所需的偏置电压的大小来决定,在此不作限制。The output of the class AB amplifier can be a differential output, as shown in FIG. 4, and of course, it can also be a single-ended output. In the embodiment of the present application, a differential output of a class AB amplifier is taken as an example. When the class AB amplifier is a differential output, the driving module 504 may be composed of two drivers or two power transistors. For example, the second driving module 504 includes two metal-oxide-semiconductor transistors, one of which is a P-type metal-oxide. - a semiconductor transistor (pmos tube) and the other an N-type metal-oxide-semiconductor transistor (nmos tube). The size and power of the driver or the power tube need to be determined according to the requirements of the entire circuit and the magnitude of the bias voltage required by the earphone, and are not limited herein.
在实际应用中,电压生成模501、误差放大模块502以及输出电压采样及反馈模块505分别与第一种实现方式中的电压生成模块401、误差放大模块402以及输出电压采样及反馈模块404相似,在此不再赘述。In a practical application, the voltage generating module 501, the error amplifying module 502, and the output voltage sampling and feedback module 505 are similar to the voltage generating module 401, the error amplifying module 402, and the output voltage sampling and feedback module 404 in the first implementation manner, respectively. I will not repeat them here.
上述偏置电压输出模块301的两种实现方式中,第一种实现方式更为简单,第二种实现方式输出的偏置电压更为稳定,而对于终端设备而言,不同的电路布局会对偏置电压有不同的需求,例如,当偏置电压输出模块301布局的位置与耳机插座的位置较远时,偏置电压输出模块301和耳机插座的地平面可能不一致,从而使终端设备在通信过程中更容易出现TDD噪声,此时则需要偏置电压更为稳定;而当置电压输出模块301布局的位置与耳机插座的位置较近时,此时则可以使用简单的偏置电压输出电路来降低电路的复杂度。因此,本申请实施例提供偏置电压输出模块301的第三种实现方式:In the two implementation manners of the bias voltage output module 301, the first implementation is simpler, and the bias voltage outputted by the second implementation is more stable, and for the terminal device, different circuit layouts will be There are different requirements for the bias voltage. For example, when the position of the bias voltage output module 301 is located far from the position of the earphone jack, the ground planes of the bias voltage output module 301 and the headphone jack may be inconsistent, so that the terminal device is in communication. In the process, TDD noise is more likely to occur, and the bias voltage is more stable at this time; and when the position of the voltage output module 301 is placed closer to the position of the earphone socket, a simple bias voltage output circuit can be used at this time. To reduce the complexity of the circuit. Therefore, the embodiment of the present application provides a third implementation manner of the bias voltage output module 301:
请参考图6,偏置电压输出模块301包括电压生成模块701、误差放大模块702、双向开关703、第三驱动模块704、AB类电平转换控制模块705、第四驱动模块706以及输出电压采样及反馈模块707,其中:Referring to FIG. 6, the bias voltage output module 301 includes a voltage generating module 701, an error amplifying module 702, a bidirectional switch 703, a third driving module 704, a class AB level shift control module 705, a fourth driving module 706, and an output voltage sampling. And a feedback module 707, wherein:
电压生成模块701的输出端与误差放大模块702的第一输入端连接,电压生成模块701用于生成参考电压,该参考电压的取值为耳机所需的偏置电压的取值,并将生成的参考电压输入给误差放大模块702;误差放大模块702的输出端与双向开关703的输入端连接,双向开关703的第一输出端与第一驱动模块704连接,双向开关703的第二输出端与AB类电平转换控制模块705连接,在双向开关703与双向开关703的第一输出端形成第一通路时,误差放大模块702用于对该参考电压进行稳压处理,输出偏置电压,并将该偏置电压输出给第三驱动模块704,在双向开关703与双向开关703的第二输出端形成第二通路时,误差放大模块702用于对该参考电压进行稳压处理,输出调整后的电压,并将该调整后的电压输出给AB类电平转换控制模块705;双向开关703与逻辑控制模块302连接,用于在逻辑控制模块302的作用下选择形成该第一通路或形成该第二通路;第三驱动模块704的输出端与耳机连接,用于在双向开关703形成该第一通路时,通过该偏置电压驱动该耳机进入工作状态;AB类电平转换控制模块705的输出端与第四驱动模块706的输入端连接,用于在双向开关703形成该第二通路时,将该调整后的电压转换为偏置电压,并将该偏置电压输出给第四驱动模块706,该偏置电压的类型为AB类控制电平信号,该AB类控制电平信号的TDD噪声小于该调整后的电压的TDD噪声;第四驱动模块706的输出端与耳机连接,用于通过该偏置电压驱动该耳机进入工作状态;输出电压采样及反馈模块707的输入端分别与第三驱动模块704的输出端以及第四驱动模块706的输出端连接,输出电压采样及反馈模块707的输出端与误差放大模块702的第二输入端连接,用于对该偏置电压进行采样,并将采样结果反馈至误差放大模块702,误差放大模块702则根据该采样结果调整该参考电压的电压值。An output end of the voltage generating module 701 is connected to the first input end of the error amplifying module 702, and the voltage generating module 701 is configured to generate a reference voltage, where the value of the reference voltage is a value of a bias voltage required by the earphone, and is generated. The reference voltage is input to the error amplifying module 702; the output of the error amplifying module 702 is connected to the input end of the bidirectional switch 703, the first output end of the bidirectional switch 703 is connected to the first driving module 704, and the second output end of the bidirectional switch 703 Connected to the class AB level conversion control module 705, when the first path of the bidirectional switch 703 and the first output end of the bidirectional switch 703 is formed, the error amplifying module 702 is configured to perform voltage stabilization processing on the reference voltage, and output a bias voltage. The bias voltage is output to the third driving module 704. When the second path is formed by the bidirectional switch 703 and the second output end of the bidirectional switch 703, the error amplifying module 702 is configured to perform voltage stabilization processing on the reference voltage, and output adjustment. After the voltage, the adjusted voltage is output to the class AB level conversion control module 705; the bidirectional switch 703 is connected to the logic control module 302 for logic control The first module or the second path is formed by the module 302. The output of the third driving module 704 is connected to the earphone for driving the bias voltage when the bidirectional switch 703 forms the first path. The earphone enters an operating state; an output end of the class AB level shift control module 705 is connected to an input end of the fourth driving module 706, and is configured to convert the adjusted voltage into a bias when the second path is formed by the bidirectional switch 703 Setting a voltage, and outputting the bias voltage to the fourth driving module 706, the type of the bias voltage is a class AB control level signal, and the TDD noise of the class AB control level signal is less than the TDD noise of the adjusted voltage. The output end of the fourth driving module 706 is connected to the earphone for driving the earphone into the working state by the bias voltage; the input end of the output voltage sampling and feedback module 707 is respectively connected with the output end of the third driving module 704 and the fourth The output of the driving module 706 is connected, and the output of the output voltage sampling and feedback module 707 is connected to the second input of the error amplifying module 702 for sampling the bias voltage. And the sampling result is fed back to the error amplifier module 702, a module error amplifier 702 to adjust the reference voltage value based on the sampling result.
这样,通过双向开关703将第一种实现方式和第二种实现方式结合起来,在具体使用过程中,技术人员则根据使用需要,灵活选择第一通路或第二通路输出偏置电压,从而使偏置电压输出模块301更符合使用需求。进一步,当偏置电压输出模块301使用AB类电平转换控制模块705输出偏置电压时,由于AB类控制电平更加稳定,从而可以在不增加额外的降噪电容的前提下改善TDD噪声,可以减少终端设备的电路板面积,易于终端设备的微型化。In this way, the first implementation mode and the second implementation manner are combined by the bidirectional switch 703. In the specific use process, the technician flexibly selects the first path or the second path output bias voltage according to the use requirement, thereby The bias voltage output module 301 is more suitable for use. Further, when the bias voltage output module 301 outputs the bias voltage using the class AB level shift control module 705, since the class AB control level is more stable, the TDD noise can be improved without adding additional noise reduction capacitors. It is possible to reduce the board area of the terminal device and to facilitate miniaturization of the terminal device.
当然,为了能够使偏置电压输出模块301更加自动化,第三种实现方式中的双向开关703也可以使用芯片进行控制。例如,通过在芯片中烧写软件程序,检测偏置电压输出模块301与耳机插座的距离,当距离大于预设阈值时,则该芯片控制双向开关703选择第二通路,当距离小于预设阈值时,则该芯片控制双向开关703选择第一通路,简化技术人员对偏置电压输出模块301的控制操作。Of course, in order to enable the bias voltage output module 301 to be more automated, the bidirectional switch 703 in the third implementation can also be controlled using a chip. For example, by programming a software program in the chip, detecting the distance between the bias voltage output module 301 and the earphone socket, when the distance is greater than the preset threshold, the chip controls the bidirectional switch 703 to select the second path when the distance is less than a preset threshold. At this time, the chip controls the bidirectional switch 703 to select the first path, which simplifies the control operation of the bias voltage output module 301 by the technician.
在实际应用中,电压生成模块701、误差放大模块702、第三驱动模块704以及输出电压采样及反馈模块707分别与第一种实现方式中的电压生成模块401、误差放大模块402、第一驱动模块403以及输出电压采样及反馈模块404相似,AB类电平转换控制模块705以及第四驱动模块706分别与第二种实现方式中的AB类电平转换控制模块503以及第二驱动模块504相似,在此不再赘述。In a practical application, the voltage generating module 701, the error amplifying module 702, the third driving module 704, and the output voltage sampling and feedback module 707 are respectively combined with the voltage generating module 401, the error amplifying module 402, and the first driving in the first implementation manner. The module 403 is similar to the output voltage sampling and feedback module 404, and the class AB level shift control module 705 and the fourth driver module 706 are similar to the class AB level shift control module 503 and the second driver module 504 of the second implementation, respectively. , will not repeat them here.
双向开关703具体可以是一个具有两个接口的选择开关,两个接口分别连接第三驱动模块704以及AB类电平转换控制模块705,如图7A所示;也可以是由多个开关构成,例如双向开关可以由两个独立的单接口开关构成,第三驱动模块704以及AB类电平转换控制模块705分别连接一个单接口开关,需要使用哪个模块则控制与该模块连接的单接口开 关导通,如图7B所示。该选择开关或单接口开关具体可以是一个独立的开关器件,也可以是由利用MOS管或者逻辑运算芯片构成,在本申请实施例中不对双向开关703的具体结构进行限制。The bidirectional switch 703 may specifically be a selection switch having two interfaces, and the two interfaces are respectively connected to the third driving module 704 and the class AB level conversion control module 705, as shown in FIG. 7A; or may be composed of multiple switches. For example, the bidirectional switch can be composed of two independent single interface switches, and the third driving module 704 and the class AB level conversion control module 705 are respectively connected to a single interface switch, and which module is used to control the single interface switch guide connected to the module. As shown in Figure 7B. The selection switch or the single-interface switch may be an independent switching device, or may be formed by using a MOS transistor or a logic operation chip. The specific structure of the bidirectional switch 703 is not limited in the embodiment of the present application.
为了延长偏置电压输出模块301中各个器件的使用寿命,降低各个器件受损的概率,在偏置电压输出模块301的三种实现方式中,还可以设置静电放电/过度电性应力保护模块901,如图8A-8C所示。当偏置电压输出模块301采用第一种实现方式时,如图8A所示,将静电放电/过度电性应力保护模块901与第一驱动模块403的输出端连接;当偏置电压输出模块301采用第二种实现方式时,如图8B所示,将静电放电/过度电性应力保护模块901与第二驱动模块504的输出端连接;当偏置电压输出模块301采用第三种实现方式时,如图8C所示,将静电放电/过度电性应力保护模块901与第三驱动模块704的输出端连接。这样,当该电路中存在过度电性应力或静电时,例如,该过度电性应力或静电的电压为10kV,静电放电/过度电性应力保护模块901则以一个极高的速度,例如10 -12S量级的速度,将静电放电/过度电性应力保护模块901的高阻抗变为低阻抗,同时吸收高达数千瓦的浪涌功率,使得偏置电压输出模块301两端的电压位于一个安全值,例如2.5V等,从而有效地保护偏置电压输出模块301中的各个器件免受瞬态的高电压冲击而损坏。 In order to prolong the service life of each device in the bias voltage output module 301 and reduce the probability of damage to each device, in three implementations of the bias voltage output module 301, an electrostatic discharge/over-electric stress protection module 901 may also be disposed. , as shown in Figures 8A-8C. When the bias voltage output module 301 adopts the first implementation manner, as shown in FIG. 8A, the electrostatic discharge/over-electric stress protection module 901 is connected to the output end of the first driving module 403; when the bias voltage output module 301 is When the second implementation is used, as shown in FIG. 8B, the electrostatic discharge/over-electric stress protection module 901 is connected to the output end of the second driving module 504; when the bias voltage output module 301 adopts the third implementation mode. As shown in FIG. 8C, the electrostatic discharge/overvoltage stress protection module 901 is connected to the output of the third drive module 704. Thus, when there is excessive electrical stress or static electricity in the circuit, for example, the voltage of the excessive electrical stress or static electricity is 10 kV, the electrostatic discharge/over-electric stress protection module 901 is at an extremely high speed, for example, 10 - The speed of the 12 S level changes the high impedance of the ESD/Extra-stress protection module 901 to a low impedance while absorbing surge power of up to several kilowatts, so that the voltage across the bias voltage output module 301 is at a safe value. For example, 2.5V or the like, thereby effectively protecting the respective devices in the bias voltage output module 301 from transient high voltage surges.
需要说明的是,由于ESD/EOS事件通常是由于外围设备触发的,而偏置电压输出模块301中的第一驱动模块403或第二驱动模块504或第三驱动模块704直接与耳机连接,耳机为外围设备,即第一驱动模块403或第二驱动模块504或第三驱动模块704是最容易与外界接触的器件,从而当产生ESD/EOS事件时,第一驱动模块403或第二驱动模块504或第三驱动模块704是最先会受到高电压冲击的器件,因此,将静电放电/过度电性应力保护模块901与第一驱动模块403或第二驱动模块504或第三驱动模块704连接,从而可以避免偏置电压输出模块301中的每个器件受到瞬态的高电压的冲击而损坏。It should be noted that, since the ESD/EOS event is usually triggered by the peripheral device, the first driving module 403 or the second driving module 504 or the third driving module 704 in the bias voltage output module 301 is directly connected to the earphone, and the earphone The peripheral device, that is, the first driving module 403 or the second driving module 504 or the third driving module 704 is the device that is most easily in contact with the outside, so that when an ESD/EOS event is generated, the first driving module 403 or the second driving module The 504 or the third driving module 704 is the device that is first subjected to a high voltage impact, and therefore, the electrostatic discharge/overelectric stress protection module 901 is connected to the first driving module 403 or the second driving module 504 or the third driving module 704. Thus, it can be avoided that each device in the bias voltage output module 301 is damaged by a transient high voltage.
作为一种示例,静电放电/过度电性应力保护模块901可以是由两个封装在一起的二极管组成,如图9所示。当发生ESD/EOS事件产生的电压为正电荷时,则图9中上面的二极管进行分压,当发生ESD/EOS事件产生的电压为负电荷时,则图9中下面的二极管进行分压,从而保护偏置电压输出模块301中的器件。当然,静电放电/过度电性应力保护模块305也可以直接使用瞬态电压抑制(transient voltage suppresser,TVS)二极管等ESD/EOS保护器来实现,该ESD/EOS保护器的型号及参数的选择应根据偏置电压输出模块301中各个器件的布局情况、终端设备中可用的电路板空间以及偏置电压输出模块301的电特性来决定。As an example, the electrostatic discharge/over-electric stress protection module 901 can be composed of two diodes packaged together, as shown in FIG. When the voltage generated by the ESD/EOS event is positive, the upper diode in Figure 9 is divided. When the voltage generated by the ESD/EOS event is negative, the lower diode in Figure 9 is divided. The device in the bias voltage output module 301 is thus protected. Of course, the electrostatic discharge/over-electric stress protection module 305 can also be directly implemented by using an ESD/EOS protector such as a transient voltage suppressor (TVS) diode, and the model and parameters of the ESD/EOS protector should be selected. It is determined according to the layout of each device in the bias voltage output module 301, the board space available in the terminal device, and the electrical characteristics of the bias voltage output module 301.
在介绍完偏置电压输出模块301的多种实现方式后,接下来对偏置电压输出电路中的逻辑控制模块302、滤波电容303以及泄放电模块304进行详细介绍。After introducing various implementations of the bias voltage output module 301, the logic control module 302, the filter capacitor 303, and the bleeder module 304 in the bias voltage output circuit are described in detail.
逻辑控制模块302需要对终端设备的耳机插入操作及耳机拔出操作进行检测,在检测到耳机插入到终端设备时,则控制偏置电压输出模块301处于输出偏置电压;当检测到耳机拔出终端设备的操作时,则控制偏置电压输出模块302处于非工作状态,即不输出偏置电压。由于滤波电容303在偏置电压输出模块301输出偏置电压的过程中,会存储部分电量,因此,当逻辑控制模块302检测到耳机拔出终端设备的操作时,还需控制泄放电模块304泄放掉滤波电容303存储的电量,从而避免爆破音。The logic control module 302 needs to detect the earphone insertion operation and the earphone extraction operation of the terminal device. When detecting that the earphone is inserted into the terminal device, the control bias voltage output module 301 is at the output bias voltage; when the earphone is detected to be pulled out When the terminal device is in operation, the bias voltage output module 302 is controlled to be in an inoperative state, that is, no bias voltage is output. Since the filter capacitor 303 stores a partial power during the bias voltage output module 301 outputting the bias voltage, when the logic control module 302 detects the operation of the earphone to pull out the terminal device, it is also necessary to control the bleeder module 304 to vent. The amount of power stored by the filter capacitor 303 is released, thereby avoiding popping sound.
作为一种示例,逻辑控制模块302可以包括控制芯片以及检测模块构成。检测模块用于对耳机的插入和拔出操作进行检测,然后将检测结果发送至控制芯片,由控制芯片做出 判断结果,然后对偏置电压输出模块301以及泄放电模块304发送控制信息。具体来讲,检测模块对耳机的插入和拔出操作的检测可以通过耳机插座来完成,检测模块可以是一个检测引脚,将检测引脚连到耳机插座中的左声道检测端上,在检测引脚上连接一个电阻,如图10所示,检测引脚会输出电平。当耳机插入时,耳机插头的金属会碰到检测脚,使得检测引脚的电平产生变化,由高电平变化为低电平;而当耳机从终端设备拔出时,则检测引脚的电平由低电平变化为高电平。这样,控制芯片则可以根据检测引脚的电平的值,判断出耳机是插入还是拔出。当控制芯片确定耳机的插入操作时,则发送控制偏置电压输出模块301处于工作状态以及控制泄放电模块304处于非工作状态的控制信息。例如,控制芯片可以控制偏置电压输出模块301的回路处于导通状态以及控制泄放电模块304的回路处于断开状态。作为一个示例,请参考图11,该偏置电压输出模块301的回路中可以设置一个与控制芯片连接的开关器件,控制芯片通过控制该开关器件来控制偏置电压输出模块301的工作状态,例如,当控制芯片检测耳机插入终端设备,则控制与偏置电压输出模块301连接的开关器件闭合,从而偏置电压输出模块301的回路导通,此时,偏置电压输出模块301则进入工作状态。当控制芯片检测耳机拔出终端设备,则控制与偏置电压输出模块301连接的开关器件断开,从而偏置电压输出模块301的回路断开,此时,偏置电压输出模块301则进入非工作状态。在本申请实施例中,泄放电模块304也可以由开关器件组成,如图11所示。当开关器件处于闭合状态时,泄放电模块304处于工作状态,当开关器件处于断开状态时,泄放电模块304则处于非工作状态。例如,当控制芯片检测耳机插入终端设备,则控制芯片控制该开关器件处于断开状态,此时,泄放电模块304处于非工作状态,从而滤波电容303则在偏置电压输出模块301输出偏置电压的过程中存储电量;当控制芯片检测耳机拔出终端设备,则控制芯片控制该开关器件处于闭合状态,此时,泄放电模块304处于工作状态,并与滤波电容303之间形成导通回路,从而将滤波电容303中存储的电量泄放掉。As an example, the logic control module 302 can include a control chip and a detection module. The detecting module is configured to detect the insertion and extraction operations of the earphone, and then send the detection result to the control chip, and the control chip makes a judgment result, and then sends the control information to the bias voltage output module 301 and the bleeder module 304. Specifically, the detecting module can detect the insertion and extraction operations of the earphone through the earphone socket. The detecting module can be a detecting pin, and the detecting pin is connected to the left channel detecting end in the earphone socket. Connect a resistor to the sense pin. As shown in Figure 10, the sense pin will output a level. When the earphone is inserted, the metal of the earphone plug will touch the detection pin, so that the level of the detection pin changes, from a high level to a low level; and when the earphone is pulled out from the terminal device, the detection pin is detected. The level changes from low level to high level. In this way, the control chip can determine whether the earphone is inserted or removed according to the value of the level of the detection pin. When the control chip determines the insertion operation of the earphone, the control information that the control bias voltage output module 301 is in an operating state and the bleeder and discharge module 304 is controlled to be in an inoperative state is transmitted. For example, the control chip can control the loop of the bias voltage output module 301 to be in an on state and the loop of the control bleeder module 304 to be in an off state. As an example, referring to FIG. 11, a switching device connected to the control chip may be disposed in the loop of the bias voltage output module 301, and the control chip controls the working state of the bias voltage output module 301 by controlling the switching device, for example, When the control chip detects that the earphone is inserted into the terminal device, the switching device connected to the bias voltage output module 301 is controlled to be closed, so that the loop of the bias voltage output module 301 is turned on, and at this time, the bias voltage output module 301 enters the working state. . When the control chip detects that the earphone is pulled out of the terminal device, the switching device connected to the bias voltage output module 301 is controlled to be disconnected, so that the loop of the bias voltage output module 301 is disconnected. At this time, the bias voltage output module 301 enters the non- Working status. In the embodiment of the present application, the venting and discharging module 304 may also be composed of a switching device, as shown in FIG. When the switching device is in the closed state, the bleeder module 304 is in an active state, and when the switching device is in the off state, the bleeder module 304 is in a non-operating state. For example, when the control chip detects that the earphone is inserted into the terminal device, the control chip controls the switching device to be in an off state. At this time, the bleeder module 304 is in an inoperative state, so that the filter capacitor 303 outputs an offset at the bias voltage output module 301. During the voltage process, the power is stored; when the control chip detects that the earphone is pulled out of the terminal device, the control chip controls the switch device to be in a closed state. At this time, the bleeder and discharge module 304 is in an active state, and a conduction loop is formed with the filter capacitor 303. Thereby, the amount of power stored in the filter capacitor 303 is discharged.
需要说明的是,在实际应用中,逻辑控制模块302也可以是终端设备的应用处理器,例如,开放式多媒体应用平台(open multimedia application platform,OMAP),也可以是数字信号处理器(digital signal processing,DSP),例如,TMS320C54xx、TMS320C55xx或者DSP32/32C等单片器件。本领域技术人员可以根据实际使用需求进行选择,在此不作限制。滤波电容303的具体型号以及参数等需要根据实际使用需求进行选择。且,构成泄放电模块304的开关器件以及控制偏置电压输出模块301的工作状态的开关器件,可以为N型金属-氧化物-半导体晶体管或单向开关或者其他类型的开关器件,在此不作限制。It should be noted that, in practical applications, the logic control module 302 may also be an application processor of the terminal device, for example, an open multimedia application platform (OMAP), or a digital signal processor (digital signal). Processing, DSP), for example, TMS320C54xx, TMS320C55xx or DSP32/32C monolithic devices. A person skilled in the art can make a selection according to actual use requirements, and is not limited herein. The specific model and parameters of the filter capacitor 303 need to be selected according to actual use requirements. Moreover, the switching device constituting the bleeder and discharge module 304 and the switching device for controlling the operating state of the bias voltage output module 301 may be N-type metal-oxide-semiconductor transistors or unidirectional switches or other types of switching devices, and are not used herein. limit.
在本申请实施例中,为了进一步改善偏置电压输出电路中的TDD噪声,在偏置电压输出模块301使用第二种实现方式或第三种实现方式时,该电路中还可以设置滤波电阻305,请参考图12A-图12B,滤波电阻与第二驱动模块504或第四驱动模块706连接,用于在AB类电平转换控制模块处于工作状态时,滤除该偏置电压输出电路中产生的TDD噪声。该滤波电阻305的阻值需要根据实际使用需求进行选择,在此不作限制。In the embodiment of the present application, in order to further improve the TDD noise in the bias voltage output circuit, when the bias voltage output module 301 uses the second implementation manner or the third implementation manner, the filter resistor 305 may also be disposed in the circuit. 12A-12B, the filter resistor is connected to the second driving module 504 or the fourth driving module 706, and is used to filter out the bias voltage output circuit when the class AB level conversion control module is in the working state. TDD noise. The resistance of the filter resistor 305 needs to be selected according to actual use requirements, and is not limited herein.
请参考图13,为本申请实施例中的偏置电压输出电路的一种具体的示例。其中,S2为由Power MOS2构成的开关器件,Power MOS构成第四驱动模块706。在图13中标记S3的位置还可以设置一个开关器件,当S3开关器件处于闭合状态时,用于控制偏置电压输出模块301输出偏置电压,当S3开关器件处于断开状态时,触发偏置电压输出模块301停止输出该偏置电压。Please refer to FIG. 13 , which is a specific example of the bias voltage output circuit in the embodiment of the present application. Among them, S2 is a switching device composed of Power MOS2, and Power MOS constitutes a fourth driving module 706. In the position of the mark S3 in FIG. 13, a switching device may be further provided for controlling the bias voltage output module 301 to output a bias voltage when the S3 switching device is in a closed state, and triggering a bias when the S3 switching device is in an off state. The voltage output module 301 stops outputting the bias voltage.
在本申请实施中,通过逻辑控制模块控制偏置电压输出模块以及泄放电模块的工作状态,在逻辑控制模块检测到外接音频输出装置与音频播放设备断开连接后,则控制偏置电压输出模块不输出偏置电压,使外接音频输出装置断开与电源的连接,同时控制泄放电模块泄放掉滤波电容中存储的电量,这样,外接音频输出装置中便不会出现爆破音,从而解决了爆破音的问题。进一步,在该电路中,逻辑控制模块不再与开关S1连接,而是分别与偏置电压输出模块以及泄放电模块连接,并通过逻辑控制模块对偏置电压输出模块及泄放电模块的状态的控制解决爆破音问题,且该泄放电模块不直接与外接音频输出装置的接口连接,从而可以避免静电或者外部电压通过MICP直接打到的泄放电模块,可以解决现有技术中通过外接音频输出装置的MICP造成对偏置电压输出电路的ESD和EOS问题,即,同时解决了POP、ESD以及EOS问题。In the implementation of the present application, the operating state of the bias voltage output module and the bleeder module is controlled by the logic control module, and after the logic control module detects that the external audio output device is disconnected from the audio playback device, the bias voltage output module is controlled. The bias voltage is not output, so that the external audio output device is disconnected from the power source, and the bleeder module is controlled to bleed off the amount of power stored in the filter capacitor, so that the pop-up sound does not appear in the external audio output device, thereby solving the problem. The problem of popping sound. Further, in the circuit, the logic control module is no longer connected to the switch S1, but is respectively connected to the bias voltage output module and the bleeder module, and the state of the bias voltage output module and the bleeder module is passed through the logic control module. The control solves the problem of the blasting sound, and the venting and discharging module is not directly connected with the interface of the external audio output device, so that the static electricity or the external voltage can be avoided by the venting and discharging module directly hit by the MICP, and the external audio output device can be solved in the prior art. The MCP causes ESD and EOS problems with the bias voltage output circuit, ie, both POP, ESD, and EOS issues are resolved.
在解决外接音频输出装置对音频播放设备的偏置电压输出电路的POP、ESD以及EOS问题后,对于外接音频输出装置本身的功能而言,外接音频输出装置能够输出音频信号还需要音频播放设备能够支持外接音频输出装置的各种制式。以外接音频输出装置为耳机为例,耳机可以采用OMTP标准制式,如图14A所示,也可以采用CTIA标准制式,如图14B所示,或者也可以采用USB Type-C标准制式。随着音频播放设备的集成度逐渐提高,耳机采用USB Type-C标准制式已逐渐成为发展趋势。而当耳机采用USB Type-C标准制式时,对于音频播放设备而言,由于USB Type-C标准支持正反插工作模式,因此,需要在耳机插座中分别与麦克风和耳机地连接的导线之间增加一组模拟开关来做切换,如图15所示。由于模拟开关本身具有一定的阻抗,因此,该模拟开关的串接使得在耳机地与主板地之间的引入了阻抗,这样,当耳机的左右路信号在传输过程中,会产生左右路信号之间发生串扰,如图16所示,耳机左路的输出信号为正弦波信号,耳机右路的输出信号为直流信号,由于在耳机地与主板地之间的引入的阻抗,耳机左路的正弦波信号通过该阻抗耦合到耳机右路上,从而使耳机右路的输出信号可能会变为幅度小于耳机左路输出信号幅度的正弦波信号,影响耳机输出信号的左右路串扰性能。After solving the POP, ESD and EOS problems of the external audio output device to the bias voltage output circuit of the audio playback device, for the function of the external audio output device itself, the external audio output device can output the audio signal and the audio playback device is required. Various modes of support for external audio output devices. The external audio output device is an example of a headphone, and the earphone can adopt an OMTP standard system, as shown in FIG. 14A, or a CTIA standard system, as shown in FIG. 14B, or a USB Type-C standard system. With the increasing integration of audio playback devices, the adoption of the USB Type-C standard for headsets has gradually become a trend. When the earphone adopts the USB Type-C standard system, for the audio playback device, since the USB Type-C standard supports the forward and reverse insertion working modes, it is required to be connected between the wires of the earphone socket and the microphone and the earphone respectively. Add a set of analog switches to switch, as shown in Figure 15. Since the analog switch itself has a certain impedance, the series connection of the analog switch causes an impedance to be introduced between the earphone ground and the main board ground, so that when the left and right road signals of the earphone are in the process of transmission, a left and right road signal is generated. Crosstalk occurs, as shown in Figure 16, the output signal of the left side of the earphone is a sine wave signal, and the output signal of the right side of the earphone is a DC signal. The sine of the left side of the earphone is due to the impedance introduced between the earphone ground and the ground of the main board. The wave signal is coupled to the right path of the earphone through the impedance, so that the output signal of the right channel of the earphone may become a sine wave signal whose amplitude is smaller than the amplitude of the output signal of the left side of the earphone, affecting the left and right crosstalk performance of the output signal of the earphone.
鉴于此,请参考图17,本申请实施例提供一种音频输出装置的驱动电路,包括处理模块1801、串扰消除模块1802、数模转换模块1803以及驱动模块1804,其中:In view of this, please refer to FIG. 17. The embodiment of the present application provides a driving circuit of an audio output device, including a processing module 1801, a crosstalk canceling module 1802, a digital-to-analog conversion module 1803, and a driving module 1804, where:
处理模块1801的输出端与串扰消除模块1802的输入端连接,用于生成音频信号,并将该音频信号输出给串扰消除模块1802;串扰消除模块1802的输出端与数模转换模块1803的输入端连接,用于消除该音频信号中的左路信号以及所述音频信号中的右路信号之间的串扰,并将处理后的左路信号以及处理后的右路信号输出给数模转换模块1803;数模转换模块1803的输出端与驱动模块1804的输入端连接,用于对该处理后的左路信号进行数模转换处理,得到并输出左路模拟音频信号,以及对该处理后的右路信号进行数模转换处理,得到并输出右路模拟音频信号;驱动模块1804的输出端与外接音频输出装置连接,用于驱动该外接音频输出装置输出该左路模拟音频信号以及该右路模拟音频信号驱动。The output of the processing module 1801 is connected to the input end of the crosstalk cancellation module 1802 for generating an audio signal, and outputs the audio signal to the crosstalk cancellation module 1802; the output of the crosstalk cancellation module 1802 and the input end of the digital to analog conversion module 1803. a connection for canceling crosstalk between the left channel signal in the audio signal and the right channel signal in the audio signal, and outputting the processed left channel signal and the processed right channel signal to the digital to analog conversion module 1803 The output end of the digital-to-analog conversion module 1803 is connected to the input end of the driving module 1804, and is configured to perform digital-to-analog conversion processing on the processed left-path signal, obtain and output a left-channel analog audio signal, and the right after the processing The road signal is subjected to digital-to-analog conversion processing to obtain and output a right-channel analog audio signal; the output end of the driving module 1804 is connected to the external audio output device for driving the external audio output device to output the left-channel analog audio signal and the right-channel analog signal Audio signal drive.
在如图17所示的驱动电路中,通过将处理模块1801传递给数模转换模块1803的音频信号传递通路截断,在该通路上增加了串扰消除模块1802,通过串扰消除模块1802将左路音频信号和右路音频信号进行相关性处理,使得最终在外接音频输出装置输出的左、右路音频信号之间的串扰降低,可以改善现有技术中外接音频输出装置输出信号的左右路串扰性能。In the driving circuit shown in FIG. 17, the audio signal transmission path is transferred to the digital-to-analog conversion module 1803 by the processing module 1801, and a crosstalk canceling module 1802 is added to the path, and the left-channel audio is passed through the crosstalk canceling module 1802. The correlation processing between the signal and the right audio signal causes the crosstalk between the left and right audio signals outputted by the external audio output device to be reduced, which can improve the left and right crosstalk performance of the output signal of the external audio output device in the prior art.
在实际应用中,处理模块1801具体可以是应用处理器(application processor,AP), 例如,OMAP,也可以是DSP,例如,TMS320C54xx、TMS320C55xx或者DSP32/32C等单片器件。本领域技术人员可以根据实际使用需求进行选择,在此不作限制。In practical applications, the processing module 1801 may specifically be an application processor (AP), for example, OMAP, or may be a DSP, for example, a single-chip device such as TMS320C54xx, TMS320C55xx, or DSP32/32C. A person skilled in the art can make a selection according to actual use requirements, and is not limited herein.
处理模块1801可以根据用户对音频播放设备的操作确定需要输出音频信号。例如,当用户进行了播放歌曲A的操作,此时,处理模块1801则获取歌曲A对应的音频数据,例如,左路音频数据1和右路音频数据2,并将左路音频数据1和右路音频数据2发送至串扰消除模块1802。The processing module 1801 can determine that an audio signal needs to be output according to the user's operation on the audio playback device. For example, when the user performs the operation of playing the song A, at this time, the processing module 1801 acquires the audio data corresponding to the song A, for example, the left channel audio data 1 and the right channel audio data 2, and the left channel audio data 1 and the right. The road audio data 2 is sent to the crosstalk cancellation module 1802.
串扰消除模块1802具体可以是Transaural滤波器,例如,Schroeder形态或者Atal形态的Transaural滤波器,也可以是其改善形态的滤波器,例如,可以是Cooper形态或者Bauck形态的Transaural滤波器,在此不作限制。The crosstalk canceling module 1802 may specifically be a Transaural filter, for example, a Schroeder form or an Atal form Transaural filter, or a modified form filter, for example, a Cooper form or a Bauck form Transaural filter, which is not used herein. limit.
由于Transaural滤波器的计算量负荷较大,为了降低计算量,串扰消除模块1802也可以使用多个滤波器构成电路来实现。请参考图18,为串扰消除模块1802的一种示例。串扰消除模块1802分为两个部分:消除左路音频数据1中的串扰的第一串扰消除装置1901以及消除右路音频数据2中的串扰第二串扰消除装置1902。第一串扰消除装置1901包括三个部分:用于对左路音频数据1的特定频带部分进行加强的第一加强装置19011、用于对左路音频数据1进行延迟处理的第一延迟装置19012以及用于消除右路音频数据2在左路音频数据1的串扰的第一计算装置19013,所述左路音频数据1的特定频带部分即为第二部分左路信号。由于第一串扰消除装置1901和第二串扰消除装置1902分别用于对左路音频数据1和右路音频数据2进行处理,处理过程相同,因此,结构也相似,因此,第二串扰消除装置1902也包含上述三个部分,即第二加强装置19021、第二延迟装置19022以及第二计算装置19023。Since the computational load of the Transaural filter is large, in order to reduce the amount of calculation, the crosstalk cancellation module 1802 can also be implemented using a plurality of filter constituent circuits. Please refer to FIG. 18, which is an example of the crosstalk cancellation module 1802. The crosstalk cancellation module 1802 is divided into two parts: a first crosstalk canceling device 1901 that eliminates crosstalk in the left channel audio data 1, and a crosstalk second crosstalk canceling device 1902 in the right channel audio data 2. The first crosstalk canceling device 1901 includes three parts: a first boosting device 19011 for enhancing a specific frequency band portion of the left channel audio data 1, a first delay device 19012 for delay processing the left channel audio data 1, and A first computing means 19013 for eliminating crosstalk of the right channel audio data 2 in the left channel audio data 1, the specific band portion of the left channel audio data 1 being the second portion of the left channel signal. Since the first crosstalk canceling means 1901 and the second crosstalk canceling means 1902 are respectively used for processing the left channel audio data 1 and the right channel audio data 2, the processing is the same, and therefore, the structure is also similar, and therefore, the second crosstalk canceling means 1902 The above three parts are also included, namely the second stiffening device 19021, the second delay device 19022, and the second computing device 19023.
其中,第一加强装置19011和第二加强装置19021中的特定频带部分可以由本领域技术人员根据实际使用情况进行设置。第一加强装置19011和第二加强装置19021可以是滤波器与放大器的组合,该滤波器可以使用低通滤波器、带通滤波器或者高通滤波器中的一个或多个组合;该放大器的放大系数需根据实际使用进行选择。从而通过第一加强装置19011获取第二部分左路音频数据,通过第二加强装置19021获取第二部分右路音频数据。The specific frequency band portion of the first reinforcing device 19011 and the second reinforcing device 19021 can be set by a person skilled in the art according to actual use conditions. The first stiffening device 19011 and the second stiffening device 19021 may be a combination of a filter and an amplifier, which may use one or more combinations of a low pass filter, a band pass filter, or a high pass filter; amplification of the amplifier The coefficients need to be selected based on actual use. Thereby, the second portion of the left channel audio data is acquired by the first enhancement device 19011, and the second portion of the right channel audio data is acquired by the second enhancement device 19021.
第一延迟装置19012用于将左路音频数据1进行延迟。例如,将左路音频数据1的采样信号延迟一个采样周期,获得在当前采样周期之前的采样周期的采样信号,也可以是延迟一个预设时长,获取在当前时刻之前的预设时长对应的时刻的音频数据,在此不作限制。为了便于运算,第一延迟模块19012中还包含放大器,用于将延迟后的音频数据进行放大,获得延迟后的左路音频数据。该放大器的放大系数可以与第一加强装置19011中相同。相同地,由于第二延迟装置19022的处理过程与第一延迟装置19012相同,因此,第二延迟装置19022用于对右路音频数据2进行延迟处理,获得延迟后的右路音频数据。当然,为了便于第一计算装置19013以及第二计算装置19023对延迟后的音频数据进行计算,第一延迟模块19012以及第二延迟装置19022中还可以包含放大器,用于对延迟后的音频数据进行放大处理。该放大器的放大系数可以与第一加强装置19011中的放大系数相同,也可以不同,在此不作限制。The first delay means 19012 is for delaying the left channel audio data 1. For example, the sampling signal of the left audio data 1 is delayed by one sampling period to obtain a sampling signal of the sampling period before the current sampling period, or may be delayed by a preset duration to acquire the time corresponding to the preset duration before the current time. The audio data is not limited here. In order to facilitate the operation, the first delay module 19012 further includes an amplifier for amplifying the delayed audio data to obtain delayed left audio data. The amplification factor of the amplifier can be the same as in the first stiffening device 19011. Similarly, since the processing procedure of the second delay device 19022 is the same as that of the first delay device 19012, the second delay device 19022 is configured to perform delay processing on the right channel audio data 2 to obtain delayed right channel audio data. The first delay module 19012 and the second delay device 19022 may further include an amplifier for performing the delayed audio data. Zoom in. The amplification factor of the amplifier may be the same as the amplification factor in the first reinforcement device 19011, or may be different, and is not limited herein.
为了消除左路音频数据1和右路音频数据2之间的串扰,第一计算装置19013的处理过程需要使用右路音频数据2,第二计算装置19023的处理过程需要使用左路音频数据2,具体计算方式如下:In order to eliminate crosstalk between the left channel audio data 1 and the right channel audio data 2, the processing of the first computing device 19013 requires the use of the right channel audio data 2, and the processing of the second computing device 19023 requires the use of the left channel audio data 2, The specific calculation method is as follows:
第一计算装置19013将第一加强装置19011输出的第二部分左路音频数据,左路音频 数据1以及第二延迟装置19022输出的延迟后的右路音频数据进行求和运算,从而消除了右路音频数据2对左路音频数据1的串扰。第二计算装置19023将第二加强装置19021输出的第二部分右路音频数据,右路音频数据2以及第一延迟模块19012输出的延迟后的左路音频数据进行第一运算,该第一运算可以为求和运算或者加权求和运算等,从而消除了左路音频数据1对右路音频数据2的串扰。The first computing device 19013 performs a summation operation on the second partial left channel audio data output by the first boosting device 19011, the left channel audio data 1 and the delayed right channel audio data output by the second delay device 19022, thereby eliminating the right The crosstalk of the audio data 2 to the left audio data 1. The second computing device 19923 performs a first operation on the second portion of the right audio data, the right audio data 2, and the delayed left audio data output by the first delay module 19012, which is output by the second boosting device 19021, the first operation It may be a summation operation or a weighted summation operation or the like, thereby eliminating crosstalk of the left channel audio data 1 to the right channel audio data 2.
数模转换模块1803具体可以是数模转换器(digital to analog converter,DAC),例如,权电阻网络DAC、R–2R倒T形电阻网络DAC和单值电流型网络DAC等,当然,数模转换模块1803也可以是由数字寄存器、模拟电子开关、位权电阻网络、求和运算放大器和基准电压源组成的电路,在本申请实施例中不作限制。The digital-to-analog conversion module 1803 may specifically be a digital to analog converter (DAC), for example, a weight resistance network DAC, an R-2R inverted T-resistance network DAC, and a single-value current type network DAC, etc., of course, digital mode The conversion module 1803 may also be a circuit composed of a digital register, an analog electronic switch, a bit-resistance network, a summing operational amplifier, and a reference voltage source, which are not limited in the embodiment of the present application.
当串扰消除模块1802将处理后的左路音频数据1和处理后的右路音频数据2发送给数模转换模块1803后,数据转换模块1803则分别将处理后的左路音频数据1和右路音频数据2转换为模拟音频信号,输出值驱动模块1804。After the crosstalk cancellation module 1802 sends the processed left channel audio data 1 and the processed right channel audio data 2 to the digital to analog conversion module 1803, the data conversion module 1803 respectively processes the processed left channel audio data 1 and the right channel. The audio data 2 is converted to an analog audio signal, and the output value drive module 1804.
驱动模块1804具体可以由运算放大器构成。例如,左路音频信号和右路音频信号分别对应一个运算放大器,当运算放大器检测到有音频信号输入时,则按照预设的放大增益参数,将模拟音频信号进行放大,以驱动外接音频播放装置通过左、右路输出装置输出对应的模拟音频信号。请参考图19,为本申请实施例提供的驱动电路的一种示例。The drive module 1804 can be specifically configured by an operational amplifier. For example, the left audio signal and the right audio signal respectively correspond to one operational amplifier. When the operational amplifier detects an audio signal input, the analog audio signal is amplified according to a preset amplification gain parameter to drive the external audio playback device. The corresponding analog audio signal is output through the left and right output devices. Please refer to FIG. 19, which is an example of a driving circuit provided by an embodiment of the present application.
由于每个音频播放装置,例如,手机或者平板电脑等,其对地阻抗可能并不相同,而当音频播放装置的对地阻抗不同时,处理模块1801以及串扰消除模块1804对左、右路音频信号的处理参数也会发生变化。例如,当音频播放装置的对地阻抗越大,为了使外接音频输出装置输出的音频信号的质量相同,则处理模块1801输出的左路音频数据1和右路音频数据2的幅度也需要增大,因此,请参考图20,该驱动电路还包括:Since each audio playback device, such as a mobile phone or a tablet computer, may have different impedance to ground, and when the impedance of the audio playback device is different, the processing module 1801 and the crosstalk cancellation module 1804 may be used for left and right audio. The processing parameters of the signal also change. For example, when the impedance to the ground of the audio playback device is larger, in order to make the quality of the audio signal output by the external audio output device the same, the amplitudes of the left audio data 1 and the right audio data 2 output by the processing module 1801 also need to be increased. Therefore, referring to FIG. 20, the driving circuit further includes:
阻抗检测模块1805,阻抗检测模块1805的输入端与驱动模块1804的输出端连接,阻抗检测模块1805的输出端与处理模块1801连接,用于检测该外接音频输出装置的阻抗值,并将所述阻抗值输出给处理模块1801,从而处理模块1801则根据该阻抗值调整该音频信号的电压。An impedance detecting module 1805, an input end of the impedance detecting module 1805 is connected to an output end of the driving module 1804, and an output end of the impedance detecting module 1805 is connected to the processing module 1801, for detecting an impedance value of the external audio output device, and the The impedance value is output to the processing module 1801 such that the processing module 1801 adjusts the voltage of the audio signal based on the impedance value.
在实际应用中,阻抗检测模块1805具体可以是通过测量出外接音频输出装置两端的电流以及电压,通过电压与电流的比值确定出外接音频输出装置的阻抗,也可以使用一些阻抗检测仪器,例如示波器、阻抗测试板等,或者阻抗测试芯片,例如AD5933等,本领域技术人员可以根据实际使用需求进行选择。In an actual application, the impedance detecting module 1805 may specifically measure the current and voltage across the external audio output device, determine the impedance of the external audio output device by the ratio of the voltage to the current, and may also use some impedance detecting device, such as an oscilloscope. , an impedance test board, etc., or an impedance test chip, such as the AD5933, etc., can be selected by those skilled in the art according to actual use requirements.
进一步,由于每个音频播放装置的对地阻抗不同,串扰消除模块1802对不同的音频播放装置的左、右路音频数据的处理参数也不相同,因此,为了使串扰消除模块1802能够适配不同的音频播放装置,该驱动电路中还可以设置有校正模块1806,通过校正模块自动根据不同的音频播放装置来调整处理参数。Further, since the impedance of the ground of each audio playback device is different, the processing parameters of the left and right audio data of the different audio playback devices by the crosstalk cancellation module 1802 are also different. Therefore, in order to enable the crosstalk cancellation module 1802 to be adapted differently The audio playback device may further be provided with a correction module 1806, and the correction module automatically adjusts the processing parameters according to different audio playback devices.
作为一种示例,请参考图21,该校正模块1806可以包括立体声分离度检测模块和比较器,立体声分离度检测模块的输入端分别输入左、右模拟音频信号,通过立体声分离度检测模块确定出当前左、右模拟音频信号的立体声分离度,该立体声分离度越大则表征左、右路模拟音频信号的串扰越大,立体声分离度检测模块的输出端与比较器的一个输入端连接,例如,比较器的负极,比较器的另一个输入端,例如,比较器的正极设置为预设立体声分离度参数值,比较器的输出端与串扰消除模块1802连接。当立体声分离度检测模块将当前左、右模拟音频信号的立体声分离度参数值输出给比较器的一个输入端后,比较器 则将该立体声分离度参数值与预设立体声分离度参数值进行比较,得到比较结果。例如,当比较结果为+1,则表示该立体声分离度参数值小于预设立体声分离度参数值,表示串扰消除模块1802对该音频输出装置的进行串扰消除的参数无效;当比较结果为-1时,则表示该立体声分离度参数值大于预设立体声分离度参数值,表示串扰消除模块1802对该音频输出装置进行串扰消除的参数有效,则需要对串扰消除模块1802中的参数进行调整。As an example, referring to FIG. 21, the correction module 1806 may include a stereo separation detection module and a comparator. The input ends of the stereo separation detection module respectively input left and right analog audio signals, and are determined by the stereo separation detection module. The stereo separation of the current left and right analog audio signals. The greater the stereo separation, the greater the crosstalk characterizing the left and right analog audio signals. The output of the stereo separation detection module is connected to an input of the comparator, for example The cathode of the comparator, the other input of the comparator, for example, the anode of the comparator is set to a preset stereo separation parameter value, and the output of the comparator is connected to the crosstalk cancellation module 1802. When the stereo separation detection module outputs the stereo separation parameter value of the current left and right analog audio signals to one input of the comparator, the comparator compares the stereo separation parameter value with the preset stereo separation parameter value. , get the comparison result. For example, when the comparison result is +1, it indicates that the stereo separation parameter value is smaller than the preset stereo separation parameter value, indicating that the crosstalk cancellation module 1802 invalidates the parameter for crosstalk cancellation of the audio output device; when the comparison result is -1 When the stereo separation parameter value is greater than the preset stereo separation parameter value, indicating that the crosstalk cancellation module 1802 is valid for the crosstalk cancellation of the audio output device, the parameters in the crosstalk cancellation module 1802 need to be adjusted.
当比较器得到比较结果后,则将比较结果输出串扰消除模块1802。例如,当比较结果为+1时,则串扰消除模块1802可以使当前用于对该音频输出装置进行串扰消除的参数的取值保持不变;当比较结果为-1时,则串扰消除模块1802可以使当前用于对该音频输出装置进行串扰消除的参数的取值增大或者减小,然后采用相同的方法进行多次调整,直至比较器输出的比较结果为+1。When the comparator obtains the comparison result, the comparison result is output to the crosstalk cancellation module 1802. For example, when the comparison result is +1, the crosstalk cancellation module 1802 can keep the value of the parameter currently used for crosstalk cancellation of the audio output device unchanged; when the comparison result is -1, the crosstalk cancellation module 1802 The value of the parameter currently used for crosstalk cancellation of the audio output device can be increased or decreased, and then the same method is used for multiple adjustments until the comparison result of the comparator output is +1.
这样,通过该校正模块1806实现了串扰消除模块1802的自学习过程,使得该驱动电路的调节过程更加便捷。In this way, the self-learning process of the crosstalk cancellation module 1802 is implemented by the correction module 1806, so that the adjustment process of the driving circuit is more convenient.
需要说明的是,由于立体声分离度与串扰程度是成反比关系的参数,因此,该校正模块1806中的立体声分离度检测模块也可以替换成串扰检测模块,这样,可以通过串扰检测模块直接确定出左、右路模拟音频信号之间的串扰程度,然后将检测的串扰程度输出给比较器进行比较,最后将比较结果输出给串扰消除模块1802,以调整串扰消除模块1802中对左、右路信号进行串扰消除处理的参数。It should be noted that since the stereo separation degree and the crosstalk degree are inversely proportional to each other, the stereo separation degree detection module in the correction module 1806 can also be replaced with the crosstalk detection module, so that the crosstalk detection module can directly determine the crosstalk detection module. The degree of crosstalk between the left and right analog audio signals is then outputted to the comparator for comparison, and finally the comparison result is output to the crosstalk cancellation module 1802 to adjust the left and right signals in the crosstalk cancellation module 1802. The parameters for crosstalk cancellation processing.
当然,校正模块1806也可以包括模数转换器(analog to digital converter,ADC)以及数字电路,通过ADC可以直接检测到音频输出装置发生串扰的数量级,然后通过数字电路将该数量级转换为电平信号反馈至串扰消除模块1802。校正模块1806也可以是人工调整模块,由技术人员根据当前左、右模拟音频信号的串扰参数值进行调整,在此不作限制。Of course, the correction module 1806 can also include an analog to digital converter (ADC) and a digital circuit. The ADC can directly detect the magnitude of the crosstalk of the audio output device, and then convert the order of magnitude to a level signal through the digital circuit. Feedback to the crosstalk cancellation module 1802. The correction module 1806 can also be a manual adjustment module, which is adjusted by the technician according to the crosstalk parameter values of the current left and right analog audio signals, and is not limited herein.
在上述技术方案中,通过在处理模块与数模转换模块的通路上增加了串扰消除模块,将左路音频信号和右路音频信号进行相关性处理,使得最终在外接音频输出装置输出的左、右路音频信号之间的串扰降低,可以改善现有技术中外接音频输出装置输出信号的左右路串扰性能。In the above technical solution, the crosstalk cancellation module is added to the path of the processing module and the digital-to-analog conversion module, and the left audio signal and the right audio signal are correlated, so that the output of the external audio output device is finally left, The crosstalk between the right audio signals is reduced, which can improve the left and right crosstalk performance of the output signal of the external audio output device in the prior art.
以上实施例仅用以对本申请的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本申请的实施方式及其核心思想,不应理解为对本申请的限制。本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。The above embodiments are only used to describe the technical solutions of the present application in detail, but the description of the above embodiments is only used to help understand the embodiments of the present application and the core ideas thereof, and should not be construed as limiting the present application. Those skilled in the art are susceptible to variations or alternatives within the scope of the present disclosure.

Claims (13)

  1. 一种音频播放设备的偏置电压输出电路,其特征在于,包括偏置电压输出模块、逻辑控制模块、滤波电容以及泄放电模块,其中:A bias voltage output circuit for an audio playback device, comprising: a bias voltage output module, a logic control module, a filter capacitor, and a bleeder and discharge module, wherein:
    所述偏置电压输出模块,分别与所述逻辑控制模块及接入所述音频播放设备的外接音频输出装置连接,用于在所述逻辑控制模块的作用下输出偏置电压,所述偏置电压用于驱动所述外接音频输出装置;The bias voltage output module is respectively connected to the logic control module and an external audio output device connected to the audio playback device, and is configured to output a bias voltage under the action of the logic control module, the offset a voltage for driving the external audio output device;
    所述滤波电容,分别与地、以及所述偏置电压输出模块连接,用于滤除所述偏置电压输出模块在输出所述偏置电压的过程中产生的噪声,以及在所述偏置电压输出模块输出所述偏置电压的过程中存储电量;The filter capacitors are respectively connected to the ground and the bias voltage output module for filtering noise generated by the bias voltage output module during outputting the bias voltage, and at the bias The voltage output module stores the amount of power during the output of the bias voltage;
    所述泄放电模块,分别与地、所述滤波电容、以及所述逻辑控制模块连接,用于在所述逻辑控制模块的作用下,泄放所述滤波电容存储的电量;The bleeder and discharge modules are respectively connected to the ground, the filter capacitor, and the logic control module, and are configured to bleed the power stored by the filter capacitor under the action of the logic control module;
    所述逻辑控制模块,用于在确定所述外接音频输出装置接入所述音频播放设备时,触发所述偏置电压输出模块输出所述偏置电压,以及控制所述泄放电模块禁止泄放所述滤波电容存储的电量,在确定所述外接音频输出装置与所述音频播放设备断开连接时,触发所述偏置电压输出模块停止输出所述偏置电压,以及控制所述泄放电模块泄放所述滤波电容存储的电量。The logic control module is configured to trigger the bias voltage output module to output the bias voltage when the external audio output device is determined to be connected to the audio playback device, and control the bleeder module to prohibit bleed The amount of power stored by the filter capacitor triggers the bias voltage output module to stop outputting the bias voltage and control the bleeder module when determining that the external audio output device is disconnected from the audio playback device The amount of power stored by the filter capacitor is discharged.
  2. 根据权利要求1所述的偏置电压输出电路,其特征在于,所述偏置电压输出模块包括电压生成模块、误差放大模块、第一驱动模块以及输出电压采样及反馈模块,其中:The bias voltage output circuit of claim 1 , wherein the bias voltage output module comprises a voltage generating module, an error amplifying module, a first driving module, and an output voltage sampling and feedback module, wherein:
    所述电压生成模块的输出端与所述误差放大模块的第一输入端连接,所述电压生成模块用于生成参考电压,并向所述误差放大模块输出所述参考电压;An output end of the voltage generating module is connected to a first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module;
    所述误差放大模块的输出端与所述第一驱动模块的输入端连接,所述误差放大模块用于对所述参考电压进行稳压处理,得到并向所述第一驱动模块输出所述偏置电压;The output of the error amplifying module is connected to the input end of the first driving module, and the error amplifying module is configured to perform voltage stabilization processing on the reference voltage, and obtain and output the bias to the first driving module. Set voltage
    所述第一驱动模块的输出端与所述外接音频输出装置连接,用于通过所述偏置电压驱动所述外接音频输出装置;The output end of the first driving module is connected to the external audio output device for driving the external audio output device by the bias voltage;
    所述输出电压采样及反馈模块的输入端与所述第一驱动模块的输出端连接,输出端与所述误差放大模块的第二输入端连接,所述输出电压采样及反馈模块用于对所述偏置电压进行采样,并将采样结果反馈给所述误差放大模块;An output end of the output voltage sampling and feedback module is connected to an output end of the first driving module, and an output end is connected to a second input end of the error amplifying module, and the output voltage sampling and feedback module is used for The bias voltage is sampled, and the sampling result is fed back to the error amplification module;
    所述误差放大模块,用于根据所述采样结果调整所述参考电压。The error amplifying module is configured to adjust the reference voltage according to the sampling result.
  3. 根据权利要求1所述的偏置电压输出电路,其特征在于,所述偏置电压输出模块包括电压生成模块、误差放大模块、AB类电平转换控制模块、第二驱动模块以及输出电压采样及反馈模块,其中:The bias voltage output circuit of claim 1 , wherein the bias voltage output module comprises a voltage generating module, an error amplifying module, a class AB level shift control module, a second driving module, and an output voltage sampling and Feedback module, where:
    所述电压生成模块的输出端与所述误差放大模块的第一输入端连接,所述电压生成模块用于生成参考电压,并向所述误差放大模块输出所述参考电压;An output end of the voltage generating module is connected to a first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module;
    所述误差放大模块的输出端与所述AB类电平转换控制模块的输入端连接,所述误差放大模块用于对所述参考电压进行稳压处理,得到并向所述AB类电平转换控制模块输出调整后的电压;An output end of the error amplifying module is connected to an input end of the class AB level conversion control module, and the error amplifying module is configured to perform voltage stabilization processing on the reference voltage to obtain and convert to the class AB level The control module outputs the adjusted voltage;
    所述AB类电平转换控制模块的输出端与所述第二驱动模块的输入端连接,用于将所述调整后的电压转换为所述偏置电压,并向所述驱动模块输出所述偏置电压,所述偏置电压的噪声小于所述调整后的电压的噪声;An output end of the class AB level conversion control module is connected to an input end of the second driving module, configured to convert the adjusted voltage into the bias voltage, and output the a bias voltage, the noise of the bias voltage being less than the noise of the adjusted voltage;
    所述第二驱动模块的输出端与所述外接音频输出装置连接,用于通过所述AB类控制电平信号驱动所述外接音频输出装置;The output end of the second driving module is connected to the external audio output device, and is configured to drive the external audio output device by using the class AB control level signal;
    所述输出电压采样及反馈模块的输入端与所述第二驱动模块的输出端连接,输出端与所述误差放大模块的第二输入端连接,所述输出电压采样及反馈模块用于对所述偏置电压进行采样,并将采样结果反馈给所述误差放大模块;An output end of the output voltage sampling and feedback module is connected to an output end of the second driving module, and an output end is connected to a second input end of the error amplifying module, and the output voltage sampling and feedback module is used for The bias voltage is sampled, and the sampling result is fed back to the error amplification module;
    所述误差放大模块,用于根据所述采样结果调整所述参考电压。The error amplifying module is configured to adjust the reference voltage according to the sampling result.
  4. 根据权利要求3所述的偏置电压输出电路,其特征在于,所述偏置电压输出电路还包括:The bias voltage output circuit of claim 3, wherein the bias voltage output circuit further comprises:
    第一滤波电阻,与所述第二驱动模块连接,用于滤除所述偏置电压输出电路中产生的时分复用TDD噪声。And a first filter resistor connected to the second driving module, configured to filter out time division multiplexed TDD noise generated in the bias voltage output circuit.
  5. 根据权利要求1所述的偏置电压输出电路,其特征在于,所述偏置电压输出模块包括电压生成模块、误差放大模块、双向开关、第三驱动模块、AB类电平转换控制模块、第四驱动模块以及输出电压采样及反馈模块,其中:The bias voltage output circuit according to claim 1, wherein the bias voltage output module comprises a voltage generating module, an error amplifying module, a bidirectional switch, a third driving module, a class AB level conversion control module, and a A four-drive module and an output voltage sampling and feedback module, wherein:
    所述电压生成模块的输出端与所述误差放大模块的第一输入端连接,所述电压生成模块用于生成参考电压,并向所述误差放大模块输出所述参考电压;An output end of the voltage generating module is connected to a first input end of the error amplifying module, the voltage generating module is configured to generate a reference voltage, and output the reference voltage to the error amplifying module;
    所述误差放大模块的输出端与所述双向开关的输入端连接,所述双向开关的第一输出端与所述第三驱动模块连接,所述双向开关的第二输出端与所述AB类电平转换控制模块连接,在所述双向开关与所述双向开关的第一输出端形成第一通路时,所述误差放大模块用于对所述参考电压进行稳压处理,得到并向所述第三驱动模块输出所述偏置电压,在所述双向开关与所述双向开关的第二输出端形成第二通路时,所述误差放大模块用于对所述参考电压进行稳压处理,得到并向所述AB类电平转换控制模块输出调整后的电压;An output end of the error amplifying module is connected to an input end of the bidirectional switch, a first output end of the bidirectional switch is connected to the third driving module, and a second output end of the bidirectional switch is connected to the AB class The level shift control module is connected, and when the bidirectional switch forms a first path with the first output end of the bidirectional switch, the error amplifying module is configured to perform voltage stabilization processing on the reference voltage to obtain and The third driving module outputs the bias voltage, and when the bidirectional switch forms a second path with the second output end of the bidirectional switch, the error amplifying module is configured to perform voltage stabilization processing on the reference voltage to obtain And outputting the adjusted voltage to the class AB level conversion control module;
    所述双向开关与所述逻辑控制模块连接,用于在所述逻辑控制模块的作用下选择形成所述第一通路或形成所述第二通路;The bidirectional switch is connected to the logic control module, and is configured to select to form the first path or form the second path under the action of the logic control module;
    所述第三驱动模块的输出端与所述外接音频输出装置连接,用于在所述双向开关形成所述第一通路时,通过所述偏置电压驱动所述外接音频输出装置;The output end of the third driving module is connected to the external audio output device, and is configured to drive the external audio output device by the bias voltage when the bidirectional switch forms the first path;
    所述AB类电平转换控制模块的输出端与所述第四驱动模块的输入端连接,用于在所述双向开关形成所述第二通路时,将所述调整后的电压转换为所述偏置电压,并向所述第四驱动模块输出所述偏置电压,所述偏置电压的噪声小于所述调整后的电压的噪声;An output end of the class AB level conversion control module is coupled to an input end of the fourth driving module, and configured to convert the adjusted voltage into the second path when the bidirectional switch forms the second path Offsetting a voltage and outputting the bias voltage to the fourth driving module, the noise of the bias voltage being less than the noise of the adjusted voltage;
    所述第四驱动模块的输出端与所述外接音频输出装置连接,用于在所述双向开关形成所述第二通路时,通过所述偏置电压驱动所述外接音频输出装置;The output end of the fourth driving module is connected to the external audio output device, and is configured to drive the external audio output device by the bias voltage when the bidirectional switch forms the second path;
    所述输出电压采样及反馈模块的输入端分别与所述第三驱动模块的输出端以及所述第四驱动模块的输出端连接,输出端与所述误差放大模块的第二输入端连接,所述输出电压采样及反馈模块用于对所述偏置电压进行采样,并将采样结果反馈给所述误差放大模块;The input ends of the output voltage sampling and feedback module are respectively connected to the output end of the third driving module and the output end of the fourth driving module, and the output end is connected to the second input end of the error amplifying module. The output voltage sampling and feedback module is configured to sample the bias voltage and feed back the sampling result to the error amplification module;
    所述误差放大模块,用于根据所述采样结果调整所述参考电压。The error amplifying module is configured to adjust the reference voltage according to the sampling result.
  6. 根据权利要求4所述的偏置电压输出电路,其特征在于,所述偏置电压输出电路还包括:The bias voltage output circuit of claim 4, wherein the bias voltage output circuit further comprises:
    第二滤波电阻,与所述第四驱动模块连接,用于滤除所述偏置电压输出电路中产生的时分复用TDD噪声。And a second filter resistor connected to the fourth driving module for filtering time division multiplexed TDD noise generated in the bias voltage output circuit.
  7. 根据权利要求2-6中任一项所述的偏置电压输出电路,其特征在于,所述偏置电 压输出模块还包括:The bias voltage output circuit according to any one of claims 2-6, wherein the bias voltage output module further comprises:
    静电放电/过度电性应力保护模块,与所述输出电压采样及反馈模块的输入端连接,用于在所述偏置电压输出电路中存在过度电性应力或静电时,降低所述偏置电压输出模块包含的多个模块中的至少一个模块两端的电压,所述至少一个模块不包括所述静电放电/过度电性应力保护模块。An electrostatic discharge/over-electric stress protection module coupled to the input end of the output voltage sampling and feedback module for reducing the bias voltage when excessive electrical stress or static electricity is present in the bias voltage output circuit The output module includes a voltage across at least one of the plurality of modules, the at least one module not including the electrostatic discharge/over-electric stress protection module.
  8. 根据权利要求1-7中任一项所述的偏置电压输出电路,其特征在于,所述泄放电模块为N型金属-氧化物-半导体晶体管或单向开关。The bias voltage output circuit according to any one of claims 1 to 7, wherein the bleeder and discharge module is an N-type metal-oxide-semiconductor transistor or a unidirectional switch.
  9. 根据权利要求3所述的偏置电压输出电路,其特征在于,所述第二驱动模块为P型金属-氧化物-半导体晶体管或N型金属-氧化物-半导体晶体管。The bias voltage output circuit according to claim 3, wherein the second driving module is a P-type metal-oxide-semiconductor transistor or an N-type metal-oxide-semiconductor transistor.
  10. 一种音频输出装置的驱动电路,其特征在于,包括处理模块、串扰消除模块、数模转换模块以及驱动模块,其中:A driving circuit for an audio output device, comprising: a processing module, a crosstalk canceling module, a digital to analog conversion module, and a driving module, wherein:
    所述处理模块的输出端与所述串扰消除模块的输入端连接,用于生成并向所述串扰消除模块输出音频信号,所述音频信号包括左路信号及右路信号;An output end of the processing module is connected to an input end of the crosstalk cancellation module, and is configured to generate and output an audio signal to the crosstalk cancellation module, where the audio signal includes a left channel signal and a right channel signal;
    所述串扰消除模块,输出端与所述数模转换模块的输入端连接,用于消除所述左路信号以及所述右路信号之间的串扰,并向所述数模转换模块输出消除串扰后的左路信号以及消除串扰后的右路信号;The crosstalk cancellation module is connected to an input end of the digital-to-analog conversion module for canceling crosstalk between the left channel signal and the right channel signal, and outputting crosstalk cancellation to the digital-to-analog conversion module The left signal after the cancellation and the right signal after the crosstalk is eliminated;
    所述数模转换模块,输出端与所述驱动模块的输入端连接,用于对所述消除串扰后的左路信号进行数模转换处理,得到并向所述驱动模块输出左路模拟音频信号,以及对所述消除串扰后的右路信号进行数模转换处理,得到并向所述驱动模块输出右路模拟音频信号;The digital-to-analog conversion module is connected to an input end of the driving module, and is configured to perform digital-to-analog conversion processing on the left-channel signal after the crosstalk cancellation, and obtain and output a left-channel analog audio signal to the driving module. And performing digital-to-analog conversion processing on the cross-talking right-path signal, and obtaining and outputting a right-channel analog audio signal to the driving module;
    所述驱动模块,输出端与所述外接音频输出装置连接,用于驱动所述外接音频输出装置的左输出装置输出所述左路模拟音频信号,以及驱动所述外接音频输出装置的右输出装置输出所述右路模拟音频信号。The driving module is connected to the external audio output device for driving the left output device of the external audio output device to output the left analog audio signal, and driving the right output device of the external audio output device The right analog audio signal is output.
  11. 根据权利要求10所述的驱动电路,其特征在于,所述串扰消除模块包括第一加强装置、第一延迟装置、第一计算装置、第二加强装置、第二延迟装置以及第二计算装置,其中,The driving circuit according to claim 10, wherein the crosstalk canceling module comprises a first boosting device, a first delaying device, a first computing device, a second reinforcing device, a second delay device, and a second computing device, among them,
    所述第一加强装置用于滤除所述左路信号中位于预设频带之外的第一部分左路信号,并按照预设放大系数对所述左路信号中位于所述预设频带上的第二部分左路信号进行放大,获得第一左路信号,所述第一延迟装置用于获取在当前采样周期之前的预设数量的采样周期内的左路信号,所述第一计算装置用于将所述左路信号、所述第二部分左路信号以及所述在当前采样周期之前的预设数量的采样周期内的左路信号进行第一运算,获得所述处理后的左路信号;The first reinforcing device is configured to filter out a first portion of the left channel signal that is outside the preset frequency band of the left channel signal, and is located on the preset frequency band of the left channel signal according to a preset amplification factor. The second portion of the left signal is amplified to obtain a first left channel signal, and the first delay device is configured to acquire a left channel signal within a preset number of sampling periods before the current sampling period, where the first computing device uses Performing a first operation on the left signal, the second partial left signal, and the left signal in the preset number of sampling periods before the current sampling period to obtain the processed left signal ;
    所述第二加强装置用于滤除所述右路信号中位于所述预设频带之外的第一部分右路信号,并按照所述预设放大系数对所述右路信号中位于所述预设频带上的第二部分右路信号进行放大,获得第一右路信号,所述第二延迟装置用于获取在当前采样周期之前的所述预设数量的采样周期内的右路信号,所述第二计算装置用于将所述右路信号、所述第二部分右路信号以及所述在当前采样周期之前的所述预设数量的采样周期内的右路信号进行第一运算,获得所述处理后的右路信号。The second reinforcing device is configured to filter out a first portion of the right channel signal of the right channel signal that is outside the preset frequency band, and according to the preset amplification factor, the right channel signal is located in the a second portion of the right channel signal on the frequency band is amplified to obtain a first right channel signal, and the second delay device is configured to acquire a right channel signal in the preset number of sampling periods before the current sampling period, The second computing device is configured to perform the first operation on the right channel signal, the second partial right channel signal, and the right channel signal in the preset number of sampling periods before the current sampling period, to obtain The processed right channel signal.
  12. 根据权利要求11所述的驱动电路,其特征在于,所述驱动电路还包括阻抗检测模块,其中,The driving circuit according to claim 11, wherein the driving circuit further comprises an impedance detecting module, wherein
    所述阻抗检测模块的输入端与所述驱动模块的输出端连接,输出端与所述处理模块连接,所述阻抗检测模块用于检测所述外接音频输出装置的阻抗,并向所述处理模块输出所述阻抗;An input end of the impedance detecting module is connected to an output end of the driving module, and an output end is connected to the processing module, wherein the impedance detecting module is configured to detect an impedance of the external audio output device, and send the impedance to the processing module Outputting the impedance;
    所述处理模块,还用于根据所述阻抗调整所述音频信号的电压。The processing module is further configured to adjust a voltage of the audio signal according to the impedance.
  13. 根据权利要求11或12所述的驱动电路,其特征在于,所述驱动电路还包括校正模块,其中,The driving circuit according to claim 11 or 12, wherein the driving circuit further comprises a correction module, wherein
    所述校正模块的输入端与所述驱动装置的输出端连接,输出端与所述串扰消除模块连接,所述校正模块用于检测所述左路模拟音频信号与所述右路模拟音频信号之间的立体声分离度,并向所述串扰消除模块输出所述立体声分离度;An input end of the correction module is connected to an output end of the driving device, and an output end is connected to the crosstalk canceling module, and the correcting module is configured to detect the left analog audio signal and the right analog audio signal Stereo separation between the two, and outputting the stereo separation to the crosstalk cancellation module;
    所述串扰消除模块,还用于根据所述立体声分离度调整所述第一加强装置或所述第二加强装置中的所述预设放大系数的取值,和/或,所述第一延迟装置或所述第二延迟装置中的所述预设数量的取值。The crosstalk cancellation module is further configured to adjust a value of the preset amplification factor in the first reinforcement device or the second reinforcement device according to the stereo separation degree, and/or the first delay The preset number of values in the device or the second delay device.
PCT/CN2018/099433 2017-12-13 2018-08-08 Bias voltage output circuit and driving circuit WO2019114297A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201711329076 2017-12-13
CN201711329076.9 2017-12-13
CN201810111857.9A CN109922394B (en) 2017-12-13 2018-02-05 Bias voltage output circuit and drive circuit
CN201810111857.9 2018-02-05

Publications (1)

Publication Number Publication Date
WO2019114297A1 true WO2019114297A1 (en) 2019-06-20

Family

ID=66820746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099433 WO2019114297A1 (en) 2017-12-13 2018-08-08 Bias voltage output circuit and driving circuit

Country Status (1)

Country Link
WO (1) WO2019114297A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333268A (en) * 2011-07-28 2012-01-25 四川和芯微电子股份有限公司 POP noise suppression circuit and method
CN202143202U (en) * 2011-07-28 2012-02-08 四川和芯微电子股份有限公司 Pop noise suppression circuit
CN103139689A (en) * 2011-11-23 2013-06-05 安凯(广州)微电子技术有限公司 Device and method for eliminating popping sound of earphone
JP2015154350A (en) * 2014-02-17 2015-08-24 株式会社デンソー Stereophonic acoustic apparatus
CN105917674A (en) * 2013-10-30 2016-08-31 华为技术有限公司 Method and mobile device for processing an audio signal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333268A (en) * 2011-07-28 2012-01-25 四川和芯微电子股份有限公司 POP noise suppression circuit and method
CN202143202U (en) * 2011-07-28 2012-02-08 四川和芯微电子股份有限公司 Pop noise suppression circuit
CN103139689A (en) * 2011-11-23 2013-06-05 安凯(广州)微电子技术有限公司 Device and method for eliminating popping sound of earphone
CN105917674A (en) * 2013-10-30 2016-08-31 华为技术有限公司 Method and mobile device for processing an audio signal
JP2015154350A (en) * 2014-02-17 2015-08-24 株式会社デンソー Stereophonic acoustic apparatus

Similar Documents

Publication Publication Date Title
CN109922394B (en) Bias voltage output circuit and drive circuit
US8437812B2 (en) Headset with auxiliary input(s) for cell phone and/or other devices
CN102158779B (en) Earphone socket and realization method thereof
US8750534B2 (en) Communications headset power provision
US8750535B2 (en) Communications headset power provision
US9620101B1 (en) Systems and methods for maintaining playback fidelity in an audio system with adaptive noise cancellation
US10116473B1 (en) Controlling noise transfer function of signal path to reduce charge pump noise
CN101938546A (en) Earphone microphone detection method based on mobile phone and mobile phone
KR20070022442A (en) Mobile phone had a function of blocking the Pop-Up Noise when an ear phone connected with the mobile phone
EP2716063B1 (en) Communications headset power provision
CN109842836B (en) Method, circuit and equipment for eliminating crosstalk between audio signal playing paths
WO2019114297A1 (en) Bias voltage output circuit and driving circuit
KR20150107518A (en) Electronic device having function for removing noise
US8861747B2 (en) Self powered audio compressor circuit
CN212628411U (en) Bone conduction hearing aid
CN208971820U (en) Earphone insertion detection circuit, earphone isolation circuit and electronic equipment
CN112073885A (en) Bone conduction hearing aid
CN205179338U (en) Headphone structure circuit of compatible multiple cell -phone system
CN211718875U (en) Sound card device
CN219893445U (en) Signal amplitude limiting mute circuit and audio equipment
US9781501B2 (en) Earpiece and headset
US20180192193A1 (en) Sound adjustment device for hearing protection and sound adjustment method thereof
CN215121196U (en) Earphone hot plug detection circuit, audio circuit and electrical appliance
CN116506777B (en) Speaker system and electronic apparatus
CN102790934B (en) Amplifier circuit in parallel

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

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

Country of ref document: EP

Kind code of ref document: A1