WO2018133565A1 - Gain control device - Google Patents

Gain control device Download PDF

Info

Publication number
WO2018133565A1
WO2018133565A1 PCT/CN2017/114585 CN2017114585W WO2018133565A1 WO 2018133565 A1 WO2018133565 A1 WO 2018133565A1 CN 2017114585 W CN2017114585 W CN 2017114585W WO 2018133565 A1 WO2018133565 A1 WO 2018133565A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
gain
output
gain control
zero
Prior art date
Application number
PCT/CN2017/114585
Other languages
French (fr)
Chinese (zh)
Inventor
林其亮
吴顺达
Original Assignee
深圳市中移联半导体科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中移联半导体科技有限公司 filed Critical 深圳市中移联半导体科技有限公司
Publication of WO2018133565A1 publication Critical patent/WO2018133565A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control

Definitions

  • the present invention relates to the field of electronic circuit technologies, and in particular, to a gain control device.
  • the audio amplifier is a power amplifier that amplifies the audio signal to drive the speaker for sound amplification.
  • AGC automatic gain control
  • AGC is an automatic control method that automatically adjusts the gain of the amplifier circuit with the signal strength.
  • the function of the AGC automatic gain control circuit is to automatically keep the amplitude of the output signal within a small range when the input signal amplitude varies greatly.
  • the gain control method in the prior art can maintain the output power at a set power threshold when detecting that the output power of the amplifier is greater than a predetermined power threshold.
  • the existing gain control method is easy to cause distortion when controlling the gain, affecting the audio playback effect; and when detecting that the output signal of the amplifier is greater than a predetermined preset threshold, although the output signal can be automatically reduced, the signal output value in the process is already Exceeding the maximum power value of the speaker can easily cause damage to the speaker.
  • a patent control file with the publication number CN104485909A provides a gain control method And the device uses multiple sets of AGC control circuits to judge the output of the amplifier, and performs different time gain control for different output sizes, which can improve the playing effect of the music file and enhance the user experience.
  • the output exceeds the first preset threshold such as the maximum power of the speaker
  • the gain will drop rapidly, but the signal output has already exceeded the maximum power value of the speaker, or the speaker is damaged.
  • the D-type audio amplifier judges whether the output is cut off from the integrator output judgment, and judges that the different output power is judged from the output of the first-stage adjustable gain amplifier, the positions determined by the two mechanisms are different, so it is not suitable. Used on Class D audio amplifiers.
  • the patent document disclosed in CN104767498A provides a gain control method and apparatus that uses zero-crossing detection to avoid adjusting the gain of the amplifier at the peak of the output signal, thereby improving the music playback effect.
  • zero-crossing detection it is not possible to choose whether or not zero-crossing detection is required to change the gain. If there is a low-frequency music signal input, when the output signal exceeds the maximum power limit of the speaker, the gain must be reduced quickly and in time. If the gain must be changed after the zero-crossing detection, the speaker may be damaged.
  • the second detection circuit of the zero-crossing detection circuit uses the high threshold and the low threshold level to determine the output signal, that is, the output signal does not send the zero-cross detection signal at the lowest point, so the change of the gain will still result. A certain noise, affecting the playback effect.
  • the purpose of the present invention is to design a gain control device that can maintain good sound quality while effectively protecting the speaker and preventing the speaker from being damaged beyond the maximum power.
  • a gain control device comprising a pre-stage gain amplifier, a voltage control circuit, a modulation circuit, an amplitude detection circuit, a zero-crossing detection circuit, an anti-cracking amplitude detection circuit and a gain control circuit, the pre-stage gain amplifier and the voltage control circuit And the modulation circuit is sequentially connected, the voltage control circuit is respectively connected to the gain control circuit by the amplitude detection circuit and the zero-cross detection circuit, and the modulation circuit is connected to the gain control by the anti-cutting amplitude detection circuit Circuit; among them,
  • the voltage control circuit is configured to detect and control an output signal of the pre-stage gain amplifier
  • the amplitude detecting circuit is configured to receive an output signal of the voltage control circuit and compare it with a preset threshold, and output a corresponding gain signal;
  • the zero-crossing detection circuit is configured to determine whether an output signal of the voltage control circuit crosses a zero point, and output a corresponding gain signal to the gain control circuit at a zero-crossing point;
  • the anti-cutting amplitude detecting circuit is configured to detect whether an output signal of the modulation circuit is topped, and output a corresponding gain signal to the gain control circuit when a topping occurs;
  • the gain control circuit is configured to determine, according to the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, whether gain control is required, and when the gain control is required, the pre-stage gain amplifier The gain is controlled.
  • the gain control device of the present invention is applicable to a class D audio amplifier.
  • the amplitude detecting circuit of the present invention includes N amplitude detecting circuits, N ⁇ 1.
  • the gain control circuit of the present invention further includes: receiving the frame separately The gain signal output by the degree detection circuit, the zero-crossing detection circuit, and the anti-cutting amplitude detection circuit, and whether or not the zero-crossing point is required is the gain control.
  • the voltage control circuit of the present invention includes: a first comparator, a first control switch, a second comparator, and a second control switch;
  • the input end of the first comparator is respectively connected to the output signal of the pre-stage gain amplifier and the first reference voltage, and the output end of the first comparator is connected to the first control switch;
  • the input end of the second comparator is respectively connected to the output signal of the pre-stage gain amplifier and the second reference voltage, and the output end of the second comparator is connected to the second control switch.
  • the zero-crossing detection circuit of the present invention includes: a third comparator, a first delay circuit, a second delay circuit, and an exclusive OR gate, wherein the input ends of the third comparator are respectively connected to the output of the voltage control circuit a signal, the output of the third comparator is connected to the first delay circuit through the non-gate, and the other is directly connected to the second delay circuit, and the outputs of the first delay circuit and the second delay circuit are respectively connected to the XOR gate Two inputs.
  • the speaker can be effectively protected by the voltage control circuit to prevent the speaker from being damaged beyond the maximum power
  • the zero-crossing detection circuit can change the gain at the minimum signal, avoiding the noise when the gain changes, and can maintain good sound quality.
  • FIG. 1 is a circuit diagram of the present invention
  • FIG. 2 is a circuit diagram of Embodiment 1 of the present invention.
  • Figure 3 is a diagram showing the relationship between the signal and the gain of the amplifier of the present invention.
  • Figure 4 is a circuit diagram of a voltage control circuit of the present invention.
  • Figure 5 is a circuit diagram of the amplitude detecting circuit of the present invention.
  • FIG. 6 is a schematic diagram of input and output of the amplitude detecting circuit of the present invention.
  • Figure 7 is a circuit diagram of the zero-crossing detecting circuit of the present invention.
  • Figure 8 is a schematic diagram showing the input and output of the zero-crossing detection circuit of the present invention.
  • the invention provides a gain control device, please refer to FIG. 1 , which includes a pre-stage gain amplifier, a voltage control circuit, a modulation circuit, an amplitude detection circuit, a zero-crossing detection circuit, an anti-cutting amplitude detection circuit and a gain control circuit.
  • the pre-stage gain amplifier, the voltage control circuit and the modulation circuit are sequentially connected, and the voltage control circuit is respectively connected to the gain control circuit through the amplitude detection circuit and the zero-cross detection circuit, and the modulation circuit passes the anti-cutting A top amplitude detecting circuit is coupled to the gain control circuit. among them,
  • the voltage control circuit is configured to detect and control an output of the pre-stage gain amplifier signal
  • the amplitude detecting circuit is configured to receive an output signal of the voltage control circuit and compare it with a preset threshold, and output a corresponding gain signal;
  • the zero-crossing detection circuit is configured to determine whether an output signal of the voltage control circuit crosses a zero point, and output a corresponding gain signal to the gain control circuit at a zero-crossing point;
  • the anti-cutting amplitude detecting circuit is configured to detect whether an output signal of the modulation circuit is topped, and output a corresponding gain signal to the gain control circuit when a topping occurs;
  • the gain control circuit is configured to determine, according to the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, whether gain control is required, and when the gain control is required, the pre-stage gain amplifier The gain is controlled.
  • the gain control device provided by the invention can effectively protect the speaker and prevent the speaker from being damaged.
  • the set voltage control point is the maximum power P MAX of the load speaker.
  • the amplitude detection circuit detects the output of the voltage control circuit and outputs a signal of the gain reduction to the gain control. The circuit quickly reduces the gain.
  • the gain control circuit of the present invention further comprises: respectively receiving the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, and determining whether a zero-crossing point is required to perform gain control.
  • the zero-crossing detection of the present invention determines whether it is necessary to reduce the gain when the signal crosses zero via the gain control circuit. If the output signal has exceeded P MAX or the voltage output signal is topped, there is no need to wait for a zero crossing signal, and the gain control circuit will immediately reduce the gain as quickly as possible.
  • the speaker Especially when the input is a low frequency signal, if you want to wait for the zero-crossing signal to reduce the gain, the speaker will be in a high voltage condition for a long time, which is easy to cause damage. And if the output is cut-off distortion, and the gain is not quickly lowered, the sound quality is impaired.
  • the invention makes the detection point closer to zero, avoids changing the gain at a position where the signal is high, and causes noise.
  • the gain control device of the present invention is applicable to a class D audio amplifier, and the modulation circuit uses a class D modulation circuit.
  • FIG. 2 for a circuit diagram of the first embodiment.
  • the amplitude detecting circuit can have many groups, and the amplitude detecting circuit includes N amplitude detecting circuits, N ⁇ 1.
  • the speed of the gain reduction can be adjusted according to the power limit range of the speaker to increase the dynamic range of the sound.
  • FIG. 3 Please refer to FIG. 3 for the relationship between the amplifier signal and the gain.
  • three amplitude detection circuits are provided, which are maximum power P MAX , buffer power P MED , and rated power P RMS .
  • Speaker power must not exceed P MAX or it will be damaged.
  • the speaker power can be operated for a long time under P RMS , and between P MAX and P RMS can be properly adjusted to allow the sound to stay in this power range for a short time, which can increase the dynamic range of the sound. That this added power P MED determination, P MED is approximately 1.2 times the P RMS, power is P RMS buffer, a plurality set of power control determines the time, allowing richer loudness.
  • the voltage control circuit limits the output voltage to the control voltage point, preventing the speaker from being damaged, and the gain control circuit controls the gain to drop rapidly (eg 0.16ms/dB), lowering the signal below P MAX .
  • the gain control circuit also controls the gain to drop rapidly (such as 0.16ms/dB) to make the sound signal No distortion, avoiding unpleasant sounds.
  • the gain when the output is between P MAX and P MED , the gain will drop at a medium speed (such as 0.64ms/dB), allowing a brief high volume output.
  • the control gain is slowly reduced (eg 21ms/dB) to allow for a brief high volume output.
  • the gain is maintained when the output is between P RMS and P HYS .
  • the gain when the input signal becomes smaller, the gain will be maintained for 10ms first, and the gain will be slowly restored (such as 41ms/dB) until the initial value of the gain is restored, or the output is between P RMS and P. HYS will stop.
  • FIG. 4 is a circuit diagram of a voltage control circuit.
  • the voltage control circuit in this embodiment includes a first comparator OP_H, a first control switch MP_H, a second comparator OP_L, and a second control switch MP_L.
  • An input end of the first comparator is respectively connected to an output signal of the pre-stage gain amplifier and a first reference voltage, and an output end of the first comparator is connected to the first control switch; and an input end of the second comparator is respectively connected to the pre-stage An output signal of the gain amplifier and a second reference voltage, and an output of the second comparator is connected to the second control switch.
  • the purpose of the voltage control circuit is to prevent the speaker from being damaged by preventing the output power from exceeding the maximum power P MAX of the speaker.
  • the working principle is to detect the relationship between the output signals VOP and VON of the pre-stage gain amplifier and the reference voltages Vref_H and Vref_L.
  • the comparator OP_H or OP_L circuit is respectively controlled to control.
  • the first control switch MP_H or the second control switch MP_L is switched to limit the signal output by the gain amplifier to a voltage limiting VOP and VON.
  • FIG. 5 is a circuit diagram of the amplitude detecting circuit. Comparing the output signals VOP and VON of the voltage control circuit with Vref RMS and Vref HYS respectively, the ATT RMS and RLS RMS signals can be obtained, and then sent to the gain control circuit for gain. control.
  • FIG. 6 is a schematic diagram of the input and output of the amplitude detecting circuit.
  • the gain control circuit When the ATT RMS is high, the gain control circuit is ready to reduce the gain, and when the RLS RMS is high, the gain control circuit is ready to increase the gain.
  • the difference between Vref RMS and Vref HYS must exceed the gain reduction of 1 bit, otherwise there will be a problem that the gain jumps up and down.
  • the purpose of the delay circuit is to prevent the circuit from being disturbed and causing malfunction.
  • the delay time can be several microseconds. Other different magnitude decisions can be made with the same amplitude detection circuit architecture.
  • the anti-shaving amplitude detection circuit is similar to the amplitude detection circuit.
  • the reference voltage is the upper limit of the triangular wave.
  • the PWM generator in the D-type modulator compares the VOP1 and VON1 output from the integrator with the triangular wave to obtain a PWM signal.
  • the output signal has a clipping condition, that is, when the duty of OUTP and OUTN reaches 100% or 0%, the output signals of the integrator (VOP1 and VON1) will exceed the amplitude range of the triangular wave, so by judging whether the integrator output is Exceeding the upper limit of the triangle wave can detect whether the amplifier output has been topped. When topping occurs, the amplifier will quickly reduce the gain and avoid the distortion of the sound.
  • FIG. 7 is a circuit diagram of the zero-crossing detection circuit.
  • the zero-crossing detection circuit includes: a third comparator, a first delay circuit, a second delay circuit, and an exclusive OR gate, wherein an input end of the third comparator is respectively connected to an output signal of the voltage control circuit, and a third comparison
  • the output end of the device is connected to the first delay circuit through a non-gate, and the other circuit is directly connected to the second delay circuit.
  • the outputs of the first delay circuit and the second delay circuit are respectively connected to the two input ends of the XOR gate. Comparing the output signal of the voltage control circuit with a third comparator
  • the VOP and VON signals are processed by a delay circuit and an exclusive OR gate to obtain a pulse signal whose width is determined by the delay circuit.
  • the gain control circuit respectively receives signals from the amplitude detecting circuit, the anti-cutting amplitude detecting circuit and the zero detecting circuit, determines whether it is necessary to reduce the gain or restore the gain, and at what speed the gain is reduced, and whether the zero crossing is required Gain, etc., to control the gain of the preamplifier.

