CN111786640A - A kind of automatic compression ratio control device and control method of power amplifier - Google Patents

A kind of automatic compression ratio control device and control method of power amplifier Download PDF

Info

Publication number
CN111786640A
CN111786640A CN202010635030.5A CN202010635030A CN111786640A CN 111786640 A CN111786640 A CN 111786640A CN 202010635030 A CN202010635030 A CN 202010635030A CN 111786640 A CN111786640 A CN 111786640A
Authority
CN
China
Prior art keywords
compression ratio
output
analog
power amplifier
microcontroller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010635030.5A
Other languages
Chinese (zh)
Inventor
徐海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Desam Audio Co ltd
Original Assignee
Guangzhou Desam Audio Co ltd
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 Guangzhou Desam Audio Co ltd filed Critical Guangzhou Desam Audio Co ltd
Priority to CN202010635030.5A priority Critical patent/CN111786640A/en
Publication of CN111786640A publication Critical patent/CN111786640A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03FAMPLIFIERS
    • H03F1/00Details of amplifiers with only discharge tubes, only semiconductor devices or only unspecified devices as amplifying elements
    • H03F1/56Modifications of input or output impedances, not otherwise provided for
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03FAMPLIFIERS
    • H03F3/00Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
    • H03F3/20Power amplifiers, e.g. Class B amplifiers, Class C amplifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention discloses an automatic compression ratio control device and a control method for a power amplifier, which solve the problem that the traditional power amplifier cannot continuously output sound because of overhigh temperature. The automatic compression ratio control device of the power amplifier comprises a microcontroller, and a power input terminal, a first analog-to-digital converter, a digital signal processor, a digital-to-analog converter, a power amplifier and a power output terminal of the compressor, which are electrically connected in sequence, wherein the digital signal processor and the power amplifier are both electrically connected with the microcontroller, a radiator temperature detector is arranged between the microcontroller and the power amplifier, the digital signal processor is integrated with an RMS voltage detector, a level converter, a level comparator, a gain smooth updater and a gain controller, which are electrically connected in sequence, and signals input by the first analog-to-digital converter respectively enter the RMS voltage detector and the gain controller. The invention is applied to the technical field of electronics.

Description

一种功率放大器的自动压缩比控制装置及控制方法A kind of automatic compression ratio control device and control method of power amplifier

技术领域technical field

本发明涉及一种功率放大器的自动压缩比控制装置及控制方法,特别涉及一种功率放大器的自动压缩比受温度及输出功率控制的装置及控制方法。The invention relates to an automatic compression ratio control device and a control method of a power amplifier, in particular to a device and a control method for the automatic compression ratio of the power amplifier to be controlled by temperature and output power.

背景技术Background technique

现有的AB类功率放大器有较大的耗散功耗导致发热严重,为保护功率放大器件由于温度过高导致器件损坏,往往采用过温保护电路保护功率放大器件,由于过温保护电路往往只能实现当温度超过某个设置的临界温度时直接关断功率放大,导致功放设备不能继续输出声音,声音输出中断影响用户体验。Existing class AB power amplifiers have large power dissipation and cause serious heat generation. In order to protect the power amplifier device from being damaged due to excessive temperature, an over-temperature protection circuit is often used to protect the power amplifier device. It can directly turn off the power amplifier when the temperature exceeds a certain set critical temperature, so that the power amplifier device cannot continue to output sound, and the interruption of sound output affects the user experience.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是克服现有技术的不足,解决了传统因为温度过高而不能继续输出声音的功率放大器的自动压缩比控制装置及控制方法。The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art, and to solve the traditional automatic compression ratio control device and control method of a power amplifier that cannot continue to output sound due to excessive temperature.

本发明所采用的技术方案是:本发明包括功率放大器的自动压缩比控制装置及控制方法,所述功率放大器的自动压缩比控制装置包括微控制器和依次电性连接的压缩器的功率输入终端、第一模数转换器、数字信号处理器、数模转换器、功率放大器和功率输出终端,所述数字信号处理器和所述功率放大器均与所述微控制器电性连接,且所述微控制器和所述功率放大器之间设置有散热器温度检测器,所述数字信号处理器上集成有依次电性连接的RMS 电压检测器、电平转换器、电平比较器、增益平滑更新器和增益控制器,所述第一模数转换器输入的信号分别进入了所述RMS电压检测器和所述增益控制器。The technical scheme adopted by the present invention is: the present invention includes an automatic compression ratio control device and a control method of a power amplifier, and the automatic compression ratio control device of the power amplifier includes a microcontroller and a power input terminal of the compressor electrically connected in sequence. , a first analog-to-digital converter, a digital signal processor, a digital-to-analog converter, a power amplifier and a power output terminal, the digital signal processor and the power amplifier are both electrically connected to the microcontroller, and the A radiator temperature detector is arranged between the microcontroller and the power amplifier, and the digital signal processor is integrated with an RMS voltage detector, a level converter, a level comparator, and a smooth gain update that are electrically connected in sequence. The first analog-to-digital converter input signal enters the RMS voltage detector and the gain controller, respectively.

进一步的,所述字信号处理器上还集成有均与所述微控制器电性连接的压缩比率输入模块、起控时间模块、释放时间模块和启动阈值模块,所述压缩比率输入模块、所述起控时间模块、和释放时间模块均与所述增益平滑更新器信号连接,所述启动阈值模块与所述电平比较器信号连接。Further, the word signal processor is also integrated with a compression ratio input module, a start control time module, a release time module and a start threshold module that are all electrically connected to the microcontroller. The start control time module and the release time module are both signally connected to the gain smoothing updater, and the start threshold value module is signally connected to the level comparator.

进一步的,所述功率输入终端与所述模数转化器之间还设置有抗混叠滤波器,所述数模转换器和所述功率放大器之间还设置有模拟低通滤波器。Further, an anti-aliasing filter is also arranged between the power input terminal and the analog-to-digital converter, and an analog low-pass filter is also arranged between the digital-to-analog converter and the power amplifier.

进一步的,所述微控制器和所述功率输出终端之间设置并联有输出电压检测器和输出电流检测器,所述输出电压检测器和所述输出电流检测器与微控制器之间还设置有检测电路模块。Further, an output voltage detector and an output current detector are arranged in parallel between the microcontroller and the power output terminal, and are also arranged between the output voltage detector and the output current detector and the microcontroller. There are detection circuit modules.

进一步的,所述检测电路模块包括依次电性连接的信号衰减器、全波整流器、低通滤波器二和第二模数转换器。Further, the detection circuit module includes a signal attenuator, a full-wave rectifier, a second low-pass filter and a second analog-to-digital converter that are electrically connected in sequence.

进一步的,所述的功率放大器的自动压缩比控制方法,包括以下步骤:Further, the automatic compression ratio control method of the power amplifier includes the following steps:

a.输入终端将信号通过抗混叠滤波器后输入到第一模数转换器内,第一模数转换器将模拟信号转换为数字信号输入到RMS电压检测器;a. The input terminal inputs the signal into the first analog-to-digital converter after passing through the anti-aliasing filter, and the first analog-to-digital converter converts the analog signal into a digital signal and inputs it to the RMS voltage detector;

b.RMS电压检测器根据所述模数转化器输出的信号对其进行有效值检测,并将检测的值输入到电平转换器;b. The RMS voltage detector performs effective value detection on the signal output by the analog-to-digital converter, and inputs the detected value to the level converter;

c.电平转换器将RMS电压检测器输入的数值转化为与启动阈值模块单位相同的数值,并转化的数值和启动阈值模块的数值传入电平比较器进行二者的比较;c. The level converter converts the value input by the RMS voltage detector into a value with the same unit as the startup threshold value module, and the converted value and the value of the startup threshold value module are transferred to the level comparator for comparison between the two;

d.增益平滑更新器通过微控制器手动输入起控时间模块和释放时间模块的参数,通过微控制器自动更新出压缩比率输入模块的参数,然后增益平滑更新器对增益控制器进行参数更新;d. The gain smoothing updater manually inputs the parameters of the start control time module and the release time module through the microcontroller, and automatically updates the parameters of the compression ratio input module through the microcontroller, and then the gain smoothing updater updates the parameters of the gain controller;

e.当压缩器未启动时,电平比较器输出结果为假,即电平转换器的输出数值小于启动阈值模块的数值,且先前状态为直通状态,则电平比较器输出到益平滑更新器的数值使得增益控制器为直通状态,此时压缩器未启动;e. When the compressor is not activated, the output result of the level comparator is false, that is, the output value of the level converter is less than the value of the activation threshold module, and the previous state is the straight-through state, then the output of the level comparator is smooth and updated. The value of the compressor makes the gain controller in the direct state, and the compressor is not activated at this time;

f.当压缩器开始启动时,电平比较器输出结果为真,即电平转换器的输出数值大于启动阈值模块的数值,则输出控制增益可通过如下等式获取: gain_dB(n)=((in_dBu(n)-thd_dBu)*(1/R)+thd_dBu)-in_dBu(n);其中gain_dB(n)为压缩后的增益,in_dBu(n)输入电平,thd_dBu阈值电平,R为微控制器计算的压缩比,增益平滑可通过如下等式计算env(n)= (1-theta)*env(n-1)+theta*f(n);其中f=10(gain_dB(n)/20), env(n)平滑后的增益,theta平滑系数,可通过起控时间和释放时间计算得到。f. When the compressor starts to start, the output result of the level comparator is true, that is, the output value of the level converter is greater than the value of the start threshold module, then the output control gain can be obtained by the following equation: gain_dB(n)=( (in_dBu(n)-thd_dBu)*(1/R)+thd_dBu)-in_dBu(n); where gain_dB(n) is the gain after compression, in_dBu(n) input level, thd_dBu threshold level, R is micro The compression ratio calculated by the controller, the gain smoothing can be calculated by the following equation env(n)=(1-theta)*env(n-1)+theta*f(n); where f=10(gain_dB(n)/ 20), the smoothed gain of env(n), the theta smoothing coefficient, can be calculated from the start-up time and release time.

进一步的,步骤d中的微控制器自动更新出压缩比率输入模块的参数包括以下步骤:d1.输出电压检测器和输出电流检测器均通过检测电路模块后输送到微控制器进行压缩比处理;d2.自动压缩比受温度和输出功率控制,此时压缩比按如下等式在微控制器内自动计算,R=K1+K2*(T-T0)+K3*(P -P0),其中K1,K2,K3为自定义系数,T为散热器温度,T0为起始温度,P 为输出功率,P0为起始输出功率,当T<T0,(T-T0)<0时温度不影响比率R,压缩比R保持不变,当T>T0,(T-T0)>0时散热器温度自动控制压缩比R;当 P<P0,(P-P0)<0时温度不影响比率R,压缩比R保持不变,当P>P0,(P-P0)>0 时输出功率自动控制压缩比R。Further, the microcontroller in step d automatically updates the parameters of the compression ratio input module and includes the following steps: d1. Both the output voltage detector and the output current detector are sent to the microcontroller for compression ratio processing after passing through the detection circuit module; d2. The automatic compression ratio is controlled by temperature and output power. At this time, the compression ratio is automatically calculated in the microcontroller according to the following equation, R=K1+K2*(T-T0)+K3*(P-P0), where K1 , K2, K3 are self-defined coefficients, T is the radiator temperature, T0 is the initial temperature, P is the output power, P0 is the initial output power, when T<T0, (T-T0)<0, the temperature does not affect the ratio R, the compression ratio R remains unchanged, when T>T0, (T-T0)>0, the radiator temperature automatically controls the compression ratio R; when P<P0, (P-P0)<0, the temperature does not affect the ratio R, The compression ratio R remains unchanged. When P>P0, (P-P0)>0, the output power automatically controls the compression ratio R.

进一步的,所述步骤d1中输出电压检测器和输出电流检测器均通过检测电路模块中的信号衰减器衰减后,输入到全波整流器进行全波整流,然后输入到低通滤波器二后输入到第二模数转换器上,最后通过第二模数转换器输出到微控制器上进行压缩比处理Further, in the step d1, the output voltage detector and the output current detector are both attenuated by the signal attenuator in the detection circuit module, then input to the full-wave rectifier for full-wave rectification, and then input to the low-pass filter 2 and then input. to the second analog-to-digital converter, and finally output to the microcontroller through the second analog-to-digital converter for compression ratio processing

本发明的有益效果是:本发明采用软硬件结合的办法实施,压缩器的输入终端输入的信号通过模拟低通的抗混叠滤波,输入到模数转换器,从模数转换器输入到数字信号处理器进行处理,处理完成后输出到数模转换器,数模转换器输出到模拟低通滤波器,还原成模拟信号,模拟信号经过功率放大器输出,以及通过微控制器控制各个手动参数的输入和保存,所以本发明通过检查输入信号的大小,输出的功率以及散热器温度检测器的温度,来自动调整压缩器的压缩比来控制输入信号的大小从而控制功率放大器件的工作温度,避免传统的功率放大器件由于过温保护引起的输出中断。The beneficial effects of the present invention are as follows: the present invention is implemented by the method of combining software and hardware, and the signal input by the input terminal of the compressor is input to the analog-to-digital converter through analog low-pass anti-aliasing filtering, and from the analog-to-digital converter to the digital The signal processor is processed, and after the processing is completed, it is output to the digital-to-analog converter, and the digital-to-analog converter is output to the analog low-pass filter, which is restored to an analog signal. The analog signal is output through the power amplifier, and the microcontroller controls each manual parameter. Therefore, the present invention automatically adjusts the compression ratio of the compressor to control the size of the input signal by checking the size of the input signal, the output power and the temperature of the radiator temperature detector, thereby controlling the working temperature of the power amplifier, avoiding The output of traditional power amplifier devices is interrupted due to over-temperature protection.

附图说明Description of drawings

图1是本发明的原理示意图;Fig. 1 is the principle schematic diagram of the present invention;

图2是控制增益的示意图;Fig. 2 is the schematic diagram of control gain;

图3是检测电路模块的原理示意图。FIG. 3 is a schematic diagram of the principle of the detection circuit module.

具体实施方式Detailed ways

如图1至图3所示,在本实施例中,本发明包括功率放大器的自动压缩比控制装置及控制方法,所述功率放大器的自动压缩比控制装置包括微控制器1和依次电性连接的压缩器的功率输入终端2、第一模数转换器3、数字信号处理器4、数模转换器5、功率放大器6和功率输出终端7,所述数字信号处理器4和所述功率放大器6均与所述微控制器1电性连接,且所述微控制器1和所述功率放大器6之间设置有散热器温度检测器8,所述数字信号处理器4上集成有依次电性连接的RMS电压检测器41、电平转换器42、电平比较器43、增益平滑更新器44和增益控制器45,所述第一模数转换器3输入的信号分别进入了所述RMS电压检测器41和所述增益控制器45。As shown in FIG. 1 to FIG. 3 , in this embodiment, the present invention includes an automatic compression ratio control device and a control method for a power amplifier. The automatic compression ratio control device for a power amplifier includes a microcontroller 1 and is electrically connected in sequence. The power input terminal 2 of the compressor, the first analog-to-digital converter 3, the digital signal processor 4, the digital-to-analog converter 5, the power amplifier 6 and the power output terminal 7, the digital signal processor 4 and the power amplifier 6 are electrically connected to the microcontroller 1, and a heat sink temperature detector 8 is provided between the microcontroller 1 and the power amplifier 6, and the digital signal processor 4 is integrated with sequential electrical The connected RMS voltage detector 41, level converter 42, level comparator 43, gain smoothing updater 44 and gain controller 45, the signal input by the first analog-to-digital converter 3 respectively enters the RMS voltage detector 41 and the gain controller 45 .

在本实施例中,所述字信号处理器上还集成有均与所述微控制器1电性连接的压缩比率输入模块46、起控时间模块47、释放时间模块48和启动阈值模块49,所述压缩比率输入模块46、所述起控时间模块47、和释放时间模块48均与所述增益平滑更新器44信号连接,所述启动阈值模块49与所述电平比较器43信号连接,所述启动阈值模块49的启动值为压缩器启动的门限,所述压缩比率输入模块46为压缩器衰减的大小的比率,所述起控时间模块47的输入起控时间为压缩器提升或衰减到目标电平所需时间,所述释放时间模块48的输入释放时间为压缩器恢复到单位增益所需释放时间,所述增益平滑更新器44用于更新增益平滑,已克服压缩器启动时间参数突变引起突变的噪声。In this embodiment, the word signal processor is further integrated with a compression ratio input module 46, a start control time module 47, a release time module 48 and a start threshold value module 49 that are all electrically connected to the microcontroller 1, The compression ratio input module 46, the start-up time module 47, and the release time module 48 are all signal-connected to the gain smoothing updater 44, and the start-up threshold module 49 is signal-connected to the level comparator 43, The activation value of the activation threshold value module 49 is the threshold of the compressor activation, the compression ratio input module 46 is the ratio of the size of the compressor attenuation, and the input activation time of the activation time module 47 is the compressor boost or attenuation. The time required to reach the target level, the input release time of the release time module 48 is the release time required for the compressor to return to unity gain, and the gain smoothing updater 44 is used to update the gain smoothing, which has overcome the compressor startup time parameter Mutation causes mutation noise.

在本实施例中,所述功率输入终端2与所述模数转化器之间还设置有抗混叠滤波器9,所述数模转换器5和所述功率放大器6之间还设置有模拟低通滤波器10。In this embodiment, an anti-aliasing filter 9 is further arranged between the power input terminal 2 and the analog-to-digital converter, and an analog-to-analog converter 5 is also arranged between the digital-to-analog converter 5 and the power amplifier 6 Low pass filter 10.

在本实施例中,所述微控制器1和所述功率输出终端7之间设置并联有输出电压检测器11和输出电流检测器12,所述输出电压检测器11和所述输出电流检测器12与微控制器1之间还设置有检测电路模块。In this embodiment, an output voltage detector 11 and an output current detector 12 are arranged in parallel between the microcontroller 1 and the power output terminal 7 , and the output voltage detector 11 and the output current detector 12 are connected in parallel. A detection circuit module is also arranged between 12 and the microcontroller 1 .

在本实施例中,所述检测电路模块包括依次电性连接的信号衰减器13、全波整流器14、低通滤波器二15和第二模数转换器16。In this embodiment, the detection circuit module includes a signal attenuator 13 , a full-wave rectifier 14 , a second low-pass filter 15 and a second analog-to-digital converter 16 that are electrically connected in sequence.

在本实施例中,自动压缩比控制装置的控制方法包括以下步骤:In this embodiment, the control method of the automatic compression ratio control device includes the following steps:

a.输入终端将信号通过抗混叠滤波器9后输入到第一模数转换器3内,第一模数转换器3将模拟信号转换为数字信号输入到RMS电压检测器41;a. The input terminal inputs the signal into the first analog-to-digital converter 3 after passing the anti-aliasing filter 9, and the first analog-to-digital converter 3 converts the analog signal into a digital signal and inputs it to the RMS voltage detector 41;

b.RMS电压检测器41根据所述模数转化器输出的信号对其进行有效值检测,并将检测的值输入到电平转换器42;b. The RMS voltage detector 41 performs effective value detection on the signal output by the analog-to-digital converter, and inputs the detected value to the level shifter 42;

c.电平转换器42将RMS电压检测器41输入的数值转化为与启动阈值模块49 单位相同的数值,并转化的数值和启动阈值模块49的数值传入电平比较器 43进行二者的比较;c. The level converter 42 converts the value input by the RMS voltage detector 41 into a value with the same unit as the activation threshold value module 49, and the converted value and the value of the activation threshold value module 49 are passed to the level comparator 43 for the conversion of the two. Compare;

d.增益平滑更新器44通过微控制器1手动输入起控时间模块47和释放时间模块48的参数,通过微控制器1自动更新出压缩比率输入模块46的参数,然后增益平滑更新器44对增益控制器45进行参数更新;d. The gain smoothing updater 44 manually inputs the parameters of the start control time module 47 and the release time module 48 through the microcontroller 1, and automatically updates the parameters of the compression ratio input module 46 through the microcontroller 1, and then the gain smoothing updater 44 pairs The gain controller 45 performs parameter update;

e.当压缩器未启动时,电平比较器43输出结果为假,即电平转换器42的输出数值小于启动阈值模块49的数值,且先前状态为直通状态,则电平比较器 43输出到益平滑更新器的数值使得增益控制器45为直通状态,此时压缩器未启动;e. When the compressor is not activated, the output result of the level comparator 43 is false, that is, the output value of the level converter 42 is smaller than the value of the activation threshold value module 49, and the previous state is the straight-through state, then the level comparator 43 outputs To the value of the gain smoothing updater, the gain controller 45 is in a straight-through state, and the compressor is not activated at this time;

f.当压缩器开始启动时,电平比较器43输出结果为真,即电平转换器42的输出数值大于启动阈值模块49的数值,则输出控制增益可通过如下等式获取:gain_dB(n)=((in_dBu(n)-thd_dBu)*(1/R)+thd_dBu)-in_dBu(n);其中gain_dB(n)为压缩后的增益,in_dBu(n)输入电平,thd_dBu阈值电平, R为微控制器1计算的压缩比,增益平滑可通过如下等式计算env(n)= (1-theta)*env(n-1)+theta*f(n);其中f=10(gain_dB(n)/20),env(n) 平滑后的增益,theta平滑系数,可通过起控时间和释放时间计算得到。f. When the compressor starts to start, the output result of the level comparator 43 is true, that is, the output value of the level converter 42 is greater than the value of the start threshold value module 49, then the output control gain can be obtained by the following equation: gain_dB(n )=((in_dBu(n)-thd_dBu)*(1/R)+thd_dBu)-in_dBu(n); where gain_dB(n) is the compressed gain, in_dBu(n) input level, thd_dBu threshold level, R is the compression ratio calculated by microcontroller 1, and gain smoothing can be calculated by the following equation env(n)=(1-theta)*env(n-1)+theta*f(n); where f=10(gain_dB (n)/20), the smoothed gain of env(n), the theta smoothing coefficient, which can be calculated from the start-up time and release time.

在本实施例中,步骤d中的微控制器1自动更新出压缩比率输入模块46 的参数包括以下步骤:d1.输出电压检测器11和输出电流检测器12均通过检测电路模块后输送到微控制器1进行压缩比处理;d2.自动压缩比受温度和输出功率控制,此时压缩比按如下等式在微控制器1内自动计算,R=K1+K2*(T -T0)+K3*(P-P0),其中K1,K2,K3为自定义系数,T为散热器温度,T0 为起始温度,P为输出功率,P0为起始输出功率,当T<T0,(T-T0)<0时温度不影响比率R,压缩比R保持不变,当T>T0,(T-T0)>0时散热器温度自动控制压缩比R;当P<P0,(P-P0)<0时温度不影响比率R,压缩比R保持不变,当P>P0,(P-P0)>0时输出功率自动控制压缩比R。In this embodiment, the microcontroller 1 in step d automatically updates the parameters of the compression ratio input module 46 including the following steps: d1. Both the output voltage detector 11 and the output current detector 12 pass through the detection circuit module and are sent to the microcomputer. Controller 1 performs compression ratio processing; d2. Automatic compression ratio is controlled by temperature and output power. At this time, the compression ratio is automatically calculated in microcontroller 1 according to the following equation, R=K1+K2*(T -T0)+K3 *(P-P0), where K1, K2, K3 are custom coefficients, T is the radiator temperature, T0 is the initial temperature, P is the output power, P0 is the initial output power, when T<T0, (T- When T0)<0, the temperature does not affect the ratio R, and the compression ratio R remains unchanged. When T>T0, (T-T0)>0, the radiator temperature automatically controls the compression ratio R; when P<P0, (P-P0) When <0, the temperature does not affect the ratio R, and the compression ratio R remains unchanged. When P>P0, (P-P0)>0, the output power automatically controls the compression ratio R.

在本实施例中,所述步骤d1中输出电压检测器11和输出电流检测器12 均通过检测电路模块中的信号衰减器13衰减后,输入到全波整流器14进行全波整流,然后输入到低通滤波器二15后输入到第二模数转换器16上,最后通过第二模数转换器16输出到微控制器1上进行压缩比处理。In this embodiment, in the step d1, the output voltage detector 11 and the output current detector 12 are both attenuated by the signal attenuator 13 in the detection circuit module, and then input to the full-wave rectifier 14 for full-wave rectification, and then input to the signal attenuator 13. The second low-pass filter 15 is then input to the second analog-to-digital converter 16, and finally output to the microcontroller 1 through the second analog-to-digital converter 16 for compression ratio processing.

本发明应用于电子技术领域。The present invention is applied in the field of electronic technology.

虽然本发明的实施例是以实际方案来描述的,但是并不构成对本发明含义的限制,对于本领域的技术人员,根据本说明书对其实施方案的修改及与其他方案的组合都是显而易见的。Although the embodiments of the present invention are described in terms of actual solutions, they do not limit the meaning of the present invention. For those skilled in the art, modifications to the embodiments and combinations with other solutions are obvious to those skilled in the art from this specification. .

Claims (8)

1. An automatic compression ratio control device of a power amplifier, characterized in that: it comprises a microcontroller (1), and a power input terminal (2), a first analog-to-digital converter (3), a digital signal processor (4), a digital-to-analog converter (5), a power amplifier (6) and a power output terminal (7) which are electrically connected in sequence, the digital signal processor (4) and the power amplifier (6) are both electrically connected with the microcontroller (1), a radiator temperature detector (8) is arranged between the microcontroller (1) and the power amplifier (6), the digital signal processor (4) is integrated with an RMS voltage detector (41), a level converter (42), a level comparator (43), a gain smooth updater (44) and a gain controller (45) which are electrically connected in turn, the signal input by the first analog-to-digital converter (3) enters the RMS voltage detector (41) and the gain controller (45), respectively.
2. The automatic compression ratio control apparatus of a power amplifier according to claim 1, characterized in that: the digital signal processor is further integrated with a compression ratio input module (46), an activation time module (47), a release time module (48) and a starting threshold module (49) which are all electrically connected with the microcontroller (1), the compression ratio input module (46), the activation time module (47) and the release time module (48) are all in signal connection with the gain smooth updater (44), and the starting threshold module (49) is in signal connection with the level comparator (43).
3. The automatic compression ratio control apparatus of a power amplifier according to claim 2, characterized in that: an anti-aliasing filter (9) is further arranged between the power input terminal (2) and the analog-to-digital converter, and an analog low-pass filter (10) is further arranged between the digital-to-analog converter (5) and the power amplifier (6).
4. The automatic compression ratio control apparatus of a power amplifier according to claim 3, characterized in that: an output voltage detector (11) and an output current detector (12) are arranged between the microcontroller (1) and the power output terminal (7) in parallel, and a detection circuit module is further arranged between the output voltage detector (11) and the output current detector (12) and the microcontroller (1).
5. The automatic compression ratio control apparatus of a power amplifier according to claim 4, characterized in that: the detection circuit module comprises a signal attenuator (13), a full-wave rectifier (14), a second low-pass filter (15) and a second analog-to-digital converter (16) which are electrically connected in sequence.
6. A control method of an automatic compression ratio control apparatus including the power amplifier of claim 5, characterized by comprising the steps of:
a. the input terminal inputs the signal into a first analog-to-digital converter (3) after passing through an anti-aliasing filter (9), and the first analog-to-digital converter (3) converts the analog signal into a digital signal and inputs the digital signal into an RMS voltage detector (41);
an RMS voltage detector (41) detects the effective value of the analog-to-digital converter according to the output signal of the analog-to-digital converter and inputs the detected value to a level converter (42);
c. the level converter (42) converts the value input by the RMS voltage detector (41) into the value with the same unit as that of the starting threshold module (49), and the converted value and the value of the starting threshold module (49) are transmitted into the level comparator (43) to be compared;
d. the gain smooth updater (44) manually inputs the parameters of the start control time module (47) and the release time module (48) through the microcontroller (1), automatically updates the parameters of the compression ratio input module (46) through the microcontroller (1), and then the gain smooth updater (44) updates the parameters of the gain controller (45);
e. when the compressor is not started, the output result of the level comparator (43) is false, namely the output value of the level converter (42) is smaller than the value of the starting threshold module (49), and the previous state is a through state, the value output to the smooth updater by the level comparator (43) enables the gain controller (45) to be in the through state, and the compressor is not started at the moment;
f. when the compressor starts, the output result of the level comparator (43) is true, that is, the output value of the level shifter (42) is greater than the value of the start threshold module (49), then the output control gain can be obtained by the following equation: gain _ db (n) ((in _ dbu (n) -thd _ dBu) ((1/R) + thd _ dBu) -in _ dbu (n)); wherein gain _ db (n) is the compressed gain, in _ dbu (n) input level, thd _ dBu threshold level, and R is the compression ratio calculated by the microcontroller (1), and gain smoothing may be calculated by the following equation, (1-theta) env (n-1) + theta f (n); wherein f is 10(gain _ db (n)/20), env (n) is the smoothed gain, and the theta smoothing coefficient can be calculated by the control starting time and the release time.
7. The automatic compression ratio control method of a power amplifier according to claim 6, characterized in that: the microcontroller (1) in step d automatically updating the parameters of the compression ratio input module (46) comprises the following steps:
d1. the output voltage detector (11) and the output current detector (12) are transmitted to the microcontroller (1) through the detection circuit module to be subjected to compression ratio processing; d2. the automatic compression ratio is controlled by temperature and output power, and the compression ratio is automatically calculated in the microcontroller (1) according to the following equation, wherein R is K1+ K2 (T-T0) + K3 (P-P0), K1, K2 and K3 are self-defined coefficients, T is the temperature of a radiator, T0 is the starting temperature, P is the output power, P0 is the starting output power, when T < T0, (T-T0) <0, the temperature does not affect the ratio R, the compression ratio R is kept unchanged, and when T > T0, (T-T0) >0, the temperature of the radiator automatically controls the compression ratio R; when P < P0, (P-P0) <0, the temperature does not affect the ratio R, the compression ratio R is kept unchanged, and when P > P0, (P-P0) >0, the output power automatically controls the compression ratio R.
8. The automatic compression ratio control method of a power amplifier according to claim 7, characterized in that: in the step d1, the output voltage detector (11) and the output current detector (12) are attenuated by the signal attenuator (13) in the detection circuit module, input to the full-wave rectifier (14) for full-wave rectification, then input to the low-pass filter II (15), input to the second analog-to-digital converter (16), and finally output to the microcontroller (1) through the second analog-to-digital converter (16) for compression ratio processing.
CN202010635030.5A 2020-07-03 2020-07-03 A kind of automatic compression ratio control device and control method of power amplifier Pending CN111786640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010635030.5A CN111786640A (en) 2020-07-03 2020-07-03 A kind of automatic compression ratio control device and control method of power amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010635030.5A CN111786640A (en) 2020-07-03 2020-07-03 A kind of automatic compression ratio control device and control method of power amplifier

Publications (1)

Publication Number Publication Date
CN111786640A true CN111786640A (en) 2020-10-16

Family

ID=72758654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010635030.5A Pending CN111786640A (en) 2020-07-03 2020-07-03 A kind of automatic compression ratio control device and control method of power amplifier

Country Status (1)

Country Link
CN (1) CN111786640A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953404A (en) * 2021-01-27 2021-06-11 广州市迪声音响有限公司 Power amplifier device with optical fiber signal conversion circuit and method
CN117411451A (en) * 2023-10-25 2024-01-16 锐石创芯(深圳)科技股份有限公司 Power amplifier power control module and RF front-end module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212799A1 (en) * 2006-11-17 2008-09-04 Hannes Breitschadel Audio compressor with feedback
US20150358027A1 (en) * 2013-01-31 2015-12-10 Denso Corporation Sensor signal processing apparatus and sensor apparatus
US20160245652A1 (en) * 2015-02-20 2016-08-25 Seiko Epson Corporation Circuit device, physical quantity detection device, electronic apparatus, and moving object
CN106877820A (en) * 2017-01-12 2017-06-20 广州市迪声音响有限公司 A kind of dynamic changes the equalizing system and method for EQ Gain
CN109085484A (en) * 2018-10-24 2018-12-25 广州赛宝计量检测中心服务有限公司 A kind of measurement method and circuit of the voltage hold-time of proof voltage tester
CN212785272U (en) * 2020-07-03 2021-03-23 广州市迪声音响有限公司 Automatic compression ratio control device of power amplifier

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212799A1 (en) * 2006-11-17 2008-09-04 Hannes Breitschadel Audio compressor with feedback
US20150358027A1 (en) * 2013-01-31 2015-12-10 Denso Corporation Sensor signal processing apparatus and sensor apparatus
US20160245652A1 (en) * 2015-02-20 2016-08-25 Seiko Epson Corporation Circuit device, physical quantity detection device, electronic apparatus, and moving object
CN106877820A (en) * 2017-01-12 2017-06-20 广州市迪声音响有限公司 A kind of dynamic changes the equalizing system and method for EQ Gain
CN109085484A (en) * 2018-10-24 2018-12-25 广州赛宝计量检测中心服务有限公司 A kind of measurement method and circuit of the voltage hold-time of proof voltage tester
CN212785272U (en) * 2020-07-03 2021-03-23 广州市迪声音响有限公司 Automatic compression ratio control device of power amplifier

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐晓亮: "多通道宽动态范围压缩算法研究及DSP实现", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》, no. 5, 15 May 2019 (2019-05-15), pages 9 *
简献忠等: "数字音频压限器设计与实现", 《计算机系统应用》, vol. 21, no. 10, 31 October 2012 (2012-10-31), pages 148 - 150 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953404A (en) * 2021-01-27 2021-06-11 广州市迪声音响有限公司 Power amplifier device with optical fiber signal conversion circuit and method
CN117411451A (en) * 2023-10-25 2024-01-16 锐石创芯(深圳)科技股份有限公司 Power amplifier power control module and RF front-end module

Similar Documents

Publication Publication Date Title
CN111786640A (en) A kind of automatic compression ratio control device and control method of power amplifier
US9510101B1 (en) Direct measurement of an input signal to a loudspeaker to determine and limit a temperature of a voice coil of the loudspeaker
US8315410B2 (en) Dynamic range controller
US8150067B2 (en) Bass enhancing method, signal processing device, and audio reproducing system
CN101599747A (en) Volume control device and method
CN110868653B (en) Loudspeaker protection device and method
CN212785272U (en) Automatic compression ratio control device of power amplifier
US11888450B2 (en) Power limiter configuration for audio signals
GB2498602A (en) Audio amplifier with output limiting circuit, suitable for use with a regulated power supply
JP4862820B2 (en) Acoustic signal amplifier
CN111965533B (en) Residual current calculation method, calculation device, storage medium and detection equipment
CN110868671A (en) Loudspeaker protection device and method
CN112039064B (en) A kind of control method and related device based on power supply system
CA3241475A1 (en) Photovoltaic system, inverter starting method and photovoltaic energy storage system
CN205355825U (en) Grid -connected PV power generation system&#39;s synchronizer
CN115459589A (en) Buck converter-based adaptive frequency adjustment online optimization efficiency control strategy
CN210074762U (en) Temperature control circuit
CN113972898A (en) Protection circuit and control method of power amplifier and power amplification module
CN218387861U (en) Loudspeaker protection circuit
TW202341651A (en) Apparatus for noise reduction in audio signal processing
CN222897238U (en) Automatic volume reduction protection circuit for overheat of automobile power amplifier
TWI383379B (en) Gain modulation method in white noise stage and apparatus applying the method
CN119766214A (en) Overcurrent protection circuit, circuit board and electronic equipment
CN201674499U (en) WCDMA trunk amplifier circuit
JPH11284454A (en) Volume controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201016

WD01 Invention patent application deemed withdrawn after publication