JP3505722B2 - Signal level control device - Google Patents

Signal level control device

Info

Publication number
JP3505722B2
JP3505722B2 JP02749992A JP2749992A JP3505722B2 JP 3505722 B2 JP3505722 B2 JP 3505722B2 JP 02749992 A JP02749992 A JP 02749992A JP 2749992 A JP2749992 A JP 2749992A JP 3505722 B2 JP3505722 B2 JP 3505722B2
Authority
JP
Japan
Prior art keywords
level
signal
value
output
circuit
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.)
Expired - Lifetime
Application number
JP02749992A
Other languages
Japanese (ja)
Other versions
JPH05198089A (en
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP02749992A priority Critical patent/JP3505722B2/en
Publication of JPH05198089A publication Critical patent/JPH05198089A/en
Application granted granted Critical
Publication of JP3505722B2 publication Critical patent/JP3505722B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)
  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
  • Control Of Amplification And Gain Control (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、例えばオーディオ信号
のレベルを制御する信号レベル制御装置に関する。 【0002】 【従来の技術】従来より、例えばテープレコーダ等で磁
気テープにオーディオ信号を記録する際には、入力され
たオーディオ信号のレベルをコントロールすることで上
記磁気テープに対する記録信号レベルを最適化する。こ
の場合は、一般に入力信号をAGC(オートゲインコン
トロール)回路を介して記録系に供給するように構成
し、この構成により記録系の磁気ヘッドに対して最適な
録音電流が流れるようなレベルコントロールを行うよう
にしている。 【0003】すなわち、上述したような入力オーディオ
信号に対してAGCを行うAGC回路は、通常、入力オ
ーディオ信号の信号レベルが上述のように最適レベルと
なるように制御するため、例えば、信号レベルが高すぎ
る場合にはレベルを下げるようにし、低すぎる場合には
レベルを上げるようにする。 【0004】 【発明が解決しようとする課題】ところで、上記従来の
AGC回路は、例えば、音楽の曲間等のように入力オー
ディオ信号に無音部分が存在する場合であっても、有音
部分(通常の音楽部分)と同様に最適レベルとなるよう
にレベル調整を行うようになっている。したがって、上
記従来のAGC回路においては、上記無音部分すなわち
非常に信号レベルが低い部分がきた場合には、速やかに
当該信号レベルを上記最適レベルまで上げようとして急
激にレベルを上げる方向に動作する。 【0005】ところが、上述のように例えば音楽の曲間
で急激にレベルを上げてしまうと、次の曲の冒頭がレベ
ルオーバとなってしまう。すなわち、この従来のAGC
回路を例えばテープレコーダに適用すると、当該AGC
回路の後段の記録系で上記次の曲の冒頭がレベルオーバ
となり、歪み等が発生する。 【0006】そこで、本発明は、上述のような実情に鑑
みて提案されたものであり、例えば音楽の曲間のような
無音部分(無信号部分)で急激にレベルが上昇すること
を防止し、この曲間の次の曲の冒頭でのレベルオーバを
防ぐことが可能な信号レベル制御装置を提供することを
目的とするものである。 【0007】 【課題を解決するための手段】本発明の信号レベル制御
装置は、上述の目的を達成するために提案されたもので
あり、入力される信号の信号レベルを調整する信号レベ
ル調整手段と、信号レベル調整手段から出力される出力
信号のレベルを測定するために出力信号に所定の信号処
理を行なうレベル測定用信号処理手段と、レベル測定用
信号処理手段から出力されるレベル測定用信号に基づい
て入力される信号の無音部分を検出する無音検出手段
と、レベル測定用信号処理手段から出力されるレベル測
定用信号に基づいて信号レベル調整手段の信号レベル調
整量を制御するとともに、無音検出手段が入力される信
号の無音部分を検出した場合には信号レベル調整量の制
御を停止または遅延させる信号レベル制御手段とを備え
る。 【0008】言い換えれば、本発明は、例えば入力され
るオーディオの信号の信号レベルを調整する信号レベル
調整手段と、信号レベル調整手段から出力される出力信
号のレベルを測定するために出力信号に所定の信号処理
を行なうレベル測定用信号処理手段と、レベル測定用信
号処理手段から出力されるレベル測定用信号に基づいて
入力される信号の無音部分を検出する無音検出手段と、
レベル測定用信号処理手段から出力されるレベル測定用
信号に基づいて信号レベル調整手段の信号レベル調整量
を制御するとともに、無音検出手段が入力される信号の
無音部分を検出した場合には信号レベル調整量の制御を
停止または遅延させる信号レベル制御手段とを有して、
上記入力オーディオ信号の信号レベルを自動的に調整す
るオートゲインコントロール回路において、無音検出手
段で無音部分を検出したときには、信号レベル制御手段
の例えばループゲインや時定数等を切り換えてAGCの
動作の応答速度を遅くしたり或いはホールドするもので
ある。 【0009】また、本発明においては、信号レベル制御
手段は、無信号検出手段からの無信号検出信号を受けた
ならば、信号レベル調整手段から基準レベルの入力があ
った場合と同じように信号レベル調整手段を制御するも
のとすることも可能である。この場合、レベルコントロ
ール回路は本来の時定数(すなわちループゲインで短縮
されていない時定数)でレベル調整を行うことになるの
で、無音部分であっても急激にレベルを上昇させてしま
うようなことはない。 【0010】 【作用】本発明の信号レベル制御装置によれば、供給さ
れる信号の無信号部分を無音検出手段が検出したなら
ば、信号レベル制御手段が信号レベル調整手段での信号
レベル調整の速度を遅く若しくは停止させるようにして
いるため、無信号部分であっても急激にレベルが上昇す
ることはない。 【0011】 【実施例】以下、本発明の実施例を図面を参照しながら
説明する。 【0012】本発明の実施例のレベルコントロール回路
は、図1に示すように、入力端子91を介して供給され
る入力オーディオ信号の信号レベルを調整する可変利得
手段として、アナログ信号の信号レベルを調整するアナ
ログアッテネータ1と、当該アナログアッテネータ1の
アナログ出力をアナログ/ディジタル(A/D)変換す
るA/Dコンバータ2の出力に対してディジタル的に信
号レベルを調整するディジタルアッテネータであるディ
ジタル乗算器3とを有している。 【0013】また、本実施例のレベルコントロール回路
は、上記可変利得手段の出力レベルに基づいて上記信号
レベル調整のための制御値を計算する制御値設定手段と
して、リミッタユニット11,ノーマルユニット12,
基本ユニット13からなるフィードバックユニットを有
し、更に、供給された信号の無信号部分を検出する無音
検出回路10を有してなるものである。 【0014】この本実施例のレベルコントロール回路に
おいて、上記フィードバックユニットは、上記無音検出
回路10からの無信号検出信号(無音フラグ)を受け
て、上記可変利得手段での信号レベル調整の速度を遅く
若しくは停止(ホールド)させるようにしている。 【0015】 すなわち、本実施例のレベルコントロー
ル回路において、上記無音検出回路10は、例えば図2
のAに示すように入力オーディオ信号の信号レベルと所
定の無音検出レベル(例えば−40dB)とを比較し
て、この比較により例えば音楽の曲間のように上記入力
オーディオ信号レベルが上記無音検出レベル以下(或い
は無音検出レベルより低くなった場合)となったことを
検出したならば、当該無音検出回路10から図2のBに
示すような無音フラグ(無音検出フラグ)を出力する。
なお、この無音検出回路10では、無音検出を正確にす
るために、例えば上記平均入力オーディオ信号レベルが
ある基準レベル(例えば0dB)以下でかつ上記無音検
出レベル以下になった場合のみ上記無音フラグを出力す
るものとすることも可能である。 【0016】この無音検出回路10からの無音フラグ
は、上記制御値設定手段のフィードバックユニットに送
られる。当該フィードバックユニットにおいては、上記
無音フラグを受けると、上記音楽の曲間のように入力オ
ーディオ信号の信号レベルが非常に低いものであって
も、AGCのループゲインを急激に上げることはせず
に、図2のCに示すようにAGC動作を遅くしたり、或
いはホールドするとこで、上記可変利得手段における急
激なレベル上昇を防ぐようにしている。 【0017】また、本実施例においては、上記フィード
バックユニットは、上記無音検出回路10からの無音フ
ラグを受けたならば、上記可変利得手段から基準レベル
の入力があった場合と同じように当該可変利得手段を制
御するものとすることも可能である。この場合、本実施
例のレベルコントロール回路は本来の時定数(すなわち
ループゲインで短縮されていない時定数)でレベル調整
を行うことになるので、無音部分であっても急激にレベ
ルを上昇させてしまうようなことはない。 【0018】なお、図2のDには、比較のため本実施例
のように無音検出に応じてAGCの動作を遅くしたり或
いはホールドしたりしない従来例の場合の可変利得手段
による急激なレベル上昇の様子を示している。 【0019】以下、本実施例の図1の構成について詳細
に説明する。なお、本実施例の図1の構成は、AGCと
マニュアルのゲインコントロールとを切り換え可能とし
たものであり、先ず、AGCのための構成から説明す
る。 【0020】また、この図1に示す本実施例の構成は、
例えばディジタルテープレコーダに用いられるゲインコ
ントロール回路に適用したものである。なお、この図1
において、AGCのモードとマニュアルゲインコントロ
ールのモードの切り換えは、マニュアル/AGCのモー
ドに応じて切り換えられるスイッチ41,42の被切換
端子をAGCモード側の被切換端子側或いはマニュアル
ゲインコントロールモード側の被選択端子側に切り換え
ることで実現される。 【0021】この図1において、例えばマイクロホン入
力やライン入力のアナログオーディオ信号が上記入力端
子91に供給され、上記アナログアッテネータ1に送ら
れる。当該アナログアッテネータ1は、上記端子91か
らのアナログのオーディオ信号を任意に例えば減衰(マ
クロゲイン制御)して、次段のA/Dコンバータ2へ送
る。上記アナログアッテネータ1は、2dBステップで
アッテネート値が設定されるようになっている。なお、
このアッテネータは本来の目的の他に、入力動作範囲を
広くすることも目的としている。 【0022】上記A/Dコンバータ2は、上記アナログ
アッテネータ1によりプリアッテネートされたアナログ
オーディオ信号を、ディジタル信号に変換する。当該デ
ィジタル信号は、次のディジタル乗算器3に送られる。 【0023】当該ディジタル乗算器3は、アナログアッ
テネータ1で調整しきれなかった細かいゲインを調整す
る。すなわち、当該ディジタル乗算器3は、上記A/D
コンバータ2でディジタル変換されたオーディオ信号に
1以下の係数を乗算して数値を小さくする(アッテネー
ト)ものであり、上記アナログアッテネータ1の2dB
ステップの間を補間して細かなレベル調整を行うために
使用されるものである。上記ディジタル乗算器3は約
0.25dBステップの分解能に設定されている。ま
た、例えば、後述するマニュアルゲインコントロールモ
ードにおいて、フェードアウト等のように大きく減衰さ
せる場合には、当該ディジタル乗算器3でも減衰させる
ことによって、A/Dコンバータ2のノイズも含めて減
衰させることができる。 【0024】上記ディジタル乗算器3の次段のDSP
(ディジタル・シグナル・プロセッサ)4は、前段の構
成で変換されたディジタル信号を更に加工して例えば磁
気テープ等の記録媒体に記録する信号を形成する。この
DSP4の出力は出力端子92から出力されて、図示を
省略する後段の記録系の構成により磁気テープ等に記録
される。 【0025】なお、オーディオ信号は、上記アッテネー
タからDSP4の経路だけを通る。図1における他の構
成要素は、全てアッテネータの制御値を形成するための
構成(後述するピーク検出回路5の入力側以外)で、当
該他の構成要素は例えば1/50秒に1回の処理を行
う。また、本実施例では、オーディオ信号系がハードウ
ェアで構成され、それ以外は全てソフトウェアで構成さ
れているが、各部分はソフトウェア,ハードウェアの何
方でも構成可能である。 【0026】ここで、AGCを行うため、上記アッテネ
ータでゲイン調整されたオーディオ信号をピーク検出回
路5、対数圧縮回路6、モノラル化回路7に通してこれ
を測定レベルとする。すなわち、先ず上記ディジタル乗
算器3の出力は、ピーク検出回路5に送られる。 【0027】上記ピーク検出回路5は、前段の構成で変
換されたディジタルデータを一定時間(例えば20ms
ec)毎に区切って、その区間の最大音量を検出し、こ
れをAGCを行うための今回のディジタルオーディオレ
ベルの代表とする。当該ピーク検出回路5の出力は対数
圧縮回路6に送られる。 【0028】上記対数圧縮回路6は、上記ピーク検出回
路5で検出した値(ピーク値)を、人間の聴覚特性に合
わせて対数変換するものである。本実施例においては、
いわゆる折線近似のフローティングフォーマット(指数
部は対数なのでこれに仮数部を連結したもので、MSB
は非伝送)で近似している。ここで、上記対数圧縮回路
6においては、上記折線近似用のフローティングフォー
マットをそのまま使用している。したがって、指数部が
ゼロになると、それ以下のビットはリニアなので実際の
対数とは大きく違ってしまう。そこで、指数部がゼロの
場合は、指数部がマイナス方向に折線近似のような圧縮
をして、誤差が異常に大きくならないようにしている。
なお、折線近似では、指数部に相当する部分はマイナス
にならないが、真の指数表現ではマイナスの値になる。
この対数圧縮回路6の出力はモノラル化回路7に送られ
る。また、この対数圧縮回路6の出力は、レベルメータ
用にも使用される。 【0029】上記モノラル化回路7は、上記対数圧縮回
路6から供給されたステレオのLチャンネル,Rチャン
ネルの値のうちの大きい方の値を出力する。すなわち、
AGCでは、L,Rの左右のチャンネルのゲインを別々
に制御すると定位が崩れるので、測定,制御共に左右共
通とするために当該処理を行う。したがって、測定値
は、モノラル(大音量重視なので左右大きい方)とな
る。当該モノラル化回路7の出力は逆バックラッシュ回
路8に送られる。 【0030】当該逆バックラッシュ回路8は、AGCの
ための後述するフィードバックループ系に挿入したバッ
クラッシュ要素(バックラッシュ回路14)によって、
系が不必要な振動をしないように、あたかも線形である
ように見せかけるバックラッシュの補正を行うものであ
る。すなわち、前回アッテネータを設定したとき(或い
は前前回の場合もある)には、後述するバックラッシュ
回路14でのバックラッシュ分だけ差を含んで設定して
ある。したがって、その分測定されたピークレベルは大
きな又は小さな値となっているので上記バックラッシュ
量を加算してバックラッシュ処理をしない場合のピーク
レベルを計算する。このことにより、フィードバックル
ープ内に不感帯要素が無いように見え、不感帯部分を行
ったり来たりする不必要な振動を抑えることができる。
この逆バックラッシュ回路8の出力は、フィードバック
ループ系の上記フィードバックユニットのリミッタユニ
ット11,ノーマルユニット12,基本ユニット13に
送られる。 【0031】 また、上記モノラル化回路7の出力は、
無音検出回路10にも送られる。当該無音検出回路10
は、前述したように入力が無音であるかどうかを検出す
る回路であって、無音を検出した時には前記無音フラグ
を変化させる。当該無音フラグは、上記各フィードバッ
クユニット11,12,13で使用される。例えば、現
在のアッテネータの値とピーク検出回路5の値から、現
在入力されている信号の絶対レベルを計算{絶対レベル
=ピークレベル(対数)+アッテネーション(対数)}
して、これが例えば一定値以下(無音検出レベル以下)
ならば、各フィードバックユニット11,12,13の
内部にある後述するLPFの入力をゼロにする。これに
より、例えば音楽の曲間でAGCのボリュームを不必要
に上げてしまうことを防止する。 【0032】上記無音検出回路10の出力も上記各フィ
ードバックユニット11,12,13に送られるように
なっている。 【0033】次に、上記リミッタユニット11,ノーマ
ルユニット12,基本ユニット13の各フィードバック
ユニットでの計算を行い、これらリミッタ,ノーマル,
基本の各ユニットの出力を加算したものをAGCにおけ
るアッテネータの制御値として出力する。なお、このフ
ィードバックユニットの詳細な構成については後述す
る。 【0034】ここで、上記リミッタユニット11は、突
然の大入力に対応して、最も速く(例えば0.1秒以
下)反応するフィードバックユニットである。 【0035】上記ノーマルユニット12は、音楽等の通
常の音量の変化に対応して、中程度の速度(例えば1秒
〜10秒程度)で反応するフィードバックユニットであ
る。また、ライン入力時と、マイク入力時とでその特性
が切り換わるものである。また、上記ライン入力と上記
マイク入力に応じて切り換わる特性とは、後述するよう
に、上下の動作レベル、上下のフィードバックループゲ
イン、アタック時定数、リカバリ時定数等である。 【0036】上記基本ユニット13は、音源等の違いに
よる音量の差に対応して、最も低速度(例えば10秒〜
100秒程度)で反応するフィードバックユニットであ
る。また、このユニットにおいても、ライン入力時とマ
イク入力時とでその特性が切り換わる。 【0037】なお、この図1においては、上記ライン入
力に対応するブロックを図中Lで示し、マイク入力に対
応するブロックを図中Mで示している。 【0038】上記各フィードバックユニット11,1
2,13の出力は、加算器44で加算された後、バック
ラッシュ回路14に送られる。当該バックラッシュ回路
14は、各フィードバックユニット11,12,13で
計算された出力に不感帯を付け、入力の細かな変動に対
して後段のアッテネータが動作して不自然な音にならな
いようにするものである。なお、このバックラッシュ回
路14における動作の詳細については後述する。 【0039】上記バックラッシュ回路14及び逆バック
ラッシュ回路8の間に設けられる遅延器15は、オーデ
ィオ信号レベルが下降時にはピーク検出される時刻に1
サンプル時間遅れが生ずるので、当該レベル下降時のみ
1サンプル時間遅延を行うためのものである。すなわ
ち、上記ピーク検出回路5で検出されるピークレベル
は、オーディオ信号が増加中の時で一回前、減少中の時
で二回前のアッテネータ値での値を観測している。この
ため、逆バックラッシュ回路8で補正するバックラッシ
ュ値もオーディオ信号の増加時は一回前のバックラッシ
ュ値を、減少時は二回前のバックラッシュ値を使用しな
ければならない。遅延器15を介することでこの処理が
実行される。なお、この遅延器15によるバックラッシ
ュ遅延の詳細については後述する。 【0040】上記レベル下降を検出するのがレベル上昇
/下降判定回路9である。当該レベル上昇/下降判定回
路9は、遅延器15での遅延を切り換えるために、オー
ディオ信号レベルを測定して次回の逆バックラッシュの
ために上昇/下降に応じたフラグを立てるものである。 【0041】また、上記バックラッシュ回路14の出力
は、AGC側の被切換端子が選ばれたスイッチ41を介
してオフセット加算回路16に送られる。当該オフセッ
ト加算回路16には、ある基準入力に対して上記フィー
ドバックユニットの計算値がゼロになる場合のために減
衰量を予め任意に決定してあり、上記バックラッシュ回
路14を介したフィードバックユニットからの計算値に
対してこの予め決定してある減衰量を加算するものであ
る。言い換えると、オフセット加算とは、基準入力値を
入力した時のアッテネータ値(制御値)であり、設計時
に決定する値であって基準より上げられるゲインであ
る。なお、本実施例では上記オフセット加算により上げ
られるゲインを例えば10dBとしている。当該オフセ
ット加算回路16の出力はアッテネータ動作範囲制限回
路17に送られる。 【0042】上記アッテネータ動作範囲制限回路17
は、アッテネータのボリュームの動作範囲内に上記制御
値を制限するものである。すなわち、アッテネータ動作
範囲制限回路17では、ループゲイン等の設定によって
はアッテネータの動作範囲を越える制御値が計算される
のでこれを制限する。 【0043】上記アッテネータ動作制限回路17の後段
の四捨五入回路18は、各フィードバックユニットで計
算された値の桁数と、アッテネータの分解能とが合わな
い場合に、この合わない部分を切り捨てる丸めを行うも
のである。具体的に言うと、当該四捨五入回路18で
は、後段のアッテネータの制御値の量子化による誤差を
2分の1にする。また、この値は上記無音検出回路10
に送られここで無音検出にも使用される。当該四捨五入
回路18の出力が前記ディジタル/アナログ分配回路1
9に送られる。 【0044】当該ディジタル/アナログ分配回路19
は、上記アナログアッテネータ1とディジタル乗算器
(ディジタルアッテネータ)3との連係を取るためのア
ッテネート量の分配を行うものである。すなわち、当該
ディジタル/アナログ分配19では、上記四捨五入回路
18の出力をアナログの分解能で切り捨てたものをアナ
ログアッテネータ1の制御値とし、また、それ以下をデ
ィジタル乗算器(ディジタルアッテネータ)3への制御
値として分配する。具体的に言うと、本実施例では、ア
ナログアッテネータ1の分解能は2dBで、ディジタル
乗算器3の分解能を0.25dBとしているので、上記
アナログアッテネータ1に対しては2dBステップとな
る制御値を、ディジタル乗算器3に対しては上記2dB
ステップの中を0.25dBステップで埋めるような制
御値を分配する。なお、図示は省略するが、ディジタル
側では、上記A/Dコンバータ2による時間遅れがある
ので、変化時刻がアナログアッテネータ1と一致するよ
うに適当なディレイを入れている。 【0045】上記ディジタル/アナログ分配回路19と
ディジタル乗算器3との間には、逆対数変換回路20が
挿入接続されている。当該逆対数変換回路20は、対数
圧縮された制御値をリニアな数値に直し、ディジタル乗
算器3でアッテネータの動作がなされるようにするため
の変換器である。すなわち、当該逆対数変換回路20
は、上記ディジタル/アナログ分配回路19から出力さ
れたディジタルアッテネータ(ディジタル乗算器3)の
制御値が対数で表現されているので、これを上記ディジ
タル乗算器3でアッテネートを行うためにリニアな比の
量に変換している。 【0046】また、本実施例においては、上記フィード
バックユニットからの制御値がバックアップRAM24
に常時保持されるようになっている。当該バックアップ
RAM24は、次回のAGC動作の初期値として、電源
OFF後も値を保持するためのメモリである。すなわち
例えば、セットの電源がONになった時には、上記バッ
クアップRAM24から上記手動調整レジスタ22にデ
ータが転送される。このバックアップRAM24は、ラ
イン入力時とマイク入力時でその記憶場所が切り換わる
(図1のブロックL及びM)。 【0047】 更に、このバックアップRAM24に記
憶される制御値には、上記リミッタユニット11の出力
を減算されるようになっている。すなわち、リミッタユ
ニット11は、瞬時の大入力に対応しており平均的なレ
ベルを表現していないため、次回AGCの初期値には、
現在の制御量から上記リミッタユニット11からの制御
値を引いた値を使用するようにする。具体的に言うと上
記バックアップRAM24には、減算器45によりアッ
テネータの制御値の元の値からリミッタユニット11の
制御値の分を引いた値を、更に四捨五入回路21でバッ
クアップRAM24のメモリのビット幅(実施例では8
ビット)に切り捨てて丸められたデータが記憶されるよ
うになっている。なお、リミッタユニット11は通常動
作していないと考えると、現在の制御値はバックラッシ
ュの付いた値(バックラッシュ回路14の出力)とする
方がより現状を現している。 【0048】上記バックアップRAM24の出力は、バ
ックアップ制限回路23に送られるようになっている。
当該バックアップ制限回路23は、電源ON時の1回の
みバックアップRAM24から後段の手動調整レジスタ
22に転送される値に上下別々に範囲の制限を施すもの
である。また、このバックアップ制限回路23における
制限値は、ラインとマイクとでは別の値を設定できるよ
うになっている(図1のブロックL及びM)。したがっ
て、上記バックアップ制限回路23によってマイク入力
とライン入力で各々別々に範囲制限がなされることにな
る。更に、現在のマイク/ラインの入力モードにかかわ
らず、マイク入力とライン入力とも両方同時に転送され
る。 【0049】ここで、本実施例の構成は、マニュアルゲ
インコントロールも可能となっている。すなわち、この
マニュアルゲインコントロールの場合、上記アナログア
ッテネータ1は、端子43を介して供給される図示を省
略する録音ボリュームからの操作量に応じて手動調整レ
ジスタ22から出力される手動制御値に基づいて、上記
アナログオーディオ信号を例えば減衰する。 【0050】すなわち、上記録音ボリュームからの操作
量は、例えば、ダイヤルの回転角データや、リモコンの
ボリューム増減ボタンから出力される操作データであ
り、この操作データが上記手動調整レジスタ22に送ら
れる。上記手動調整レジスタ22には、予め上記可変利
得手段でレベル調整を行うための制御値が保持されてお
り、この保持された制御値の中から上記録音ボリューム
の操作量に応じてアップ/ダウンされる制御値が取り出
されるようになっている。また、本実施例では、前述し
たように、上記アナログアッテネータ1とディジタル乗
算器3とを合わせてアッテネータが構成されており、し
たがって、これらアッテネータが上記録音ボリュームで
の操作量に対応した上記手動調整レジスタ22からの手
動制御値によって制御されることで、マニュアルゲイン
コントロールが実現されるようになっている。なお、当
該アッテネータは本来の目的の他に入力動作範囲を広く
することも目的としている。 【0051】また、上記手動調整レジスタ22から出力
される手動制御値は、上記アッテネータに供給された場
合に当該アッテネータで調整される音のレベルが例えば
2dBステップで変化する(すなわち飛び飛びに変化す
る)ような値である。この手動調整レジスタ22からの
手動制御値は、ローパスフィルタ26に送られる。 【0052】ここで、上記ローパスフィルタ26は例え
ば1秒程度の時定数を持っており、上記手動調整レジス
タ22からの飛び飛びに変化する手動制御値を滑らかな
動きに変換している。例えば、上記手動調整レジスタ2
2からの手動制御値に基づいて上記アッテネータでのレ
ベル調整が例えば上記2dBステップでアップするもの
である場合は、上記ローパスフィルタ26の出力を上記
音量レベルの変化に対応付けて示すと、図3のAに示す
ように滑らかに変化するものとなる。 【0053】このローパスフィルタ26の出力は、ディ
ジタル/アナログ分配回路19によって分配される。当
該ディジタル/アナログ分配回路19は、上記手動調整
レジスタ22から例えば10ビットの制御値が供給され
たとすると、その中の例えば上位3ビットを上記アナロ
グアッテネータ1側に分配し、例えば下位7ビットを上
記ディジタル乗算器3に対して分配する。これにより、
上記アナログアッテネータ1においては8通りのレベル
で信号の粗調整が行われ、上記ディジタル乗算器3にお
いては上記A/Dコンバータ2の出力レベルデータを例
えば1/27 のレベル差で微調整する。 【0054】当該ディジタル/アナログ分配回路19で
分配された制御値を上記アッテネータで調整される音量
レベルの変化に対応付けて表1に示す。 【0055】 【表1】 【0056】この表1によれば、上記アナログアッテネ
ータ1で調整される音量レベルは2dBステップとな
り、上記ディジタル乗算器3で調整される音量レベルは
0.25dBステップとなる。すなわち、上記ディジタ
ル/アナログ分配回路19から上記アナログアッテネー
タ1に送られる制御値は上記音量レベルの変化に対応付
けると図3のBに示すように2dBステップで当該音量
レベルを変化させる値であり、また、上記ディジタル/
アナログ分配回路19から上記ディジタル乗算器3に送
られる制御値は上記音量レベルの変化に対応付けると図
3のCに示すように0.25dBステップで当該音量レ
ベルを変化させる値である。 【0057】これにより、本実施例においては、マニュ
アルのレベルコントロールを行う場合に、レベルが急激
に変化したり、レベルが不連続に変化しないレベルコン
トロールが実現できる。 【0058】また、本実施例回路では、上記手動調整レ
ジスタ22から出力される制御値と上記アナログアッテ
ネータ1の分解能とを合わせることにより、上記A/D
コンバータ3のダイナミックレンジを損なわないように
している。すなわち、上記手動調整レジスタ22に保持
されている制御値を、上述のように、上記アナログアッ
テネータ1のみが動作する値に限定することで、当該A
/Dコンバータ2のダイナミックレンジを損なわないよ
うにしている。 【0059】上述したように、本実施例によれば、手動
操作を行う際には、ローパスフィルタ26によって手動
調整レジスタ22からの制御値を平滑化することによ
り、ボリューム可変ノイズの除去をすることができる。
また、本実施例では録音ボリュームの操作量に応じた手
動調整レジスタ22の制御量をA/Dコンバータ2のダ
イナミックレンジと合わせているため、ダイナミックレ
ンジの損がない。 【0060】更に、本実施例の上記手動調整レジスタ2
2は、前述したように、マニュアルで録音レベルを調整
する時のボリューム値(録音ボリュームの操作量)に応
じた手動制御値を出力すると共に、例えば、AGCとマ
ニュアルのゲインコントロールモードを行き来した時に
ゲインの不連続が起きないように、AGC動作の時はス
イッチ42を介して上記四捨五入21で計算された現在
の調整量(ボリューム値)を常に入れるようになされて
いる。なお、本実施例の手動調整レジスタ22は、ライ
ン入力とマイク入力に対応して独立した手動制御値を保
持している。 【0061】すなわち、上記図1の構成のようにマニュ
アルとAGCのモードを切り換えることが可能な構成に
おいては、例えば、AGCからマニュアル動作に切り換
えたり、逆にマニュアルからAGC動作に切り換えたり
した場合に、上記フィードバックユニットの出力(リミ
ッタ,ノーマル,基本の各ユニットの出力の合計)をそ
のままマニュアルの初期値としたり、或いはAGCに移
行する時に、手動制御値をそのまま基本ユニット13の
初期値にすることが考えられる。この場合、上記AGC
を行う構成では、不必要にゲインを動かすのを防止する
ために上記バックラッシュ要素をループ内に入れている
が、上述のようにフィードバックユニットの出力(リミ
ッタ,ノーマル,基本の各ユニットの出力の合計)をマ
ニュアルの初期値とすると、上記バックラッシュ分の誤
差がゲインジャンプとなってしまう虞れがある。また、
リミッタユニットが動作中にAGCからマニュアルへ移
行すると、瞬時値をサンプリングしてしまい、真の値と
はかけ離れたゲインになってしまう虞れがある。更に、
例えば、マニュアル操作でフェードアウトした直後にA
GC動作に移行すると、AGCの初期ゲインがゼロにな
ってしまい、適性レンジになるまで長い時間がかかって
しまう虞れがある。その他、マニュアル動作の時でも突
然の大入力に対応するため、リミッタユニットだけ動作
させておくこともあるが、この時新たにバックラッシュ
によってゲインジャンプが生ずる虞れがある。 【0062】このようなことから、本実施例の図1の構
成においては、例えば、AGCからマニュアルにする場
合には、AGC動作中に、バックラッシュ処理をした値
から減算器45でリミッタユニット11の出力値を差引
き、これを手動調整レジスタ22に入れるようにしてい
る。具体的に言うと、本実施例において、マニュアルか
ら録音がスタートした時及びゲインコントロールのモー
ドがAGCからマニュアルに移行した時には、上記手動
調整レジスタ22の値を上記ローパスフィルタ26のレ
ジスタにロードする。また、本実施例において上記手動
調整レジスタ22は1バイトなので、上記ローパスフィ
ルタ26のレジスタの同じ単位のところへロードし、他
のバイトはクリアする。これにより、ローパスフィルタ
26は収束済となるので、マニュアルの初期にローパス
フィルタ26によってゲインが変化することがなくな
る。その後、前述したマニュアルゲインコントロールの
動作が実行可能となる。 【0063】ここで、バックラッシュ処理後の値を使用
するのは、これが現在のアッテネータの値であるので、
マニュアル移行時も変化がないからである。また、上記
減算器45でリミッタユニット11の出力を差し引くの
は、上述したように、リミッタユニット11が突然の大
入力に対応した時に、これをサンプリングしたのでは平
均的な制御値を表現していないためであり、上記ノーマ
ルと基本の各ユニットの出力和が長期の平均値を表現し
ているからである。また、手動調整レジスタ22は、一
般に調整のステップ単位の分解能しか無いので、制御値
を切り捨てるよりも分解能の桁で四捨五入すれば量子化
による誤差を半分にできるため、本実施例ではこのこと
をも考慮して上記四捨五入回路21を挿入している。 【0064】さらに、マニュアルからAGCにする場合
において、例えば、マニュアル操作量で明らかにフェー
ドアウト等の一般的でない値が手動調整レジスタ22に
入っている場合には、これに範囲制限回路25で範囲制
限を付けて、AGCフィードバックユニットの基本ユニ
ット13に初期化することで(リミッタとノーマルはゼ
ロクリアする)、AGC初期の非常識な設定を避けるこ
とができるようにしている。すなわち、上記範囲制限回
路25は、例えば、RECのスタート時やマニュアルか
らAGC動作にゲインコントロールのモードが変わった
時に、AGC動作の初期値をバックアップ値や、マニュ
アル設定値(共に手動調整レジスタ22にある値)とす
るが、本実施例では、例えば手動制御値が非常識な値の
場合(例えば前回フェードアウトで終わった場合等)
に、これを制限することで録音初期のAGC誤差の不具
合を緩和させるようにしている。また、この場合バック
ラッシュはゼロとする。具体的に言うと、ゲインコント
ロールのモードがマニュアルからAGCモードに移行し
た時には、手動調整レジスタ22の値を範囲制限回路2
5により範囲制限してフィードバックループ系の基本ユ
ニット13のLPFのレジスタ(図4のローパスフィル
タのレジスタ114)に初期セットする。上記範囲制限
回路25での範囲制限は、音源の性質によって、前回の
AGCの初期値にどれだけの範囲影響を与えるかを決め
るものである。この場合も、手動調整レジスタ22は、
1バイトなので、LPFの同じ単位のところへロード
し、他のバイトはクリアする。 【0065】また、図1の本実施例の構成において、上
記リミッタ,ノーマル,基本の各フィードバックユニッ
ト11,12,13は、上記マニュアルからAGCへの
遷移時と共に、例えばRECスタート時(REC PA
USE,REC PLAYPAUSEを含む)のような
操作モード切り換え時にも初期化されるようになってい
る。この場合、リミッタユニット11とノーマルユニッ
ト12はゼロに初期化され、基本ユニット13は手動調
整レジスタ22の値に範囲制限をかけて初期化される。 【0066】すなわち、上述の図1の構成は、例えば、
RECスタート時(例えば、RECPAUSE,REC
PLAY PAUSE等)等の各種操作を行うモード
設定スイッチ32と、上記モード設定スイッチ32での
各種操作に対応した操作モードを認識するモード認識手
段としてのコントローラ31とを有し、上記コントロー
ラ31で上記操作モードを認識することに対応して上記
操作モードが切り換わる直前に上記フィードバックユニ
ットで設定された制御値を上記バックアップRAM24
に記憶させ、上記操作モードが切り換わった時には、上
記バックアップRAM24に記憶された制御値を初期値
として上記フィードバックユニットに供給し、当該制御
値計算ユニット71に初期値として供給された上記制御
値を上記アッテネータ83での信号レベル調整のための
制御値として用いるようにしている。 【0067】次に、上記フィードバックループユニット
の具体的構成について図4を用いて説明する。上記リミ
ッタ,ノーマル,基本の各ユニット11,12,13
は、実際には1つの構成からなり、内部のパラメータを
各ユニット毎及びマイク/ラインの入力モード毎に変え
ることで5つの動作を実行するものである。この図4に
おいて、図中Lで示すブロックはライン入力に対応する
パラメータを保持しているブロックであり、図中Mで示
すブロックはマイク入力に対応するパラメータを保持し
ているブロックであり、図中M,Lはマイク,ライン入
力で同じパラメータを保持しているブロックである。こ
れらパラメータ保持ブロックが上記基本,ノーマル,リ
ミッタの各ユニット動作に応じて設けられる(リミッタ
のみマイク,ライン入力で同じパラメータを有する)。 【0068】すなわち、この図4において、端子121
には上記逆バックラッシュ回路8の出力が供給される。
当該入力信号は、減算器116と120に供給される。
当該減算器116には上動作点(上動作レベル)の各パ
ラメータを保持する保持部115からの各パラメータが
供給されるようになっており、上記減算器120には下
動作点(下動作レベル)の各パラメータを保持する保持
部122からの各パラメータが供給されるようになって
いる。 【0069】当該減算器116の出力は、コンパレータ
117に送られ、上記減算器120の出力はコンパレー
タ123に送られる。上記コンパレータ123は供給さ
れた信号(差分)が負の場合(すなわち上記端子121
に供給された入力信号が上記下動作点より小さい場合)
にスイッチ119の上記減算器120の出力が供給され
る被切換端子bを選び、逆に供給された信号(差分)が
正の場合(すなわち上記端子121に供給された入力信
号が上記下動作点以上の場合)にスイッチ119の被切
換端子a(ゼロ入力)を選ぶ切換制御信号を出力する。
上記コンパレータ117は供給された信号(差分)が正
の場合(すなわち上記端子121に供給された入力信号
が上記上動作点より大きい場合)にスイッチ118の上
記減算器116の出力が供給される被切換端子aを選
び、逆に供給された信号(差分)が負の場合(すなわち
上記端子121に供給された入力信号が上記上動作点以
下の場合)にスイッチ118の上記スイッチ119の出
力が供給される被切換端子bを選ぶ切換制御信号を出力
する。 【0070】言い換えれば、上記スイッチ118からの
出力は、上記端子121からの入力が上記上動作点より
大きい場合と下動作点より小さい場合とその中間の場合
とによって分けられ、中間の場合ならばゼロが、上動作
点より大きい場合ならば当該上動作点との差分が、下動
作点より小さい場合ならば当該下動作点との差分が次段
の構成に送られる。すなわち、これらの構成により、中
間レベルでは、フィードバックせず、AGCが動作しな
い不感帯となっている。また、下動作点を最小値にセッ
トすることにより、リミッタのように大入力のみに反応
するユニットを作ることができる。更に、上動作点と下
動作点を同じにすることによって、不感帯を無くし、基
本ユニットの特性を作ることができる。 【0071】上記スイッチ118の出力端子は、スイッ
チ105の被切換端子bと接続されている。当該スイッ
チ105の被切換端子aはゼロ入力となっている。当該
スイッチ105は、端子101を介して前記無音検出回
路10から供給される無音フラグに応じて切り換えられ
るものであり、上記無音フラグが供給された時(無音検
出時)に上記被切換端子a側のゼロ入力を出力し、無音
フラグが無い場合には上記被切換端子b側に切り換えら
れるものである。 【0072】上記スイッチ105の出力は乗算器106
に送られる。当該乗算器106には、上ゲインと下ゲイ
ンの各パラメータ保持部102,103からのパラメー
タが、上記コンパレータ117の切換制御信号に応じて
切り換えられるスイッチ104を介して供給されるよう
になっている。当該スイッチ104は、上記コンパレー
タ117からの切換制御信号が正の場合に被切換端子a
が選ばれ、逆に負の場合に被切換端子bが選ばれる。 【0073】すなわち、上記乗算器106では、上記端
子121の入力が上記上動作点より大きい場合ならば上
ゲインを、上記端子121の入力が上記下動作点以下な
らば下ゲインを乗算する処理が行われる。この上ゲイ
ン,下ゲインは、フィードバックループゲインとなる。
当該ゲインを上げるとレベルは圧縮され、基準レベルに
近くなる。また、ゲインを下げると圧縮力は弱まり、基
準レベルに近づこうとする力も弱くなる。 【0074】上記乗算器106の出力は減算器111を
介して乗算器112に送られると共に、コンパレータ1
07にも送られる。上記コンパレータ107は、上記乗
算器106の出力がゼロ以上の時にスイッチ110の被
切換端子a側を選ぶ切換制御信号を出力し、上記乗算器
106の出力がゼロより小さい時に上記スイッチ110
の被切換端子b側を選ぶ切換制御信号を出力するもので
ある。当該スイッチ110の被切換端子aにはアタック
時定数の各パラメータを保持するパラメータ保持部10
8からの各パラメータが供給され、被切換端子bにはリ
カバリ時定数の各パラメータを保持するパラメータ保持
部109からの各パラメータが供給されるようになって
いる。このスイッチ110の出力が上記乗算器112に
送られる。 【0075】上記乗算器112及び減算器111は、後
段の加算器113,レジスタ114と共にIIR型のロ
ーパスフィルタを構成している。すなわち、上記乗算器
112の出力は上記加算器113を介してレジスタ11
4に送られると共に、当該レジスタ114の出力が上記
加算器113,減算器111にフィードバックされるよ
うになっていて、上記乗算器112に上記パラメータ保
持部108,109からのパラメータ(乗算係数)が供
給されることで、IIR型ローパスフィルタが構成され
ている。具体的には、当該ローパスフィルタを通すこと
で、系の発振を防止すると共に、AGCの動きを遅くし
て、各フィードバックユニットの特徴を形成している。
なお、このローパスフィルタは、時定数がアタックとリ
カバリとで別々に設定できるので、積分特性も調整でき
る。 【0076】また、当該IIR型ローパスフィルタの上
記レジスタ114の出力が端子124からフィードバッ
クループユニットの出力として取り出される。なお、上
記レジスタ114は端子125を介して供給されるイニ
シャル値でロードされる。 【0077】図5には、上記バックラッシュ回路14に
おけるバックラッシュのフローチャートを示す。 【0078】ここで、上記アナログアッテネータ1への
制御値と、上記対数圧縮回路6で対数圧縮された値とで
単位が異なる場合には、上記バックラッシュ回路14か
らのバックラッシュ量の出力に対して係数を乗算して、
補正しなくてはいけない。なお、本実施例では、上記ア
ッテネータ側が2dB単位で、ピーク検出側が6dB単
位なのでバックラッシュ量を3で除算して補正してい
る。 【0079】すなわち、この図5において、上記バック
ラッシュ回路14に入力された値は、ステップS1で前
回の出力値との差が取られる。次にステップS2で上記
ステップS1での差がバックラッシュの幅を越えている
かどうか調べる(バックラッシュ幅で上下調べる)。 【0080】当該ステップS2で上記バックラッシュ幅
を越えていないと判断された場合は、ステップS8に進
み。当該ステップS8でバックラッシュ出力に差の3分
の1を出力する(この時の差はバックラッシュ量であ
り、バックラッシュ出力は逆バックラッシュ値として使
われる)。その後、ステップS9でバックラッシュ処理
の出力はそのまま変わらず(不感帯)、バックラッシュ
処理が終わる。 【0081】また、上記ステップS2で上記バックラッ
シュ幅を越えていると判断された場合は、ステップS3
に進む。当該ステップS3では上記差分が正か否かの判
断が行われ。当該ステップS3で正と判断された場合に
は、ステップS5に進み、当該ステップS5でバックラ
ッシュ出力にマイナスバックラッシュ幅の3分の1を出
力する。次に、ステップS7でバックラッシュ処理の出
力は今回の入力値からバックラッシュ幅を引いた値とす
る(すなわちバックラッシュ幅分小さい値を出力す
る)。その後、バックラッシュ処理を終わる。 【0082】上記ステップS3で負と判断された場合に
は、ステップS4に進む。当該ステップS4では、バッ
クラッシュ出力にバックラッシュ幅の3分の1を出力す
る。次にステップS6でバックラッシュ処理の出力は今
回の入力幅からバックラッシュ幅を加えた値とする(す
なわちバックラッシュ幅分大きい値を出力する)。その
後、バックラッシュ処理を終わる。 【0083】なお、上記フローチャートにおけるバック
ラッシュ幅とは、片側の値であり、実施例では0.75
dBとしている。また、バックラッシュ出力は、前記遅
延器15を通って、逆バックラッシュ回路8へ入力され
るので、単位を合わせるため、予め3で割っている。 【0084】図6,図7を用いて上記遅延器15による
バックラッシュ遅延について説明する。図6のAには前
記オーディオ信号が増加している場合の例を示し、図7
のAには前記オーディオ信号が減少している場合の例を
示す。また、図6のBと図7のBはAGCの実行期間を
示し、図6のCと図7のCは1回前のバックラッシュ量
のデータを、図6のDと図7のDは2回前のバックラッ
シュ量のデータを示している。更に、図6,図7の図中
C はアッテネータの変化点のタイミングを示し、図中
P はピーク検出点の一例を示す。 【0085】すなわち、例えば、上記図6のAに示すよ
うにオーディオ信号の増加中は、アッテネータの制御値
を変えた時にピーク検出の区間の後半のレベルが新制御
値の影響を受けており、かつ信号は増加中なので、当該
区間の最大値は後半にある。このため、次のピーク検出
には、新制御値を反映したピークレベルを検出する。し
たがって、この図6に示すようにオーディオ信号が増加
している場合において、バックラッシュ補正をする時
は、例えば図中矢印R6 に示すように新制御値の誤差分
である図6のCの1回前のバックラッシュ量のデータを
使用する。 【0086】また、例えば、上記図7のAに示すように
オーディオ信号の減少中は、アッテネータの制御値を変
えた時にピーク検出の区間の後半は新制御値の影響を受
けているが、当該区間の最大値は減少中なので前半にあ
り、次のピーク検出では新制御値以前のピーク値とな
る。このため、新制御値が反映するピーク検出値は更に
その次(図7のD)となる。したがって、この図7に示
すようにオーディオ信号が減少している場合において、
バックラッシュ補正をする時は、例えば図中矢印R7
示すように図7のDの2回前のバックラッシュ量のデー
タを使用する。 【0087】本発明の他の実施例の具体的構成を図8に
示す。上述した図1の構成は、マニュアルゲインコント
ロールモードの時には、フィードバックループ系がオフ
されるような構成となっているが、この図8は、マニュ
アルゲインコントロールモードの時にもフィードバック
ループのリミッタユニット11によって前述同様のリミ
ッタ動作を行わせることを可能とした構成である。な
お、この図8において図1と同一の構成要素には同じ指
示符号を付してその説明については省略する。 【0088】この図8においては、上記図1のスイッチ
41に代えて加算器51を設けると共に、当該加算器5
1と上記ローパスフィルタ26との間にマニュアルゲイ
ンコントロールのモードの時にオンするスイッチ52
と、上記ローパスフィルタ26の出力からバックラッシ
ュ幅の値を減算する減算器53とを挿入接続している。
また、前記四捨五入回路21とバックアップRAM24
との間、ノーマルユニット12と加算器44との間、及
び、基本ユニット13と加算器44との間に、AGCモ
ードの時にオンするスイッチ56,54,55を設けて
いる。 【0089】すなわち、マニュアル動作にリミッタを付
けた場合には、図1のAGC用のバックラッシュ出力
(加算器44を介したリミッタユニット11の出力)と
マニュアル操作出力(ローパスフィルタ26の出力)を
加算して(ただしローパスフィルタ26の出力からバッ
クラッシュ幅を引いておく)、これをオフセット加算回
路16へ入力する。 【0090】ここで、上記減算器53によってローパス
フィルタ26の出力からバックラッシュ幅を引くのは、
次の理由による。例えばリミッタユニット11が一瞬動
作して戻った後では、必ずバックラッシュは正方向にバ
ックラッシュ幅分付いており(リミッタが一瞬動作する
大入力はバックラッシュ幅を十分越えている)、このよ
うに、リミッタが一度でも動作した後は、この状態が定
常値となる。このため、上記バックラッシュ幅を差し引
けばリミッタ動作に影響されない正しい手動制御値がア
ッテネータに出力されることになる。 【0091】また、上記リミッタが動作する前では、そ
の場合上記差し引いた分誤差になっているので、マニュ
アルモードに移行した時には、バックラッシュが正方向
にバックラッシュ幅分付いているように初期化する。す
なわち、バックラッシュの出力値=+バックラッシュ
幅、バックラッシュ出力=+バックラッシュ幅/3とす
る。 【0092】上述のように、本実施例の構成によれば、
バックラッシュの付いたAGCでも、マニュアルとAG
C動作を行き来した場合のゲインジャンプ等の不具合を
避けることができる。 【0093】 【発明の効果】上述のように、本発明の信号レベル制御
装置においては、信号の無信号部分を検出する無信号検
出手段を有し、信号レベル調整手段での信号レベル調整
量を制御する信号レベル制御手段は、無信号検出手段か
らの無信号検出信号を受けてこの信号レベル調整手段で
の信号レベル調整の速度を遅く若しくは停止させるよう
な制御をすることにより、例えば音楽の曲間のような無
音部分(無信号部分)で急激にレベルが上昇することを
防止し、この曲間の次の曲の冒頭でのレベルオーバを防
ぐことが可能となる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention
The present invention relates to a signal level control device for controlling a level of a signal. 2. Description of the Related Art Conventionally, magnetic recording has been performed with a tape recorder or the like.
When recording audio signals on tape,
By controlling the level of the audio signal
Optimize the recording signal level for the magnetic tape. This
In the case of, the input signal is generally
(Troll) Configuration to supply to recording system via circuit
However, this configuration is the most suitable for the magnetic head of the recording system.
Perform level control so that the recording current flows
I have to. That is, the input audio as described above
An AGC circuit that performs AGC on a signal usually has an input
Audio signal level is the optimal level as described above.
For example, if the signal level is too high
Lower the level if
Try to raise the level. [0004] By the way, the above conventional art
The AGC circuit is used for input input, for example, between music pieces.
Even if there is silence in the audio signal,
Optimum level just like the part (normal music part)
Level adjustment. Therefore, on
In the conventional AGC circuit, the above-mentioned silent portion, that is,
If there is a very low signal level, immediately
Suddenly trying to raise the signal level to the above optimum level
It works in a direction that raises the level drastically. However, as described above, for example, between music pieces
If you suddenly raise the level with, the beginning of the next song
It will be a ruover. That is, this conventional AGC
If the circuit is applied to, for example, a tape recorder, the AGC
Level over at the beginning of the next song in the recording system at the end of the circuit
And distortion or the like occurs. Accordingly, the present invention has been made in view of the above-described circumstances.
Suggestions, like for example between music
The level rises sharply in the silent part (no signal part)
To prevent level over at the beginning of the next song between songs.
To provide a signal level control device that can be prevented.
It is the purpose. [0007] A signal level control according to the present invention.
The device has been proposed to achieve the above objectives
Yes, the signal level for adjusting the signal level of the input signal
Output means from the signal level adjustment means
A predetermined signal processing is performed on the output signal to measure the level of the signal.
Signal processing means for level measurement and level measurement
Based on the level measurement signal output from the signal processing means
Detecting means for detecting a silent part of a signal inputted by the
And the level measurement output from the level measurement signal processing means.
Signal level adjustment of the signal level adjusting means based on the regular signal
Control the amount of adjustment and the
If a silent part of the signal is detected, the signal level
Signal level control means for stopping or delaying the control
You. [0008] In other words, the present invention provides, for example,
Signal level to adjust the signal level of the audio signal
Adjusting means and an output signal output from the signal level adjusting means.
Predetermined signal processing on output signal to measure signal level
Signal processing means for performing level measurement,
Based on the level measurement signal output from the signal processing means.
Silence detecting means for detecting a silence portion of the input signal;
For level measurement output from signal processing means for level measurement
The signal level adjustment amount of the signal level adjusting means based on the signal
And the silence detection means
When silence is detected, control the signal level adjustment amount.
Signal level control means for stopping or delaying,
Automatically adjust the signal level of the above input audio signal
Automatic gain control circuit
When a silent part is detected in the step, the signal level control means
For example, by switching the loop gain, time constant, etc.
It slows down or holds the response speed of the operation.
is there. In the present invention, the signal level control
The means has received a no-signal detection signal from the no-signal detection means.
If there is a reference level input from the signal level adjustment means,
Control the signal level adjusting means in the same way as
It is also possible to use In this case, the level control
Rule circuit has its own time constant (ie shortened by loop gain)
The time adjustment is not done)
So, even in the silent part, the level rises sharply
There is no such thing. According to the signal level control device of the present invention, the
If the silence detection means detects the non-signal part of the signal
If the signal level control means
Slow down or stop the level adjustment
Level rises rapidly even in non-signal areas.
Never. An embodiment of the present invention will be described below with reference to the drawings.
explain. A level control circuit according to an embodiment of the present invention.
Is supplied through an input terminal 91 as shown in FIG.
Variable gain to adjust the signal level of the input audio signal
As a means, an analog signal level is adjusted.
Log attenuator 1 and the analog attenuator 1
Converts analog output to analog / digital (A / D)
Digitally communicates the output of the A / D converter 2
Digital attenuator that adjusts the signal level
And a digital multiplier 3. Further, the level control circuit of the present embodiment
Is the signal based on the output level of the variable gain means.
Control value setting means for calculating a control value for level adjustment;
Then, the limiter unit 11, the normal unit 12,
Has feedback unit consisting of basic unit 13
And silence to detect non-signal portions of the supplied signal.
It has a detection circuit 10. The level control circuit of this embodiment
Wherein the feedback unit detects the silence.
Receiving a no-signal detection signal (silence flag) from the circuit 10
To reduce the speed of signal level adjustment by the variable gain means.
Alternatively, it is stopped (held). That is, the level control of this embodiment
In the circuit shown in FIG.
As shown in A of FIG.
Comparison with a certain silence detection level (for example, -40 dB)
This comparison allows, for example,
If the audio signal level is below the silence detection level (or
Is lower than the silence detection level).
If detected, the silence detection circuit 10 returns to FIG.
A silence flag (silence detection flag) as shown is output.
The silence detection circuit 10 accurately detects silence.
For example, if the average input audio signal level is
A silence detection below a certain reference level (for example, 0 dB)
The above silence flag is output only when the output level falls below
It is also possible. The silence flag from the silence detection circuit 10
Is sent to the feedback unit of the control value setting means.
Can be In the feedback unit,
When the silence flag is received, the input
Audio signal level is very low
Does not suddenly increase the AGC loop gain
In addition, the AGC operation is delayed as shown in FIG.
Or hold, the sudden
We try to prevent a sharp rise in level. Further, in this embodiment, the feed
The back unit is a silence filter from the silence detection circuit 10.
If a lag is received, the reference level
The variable gain means is controlled in the same way as when
It is also possible to control. In this case, this implementation
The level control circuit in the example has its own time constant (ie,
Level adjustment with time constant not shortened by loop gain)
Therefore, even if there is no sound,
There is no such thing as raising the level. FIG. 2D shows this embodiment for comparison.
AGC operation may be delayed depending on silence detection as in
Variable gain means in the case of the conventional example which does not hold or hold
Shows a rapid rise in the level due to. Hereinafter, the configuration of this embodiment shown in FIG. 1 will be described in detail.
Will be described. It should be noted that the configuration of FIG.
Switchable between manual gain control and
First, the configuration for AGC will be described.
You. The configuration of this embodiment shown in FIG.
For example, gain co-processors used in digital tape recorders
This is applied to a control circuit. Note that FIG.
In AGC mode and manual gain control
To switch between the manual and AGC modes.
Of the switches 41 and 42 that are switched according to the
Set the terminal to the switched terminal side of AGC mode side or manual
Switch to selected terminal side in gain control mode
It is realized by doing. In FIG. 1, for example, a microphone input
Input or line input analog audio signal
And supplied to the analog attenuator 1
It is. The analog attenuator 1 is connected to the terminal 91
These analog audio signals can optionally be attenuated (ma
To the next stage A / D converter 2
You. The analog attenuator 1 is in 2dB steps
The attenuation value is set. In addition,
This attenuator not only has its intended purpose, but also
It is also intended to be wider. The A / D converter 2 includes the analog
Analog pre-attenuated by attenuator 1
The audio signal is converted to a digital signal. The data
The digital signal is sent to the next digital multiplier 3. The digital multiplier 3 has an analog
Adjust fine gain that could not be adjusted with tenator 1
You. That is, the digital multiplier 3 uses the A / D
To the audio signal digitally converted by the converter 2
Multiply by a factor of 1 or less to reduce the value
G), the 2 dB of the analog attenuator 1
To perform fine level adjustment by interpolating between steps
What is used. The digital multiplier 3 is approximately
The resolution is set to 0.25 dB step. Ma
For example, the manual gain control mode described later
Mode, such as fade-out
In the case of causing the digital multiplier 3 to attenuate,
As a result, the noise including the noise of the A / D converter 2 is reduced.
Can be attenuated. The next stage DSP of the digital multiplier 3
(Digital signal processor) 4
The digital signal converted by the
A signal to be recorded on a recording medium such as a magnetic tape is formed. this
The output of the DSP 4 is output from the output terminal 92,
Recording on magnetic tape, etc. by the configuration of the recording system at the later stage omitted
Is done. Note that the audio signal is
Pass only through the path of DSP4 from the server. Other structures in FIG.
The components are all used to form the control value of the attenuator.
The configuration (other than the input side of the peak detection circuit 5 described later)
The other component performs processing once every 1/50 second, for example.
U. In this embodiment, the audio signal system is hardware-based.
Software, and everything else is software
Each part is software or hardware
Can also be configured. Here, in order to perform AGC, the above-mentioned Athens
The audio signal whose gain has been adjusted by the
Through the path 5, logarithmic compression circuit 6, and monaural circuit 7.
Is the measurement level. That is, first, the digital power
The output of the calculator 3 is sent to the peak detection circuit 5. The above-described peak detection circuit 5 is modified in the configuration of the preceding stage.
The converted digital data is kept for a certain time (for example, 20 ms).
ec), the maximum volume in that section is detected, and
This digital audio recording for AGC
The representative of Bell. The output of the peak detection circuit 5 is logarithmic
The data is sent to the compression circuit 6. The logarithmic compression circuit 6 performs the peak detection
The value (peak value) detected in Road 5 is matched to the human auditory characteristics.
Logarithmic conversion. In this embodiment,
Floating format (exponent)
Since the part is logarithmic, this is the concatenation of the mantissa part and the MSB
Is non-transmission). Here, the logarithmic compression circuit
6, the floating line for approximating the broken line is used.
The mat is used as it is. Therefore, the exponent is
When it reaches zero, the bits below it are linear,
It is very different from logarithm. Therefore, the exponent part is zero
If the exponent part is compressed in the negative direction like a broken line approximation
To ensure that the error does not become abnormally large.
In the broken line approximation, the part corresponding to the exponent is minus.
, But a negative value in true exponential notation.
The output of the logarithmic compression circuit 6 is sent to a monaural circuit 7.
You. The output of the logarithmic compression circuit 6 is a level meter
Also used for The monaural circuit 7 performs the logarithmic compression process.
Stereo L channel and R channel supplied from road 6
Outputs the larger value of the flannel values. That is,
In AGC, the gains of the left and right channels of L and R are set separately.
If the control is performed in the right direction, the localization will be lost.
This processing is performed in order to communicate. Therefore, the measured value
Is monaural (larger for the left and right because of emphasis on high volume)
You. The output of the monaural circuit 7 is the inverse backlash
Sent to Road 8. The reverse backlash circuit 8 is an AGC
The battery inserted in the feedback loop system described later
By the crash element (backlash circuit 14)
Linear as if the system did not vibrate unnecessarily
To compensate for the backlash that pretends to be
You. That is, the last time the attenuator was set (some
Is sometimes the last time before or after)
Set including the difference only for the backlash in the circuit 14
is there. Therefore, the measured peak level is large.
Backlash because of small or small value
Peak when adding amount and not performing backlash processing
Calculate the level. This allows feedback
There seems to be no dead zone element in the loop
Unnecessary vibrations that come and go can be suppressed.
The output of the reverse backlash circuit 8 is a feedback
Limiter unit of the feedback unit of the loop system
Unit 11, normal unit 12, and basic unit 13
Sent. The output of the monaural circuit 7 is
It is also sent to the silence detection circuit 10. The silence detection circuit 10
Detects whether the input is silence as described above.
Circuit for detecting silence when the silence flag is detected.
To change. The silence flag is
Used by the backup units 11, 12, and 13. For example,
From the current attenuator value and the peak detection circuit 5 value,
Calculate absolute level of currently input signal {absolute level
= Peak level (log) + attenuation (log)}
This is, for example, below a certain value (below the silence detection level)
Then, for each of the feedback units 11, 12, and 13,
The input of an internal LPF, which will be described later, is set to zero. to this
No need for AGC volume between music songs, for example
To prevent it from being raised. The output of the silence detection circuit 10 is also
To be sent to the feedback units 11, 12, 13
Has become. Next, the limiter unit 11 and the normal
Feedback of the unit 12 and the basic unit 13
Unit calculations are performed, and these limiters, normal,
Add the output of each basic unit to AGC
Output as an attenuator control value. This file
The detailed configuration of the feedback unit will be described later.
You. Here, the limiter unit 11 is
The fastest (for example, 0.1 seconds or less)
Bottom) A feedback unit that reacts. The normal unit 12 is used for transmitting music and the like.
Medium speed (eg 1 second)
10 to 10 seconds)
You. In addition, the characteristics between line input and microphone input
Switches. Also, the above line input and the above
The characteristics that switch according to the microphone input are described below.
Upper and lower operating levels, upper and lower feedback loop
IN, attack time constant, recovery time constant, and the like. The above-mentioned basic unit 13 is different in the sound source and the like.
The lowest speed (for example, 10 seconds to
Feedback unit that responds in about 100 seconds)
You. This unit also has a
The characteristic switches between the input and the input. Note that, in FIG.
The block corresponding to the force is indicated by L in the figure, and
Corresponding blocks are indicated by M in the figure. Each of the above feedback units 11, 1
The outputs of 2 and 13 are added by an adder 44,
It is sent to the rush circuit 14. The backlash circuit
14 is each feedback unit 11,12,13
A dead band is added to the calculated output to prevent small fluctuations in the input.
The attenuator at the subsequent stage operates to produce unnatural sound.
Is what you want to do. The backlash times
Details of the operation on the road 14 will be described later. The backlash circuit 14 and the reverse back
The delay device 15 provided between the rush circuits 8
When the audio signal level falls, 1
Sample time delay occurs, only when the level falls
This is for delaying one sample time. Sandals
The peak level detected by the peak detection circuit 5
Indicates that the audio signal is increasing one time before, while decreasing
Observe the value of the attenuator value two times before. this
Backlash, which is compensated by the reverse backlash circuit 8
When the audio signal increases, the backlash also becomes
Use the previous backlash value when decreasing.
I have to. Through the delay unit 15, this processing
Be executed. The backlash caused by the delay unit 15
The details of the queue delay will be described later. The level drop is detected by detecting the level drop.
/ Fall determination circuit 9. Level rise / fall judgment times
The path 9 is used to switch the delay in the delay
Measure the audio signal level to determine the next reverse backlash.
For this purpose, a flag corresponding to the rise / fall is set. The output of the backlash circuit 14
Is connected via a switch 41 whose switched terminal on the AGC side is selected.
Then, it is sent to the offset adding circuit 16. The offset
The adder circuit 16 has the above-mentioned fee for a certain reference input.
Reduced in case the calculated value of the debug unit becomes zero.
The amount of decay is arbitrarily determined in advance, and
To the calculated value from the feedback unit via road 14
On the other hand, the predetermined attenuation is added.
You. In other words, offset addition means that the reference input value is
Attenuator value (control value) at the time of input.
Is a value determined in
You. In this embodiment, the value is increased by the offset addition.
The gain obtained is, for example, 10 dB. The office
The output of the bit adder circuit 16 is the attenuator operation range limit circuit.
It is sent to the road 17. The attenuator operation range limiting circuit 17
Is within the operating range of the attenuator volume.
It limits the value. That is, attenuator operation
In the range limiting circuit 17, by setting the loop gain or the like,
Calculates a control value that exceeds the operating range of the attenuator
So limit this. Subsequent stage of the attenuator operation limiting circuit 17
Rounding circuit 18 of each feedback unit
The number of digits of the calculated value does not match the attenuator resolution.
If this is not the case, round off
It is. Specifically, in the rounding circuit 18,
Calculates the error due to the quantization of the control value of the
Reduce by half. This value is calculated by the above-mentioned silence detection circuit 10.
And is also used here for silence detection. Rounding off
The output of the circuit 18 is the digital / analog distribution circuit 1
9 The digital / analog distribution circuit 19
Is the analog attenuator 1 and the digital multiplier
(Digital attenuator)
This is to distribute the amount of attenuate. That is,
In the digital / analog distribution 19, the rounding circuit is used.
The output of 18 is truncated to analog resolution.
The control value of log attenuator 1
Control to digital multiplier (digital attenuator) 3
Distribute as values. Specifically, in this embodiment,
The resolution of the analog attenuator 1 is 2 dB,
Since the resolution of the multiplier 3 is 0.25 dB,
2 dB steps for analog attenuator 1.
Control value for the digital multiplier 3 is 2 dB
A system that fills the steps with 0.25dB steps
Distribute your value. Although illustration is omitted, digital
Side, there is a time delay due to the A / D converter 2
Therefore, the change time matches the analog attenuator 1.
There is an appropriate delay. The digital / analog distribution circuit 19 and
An antilogarithmic conversion circuit 20 is provided between the digital multiplier 3 and the digital multiplier 3.
Inserted and connected. The antilogarithmic conversion circuit 20 has a logarithmic
Convert the compressed control value to a linear value,
To make the operation of the attenuator in the arithmetic unit 3
Converter. That is, the antilogarithmic conversion circuit 20
Is output from the digital / analog distribution circuit 19.
Digital attenuator (digital multiplier 3)
Since the control value is expressed in logarithm,
The linear ratio of the
Has been converted to an amount. In this embodiment, the above-mentioned feed
The control value from the back unit is stored in the backup RAM 24
Is always held. The backup
The RAM 24 stores a power supply as an initial value for the next AGC operation.
This is a memory for holding a value even after being turned off. Ie
For example, when the set is turned on,
From the backup RAM 24 to the manual adjustment register 22
Data is transferred. This backup RAM 24
The memory location switches between input and microphone input
(Blocks L and M in FIG. 1). Further, the backup RAM 24
The stored control value includes the output of the limiter unit 11.
Is to be subtracted. That is, Limitayu
The knit 11 corresponds to instantaneous large input, and
Since the bell is not expressed, the initial value of the next AGC is
Control from the limiter unit 11 based on the current control amount
Use the value after subtracting the value. Specifically, above
The backup RAM 24 is updated by a subtractor 45.
From the original value of the control value of the tenator, the limiter unit 11
The value obtained by subtracting the control value is further backed up by the rounding circuit 21.
The bit width of the memory of the backup RAM 24 (8 in the embodiment)
Bit) is rounded down and stored
Swelling. The limiter unit 11 operates normally.
The current control value is
(The output of the backlash circuit 14)
Is more present. The output of the backup RAM 24 is
This is sent to the backup limit circuit 23.
The backup limiting circuit 23 operates once when the power is turned on.
Only from the backup RAM 24 to the subsequent manual adjustment register
The upper and lower limits are separately set for the value transferred to 22
It is. Also, in this backup restriction circuit 23,
The limit value can be set differently for the line and microphone.
(Blocks L and M in FIG. 1). Accordingly
The microphone input by the backup limiting circuit 23
And line input will have their ranges limited separately.
You. In addition, it does not affect the current microphone / line input mode.
The microphone input and the line input are both
You. Here, the configuration of the present embodiment is a
In-control is also possible. That is, this
In the case of manual gain control, the analog
The attenuator 1 is not shown in FIG.
Manual adjustment level according to the amount of operation from the recording volume
Based on the manual control value output from the
For example, the analog audio signal is attenuated. That is, the operation from the recording volume
The amount is, for example, the rotation angle data of the dial or the remote control
Operation data output from the volume increase / decrease button.
The operation data is sent to the manual adjustment register 22.
It is. The manual adjustment register 22 has the variable
Control value for level adjustment by the
From the stored control values.
The control value that goes up / down according to the operation amount of the
It is supposed to be. In the present embodiment,
As described above, the analog attenuator 1 is
An attenuator is configured with the arithmetic unit 3, and
Therefore, these attenuators are not
From the manual adjustment register 22 corresponding to the operation amount of
Is controlled by the dynamic control value.
Controls are being implemented. Note that this
The attenuator has a wide input operating range in addition to its original purpose.
It is also intended to be. The output from the manual adjustment register 22
The manual control value that is set depends on the value supplied to the attenuator.
If the sound level adjusted by the attenuator is
It changes in 2dB steps (that is, it changes step by step)
). This manual adjustment register 22
The manual control value is sent to the low-pass filter 26. Here, the low-pass filter 26 is, for example,
It has a time constant of about 1 second, for example.
The manual control value that changes step by step from the
Converting to movement. For example, the above manual adjustment register 2
2 based on the manual control value from
The bell adjustment is increased in the above 2dB step, for example.
, The output of the low-pass filter 26 is
FIG. 3A shows this in association with a change in volume level.
It changes smoothly. The output of the low-pass filter 26 is
It is distributed by a digital / analog distribution circuit 19. This
The digital / analog distribution circuit 19 is used for the manual adjustment.
For example, a 10-bit control value is supplied from the register 22.
For example, the upper 3 bits in the
Distributed to the attenuator 1 side, for example, the lower 7 bits
It is distributed to the digital multiplier 3. This allows
8 levels for analog attenuator 1
The coarse adjustment of the signal is performed by the digital multiplier 3.
And the output level data of the A / D converter 2 as an example.
For example, 1/2 7 Fine adjustment by the level difference of. In the digital / analog distribution circuit 19,
Volume adjusted by the above attenuator for distributed control value
Table 1 shows the relationship with the level change. [Table 1] According to Table 1, the analog athens
The volume level adjusted by data 1 is in 2 dB steps.
The volume level adjusted by the digital multiplier 3 is
This is a 0.25 dB step. That is, the above digital
From the analog distribution circuit 19
The control value sent to data 1 corresponds to the above-mentioned change in volume level.
As shown in FIG. 3B, the volume is increased in 2 dB steps.
It is a value that changes the level.
The signal is sent from the analog distribution circuit 19 to the digital multiplier 3.
Control values associated with the changes in volume level
As shown in C of FIG. 3, the volume level is set in 0.25 dB steps.
A value that changes the bell. Thus, in this embodiment, the manual
When performing level control of the
Level control that does not change
Troll can be realized. In the circuit of this embodiment, the manual adjustment
The control value output from the register 22 and the analog
By adjusting the resolution of the A / D
Avoid damaging the dynamic range of converter 3
are doing. That is, held in the manual adjustment register 22
The set control value is changed to the analog
By limiting the value to a value at which only the tenator 1 operates, the A
Do not impair the dynamic range of / D converter 2
I'm trying. As described above, according to this embodiment, the manual
When performing the operation, the low-pass filter 26
By smoothing the control value from the adjustment register 22,
Thus, variable volume noise can be removed.
Also, in this embodiment, a hand in accordance with the operation amount of the recording volume is set.
The control amount of the dynamic adjustment register 22 is
The dynamic range is matched with the dynamic range.
There is no loss of the sensor. Further, the manual adjustment register 2 of the present embodiment
2, manually adjust the recording level as described above
Volume value (recording volume operation amount)
Output the same manual control value, and, for example,
When going back and forth between the manual gain control modes
To prevent the discontinuity of the gain,
Current calculated by rounding 21 above via switch 42
The adjustment amount (volume value) is always put in
I have. Note that the manual adjustment register 22 of this embodiment is
Independent manual control values corresponding to the microphone input and the microphone input.
I have That is, as shown in FIG.
Al and AGC modes can be switched
For example, switching from AGC to manual operation
Or switch from manual to AGC operation
The output of the feedback unit (limit
Total of the output of each unit
As the initial value of the manual or transfer to AGC
When performing the operation, the manual control value is
It is conceivable to set it to the initial value. In this case, the above AGC
Configuration prevents unnecessary movement of gain
The above backlash element is put in the loop
However, the output of the feedback unit (limit
Total of the output of each unit
If the initial value of the manual is
The difference may result in a gain jump. Also,
Move from AGC to manual while limiter unit is operating
When executed, the instantaneous value is sampled, and the true value and
There is a possibility that the gain may be far apart. Furthermore,
For example, immediately after fade out by manual operation, A
When the operation shifts to the GC operation, the initial gain of the AGC becomes zero.
It takes a long time to reach the appropriate range
There is a possibility that it will happen. In addition, even during manual operation
Only the limiter unit operates to cope with large input
Sometimes it is necessary to do this, but at this time a new backlash
May cause a gain jump. From the above, the configuration of FIG.
For example, in the case of
In this case, the value of backlash processing during AGC operation
Subtracter 45 subtracts output value of limiter unit 11 from
And put it in the manual adjustment register 22
You. Specifically, in this embodiment, a manual
When recording starts and the gain control mode
When the system moves from AGC to manual,
The value of the adjustment register 22 is stored in the low-pass filter
Load into the Vista. In this embodiment, the manual
Since the adjustment register 22 is 1 byte, the low-pass filter
Load the same unit in the register of
Is cleared. This allows a low-pass filter
26 is already converged, so a low-pass
The gain is not changed by the filter 26.
You. After that, the manual gain control
The operation becomes executable. Here, the value after backlash processing is used
What we do is that this is the current attenuator value,
This is because there is no change at the time of manual transfer. Also, the above
Subtractor 45 subtracts the output of limiter unit 11
As described above, the limiter unit 11
If this is sampled when the input is supported,
Because the average control value is not expressed,
The sum of the output of each unit and the basic unit represents the long-term average value.
Because it is. In addition, the manual adjustment register 22
Generally, there is only a resolution of the adjustment step unit, so the control value
Quantize by rounding to the nearest digit of resolution rather than truncating
In this embodiment, this error can be halved.
In consideration of the above, the rounding circuit 21 is inserted. Further, when changing from manual to AGC
In the case of
An unusual value such as a writeout is stored in the manual adjustment register 22.
If it is, the range is limited by the range limiting circuit 25.
To the basic unit of the AGC feedback unit.
By initializing to limit 13 (limiter and normal are zero
To avoid insane settings at the beginning of AGC
And to be able to. In other words, the above range limit times
Road 25 is, for example, at the start of REC or
Changed the gain control mode to AGC operation
Sometimes, the initial value of AGC operation is changed to a backup value or manual.
Set value (both values in the manual adjustment register 22)
However, in this embodiment, for example, the manual control value is an insane value.
If (for example, the last time you finished with a fade-out)
In addition, by limiting this, the AGC error at the beginning of recording is disabled.
It is trying to ease the situation. Also in this case back
Rush is zero. Specifically, the gain control
Roll mode changes from manual to AGC mode
The value of the manual adjustment register 22 is
5 to limit the range
Register of LPF of knit 13 (low-pass fill of FIG. 4)
Initially set in the register 114) of the The above range limit
The range limitation in the circuit 25 depends on the nature of the sound source.
Decide how much range to affect the initial value of AGC
Things. Also in this case, the manual adjustment register 22
Because it is 1 byte, load to the same unit of LPF
And clear the other bytes. In the configuration of the present embodiment shown in FIG.
The limiter, normal, and basic feedback units
G11,12,13 are from the above manual to AGC
For example, at the time of REC start (REC PA
USE, REC PLAYPAUSE)
It is initialized even when the operation mode is switched.
You. In this case, the limiter unit 11 and the normal unit
The unit 12 is initialized to zero and the basic unit 13 is manually adjusted.
The value of the integer register 22 is initialized by limiting the range. That is, the configuration shown in FIG.
REC start (for example, RECPAUSE, REC
Mode to perform various operations such as PLAY PAUSE
The setting switch 32 and the mode setting switch 32
Mode recognition hand for recognizing operation modes corresponding to various operations
And a controller 31 as a stage.
In response to recognizing the operation mode in
Immediately before the operation mode is switched, the feedback unit
The control value set in the backup RAM 24
And when the above operation mode is switched,
The control value stored in the backup RAM 24 is initialized to the initial value.
To the feedback unit as
The above control supplied as an initial value to the value calculation unit 71
Value for adjusting the signal level in the attenuator 83.
It is used as a control value. Next, the feedback loop unit
Will be described with reference to FIG. Limi above
Tta, normal and basic units 11, 12, 13
Actually consists of a single configuration,
Change for each unit and microphone / line input mode
In this way, five operations are executed. In this FIG.
Here, the block indicated by L in the figure corresponds to the line input
This is a block that holds the parameters.
Block holds the parameters corresponding to the microphone input.
In the figure, M and L are microphones and line inputs.
A block that holds the same parameters by force. This
These parameter holding blocks are basic, normal, and
Provided according to the operation of each unit of the limiter (limiter
Only microphone and line input have the same parameters). That is, in FIG.
Is supplied with the output of the reverse backlash circuit 8.
The input signal is supplied to subtractors 116 and 120.
Each of the upper operating points (upper operating levels) is
Each parameter from the holding unit 115 that holds the parameter is
Are supplied to the subtractor 120.
Holds each parameter of operating point (lower operating level)
Each parameter is supplied from the unit 122
I have. The output of the subtracter 116 is a comparator
117, and the output of the subtractor 120 is
Is sent to the The comparator 123 is supplied
If the obtained signal (difference) is negative (that is, the terminal 121
(When the input signal supplied to the above is smaller than the above lower operating point)
Is supplied with the output of the subtractor 120 of the switch 119.
And the supplied signal (difference) is
In the positive case (ie, the input signal supplied to the terminal 121)
Switch 119 when the signal is above the lower operating point)
A switching control signal for selecting the switching terminal a (zero input) is output.
The comparator 117 determines that the supplied signal (difference) is positive.
(That is, the input signal supplied to the terminal 121)
Is greater than the above upper operating point).
Select the switched terminal a to which the output of the subtractor 116 is supplied.
And if the supplied signal (difference) is negative (ie
The input signal supplied to the terminal 121 is equal to or higher than the above operating point.
(Lower case) the output of the switch 119 of the switch 118
Outputs switching control signal to select switched terminal b to which power is supplied
I do. In other words, the output from the switch 118
As for the output, the input from the terminal 121
Larger case, smaller than lower operating point and intermediate
And zero in the middle case
If it is larger than the point, the difference from the upper operating point is
If it is smaller than the point, the difference from the lower operating point is the next stage.
Sent to the configuration. That is, with these configurations,
AGC does not operate at the interim level without feedback.
A dead zone. Also, set the lower operating point to the minimum value.
Responds only to large input like limiter
You can make a unit that does. In addition, the upper operating point and lower
The same operating point eliminates the dead zone,
You can create the characteristics of this unit. The output terminal of the switch 118 is connected to a switch.
The terminal 105 is connected to the switched terminal b. The switch
The switched terminal a of the switch 105 has a zero input. The
The switch 105 is connected to the silence detection circuit via the terminal 101.
Switched according to the silence flag supplied from the road 10
When the silence flag is supplied (silence detection
Output), the zero input on the switched terminal a side is output,
If there is no flag, switch to the switched terminal b side.
It is what is done. The output of the switch 105 is supplied to the multiplier 106
Sent to The multiplier 106 has an upper gain and a lower gay
Parameters from the parameter holding units 102 and 103
In response to the switching control signal of the comparator 117
As supplied via switch 104 which is switched
It has become. The switch 104 corresponds to the comparator
The switching terminal a when the switching control signal from the
Is selected, and conversely, in the case of a negative value, the switched terminal b is selected. That is, in the multiplier 106, the end
If the input of the child 121 is larger than the above upper operating point,
The gain is set so that the input of the terminal 121 is lower than the lower operating point.
If so, a process of multiplying the lower gain is performed. Gay on this
And the lower gain are feedback loop gains.
When the gain is increased, the level is compressed and returns to the reference level.
Get closer. Also, lowering the gain weakens the compression force,
The ability to approach the sub-level is also reduced. The output of the multiplier 106 is supplied to a subtractor 111.
Through the multiplier 112 and the comparator 1
07. The comparator 107 has the power
When the output of the arithmetic unit 106 is zero or more,
A switching control signal for selecting the switching terminal a is output, and the multiplier
When the output of the switch 106 is smaller than zero,
Outputs a switching control signal for selecting the switched terminal b side of
is there. The switched terminal a of the switch 110 has an attack
Parameter holding unit 10 for holding each parameter of the time constant
8 are supplied, and the switched terminal b is
Parameter holding to hold each parameter of the coverage time constant
Each parameter is supplied from the unit 109
I have. The output of the switch 110 is supplied to the multiplier 112.
Sent. The multiplier 112 and the subtractor 111 are
IIR type buffer with adder 113 and register 114
A low pass filter. That is, the above multiplier
The output of the register 112 is supplied to the register 11 via the adder 113.
4 and the output of the register 114 is
It is fed back to the adder 113 and the subtractor 111
The parameter is stored in the multiplier 112.
The parameters (multiplication coefficients) from the holding units 108 and 109 are supplied.
Is supplied to form an IIR low-pass filter.
ing. Specifically, pass through the low-pass filter
To prevent the system from oscillating and slow down the AGC
Thus, the characteristics of each feedback unit are formed.
This low-pass filter has a time constant of attack and
Integral characteristics can be adjusted because it can be set separately for the balance
You. Further, above the IIR type low pass filter,
The output of the register 114 is fed back from the terminal 124.
Taken as the output of the group unit. In addition, above
The register 114 is connected to the
Loaded with the char value. FIG. 5 shows the structure of the backlash circuit 14.
2 shows a flowchart of backlash in the embodiment. Here, the analog attenuator 1
The control value and the value logarithmically compressed by the logarithmic compression circuit 6 are used.
If the unit is different, the backlash circuit 14
By multiplying the output of these backlash amounts by a coefficient,
I have to correct it. Note that, in this embodiment,
The attenuator side is in 2 dB units and the peak detection side is in 6 dB units.
The backlash amount is divided by 3
You. That is, in FIG.
The value input to the rush circuit 14 is
The difference from the output value of each time is taken. Next, in step S2,
The difference in step S1 exceeds the width of the backlash
Check (check up and down by backlash width). In step S2, the backlash width
If it is determined that the value does not exceed the limit, the process proceeds to step S8.
Only. 3 minutes difference in backlash output in step S8
(The difference at this time is the amount of backlash.)
The backlash output is used as the reverse backlash value.
Is done). Then, backlash processing is performed in step S9.
Output remains unchanged (dead zone), backlash
Processing ends. In step S2, the backlash
If it is determined that the width exceeds the width, step S3
Proceed to. In step S3, it is determined whether the difference is positive.
Disconnection is made. If it is determined to be positive in step S3,
Goes to step S5, and the
Output one third of the negative backlash width
Power. Next, in step S7, the backlash processing is executed.
Force is the value obtained by subtracting the backlash width from the current input value.
(Ie, output a value smaller by the backlash width)
). Thereafter, the backlash processing ends. If it is determined in step S3 that the value is negative,
Proceeds to step S4. In step S4, the battery
Output 1/3 of backlash width to crash output
You. Next, in step S6, the output of the backlash processing is now
To the value obtained by adding the backlash width to the input width
That is, a value larger by the backlash width is output). That
Thereafter, the backlash processing ends. Note that the back in the above flowchart is
The rush width is a value on one side, and is 0.75 in the embodiment.
dB. Also, the backlash output is delayed as described above.
The signal is input to the reverse backlash circuit 8 through the extension device 15.
Therefore, it is divided by 3 in advance to match the units. Referring to FIG. 6 and FIG.
The backlash delay will be described. A in FIG.
FIG. 7 shows an example in which the audio signal is increasing, and FIG.
A shows an example where the audio signal is decreasing.
Show. 6B and FIG. 7B show the AGC execution period.
6C and 7C show the amount of backlash one time before.
The data of FIG. 6D and FIG.
FIG. 6 and FIG.
T C Indicates the timing of the changing point of the attenuator.
T P Indicates an example of a peak detection point. That is, for example, as shown in FIG.
While the audio signal is increasing, the attenuator control value
When the value is changed, the level in the latter half of the peak detection section is newly controlled.
Value and the signal is increasing,
The maximum value of the section is in the latter half. Therefore, the next peak detection
, A peak level reflecting the new control value is detected. I
Therefore, the audio signal increases as shown in FIG.
When backlash correction is performed
Is, for example, the arrow R in the figure. 6 The error of the new control value
The data of the backlash amount one time before C in FIG.
use. For example, as shown in FIG.
While the audio signal is decreasing, change the control value of the attenuator.
The second half of the peak detection period is affected by the new control value.
However, since the maximum value of the section is decreasing,
In the next peak detection, it becomes the peak value before the new control value.
You. For this reason, the peak detection value reflected by the new control value
Next (D in FIG. 7). Therefore, FIG.
If the audio signal is decreasing as
When backlash correction is performed, for example, 7 To
As shown, the data of the backlash amount two times before D in FIG.
Use data. FIG. 8 shows a specific configuration of another embodiment of the present invention.
Show. The configuration shown in FIG.
In roll mode, the feedback loop is off
The configuration shown in FIG.
Feedback even when in gain control mode
The same limiter as described above is performed by the loop limiter unit 11.
This is a configuration that makes it possible to perform a shutter operation. What
In FIG. 8, the same components as those in FIG.
The reference numerals are attached and the description is omitted. In FIG. 8, the switch shown in FIG.
41, an adder 51 is provided instead of the adder 51.
1 and the low-pass filter 26
Switch 52 which is turned on in the control mode
From the output of the low-pass filter 26
A subtractor 53 for subtracting the value of the menu width is inserted and connected.
The rounding circuit 21 and the backup RAM 24
, Between the normal unit 12 and the adder 44, and
Between the basic unit 13 and the adder 44.
Switches 56, 54 and 55 that are turned on when
I have. That is, a limiter is added to the manual operation.
Backlash output for AGC in Fig. 1
(The output of the limiter unit 11 via the adder 44) and
Manual operation output (output of low-pass filter 26)
Add (however, the output from the low-pass filter 26
Subtract the width of the crash)
Input to road 16. Here, the low pass is performed by the subtractor 53.
Subtracting the backlash width from the output of filter 26
For the following reasons. For example, the limiter unit 11 moves momentarily
After making and returning, the backlash always moves in the forward direction.
With the width of the crash (the limiter operates for a moment)
Large input is well beyond the backlash width)
After the limiter has been operated even once,
It will be a normal value. Therefore, the above backlash width is subtracted.
Correct manual control value that is not affected by the limiter operation.
Output to the attenuator. Before the limiter is activated,
In the case of
Backlash is in the forward direction when shifting to Al mode
Is initialized to have the backlash width. You
That is, the output value of backlash = + backlash
Width, backlash output = + backlash width / 3
You. As described above, according to the configuration of this embodiment,
AGC with backlash, manual and AG
Trouble such as gain jump when going back and forth between C operations
Can be avoided. As described above, the signal level control of the present invention
In the device, the no-signal detection that detects the no-signal portion of the signal
Signal level adjusting means having signal output means
Is the signal level control means for controlling the amount
These non-signal detection signals are received by this signal level adjusting means.
Slow down or stop the signal level adjustment
Control, such as between music tunes,
The sudden rise in level in the sound part (no signal part)
To prevent level over at the beginning of the next song between songs.
Is possible.

【図面の簡単な説明】 【図1】本発明実施例のレベルコントロール回路の具体
的構成を示すブロック回路図である。 【図2】本実施例の無音検出とレベル調整との関係を示
す図である。 【図3】本実施例の具体的構成の手動制御値と対応する
音量変化を示す図である。 【図4】フィードバックユニットの具体的構成を示すブ
ロック回路図である。 【図5】バックラッシュ処理のフローチャートである。 【図6】オーディオ信号が増加している場合のバックラ
ッシュの遅延を説明するための図である。 【図7】オーディオ信号が減少している場合のバックラ
ッシュの遅延を説明するための図である。 【図8】本実施例の他の具体的構成を示すブロック回路
図である。 【符号の説明】 1・・・・・・・・アナログアッテネータ 2・・・・・・・・A/Dコンバータ 3・・・・・・・・ディジタル乗算器 4・・・・・・・・DSP 5・・・・・・・・ピーク検出回路 6・・・・・・・・対数圧縮回路 7・・・・・・・・モノラル化回路 8・・・・・・・・逆バックラッシュ回路 9・・・・・・・・レベル上昇/下降判定回路 10・・・・・・・無音検出回路 11・・・・・・・リミッタユニット 12・・・・・・・ノーマルユニット 13・・・・・・・基本ユニット 14・・・・・・・バックラッシュ回路 15・・・・・・・遅延器 16・・・・・・・オフセット加算回路 17・・・・・・・アッテネータ動作範囲制限回路 18,21・・・・四捨五入回路 19・・・・・・・ディジタル/アナログ分配回路 20・・・・・・・逆対数変換回路 22・・・・・・・手動調整レジスタ 23・・・・・・・バックアップ制限回路 24・・・・・・・バックアップRAM 25・・・・・・・範囲制限回路 26・・・・・・・ローパスフィルタ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block circuit diagram showing a specific configuration of a level control circuit according to an embodiment of the present invention. FIG. 2 is a diagram illustrating a relationship between silence detection and level adjustment according to the present embodiment. FIG. 3 is a diagram illustrating a manual control value and a change in volume corresponding to a specific configuration of the embodiment. FIG. 4 is a block circuit diagram showing a specific configuration of a feedback unit. FIG. 5 is a flowchart of a backlash process. FIG. 6 is a diagram for explaining delay of backlash when an audio signal is increasing. FIG. 7 is a diagram for explaining a delay of backlash when an audio signal is decreasing. FIG. 8 is a block circuit diagram showing another specific configuration of the present embodiment. [Explanation of Signs] 1 ... Analog Attenuator 2 A / D Converter 3 Digital Multiplier 4 ... DSP 5 peak detection circuit 6 logarithmic compression circuit 7 monaural circuit 8 reverse backlash circuit 9 Level rise / fall determination circuit 10 Silence detection circuit 11 Limiter unit 12 Normal unit 13 Basic unit 14 Backlash circuit 15 Delay unit 16 Offset adder circuit 17 Attenuator operation range limitation Circuits 18, 21 ··· Rounding circuit 19 ··· Digital / analog distribution circuit 0: antilog conversion circuit 22: manual adjustment register 23: backup restriction circuit 24: backup RAM 25: ..Range limiting circuit 26 ........ Low-pass filter

フロントページの続き (56)参考文献 実開 昭58−105019(JP,U) 特公 昭50−40653(JP,B2) 特公 昭62−5363(JP,B1) (58)調査した分野(Int.Cl.7,DB名) G11B 20/00 - 20/04 G11B 5/09 311 H03G 3/20 - 3/34 Continuation of the front page (56) References Japanese Utility Model Sho 58-5005019 (JP, U) Japanese Patent Publication Sho 50-40653 (JP, B2) Japanese Patent Publication Sho 62-5363 (JP, B1) (58) Fields surveyed (Int .Cl. 7 , DB name) G11B 20/00-20/04 G11B 5/09 311 H03G 3/20-3/34

Claims (1)

(57)【特許請求の範囲】 【請求項1】 入力される信号の信号レベルを調整する
信号レベル調整手段と、 上記信号レベル調整手段から出力される出力信号のレベ
ルを測定するために上記出力信号に所定の信号処理を行
なうレベル測定用信号処理手段と、 上記レベル測定用信号処理手段から出力されるレベル測
定用信号に基づいて上記入力される信号の無音部分を検
出する無音検出手段と、 上記レベル測定用信号処理手段から出力されるレベル測
定用信号に基づいて上記信号レベル調整手段の信号レベ
ル調整量を制御するとともに、上記無音検出手段が上記
入力される信号の無音部分を検出した場合には上記信号
レベル調整量の制御を停止または遅延させる信号レベル
制御手段とを備える信号レベル制御装置。
(57) [Claim 1] Signal level adjusting means for adjusting a signal level of an input signal, and said output for measuring the level of an output signal output from said signal level adjusting means. Level measurement signal processing means for performing predetermined signal processing on the signal; silence detection means for detecting a silence portion of the input signal based on a level measurement signal output from the level measurement signal processing means; Controlling the signal level adjustment amount of the signal level adjustment means based on the level measurement signal output from the level measurement signal processing means, and detecting the silent part of the input signal by the silent detection means; A signal level control unit for stopping or delaying the control of the signal level adjustment amount.
JP02749992A 1992-01-20 1992-01-20 Signal level control device Expired - Lifetime JP3505722B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02749992A JP3505722B2 (en) 1992-01-20 1992-01-20 Signal level control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02749992A JP3505722B2 (en) 1992-01-20 1992-01-20 Signal level control device

Publications (2)

Publication Number Publication Date
JPH05198089A JPH05198089A (en) 1993-08-06
JP3505722B2 true JP3505722B2 (en) 2004-03-15

Family

ID=12222839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02749992A Expired - Lifetime JP3505722B2 (en) 1992-01-20 1992-01-20 Signal level control device

Country Status (1)

Country Link
JP (1) JP3505722B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4583781B2 (en) 2003-06-12 2010-11-17 アルパイン株式会社 Audio correction device
US8290181B2 (en) 2005-03-19 2012-10-16 Microsoft Corporation Automatic audio gain control for concurrent capture applications

Also Published As

Publication number Publication date
JPH05198089A (en) 1993-08-06

Similar Documents

Publication Publication Date Title
US4513177A (en) Loudspeaking telephone system
US9917562B2 (en) Systems and methods for adjusting automatic gain control
EP1580884B1 (en) Dynamic equalizing
US4908855A (en) Electronic telephone terminal having noise suppression function
US4466119A (en) Audio loudness control system
US8687824B2 (en) Acoustic processing device
JP4016206B2 (en) Audio signal processing apparatus and audio signal processing method
US7110557B2 (en) Level adjustment circuit
JP2007181136A (en) Agc circuit, agc method, program and recording medium
JP3505722B2 (en) Signal level control device
JPH05198090A (en) Level control circuit
JPH05198092A (en) Level control circuit
JPH05198091A (en) Level control circuit
JP2002141802A (en) A/d converting device
JPH04365210A (en) On-vehicle sound reproducing device
JPH09148862A (en) Auto gain control device and level display device
JPH11220345A (en) Automatic gain controller
JP3555887B2 (en) Automatic gain control device
JP3991372B2 (en) Digital signal processor
JP3067409B2 (en) Anti-howling processor
JPH07105679B2 (en) Audio equipment
JP2002299975A (en) Digital agc device
JPH10163775A (en) Limiting amplifier
JP3497813B2 (en) Digital audio dynamic range compressor
JPH0320927B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031125

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031208

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071226

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 9