JP2004222077A - Electronic volume control method and electronic volume controlling apparatus - Google Patents
Electronic volume control method and electronic volume controlling apparatus Download PDFInfo
- Publication number
- JP2004222077A JP2004222077A JP2003008696A JP2003008696A JP2004222077A JP 2004222077 A JP2004222077 A JP 2004222077A JP 2003008696 A JP2003008696 A JP 2003008696A JP 2003008696 A JP2003008696 A JP 2003008696A JP 2004222077 A JP2004222077 A JP 2004222077A
- Authority
- JP
- Japan
- Prior art keywords
- value
- volume
- target value
- control
- target
- 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.)
- Granted
Links
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Control Of Amplification And Gain Control (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
この発明は、エンコーダによる電子ボリュームの制御方式の改良に関する。
【0002】
【従来の技術】
従来のロータリエンコーダによる電子ボリューム制御回路は、ロータリエンコーダが発生したパルス数により電子ボリュームをリニアに制御していたため、出力されるオーディオ信号をミュート状態から通常音量へ上昇させたり、可聴音量からミュート状態へ消音させる操作性がよくないという問題点があった。
【0003】
そこで、ロータリエンコーダの操作速度および現在の音量レベルに基づいて変化量を決定して音量制御するものが提案されている(たとえば特許文献1)。
【0004】
【特許文献1】
特開2001−28525公報
【0005】
【発明が解決しようとする課題】
しかし、上記先行技術では、決定された音量制御値をそのまま電子ボリュームに入力設定しているため、突然電子ボリュームの音量が変化して不連続で聞き苦しい音量変化になってしまうという問題点があった。また、操作速度を音量制御に反映すれば素早く音量を変化させることができる反面、不慣れな利用者が操作した場合には、音量調節が行き過ぎてしまう(オーバーシュート)という問題点もあった。
【0006】
この発明の目的は、視聴者に不連続な音量変化で不快感を与えないボリューム制御を実現するとともに、利用者の操作意図を反映したボリューム制御を可能にすることにある。
【0007】
【課題を解決するための手段】
この発明は、利用者の操作量に応じた数のパルスを発生するエンコーダを用いて電子ボリュームの制御値を制御する方法であって、
エンコーダの操作速度に基づいて速度係数を割り出す速度検出手順と、
エンコーダが発生したパルス数と前記速度係数を乗算することによって操作値を算出する操作値算出手順と、
この操作値に基づいて目標値を増減させる手順であって、そのときの操作値の大きさに応じて設定されたステップ値を操作値から減算するとともに、そのときの制御値に応じて前記設定されたステップ値の上限を制限した値を目標値に加算する目標値設定手順と、
そのときの制御値の大きさおよび制御値と目標値との差に応じてフェードステップ値を決定し、このフェードステップ値で制御値を増減することにより、前記目標値に制御値を収束させてゆくフェード手順と、
を有することを特徴とする。
【0008】
また、この発明は、利用者の操作量に応じた数のパルスを発生するエンコーダと、
エンコーダの操作速度に基づいて速度係数を割り出す速度検出手順、エンコーダが発生したパルス数と前記速度係数を乗算することによって操作値を算出する操作値算出手順、この操作値に基づいて目標値を増減させる手順であって、そのときの操作値の大きさに応じて設定されたステップ値を操作値から減算するとともに、そのときの制御値に応じて前記設定されたステップ値の上限を制限した値を目標値に加算する目標値設定手順、および、そのときの制御値の大きさおよび制御値と目標値との差に応じてフェードステップ値を決定し、このフェードステップ値で制御値を増減することにより、前記目標値に制御値を収束させてゆくフェード手順、を実行する制御部と、
を備えたことを特徴とする。
【0009】
≪作用≫
この発明では、利用者によるエンコーダの操作に応じて決定される「操作値」により音量制御の「目標値」を算出し、電子ボリュームの音量制御動作のパラメータ、すなわち出力信号の音量である「制御値」をこの「目標値」に収束させるように制御する。
【0010】
上記速度検出手順および操作値算出手順によって、操作速度を操作値の決定に寄与させることができるため、素早く操作したときは、ゆっくり操作したときよりも同じ操作量でも操作値を大きくすることができ、また逆にゆっくり操作したときは、素早く操作したときよりも同じ操作量でも操作値を小さくすることができる。そのため、大きく音量を変化させたいときに素早く動かし、微妙に音量を調整したいときにはゆっくり動かすという利用者の操作態様を操作値に反映することができる。
【0011】
また、上記目標値設定手順は、操作値に応じて設定されたステップ値を操作値から減算するとともに、ステップ値を目標値に加算することにより、操作値を目標値に反映させる。このとき、先に操作値から現在したステップ値をそのまま目標値に加算するとは限らず、このステップ値の上限をそのときの制御値に応じて制限する。すなわち、制御値の値が大きいときには操作値から減算したステップ値の大きさにかかわらず目標値に加算するステップ値を小さいものとする。これにより、制御値(音量)が大きいときには、利用者がエンコーダを速く大きく操作して操作値が大きくなってもそのすべてが目標値に反映されず、利用者の操作がスリップしているような態様で目標値の設定が行われる。これにより、オーバーシュートすることなく利用者の操作意図どおりに所望の制御値(音量)を設定できるようになる。
【0012】
ここで、制御値に応じてステップ値の上限を制限する態様として以下のような音量エリアによる制御態様がある。利用者がよく利用する制御値である通常音量(たとえば−50dB)より小さい場合には、上限を制限せずに操作値から減算したステップ値をそのまま目標値に加算し、通常音量域(たとえば−50dB以上−15dB未満)では、目標値に加算するステップ値の上限を緩やかに制限し、大音量域(たとえば−15dB以上)では、上限を厳格に制限するようにする。このようにすることにより、利用者の操作に応じて、ミュート(非可聴)域から通常音量までは速やかに音量を上昇させることができるとともに、通常音量域では、操作による音量変化が過敏でなくなるため微妙な調整も可能になり、さらに、大音量域では、誤って大音響を出力してしまわないように操作に対する応答性を鈍くすることができる。このようにこの手順によれば、利用者の操作性と安全性を両立させることができる。
【0013】
また、フェード手順では、フェードステップ値を設定するとき、目標値と制御値との差を考慮することにより、利用者の操作によって設定された目標値に速やかに追従させることができる。また、フェードステップ値を設定するとき、制御値の大きさを考慮することにより、非可聴域(たとえば−70dB未満)では目標値と制御値との差に応じた大きなステップで制御することによって追従性をよくし、可聴域(たとえば−70dB以上)では、その音量に応じて順次フェードステップ値を小さくしてゆくことにより、電子ボリュームに特有の不連続な音量変化による不自然さを目立たなくすることができる。このようにこの手順によれば、制御値(音量)の操作値に対する追従性と音量変化の自然さを両立させることができる。
【0014】
以上のように、この発明によれば、利用者の操作性、特に非可聴域から音量を上げてゆくときの迅速さ、および、通常音量域での微妙な操作を可能にするとともに、大音量域での操作の安全性および可聴域における音量変化の滑らかさを実現することができる。
【0015】
【発明の実施の形態】
図面を参照してこの発明の実施形態であるAVアンプのボリューム制御装置について説明する。
【0016】
図1は、同ボリューム制御装置のブロック図である。AVアンプ1のボリューム制御部には、図示のように、マイクロコンピュータ10、ロータリエンコーダ11、および、電子ボリュームLSI(以下、単に「電子ボリューム」という)12が設けられている。マイクロコンピュータ10は、ボリューム制御専用であってもよく、他の処理(たとえば表示制御など)と併用であってもよい。ロータリエンコーダ11には、図示しない回転つまみが設けられており、利用者が回転つまみを回転させることにより、その回転方向、回転角度に応じたパルスがロータリエンコーダ11から出力される。電子ボリューム12は、アナログ回路であるVCAを内蔵したハイブリッドLSIであり、入力されたオーディオ信号をアッテネート(または増幅)して出力する。アッテネート量はマイクロコンピュータ10から入力される音量制御のためのパラメータであるボリューム値(制御値)によって設定され、−99.5dB〜0dBまで200ステップに制御することができる。
【0017】
ロータリエンコーダ11が操作され、パルスが発生すると(A/Bのステータスが遷移すると)、そのパルスがマイクロコンピュータ10に読み取られる。マイクロコンピュータ10は、そのパルスのカウント値および回転速度に基づいて音量制御パラメータを決定する。そして、この音量制御パラメータを電子ボリューム12に設定することにより、電子ボリューム12から出力されるオーディオ信号の音量が制御される。
【0018】
以下このマイクロコンピュータ10が実行する処理動作について説明する。マイクロコンピュータ10は、ロータリエンコーダ11の回転を検出して累積パルス値(操作値)を算出するパルス処理動作(図2)、この累積パルス値に基づいて目標値を設定する目標値設定処理(図3)、および、音量制御パラメータ(制御値)を目標値に収束させるフェード処理(図4)を並列に実行している。これら3つの処理は、累積パルス値(操作値)、目標値、および、ボリューム値(制御値)を受け渡ししながらそれぞれ独立に動作している。
【0019】
パルス処理動作においては、ロータリエンコーダ11の回転角度(パルス数)だけでなく、回転速度に基づいて割り出した速度係数も考慮して累積パルス値(操作値)を決定する。具体的には、一定時間に発生したパルス数から回転速度を割り出し、この回転速度を11段階の速度係数(1〜11)に変換する。
【0020】
また、目標値設定処理では、累積パルス値に基づいて目標値を更新する。基本的には累積パルス値を所定のステップ値ずつ累積パルス値から減算するとともに目標値に加算する処理動作を50msごとに繰り返して累積パルス値を目標値に移動させるが、ボリューム値が通常音量(−50dB)以上の場合には、1回の処理動作で目標値に加算する値の上限を3に制限する。したがって、このとき、累積パルス値から減算されたステップ値が3より大きかったときには、その差分だけスリップ(ズレ)が生じることになる。このスリップにより利用者の過剰操作によるオーバーシュートを防止している。また、ボリューム値が大音量域(−15dB)以上の場合には、1回の処理動作で目標値に加算する値の上限を1に制限する。このスリップで、大音量時に誤った操作があっても急な音量増加を防止している。
【0021】
また、フェード処理は、10msごとに実行される処理である。すなわち、上記目標値設定処理が1回実行される間隔に5回実行される。この処理では、電子ボリューム12を制御するボリューム値を目標値に追従させるが、この追従のために加算するフェードステップ値を、非可聴域(−71dB以下)では目標値との差に応じて5ステップ、3ステップまたは1ステップとし、可聴域で通常音量以下(−70dB〜−51dB)では目標値との差に応じて3ステップまたは1ステップとし、通常音量(−50dB)以上ではフェードステップ値を1ステップに制限している。このように音量が大きくなるほど、1回の音量変化のステップ値を少なくして不自然な音量変化が起きないようにしている。
【0022】
以下、図2〜図4のフローチャートを参照して上記処理動作を詳細に説明する。
図2は、パルス処理動作を示す図である。s1〜s3で、ロータリエンコーダ11のA/Bステータスが1サイクル分変化するまで待機する。ロータリエンコーダのA/Bステータスが1サイクル分変化すると(s3)、ステータス変化の状態に基づいて回転方向を割り出し(s4)、その割り出した回転方向を右回りステータス(s5)または左回りステータス(s6)として記憶する。
【0023】
ここで、右回りステータスは音量増加を意味し、左回りステータスは音量減少を意味している。以下の説明では、右回り/左回りを区別なく説明しているが、右回りステータスの場合にはすべて正値の処理であって、最終的に音量(ボリューム値)が増加するように処理され、左回りステータスの場合には最終的に音量が減少するような処理が行われる。
【0024】
s7ではスピードサンプリングタイマが有効になっているかを判断する。スピードサンプリングタイマは、200msでタイムアップするタイマであり、このタイマカウント期間中に何回エンコーダパルスが発生したかでパルスエンコーダの回転速度を求める。このタイマが無効状態のときにエンコーダパルスが検出されるとs9の動作でこのタイマがスタートして有効状態にされる。そして、タイムアップしたのち所定時間(3秒間)エンコーダパルスが検出されないと(この図2の処理が実行されないと)、無効状態に設定される。
【0025】
スピードサンプリングタイマが無効の場合にはs9に進み、累積パルス値を記憶する累積パルスアキュムレータおよびロータリエンコーダが発生した(生の)パルス値を記憶するカウンタをリセット(1をセットする)するとともに、回転方向の(右回り/左回り)ステータスを保存して(s9)、スピードサンプリングタイマをスタートさせ(s12)、目標値設定処理を呼び出して(s13)、待機動作(s1〜s3)にもどる。
【0026】
一方、スピードサンプリングタイマが有効状態の場合には(s7)、今回検出した回転方向が保存されている回転方向のステータスと同一であるかを判断する(s8)。同一の場合にはs10以下の動作に進み、同一でない場合、すなわちそれまでと逆に回された場合にはs9に進む。逆に回された場合には、それまでの方向の音量変化をキャンセルする操作であるとしてそれまでの累積パルス値を破棄し、タイマの無効状態からあらたにエンコーダパルスを検出した場合と同様に、累積パルスアキュムレータおよびカウンタをリセットするとともに、回転方向ステータスを保存して(s9)、スピードサンプリングタイマをスタートさせ(s12)、目標値設定処理を呼び出して(s13)、待機動作(s1〜s3)にもどる。
【0027】
また、スピードサンプリングタイマが有効の場合には、このタイマがタイムアップしているかを判断する(s10)。タイムアップしているときにはこのタイマが動作していたサンプリング時間にカウンタがカウントしたエンコーダパルス数を回転速度として換算して速度係数(1〜11)を求め、この速度係数をカウントしたエンコーダパルス数に乗算した値を累積パルスアキュムレータに加算する(s11)。なおこのs11の処理で生パルス数をカウントするカウンタはクリア・リセットされるが、累積パルスアキュムレータはリセットされず、累積パルス値が累積加算される。こののち、スピードサンプリングタイマを再スタートさせ(s12)、目標値設定処理を呼び出して(s13)、待機動作(s1〜s3)にもどる。
【0028】
また、s10でスピードサンプリングタイマがタイムアップしていなかったときにはカウンタに1を加算して(s14)、目標値設定処理(図3)を呼び出して(s13)、待機動作(s1〜s3)にもどる。
【0029】
図3は、目標値設定処理動作を示すフローチャートである。この目標値設定処理は、図2のパルス処理動作から呼び出しがあったとき、または、累積パルスアキュムレータの値が0でないときに実行される。また、この目標値設定処理では、図2のパルス処理動作で書き込まれている累積パルスアキュムレータの値および右/左回りステータスを参照する。
【0030】
まずパルス処理動作から呼び出しがあったか(s20)、または、累積パルスアキュムレータの値が0でないか(s21)を判断する。いずれかの判断が肯定的であればs22以下の動作にすすむ。両方の判断が否定的の場合には、この判断ルーチンで待機する。
【0031】
動作がs22以下に進んだ場合には、まず、累積パルスアキュムレータの内容(累積パルス値)を判断する(s22〜s24)。累積パルス値が7以上の場合には(s22)、目標値を変更するステップであるステップ値を7に設定する(s25)。累積パルス値7未満5以上の場合には(s23)、ステップ値を5に設定する(s26)。累積パルス値が5未満3以上の場合には(s24)、ステップ値を3に設定する(s27)。また、累積パルス値が3未満の場合には(s24)、ステップ値を1に設定する(s28)そして、この設定されたステップ値を累積パルスアキュムレータ(累積パルス値)から減算する(s29)。
【0032】
次に、目標値を更新する処理に移行するが、まず、図2の処理で記憶されている回転方向ステータスをチェックする(s30)。右回りステータスすなわちボリュームアップ(音量増加)の制御をする場合には、ステップ値の上限を、現在のボリューム値に応じて制限する。すなわち、制御値の値が大きいときには操作値から減算したステップ値の大きさにかかわらず目標値に加算するステップ値を小さいものとする。これにより、制御値(音量)が大きいときには、利用者がエンコーダを速く大きく操作して操作値が大きくなってもそのすべてが目標値に反映されず、利用者の操作がスリップしているような態様で目標値の設定が行われる。これにより、オーバーシュートすることなく利用者の操作意図どおりに所望の制御値(音量)を設定できるようになる。
【0033】
また、回転方向ステータスが、左回りステータスすなわちボリュームダウン(音量減少)の制御をする場合には、現在のボリューム値にかかわらず、上記s22〜s28で設定したステップ値をそのまま目標値に加算する(s39)。そしてフェード処理(図4)を呼び出す(s40)。
【0034】
つぎに、右回りステータスの場合の処理を順次説明する。まず、現在のボリューム値を判断する(s33、s34)。ボリューム値が−50dBよりも小さい場合には(s33)、上記s22〜s28で設定したステップ値をそのまま目標値に加算する(s39)。そしてフェード処理を呼び出す(s40)。
【0035】
一方、ボリューム値が−15dBよりも小さく−50dB以上の場合には(s34)、設定されているステップ値を判断し(s37)、ステップ値が3よりも大きく設定されている場合には、このステップ値を3に書き換えたのちs39に進む。一方、ステップ値が3以下の場合には、そのままs39に進む。すなわち、ボリューム値の−50dB〜−15dBの範囲は利用者が通常用いる通常音量域であるため、オーバーシュートしないように、累積パルス値から求めた(s25,s26,s27)ステップ値よりも目標値に加算するステップ値を小さくしている。
【0036】
また、ボリューム値が−15dB以上の場合にはステップ値を強制的に1に設定して(s36)、s39に進む。これは、ボリューム値が−15dB以上の範囲は大音量域であるため、累積パルス値をそのまま目標値に反映させると音量が極端に大きくなってしまうおそれがあるため、誤操作を補償する目的でステップ値を強制的に1にしている。
【0037】
図4は、フェード処理動作を示すフローチャートである。この動作は図3の動作で設定された目標値に電子ボリューム12のボリューム値を追従させる処理である。まず、現在ミュート中であるかを判断する(s50)。ミュート中であればボリューム値の制御は行わない。ミュート中でない場合において、目標値設定処理動作から呼び出しがあったか(s51)、または、ボリューム値が目標値と不一致であるか、すなわちフェード処理がまだ残っているか(s53)を判断する。目標値設定処理動作から呼び出しがあった場合には図3の処理で新たに設定された目標値を取り込んで(s52)、s55以下の動作にすすむ。また、s53にてボリューム値が目標値と不一致であった場合にはそのままs55以下の動作にすすむ。両方の判断が否定的の場合には、s50,s51,s53の一連の判断ルーチンのループで待機する。
【0038】
s55では現在のボリューム値(制御値:音量)を判断する。現在のボリューム値が−71dB以下の場合には、目標値との差が5ステップ以上の場合には(s56)、5ステップだけ電子ボリュームに対してボリューム値を増減し(s57)、目標値との差が3ステップ以上5ステップ未満の場合には(s59)、3ステップだけ電子ボリュームに対してボリューム値を増減し(s60)、目標値との差が3ステップ未満であれば(s59)、1ステップだけ電子ボリュームに対してボリューム値を増減する(s61)。
【0039】
なお、この処理は10ms毎に実行され、上記目標値設定処理よりも十分に細かく繰り返されるため、5ステップずつでも十分に大きなボリューム変化を実現することができる。
【0040】
また、現在のボリューム値が−70dB〜−51dBの場合には、目標値との差が3ステップ以上の場合には(s59)、3ステップだけ電子ボリュームに対してボリューム値を増減し(s60)、目標値との差が3ステップ未満であれば(s59)、1ステップだけ電子ボリュームに対してボリューム値を増減する(s61)。さらに、現在のボリューム値が−50dB以上の場合には、目標値との差にかかわらず、1ステップだけ電子ボリュームに対してボリューム値を増減する(s61)。そして、この電子ボリューム12に設定したボリューム値を現在値として記憶する(s58)。
【0041】
このように、−70dB未満の非可聴域では目標値とボリューム値との差を考慮した5ステップまでのフェードステップ値でボリューム値を制御することによって追従性をよくし、−70dB以上の可聴域では、そのボリューム値に応じて順次フェードステップ値を小さくしてゆくことにより、電子ボリュームに特有の不連続な音量変化による不自然さを目立たなくすることができる。
【0042】
【発明の効果】
以上のようにこの発明によれば、利用者の操作性、特に非可聴域から音量を上げてゆくときの迅速さ、および、通常音量域での微妙な操作を可能にするとともに、大音量域での操作の安全性および可聴域における音量変化の滑らかさを実現することができる。
【図面の簡単な説明】
【図1】この発明の実施形態であるボリューム制御装置の概略ブロック図
【図2】同ボリューム制御装置のパルス処理動作を示すフローチャート
【図3】同ボリューム制御装置の目標値設定動作を示すフローチャート
【図4】同ボリューム制御装置のフェード処理動作を示すフローチャート
【符号の説明】
1…AVアンプ、10…マイクロコンピュータ、11…ロータリエンコーダ、12…電子ボリュームLSI[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an improvement in an electronic volume control system using an encoder.
[0002]
[Prior art]
The conventional electronic volume control circuit using the rotary encoder linearly controls the electronic volume based on the number of pulses generated by the rotary encoder, so that the output audio signal is raised from the mute state to the normal volume, or from the audible volume to the mute state. There was a problem that the operability to mute was not good.
[0003]
In view of this, there has been proposed one that controls the volume by determining the amount of change based on the operation speed of the rotary encoder and the current volume level (for example, Patent Document 1).
[0004]
[Patent Document 1]
[Patent Document 1] Japanese Patent Laid-Open No. 2001-28525
[Problems to be solved by the invention]
However, in the above prior art, since the determined volume control value is directly input and set to the electronic volume, there is a problem that the volume of the electronic volume suddenly changes, resulting in a discontinuous and difficult to hear volume change. . In addition, if the operation speed is reflected in the volume control, the volume can be changed quickly. On the other hand, if an unfamiliar user operates, there is a problem that the volume adjustment is excessive (overshoot).
[0006]
An object of the present invention is to realize volume control that does not cause discomfort due to discontinuous volume changes for the viewer, and to enable volume control that reflects the user's operation intention.
[0007]
[Means for Solving the Problems]
The present invention is a method for controlling a control value of an electronic volume using an encoder that generates a number of pulses corresponding to a user's operation amount,
A speed detection procedure for determining the speed coefficient based on the operating speed of the encoder;
An operation value calculation procedure for calculating an operation value by multiplying the number of pulses generated by the encoder and the speed coefficient;
This is a procedure for increasing or decreasing the target value based on the operation value, and subtracts the step value set according to the magnitude of the operation value at that time from the operation value, and also sets the setting according to the control value at that time A target value setting procedure for adding a value that limits the upper limit of the set step value to the target value,
A fade step value is determined according to the magnitude of the control value at that time and the difference between the control value and the target value, and the control value is increased or decreased by the fade step value, thereby converging the control value to the target value. The going fade procedure,
It is characterized by having.
[0008]
The present invention also includes an encoder that generates a number of pulses according to a user's operation amount;
A speed detection procedure for determining a speed coefficient based on the operation speed of the encoder, an operation value calculation procedure for calculating an operation value by multiplying the speed coefficient by the number of pulses generated by the encoder, and a target value is increased or decreased based on this operation value A value obtained by subtracting the step value set according to the magnitude of the operation value at that time from the operation value and limiting the upper limit of the set step value according to the control value at that time The fade value is determined according to the target value setting procedure for adding the value to the target value, the magnitude of the control value at that time, and the difference between the control value and the target value, and the control value is increased or decreased by this fade step value. A control unit for executing a fade procedure for converging the control value to the target value,
It is provided with.
[0009]
≪Action≫
In the present invention, a “target value” for volume control is calculated based on an “operation value” determined in accordance with the operation of the encoder by the user, and a parameter for the volume control operation of the electronic volume, that is, the volume of the output signal The “value” is controlled to converge to the “target value”.
[0010]
The speed detection procedure and the operation value calculation procedure can contribute to the determination of the operation value. Therefore, when operating quickly, the operation value can be increased even with the same operation amount than when operating slowly. On the other hand, when the operation is performed slowly, the operation value can be reduced even with the same operation amount than when the operation is performed quickly. For this reason, it is possible to reflect the user's operation mode in which the user moves quickly when he wants to greatly change the volume and slowly moves when he wants to finely adjust the volume.
[0011]
In the target value setting procedure, the step value set according to the operation value is subtracted from the operation value, and the step value is added to the target value to reflect the operation value in the target value. At this time, the current step value from the operation value is not necessarily added to the target value as it is, but the upper limit of the step value is limited according to the control value at that time. That is, when the control value is large, the step value added to the target value is small regardless of the step value subtracted from the operation value. As a result, when the control value (volume) is large, even if the user operates the encoder quickly and greatly and the operation value increases, not all of it is reflected in the target value, and the user's operation slips. The target value is set in a manner. Thereby, a desired control value (volume) can be set as intended by the user without overshooting.
[0012]
Here, as a mode for limiting the upper limit of the step value according to the control value, there is a control mode by the following volume area. When the volume is smaller than the normal volume (for example, −50 dB) which is a control value often used by the user, the step value subtracted from the operation value without limiting the upper limit is added to the target value as it is and the normal volume range (for example − 50 dB or more but less than −15 dB), the upper limit of the step value to be added to the target value is gently limited, and in a large volume range (for example, −15 dB or more), the upper limit is strictly limited. In this way, the volume can be quickly increased from the mute (non-audible) range to the normal volume according to the user's operation, and the volume change due to the operation is not sensitive in the normal volume range. Therefore, it is possible to make fine adjustments, and further, in a large sound volume range, it is possible to reduce the responsiveness to operations so as not to accidentally output a large sound. As described above, according to this procedure, both user operability and safety can be achieved.
[0013]
In the fade procedure, when setting the fade step value, it is possible to promptly follow the target value set by the user's operation by considering the difference between the target value and the control value. Further, when setting the fade step value, the control value is taken into consideration, and in the non-audible range (for example, less than -70 dB), the control is performed by controlling in a large step according to the difference between the target value and the control value. In the audible range (for example, −70 dB or more), the fade step value is sequentially decreased in accordance with the volume, thereby making the unnaturalness due to the discontinuous volume change unique to the electronic volume inconspicuous. be able to. Thus, according to this procedure, it is possible to achieve both the followability of the control value (volume) with respect to the operation value and the natural volume change.
[0014]
As described above, according to the present invention, the operability of the user, in particular, quickness when the volume is increased from the non-audible range, and a delicate operation in the normal volume range, as well as a large volume It is possible to realize the safety of the operation in the range and the smoothness of the volume change in the audible range.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
An AV amplifier volume control apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0016]
FIG. 1 is a block diagram of the volume control apparatus. The volume control unit of the
[0017]
When the
[0018]
Hereinafter, processing operations executed by the
[0019]
In the pulse processing operation, the cumulative pulse value (operation value) is determined in consideration of not only the rotation angle (number of pulses) of the
[0020]
In the target value setting process, the target value is updated based on the accumulated pulse value. Basically, the processing operation of subtracting the accumulated pulse value from the accumulated pulse value by a predetermined step value and adding it to the target value is repeated every 50 ms to move the accumulated pulse value to the target value. In the case of −50 dB) or more, the upper limit of the value added to the target value in one processing operation is limited to 3. Therefore, at this time, when the step value subtracted from the accumulated pulse value is larger than 3, slip (deviation) is generated by the difference. This slip prevents overshoot due to excessive operation by the user. When the volume value is equal to or greater than the high volume range (−15 dB), the upper limit of the value to be added to the target value in one processing operation is limited to 1. This slip prevents a sudden increase in volume even if there is an incorrect operation at high volume.
[0021]
The fade process is a process executed every 10 ms. That is, the target value setting process is executed five times at intervals of one execution. In this process, the volume value for controlling the
[0022]
Hereinafter, the processing operation will be described in detail with reference to the flowcharts of FIGS.
FIG. 2 is a diagram showing a pulse processing operation. In s1 to s3, the process waits until the A / B status of the
[0023]
Here, the clockwise status means an increase in volume, and the counterclockwise status means a decrease in volume. In the following description, clockwise / counterclockwise is described without distinction, but in the case of a clockwise status, all processing is a positive value, and processing is performed so that the volume (volume value) is finally increased. In the case of the counterclockwise status, processing is performed so that the sound volume is finally reduced.
[0024]
In s7, it is determined whether the speed sampling timer is enabled. The speed sampling timer is a timer that times up in 200 ms, and determines the rotational speed of the pulse encoder according to how many encoder pulses are generated during this timer count period. If an encoder pulse is detected when this timer is in an invalid state, this timer is started and activated in an operation of s9. If the encoder pulse is not detected for a predetermined time (3 seconds) after the time is up (when the processing of FIG. 2 is not executed), the state is set to an invalid state.
[0025]
If the speed sampling timer is invalid, the process proceeds to s9, where the cumulative pulse accumulator that stores the cumulative pulse value and the counter that stores the (raw) pulse value generated by the rotary encoder are reset (set to 1) and rotated. The direction (clockwise / counterclockwise) status is saved (s9), the speed sampling timer is started (s12), the target value setting process is called (s13), and the standby operation (s1 to s3) is returned.
[0026]
On the other hand, when the speed sampling timer is in the valid state (s7), it is determined whether the currently detected rotation direction is the same as the stored rotation direction status (s8). If they are the same, the operation proceeds to the operation of s10 or less. If it is turned in the reverse direction, it cancels the volume change in the previous direction and discards the accumulated pulse value so far, as in the case of newly detecting the encoder pulse from the invalid state of the timer, The cumulative pulse accumulator and counter are reset, the rotational direction status is saved (s9), the speed sampling timer is started (s12), the target value setting process is called (s13), and the standby operation (s1 to s3) is entered. Return.
[0027]
If the speed sampling timer is valid, it is determined whether the timer has expired (s10). When the time is up, the number of encoder pulses counted by the counter during the sampling time during which the timer was operating is converted as a rotational speed to obtain a speed coefficient (1 to 11), and this speed coefficient is counted as the counted number of encoder pulses. The multiplied value is added to the cumulative pulse accumulator (s11). Note that the counter that counts the number of raw pulses in the process of s11 is cleared and reset, but the cumulative pulse accumulator is not reset, and the cumulative pulse value is cumulatively added. Thereafter, the speed sampling timer is restarted (s12), the target value setting process is called (s13), and the process returns to the standby operation (s1 to s3).
[0028]
If the speed sampling timer has not expired at s10, 1 is added to the counter (s14), the target value setting process (FIG. 3) is called (s13), and the standby operation (s1 to s3) is returned. .
[0029]
FIG. 3 is a flowchart showing the target value setting processing operation. This target value setting process is executed when a call is made from the pulse processing operation of FIG. 2 or when the value of the cumulative pulse accumulator is not zero. In the target value setting process, the value of the cumulative pulse accumulator and the right / left-handed status written in the pulse processing operation of FIG. 2 are referred to.
[0030]
First, it is determined whether there is a call from the pulse processing operation (s20), or whether the value of the cumulative pulse accumulator is not 0 (s21). If any judgment is affirmative, the operation proceeds to s22 or less. If both judgments are negative, the routine waits in this judgment routine.
[0031]
When the operation proceeds to s22 or less, first, the contents of the accumulated pulse accumulator (accumulated pulse value) are determined (s22 to s24). When the accumulated pulse value is 7 or more (s22), a step value that is a step for changing the target value is set to 7 (s25). When the accumulated pulse value is less than 7 and 5 or more (s23), the step value is set to 5 (s26). If the cumulative pulse value is less than 5 and 3 or more (s24), the step value is set to 3 (s27). If the accumulated pulse value is less than 3 (s24), the step value is set to 1 (s28), and the set step value is subtracted from the accumulated pulse accumulator (accumulated pulse value) (s29).
[0032]
Next, the process proceeds to a process for updating the target value. First, the rotational direction status stored in the process of FIG. 2 is checked (s30). In the case of controlling the clockwise status, that is, volume up (volume increase), the upper limit of the step value is limited according to the current volume value. That is, when the control value is large, the step value added to the target value is small regardless of the step value subtracted from the operation value. As a result, when the control value (volume) is large, even if the user operates the encoder quickly and greatly and the operation value increases, not all of it is reflected in the target value, and the user's operation slips. The target value is set in a manner. Thereby, a desired control value (volume) can be set as intended by the user without overshooting.
[0033]
When the rotation direction status is a counterclockwise status, that is, volume down (volume reduction) control, the step values set in s22 to s28 are added to the target value as they are regardless of the current volume value ( s39). Then, the fade process (FIG. 4) is called (s40).
[0034]
Next, processing in the case of a clockwise status will be described sequentially. First, the current volume value is determined (s33, s34). If the volume value is smaller than −50 dB (s33), the step values set in s22 to s28 are added to the target value as they are (s39). Then, the fade process is called (s40).
[0035]
On the other hand, when the volume value is smaller than −15 dB and larger than −50 dB (s34), the set step value is judged (s37), and when the step value is set larger than 3, After rewriting the step value to 3, proceed to s39. On the other hand, if the step value is 3 or less, the process proceeds directly to s39. That is, since the range of the volume value from −50 dB to −15 dB is a normal volume range that is normally used by the user, the target value is more than the step value (s25, s26, s27) obtained from the accumulated pulse value so as not to overshoot. The step value added to is reduced.
[0036]
If the volume value is -15 dB or more, the step value is forcibly set to 1 (s36), and the process proceeds to s39. This is because the volume value range of −15 dB or more is a large volume range, and if the accumulated pulse value is reflected in the target value as it is, the volume may become extremely large. The value is forced to 1.
[0037]
FIG. 4 is a flowchart showing the fade processing operation. This operation is processing for causing the volume value of the
[0038]
In s55, the current volume value (control value: volume) is determined. If the current volume value is −71 dB or less and the difference from the target value is 5 steps or more (s56), the volume value is increased or decreased with respect to the electronic volume by 5 steps (s57). If the difference is 3 steps or more and less than 5 steps (s59), the volume value is increased or decreased with respect to the electronic volume by 3 steps (s60), and if the difference from the target value is less than 3 steps (s59), The volume value is increased or decreased with respect to the electronic volume by one step (s61).
[0039]
Note that this process is executed every 10 ms and is repeated sufficiently finely than the target value setting process, so that a sufficiently large volume change can be realized even by five steps.
[0040]
If the current volume value is -70 dB to -51 dB and the difference from the target value is 3 steps or more (s59), the volume value is increased or decreased with respect to the electronic volume by 3 steps (s60). If the difference from the target value is less than 3 steps (s59), the volume value is increased or decreased with respect to the electronic volume by one step (s61). Further, when the current volume value is −50 dB or more, the volume value is increased or decreased by one step regardless of the difference from the target value (s61). Then, the volume value set in the
[0041]
In this way, in the non-audible range of less than -70 dB, the followability is improved by controlling the volume value with the fade step value of up to 5 steps considering the difference between the target value and the volume value, and the audible range of -70 dB or more. Then, by gradually decreasing the fade step value according to the volume value, the unnaturalness due to the discontinuous volume change specific to the electronic volume can be made inconspicuous.
[0042]
【The invention's effect】
As described above, according to the present invention, the operability of the user, in particular, the speed when the volume is increased from the non-audible range, and the subtle operation in the normal volume range, and the large volume range are enabled. It is possible to realize the safety of the operation and smoothness of the volume change in the audible range.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram of a volume control apparatus according to an embodiment of the present invention. FIG. 2 is a flowchart showing a pulse processing operation of the volume control apparatus. FIG. 4 is a flowchart showing the fade processing operation of the volume control apparatus.
DESCRIPTION OF
Claims (2)
エンコーダの操作速度に基づいて速度係数を割り出す速度検出手順と、
エンコーダが発生したパルス数と前記速度係数を乗算することによって操作値を算出する操作値算出手順と、
この操作値に基づいて目標値を増減させる手順であって、そのときの操作値の大きさに応じて設定されたステップ値を操作値から減算するとともに、そのときの制御値に応じて前記設定されたステップ値の上限を制限した値を目標値に加算する目標値設定手順と、
そのときの制御値の大きさおよび制御値と目標値との差に応じてフェードステップ値を決定し、このフェードステップ値で制御値を増減することにより、前記目標値に制御値を収束させてゆくフェード手順と、
を有する電子ボリューム制御方法。A method of controlling a control value of an electronic volume using an encoder that generates a number of pulses corresponding to a user's operation amount,
A speed detection procedure for determining the speed coefficient based on the operating speed of the encoder;
An operation value calculation procedure for calculating an operation value by multiplying the number of pulses generated by the encoder and the speed coefficient;
This is a procedure for increasing or decreasing the target value based on the operation value, and subtracts the step value set according to the magnitude of the operation value at that time from the operation value, and also sets the setting according to the control value at that time A target value setting procedure for adding a value that limits the upper limit of the set step value to the target value,
A fade step value is determined according to the magnitude of the control value at that time and the difference between the control value and the target value, and the control value is increased or decreased by the fade step value, thereby converging the control value to the target value. The going fade procedure,
An electronic volume control method comprising:
エンコーダの操作速度に基づいて速度係数を割り出す速度検出手順、
エンコーダが発生したパルス数と前記速度係数を乗算することによって操作値を算出する操作値算出手順、
この操作値に基づいて目標値を増減させる手順であって、そのときの操作値の大きさに応じて設定されたステップ値を操作値から減算するとともに、そのときの制御値に応じて前記設定されたステップ値の上限を制限した値を目標値に加算する目標値設定手順、および、
そのときの制御値の大きさおよび制御値と目標値との差に応じてフェードステップ値を決定し、このフェードステップ値で制御値を増減することにより、前記目標値に制御値を収束させてゆくフェード手順、
を実行する制御部と、
を備えた電子ボリューム制御装置。An encoder that generates a number of pulses according to the amount of user operation;
Speed detection procedure to determine the speed coefficient based on the operating speed of the encoder,
An operation value calculation procedure for calculating an operation value by multiplying the speed coefficient by the number of pulses generated by the encoder,
This is a procedure for increasing or decreasing the target value based on the operation value, and subtracts the step value set according to the magnitude of the operation value at that time from the operation value, and also sets the setting according to the control value at that time A target value setting procedure for adding a value that limits the upper limit of the set step value to the target value, and
A fade step value is determined according to the magnitude of the control value at that time and the difference between the control value and the target value, and the control value is increased or decreased by the fade step value, thereby converging the control value to the target value. Going fade procedure,
A control unit for executing
Electronic volume control device equipped with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003008696A JP3772835B2 (en) | 2003-01-16 | 2003-01-16 | Electronic volume control method and electronic volume control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003008696A JP3772835B2 (en) | 2003-01-16 | 2003-01-16 | Electronic volume control method and electronic volume control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004222077A true JP2004222077A (en) | 2004-08-05 |
JP3772835B2 JP3772835B2 (en) | 2006-05-10 |
Family
ID=32898423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003008696A Expired - Fee Related JP3772835B2 (en) | 2003-01-16 | 2003-01-16 | Electronic volume control method and electronic volume control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3772835B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006138716A (en) * | 2004-11-11 | 2006-06-01 | Yamaha Corp | Operator device malfunction improvement supporting method, and electronic apparatus |
JP2007028329A (en) * | 2005-07-19 | 2007-02-01 | Kenwood Corp | Muting apparatus, digital audio apparatus and muting method |
JP2009194815A (en) * | 2008-02-18 | 2009-08-27 | Onkyo Corp | Volume control apparatus, and volume control program |
JP2011049722A (en) * | 2009-08-26 | 2011-03-10 | Yamaha Corp | Sound volume adjusting apparatus |
US8139789B2 (en) | 2007-07-19 | 2012-03-20 | Rohm Co., Ltd. | Signal amplifier circuit |
US8325946B2 (en) | 2009-02-09 | 2012-12-04 | Rohm Co., Ltd. | Input selector |
US9143104B2 (en) | 2012-03-16 | 2015-09-22 | Rohm Co., Ltd. | Audio signal processing circuit, car audio apparatus using the same, audio component apparatus, electronic device and output audio signal generating method |
JP2017046037A (en) * | 2015-08-24 | 2017-03-02 | 新日本無線株式会社 | Volume control device |
-
2003
- 2003-01-16 JP JP2003008696A patent/JP3772835B2/en not_active Expired - Fee Related
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006138716A (en) * | 2004-11-11 | 2006-06-01 | Yamaha Corp | Operator device malfunction improvement supporting method, and electronic apparatus |
JP4661422B2 (en) * | 2005-07-19 | 2011-03-30 | 株式会社ケンウッド | Muting device, digital audio device |
JP2007028329A (en) * | 2005-07-19 | 2007-02-01 | Kenwood Corp | Muting apparatus, digital audio apparatus and muting method |
US8139789B2 (en) | 2007-07-19 | 2012-03-20 | Rohm Co., Ltd. | Signal amplifier circuit |
US8036400B2 (en) | 2008-02-18 | 2011-10-11 | Onkyo Corporation | Volume control apparatus and volume control program |
JP4613966B2 (en) * | 2008-02-18 | 2011-01-19 | オンキヨー株式会社 | Volume adjusting device and volume adjusting program |
JP2009194815A (en) * | 2008-02-18 | 2009-08-27 | Onkyo Corp | Volume control apparatus, and volume control program |
US8325946B2 (en) | 2009-02-09 | 2012-12-04 | Rohm Co., Ltd. | Input selector |
JP2011049722A (en) * | 2009-08-26 | 2011-03-10 | Yamaha Corp | Sound volume adjusting apparatus |
US8670574B2 (en) | 2009-08-26 | 2014-03-11 | Yamaha Corporation | Sound volume adjusting apparatus |
US9270242B2 (en) | 2009-08-26 | 2016-02-23 | Yamaha Corporation | Sound volume adjusting apparatus |
US9143104B2 (en) | 2012-03-16 | 2015-09-22 | Rohm Co., Ltd. | Audio signal processing circuit, car audio apparatus using the same, audio component apparatus, electronic device and output audio signal generating method |
JP2017046037A (en) * | 2015-08-24 | 2017-03-02 | 新日本無線株式会社 | Volume control device |
Also Published As
Publication number | Publication date |
---|---|
JP3772835B2 (en) | 2006-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8587674B2 (en) | Vibration correction control circuit for correcting displacement of an optical axis due to vibration including camera shake and image pickup apparatus equipped therewith | |
JP3772835B2 (en) | Electronic volume control method and electronic volume control device | |
EP0507964B1 (en) | Electronic volume device | |
JP2006340323A (en) | Noise-sensitive volume controller and noise-sensitive volume control method | |
US8593529B2 (en) | Vibration correction control circuit for correcting displacement of an optical axis due to vibration including camera shake and image pickup apparatus equipped therewith | |
JP2008109560A (en) | Audio signal processing apparatus | |
JP4842991B2 (en) | Vibration correction control circuit and imaging apparatus equipped with the same | |
JPH03110607A (en) | Servo motor control system | |
JP3037166B2 (en) | Volume control device | |
JP3314544B2 (en) | Control method in engine-dynamo bench | |
JPH1039901A (en) | Variable amount controller | |
JP3988561B2 (en) | Volume control device | |
JP2501893B2 (en) | Output limit method of proportional-plus-integral controller | |
JP2000114893A (en) | Volume controller | |
JP3144604B2 (en) | Control device | |
JPH11345080A (en) | Operation unit | |
JP3312142B2 (en) | Controller | |
JPH10240304A (en) | Controller | |
JPH04183226A (en) | Demand control method for electric power | |
JPH09319402A (en) | Process controller | |
JP2009265446A (en) | Vibration correction control circuit and imaging apparatus equipped therewith | |
JP3541263B2 (en) | Gain setting method | |
JPH08162864A (en) | Sound volume controller | |
JP2795900B2 (en) | Volume control device | |
JPH05108107A (en) | Controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040421 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051117 |
|
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: 20060124 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060206 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 3772835 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 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: 20090224 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100224 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110224 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120224 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130224 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140224 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |