JP6595256B2 - Volume control device - Google Patents
Volume control device Download PDFInfo
- Publication number
- JP6595256B2 JP6595256B2 JP2015164759A JP2015164759A JP6595256B2 JP 6595256 B2 JP6595256 B2 JP 6595256B2 JP 2015164759 A JP2015164759 A JP 2015164759A JP 2015164759 A JP2015164759 A JP 2015164759A JP 6595256 B2 JP6595256 B2 JP 6595256B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- gain
- volume
- clock signal
- value
- 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.)
- Active
Links
- 238000004458 analytical method Methods 0.000 claims description 18
- 230000005236 sound signal Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 10
- 230000007423 decrease Effects 0.000 description 9
- 230000003321 amplification Effects 0.000 description 6
- 238000003199 nucleic acid amplification method Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004904 shortening Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Images
Landscapes
- Control Of Amplification And Gain Control (AREA)
Description
本発明は、オーディオ機器の電子ボリウムを制御するボリウム制御装置にかかり、特に電子ボリウムのゲインの切り替えノイズ(ジッパーノイズ)の低減と切替時間の短縮化を図ったボリウム制御装置に関する。 The present invention relates to a volume control device that controls an electronic volume of an audio device, and more particularly to a volume control device that reduces the gain switching noise (zipper noise) of the electronic volume and shortens the switching time.
電子ボリウムは、オーディオ機器に装備されたマイクロコンピュータなどによるボリウム制御装置からの指令に基づいてゲインが調整されるが、その調整のための切替時にジッパーノイズが発生することがある。 In the electronic volume, the gain is adjusted based on a command from a volume control device such as a microcomputer provided in the audio device, but zipper noise may occur at the time of switching for the adjustment.
すなわち、入力するオーディオ信号Vinのゲインを任意の時点で制御信号によって切り替えると、図8(a)に示すように、出力するオーディオ信号Voutに大きな変曲点Cが形成されてジッパーノイズが発生する。 That is, when the gain of the input audio signal Vin is switched by a control signal at an arbitrary time point, as shown in FIG. 8A, a large inflection point C is formed in the output audio signal Vout and zipper noise is generated. .
そこで、ジッパーノイズの改善手法として、(1)入力するオーディオ信号Vinのゼロクロス検出時点で一挙にゲインを切り替える手法、(2)任意のタイミングで1ステップずつ複数回に分けてゲインを切り替える手法、(3)ゼロクロス時点毎に1ステップずつ複数回に分けてゲインを切り替える手法(特許文献1)、(4)ゲインの切替開始時と切替終了時の遷移時間を切替開始から切替終了までの期間における複数段階の遷移時間よりも大きくする手法(特許文献2)などが提案されている。 Therefore, as a method for improving zipper noise, (1) a method of switching gains at a time when zero-crossing detection of an input audio signal Vin is performed, (2) a method of switching gains in multiple steps at an arbitrary timing, ( 3) A method of switching gains in multiple steps by one step at each zero crossing time point (Patent Document 1), (4) A plurality of transition times at the start and end of switching of gains in a period from the start of switching to the end of switching A method of making the transition time longer than the stage transition time (Patent Document 2) has been proposed.
(1)のゼロクロス検出時点で一挙にゲインを切り替える示す手法は、図8(b)に示すように、ゲインの切り替え時の出力信号Voutの電位変動が少なく変曲点の生成が抑制されるが、ゼロクロス検出を行う回路の精度ばらつきや、装置全体の応答速度のばらつきにより、ゼロクロス時点からずれた出力信号Voutの電位でゲインが切り替わることがあり、このような場合は変曲点が生成され、ジッパーノイズが発生する。 In the method (1) of switching the gains at a time when the zero crossing is detected, as shown in FIG. 8B, the potential variation of the output signal Vout at the time of the gain switching is small, and the generation of the inflection point is suppressed. In some cases, the gain is switched by the potential of the output signal Vout deviated from the zero-crossing point due to variations in the accuracy of the circuit that performs the zero-crossing detection or variations in the response speed of the entire device. In such a case, an inflection point is generated, Zipper noise occurs.
(2)の任意の時点で段階的にゲインを切り替える手法は、1ステップずつ切り替わるために出力信号Voutの電位変動が少なく変曲点の生成が抑制されるが、入力するオーディオ信号Vinのピーク値付近でゲインの切り替えるとき、図8(c)に示すように、出力信号Voutの電位変動が大きくなる。この結果、変曲点の生成が抑制されず、ジッパーノイズが発生する。また、1ステップずつのゲインの切替間隔を長くすることで、ゲイン切替により生じるジッパーノイズを可聴周波数域外(低周波領域)に移すことができるが、この場合は切替時間が長くなり、制御の遅延が聴感上で目立ち問題となる。 In the method (2) in which the gain is switched step by step at an arbitrary point of time, since the potential change of the output signal Vout is small and the generation of the inflection point is suppressed because the step is switched step by step, the peak value of the input audio signal Vin When the gain is switched in the vicinity, the potential fluctuation of the output signal Vout increases as shown in FIG. As a result, the generation of inflection points is not suppressed and zipper noise occurs. In addition, by increasing the gain switching interval for each step, zipper noise caused by gain switching can be moved outside the audible frequency range (low frequency range). In this case, however, the switching time becomes longer and the control delay is delayed. Is a conspicuous problem in hearing.
(3)のゼロクロス時点毎に1ステップずつゲインを切り替える手法は、(1)の手法で説明した問題点に加えて、ゲインが目標値に達するまでのステップ数が多い場合に、そのゲインの切り替えの完了までに要する時間が長くなり、その遅延が聴感上で目立つほどになる場合がある。一般的な音声帯域でのオーディオ信号ではゼロクロス時点の検出頻度が高くなるが、プロフェッショナル用機器の場合では、低周波数の信号を取り扱う場合にゼロクロス時点の検出頻度が低くなるために、上記問題が深刻となる。 The method of switching the gain by one step at each zero crossing time point in (3) is the switching of the gain when the number of steps until the gain reaches the target value is large in addition to the problem described in the method of (1). The time required to complete the process becomes longer, and the delay may become noticeable in hearing. The audio signal in the general voice band has a high frequency of detection at the time of zero-crossing. However, in the case of professional equipment, the above-mentioned problem is serious because the frequency of detection of the zero-crossing time is low when handling low-frequency signals. It becomes.
(4)のゲインの切替開始時と切替終了時の遷移時間を切替開始から切替終了までの期間における複数段階の遷移時間よりも大きくする手法は、図8(c)と同様に、オーディオ信号のピーク値付近で切り替える場合に、ゲインを緩やかに切り替えたとしても、変動する電位差が大きくなり、ジッパーノイズを抑制しきれない場合が生じる。 The method (4) of making the transition time at the start of the gain switching and the end of the switching larger than the transition time of a plurality of stages in the period from the start of the switching to the end of the switching is the same as in FIG. When switching around the peak value, even if the gain is switched gently, the potential difference that fluctuates becomes large, and the zipper noise may not be suppressed.
本発明の目的は、上記問題点を解消し、ゲインの切り替え時のジッパーノイズの発生抑制とその切り替え時間の短縮化を実現したボリウム制御装置を提供することである。 An object of the present invention is to provide a volume control device that solves the above problems and realizes the suppression of the occurrence of zipper noise at the time of gain switching and the shortening of the switching time.
上記目的を達成するために、請求項1にかかる発明のボリウム制御装置は、入力するオーディオ信号のゲインを電子ボリウムによって制御するボリウム制御装置において、前記電子ボリウムのゲインを設定するボリウム設定回路と、前記電子ボリウムのゲインの段階的切り替えを行うクロック信号を生成するクロック生成回路とを備え、前記ボリウム設定回路は、前記電子ボリウムのゲインの目標値が設定される第1レジスタと、前記電子ボリウムのゲインの現在値が設定される第2レジスタと、前記第1レジスタの前記目標値と前記第2レジスタの前記現在値を比較する分析回路と、該分析回路の比較結果に応じて前記第2レジスタの前記現在値を前記第1レジスタの前記目標値に向かって前記クロック信号のパルス毎に段階的に更新させる制御回路とを有し、
前記クロック生成回路は、前記電子ボリウムの出力信号の大きさに基づいて前記クロック信号の周波数を切り替えることを特徴とする。
In order to achieve the above object, a volume control device according to a first aspect of the present invention is a volume control device for controlling the gain of an input audio signal by means of an electronic volume, and a volume setting circuit for setting the gain of the electronic volume, A clock generation circuit for generating a clock signal for performing stepwise switching of the gain of the electronic volume, and the volume setting circuit includes a first register in which a target value of the gain of the electronic volume is set; A second register in which the current value of the gain is set; an analysis circuit that compares the target value of the first register with the current value of the second register; and the second register according to a comparison result of the analysis circuit The current value of the first register is updated stepwise for each pulse of the clock signal toward the target value of the first register And a control circuit,
The clock generation circuit switches the frequency of the clock signal based on the magnitude of the output signal of the electronic volume.
請求項2にかかる発明は、請求項1に記載のボリウム制御装置において、前記クロック生成回路は、前記電子ボリウムの出力信号が小さいとき前記クロック信号の周波数を高く設定し、前記電子ボリウムの出力信号が大きいとき前記クロック信号の周波数を低く設定することを特徴とする。 According to a second aspect of the present invention, in the volume control device according to the first aspect, the clock generation circuit sets the frequency of the clock signal high when the output signal of the electronic volume is small, and the output signal of the electronic volume When the frequency is large, the frequency of the clock signal is set low.
請求項3にかかる発明は、入力するオーディオ信号のゲインを電子ボリウムによって制御するボリウム制御装置において、前記電子ボリウムのゲインを設定するボリウム設定回路と、前記電子ボリウムのゲインの段階的切り替えを行うクロック信号を生成するクロック生成回路とを備え、前記ボリウム設定回路は、前記電子ボリウムのゲインの目標値が設定される第1レジスタと、前記電子ボリウムのゲインの現在値が設定される第2レジスタと、前記第1レジスタの前記目標値と前記第2レジスタの前記現在値を比較する分析回路と、該分析回路の比較結果に応じて前記第2レジスタの前記現在値を前記第1レジスタの前記目標値に向かって前記クロック信号のパルス毎に段階的に更新させる制御回路とを有し、前記クロック生成回路は、前記電子ボリウムの出力信号の大きさと前記第2レジスタの前記現在値とに基づいて前記クロック信号の周波数を切り替えることを特徴とする。 According to a third aspect of the present invention, there is provided a volume control device for controlling a gain of an input audio signal by an electronic volume, a volume setting circuit for setting the gain of the electronic volume, and a clock for performing stepwise switching of the gain of the electronic volume. A clock generation circuit for generating a signal, wherein the volume setting circuit includes a first register in which a target value of the gain of the electronic volume is set, and a second register in which a current value of the gain of the electronic volume is set; An analysis circuit for comparing the target value of the first register with the current value of the second register, and the current value of the second register according to a comparison result of the analysis circuit. A control circuit that updates the clock signal step by step for each pulse of the clock signal. Serial and switches the frequency of the clock signal based on said current value of the magnitude and the second register of the output signal of the electronic volume.
請求項4にかかる発明は、請求項3に記載のボリウム制御装置において、前記クロック生成回路は、前記電子ボリウムの出力信号が小さく且つ前記第2レジスタの前記現在値が小さいとき前記クロック信号の周波数を高く設定し、前記電子ボリウムの出力信号が大きく且つ前記第2レジスタの前記現在値が大きいとき前記クロック信号の周波数を低く設定することを特徴とする。 According to a fourth aspect of the present invention, there is provided the volume control device according to the third aspect, wherein the clock generation circuit has a frequency of the clock signal when the output signal of the electronic volume is small and the current value of the second register is small. Is set high, and when the output signal of the electronic volume is large and the current value of the second register is large, the frequency of the clock signal is set low.
請求項5にかかる発明は、入力するオーディオ信号のゲインを電子ボリウムによって制御するボリウム制御装置において、前記電子ボリウムのゲインを設定するボリウム設定回路と、前記電子ボリウムのゲインの段階的切り替えを行うクロック信号を生成するクロック生成回路とを備え、前記ボリウム設定回路は、前記電子ボリウムのゲインの目標値が設定される第1レジスタと、前記電子ボリウムのゲインの現在値が設定される第2レジスタと、前記第1レジスタの前記目標値と前記第2レジスタの前記現在値を比較する分析回路と、該分析回路の比較結果に応じて前記第2レジスタの前記現在値を前記第1レジスタの前記目標値に向かって前記クロック信号のパルス毎に段階的に更新させる制御回路とを有し、前記クロック生成回路は、前記電子ボリウムの出力信号の大きさと前記第1レジスタの前記目標値とに基づいて前記クロック信号の周波数を切り替えることを特徴とする。 According to a fifth aspect of the present invention, there is provided a volume control device for controlling a gain of an input audio signal by an electronic volume, a volume setting circuit for setting the gain of the electronic volume, and a clock for performing stepwise switching of the gain of the electronic volume. A clock generation circuit for generating a signal, wherein the volume setting circuit includes a first register in which a target value of the gain of the electronic volume is set, and a second register in which a current value of the gain of the electronic volume is set; An analysis circuit for comparing the target value of the first register with the current value of the second register, and the current value of the second register according to a comparison result of the analysis circuit. A control circuit that updates the clock signal step by step for each pulse of the clock signal. Serial and switches the frequency of the clock signal on the basis of said target value of the magnitude and the first register of the output signal of the electronic volume.
請求項6にかかる発明は、請求項5に記載のボリウム制御装置において、前記クロック生成回路は、前記電子ボリウムの出力信号が小さく且つ前記第1レジスタの前記目標値と前記出力信号の差分が小さいとき前記クロック信号の周波数を高く設定し、前記電子ボリウムの出力信号が大きく且つ前記第1レジスタの前記目標値と前記出力信号の差分が大きいとき前記クロック信号の周波数を低く設定することを特徴とする。 According to a sixth aspect of the present invention, in the volume control device according to the fifth aspect, the clock generation circuit has a small output signal of the electronic volume and a small difference between the target value of the first register and the output signal. When the frequency of the clock signal is set high, the frequency of the clock signal is set low when the output signal of the electronic volume is large and the difference between the target value of the first register and the output signal is large. To do.
本発明によれば、電子ボリウムのゲインの段階的切り替えを行うクロック信号の周波数を、出力信号、第2レジスタのゲインの現在値、第1レジスタのゲインの目標値などに基づいて切り替えるので、そのクロック信号の周波数が高くなるときは1ステップずつ切り替わる時間が短くなって短時間にゲインを目標値に遷移させることができ、また、低くなるときは1ステップずつ切り替わる時間が長くなって切り替えによるジッパーノイズを可聴域外(低周波領域)に移してゲインの切り替えによる聴感上の違和感となる遅れを発生させずにジッパーノイズを抑制することができる。 According to the present invention, the frequency of the clock signal for performing stepwise switching of the gain of the electronic volume is switched based on the output signal, the current value of the gain of the second register, the target value of the gain of the first register, etc. When the frequency of the clock signal increases, the time for switching one step at a time is shortened, and the gain can be shifted to the target value in a short time. When the frequency of the clock signal decreases, the time for switching one step at a time increases. Zipper noise can be suppressed without causing a delay that causes a sense of incongruity due to switching of the gain by moving the noise out of the audible range (low frequency range).
<第1実施例>
図1に本発明の第1実施例のボリウム制御装置の回路を示す。10は電子ボリウム、20はこの電子ボリウム10のゲインを設定するボリウム設定回路、30は電子ボリウム10のゲインの切替タイミングを作るクロックを生成するクロック生成回路である。
<First embodiment>
FIG. 1 shows a circuit of a volume control apparatus according to the first embodiment of the present invention.
ボリウム設定回路20は、外部から入力される目標ゲインGv21の値を設定する第1レジスタ21と、電子ボリウム10に設定すべき現在ゲインGv22の値を設定する第2レジスタ22と、第1レジスタ21の目標ゲインGv21の値と第2レジスタ22の現在ゲインGv22の値を比較する分析回路23と、分析回路23による比較結果に応じて第2レジスタ22の現在ゲインGv22の値を段階的に目標ゲインGv21の値に向けて更新させる制御回路24とを備えている。
The
分析回路23は、第1レジスタ21の目標ゲインGv21の値と第2レジスタ22の現在ゲインGv22の値を比較して、制御回路24に対して、Gv21<Gv22のときは「減衰」の指令を出し、Gv21>GV22のときは「増幅」の指令を出し、Gv21=Gv22のときは「維持」の指令を出す。
The
制御回路24は、クロック生成回路30から出力するクロック信号Vclkを取り込む。そして、クロック信号Vclkの1パルス当たり1ステップずつ、分析回路23から入力する指令が「増幅」のときは、第2レジスタ22に対してその現在ゲインGv22の値を増大させる制御信号を出し、これにより電子ボリウム10のゲインを1ステップずつ大きする。また、「減衰」のときは、第2レジスタ22に対してその現在ゲインGv22の値を減少させる制御信号を出し、これにより電子ボリウム10のゲインを1ステップずつ小さくする。さらに、「維持」のときは第2レジスタ22に対してその現在ゲインGv22の値を変更する指令は出さない。また、制御回路24は、「増幅」と「減衰」を入力したときはクロック生成回路30に対して「不一致」の指令を出し、「維持」を入力したときは「一致」の指令を出す。なお、第2レジスタ22の現在ゲインGv22の値が1ステップ当たり変化する量はΔGvで一定(固定値)である。
The
クロック生成回路30は、周波数可変のクロック信号Vclkを生成するクロック生成器31と、そのクロック生成器31のクロック信号Vclkの周波数を設定するデータを格納したテーブル32と、電子ボリウム10の出力電圧Voutのレベル(絶対値)を検出するレベル検出回路33とを備える。レベル検出回路33は、例えばウインドウコンパレータなどで構成される。そして、レベル検出回路33で検出された出力オーディオ信号Voutの絶対値レベルと第2レジスタ22に設定されている現在ゲインGv22の値とに基づいて、後記するように出力信号の1ステップ当たりの電位変動量ΔVoutが演算される。電位変動量ΔVoutが得られると、それに応じた周波数データがテーブル32から読み出され、クロック生成器31で生成されるクロック信号Vclkの周波数が決定される。図3にテーブル32の一例を特性曲線Aで示した。
The
ここで、出力信号Voutの1ステップ当たりの電位変動量ΔVoutの演算を説明する。第2レジスタ22の設定値Gv22の値が、nステップ目のときGv22(n)であり、n+1ステップ目のときGv22(n+1)であるとすると、nステップ目の出力電圧Vout(n)とn+1ステップ目の出力電圧Vout(n+1)は、
で表される。
Here, calculation of the potential fluctuation amount ΔVout per step of the output signal Vout will be described. Assuming that the setting value Gv22 of the
It is represented by
そして、電位変動量ΔVoutは、
で表される。
The potential fluctuation amount ΔVout is
It is represented by
このようにして、クロック生成器31が、レベル検出回路33で検出されたnステップ目の出力電圧Vout(n)を取り込み、第2レジスタ22からnステップ目の現在ゲインGv22(n)を取り込み、さらにその現在ゲインGv22(n)からn+1ステップ目のゲインGv22(n+1)を予測することにより、1ステップ当たりの電位変動量ΔVoutを検出することができる。n+1ステップ目のゲインGv22(n+1)の予測は、現在ゲインGv22に前記した固定値ΔGvを加算又は減算した値で求められる。
In this way, the
さて、入力するオーディオ信号Vinのレベルが一定で、第1レジスタ21の目標ゲインGv21の値と第2レジスタ22の現在ゲインGv21の値が同一のゲインGv(1)である状態から、図2(a)に示すように、あるタイミングで第1レジスタ21に目標ゲインGv21の値として、Gv(1)よりもGvだけ大きなゲインGv(2)が設定されたとする。このとき、Gv(1)<Gv(2)の関係にあるので、分析回路23からは「増幅」の指令が制御回路24に与えられる。このため、第2レジスタ22の現在ゲインGv22の値は、図2(b)に示すように、クロック生成回路30から入力するクロック信号Vclkの1クロック当たりΔGvずつ増大する。第2レジスタ22の現在ゲインGv22の値がGv(2)になると、クロック生成回路30に「一致」の指令が制御回路24から与えられ、クロック信号Vclkは停止する。1ステップ当たり増大するゲインΔGvは前記したように一定であり、図2(b)に示すように、ΔGv(n−1)=ΔGv(n)=ΔGv(n+1)である。
From the state where the level of the input audio signal Vin is constant and the value of the target gain Gv21 of the
一方、電子ボリウム10は、そのゲインがレジスタ22の現在ゲインGv22の値によって設定されるが、その1ステップ当たりの変化量(電位変動量ΔVout)は、設定されるゲインが大きいときは大きいが、設定されるゲインが小さいと小さい。例えば「増幅」の例では、ゲインGv22の値が−1dB→0dBに1dBだけ変化するときはΔVout=109mVと大きいが、−2dB→−1dBに1dBだけ変化するときは電位変動量ΔVout=97mVと小さく、・・・、−21dB→−20dBに1dBだけ変化するときはΔVout=11mVとさらに小さい。
On the other hand, although the gain of the
したがって、上記のように分析回路23から「増幅」の指令が出ているときの電位変動量ΔVoutは、クロック信号Vclkのパルスが入力する毎にゲインGv22の値が大きくなるので、1ステップごとに増大する変化となる。つまり、図2(cに示すように、ΔVout(n−1)<ΔVout(n)<ΔVout(n+1)となる。
Accordingly, the potential fluctuation amount ΔVout when the “amplification” command is issued from the
テーブル32には、図3の特性曲線A(例1)で示されるデータが格納されているので、電位変動量ΔVoutが小さいほど高い周波数データが読み出されて高い周波数がクロック生成器31に設定され、電位変動量ΔVoutが大きいほど低い周波数データが読み出されて低い周波数がクロック生成器31に設定される。図2(d)に電位変動量ΔVoutを示し、図2(e)にクロック信号Vclkの周波数変化を示した。
Since the data indicated by the characteristic curve A (example 1) in FIG. 3 is stored in the table 32, the higher frequency data is read and the higher frequency is set in the
このようにして、電位変動量ΔVoutが小さいときは、ボリウムゲインの切り替わりにより生じるジッパーノイズはあまり問題にならないので、クロック信号Vclkの周波数を高くして1ステップ当たりの切り替わり時間を短かくすることで、電子ボリウム10のゲイン変更を短時間で完了させる。逆に、電位変動量ΔVoutが大きいときは、ボリウムゲインの切り替わりにより生じるジッパーノイズの問題が大きくなるので、クロック信号Vclkの周波数を低くして、1ステップ当たりの切り替わり時間を長くすることで、電子ボリウム10のゲイン変更時に生じるジッパーノイズを可聴周波数域外(低周波数)に移動させ、ジッパーノイズを抑制する。この結果、ボリウムゲインの切替時間が聴感上違和感となる遅れを発生させずに、ジッパーノイズを抑制できる。
In this way, when the potential fluctuation amount ΔVout is small, zipper noise caused by the volume gain switching is not a problem. Therefore, by increasing the frequency of the clock signal Vclk to shorten the switching time per step. The gain change of the
以上の動作例では、第2レジスタ22の現在ゲインGv22の値を小さなゲインGv(1)から大きなゲインGv(2)に変更する場合であるので、ステップ毎にクロック信号Vclkの周波数が順次低くなっているが、大きなゲインGv(2)から小さなゲインGv(1)に変更する場合は、ステップ毎にクロック信号Vclkの周波数が順次高くなる。そして、いずれの場合も、第2レジスタ22の現在ゲインGv22の値が第1レジスタ21の目標ゲインGv21の値に達すると、制御回路24からクロック生成器31に「一致」の指令が出力して、クロック信号Vclkの生成が停止する。
In the above operation example, since the value of the current gain Gv22 of the
なお、以上の実施例では、クロック信号Vclkの周波数をf1,f2,f3,f4,f5の5段階に切り替える例を説明したが、図3の特性曲線B(例2)に示すように、クロック信号Vclkの周波数を電位変動量ΔVoutの変化に応じて連続的に切り替えてもよい。 In the above embodiment, the example in which the frequency of the clock signal Vclk is switched to five stages of f1, f2, f3, f4, and f5 has been described. However, as shown in the characteristic curve B (example 2) in FIG. The frequency of the signal Vclk may be continuously switched according to the change in the potential fluctuation amount ΔVout.
図4に別のテーブルの例(例3)を示した。式(2)に示したように、前記した電位変動量ΔVoutは出力電圧Voutが大きいほど大きく、小さいほど小さくなる。また、前記した電位変動量ΔVoutは第2レジスタ22の現在ゲインGv22(式(2)のGv22(n)相当)の値が大きいほど大きく、小さいほど小さくなる。そこで図4のテーブルでは、出力電圧Voutのレベルが小さくなるほど、クロック信号Vclkの周波数がf1→f2→f3、あるいはf2→f3→f4、あるいはf3→f4→f5の順で高くなる。また、第2レジスタ22の現在ゲインGv22の値が小さくなるほど、クロック信号Vclkの周波数がf1→f2→f3、あるいはf2→f3→f4、あるいはf3→f4→f5の順で高くなっている。
FIG. 4 shows another example of the table (Example 3). As shown in Expression (2), the above-described potential fluctuation amount ΔVout increases as the output voltage Vout increases and decreases as the output voltage Vout decreases. The potential fluctuation amount ΔVout is larger as the value of the current gain Gv22 (equivalent to Gv22 (n) in the expression (2)) of the
このように、前記した電位変動量ΔVoutの大きさ以外に、出力電圧Voutと第2レジスタ22の現在ゲインGv22の値の大きさによってクロック信号Vclkの周波数を切り替えても、同様な結果が得られる。
As described above, the same result can be obtained even if the frequency of the clock signal Vclk is switched according to the magnitude of the value of the output voltage Vout and the current gain Gv22 of the
<第2実施例>
図5に本発明の第2実施例のボリウム制御装置の回路を示す。図1で説明したものと同じものには同じ符号をつけた。本実施例では、第1レジスタ21の目標ゲインGv21の値をクロック生成器31に取り込み、その目標ゲインGv21の値とレベル検出回路33で検出された出力信号Voutとに基づいて電位変動量ΔVoutを推定して、テーブル32によりクロック生成器31で生成されるクロック信号Vclkの周波数を決定する。
<Second embodiment>
FIG. 5 shows a circuit of a volume control apparatus according to the second embodiment of the present invention. The same components as those described with reference to FIG. In this embodiment, the value of the target gain Gv21 of the
本実施例では、第1レジスタ21の目標ゲインGv21の値が第1実施例の場合と同様に、Gv(1)→Gv(2)に変更されたとき、第2レジスタ22の現在ゲインGv22の値がGv(1)からGv(2)に向けて順次更新され、出力電圧Voutも順次更新される。そして、当初は出力電圧Voutが小さいので、第1レジスタ21の目標ゲインGv21の値から得られた出力電圧相当の値とレベル検出回路33で検出された出力電圧Voutの差分が大きくなり、且つ出力電圧Voutが小さいことから、1ステップ当たりの電位変動量ΔVoutが小さいと推定され、クロック生成器31で生成されるクロック信号Vclkの周波数は高い周波数となる。しかし、出力電圧Voutが大きくなると、第1レジスタ21の目標ゲインGv21の値から得られた出力電圧相当の値とレベル検出回路33で検出された出力電圧Voutの差分が小さくなり、且つ出力電圧Voutが大きいことから、1ステップ当たりの電位変動量ΔVoutが大きいと推定され、クロック信号Vclkの周波数が順次低くなる。現在ゲインGv22の値がGv(2)に達すると、制御回路24からクロック生成器31に「一致」の指令が出力して、クロック信号Vclkが停止する。
In this embodiment, when the value of the target gain Gv21 of the
上記動作例では、第2レジスタ22の現在ゲインGv22の値を小さなゲインGv(1)から大きなゲインGv(2)に変更する場合であるので、ステップ毎にクロック信号Vclkの周波数が順次低くなるが、大きなゲインGv(2)から小さなゲインGv(1)に変更する場合は、ステップ毎にクロック信号Vclkの周波数が順次高くなる。そして、いずれの場合も、第2レジスタ22の現在ゲインGv22の値が第1レジスタ21の目標ゲインGv21の値に達すると、制御回路24からクロック生成器31に「一致」の指令が出力して、クロック信号Vclkの生成が停止する。
In the above operation example, since the value of the current gain Gv22 of the
このようにして、第2実施例のボリウム制御装置においても、第1実施例のボリウム制御装置と同様に、出力電圧Voutが小さいときは、クロック信号Vclkの周波数を高くして1ステップ当たりの切り替わり時間を短かくすることで、ボリウム設定値を短時間で遷移させる。また、出力電圧Voutが大きいときは、クロック信号Vclkの周波数を低くして、1ステップ当たりの切り替わり時間を長くすることで、ボリウム設定の切り替わりにより生じるジッパーノイズを可聴域外(低周波数)に移動させ、ジッパーノイズを抑制する。 In this way, in the volume control device of the second embodiment, as in the volume control device of the first embodiment, when the output voltage Vout is small, the frequency of the clock signal Vclk is increased and the switching per step is performed. By shortening the time, the volume setting value is changed in a short time. Further, when the output voltage Vout is large, the frequency of the clock signal Vclk is lowered and the switching time per step is lengthened to move the zipper noise generated by the volume setting switching out of the audible range (low frequency). , Suppress zipper noise.
<第3実施例>
図6に本発明の第3実施例のボリウム制御装置の回路を示す。図1で説明したものと同じものには同じ符号をつけた。本実施例では、第1レジスタ21の目標ゲインGv21の値と第2レジスタ22の現在ゲインGv22の値をクロック生成器31に取り込む。そして、その目標ゲインGv21の値と第2レジスタ22の現在ゲインGv22の値とに基づいて、テーブル32によりクロック生成器31で生成されるクロック信号Vclkの周波数を決定する。
<Third embodiment>
FIG. 6 shows a circuit of a volume control apparatus according to the third embodiment of the present invention. The same components as those described with reference to FIG. In this embodiment, the value of the target gain Gv21 of the
本実施例では、出力電圧Voutを検出していないので、これに相当するものとして、第2レジスタ22の現在ゲインGv22の値を用いる。そして、その現在ゲインGv22の値が小さいときは出力電圧Voutも小さいので、クロック信号Vclkの周波数を高くし、逆に、現在ゲインGv22の値が大きいときは出力電圧Voutも大きいので、クロック信号Vclkの周波数を低くするようなデータをテーブル32に格納しておく。
In the present embodiment, since the output voltage Vout is not detected, the value of the current gain Gv22 of the
さらには、第1レジスタ21の目標ゲインGv21の値と第2レジスタ22の現在ゲインGv22の値との差分を
ΔGv1=|Gv21-Gv22| (3)
として求め、その差分ΔGv1が大きいほど、クロック信号Vclkの周波数を高くし、小さいほど低くする内容のデータをテーブル32に格納してもよい。
Further, the difference between the value of the target gain Gv21 of the
As the difference ΔGv1 is larger, the frequency of the clock signal Vclk may be increased, and the smaller the data, the lower the data may be stored in the table 32.
この場合のテーブル32の内容は、図7に示すようになる。この場合は、第2レジスタ22の現在ゲインGv22の値が小さいほどクロック信号Vclkの周波数が高くなり、且つ差分ΔGv1の値が大きいほどクロック信号Vclkの周波数が高くなる。
The contents of the table 32 in this case are as shown in FIG. In this case, the frequency of the clock signal Vclk increases as the value of the current gain Gv22 of the
このようにして、第3実施例のボリウム制御装置においては、第2レジスタ22の現在ゲインGv22の値が小さい(出力電圧Voutが小さいと推定)ほど、また差分ΔGv1が大きいほど、クロック信号Vclkの周波数を高くして1ステップ当たりの切り替わり時間を短かくすることで、ボリウム設定値を短時間で遷移させる。また、第2レジスタ22の現在ゲインGv22の値が大きい(出力電圧Voutが大きいと推定)ほど、また差分ΔGv1が小さいほど、クロック信号Vclkの周波数を低くして、1ステップ当たりの切り替わり時間を長くすることで、ボリウム設定の切り替わりにより生じるジッパーノイズを可聴域外(低周波数)に移動させ、ジッパーノイズを抑制する。
In this manner, in the volume control device of the third embodiment, the smaller the current gain Gv22 value of the second register 22 (estimated that the output voltage Vout is smaller) and the larger the difference ΔGv1, the more the clock signal Vclk becomes. By increasing the frequency and shortening the switching time per step, the volume setting value is changed in a short time. Further, as the value of the current gain Gv22 of the
10:電子ボリウム
20:ボリウム設定回路、21:第1レジスタ、22:第2レジスタ、23:分析回路、24:制御回路
30:クロック生成回路、31:クロック生成器、32:テーブル、33:レベル検出回路
10: Electronic volume 20: Volume setting circuit, 21: First register, 22: Second register, 23: Analysis circuit, 24: Control circuit, 30: Clock generation circuit, 31: Clock generator, 32: Table, 33: Level Detection circuit
Claims (6)
前記ボリウム設定回路は、前記電子ボリウムのゲインの目標値が設定される第1レジスタと、前記電子ボリウムのゲインの現在値が設定される第2レジスタと、前記第1レジスタの前記目標値と前記第2レジスタの前記現在値を比較する分析回路と、該分析回路の比較結果に応じて前記第2レジスタの前記現在値を前記第1レジスタの前記目標値に向かって前記クロック信号のパルス毎に段階的に更新させる制御回路とを有し、
前記クロック生成回路は、前記電子ボリウムの出力信号の大きさに基づいて前記クロック信号の周波数を切り替えることを特徴とするボリウム制御装置。 In a volume control apparatus that controls the gain of an input audio signal by means of an electronic volume, a volume setting circuit that sets the gain of the electronic volume, and a clock generation circuit that generates a clock signal that performs stepwise switching of the gain of the electronic volume, With
The volume setting circuit includes a first register in which a target value of the gain of the electronic volume is set, a second register in which a current value of the gain of the electronic volume is set, the target value of the first register, and the An analysis circuit for comparing the current value of the second register, and the current value of the second register for each pulse of the clock signal toward the target value of the first register according to the comparison result of the analysis circuit A control circuit for updating in stages,
The volume control device, wherein the clock generation circuit switches the frequency of the clock signal based on the magnitude of the output signal of the electronic volume.
前記クロック生成回路は、前記電子ボリウムの出力信号が小さいとき前記クロック信号の周波数を高く設定し、前記電子ボリウムの出力信号が大きいとき前記クロック信号の周波数を低く設定することを特徴とするボリウム制御装置。 The volume control device according to claim 1,
The clock generation circuit sets the frequency of the clock signal to be high when the output signal of the electronic volume is small, and sets the frequency of the clock signal to be low when the output signal of the electronic volume is large. apparatus.
前記ボリウム設定回路は、前記電子ボリウムのゲインの目標値が設定される第1レジスタと、前記電子ボリウムのゲインの現在値が設定される第2レジスタと、前記第1レジスタの前記目標値と前記第2レジスタの前記現在値を比較する分析回路と、該分析回路の比較結果に応じて前記第2レジスタの前記現在値を前記第1レジスタの前記目標値に向かって前記クロック信号のパルス毎に段階的に更新させる制御回路とを有し、
前記クロック生成回路は、前記電子ボリウムの出力信号の大きさと前記第2レジスタの前記現在値とに基づいて前記クロック信号の周波数を切り替えることを特徴とするボリウム制御装置。 In a volume control apparatus that controls the gain of an input audio signal by means of an electronic volume, a volume setting circuit that sets the gain of the electronic volume, and a clock generation circuit that generates a clock signal that performs stepwise switching of the gain of the electronic volume, With
The volume setting circuit includes a first register in which a target value of the gain of the electronic volume is set, a second register in which a current value of the gain of the electronic volume is set, the target value of the first register, and the An analysis circuit for comparing the current value of the second register, and the current value of the second register for each pulse of the clock signal toward the target value of the first register according to the comparison result of the analysis circuit A control circuit for updating in stages,
The volume control device, wherein the clock generation circuit switches the frequency of the clock signal based on the magnitude of the output signal of the electronic volume and the current value of the second register.
前記クロック生成回路は、前記電子ボリウムの出力信号が小さく且つ前記第2レジスタの前記現在値が小さいとき前記クロック信号の周波数を高く設定し、前記電子ボリウムの出力信号が大きく且つ前記第2レジスタの前記現在値が大きいとき前記クロック信号の周波数を低く設定することを特徴とするボリウム制御装置。 The volume control device according to claim 3,
The clock generation circuit sets the frequency of the clock signal high when the output signal of the electronic volume is small and the current value of the second register is small, and the output signal of the electronic volume is large and the output of the second register The volume control device, wherein the frequency of the clock signal is set low when the current value is large.
前記ボリウム設定回路は、前記電子ボリウムのゲインの目標値が設定される第1レジスタと、前記電子ボリウムのゲインの現在値が設定される第2レジスタと、前記第1レジスタの前記目標値と前記第2レジスタの前記現在値を比較する分析回路と、該分析回路の比較結果に応じて前記第2レジスタの前記現在値を前記第1レジスタの前記目標値に向かって前記クロック信号のパルス毎に段階的に更新させる制御回路とを有し、
前記クロック生成回路は、前記電子ボリウムの出力信号の大きさと前記第1レジスタの前記目標値とに基づいて前記クロック信号の周波数を切り替えることを特徴とするボリウム制御装置。 In a volume control device that controls the gain of an input audio signal by means of an electronic volume, a volume setting circuit that sets the gain of the electronic volume, and a clock generation circuit that generates a clock signal that performs stepwise switching of the gain of the electronic volume, With
The volume setting circuit includes a first register in which a target value of the gain of the electronic volume is set, a second register in which a current value of the gain of the electronic volume is set, the target value of the first register, and the An analysis circuit for comparing the current value of the second register, and the current value of the second register for each pulse of the clock signal toward the target value of the first register according to the comparison result of the analysis circuit A control circuit for updating in stages,
The volume control device, wherein the clock generation circuit switches the frequency of the clock signal based on the magnitude of the output signal of the electronic volume and the target value of the first register.
前記クロック生成回路は、前記電子ボリウムの出力信号が小さく且つ前記第1レジスタの前記目標値と前記出力信号の差分が小さいとき前記クロック信号の周波数を高く設定し、前記電子ボリウムの出力信号が大きく且つ前記第1レジスタの前記目標値と前記出力信号の差分が大きいとき前記クロック信号の周波数を低く設定することを特徴とするボリウム制御装置。
The volume control device according to claim 5,
The clock generation circuit sets the frequency of the clock signal high when the output signal of the electronic volume is small and the difference between the target value of the first register and the output signal is small, and the output signal of the electronic volume is large. The volume control device is characterized in that the frequency of the clock signal is set low when the difference between the target value of the first register and the output signal is large.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015164759A JP6595256B2 (en) | 2015-08-24 | 2015-08-24 | Volume control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015164759A JP6595256B2 (en) | 2015-08-24 | 2015-08-24 | Volume control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017046037A JP2017046037A (en) | 2017-03-02 |
JP6595256B2 true JP6595256B2 (en) | 2019-10-23 |
Family
ID=58211948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015164759A Active JP6595256B2 (en) | 2015-08-24 | 2015-08-24 | Volume control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6595256B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019069439A1 (en) * | 2017-10-06 | 2019-04-11 | ヤマハ株式会社 | Acoustic signal processing device and acoustic signal processing method |
JP7109177B2 (en) * | 2017-11-02 | 2022-07-29 | ローム株式会社 | Audio circuit, in-vehicle audio device using the same, audio component device, electronic device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57102215U (en) * | 1980-12-15 | 1982-06-23 | ||
JPS59140520U (en) * | 1983-03-09 | 1984-09-19 | パイオニア株式会社 | electronic volume |
JPH04189008A (en) * | 1990-11-22 | 1992-07-07 | Matsushita Electric Ind Co Ltd | Analog quantity adjustment device |
JP3772835B2 (en) * | 2003-01-16 | 2006-05-10 | ヤマハ株式会社 | Electronic volume control method and electronic volume control device |
JP5516532B2 (en) * | 2011-08-09 | 2014-06-11 | カシオ計算機株式会社 | Electronic device and program |
-
2015
- 2015-08-24 JP JP2015164759A patent/JP6595256B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017046037A (en) | 2017-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5411315B2 (en) | Time difference amplifier and time difference amplification method using slew rate control | |
US7595692B2 (en) | Automatic gain control circuit | |
GB2527677A (en) | Reducing audio artifacts in a system for enhancing dynamic range of audio signal path | |
WO2009145318A1 (en) | A/d conversion device and servo control device | |
JP6203688B2 (en) | Power supply circuit and control method thereof | |
JP2010251885A (en) | AGC circuit | |
JP6595256B2 (en) | Volume control device | |
JP6486888B2 (en) | Operation control method of moving average filter | |
CN106558315A (en) | Heterogeneous mike automatic gain calibration method and system | |
JP4770440B2 (en) | Signal processing apparatus and signal processing method | |
JPWO2009001653A1 (en) | Waveform processing circuit. | |
JP5147420B2 (en) | Amplifier circuit | |
JP2015231112A (en) | Method for detecting hysteresis characteristic of comparison circuit and semiconductor device | |
KR101843277B1 (en) | Actuator driver for voice coil motor, and actuator driving method thereof | |
JP6368696B2 (en) | Power supply device and signal processing method thereof | |
US9628060B2 (en) | Semiconductor device and operating method thereof | |
JP6753665B2 (en) | Gain control circuit and gain control method | |
US9514765B2 (en) | Method for reducing noise and computer program thereof and electronic device | |
JP6674608B2 (en) | Volume control device | |
TW201804460A (en) | Audio codec system and audio codec method | |
JP6729187B2 (en) | Audio processing program, audio processing method, and audio processing apparatus | |
JP2016025825A (en) | Power circuit | |
JP2012213077A (en) | Digital signal processing apparatus and digital signal processing method | |
US9203306B2 (en) | Control device, digital control power supply, and control method | |
JP5975398B2 (en) | Speech enhancement device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180702 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190226 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190325 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190418 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190910 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190926 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6595256 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |