[go: up one dir, main page]

JP2003338718A - Digital amplifier - Google Patents

Digital amplifier

Info

Publication number
JP2003338718A
JP2003338718A JP2002145046A JP2002145046A JP2003338718A JP 2003338718 A JP2003338718 A JP 2003338718A JP 2002145046 A JP2002145046 A JP 2002145046A JP 2002145046 A JP2002145046 A JP 2002145046A JP 2003338718 A JP2003338718 A JP 2003338718A
Authority
JP
Japan
Prior art keywords
gain
gain value
value
curve
section
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
JP2002145046A
Other languages
Japanese (ja)
Inventor
Jiro Kubota
二郎 窪田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002145046A priority Critical patent/JP2003338718A/en
Publication of JP2003338718A publication Critical patent/JP2003338718A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a digital amplifier which is free from producing shock sound, when performing gain adjustment. <P>SOLUTION: When a gain adjustment curve is stored in a gain adjustment curve table portion 54 of a gain adjustment portion 50, and gain is changed from a present gain value to a new gain value, an intermediate gain value calculation portion 55 calculates an intermediate gain value, based on gain curve characteristics in synchronism with a clock, sets to an intermediate gain value register and finally sets at the new gain value. The gain curve characteristics stored in the gain adjustment curve table portion 54 has a gentle curve, at the beginning and end of the gain value change, wherein an affection of gain value change is notable and a sharp curve in the middle of a gain adjustment period. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、オーディオ用デジ
タルアンプに関するものであり、特に、ゲイン調整機能
を有するデジタルアンプに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an audio digital amplifier, and more particularly to a digital amplifier having a gain adjusting function.

【0002】[0002]

【従来の技術】ノートパソコン、ポータブル型のCD
(Compact Disk)プレイヤーやDVD(Digital Versat
ile Disc)プレイヤー、カーオーディオなど、バッテリ
ーで動作し、スピーカを内蔵する機器が普及している。
これらの機器は、音質面の品質だけでなく、小型化、低
電力化が求められている。このような背景から、デジタ
ルアンプが注目を集めている。その中でも、オーディオ
用プリアンプの用途に用いられるPWM(Pulse Width
Modulation)方式のデジタルアンプは、入力から出力ま
でを全てデジタル回路で構成し、音声信号を全てデジタ
ル処理することが可能である。PWM方式では、音情報
の電圧振幅をデジタルパルス幅に変換し、直接スピーカ
を駆動することも可能であり、アナログ処理の必要がな
い。そのため、低電力で発熱量が少なく、小型のアンプ
を実現することが可能である。
2. Description of the Related Art Notebook computers and portable CDs
(Compact Disk) Player and DVD (Digital Versat)
Devices such as players and car audios that operate on batteries and have built-in speakers are becoming popular.
These devices are required to have not only sound quality but also miniaturization and low power consumption. From such a background, digital amplifiers are attracting attention. Among them, PWM (Pulse Width) used for audio preamplifiers
The Modulation type digital amplifier is capable of digitally processing all audio signals by configuring all the circuits from input to output with digital circuits. In the PWM method, the voltage amplitude of the sound information can be converted into a digital pulse width and the speaker can be directly driven, and there is no need for analog processing. Therefore, it is possible to realize a small amplifier with low power consumption and a small amount of heat generation.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、全てが
デジタル処理のため、ゲイン調整を行う場合、その変化
量が大きいとノイズが発生するという問題があった。つ
まり、現在設定されているゲイン値と新しく設定される
ゲイン値の変化量が大きい場合、急激にゲインが変化す
るため、ゲインの変化時にショック音が発生し、スピー
カ破損が生じることがある。特に、この現象はプラス極
性とマイナス極性の2つの出力で負荷を駆動するBTL
(Bridge-Tied Load)接続では、PWM出力器の出力ゼ
ロから絶対ゼロ出力への変遷時に大きなノイズが生じ
る。
However, since all are digital processing, there is a problem that noise is generated when the amount of change is large when the gain is adjusted. That is, when the amount of change between the currently set gain value and the newly set gain value is large, the gain changes abruptly, so a shock noise may occur when the gain changes and speaker damage may occur. In particular, this phenomenon is due to the BTL driving the load with two outputs of positive polarity and negative polarity.
In the (Bridge-Tied Load) connection, large noise occurs when the output of the PWM output device changes from zero output to absolute zero output.

【0004】この発明は上記に鑑みてなされたもので、
ゲイン調整を行う時にショック音が発生しないデジタル
アンプを得ることを目的としている。
The present invention has been made in view of the above,
The purpose is to obtain a digital amplifier that does not generate a shock noise when adjusting the gain.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、この発明にかかるデジタルアンプは、ゲイン調整機
能を有するデジタルアンプにおいて、新しく設定するゲ
イン値を保持する新規ゲイン値レジスタ部と、前記新規
ゲイン値レジスタ部に保持された新規ゲイン値と現在設
定されているゲイン値との間の1〜複数の中間ゲイン値
を算出するゲイン調整部と、前記ゲイン調整部で算出さ
れた中間ゲイン値に基づいて入力音声信号のゲインを設
定し出力音声信号を出力するゲイン設定部とを備えるこ
とを特徴とする。
In order to achieve the above object, a digital amplifier according to the present invention is a digital amplifier having a gain adjusting function, and a new gain value register section for holding a newly set gain value, and A gain adjusting unit that calculates one or more intermediate gain values between the new gain value held in the new gain value register unit and the currently set gain value, and an intermediate gain value calculated by the gain adjusting unit. And a gain setting unit that sets the gain of the input audio signal based on the above and outputs the output audio signal.

【0006】この発明によれば、入力音声信号に対して
出力音声信号を現在設定されているゲイン値から新規ゲ
イン値に変更する場合、現在設定されているゲイン値と
新規ゲイン値との間に1〜複数の中間ゲイン値を算出
し、順次中間ゲイン値に設定しながら、新規ゲイン値ま
でゲイン値を変更するようにしている。
According to the present invention, when the output voice signal is changed from the currently set gain value to the new gain value with respect to the input voice signal, it is between the currently set gain value and the new gain value. One to a plurality of intermediate gain values are calculated, and the gain values are changed up to the new gain value while sequentially setting the intermediate gain values.

【0007】つぎの発明にかかるデジタルアンプは、上
記の発明において、前記ゲイン調整部は、ゲイン調整カ
ーブを格納するゲイン調整カーブテーブル部と、前記ゲ
イン調整カーブテーブル部に格納されている値と、現在
設定されているゲイン値と新しく設定されたゲイン値の
差分とを乗算し、該乗算結果に現在設定されているゲイ
ン値を加算して、前記現在設定されているゲイン値と新
しく設定されるゲイン値との中間ゲイン値を算出する中
間ゲイン値計算部とを備え、前記ゲイン調整カーブテー
ブル部に格納されるゲインカーブ特性にしたがって前記
中間ゲイン値を設定することを特徴とする。
In the digital amplifier according to the next invention, in the above invention, the gain adjusting section has a gain adjusting curve table section for storing a gain adjusting curve, and a value stored in the gain adjusting curve table section. The currently set gain value and the difference between the newly set gain value are multiplied, the currently set gain value is added to the multiplication result, and the currently set gain value and the newly set gain value are newly set. An intermediate gain value calculation unit that calculates an intermediate gain value with respect to the gain value is provided, and the intermediate gain value is set according to a gain curve characteristic stored in the gain adjustment curve table unit.

【0008】この発明によれば、現在のゲイン値から新
規ゲイン値にゲイン値を変更する場合、ゲイン調整カー
ブテーブル部に格納されているゲイン調整カーブの値
と、現在設定されているゲイン値と新しく設定されたゲ
イン値の差分とを乗算し、その結果に現在設定されてい
るゲイン値を加算することで中間ゲイン値を算出し、ゲ
イン調整カーブにしたがって現在のゲイン設定値から新
規ゲイン値の値まで順次ゲイン値を変更するようにして
いる。
According to the present invention, when the gain value is changed from the current gain value to the new gain value, the value of the gain adjustment curve stored in the gain adjustment curve table section and the currently set gain value are set. The intermediate gain value is calculated by multiplying the difference between the newly set gain value and the result, and adding the currently set gain value to the new gain value from the current gain setting value according to the gain adjustment curve. The gain value is sequentially changed up to the value.

【0009】つぎの発明にかかるデジタルアンプは、上
記の発明において、前記ゲイン調整カーブテーブル部に
格納されるゲイン調整データは、ゲイン調整期間の初期
および終期では緩やかなカーブを有し、ゲイン調整期間
の中間では急峻なカーブを有するゲインカーブ特性を有
することを特徴とする。
In the digital amplifier according to the next invention, in the above invention, the gain adjustment data stored in the gain adjustment curve table section has a gentle curve at the beginning and the end of the gain adjustment period, Is characterized by having a gain curve characteristic having a steep curve.

【0010】この発明によれば、ゲイン調整カーブテー
ブル部に格納されるゲイン調整データは、ゲイン調整期
間の初期および終期では緩やかなカーブを、ゲイン調整
期間の中間では急峻なカーブを有するようにしている。
According to the present invention, the gain adjustment data stored in the gain adjustment curve table section has a gentle curve at the beginning and end of the gain adjustment period and a steep curve at the middle of the gain adjustment period. There is.

【0011】[0011]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかるデジタルアンプの好適な実施の形態を詳細
に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of a digital amplifier according to the present invention will be described in detail below with reference to the accompanying drawings.

【0012】図1は、本実施の形態のデジタルアンプの
構成を示すブロック図である。本実施の形態のデジタル
アンプは、シリアルパラレル変換部10と、ゲイン設定
部20と、デルタシグマ変換部30と、PWM出力部4
0と、ゲイン調整部50と、新規ゲイン値レジスタ部6
0を備えている。
FIG. 1 is a block diagram showing the configuration of the digital amplifier of this embodiment. The digital amplifier according to the present embodiment includes a serial / parallel conversion unit 10, a gain setting unit 20, a delta sigma conversion unit 30, and a PWM output unit 4.
0, the gain adjusting unit 50, and the new gain value register unit 6
It has 0.

【0013】シリアルパラレル変換部10は、リニアP
CM(Pulse Code Modulation)信号やDSD(Direct
Stream Digital)信号など1ビットの音声信号をパラレ
ルデータに変換する。
The serial / parallel conversion unit 10 includes a linear P
CM (Pulse Code Modulation) signals and DSD (Direct
Converts 1-bit audio signals such as Stream Digital signals into parallel data.

【0014】ゲイン設定部20は、シリアルパラレル変
換部10においてパラレルデータに変換された音声信号
とゲイン調整部50で設定されたゲイン値との乗算を行
い音声信号のゲインを設定する。
The gain setting section 20 multiplies the audio signal converted into parallel data by the serial / parallel conversion section 10 by the gain value set by the gain adjusting section 50 to set the gain of the audio signal.

【0015】デルタシグマ変換部30は、ゲイン設定さ
れた音声信号に対してデルタシグマ変調を行い、量子化
ノイズを可聴帯域外に移動させる。
The delta-sigma conversion unit 30 performs delta-sigma modulation on the audio signal for which the gain is set, and moves the quantization noise outside the audible band.

【0016】PWM出力部40は、デルタシグマ変換部
30において量子化ノイズを可聴帯域外に移動した音声
信号に対してPWM変調を行う。
The PWM output section 40 performs PWM modulation on the audio signal obtained by moving the quantization noise outside the audible band in the delta-sigma conversion section 30.

【0017】新規ゲイン値レジスタ部60は、外部より
入力された新規ゲイン設定値を保持する。
The new gain value register section 60 holds the new gain setting value input from the outside.

【0018】ゲイン調整部50は、現在のゲイン値を新
規ゲイン値レジスタ部60に設定されたゲイン値に変更
するための中間ゲイン値を算出する。
The gain adjusting section 50 calculates an intermediate gain value for changing the current gain value to the gain value set in the new gain value register section 60.

【0019】図2は、ゲイン調整部50の構成を示すブ
ロック図である。ゲイン調整部50は、現在のゲイン値
レジスタ51と、比較部52と、アドレス計算部53
と、ゲイン調整カーブテーブル部54と、中間ゲイン値
計算部55と、中間ゲイン値レジスタ56を備えてい
る。
FIG. 2 is a block diagram showing the configuration of the gain adjusting section 50. The gain adjusting unit 50 includes a current gain value register 51, a comparing unit 52, and an address calculating unit 53.
A gain adjustment curve table unit 54, an intermediate gain value calculation unit 55, and an intermediate gain value register 56.

【0020】現在のゲイン値レジスタ51は、現在設定
されているゲイン値を保持し、ゲイン値の変更終了時に
再設定される。
The current gain value register 51 holds the currently set gain value and is reset when the gain value has been changed.

【0021】比較部52は、現在のゲイン値レジスタ5
1に保持されているゲイン値と新しく設定されるゲイン
値の比較を行い、現在のゲイン値レジスタ51の値と新
しく設定されるゲイン値の大小の比較と、2つのゲイン
値の差分を算出する。
The comparison unit 52 uses the current gain value register 5
The gain value held in 1 is compared with the newly set gain value, the value of the current gain value register 51 is compared with the newly set gain value, and the difference between the two gain values is calculated. .

【0022】アドレス計算部53は、比較部52の結果
に基づき、ゲイン値変更時のゲイン調整カーブテーブル
部54の初期アドレスを決定し、ゲイン値が新しく設定
されたゲイン値に変更されるまで、クロックに同期して
ゲイン調整カーブテーブル部54のアドレスを更新す
る。
The address calculation unit 53 determines the initial address of the gain adjustment curve table unit 54 when the gain value is changed based on the result of the comparison unit 52, until the gain value is changed to the newly set gain value. The address of the gain adjustment curve table unit 54 is updated in synchronization with the clock.

【0023】ゲイン調整カーブテーブル部54は、RA
M(Random Access Memory)またはROM(Read Only
Memory)などで構成され、ゲイン調整カーブの値を格納
する。具体的には、図3に示したゲインカーブ特性を有
するゲイン調整カーブの時間軸を点線で示すようにRA
MまたはROMのアドレス数xで均等に分割し、時刻t
1の時のゲイン値を先頭アドレス00hに、時刻t2の時
のゲイン値をアドレス01hというように時刻txの値
まで先頭アドレスから最終アドレスまで順にゲイン調整
カーブのゲイン値を格納する。
The gain adjustment curve table section 54 has an RA
M (Random Access Memory) or ROM (Read Only)
Memory) and stores the value of the gain adjustment curve. Specifically, the time axis of the gain adjustment curve having the gain curve characteristic shown in FIG.
Divide evenly by the number of M or ROM addresses x, and time t
The gain value at 1 is stored in the start address 00h, the gain value at time t 2 is stored in the address 01h, and the gain values of the gain adjustment curve are sequentially stored from the start address to the final address up to the value at time t x .

【0024】ゲイン調整カーブは、現在設定されている
ゲイン値から新しく設定されるゲイン値に変更する時の
係数を示しており、ゲインは常にこのゲイン調整カーブ
にしたがって変更される。ゲイン値を下げる場合は、時
刻t1の時のゲイン値、時刻t2の時のゲイン値…の順で
時刻tx時のゲイン値までをたどり、ゲイン値を上げる
場合は、時刻txの時のゲイン値、時刻tx-1の時のゲイ
ン値…の順に時刻t1の時のゲイン値までをたどってゲ
イン値を変化させる。
The gain adjustment curve shows the coefficient when changing from the currently set gain value to the newly set gain value, and the gain is always changed according to this gain adjustment curve. When decreasing the gain value, the gain value at the time t 1 is followed by the gain value at the time t 2 in the order up to the gain value at the time t x, and when increasing the gain value, at the time t x . The gain value is changed by tracing the gain value at time t 1 , the gain value at time t x−1 , and so on up to the gain value at time t 1 .

【0025】また、ゲイン調整カーブのゲインカーブ特
性は、複数の傾きを有している。図3の場合は、傾き
(1)から傾き(n)までのn個の異なる傾きで、ゲイ
ン値変化時の最初と最後を緩やかな傾きにし、変化の中
間レベルについては傾きを急にしている。
The gain curve characteristic of the gain adjustment curve has a plurality of slopes. In the case of FIG. 3, with n different slopes from the slope (1) to the slope (n), the beginning and the end when the gain value changes are gentle slopes, and the intermediate level of the change is steep. .

【0026】中間ゲイン値計算部55は、比較部52で
算出された現在のゲイン値レジスタ51の値と新しく設
定されるゲイン値の差分とゲイン調整カーブテーブル部
54から出力されたゲイン調整カーブの値を乗算し、そ
の結果に現在のゲイン値レジスタ51に保持されている
ゲイン値を加算し、中間ゲイン値を算出する。
The intermediate gain value calculation unit 55 calculates the difference between the value of the current gain value register 51 calculated by the comparison unit 52 and the newly set gain value and the gain adjustment curve output from the gain adjustment curve table unit 54. The value is multiplied and the gain value currently held in the gain value register 51 is added to the result to calculate an intermediate gain value.

【0027】中間ゲイン値レジスタ56は、次の中間ゲ
イン値が算出されるまで中間ゲイン値を保持する。
The intermediate gain value register 56 holds the intermediate gain value until the next intermediate gain value is calculated.

【0028】つぎに、本実施の形態のデジタルアンプの
動作を説明する。シリアルパラレル変換部10は、リニ
アPCM(Pulse Code Modulation)信号やDSD(Dir
ectStream Digital)信号など1ビットの入力音声信号
をパラレルデータに変換し、ゲイン設定部20に出力す
る。1ビットの入力音声信号がパラレルデータに変換さ
れると、ゲイン設定部20は、パラレルデータに変換さ
れた音声信号とゲイン調整部50で設定されたゲイン値
との乗算を行い、音声信号のゲインを決定する。ゲイン
が決定すると、ゲイン設定部20は、デルタシグマ変換
部30に音声信号を出力する。音声信号が入力される
と、デルタシグマ変換部30は、ゲイン設定された音声
信号に対してデルタシグマ変調を行い、量子化ノイズを
可聴帯域外に移動させる。PWM出力部40は、デルタ
シグマ変換部30で量子化ノイズが除去された音声信号
に対してPWM変調を行い出力音声信号を出力する。
Next, the operation of the digital amplifier of this embodiment will be described. The serial-parallel conversion unit 10 includes a linear PCM (Pulse Code Modulation) signal and a DSD (Dir
ectStream Digital) signal such as a 1-bit input audio signal is converted into parallel data and output to the gain setting unit 20. When the 1-bit input audio signal is converted into parallel data, the gain setting unit 20 multiplies the audio signal converted into parallel data by the gain value set by the gain adjusting unit 50 to obtain the gain of the audio signal. To decide. When the gain is determined, the gain setting unit 20 outputs the audio signal to the delta-sigma conversion unit 30. When the audio signal is input, the delta sigma conversion unit 30 performs delta sigma modulation on the audio signal for which the gain is set, and moves the quantization noise to outside the audible band. The PWM output unit 40 performs PWM modulation on the audio signal from which the quantization noise has been removed by the delta-sigma conversion unit 30 and outputs an output audio signal.

【0029】ここで、出力音声信号のゲイン値を変更す
るために、新規ゲイン値レジスタ部60に新規にゲイン
値が設定されたとする。新規ゲイン値レジスタ部60に
新規ゲイン値が設定されると、ゲイン調整部50の比較
部52は、現在のゲイン値レジスタ51に保持されてい
る現在のゲイン値と入力された新規ゲイン値の比較を行
い、その結果をアドレス計算部53に出力する。また、
比較部52は、現在のゲイン値レジスタ51に保持され
ている現在のゲイン値と入力された新規ゲイン値の差分
を算出し中間ゲイン値計算部55に出力する。
Here, it is assumed that a new gain value is set in the new gain value register section 60 in order to change the gain value of the output audio signal. When the new gain value is set in the new gain value register unit 60, the comparing unit 52 of the gain adjusting unit 50 compares the current gain value held in the current gain value register 51 with the input new gain value. And outputs the result to the address calculator 53. Also,
The comparison unit 52 calculates the difference between the current gain value held in the current gain value register 51 and the input new gain value, and outputs it to the intermediate gain value calculation unit 55.

【0030】アドレス計算部53は、比較部52から入
力された現在のゲイン値レジスタ51に保持されている
現在のゲイン値と入力された新規ゲイン値の比較結果に
基づきゲイン調整カーブテーブル部54の読み出す初期
アドレスを決定する。比較部52の比較結果が現在のゲ
イン値が新しいゲイン値よりも大きい場合(出力音声信
号のゲイン値を下げる場合)は、ゲイン調整カーブテー
ブル部54の先頭アドレス(若番アドレス)を初期アド
レスとする。逆に、現在のアドレスゲイン値が新しいゲ
イン値よりも小さい場合(出力音声信号のゲイン値を上
げる場合)は、ゲイン調整カーブテーブル部54の最終
アドレスを初期アドレスとする。アドレス計算部53
は、ゲイン調整カーブテーブル部54に決定した初期ア
ドレスを出力する。
The address calculation unit 53 of the gain adjustment curve table unit 54 is based on the comparison result of the current gain value held in the current gain value register 51 input from the comparison unit 52 and the new gain value input. Determine the initial address to read. When the comparison result of the comparison unit 52 shows that the current gain value is larger than the new gain value (when the gain value of the output audio signal is lowered), the start address (younger address) of the gain adjustment curve table unit 54 is set as the initial address. To do. Conversely, when the current address gain value is smaller than the new gain value (when increasing the gain value of the output audio signal), the final address of the gain adjustment curve table unit 54 is set as the initial address. Address calculator 53
Outputs the determined initial address to the gain adjustment curve table unit 54.

【0031】アドレス計算部53からアドレスが入力さ
れると、ゲイン調整カーブテーブル部54は、入力され
たアドレスのデータを読み出し、中間ゲイン値計算部5
5に出力する。
When an address is input from the address calculation unit 53, the gain adjustment curve table unit 54 reads the data of the input address and the intermediate gain value calculation unit 5
Output to 5.

【0032】ゲイン調整カーブテーブル部54からデー
タが入力されると、中間ゲイン値計算部55は、比較部
52から入力された現在のゲイン値と新規ゲイン値の差
分とゲイン調整カーブテーブル部54から入力されたデ
ータとを乗算し、ゲインの変化量を算出する。ゲインの
変化量を算出すると、中間ゲイン値計算部55は、現在
のゲイン値レジスタ51に保持されている現在のゲイン
値に算出したゲイン変化量を加算する。この値が中間ゲ
イン値であり、中間ゲイン値計算部55は、中間ゲイン
値レジスタ56に算出した中間ゲイン値を出力する。
When data is input from the gain adjustment curve table unit 54, the intermediate gain value calculation unit 55 outputs the difference between the current gain value and the new gain value input from the comparison unit 52 and the gain adjustment curve table unit 54. The input data is multiplied to calculate the gain change amount. When the gain change amount is calculated, the intermediate gain value calculation unit 55 adds the calculated gain change amount to the current gain value held in the current gain value register 51. This value is the intermediate gain value, and the intermediate gain value calculation unit 55 outputs the calculated intermediate gain value to the intermediate gain value register 56.

【0033】中間ゲイン値計算部55から中間ゲイン値
が入力されると、中間ゲイン値レジスタ56は、中間ゲ
イン値を保持し、ゲイン設定部20に出力する。
When the intermediate gain value is input from the intermediate gain value calculation section 55, the intermediate gain value register 56 holds the intermediate gain value and outputs it to the gain setting section 20.

【0034】ゲイン設定部20は、パラレルデータに変
換された音声信号とゲイン調整部50で設定されたゲイ
ン値との乗算を行い、出力音声信号のゲインを決定す
る。ゲインが決定すると、ゲイン設定部20は、デルタ
シグマ変換部30に音声信号を出力する。音声信号が入
力されると、デルタシグマ変換部30は、ゲイン設定さ
れた音声信号に対してデルタシグマ変調を行い、量子化
ノイズを可聴帯域外に移動させ、PWM出力部40は、
デルタシグマ変換部30で量子化ノイズが除去された音
声信号に対してPWM変調を行い出力音声信号を出力す
る。
The gain setting section 20 multiplies the audio signal converted into parallel data by the gain value set by the gain adjusting section 50 to determine the gain of the output audio signal. When the gain is determined, the gain setting unit 20 outputs the audio signal to the delta-sigma conversion unit 30. When the audio signal is input, the delta sigma conversion unit 30 performs delta sigma modulation on the audio signal for which the gain is set, moves the quantization noise to outside the audible band, and the PWM output unit 40
The delta-sigma conversion unit 30 performs PWM modulation on the audio signal from which the quantization noise has been removed, and outputs an output audio signal.

【0035】ゲイン調整部50のアドレス計算部53
は、クロックに同期して、比較部52の比較結果が現在
のゲイン値が新規ゲイン値よりも大きい場合は、現在の
アドレスをインクリメントし、現在のゲイン値が新規ゲ
イン値よりも小さい場合は、現在のアドレスでデクリメ
ントしてゲイン調整カーブテーブル部54のアドレスを
更新する。
Address calculation section 53 of gain adjustment section 50
Is synchronized with the clock, the current address is incremented when the comparison result of the comparison unit 52 is larger than the new gain value, and when the current gain value is smaller than the new gain value, The address of the gain adjustment curve table unit 54 is updated by decrementing with the current address.

【0036】ゲイン調整カーブテーブル部54のアドレ
スが更新されると、上述したように、ゲイン調整カーブ
テーブル部54は、アドレスが示すデータを読み出し、
中間ゲイン値計算部55は、ゲイン調整カーブテーブル
部54のデータと、現在のゲイン値と新規ゲイン値の差
分と、現在のゲイン値に基づき中間ゲイン値を算出し、
中間ゲイン値レジスタ56に出力する。
When the address of the gain adjustment curve table section 54 is updated, as described above, the gain adjustment curve table section 54 reads out the data indicated by the address,
The intermediate gain value calculation unit 55 calculates the intermediate gain value based on the data of the gain adjustment curve table unit 54, the difference between the current gain value and the new gain value, and the current gain value,
Output to the intermediate gain value register 56.

【0037】このような動作を、現在のゲイン値が新規
ゲイン値より大きい場合は、ゲイン調整カーブテーブル
部54の最終アドレスまで、現在のゲイン値が新規ゲイ
ン値より小さい場合は、ゲイン調整カーブテーブル部5
4の先頭アドレスまで繰り返し、現在のゲイン値から新
規ゲイン値にゲインを変更する。出力音声信号が新規ゲ
イン値に変更された場合は、現在のゲイン値レジスタ5
1は、新規ゲイン値に変更される。
When the current gain value is larger than the new gain value, the above operation is performed up to the final address of the gain adjustment curve table section 54, and when the current gain value is smaller than the new gain value, the gain adjustment curve table is displayed. Part 5
The gain is changed from the current gain value to the new gain value by repeating up to the start address of 4. When the output audio signal is changed to the new gain value, the current gain value register 5
1 is changed to a new gain value.

【0038】以上説明したように、本実施の形態では、
ゲイン調整部50のゲイン調整カーブテーブル部54に
ゲイン調整カーブを格納し、現在のゲイン値から新規ゲ
イン値にゲインを変更する場合に、中間ゲイン値計算部
55が、クロックに同期してゲインカーブ特性に基づい
て中間ゲイン値を算出し、中間ゲイン値レジスタにセッ
トし、最終的に新規ゲイン値に設定する。ゲイン調整カ
ーブテーブル部54に格納されるゲインカーブ特性は、
ゲイン値変化の影響が出やすいゲイン値変化初期および
終期に緩やかなカーブを有し、ゲイン調整期間の中間に
は急峻なカーブを有するようにしているため、ゲイン調
整期間を線形で遷移させるよりも短時間でかつショック
音が発生することなくゲインを調整することができる。
As described above, in the present embodiment,
When the gain adjustment curve is stored in the gain adjustment curve table unit 54 of the gain adjustment unit 50 and the gain is changed from the current gain value to the new gain value, the intermediate gain value calculation unit 55 synchronizes the gain curve with the clock. An intermediate gain value is calculated based on the characteristics, set in the intermediate gain value register, and finally set as a new gain value. The gain curve characteristics stored in the gain adjustment curve table unit 54 are
It has a gentle curve at the beginning and end of the gain value change that is easily affected by the gain value change, and has a steep curve in the middle of the gain adjustment period. The gain can be adjusted in a short time without generating a shock noise.

【0039】[0039]

【発明の効果】以上説明したように、この発明によれ
ば、入力音声信号に対して出力音声信号を現在設定され
ているゲイン値から新規ゲイン値に変更する場合、現在
設定されているゲイン値と新規ゲイン値との間に1〜複
数の中間ゲイン値を算出し、順次中間ゲイン値に設定し
ながら、新規ゲイン値までゲイン値を変更するようにし
ているため、ショック音が発生することなくゲインを調
整することができる。
As described above, according to the present invention, when changing the output audio signal with respect to the input audio signal from the currently set gain value to the new gain value, the currently set gain value 1 to a plurality of intermediate gain values are calculated between the new gain value and the new gain value, and the gain value is changed up to the new gain value while sequentially setting the intermediate gain value, so no shock noise is generated. The gain can be adjusted.

【0040】つぎの発明によれば、現在のゲイン値から
新規ゲイン値にゲイン値を変更する場合、ゲイン調整カ
ーブテーブル部に格納されているゲイン調整カーブの値
と、現在設定されているゲイン値と新しく設定されたゲ
イン値の差分とを乗算し、その結果に現在設定されてい
るゲイン値を加算することで中間ゲイン値を算出し、ゲ
イン調整カーブにしたがって現在のゲイン設定値から新
規ゲイン値の値まで順次ゲイン値を変更するようにして
いるため、ショック音が発生することなくゲインを調整
することができる。
According to the next invention, when the gain value is changed from the current gain value to the new gain value, the value of the gain adjustment curve stored in the gain adjustment curve table section and the gain value currently set. Is multiplied by the difference between the newly set gain value and the gain value currently set is added to the result to calculate the intermediate gain value, and the new gain value is calculated from the current gain setting value according to the gain adjustment curve Since the gain value is sequentially changed to the value of, the gain can be adjusted without generating a shock noise.

【0041】つぎの発明によれば、ゲイン調整カーブテ
ーブル部に格納されるゲイン調整データは、ゲイン調整
期間の初期および終期では緩やかなカーブを、ゲイン調
整期間の中間では急峻なカーブを有するようにしている
ため、ゲイン調整期間を線形で遷移させるよりも短時間
でかつショック音が発生することなくゲインを調整する
ことができる。
According to the next invention, the gain adjustment data stored in the gain adjustment curve table portion has a gentle curve at the beginning and end of the gain adjustment period and a steep curve at the middle of the gain adjustment period. Therefore, it is possible to adjust the gain in a shorter time than when the gain adjustment period is changed linearly and without generating a shock noise.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本実施の形態のデジタルアンプの構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a digital amplifier according to the present embodiment.

【図2】 図1に示したゲイン調整部の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of a gain adjusting unit shown in FIG.

【図3】 図2に示したゲイン調整カーブテーブル部に
格納されるゲイン調整カーブのゲインカーブ特性を示す
図である。
FIG. 3 is a diagram showing a gain curve characteristic of a gain adjustment curve stored in a gain adjustment curve table section shown in FIG.

【符号の説明】[Explanation of symbols]

10 シリアルパラレル変換部、20 ゲイン設定部、
30 デルタシグマ変換部、40 PWM出力部、50
ゲイン調整部、51 現在のゲイン値レジスタ、52
比較部、53 アドレス計算部、54 ゲイン調整カ
ーブテーブル部、55 中間ゲイン値計算部、56 中
間ゲイン値レジスタ、60 新規ゲイン値レジスタ部。
10 serial-parallel conversion unit, 20 gain setting unit,
30 delta-sigma conversion unit, 40 PWM output unit, 50
Gain adjuster, 51 current gain value register, 52
Comparing section, 53 address calculating section, 54 gain adjustment curve table section, 55 intermediate gain value calculating section, 56 intermediate gain value register, 60 new gain value register section.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ゲイン調整機能を有するデジタルアンプ
において、 新しく設定するゲイン値を保持する新規ゲイン値レジス
タ部と、 前記新規ゲイン値レジスタ部に保持された新規ゲイン値
と現在設定されているゲイン値との間の1〜複数の中間
ゲイン値を算出するゲイン調整部と、 前記ゲイン調整部で算出された中間ゲイン値に基づいて
入力音声信号のゲインを設定し出力音声信号を出力する
ゲイン設定部と、 を備えることを特徴とするデジタルアンプ。
1. A digital amplifier having a gain adjusting function, a new gain value register section for holding a newly set gain value, a new gain value held in the new gain value register section, and a currently set gain value. Between 1 and a plurality of intermediate gain values, and a gain setting section that sets the gain of the input audio signal based on the intermediate gain value calculated by the gain adjusting section and outputs the output audio signal. A digital amplifier characterized by comprising:
【請求項2】 前記ゲイン調整部は、ゲイン調整カーブ
を格納するゲイン調整カーブテーブル部と、 前記ゲイン調整カーブテーブル部に格納されている値
と、現在設定されているゲイン値と新しく設定されたゲ
イン値の差分とを乗算し、該乗算結果に現在設定されて
いるゲイン値を加算して、前記現在設定されているゲイ
ン値と新しく設定されるゲイン値との中間ゲイン値を算
出する中間ゲイン値計算部と、 を備え、 前記ゲイン調整カーブテーブル部に格納されるゲインカ
ーブ特性にしたがって前記中間ゲイン値を設定すること
を特徴とする請求項1に記載のデジタルアンプ。
2. The gain adjusting section, a gain adjusting curve table section for storing a gain adjusting curve, a value stored in the gain adjusting curve table section, a currently set gain value and a newly set value. Intermediate gain for multiplying the difference between gain values and adding the currently set gain value to the multiplication result to calculate an intermediate gain value between the currently set gain value and the newly set gain value The digital amplifier according to claim 1, further comprising: a value calculator, wherein the intermediate gain value is set according to a gain curve characteristic stored in the gain adjustment curve table unit.
【請求項3】 前記ゲイン調整カーブテーブル部に格納
されるゲイン調整データは、ゲイン調整期間の初期およ
び終期では緩やかなカーブを有し、ゲイン調整期間の中
間では急峻なカーブを有するゲインカーブ特性を有する
ことを特徴とする請求項2に記載のデジタルアンプ。
3. The gain adjustment data stored in the gain adjustment curve table section has gain curve characteristics having a gentle curve at the beginning and end of the gain adjustment period and a steep curve at the middle of the gain adjustment period. The digital amplifier according to claim 2, further comprising:
JP2002145046A 2002-05-20 2002-05-20 Digital amplifier Pending JP2003338718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002145046A JP2003338718A (en) 2002-05-20 2002-05-20 Digital amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002145046A JP2003338718A (en) 2002-05-20 2002-05-20 Digital amplifier

Publications (1)

Publication Number Publication Date
JP2003338718A true JP2003338718A (en) 2003-11-28

Family

ID=29704525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002145046A Pending JP2003338718A (en) 2002-05-20 2002-05-20 Digital amplifier

Country Status (1)

Country Link
JP (1) JP2003338718A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007325057A (en) * 2006-06-02 2007-12-13 Rohm Co Ltd Electronic volume device, electronic volume control method, and electronics using them
JP2008035113A (en) * 2006-07-27 2008-02-14 Rohm Co Ltd Audio signal amplifier circuit, audio apparatus using the same, and volume switching method
JP2009100272A (en) * 2007-10-17 2009-05-07 Kenwood Corp Volume control device, program, and volume control method
JP2012142719A (en) * 2010-12-28 2012-07-26 Onkyo Corp Volume control device
JP2013005389A (en) * 2011-06-21 2013-01-07 Rohm Co Ltd Audio signal processing circuit and audio apparatus using the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007325057A (en) * 2006-06-02 2007-12-13 Rohm Co Ltd Electronic volume device, electronic volume control method, and electronics using them
JP2008035113A (en) * 2006-07-27 2008-02-14 Rohm Co Ltd Audio signal amplifier circuit, audio apparatus using the same, and volume switching method
JP2009100272A (en) * 2007-10-17 2009-05-07 Kenwood Corp Volume control device, program, and volume control method
JP2012142719A (en) * 2010-12-28 2012-07-26 Onkyo Corp Volume control device
JP2013005389A (en) * 2011-06-21 2013-01-07 Rohm Co Ltd Audio signal processing circuit and audio apparatus using the same

Similar Documents

Publication Publication Date Title
TWI465034B (en) Amplifier circuit and method of amplifying a signal in an amplifier circuit
US6628221B2 (en) Signal amplifying method, signal amplifier and devices related therewith
US7953234B2 (en) Audio signal output circuit and electronic apparatus outputting audio signal
CN104969475B (en) Digital-to-analog is converted
JP2004214843A (en) Digital amplifier and gain adjustment method thereof
JP2010504004A (en) Class D audio amplifier
CN102685638B (en) Method and apparatus for outputting audio signal
GB2609564A (en) Pulse-width modulation
JP4326933B2 (en) Digital amplifier
US6556159B1 (en) Variable order modulator
US6853325B2 (en) Pulse width modulation digital amplifier
CN111357196A (en) Digital to Analog Converters and Amplifiers for Headphones
JP2003338718A (en) Digital amplifier
JP2006033796A (en) Amplifying device with alc and electronic apparatus using it
CN103460291B (en) The method of output audio signal and the audio-frequency signal output apparatus of use the method
CN102026061B (en) Apparatus for processing audio and method
JP2007325057A (en) Electronic volume device, electronic volume control method, and electronics using them
US20080253585A1 (en) Apparatus and method for controlling volume
JP2003243952A (en) Digital audio system, auto volume control factor generating method, auto volume control method, auto volume control factor generating program, auto volume control program, recording medium for recording the auto volume control factor generating program, and recording medium for recording the auto volume control program
KR20000035196A (en) Audio amplifier circuit and audio device using the circuit
JP4043430B2 (en) Audio playback apparatus and audio playback method
JP2004343617A (en) Digital amplifier
JP2000223965A (en) Audio amplifier circuit and audio device using the same circuit
JP4728943B2 (en) Audio processing circuit, activation method thereof, and electronic device using the same
JP3857154B2 (en) Pulse code modulation signal regeneration device