Landscapes

  • Amplifiers (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention provides a gain control device comprising a pre-amplifier circuit, a voltage control circuit, a modulation circuit, an amplitude detection circuit, a zero-crossing circuit, a clip protection and amplitude detection circuit, and a gain control circuit. The pre-amplifier circuit, the voltage control circuit, and the modulation circuit are sequentially connected to each other. The voltage control circuit is connected to the gain control circuit via the amplitude detection circuit and the zero-crossing circuit, respectively. The modulation circuit is connected to the gain control circuit via the clip protection and amplitude detection circuit. The gain control device provided in the invention is utilized to provide favorable audio quality while providing protection for a speaker effectively, preventing the speaker from being damaged as a result of exceeding maximum power.

Description

一种增益控制装置Gain control device 技术领域Technical field
本发明涉及电子电路技术领域,特别涉及一种增益控制装置。The present invention relates to the field of electronic circuit technologies, and in particular, to a gain control device.
背景技术Background technique
音频放大器是将音频信号进行功率放大,以驱动扬声器达到扩音目的。在音频处理过程中,为了提升音乐播放的效果,增大音乐播放的响度,通常需要对输入的音频信号进行自动增益控制,来调整输入的音频信号的信号幅度,衰减大幅值信号,放大小幅值信号,保证信号幅值的平稳。目前的音频功率放大器大多带有自动增益控制(AGC)功能。AGC是使放大电路的增益自动地随信号强度而调整的自动控制方法,AGC自动增益控制电路的作用是在输入信号幅度变化很大的情况下,自动保持输出信号幅度在很小范围内变化的一种自动控制电路。The audio amplifier is a power amplifier that amplifies the audio signal to drive the speaker for sound amplification. In the audio processing process, in order to enhance the effect of music playback and increase the loudness of music playback, it is usually necessary to perform automatic gain control on the input audio signal to adjust the signal amplitude of the input audio signal, attenuate the large value signal, and amplify the small amplitude. The value signal ensures the smoothness of the signal amplitude. Most current audio power amplifiers have automatic gain control (AGC). AGC is an automatic control method that automatically adjusts the gain of the amplifier circuit with the signal strength. The function of the AGC automatic gain control circuit is to automatically keep the amplitude of the output signal within a small range when the input signal amplitude varies greatly. An automatic control circuit.
现有技术中的增益控制方法,可以在检测到放大器的输出功率大于预定的功率阈值时,将输出功率维持在设定的功率阈值。但是现有的增益控制方法在控制增益时容易造成失真,影响音频播放效果;同时在检测到放大器的输出信号大于预定的预设阈值时,虽然能自动降低输出信号,但是过程中信号输出值已经超过扬声器的最大功率值,容易造成扬声器受损。The gain control method in the prior art can maintain the output power at a set power threshold when detecting that the output power of the amplifier is greater than a predetermined power threshold. However, the existing gain control method is easy to cause distortion when controlling the gain, affecting the audio playback effect; and when detecting that the output signal of the amplifier is greater than a predetermined preset threshold, although the output signal can be automatically reduced, the signal output value in the process is already Exceeding the maximum power value of the speaker can easily cause damage to the speaker.
公开号为CN104485909A的专利文件提供了一种增益控制方法 及装置,其使用多组的AGC控制电路来判断放大器的输出,针对不同的输出大小做不同时间的增益控制,可以提升音乐文件的播放效果,提升用户的体验。但是当输出超过第一预设阀值(如扬声器的最大功率)时,增益虽然会快速下降,但是信号输出还是已经超过扬声器的最大功率值,还是会使扬声器损坏。同时,由于D类音频放大器判断输出是否削顶是从积分器输出判断,而判断不同输出功率是从第一级可调增益放大器的输出判断,两种机制判断的位置不相同,因此其不适合用在D类音频放大器上。A patent control file with the publication number CN104485909A provides a gain control method And the device uses multiple sets of AGC control circuits to judge the output of the amplifier, and performs different time gain control for different output sizes, which can improve the playing effect of the music file and enhance the user experience. However, when the output exceeds the first preset threshold (such as the maximum power of the speaker), the gain will drop rapidly, but the signal output has already exceeded the maximum power value of the speaker, or the speaker is damaged. At the same time, since the D-type audio amplifier judges whether the output is cut off from the integrator output judgment, and judges that the different output power is judged from the output of the first-stage adjustable gain amplifier, the positions determined by the two mechanisms are different, so it is not suitable. Used on Class D audio amplifiers.
公开号为CN104767498A的专利文件提供了一种增益控制方法及装置,其使用过零检测,避免在输出信号的峰值处对放大器的增益进行调整,从而提高音乐播放效果。但是当有多组AGC控制电路时,无法选择是否需要过零检测来改变增益。如有一个低频音乐信号输入时,输出信号超过扬声器最大功率限制时,必须要及时快速的降低增益,如果必须等到过零检测后才能改变增益,可能会造成扬声器受损。此外,过零检测电路的第二检测电路有使用高阀值与低阀值电平来判断输出信号,即输出信号并不是在最低的点才送出过零检测信号,所以改变增益时还是会造成一定的杂音,影响播放效果。The patent document disclosed in CN104767498A provides a gain control method and apparatus that uses zero-crossing detection to avoid adjusting the gain of the amplifier at the peak of the output signal, thereby improving the music playback effect. However, when there are multiple sets of AGC control circuits, it is not possible to choose whether or not zero-crossing detection is required to change the gain. If there is a low-frequency music signal input, when the output signal exceeds the maximum power limit of the speaker, the gain must be reduced quickly and in time. If the gain must be changed after the zero-crossing detection, the speaker may be damaged. In addition, the second detection circuit of the zero-crossing detection circuit uses the high threshold and the low threshold level to determine the output signal, that is, the output signal does not send the zero-cross detection signal at the lowest point, so the change of the gain will still result. A certain noise, affecting the playback effect.
发明内容Summary of the invention
针对以上问题,本发明专利目的在于设计了一种增益控制装置,可以保持良好的声音品质,同时可以有效保护扬声器,避免扬声器超过最大功率而损坏。 In view of the above problems, the purpose of the present invention is to design a gain control device that can maintain good sound quality while effectively protecting the speaker and preventing the speaker from being damaged beyond the maximum power.
本发明具体的技术方案如下:The specific technical solution of the present invention is as follows:
一种增益控制装置,包括前级增益放大器、电压控制电路、调变电路、幅度检测电路、过零检测电路、防削顶幅度检测电路和增益控制电路,所述前级增益放大器、电压控制电路和调变电路依次连接,所述电压控制电路分别通过所述幅度检测电路和过零检测电路连接所述增益控制电路,所述调变电路通过所述防削顶幅度检测电路连接所述增益控制电路;其中,A gain control device comprising a pre-stage gain amplifier, a voltage control circuit, a modulation circuit, an amplitude detection circuit, a zero-crossing detection circuit, an anti-cracking amplitude detection circuit and a gain control circuit, the pre-stage gain amplifier and the voltage control circuit And the modulation circuit is sequentially connected, the voltage control circuit is respectively connected to the gain control circuit by the amplitude detection circuit and the zero-cross detection circuit, and the modulation circuit is connected to the gain control by the anti-cutting amplitude detection circuit Circuit; among them,
所述电压控制电路用于检测并控制所述前级增益放大器的输出信号;The voltage control circuit is configured to detect and control an output signal of the pre-stage gain amplifier;
所述幅度检测电路用于接收所述电压控制电路的输出信号并与预设阈值进行比较,输出相应的增益信号;The amplitude detecting circuit is configured to receive an output signal of the voltage control circuit and compare it with a preset threshold, and output a corresponding gain signal;
所述过零检测电路用于判断所述电压控制电路的输出信号是否过零点,并在过零点时向所述增益控制电路输出相应的增益信号;The zero-crossing detection circuit is configured to determine whether an output signal of the voltage control circuit crosses a zero point, and output a corresponding gain signal to the gain control circuit at a zero-crossing point;
所述防削顶幅度检测电路用于检测所述调变电路的输出信号是否出现削顶,并在出现削顶时向所述增益控制电路输出相应的增益信号;The anti-cutting amplitude detecting circuit is configured to detect whether an output signal of the modulation circuit is topped, and output a corresponding gain signal to the gain control circuit when a topping occurs;
所述增益控制电路用于根据所述幅度检测电路、过零检测电路和防削顶幅度检测电路输出的增益信号判断是否需要进行增益控制,以及在需要进行增益控制时对所述前级增益放大器的增益进行控制。The gain control circuit is configured to determine, according to the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, whether gain control is required, and when the gain control is required, the pre-stage gain amplifier The gain is controlled.
具体的,本发明所述增益控制装置适用于D类音频放大器。Specifically, the gain control device of the present invention is applicable to a class D audio amplifier.
具体的,本发明所述幅度检测电路包括N个幅度检测电路,N≥1。Specifically, the amplitude detecting circuit of the present invention includes N amplitude detecting circuits, N≥1.
具体的,本发明所述增益控制电路进一步包括:分别接收所述幅 度检测电路、过零检测电路和防削顶幅度检测电路输出的增益信号,并判断是否需要过零点是进行增益控制。Specifically, the gain control circuit of the present invention further includes: receiving the frame separately The gain signal output by the degree detection circuit, the zero-crossing detection circuit, and the anti-cutting amplitude detection circuit, and whether or not the zero-crossing point is required is the gain control.
具体的,本发明所述电压控制电路包括:第一比较器、第一控制开关、第二比较器和第二控制开关;Specifically, the voltage control circuit of the present invention includes: a first comparator, a first control switch, a second comparator, and a second control switch;
所述第一比较器的输入端分别连接前级增益放大器的输出信号和第一参考电压,第一比较器的输出端连接第一控制开关;The input end of the first comparator is respectively connected to the output signal of the pre-stage gain amplifier and the first reference voltage, and the output end of the first comparator is connected to the first control switch;
所述第二比较器的输入端分别连接前级增益放大器的输出信号和第二参考电压,第二比较器的输出端连接第二控制开关。The input end of the second comparator is respectively connected to the output signal of the pre-stage gain amplifier and the second reference voltage, and the output end of the second comparator is connected to the second control switch.
具体的,本发明所述过零检测电路包括:第三比较器、第一延迟电路、第二延迟电路和异或门,所述第三比较器的输入端分别连接所述电压控制电路的输出信号,第三比较器的输出端一路通过非门连接第一延迟电路,另一路直接连接第二延迟电路,所述第一延迟电路和第二延迟电路的输出端分别连接所述异或门的两输入端。Specifically, the zero-crossing detection circuit of the present invention includes: a third comparator, a first delay circuit, a second delay circuit, and an exclusive OR gate, wherein the input ends of the third comparator are respectively connected to the output of the voltage control circuit a signal, the output of the third comparator is connected to the first delay circuit through the non-gate, and the other is directly connected to the second delay circuit, and the outputs of the first delay circuit and the second delay circuit are respectively connected to the XOR gate Two inputs.
本发明提供的增益控制装置与现有技术相比具有以下优点:The gain control device provided by the present invention has the following advantages compared with the prior art:
(1)通过电压控制电路可以有效的保护扬声器,避免扬声器超过最大功率而损坏;(1) The speaker can be effectively protected by the voltage control circuit to prevent the speaker from being damaged beyond the maximum power;
(2)提出的多组AGC增益控制功能,结合过零检测与防削顶检测,可以完整的判断输出信号,来进一步判断增益该如何变化,能有效的对扬声器进行保护,并同时保持良好的声音品质;(2) The proposed multi-group AGC gain control function, combined with zero-crossing detection and anti-cutting detection, can completely judge the output signal to further judge how the gain changes, and can effectively protect the speaker while maintaining good performance. Sound quality
(3)通过过零检测电路可以在最小的信号时改变增益,避免产生增益变化时的杂音,可以保持良好的声音品质。 (3) The zero-crossing detection circuit can change the gain at the minimum signal, avoiding the noise when the gain changes, and can maintain good sound quality.
附图说明DRAWINGS
以下参照附图对本发明实施例作进一步说明,其中:The embodiments of the present invention are further described below with reference to the accompanying drawings, wherein:
图1是本发明的电路图;Figure 1 is a circuit diagram of the present invention;
图2是本发明实施例一的电路图;Figure 2 is a circuit diagram of Embodiment 1 of the present invention;
图3是本发明本发明放大器信号与增益关系图;Figure 3 is a diagram showing the relationship between the signal and the gain of the amplifier of the present invention;
图4是本发明电压控制电路的电路图;Figure 4 is a circuit diagram of a voltage control circuit of the present invention;
图5是本发明幅度检测电路的电路图;Figure 5 is a circuit diagram of the amplitude detecting circuit of the present invention;
图6是本发明幅度检测电路的输入输出示意图;6 is a schematic diagram of input and output of the amplitude detecting circuit of the present invention;
图7是本发明过零检测电路的电路图;Figure 7 is a circuit diagram of the zero-crossing detecting circuit of the present invention;
图8是本发明过零检测电路的输入输出示意图。Figure 8 is a schematic diagram showing the input and output of the zero-crossing detection circuit of the present invention.
具体实施方式detailed description
下面结合附图和具体实施例对本发明作进一步的详细说明。The invention will be further described in detail below with reference to the drawings and specific embodiments.
本发明提出了一种增益控制装置,请参阅图1,包括前级增益放大器、电压控制电路、调变电路、幅度检测电路、过零检测电路、防削顶幅度检测电路和增益控制电路,所述前级增益放大器、电压控制电路和调变电路依次连接,所述电压控制电路分别通过所述幅度检测电路和过零检测电路连接所述增益控制电路,所述调变电路通过所述防削顶幅度检测电路连接所述增益控制电路。其中,The invention provides a gain control device, please refer to FIG. 1 , which includes a pre-stage gain amplifier, a voltage control circuit, a modulation circuit, an amplitude detection circuit, a zero-crossing detection circuit, an anti-cutting amplitude detection circuit and a gain control circuit. The pre-stage gain amplifier, the voltage control circuit and the modulation circuit are sequentially connected, and the voltage control circuit is respectively connected to the gain control circuit through the amplitude detection circuit and the zero-cross detection circuit, and the modulation circuit passes the anti-cutting A top amplitude detecting circuit is coupled to the gain control circuit. among them,
所述电压控制电路用于检测并控制所述前级增益放大器的输出 信号;The voltage control circuit is configured to detect and control an output of the pre-stage gain amplifier signal;
所述幅度检测电路用于接收所述电压控制电路的输出信号并与预设阈值进行比较,输出相应的增益信号;The amplitude detecting circuit is configured to receive an output signal of the voltage control circuit and compare it with a preset threshold, and output a corresponding gain signal;
所述过零检测电路用于判断所述电压控制电路的输出信号是否过零点,并在过零点时向所述增益控制电路输出相应的增益信号;The zero-crossing detection circuit is configured to determine whether an output signal of the voltage control circuit crosses a zero point, and output a corresponding gain signal to the gain control circuit at a zero-crossing point;
所述防削顶幅度检测电路用于检测所述调变电路的输出信号是否出现削顶,并在出现削顶时向所述增益控制电路输出相应的增益信号;The anti-cutting amplitude detecting circuit is configured to detect whether an output signal of the modulation circuit is topped, and output a corresponding gain signal to the gain control circuit when a topping occurs;
所述增益控制电路用于根据所述幅度检测电路、过零检测电路和防削顶幅度检测电路输出的增益信号判断是否需要进行增益控制,以及在需要进行增益控制时对所述前级增益放大器的增益进行控制。The gain control circuit is configured to determine, according to the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, whether gain control is required, and when the gain control is required, the pre-stage gain amplifier The gain is controlled.
本发明提供的增益控制装置可有效保护扬声器,避免扬声器受损。在第一级前级增益放大器输出,加上电压控制电路,设定的电压控制点为负载扬声器的最大功率PMAX。当放大器的输出电压超过扬声器的最大功率时,会被电压控制电路限制在此最大电压点,不让电压超过,同时幅度检测电路会检测电压控制电路的输出,并输出降增益的信号给增益控制电路,快速降低增益。The gain control device provided by the invention can effectively protect the speaker and prevent the speaker from being damaged. In the first stage preamplifier amplifier output, plus the voltage control circuit, the set voltage control point is the maximum power P MAX of the load speaker. When the output voltage of the amplifier exceeds the maximum power of the speaker, it is limited by the voltage control circuit to the maximum voltage point, and the voltage is not exceeded. At the same time, the amplitude detection circuit detects the output of the voltage control circuit and outputs a signal of the gain reduction to the gain control. The circuit quickly reduces the gain.
具体的,本发明所述增益控制电路进一步包括:分别接收所述幅度检测电路、过零检测电路和防削顶幅度检测电路输出的增益信号,并判断是否需要过零点是进行增益控制。本发明的过零检测判断是经由增益控制电路来判断是否需要在信号过零时来降增益。如果输出信号已经超过PMAX或是电压输出信号削顶失真时,此时不需要等待过 零信号,增益控制电路会马上以最快的速度降低增益。尤其输入是低频信号时,若还要等待过零信号才能降增益,扬声器会长时间处在高电压情况下,容易导致损坏。且如果是输出削顶失真,而不迅速降增益,会使声音音质受损。本发明让检测点更接近零点,避免在信号较高的位置改变增益,造成杂音。Specifically, the gain control circuit of the present invention further comprises: respectively receiving the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, and determining whether a zero-crossing point is required to perform gain control. The zero-crossing detection of the present invention determines whether it is necessary to reduce the gain when the signal crosses zero via the gain control circuit. If the output signal has exceeded P MAX or the voltage output signal is topped, there is no need to wait for a zero crossing signal, and the gain control circuit will immediately reduce the gain as quickly as possible. Especially when the input is a low frequency signal, if you want to wait for the zero-crossing signal to reduce the gain, the speaker will be in a high voltage condition for a long time, which is easy to cause damage. And if the output is cut-off distortion, and the gain is not quickly lowered, the sound quality is impaired. The invention makes the detection point closer to zero, avoids changing the gain at a position where the signal is high, and causes noise.
具体的,本发明所述增益控制装置适用于D类音频放大器,调变电路采用D类调变电路。请参阅图2为本实施例一的电路图。Specifically, the gain control device of the present invention is applicable to a class D audio amplifier, and the modulation circuit uses a class D modulation circuit. Please refer to FIG. 2 for a circuit diagram of the first embodiment.
幅度检测电路可以有很多组,所述幅度检测电路包括N个幅度检测电路,N≥1。可根据扬声器的功率限制范围,来调整增益下降的速度,增加声音的动态范围。The amplitude detecting circuit can have many groups, and the amplitude detecting circuit includes N amplitude detecting circuits, N≥1. The speed of the gain reduction can be adjusted according to the power limit range of the speaker to increase the dynamic range of the sound.
请参阅图3放大器信号与增益关系图,本实施例设置有三档幅度检测电路,分别是最大功率PMAX、缓冲功率PMED、额定功率PRMS。扬声器功率不可超过PMAX,否则会损坏。扬声器功率则可长时间操作在PRMS下,而介于PMAX与PRMS之间就可以适当的调整,让声音在短时间内停留在此功率范围,如此可以加大声音的动态范围。这此,加入PMED的功率判断,PMED约是PRMS的1.2倍,为PRMS的缓冲功率,多一组功率判断与时间控制,可以让声音响度更丰富。Please refer to FIG. 3 for the relationship between the amplifier signal and the gain. In this embodiment, three amplitude detection circuits are provided, which are maximum power P MAX , buffer power P MED , and rated power P RMS . Speaker power must not exceed P MAX or it will be damaged. The speaker power can be operated for a long time under P RMS , and between P MAX and P RMS can be properly adjusted to allow the sound to stay in this power range for a short time, which can increase the dynamic range of the sound. That this added power P MED determination, P MED is approximately 1.2 times the P RMS, power is P RMS buffer, a plurality set of power control determines the time, allowing richer loudness.
请参阅图3中区域A,当声音突然变大,超过PMAX时,电压控制电路会把输出电压限制在控制电压点,不让扬声器有损坏的风险,同时增益控制电路控制增益快速下降(如0.16ms/dB),把信号降低至PMAX以下。或者其他情况,當放大器电源电压较低时,在还没顶到PMAX时,输出就发生削顶失真,此时,增益控制电路也控制增益快 速下降(如0.16ms/dB),让声音信号不失真,避免输出不悦耳的声音。Referring to area A in Figure 3, when the sound suddenly becomes larger and exceeds P MAX , the voltage control circuit limits the output voltage to the control voltage point, preventing the speaker from being damaged, and the gain control circuit controls the gain to drop rapidly (eg 0.16ms/dB), lowering the signal below P MAX . Or other cases, when the amplifier power supply voltage is low, the output is subject to clipping distortion when it is not yet connected to P MAX . At this time, the gain control circuit also controls the gain to drop rapidly (such as 0.16ms/dB) to make the sound signal No distortion, avoiding unpleasant sounds.
请参阅图3中区域B,当输出介于PMAX与PMED时,增益会中速下降(如0.64ms/dB),允许短暂的大音量输出。图3中区域C,当输出介于PMED与PRMS时,控制增益慢速下降(如21ms/dB),来允许短暂的大音量输出。图3中区域D,当输出介于PRMS与PHYS时,增益会维持住。图3中区域E、F、G,当输入信号变小,增益会先维持10ms后,在慢慢回复增益(如41ms/dB),直到回复增益初始值,或是输出介于PRMS与PHYS时才会停住。Referring to area B in Figure 3, when the output is between P MAX and P MED , the gain will drop at a medium speed (such as 0.64ms/dB), allowing a brief high volume output. In area C of Figure 3, when the output is between P MED and P RMS , the control gain is slowly reduced (eg 21ms/dB) to allow for a brief high volume output. In area D in Figure 3, the gain is maintained when the output is between P RMS and P HYS . In the area E, F, and G in Figure 3, when the input signal becomes smaller, the gain will be maintained for 10ms first, and the gain will be slowly restored (such as 41ms/dB) until the initial value of the gain is restored, or the output is between P RMS and P. HYS will stop.
具体的,请参阅图4为电压控制电路的电路图,本实施例所述电压控制电路包括:第一比较器OP_H、第一控制开关MP_H、第二比较器OP_L和第二控制开关MP_L。所述第一比较器的输入端分别连接前级增益放大器的输出信号和第一参考电压,第一比较器的输出端连接第一控制开关;所述第二比较器的输入端分别连接前级增益放大器的输出信号和第二参考电压,第二比较器的输出端连接第二控制开关。Specifically, please refer to FIG. 4 , which is a circuit diagram of a voltage control circuit. The voltage control circuit in this embodiment includes a first comparator OP_H, a first control switch MP_H, a second comparator OP_L, and a second control switch MP_L. An input end of the first comparator is respectively connected to an output signal of the pre-stage gain amplifier and a first reference voltage, and an output end of the first comparator is connected to the first control switch; and an input end of the second comparator is respectively connected to the pre-stage An output signal of the gain amplifier and a second reference voltage, and an output of the second comparator is connected to the second control switch.
电压控制电路目的在防止输出功率超过扬声器的最大功率PMAX而使扬声器损坏。工作原理是透过检测前级增益放大器的输出信号VOP、VON与参考电压Vref_H、Vref_L的关系,当VOP或VON超过上限Vref_H或低于下限Vref_L时,会分别启动比较器OP_H或OP_L电路来控制开关第一控制开关MP_H或第二控制开关MP_L来限制增益放大器输出的信号,达到限制VOP与VON的电压。The purpose of the voltage control circuit is to prevent the speaker from being damaged by preventing the output power from exceeding the maximum power P MAX of the speaker. The working principle is to detect the relationship between the output signals VOP and VON of the pre-stage gain amplifier and the reference voltages Vref_H and Vref_L. When the VOP or VON exceeds the upper limit Vref_H or lower than the lower limit Vref_L, the comparator OP_H or OP_L circuit is respectively controlled to control. The first control switch MP_H or the second control switch MP_L is switched to limit the signal output by the gain amplifier to a voltage limiting VOP and VON.
具体的,请参阅图5为幅度检测电路的电路图,将电压控制电 路的输出信号VOP、VON分别与VrefRMS、VrefHYS做比较,可以得到ATTRMS与RLSRMS讯号,再送到增益控制电路做增益控制。Specifically, please refer to FIG. 5 is a circuit diagram of the amplitude detecting circuit. Comparing the output signals VOP and VON of the voltage control circuit with Vref RMS and Vref HYS respectively, the ATT RMS and RLS RMS signals can be obtained, and then sent to the gain control circuit for gain. control.
请参阅图6是幅度检测电路的输入输出示意图,ATTRMS为高电平时,增益控制电路准备降增益,RLSRMS为高电平时,增益控制电路准备升增益。VrefRMS与VrefHYS的差异必须要超过1个bit的增益降幅以上,否则会有增益上下跳动的问题。延迟电路的目的是为了防止电路受干扰而造成误动作,延迟时间可以是数微秒。其他不同幅度的判断可以用相同的幅度检测电路架构来达成。Please refer to FIG. 6 , which is a schematic diagram of the input and output of the amplitude detecting circuit. When the ATT RMS is high, the gain control circuit is ready to reduce the gain, and when the RLS RMS is high, the gain control circuit is ready to increase the gain. The difference between Vref RMS and Vref HYS must exceed the gain reduction of 1 bit, otherwise there will be a problem that the gain jumps up and down. The purpose of the delay circuit is to prevent the circuit from being disturbed and causing malfunction. The delay time can be several microseconds. Other different magnitude decisions can be made with the same amplitude detection circuit architecture.
防削顶幅度检测电路类似幅度检测电路,请参阅图5,参考电压则是三角波的上限值。D类调变器裡的PWM产生器是将积分器输出的VOP1、VON1与三角波比较而得到PWM讯号。当输出讯号有削顶的情况发生时,即OUTP与OUTN的duty到达100%或0%时,积分器的输出讯号(VOP1与VON1)会超过三角波的幅度范围,所以藉由判断积分器输出是否超过三角波上限值可以检测出放大器输出是否发生削顶。当发生削顶,放大器会快速降增益,避免听到失真的声音The anti-shaving amplitude detection circuit is similar to the amplitude detection circuit. Referring to Figure 5, the reference voltage is the upper limit of the triangular wave. The PWM generator in the D-type modulator compares the VOP1 and VON1 output from the integrator with the triangular wave to obtain a PWM signal. When the output signal has a clipping condition, that is, when the duty of OUTP and OUTN reaches 100% or 0%, the output signals of the integrator (VOP1 and VON1) will exceed the amplitude range of the triangular wave, so by judging whether the integrator output is Exceeding the upper limit of the triangle wave can detect whether the amplifier output has been topped. When topping occurs, the amplifier will quickly reduce the gain and avoid the distortion of the sound.
具体的,请参阅图7为过零检测电路的电路图。所述过零检测电路包括:第三比较器、第一延迟电路、第二延迟电路和异或门,所述第三比较器的输入端分别连接所述电压控制电路的输出信号,第三比较器的输出端一路通过非门连接第一延迟电路,另一路直接连接第二延迟电路,所述第一延迟电路和第二延迟电路的输出端分别连接所述异或门的两输入端。使用第三比较器比较电压控制电路的输出信号 VOP与VON的讯号,经过延迟电路与异或门运算后,得到一脉波讯号,此脉波宽度由延迟电路决定。Specifically, please refer to FIG. 7 is a circuit diagram of the zero-crossing detection circuit. The zero-crossing detection circuit includes: a third comparator, a first delay circuit, a second delay circuit, and an exclusive OR gate, wherein an input end of the third comparator is respectively connected to an output signal of the voltage control circuit, and a third comparison The output end of the device is connected to the first delay circuit through a non-gate, and the other circuit is directly connected to the second delay circuit. The outputs of the first delay circuit and the second delay circuit are respectively connected to the two input ends of the XOR gate. Comparing the output signal of the voltage control circuit with a third comparator The VOP and VON signals are processed by a delay circuit and an exclusive OR gate to obtain a pulse signal whose width is determined by the delay circuit.
请参阅图8为过零检测电路的输入输出示意图。当输入讯号突然停止,VOP与VON会无法交越,比较器会无法产生变化,此时,脉波侦测电路会侦测一段时间内是否没有脉波讯号送过来。如距离上一次的脉波讯号已经超过50ms还没有下一个脉波送过来时,脉波侦测电路会强制送出一脉波讯号,让增益控制电路可以顺利控制增益。此根强制送出的脉波是在没有输入讯号的情况下送出,所以增益改变会在讯号最小的时候,所以此时改变增益并不会产生杂音。Please refer to Figure 8 for the input and output of the zero-crossing detection circuit. When the input signal suddenly stops, VOP and VON will not be able to cross, and the comparator will not be able to change. At this time, the pulse detection circuit will detect whether there is no pulse signal sent over a period of time. If the pulse signal of the last time has exceeded 50ms and no next pulse wave has been sent, the pulse wave detection circuit will forcibly send a pulse signal, so that the gain control circuit can smoothly control the gain. The pulse wave sent by this root is sent without input signal, so the gain change will be when the signal is the smallest, so changing the gain at this time will not produce noise.
具体的,增益控制电路分别接收来自幅度检测电路、防削顶幅度检测电路与零点检测电路的讯号,判断是否需要降低增益或恢复增益,并以何种速度降低增益,是否需要过零点的时候降低增益等,来控制前置放大器的增益。Specifically, the gain control circuit respectively receives signals from the amplitude detecting circuit, the anti-cutting amplitude detecting circuit and the zero detecting circuit, determines whether it is necessary to reduce the gain or restore the gain, and at what speed the gain is reduced, and whether the zero crossing is required Gain, etc., to control the gain of the preamplifier.
以上所述本发明的具体实施方式,并不构成对本发明保护范围的限定。任何根据本发明的技术构思所做出的各种其他相应的改变与变形,均应包含在本发明权利要求的保护范围内。 The specific embodiments of the invention described above are not intended to limit the scope of the invention. Any other various changes and modifications made in accordance with the technical idea of the present invention are intended to be included within the scope of the appended claims.

Claims (6)

  1. 一种增益控制装置,其特征在于,包括前级增益放大器、电压控制电路、调变电路、幅度检测电路、过零检测电路、防削顶幅度检测电路和增益控制电路,所述前级增益放大器、电压控制电路和调变电路依次连接,所述电压控制电路分别通过所述幅度检测电路和过零检测电路连接所述增益控制电路,所述调变电路通过所述防削顶幅度检测电路连接所述增益控制电路;其中,A gain control device, comprising: a pre-stage gain amplifier, a voltage control circuit, a modulation circuit, an amplitude detecting circuit, a zero-crossing detecting circuit, an anti-cutting amplitude detecting circuit and a gain control circuit, the pre-stage gain amplifier The voltage control circuit and the modulation circuit are sequentially connected, and the voltage control circuit is respectively connected to the gain control circuit through the amplitude detection circuit and the zero-cross detection circuit, and the modulation circuit is connected by the anti-cutting amplitude detection circuit. The gain control circuit; wherein
    所述电压控制电路用于检测并控制所述前级增益放大器的输出信号;The voltage control circuit is configured to detect and control an output signal of the pre-stage gain amplifier;
    所述幅度检测电路用于接收所述电压控制电路的输出信号并与预设阈值进行比较,输出相应的增益信号;The amplitude detecting circuit is configured to receive an output signal of the voltage control circuit and compare it with a preset threshold, and output a corresponding gain signal;
    所述过零检测电路用于判断所述电压控制电路的输出信号是否过零点,并在过零点时向所述增益控制电路输出相应的增益信号;The zero-crossing detection circuit is configured to determine whether an output signal of the voltage control circuit crosses a zero point, and output a corresponding gain signal to the gain control circuit at a zero-crossing point;
    所述防削顶幅度检测电路用于检测所述调变电路的输出信号是否出现削顶,并在出现削顶时向所述增益控制电路输出相应的增益信号;The anti-cutting amplitude detecting circuit is configured to detect whether an output signal of the modulation circuit is topped, and output a corresponding gain signal to the gain control circuit when a topping occurs;
    所述增益控制电路用于根据所述幅度检测电路、过零检测电路和防削顶幅度检测电路输出的增益信号判断是否需要进行增益控制,以及在需要进行增益控制时对所述前级增益放大器的增益进行控制。The gain control circuit is configured to determine, according to the gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit and the anti-cutting amplitude detecting circuit, whether gain control is required, and when the gain control is required, the pre-stage gain amplifier The gain is controlled.
  2. 根据权利要求1所述的增益控制装置,其特征在于,所述增益控制装置适用于D类音频放大器。The gain control apparatus according to claim 1, wherein said gain control means is applied to a class D audio amplifier.
  3. 根据权利要求1所述的增益控制装置,其特征在于,所述幅度检测电路包括N个幅度检测电路,N≥1。 The gain control apparatus according to claim 1, wherein said amplitude detecting circuit comprises N amplitude detecting circuits, N ?
  4. 根据权利要求1所述的增益控制装置,其特征在于,所述增益控制电路进一步包括:分别接收所述幅度检测电路、过零检测电路和防削顶幅度检测电路输出的增益信号,并判断是否需要过零点时进行增益控制。The gain control device according to claim 1, wherein the gain control circuit further comprises: respectively receiving gain signals output by the amplitude detecting circuit, the zero-crossing detecting circuit, and the anti-cutting amplitude detecting circuit, and determining whether Gain control is required when zero crossing is required.
  5. 根据权利要求1所述的增益控制装置,其特征在于,所述电压控制电路包括:第一比较器、第一控制开关、第二比较器和第二控制开关;The gain control device according to claim 1, wherein the voltage control circuit comprises: a first comparator, a first control switch, a second comparator, and a second control switch;
    所述第一比较器的输入端分别连接前级增益放大器的输出信号和第一参考电压,第一比较器的输出端连接第一控制开关;The input end of the first comparator is respectively connected to the output signal of the pre-stage gain amplifier and the first reference voltage, and the output end of the first comparator is connected to the first control switch;
    所述第二比较器的输入端分别连接前级增益放大器的输出信号和第二参考电压,第二比较器的输出端连接第二控制开关。The input end of the second comparator is respectively connected to the output signal of the pre-stage gain amplifier and the second reference voltage, and the output end of the second comparator is connected to the second control switch.
  6. 根据权利要求1所述的增益控制装置,其特征在于,所述过零检测电路包括:第三比较器、第一延迟电路、第二延迟电路和异或门,所述第三比较器的输入端分别连接所述电压控制电路的输出信号,第三比较器的输出端一路通过非门连接第一延迟电路,另一路直接连接第二延迟电路,所述第一延迟电路和第二延迟电路的输出端分别连接所述异或门的两输入端。 The gain control apparatus according to claim 1, wherein said zero-crossing detecting circuit comprises: a third comparator, a first delay circuit, a second delay circuit, and an exclusive OR gate, the input of said third comparator The terminals respectively connect the output signals of the voltage control circuit, the output of the third comparator is connected to the first delay circuit through the non-gate, and the other is directly connected to the second delay circuit, the first delay circuit and the second delay circuit The output ends are respectively connected to the two input ends of the XOR gate.
PCT/CN2017/114585 2017-01-20 2017-12-05 Gain control device WO2018133565A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710041520.0 2017-01-20
CN201710041520.0A CN106656085B (en) 2017-01-20 2017-01-20 A kind of gain control

Publications (1)

Publication Number Publication Date
WO2018133565A1 true WO2018133565A1 (en) 2018-07-26

Family

ID=58841644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114585 WO2018133565A1 (en) 2017-01-20 2017-12-05 Gain control device

Country Status (2)

Country Link
CN (1) CN106656085B (en)
WO (1) WO2018133565A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11699423B1 (en) * 2022-01-25 2023-07-11 Elite Semiconductor Microelectronics Technology Inc. Apparatus for noise reduction in audio signal processing

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656085B (en) * 2017-01-20 2018-09-25 深圳市中移联半导体科技有限公司 A kind of gain control
CN107395149B (en) * 2017-07-28 2020-11-27 南京矽力微电子技术有限公司 Audio signal processing method, device and integrated circuit
US10555269B2 (en) 2017-11-24 2020-02-04 Mediatek Inc. Amplifier circuit having controllable output stage
CN111696574B (en) * 2019-03-14 2023-07-28 扬智电子科技(成都)有限公司 Audio signal processing device and audio signal adjusting method thereof
CN116566347A (en) * 2023-07-10 2023-08-08 上海海栎创科技股份有限公司 Audio device and power supply control method with gain control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1275838A (en) * 1999-05-28 2000-12-06 松下电器产业株式会社 Gain control circuit, receiver and transmitter, radio communication device and system
CN102740212A (en) * 2011-04-13 2012-10-17 奥迪康有限公司 Hearing device with automatic clipping prevention and corresponding method
CN104767498A (en) * 2015-04-30 2015-07-08 上海艾为电子技术股份有限公司 Gain control method and device
CN105099385A (en) * 2015-08-24 2015-11-25 上海艾为电子技术股份有限公司 Gain control circuit and audio equipment
CN106656085A (en) * 2017-01-20 2017-05-10 深圳市中移联半导体科技有限公司 Gain control device
CN206533346U (en) * 2017-01-20 2017-09-29 深圳市中移联半导体科技有限公司 A kind of gain control

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825568B (en) * 2010-08-16 2016-09-14 成都芯源系统有限公司 Automatic gain control system and method thereof
US8582786B2 (en) * 2011-06-15 2013-11-12 Alpine Electronics, Inc. Automatic gain control of amplifier by dynamic suppressing and output control at multiple stages
CN103326680B (en) * 2013-07-18 2016-08-10 中国科学院微电子研究所 D-type audio power amplifier and acoustic signal processing method thereof
CN104485909B (en) * 2014-12-31 2017-12-19 上海艾为电子技术股份有限公司 Gain control method and device
CN204795562U (en) * 2015-05-29 2015-11-18 上海芯望电子技术有限公司 Audio signal gain adjustment circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1275838A (en) * 1999-05-28 2000-12-06 松下电器产业株式会社 Gain control circuit, receiver and transmitter, radio communication device and system
CN102740212A (en) * 2011-04-13 2012-10-17 奥迪康有限公司 Hearing device with automatic clipping prevention and corresponding method
CN104767498A (en) * 2015-04-30 2015-07-08 上海艾为电子技术股份有限公司 Gain control method and device
CN105099385A (en) * 2015-08-24 2015-11-25 上海艾为电子技术股份有限公司 Gain control circuit and audio equipment
CN106656085A (en) * 2017-01-20 2017-05-10 深圳市中移联半导体科技有限公司 Gain control device
CN206533346U (en) * 2017-01-20 2017-09-29 深圳市中移联半导体科技有限公司 A kind of gain control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11699423B1 (en) * 2022-01-25 2023-07-11 Elite Semiconductor Microelectronics Technology Inc. Apparatus for noise reduction in audio signal processing
US20230237985A1 (en) * 2022-01-25 2023-07-27 Elite Semiconductor Microelectronics Technology Inc. Apparatus for noise reduction in audio signal processing

Also Published As

Publication number Publication date
CN106656085B (en) 2018-09-25
CN106656085A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2018133565A1 (en) Gain control device
US8538040B2 (en) Drivers and methods for driving a load
US9065413B2 (en) Method and apparatus for circuit with low IC power dissipation and high dynamic range
US20130106506A1 (en) Adjustable gain audio power amplifying circuit
US7432760B2 (en) Digital amplifier apparatus and method of muting digital amplifier apparatus
US9473102B2 (en) Level adjusting circuit, digital sound processor, audio AMP integrated circuit, electronic apparatus and method of automatically adjusting level of audio signal
US6975172B2 (en) Smart voltage rail reduction audio amplifier
CN204795562U (en) Audio signal gain adjustment circuit
CN115987236A (en) Audio signal processing system and audio dynamic range control method
JP2009253926A (en) Sound output amplification system
US7088177B2 (en) Amplifier apparatus
EP3714543B1 (en) Class-d amplifier with duty cycle control
US11082019B2 (en) Amplifier with adaptively-controlled local feedback loop
US7733174B2 (en) Feedback controlled power limiting for signal amplifiers
CN206533346U (en) A kind of gain control
JP2020088443A (en) Signal generating circuit
KR101235433B1 (en) Signal processing circuit
JP4461631B2 (en) Switching amplifier device
JP4661422B2 (en) Muting device, digital audio device
CN111211750A (en) Automatic gain control circuit and method for controlling gain regulation speed in AGC system
CN111556408B (en) Intelligent power control system of loudspeaker and control method thereof
WO2021138808A1 (en) Audio signal processing method, related device, loudspeaker device, and storage medium
US8243957B2 (en) Audio control apparatus
JP2010016440A (en) Audio amplification device
JP6943104B2 (en) Amplification device, damage detection device and damage detection method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/11/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17892882

Country of ref document: EP

Kind code of ref document: A1