Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3804582B2 - Gain control circuit and electronic volume circuit - Google Patents
[go: Go Back, main page]

JP3804582B2 - Gain control circuit and electronic volume circuit - Google Patents

Gain control circuit and electronic volume circuit Download PDF

Info

Publication number
JP3804582B2
JP3804582B2 JP2002181768A JP2002181768A JP3804582B2 JP 3804582 B2 JP3804582 B2 JP 3804582B2 JP 2002181768 A JP2002181768 A JP 2002181768A JP 2002181768 A JP2002181768 A JP 2002181768A JP 3804582 B2 JP3804582 B2 JP 3804582B2
Authority
JP
Japan
Prior art keywords
volume
input
data
zero
setting data
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 - Fee Related
Application number
JP2002181768A
Other languages
Japanese (ja)
Other versions
JP2004032091A (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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002181768A priority Critical patent/JP3804582B2/en
Publication of JP2004032091A publication Critical patent/JP2004032091A/en
Application granted granted Critical
Publication of JP3804582B2 publication Critical patent/JP3804582B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、オーディオシステム等に使用されるゲインコントロール回路及びこのゲインコントロール回路を有する電子ボリューム回路に関する。
【0002】
【従来の技術】
従来のゲインコントロール回路のゼロクロスモード時における動作の概要を、図6を参照して説明する。従来のゲインコントロール回路は、動作モードとしてゼロクロスモードと非ゼロクロスモードとを有している。図6において、(A)は入力オーディオ信号であり、(B)は制御信号CSN、(C)はボリュームデータ、(D)は音量調整部(図示せず)に実際に設定されるボリューム値(設定ボリューム値)である。ここで、入力オーディオ信号(図6(A))は、クラシック音楽等でよくあるフォルテシモからピアニシモへの変化のように、信号レベルが大から小へと変化する場合を例にとって表示してある。
【0003】
ボリュームデータは制御信号CSNがローレベルである期間に記憶部(例えば、レジスタ)に入力され、記憶・保持される。
従来のゲインコントロール回路では、非ゼロクロスモードでは、制御信号CSNの立ち上がり時点で、設定ボリューム値が切り換わるが、ゼロクロスモードでは、制御信号CSNの立ち上がり時点を基準として入力オーディオ信号のゼロクロスを検知した時点、もしくはゼロクロスが検知されない場合には、制御信号CSNの立ち上がり時点から予め設定された一定時間が経過した時点(タイマによるタイムアウト、設定値Tout)で設定ボリューム値が切り換わるように構成されている。
【0004】
図6に示すように、ユーザがボリュームつまみを操作することによりその操作量に応じたボリュームデータが、その操作タイミングを示す制御信号CSNがローレベルとなる期間に順次、0dB,−3dB,−6dB,−9dB,−12dB,−15dBと記憶部に入力され、記憶される(図6(B))。
一方、入力オーディオ信号が、時刻t1、t2でゼロクロスする(図6(A))ので、音量調整部に設定されるボリューム値は時刻t1で0dB、時刻t2で−3dBに切り換わる(図6(D))。
【0005】
しかし、入力オーディオ信号は、時刻t2以降でゼロクロスが検知されない状態が継続している。入力信号レベルには、どうしても微小DCオフセット電圧(Δ)が加わってしまうため、入力オーディオ信号レベルが小さくなると、ゼロクロスしなくなるのである。この状態下で、ボリュームデータが−6dB,−9dB,−12dB,−15dBと入力される(t3,t4,t5,tn)が、タイマの値がToutなる前に新しいデータが入力されるのでタイムアウトにならないため音量調整部に設定されたボリューム値は、−3dBのままで変化しない。−15dBが入力された時刻tn後タイマの値がToutになるまで新しいデータは入力されないので、時刻t(n+1)でタイムアウトになり、−15dBのボリュームデータが音量調整部にボリューム値として設定される。したがって、時刻t(n+1)では、設定ボリューム値は−3dBから−15dBに急激に変化することになる。
【0006】
【発明が解決しようとする課題】
上述した従来のゲインコントロール回路では、ゼロクロスモードにおいて、制御信号CSNの立ち上がり時点でタイマを起動し、この時点から予め設定された一定時間が経過したタイムアウトする時点までの時間間隔より短い時間間隔でボリュームデータが上記記憶部に入力された場合には、その間におけるボリュームデータは無視され、入力オーディオ信号のゼロクロスが検知される時点、または上記タイマがタイムアウトする時点までに上記記憶部に最後に入力されたボリュームデータが、新たに設定されるボリュームデータとして入力オーディオ信号のゼロクロスまたは上記タイマのタイムアウトにより音量調整部に設定されるように動作するために、設定ボリューム値が大きく変化し、この設定ボリューム値の急激な変化がノイズとなって、現れやすいという問題が有った。
【0007】
本発明はこのような事情に鑑みてなされたものであり、連続的にボリュームデータが入力された場合でも、ノイズの発生を防止することができるゲインコントロール回路及び電子ボリューム回路を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1に記載の発明は、入力オーディオ信号のゼロクロスを検知し、該ゼロクロス時にゼロクロス検知信号を出力するゼロクロス検知手段と、入力された音量を設定するための音量設定データを記憶する記憶手段と、前記ゼロクロス検知信号が入力されると前記記憶手段に記憶された音量設定データを読み出して前記入力オーディオ信号の音量を調整するためのボリュームデータとして出力する制御手段とを有し、前記制御手段は、前記ゼロクロス検知手段の検知出力を取り込み、前記入力オーディオ信号のゼロクロスが検知されるまでの待機期間内に新たな音量設定データが前記記憶手段に入力された時に、その入力タイミングで前記新たな音量設定データが入力される直前に前記記憶手段に入力され、記憶されている音量設定データを読み出し、該音量設定データを前記ボリュームデータとして出力することを特徴とする。
【0009】
また、請求項2に記載の発明は、請求項1に記載のゲインコントロール回路において、さらに、前記記憶手段に前記音量設定データが入力された時点で起動され、所定時間経過時点でタイムアウトするタイマとを有し、前記制御手段は、前記タイマ出力を取り込み、前記タイマがタイムアウトせず、かつ前記入力オーディオ信号がゼロクロスしない状態が継続している状態下において前記入力オーディオ信号のゼロクロスが検知されるまでの待機期間内に新たな音量設定データが前記記憶手段に入力された場合には、前記新たな音量設定データが入力される直前に前記記憶手段に入力され、記憶されている音量設定データを読み出し、該音量設定データを前記ボリュームデータとして出力することを特徴とする。
【0010】
また、請求項3に記載の発明は、請求項1または2のいずれかに記載のゲインコントロール回路を有することを特徴とする。
【0011】
【発明の実施の形態】
以下、本発明の実施形態を、図面を参照して詳細に説明する。本発明の実施形態の説明に先立ち、本発明に係るゲインコントロール回路の動作の概要を図7を参照して説明する。図7において、図6と同様に、(A)は入力オーディオ信号、(B)は制御信号CSN、(C)はボリュームデータ、(D)は音量調整部(図示せず)に実際に設定されるボリューム値(設定ボリューム値)である。ここでも入力オーディオ信号は、フォルテシモからピアニシモのように信号レベルが大から小へと変化する場合を例に表示してある。
【0012】
図7に示すように、ユーザがボリュームつまみを操作することによりその操作量に応じたボリュームデータが、その入力タイミングを示す制御信号CSNがローレベルとなる期間に順次、0dB,−3dB,−6dB,−9dB,−12dB,−15dB,−18dB,−21dBと記憶部に入力され、記憶される(図7(B),(C))。
一方、入力オーディオ信号が、時刻t10、t11でゼロクロスする(図7(A))ので、音量調整部に設定されるボリューム値は時刻t10で0dB、時刻t11で−3dBに切り換わる(図7(D))。
【0013】
また、入力オーディオ信号は、時刻t11以降でゼロクロスが検知されない状態が継続する。この状態下で、ボリュームデータが−6dB,−9dB,−12dB,−15dB,−18dB,−21dBと入力されるが、タイマの値がToutになる前に新しいデータが入力されるのでタイムアウトによるボリューム値の設定の切り換えは起きない。
しかし、本発明に係るゲインコントロール回路では、音量調整部に設定されたボリューム値は、ゼロクロスが検知されるのを待機している状態で更にボリュームデータが入力された場合には、その直前に入力されたボリュームデータで設定ボリューム値を切り替えるように動作する(t12,t13,t14,t15,t16)。
【0014】
したがって、制御信号CSNが出力される毎に起動されるタイマがタイムアウトする以前の時刻t16までの間に、設定ボリューム値を−3dB→−6dB→−9dB→−12dB→−15dB→−18dBと段階的に変化させることができ、聴感的なノイズを抑制することができる。なお、上記タイマがタイムアウトした時に設定ボリューム値が切り換わるのは従来例と同様である(t18)。
【0015】
次に、本発明が適用されるオーディオシステムの構成を図1に示す。同図において、オーディオシステムは、電子ボリューム回路1と、入力バッファ回路2と、パワーアンプ3と、スピーカ4と、ボリューム操作部としてのロータリーエンコーダ5と、各部を制御する制御部6と、制御部6の制御下に各種データを表示する表示部7とを有している。
【0016】
上記構成において、オーディオ信号が入力バッファ2を介して電子ボリューム回路1に入力され、電子ボリューム回路1で音量レベルが調整されたオーディオ信号はパワーアンプ3により電力増幅され、スピーカ4より出力される。
ユーザが図示してないボリュームつまみを操作することによりその操作量に応じてロータリーエンコーダ5より音量レベルを設定するための信号が制御部6に出力される。制御部6は、ロータリーエンコーダ5により入力された信号に基づいて音量レベルを設定するためのボリュームデータ及び、クロックを含む各種の制御信号を電子ボリューム回路1に出力する。
【0017】
電子ボリューム回路1は、制御部6より入力されたボリュームデータ及び各種制御信号に基づいて、信号Voutを、入力されたボリュームデータに応じた音量にオーディオ信号Vinを調整してパワーアンプ3に出力する。
【0018】
次に、図1における電子ボリューム回路1の具体的構成を図2に示す。図2では、説明の便宜上、1チャンネル分のみの構成を示しているが、通常は必要とするチャンネル数分に応じて構成される。図2において、本実施形態に係る電子ボリューム回路は、入力端子100より入力されるオーディオ信号を減衰させるための減衰器110と、アンプ114のゲインを設定するゲイン設定部112と、入力オーディオ信号を増幅するアンプ114と、ゼロクロス検知回路116と、発振器118と、S/P(シリアル/パラレル)変換レジスタ124より入力された音量設定データに基づいて実際に音量を調整するためのボリュームデータを出力する制御部120と、デコーダ122、126と、S/P変換レジスタ124とを有している。
【0019】
減衰器110とゲイン設定部112で音量調整部を構成している。
ゼロクロス検知回路116は、入力端子100より入力されるオーディオ信号のゼロクロスを検知し、ゼロクロス検知信号ZEROを出力する機能を有する。
発振器118は、一定時間内に入力オーディオ信号のゼロクロスが検知できないときにタイムアウトする図示してないタイマの時間計測用のクロックZCLKを生成する。
デコーダ122は、端子230、232から入力される2ビットの設定信号によりゼロクロスモードを含む4つの動作モードを指定できるようになっている。本実施形態では、ゼロクロスモードが指定されているものとする。
【0020】
S/P変換レジスタ124は、クロックSCLKに同期してシリアルデータである音量設定データSDATAIを取り込み、8ビットのパラレルデータに変換するレジスタである。
上記構成において、制御部120は、各種制御信号に基づいてゼロクロス検知回路116、発振器118を動作可能状態にするイネーブル信号ENBLをゼロクロス検知回路116及び発振器118に出力すると共に、音量設定データSDATAIに応じたボリュームデータをデコーダ126に出力する。
【0021】
デコーダ126は、入力されたボリュームデータに基づいて、減衰器110及びゲイン設定部112に対し、入力オーディオ信号の減衰量、アンプ114のゲインを指定された値になるように設定する。この結果、入力端子100から入力されたオーディオ信号Vinは、制御部120から出力されるボリュームデータに基づいた音量に調整され、出力信号Voutは、アンプ114を介して出力端102より出力される。
【0022】
次に、図2に示した電子ボリューム回路におけるゲインコントロール回路の構成を図3に示す。同図において、ゲインコントロール回路は、S/P変換レジスタ124と、S/P変換レジスタ124から出力されるボリュームデータを保持する第1のレジスタ130と、第1のレジスタ130に保持されたボリュームデータを保持する第2のレジスタ132と、マスクレジスタ(MASK)134と、NANDゲート136と、パルス生成回路138と、カウンタ140と、初期マスク回路142と、セレクタ144と、RSフリップフロップ146とを有している。第1のレジスタ130、第2のレジスタ132及びマスクレジスタ134はそれぞれ、8ビット分のフリップフロップで構成されている。
【0023】
制御信号CSNは、入力端子204より第1のレジスタのクロック端子、パルス生成回路の入力端子及びカウンタ140のリセット端子に入力されるようになっている。
パルス生成回路138は、制御信号CSNに基づいてパルス信号CCK1、CCK2を生成する。
カウンタ140は、パルス信号CCK1によりリセットされ、入力端子206より入力されるクロックZCLKを計数し、その計数値がタイムアウトとなる時間に相当する計数値に達した時点でタイムアウト信号TCKを出力するタイマとして機能する。
【0024】
初期マスク回路142は、入力端子208から入力されるゼロクロス検知回路116(図2)の検知出力ZEROのうち動作初期の出力をマスクする回路である。
セレクタ144は、入力端子210から入力される動作モード指定信号MODEによりゼロクロスモードに設定されているために、論理和素子として機能する。
【0025】
セレクタ144から出力される信号は、第2のレジスタ132に記憶・保持されているボリュームデータの書き換えを行うためのクロック信号VOLCKとして第2のレジスタ132のクロック端子に供給され、かつRSフリップフロップ146のリセット端子にリセット信号として供給される。
RSフリップフロップ146は、パルス生成回路138から出力されるパルス信号CCK1によりセット状態となり、セレクタ144から出力される信号によりリセットされ、出力端子212より図2に示すゼロクロス検知回路116及び発振器118にイネーブル信号ENBLを出力する。
【0026】
マスクレジスタ134は、通常は、第2のレジスタ132に保持されたボリュームデータをそのまま保持し、出力端子214に出力するが、第2のレジスタ132により保持された8ビットのデータが全て“1”である場合には、NANDゲート136を介してマスクレジスタ134にリセット信号が出力され、マスクレジスタ134の8ビットの出力はオール“0”となり、音量を絞るように動作するようになっている。ゼロクロス検知回路116はゼロクロス検知手段に、第1のレジスタ130及び第2のレジスタ132は本発明の記憶手段に、パルス生成回路138、カウンタ140、初期マスク回路142、セレクタ144及びRSフリップフロップ146は本発明の制御手段に、それぞれ相当する。
【0027】
上記構成からなるゲインコントロール回路の動作を図4に示すタイミングチャートを参照して説明する。上記構成において、S/P変換レジスタ124は、
クロックSCLK(図4(B))に同期して入力端子200より入力されるシリアルデータである音量設定データSDATAI(図4(C))を取り込み、8ビットのパラレルデータに変換する。
S/P変換レジスタ124により変換され、保持された8ビットのパラレルデータは、第1のレジスタ130に、制御信号CSNをクロックとして(具体的には、時刻t101での制御信号CSNの立ち上りでDATA1が、時刻t103での制御信号CSNの立ち上がりでDATA2が)記憶・保持される。
【0028】
また、パルス生成回路138により生成されるパルス信号CCK1は制御信号CSNの立ち上がりに同期して、パルス信号CCK2は制御信号CSNの立下りに同期してそれぞれ出力される(図4(D)、(E))。時刻t101でパルス信号CCK1がパルス生成回路138よりRSフリップフロップ146及びカウンタ140へ出力される。タイムアウトの期間を計数するカウンタ140はリセットされる。RSフリップフロップ146よりイネーブル信号ENBL(図4(H))が図2に示すゼロクロス検知回路116、発振器118に出力される。この結果、カウンタ140にタイムアウトの期間を計数するためのクロックZCLKが入力端子206より入力されるようになりタイムアウトの計数を開始する。
またゼロクロス検知回路116が動作可能状態になり、ゼロクロス検知を開始する。
【0029】
ゼロクロスが検知されず、タイムアウト用カウンタ140がToutの値に達する前に次の音量設定データDATA2が入力されたとする(信号TCK、ZCK共にセレクタ144に出力されていない。)。
時刻t102で制御信号CSNが立ち下がり、パルス信号CCK2がパルス生成回路138よりセレクタ144に出力される。そしてパルス信号CCK2がセレクタ144の出力信号となりVOLCKを出力する。このVOLCKは第2のレジスタ132のクロック端子にはクロックとして、かつRSフリップフロップ146のリセット端子にはリセット信号として出力される。
【0030】
このVOLCK(図4(I))によってこれまで第1のレジスタ130に保持されていたDATA1が第2のレジスタ132に転送され、記憶・保持される。また、時刻t102でイネーブル信号ENBLがローレベルとなる(図4(H))ので、ゼロクロス検知回路116、発振器118の動作は停止する。第2のレジスタ132に保持されたDATA1はボリュームデータとしてマスクレジスタ134を介して出力端子214に出力される。そして時刻t103で制御信号CSNが立ち上がると、第1のレジスタ130にDATA2が記憶・保持される。時刻t103でパルス信号CCK1が出力されると、タイムアウトの時間を計測するカウンタ140はリセットされる。
【0031】
また、時刻t104でパルス信号CCK1が立ち上がると、イネーブル信号ENBLが立ち上がり(図4(H))、発振器118及びゼロクロス検知回路116が動作可能状態になり、発振器118よりクロックZCKの出力が開始される。カウンタ140は計数を開始すると共に、ゼロクロス検知回路116はゼロクロス検知を開始する。
【0032】
その後、入力オーディオ信号のゼロクロスが検知されず、新たなボリュームデータの入力もない状態が継続している状態で、時刻t105においてタイムアウトの期間を計数するカウンタ140の計数内容が設定値に達すると、カウンタ140よりタイムアウト信号TCKが出力され(図4(F))、セレクタ144よりVOLCKとして出力される。このVOLCKは、第2のレジスタ132にはクロックとして、またRSフリップフロップ146のリセット端子にはリセット信号として出力される。この結果、第2のレジスタ132にDATA2が転送され、記憶・保持されると共に、イネーブル信号ENBLがローレベルとなる。したがって、マスクレジスタ134を介して出力端子214よりボリュームデータとしてDATA2が出力される。
【0033】
従来のゲインコントロール回路では、時刻t102〜t103において、次の音量設定データDATA2が入力されても、設定ボリューム値の置き換えがなされない。
すなわち、図4における時刻t102において第2のレジスタ132にデータを書き換えるためのクロック信号VOCLKに相当する信号が出力されない。例えば、図4(I)VOCLK(old)のようになっている。第2のレジスタ(132に相当する)に記憶・保持されているのはDATA1のままである。
【0034】
すなわち、図5に示すように、第1のレジスタ130には従来例、本発明ともに、時刻t101、t103でそれぞれ、DATA1,DATA2が書き込まれるが、第2のレジスタ132には、従来例では時刻t105でDATA2が書き込まれるのに対して、本発明では、時刻t103でDATA1が書き込まれ、次いで、時刻t105でDATA2が書き込まれることとなる。
【0035】
本実施形態に係るゲインコントロール回路によれば、記憶手段としてのレジスタ群に連続的にボリュームデータが入力された場合でも、実際に音量調整部に出力される設定ボリューム値は段階的に切り換わるように出力されるので、設定ボリューム値が急激に変化することに起因する聴感的なノイズの発生を防止することができる。
また、上記ゲインコントロール回路を有する電子ボリューム回路によれば、連続的にボリュームデータが入力された場合でも、実際に音量調整部に出力される設定ボリューム値は段階的に切り換わるように出力されるので、設定ボリューム値が急激に変化することに起因する聴感的なノイズの発生を防止することができる。
【0036】
【発明の効果】
本発明に係るゲインコントロール回路によれば、連続的にボリュームデータが入力された場合でも、実際に音量調整部に出力される設定ボリューム値は段階的に切り換わるように出力されるので、設定ボリューム値が急激に変化することに起因する聴感的なノイズの発生を防止することができる。
本発明に係る電子ボリューム回路によれば、上記ゲインコントロール回路を有するので、連続的にボリュームデータが入力された場合でも、実際に音量調整部に出力される設定ボリューム値は段階的に切り換わるように出力されるので、設定ボリューム値が急激に変化することに起因する聴感的なノイズの発生を防止することができる。
【図面の簡単な説明】
【図1】 本発明が適用されるオーディオシステムの概略構成を示すブロック図。
【図2】 図1に示したオーディオシステムにおける電子ボリューム回路の具体的構成を示すブロック図。
【図3】 図2に示した電子ボリューム回路における本発明の実施形態に係るゲインコントロール回路の構成を示すブロック図。
【図4】 図3に示した本発明の実施形態に係るゲインコントロール回路の動作状態を示すタイミングチャート。
【図5】 本発明に実施形態に係るゲインコントロール回路の動作を従来例との比較において示した説明図。
【図6】 従来のゲインコントロール回路の動作の概要を示す説明図。
【図7】 本発明に係るゲインコントロール回路の動作の概要を示す説明図。
【符号の説明】
1…電子ボリューム回路、110…減衰器、112…ゲイン設定部、114…アンプ、116…ゼロクロス検知回路、118…発振器、120…制御部、122、126…デコーダ、124…S/P変換レジスタ、130…第1のレジスタ、132…第2のレジスタ、134…マスクレジスタ、138…パルス生成回路、140…カウンタ、142…初期マスク回路、144…セレクタ、146…RSフリップフロップ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gain control circuit used in an audio system or the like and an electronic volume circuit having the gain control circuit.
[0002]
[Prior art]
An outline of the operation of the conventional gain control circuit in the zero cross mode will be described with reference to FIG. The conventional gain control circuit has a zero cross mode and a non-zero cross mode as operation modes. In FIG. 6, (A) is an input audio signal, (B) is a control signal CSN, (C) is volume data, and (D) is a volume value actually set in a volume adjusting unit (not shown). Setting volume value). Here, the input audio signal (FIG. 6A) is displayed by taking as an example a case where the signal level changes from large to small, such as a change from Fortissimo to Pianissimo, which is common in classical music and the like.
[0003]
Volume data is input to a storage unit (for example, a register) and stored and held during a period when the control signal CSN is at a low level.
In the conventional gain control circuit, in the non-zero cross mode, the set volume value is switched at the rise time of the control signal CSN, but in the zero cross mode, when the zero cross of the input audio signal is detected with reference to the rise time of the control signal CSN. Alternatively, when a zero cross is not detected, the set volume value is switched when a predetermined time elapses from the rising point of the control signal CSN (timeout by timer, set value Tout).
[0004]
As shown in FIG. 6, when the user operates the volume knob, the volume data corresponding to the operation amount is sequentially 0 dB, −3 dB, −6 dB in the period when the control signal CSN indicating the operation timing is at the low level. , −9 dB, −12 dB, and −15 dB to the storage unit and stored (FIG. 6B).
On the other hand, since the input audio signal zero-crosses at times t1 and t2 (FIG. 6A), the volume value set in the volume adjustment unit is switched to 0 dB at time t1 and −3 dB at time t2 (FIG. 6 ( D)).
[0005]
However, the input audio signal continues to be in a state where no zero cross is detected after time t2. Since a very small DC offset voltage (Δ) is inevitably added to the input signal level, zero crossing does not occur when the input audio signal level decreases. Under this state, volume data is input as -6 dB, -9 dB, -12 dB, and -15 dB (t3, t4, t5, tn), but a new data is input before the timer value becomes Tout, so a timeout occurs. Therefore, the volume value set in the volume adjustment unit remains at −3 dB and does not change. Since new data is not input until the timer value reaches Tout after the time tn when −15 dB is input, the time-out occurs at time t (n + 1), and the volume data of −15 dB is set as a volume value in the volume adjustment unit. . Accordingly, at the time t (n + 1), the set volume value changes rapidly from -3 dB to -15 dB.
[0006]
[Problems to be solved by the invention]
In the above-described conventional gain control circuit, in the zero cross mode, a timer is started at the time of rising of the control signal CSN, and the volume is set at a time interval shorter than the time interval from this point to the time point at which a predetermined time has elapsed. When data is input to the storage unit, the volume data in the meantime is ignored, and the last input is made to the storage unit when the zero cross of the input audio signal is detected or the timer times out. In order for the volume data to be set as the volume data to be set in the volume adjusting unit by the zero crossing of the input audio signal or the time-out of the timer as the newly set volume data, the set volume value changes greatly. Sudden changes in noise I, a problem that it is easy to appear there.
[0007]
The present invention has been made in view of such circumstances, and it is an object of the present invention to provide a gain control circuit and an electronic volume circuit that can prevent the occurrence of noise even when volume data is continuously input. And
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the invention described in claim 1 detects a zero cross of an input audio signal and outputs a zero cross detection signal at the time of the zero cross, and a sound volume for setting an input sound volume. Storage means for storing setting data; and control means for reading the volume setting data stored in the storage means when the zero cross detection signal is input and outputting the volume data for adjusting the volume of the input audio signal; The control means captures the detection output of the zero cross detection means, and when new volume setting data is input to the storage means within a waiting period until the zero cross of the input audio signal is detected , is input to the storage means immediately before the new volume setting data is inputted by the input timing, storage Reading volume setting data which is, and outputs the the sound volume setting data as the volume data.
[0009]
According to a second aspect of the present invention, in the gain control circuit according to the first aspect of the present invention, a timer that is activated when the volume setting data is input to the storage unit and times out when a predetermined time elapses is provided. The control means captures the timer output, until the timer does not time out and the input audio signal does not zero cross until the zero cross of the input audio signal is detected When the new volume setting data is input to the storage means within the waiting period, the stored volume setting data is read and input to the storage means immediately before the new volume setting data is input. The volume setting data is output as the volume data.
[0010]
According to a third aspect of the present invention, the gain control circuit according to the first or second aspect is provided.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Prior to the description of the embodiment of the present invention, an outline of the operation of the gain control circuit according to the present invention will be described with reference to FIG. In FIG. 7, as in FIG. 6, (A) is the input audio signal, (B) is the control signal CSN, (C) is the volume data, and (D) is actually set in the volume adjuster (not shown). Volume value (set volume value). Here too, the input audio signal is displayed as an example in which the signal level changes from large to small, such as from Fortissimo to Pianissimo.
[0012]
As shown in FIG. 7, when the user operates the volume knob, the volume data corresponding to the operation amount is sequentially 0 dB, -3 dB, -6 dB during the period when the control signal CSN indicating the input timing is at the low level. , −9 dB, −12 dB, −15 dB, −18 dB, and −21 dB are stored in the storage unit (FIGS. 7B and 7C).
On the other hand, since the input audio signal zero-crosses at times t10 and t11 (FIG. 7A), the volume value set in the volume adjustment unit is switched to 0 dB at time t10 and to -3 dB at time t11 (FIG. 7 ( D)).
[0013]
Further, the input audio signal continues in a state where zero crossing is not detected after time t11. Under this condition, the volume data is input as -6 dB, -9 dB, -12 dB, -15 dB, -18 dB, and -21 dB. However, since new data is input before the timer value becomes Tout, There is no switching of value settings.
However, in the gain control circuit according to the present invention, the volume value set in the volume adjustment unit is input immediately before the volume data is input while waiting for the detection of zero crossing. The set volume value is switched by the volume data thus set (t12, t13, t14, t15, t16).
[0014]
Therefore, every time the control signal CSN is output, the set volume value is changed from −3 dB → −6 dB → −9 dB → −12 dB → −15 dB → −18 dB until time t16 before the timer expires. And auditory noise can be suppressed. The set volume value is switched when the timer times out, as in the conventional example (t18).
[0015]
Next, the configuration of an audio system to which the present invention is applied is shown in FIG. In the figure, an audio system includes an electronic volume circuit 1, an input buffer circuit 2, a power amplifier 3, a speaker 4, a rotary encoder 5 as a volume operation unit, a control unit 6 that controls each unit, and a control unit. And a display unit 7 for displaying various data under the control of 6.
[0016]
In the above configuration, an audio signal is input to the electronic volume circuit 1 via the input buffer 2, and the audio signal whose volume level is adjusted by the electronic volume circuit 1 is power amplified by the power amplifier 3 and output from the speaker 4.
When the user operates a volume knob (not shown), a signal for setting the volume level is output from the rotary encoder 5 to the control unit 6 according to the operation amount. The control unit 6 outputs volume data for setting the volume level based on the signal input by the rotary encoder 5 and various control signals including a clock to the electronic volume circuit 1.
[0017]
The electronic volume circuit 1 adjusts the audio signal Vin to a volume corresponding to the input volume data and outputs the signal Vout to the power amplifier 3 based on the volume data input from the control unit 6 and various control signals. .
[0018]
Next, a specific configuration of the electronic volume circuit 1 in FIG. 1 is shown in FIG. In FIG. 2, for the sake of convenience of explanation, the configuration for only one channel is shown, but it is usually configured according to the required number of channels. In FIG. 2, the electronic volume circuit according to this embodiment includes an attenuator 110 for attenuating an audio signal input from the input terminal 100, a gain setting unit 112 for setting the gain of an amplifier 114, and an input audio signal. Volume data for actually adjusting the volume is output based on the volume setting data input from the amplifier 114 to be amplified, the zero cross detection circuit 116, the oscillator 118, and the S / P (serial / parallel) conversion register 124. A control unit 120, decoders 122 and 126, and an S / P conversion register 124 are provided.
[0019]
The attenuator 110 and the gain setting unit 112 constitute a volume adjustment unit.
The zero cross detection circuit 116 has a function of detecting a zero cross of an audio signal input from the input terminal 100 and outputting a zero cross detection signal ZERO.
The oscillator 118 generates a clock ZCLK for time measurement of a timer (not shown) that times out when a zero cross of the input audio signal cannot be detected within a certain time.
The decoder 122 can designate four operation modes including a zero cross mode by a 2-bit setting signal input from the terminals 230 and 232. In the present embodiment, it is assumed that the zero cross mode is designated.
[0020]
The S / P conversion register 124 is a register that takes in the volume setting data SDATAI that is serial data in synchronization with the clock SCLK and converts it into 8-bit parallel data.
In the above configuration, the control unit 120 outputs an enable signal ENBL that enables the zero-cross detection circuit 116 and the oscillator 118 to be operable based on various control signals to the zero-cross detection circuit 116 and the oscillator 118, and according to the volume setting data SDATAI. The obtained volume data is output to the decoder 126.
[0021]
Based on the input volume data, the decoder 126 sets the attenuation of the input audio signal and the gain of the amplifier 114 to the specified values for the attenuator 110 and the gain setting unit 112. As a result, the audio signal Vin input from the input terminal 100 is adjusted to a volume based on the volume data output from the control unit 120, and the output signal Vout is output from the output terminal 102 via the amplifier 114.
[0022]
Next, FIG. 3 shows the configuration of the gain control circuit in the electronic volume circuit shown in FIG. In the figure, the gain control circuit includes an S / P conversion register 124, a first register 130 that holds volume data output from the S / P conversion register 124, and volume data held in the first register 130. And a second register 132, a mask register (MASK) 134, a NAND gate 136, a pulse generation circuit 138, a counter 140, an initial mask circuit 142, a selector 144, and an RS flip-flop 146. is doing. Each of the first register 130, the second register 132, and the mask register 134 is composed of a flip-flop for 8 bits.
[0023]
The control signal CSN is input from the input terminal 204 to the clock terminal of the first register, the input terminal of the pulse generation circuit, and the reset terminal of the counter 140.
The pulse generation circuit 138 generates pulse signals CCK1 and CCK2 based on the control signal CSN.
The counter 140 is reset by the pulse signal CCK1, counts the clock ZCLK input from the input terminal 206, and outputs a time-out signal TCK when the count value reaches a count value corresponding to a time-out time. Function.
[0024]
The initial mask circuit 142 is a circuit that masks the initial output of the detection output ZERO of the zero cross detection circuit 116 (FIG. 2) input from the input terminal 208.
The selector 144 functions as a logical sum element because it is set to the zero cross mode by the operation mode designation signal MODE input from the input terminal 210.
[0025]
The signal output from the selector 144 is supplied to the clock terminal of the second register 132 as a clock signal VOLCK for rewriting the volume data stored and held in the second register 132, and the RS flip-flop 146. Is supplied as a reset signal to the reset terminal.
The RS flip-flop 146 is set by the pulse signal CCK1 output from the pulse generation circuit 138, reset by the signal output from the selector 144, and enabled to the zero-cross detection circuit 116 and the oscillator 118 shown in FIG. The signal ENBL is output.
[0026]
The mask register 134 normally holds the volume data held in the second register 132 as it is and outputs it to the output terminal 214, but all the 8-bit data held by the second register 132 is “1”. In this case, a reset signal is output to the mask register 134 via the NAND gate 136, and the 8-bit output of the mask register 134 is all “0”, so that the volume is reduced. The zero cross detection circuit 116 is a zero cross detection means, the first register 130 and the second register 132 are storage means of the present invention, a pulse generation circuit 138, a counter 140, an initial mask circuit 142, a selector 144, and an RS flip-flop 146. Each corresponds to the control means of the present invention.
[0027]
The operation of the gain control circuit having the above configuration will be described with reference to the timing chart shown in FIG. In the above configuration, the S / P conversion register 124 is
Volume setting data SDATAI (FIG. 4C), which is serial data input from the input terminal 200 in synchronization with the clock SCLK (FIG. 4B), is taken in and converted into 8-bit parallel data.
The 8-bit parallel data converted and held by the S / P conversion register 124 is sent to the first register 130 using the control signal CSN as a clock (specifically, DATA1 at the rising edge of the control signal CSN at time t101). However, DATA2 is stored and held at the rise of the control signal CSN at time t103.
[0028]
In addition, the pulse signal CCK1 generated by the pulse generation circuit 138 is output in synchronization with the rising edge of the control signal CSN, and the pulse signal CCK2 is output in synchronization with the falling edge of the control signal CSN (FIGS. 4D and 4D). E)). At time t101, the pulse signal CCK1 is output from the pulse generation circuit 138 to the RS flip-flop 146 and the counter 140. The counter 140 that counts the timeout period is reset. The enable signal ENBL (FIG. 4H) is output from the RS flip-flop 146 to the zero cross detection circuit 116 and the oscillator 118 shown in FIG. As a result, the clock ZCLK for counting the timeout period is input to the counter 140 from the input terminal 206, and the timeout counting is started.
Also, the zero cross detection circuit 116 becomes operable and starts zero cross detection.
[0029]
Assume that zero crossing is not detected and the next volume setting data DATA2 is input before the timeout counter 140 reaches the value of Tout (the signals TCK and ZCK are not output to the selector 144).
At time t102, the control signal CSN falls, and the pulse signal CCK2 is output from the pulse generation circuit 138 to the selector 144. The pulse signal CCK2 becomes the output signal of the selector 144 and outputs VOLCK. This VOLCK is output as a clock to the clock terminal of the second register 132 and as a reset signal to the reset terminal of the RS flip-flop 146.
[0030]
Due to this VOLCK (FIG. 4I), DATA1 previously held in the first register 130 is transferred to the second register 132 and stored / held. Further, since the enable signal ENBL becomes low level at time t102 (FIG. 4H), the operations of the zero cross detection circuit 116 and the oscillator 118 are stopped. DATA1 held in the second register 132 is output to the output terminal 214 via the mask register 134 as volume data. When the control signal CSN rises at time t103, DATA2 is stored and held in the first register 130. When the pulse signal CCK1 is output at time t103, the counter 140 that measures the timeout time is reset.
[0031]
When the pulse signal CCK1 rises at time t104, the enable signal ENBL rises (FIG. 4H), the oscillator 118 and the zero cross detection circuit 116 become operable, and the output of the clock ZCK is started from the oscillator 118. . The counter 140 starts counting, and the zero cross detection circuit 116 starts zero cross detection.
[0032]
Thereafter, when the zero crossing of the input audio signal is not detected and no new volume data is input, and the count content of the counter 140 that counts the timeout period reaches a set value at time t105, A time-out signal TCK is output from the counter 140 (FIG. 4F), and output from the selector 144 as VOLCK. This VOLCK is output as a clock to the second register 132 and as a reset signal to the reset terminal of the RS flip-flop 146. As a result, DATA2 is transferred to and stored in the second register 132, and the enable signal ENBL becomes low level. Therefore, DATA 2 is output as volume data from the output terminal 214 via the mask register 134.
[0033]
In the conventional gain control circuit, even when the next volume setting data DATA2 is input at time t102 to t103, the set volume value is not replaced.
That is, a signal corresponding to the clock signal VOCLK for rewriting data in the second register 132 is not output at time t102 in FIG. For example, it is as shown in FIG. 4 (I) VOCLK (old). What is stored and held in the second register (corresponding to 132) remains DATA1.
[0034]
That is, as shown in FIG. 5, DATA1 and DATA2 are written in the first register 130 at times t101 and t103, respectively, in both the conventional example and the present invention, but the second register 132 is written in time in the conventional example. Whereas DATA2 is written at t105, in the present invention, DATA1 is written at time t103, and then DATA2 is written at time t105.
[0035]
According to the gain control circuit of this embodiment, even when volume data is continuously input to the register group as the storage unit, the set volume value that is actually output to the volume adjustment unit is switched in stages. Therefore, it is possible to prevent audible noise caused by a sudden change in the set volume value.
In addition, according to the electronic volume circuit having the gain control circuit, even when volume data is continuously input, the set volume value that is actually output to the volume adjustment unit is output so as to be switched in stages. Therefore, it is possible to prevent the generation of audible noise due to a sudden change in the set volume value.
[0036]
【The invention's effect】
According to the gain control circuit of the present invention, even when volume data is continuously input, the set volume value that is actually output to the volume adjusting unit is output so as to be switched in stages. It is possible to prevent the generation of auditory noise due to a sudden change in value.
According to the electronic volume circuit of the present invention, since the gain control circuit is provided, even when volume data is continuously input, the set volume value that is actually output to the volume adjustment unit is switched in stages. Therefore, it is possible to prevent audible noise caused by a sudden change in the set volume value.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an audio system to which the present invention is applied.
FIG. 2 is a block diagram showing a specific configuration of an electronic volume circuit in the audio system shown in FIG.
3 is a block diagram showing a configuration of a gain control circuit according to an embodiment of the present invention in the electronic volume circuit shown in FIG. 2;
4 is a timing chart showing an operating state of the gain control circuit according to the embodiment of the present invention shown in FIG. 3;
FIG. 5 is an explanatory diagram showing an operation of the gain control circuit according to the embodiment of the present invention in comparison with a conventional example.
FIG. 6 is an explanatory diagram showing an outline of the operation of a conventional gain control circuit.
FIG. 7 is an explanatory diagram showing an outline of the operation of the gain control circuit according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Electronic volume circuit, 110 ... Attenuator, 112 ... Gain setting part, 114 ... Amplifier, 116 ... Zero cross detection circuit, 118 ... Oscillator, 120 ... Control part, 122, 126 ... Decoder, 124 ... S / P conversion register, DESCRIPTION OF SYMBOLS 130 ... 1st register, 132 ... 2nd register, 134 ... Mask register, 138 ... Pulse generation circuit, 140 ... Counter, 142 ... Initial mask circuit, 144 ... Selector, 146 ... RS flip-flop

Claims (3)

入力オーディオ信号のゼロクロスを検知し、該ゼロクロス時にゼロクロス検知信号を出力するゼロクロス検知手段と、
入力された音量を設定するための音量設定データを記憶する記憶手段と、
前記ゼロクロス検知信号が入力されると前記記憶手段に記憶された音量設定データを読み出して前記入力オーディオ信号の音量を調整するためのボリュームデータとして出力する制御手段とを有し、
前記制御手段は、前記ゼロクロス検知手段の検知出力を取り込み、前記入力オーディオ信号のゼロクロスが検知されるまでの待機期間内に新たな音量設定データが前記記憶手段に入力された時に、前記新たな音量設定データが入力される直前に前記記憶手段に入力され、記憶されている音量設定データを読み出し、該音量設定データを前記ボリュームデータとして出力することを特徴とするゲインコントロール回路。
Zero-cross detection means for detecting a zero-cross of the input audio signal and outputting a zero- cross detection signal at the time of the zero-cross ,
Storage means for storing volume setting data for setting the input volume;
Control means for reading the volume setting data stored in the storage means when the zero cross detection signal is input and outputting the volume data for adjusting the volume of the input audio signal;
Wherein said control means captures the detection output of said zero-cross detection means, said at input new volume setting data within the waiting period until the zero crossing of the audio signal is detected is input to the storage means, the new volume A gain control circuit that reads the stored volume setting data that is input to the storage means immediately before the setting data is input, and outputs the volume setting data as the volume data.
さらに、前記記憶手段に前記音量設定データが入力された時点で起動され、所定時間経過時点でタイムアウトするタイマとを有し、
前記制御手段は、前記タイマ出力を取り込み、前記タイマがタイムアウトせず、かつ前記入力オーディオ信号がゼロクロスしない状態が継続している状態下において前記入力オーディオ信号のゼロクロスが検知されるまでの待機期間内に新たな音量設定データが前記記憶手段に入力された場合には、前記新たな音量設定データが入力される直前に前記記憶手段に入力され、記憶されている音量設定データを読み出し、該音量設定データを前記ボリュームデータとして出力することを特徴とする請求項1に記載のゲインコントロール回路。
And a timer that is activated when the volume setting data is input to the storage unit and times out when a predetermined time elapses.
The control means captures the timer output, and waits until a zero cross of the input audio signal is detected in a state where the timer does not time out and the input audio signal does not zero cross. When new volume setting data is input to the storage means, the volume setting data input to and stored in the storage means immediately before the new volume setting data is input is read and the volume setting data is read. The gain control circuit according to claim 1, wherein data is output as the volume data.
請求項1または2のいずれかに記載のゲインコントロール回路を有することを特徴とする電子ボリューム回路。  An electronic volume circuit comprising the gain control circuit according to claim 1.
JP2002181768A 2002-06-21 2002-06-21 Gain control circuit and electronic volume circuit Expired - Fee Related JP3804582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002181768A JP3804582B2 (en) 2002-06-21 2002-06-21 Gain control circuit and electronic volume circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002181768A JP3804582B2 (en) 2002-06-21 2002-06-21 Gain control circuit and electronic volume circuit

Publications (2)

Publication Number Publication Date
JP2004032091A JP2004032091A (en) 2004-01-29
JP3804582B2 true JP3804582B2 (en) 2006-08-02

Family

ID=31178526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002181768A Expired - Fee Related JP3804582B2 (en) 2002-06-21 2002-06-21 Gain control circuit and electronic volume circuit

Country Status (1)

Country Link
JP (1) JP3804582B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6674608B2 (en) * 2015-07-22 2020-04-01 新日本無線株式会社 Volume control device

Also Published As

Publication number Publication date
JP2004032091A (en) 2004-01-29

Similar Documents

Publication Publication Date Title
US7450726B2 (en) Headset detector in a device generating audio signals
KR100496412B1 (en) Analog signal recording and playback integrated circuit and message management system
JP6857726B2 (en) Hearing protection methods, devices and systems
JP2001067099A (en) Voice reproducing device
JP2005026868A (en) Audio signal recording device
JP2005159871A (en) Pop noise reduction circuit
JP3804582B2 (en) Gain control circuit and electronic volume circuit
JP4662860B2 (en) Pop noise reduction circuit
CN103149402B (en) A kind of oscillograph with waveform recording playback function
CN100555128C (en) Electronic device and method for realizing intelligent wake-up mode function
US7003682B2 (en) Power management method for setting clock circuit into power down mode if analog front end circuit is sampling input signals in an electronic device
US20080253585A1 (en) Apparatus and method for controlling volume
JP2591656B2 (en) Volume and sound quality adjustment device
JP4804390B2 (en) Rotation amount determination device and computer program used for the device
JP2001028525A (en) Volume control device
JP2001028524A (en) Volume control device
CN220491442U (en) Learning machine control system
JP2002354373A (en) Television receiver
CN106610812A (en) Control method and control device
JP3669750B2 (en) Microcomputer
JP2004023395A (en) Gain control circuit and electronic volume circuit
JPH05720B2 (en)
JP2000339939A (en) Audio recording/reproducing apparatus
JPH01221023A (en) sound equipment
KR19990040077U (en) Battery for cell-phone with voice recording function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040705

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060327

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060418

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060501

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100519

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110519

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130519

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140519

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees