JP4056381B2 - LED control circuit - Google Patents
LED control circuit Download PDFInfo
- Publication number
- JP4056381B2 JP4056381B2 JP2002372722A JP2002372722A JP4056381B2 JP 4056381 B2 JP4056381 B2 JP 4056381B2 JP 2002372722 A JP2002372722 A JP 2002372722A JP 2002372722 A JP2002372722 A JP 2002372722A JP 4056381 B2 JP4056381 B2 JP 4056381B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- counter
- led
- circuit
- sound pressure
- 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
Links
Images
Landscapes
- Telephone Function (AREA)
- Electrophonic Musical Instruments (AREA)
Description
【0001】
【発明が属する技術分野】
本発明は、発光ダイオード(LED)表示の制御回路に関し、特に電子機器から出力される音声の音圧レベルをLED表示するLED制御回路に関する。
【0002】
【従来の技術】
従来、携帯電話等の電子機器において、ユーザーインターフェースとしてLEDを実装し電子機器の状態を点滅表示することが広く行われている。また単に電子機器の状態を点滅表示するだけでなく、LEDの色や点滅の方法を工夫することにより視覚的効果を持たせるように構成したものも知られている。
【0003】
例えば、音とLEDの照度との連動制御に関して、アンプの出力レベルに連動してLEDの点灯数を増減させ、ユーザーに音圧レベルを表示するレベルメーターとしての使用方法は広く知られている。また、LEDの点滅等により視覚的効果を持たせる例として、音声入力を増幅率が可変の可変増幅回路を用いて、音声入力の変化にかかわらず常に同一音声出力とし、該音声信号の低帯域成分の大きさの変化量によりR(赤)G(緑)B(青)の各LED列の輝度を制御するとともに、同信号の中帯域成分の大きさにより発光色を制御し、音楽音と発光光との同期感を向上させる音声光変換装置が知られている(特許文献1参照)。
【0004】
【特許文献1】
特開2001-326085号公報
【0005】
【発明が解決しようとする課題】
一般に、軽量、小型化が必須の携帯電話機のような電子機器では、LEDを多数実装することは実装面積、重量、コスト面で困難である。
【0006】
また、前記特許文献1記載の音声光変換装置は、LEDの輝度変化により視覚的効果を得るものであるが、LEDの輝度変化は音声信号の低域周波数成分の大きさの変化量に応じて変化するものであり、音声信号の音圧レベル(平坦特性等の(FLAT)音圧レベル)をLEDにより輝度表示するという基本機能を有していないのみならず、携帯電話機等の限られた個数のLEDを用いた音圧レベルの表示と視覚効果を得る表示とを兼ね備えた機能を実現できるものでもない。
【0007】
(目的)
本発明の目的は、電子機器から出力される音声の音圧レベルのLED表示に関し、音圧レベルの表示機能に加えて、エンターテイメント的な要素として視覚的効果をも実現するLED制御回路を提供することにある。
本発明の目的は、少ない数のLEDによりユーザーに対する豊かな表現力を伴うLED表示を可能とし、電子機器の商品価値を高めるLED制御回路を提供することにある。
【0008】
【課題を解決するための手段】
本発明のLED制御回路は、音に連動してLEDの点灯を制御するLED制御回路において、音声のPCM信号から検出した音圧レベルに基づいてLEDを駆動するPWM信号のデューティ比を制御することにより、LEDの輝度を音圧レベルに連動させることを特徴とし、前記PWM信号のデューティ比の制御は、音圧レベルの変化に対して序々に勾配をもって輝度が変化するように制御することを特徴とする。また、PCM信号から周波数帯を限定して検出した音圧レベルに基づいてLEDを駆動するPWM信号のデューティ比を制御することを特徴とする。
【0009】
本発明のLED制御回路は、より具体的には、通話音声や音楽に連動してLEDの輝度を変化させるものであり、音声データのPCM信号(12)から音圧レベルを検出する音圧検出用デコード回路(13)と、その検出レベル信号(14)に追従して動作するカウンタ(5)と、そのカウンタ値(6)に従ったデューティ比(Duty比)のパルス幅変調信号(10)を出力するPWM回路(9)で構成される。また、LEDの輝度変化に勾配を持たせることを特徴とする(図1〜3参照)。
【0010】
本発明のLED制御回路は、音に連動してLEDの点灯を制御するLED制御回路において、音声信号から音圧レベルを検出する音圧検出回路(例えば、図1の音圧検出用デコード回路13)と、PWM信号のデューティ比を制御するカウンタ値を出力するカウンタと、前記カウンタ値が前記音圧レベルに応じて追従して変化するように前記カウンタを制御するカウンタ制御回路(例えば、図1の比較回路7、制御信号8の帰還回路等)と、前記カウンタ値に応じたデューティ比のPWM信号を出力するPWM回路と、前記PWM信号を入力しLEDを駆動するLED駆動回路と、からなることを特徴とする。
【0011】
また、前記カウンタは、第1のクロック信号を計数するアップダウンカウンタで構成され、前記カウンタ制御回路は、前記カウンタの前記第1のクロック信号の計数動作を、カウンタ値と音圧レベルとの大小によりアップカウントとダウンカウントの間で切り替える制御信号を出力する比較回路を含むことを特徴とする。
【0012】
また、前記PWM回路は、第1のクロック信号より周波数の高い第2のクロック信号を計数するモジュロnカウンタ(n:整数)と、前記モジュロnカウンタのカウント値と前記カウンタ値とを比較してPWM信号を出力する比較器と、を備えることを特徴とする。
【0013】
更に、外部信号により分周比が制御可能な可変分周回路(例えば、図1の分周回路2)を備え、前記可変分周回路は、源振クロック信号を分周して前記第1のクロック信号を出力することを特徴とし、特定の周波数帯域の通過特性を有するフィルタ(例えば、図2の21〜29)を備え、前記音圧検出回路は、前記フィルタを介した音声信号から音圧レベルを検出することを特徴とする。
(作用)
音声データのPCM信号に含まれる音声信号の平坦特性等に基づいて音圧を検出してLEDの点灯制御を行う。音圧レベルの変化時の輝度の制御は、輝度を決定するカウンタのカウンタ値を音圧レベルに従ったカウンタ値へ所定間隔でアップダウンさせることにより序々に勾配をもって輝度変化を与えるように制御する。PCM信号から音圧レベルを検出する際にフィルタを用いて周波数帯を限定した信号から音圧レベルを検出して輝度を制御することも可能である。
【0014】
【発明の実施の形態】
次に、本発明のLED制御回路の第1の実施の形態について説明する。
(構成の説明)
図1は、第1の実施の形態の構成を示すブロック図である。
本実施の形態は、音声に関するPCM信号12を出力する音声再生用DSP11と、PCM信号から音声を再生して出力する音声再生回路20と、PCM信号から音声の音圧を検出して該音圧に応じた検出レベルの信号(検出レベル信号)を出力する音圧検出用デコード回路13と、PWM制御回路18と、LED駆動回路19と、から構成される。各部の構成及び機能は次のとおりである。
【0015】
音声を再生する音声再生回路20は、音声再生用DSP11からのPCM信号12をデジタル/アナログ変換(D/A変換)するD/A変換器(DAC)15、DAC15でD/A変換した音声信号を増幅するアンプ16と、アンプ16からの音声信号により鳴動し音声を出力するレシーバ17と、から構成される。音圧検出用デコード回路13は、音声再生用DSP11から出力するPCM信号12から音圧情報をデコードし音圧に応じて、3ビットの検出レベル信号14を出力する。
【0016】
PWM制御回路18は、分周回路2と、アップ/ダウンカウンタ(勾配カウンタ、以下、カウンタ)5と、比較回路8及びPWM回路9と、から構成される。
【0017】
分周回路2は、源振クロック1を所定分周比に分周してカウンタクロック3として出力するとともに、カウンタクロック3よりも十分に高い周波数(源振クロック周波数を含む)のクロック信号をPWM生成クロック4として出力する。 カウンタ5は、3ビットのアップ/ダウンカウンタで構成され、カウンタクロック3を計数入力とし、後述の制御信号によりアップ計数、ダウン計数及び計数停止の何れかの動作を行い、計数値として3ビットのカウンタ値6を出力する。比較回路8は、前記カウンタ値6と前記温圧検出用デコード回路13から出力される3ビットの検出レベル信号14との大小を比較し、比較結果を前記制御信号としてカウンタ5に出力する。
【0018】
このような帰還構成により、カウンタ5は、検出レベル信号14とカウンタ値6との比較結果の制御信号8により計数のアップダウンが制御され、カウンタ値6が検出レベル信号14と等しくなるように動作する。
例えば、検出レベル信号14がカウンタ値6より大きい場合は、ハイレベルの制御信号を出力してカウンタ5がカウンタクロック3をアップ計数するように制御し、検出レベル信号14がカウンタ値6より小さい場合は、ローレベルの制御信号を出力してカウンタ5がカウンタクロック3をダウン計数するように制御する。
【0019】
そしてPWM回路9は、前記カウンタ値6と前記分周回路2からの前記PWM生成クロック4を入力し、カウンタ値6に応じて、一定周期のパルス信号でありDuty比が変化するパルス幅変調信号(PWM信号)10を出力する。
【0020】
ここで、PWM回路の具体的構成例としては、PWM生成クロック4を計数し、計数値のモジュロ(法)n(n:整数)をカウント値として出力するカウンタ(例えば2進カウンタ、「モジュロnカウンタ」ともいう。)と、前記カウンタのカウント値と、前記カウンタ値6とを比較し、両デジタル値の差分の正、負に応じてハイレベル又はローレベルの信号を出力する比較器と、で構成され、PWM生成クロック4のnクロック期間を周期とし、前記ハイレベル又はローレベルの信号をPWM信号として前記比較器から出力するように構成することができる。
【0021】
LED駆動回路19は、PWM信号10をゲート電極に入力し、ドレイン電極が発光ダイオードLEDを駆動(点灯)するソース接地型の絶縁ゲート型トランジスタにより構成される。
【0022】
以上の構成によりカウンタ値6は検出レベル信号14に所定の遅延を伴って追従して変化し、PWM回路9は、PWM生成クロック4により決定される所定周期且つ変化幅の刻みで、カウンタ値6に応じたパルス幅のパルス信号を出力する。つまり、検出レベル信号14の変化に対しPWM信号10のDuty比の変化の遅延特性がカウンタクロック3の周期に応じて決定される。
(動作の説明)
次に、第1の実施の形態の動作を図1、図2および図3を参照して説明する。図2は、PCM信号の音圧レベル(検出レベル信号)が急に大きくなった場合を例とするタイムチャートを示す図である。
【0023】
本実施の形態の表示制御に関する回路ブロックの動作の基本タイミングは源振クロック1により規定されており、使用するクロック信号としては、前記源振クロック1を分周回路2により分周した、カウンタ5の計数入力となるカウンタクロック3(図2では源振クロックの1/18の分周)と、PWM信号の基本周期及びパルス幅を規定するPWM信号生成クロック4(図2では源振クロックの1/4の分周)とである。
【0024】
音圧検出用デコード回路13は、入力されたPCM信号12から一定周期で音圧情報を検出し、音声の音圧レベルに応じた検出レベル信号14を出力する。音圧情報を検出する周期は、カウンタクロック3よりも十分に長い周期であることが望ましく、本例ではt1時点で検出され、それまでの音圧レベル”001”から”101”に変化(増加)している。また、本例の検出レベル信号14は、カウンタ値6のビット数と同じ3ビットの音圧レベルのデータであり、この場合、音圧レベルが最小の時は”000”、最大の時は”111”となる。
【0025】
カウンタ5はカウンタクロック3の立ち上がりタイミングに、比較回路7の出力である制御信号がハイレベルかローレベルかゼロレベルかにより、それぞれアップカウント、ダウンカウント又はカウント停止の動作を行う。
【0026】
本例では、時刻t1までは検出レベル信号14の値が”001”であり、また、カウンタ5の出力も”001”であるため、比較回路7の出力はゼロであり、カウント動作は行われていない。次に時刻t1で検出レベル信号14の値が”001”から”101”に増加しているから、比較回路7はハイレベルの制御信号を出力し、この直後のカウンタクロック3の計数からカウンタ5はアップカウント動作に設定され、カウンタ値6は時刻t2で”010”、同t3で”011”、同t4で”100”、同t5で”101”となり、時刻t5で再び検出レベル信号14とカウンタ値6とが同一となり、比較回路7の出力の制御信号はゼロレベルとなる。本例では時刻t5以降は検出レベル信号14が“101”を維持しているため、時刻t5以後、カウンタ5はカウント停止の状態を継続する。
【0027】
次にPWM回路9は、以上のカウンタ動作により生成されたカウンタ値6に応じたパルス幅のPWM信号を出力する。
図6は、カウンタ値6とPWM信号10のデユーティ比の関係を示す図である。同図からわかるように、カウンタ値6が、例えば”001”ならPWM生成クロック4の1クロック期間ハイレベル、6クロック期間ローレベルであり、7クロック期間を1周期とするPWM信号が繰り返し出力される。“010”〜“111”の場合も同様であり7クロック期間を1周期とし、それぞれ2クロック期間〜7クロック期間ハイレベルのPWM信号が繰り返し出力される。
【0028】
本例ではPWM回路9は、図6に示す関係に従って、時刻t1までは検出レベル信号14と同一の音圧レベル”001”のカウンタ値6に対応する狭いパルス幅のPWM信号を継続して出力し、時刻t2以降は、次第に増加するカウンタ値6に応じてパルス幅が増加するPWM信号を出力し、時刻t5以降は、大きいパルス幅のPWM信号を出力する。
【0029】
図3は、PCM信号の音圧レベル(検出レベル信号)が急に小さくなった場合を例とするタイムチャートを示す図である。
【0030】
本例ではt6時点で音圧レベルが検出され、それまでの音圧レベル”101”から”010”に変化(減少)している。本例では時刻t6までは検出レベル信号14の値が”101”であり、また、カウンタ5の出力も”101”であるため、比較回路7の出力はゼロレベルであり、カウント動作は行われていない。時刻t6では検出レベル信号14の値が”101”から”010”に減少しているから、比較回路7はローレベルの制御信号を出力し、この直後のカウンタクロック3の計数からカウンタ5はダウンカウント動作に設定され、カウンタ値6は時刻t7で”100”、同t8で”011”、同t9で”010”となる。時刻t9で再び検出レベル信号14とカウンタ値6とが同一となるから、比較回路7の出力の制御信号はゼロレベルとなり、時刻t9以降は検出レベル信号14が“101”を維持しているため、カウンタ5はカウント停止の状態を継続する。
【0031】
PWM回路9は、以上のカウンタ動作により生成されたカウンタ値6に応じたパルス幅のPWM信号を出力する。
PWM回路9は、図3の例では、図6に従い時刻t7までは検出レベル信号14と同一の音圧レベル”101”のカウンタ値6に対応する広い6クロック期間ハイレベルのパルス幅のPWM信号を継続して出力し、時刻t7以降は、次第に減少するカウンタ値6に応じてパルス幅が次第に減少するPWM信号を出力し、時刻t9以降は、2クロック期間のパルス幅のPWM信号を出力する。
【0032】
本実施の形態により出力されるPWM信号では、検出レベル信号14の変化に対するPWM信号のパルス幅の変化に遅延(勾配)を伴う特性をもっており、急な音圧レベルの変化に対し、Duty比は緩慢(アナログ状)に変化するという特徴がある。
【0033】
PWM信号10はLED駆動回路19に入力し、絶縁ゲート型トランジスタはPWM信号10の1クロックのハイレベル期間のみ導通し、発光ダイオードLEDを駆動(点灯)することにより、LEDは、カウンタ値6に従ったDuty比に応じた輝度で点灯する。
【0034】
音声再生回路20は、従来どおりの動作により所定の音声を出力する。つまり、携帯電話等の電子機器における音声再生の場合は、音声再生用DSP11がPCM信号12を出力し、DAC15はPCM信号12をデジタル/アナログ変換し、アンプ16はアナログ音声を増幅し、レシーバ17は音声を出力する。
【0035】
以上の構成及び機能により、比較回路8は、カウンタ値6と検出レベル信号14との差分(大小)に応じた制御信号8を出力し、制御信号8がカウンタ5を制御することにより、前記差分が零になるように、カウンタ5の計数をアップ又はダウンのカウント動作の切り換えを制御する負帰還回路を構成する。
このことは、音声再生回路20から出力される音声の音圧レベルの変化に対応して検出レベル信号14も追従して変化し、カウンタ5はアップダウン制御により、カウンタクロック3のタイミングでカウンタ値6は検出レベル信号14へ近づくように動作し、その結果、PWM信号10のDuty比も序々に変化し、LEDの点灯の輝度が変化する。
【0036】
以上により、音声の音圧レベルに従って連続的にLEDの輝度が変化するため、ユーザーはレシーバ17からの音声に連動した輝度で発光するLEDを目視することが可能となる。
【0037】
(他の実施の形態)
図4は、本発明のLED制御回路の第2の実施の形態の構成を示す図である。本実施の形態では、音圧検出デコード回路の前段にフィルタを備える点を特徴とし、周波数帯別に複数のLED制御回路を使用して異なるLEDの輝度を制御する音声光変換回路を構成することを可能としたものである。
図5は、第2の実施の形態による音声光変換回路のタイムチャートを示す図である。
【0038】
3つのLEDを3つのLED制御回路により制御することにより視覚的効果を一層高めるようにしたものである。音声のPCM信号を出力する音声再生用DSP11と、PCM信号12を音声再生する音声再生回路20と、PCM信号を入力し、高域周波数帯域の信号を通過するハイ・パス・フィルタ(HPF)21、中域周波数帯域の信号を通過するバンド・パス・フィルタ(BPF)25及び低域周波数帯域の信号を通過するロー・パス・フィルタ(LPF)29と、ハイ・パス・フィルタ21、バンド・パス・フィルタ25及びロー・パス・フィルタ29のそれぞれの出力を入力とする3つの音声検出デコード回路22、26及び30と、音声検出デコード回路22、26及び30の出力をそれぞれ入力とするPWM制御回路23、27及び31と、PWM制御回路23、27及び31の出力をそれぞれ入力とする3つのLED駆動回路24、28及び32とから構成される。なお、各回路ブロック内の構成は図1に示す構成と同様である。
【0039】
音声再生用DSP11からのPCM信号12を3種類のフィルタに通すことにより、高域の音声の音圧は音圧検出デコード回路22で検出され、高域の音声の音圧レベルのデータが出力され、PWM制御回路23は前記音圧レベルに追従したPWM信号を出力し、LED駆動回路24はLEDを点灯し、LEDは前記PWM信号のDuty比に比例する輝度でLED表示が行われる。同様に中域及び低域の音声の音圧は、それぞれ音圧検出デコード回路26、30で検出され、音圧検出デコード回路26、30は、それぞれ中域及び低域の音圧レベルに追従したPWM信号を出力し、LED駆動回路28、32はそれぞれのPWM信号によりLEDを点灯して、それぞれのPWM信号のDuty比に比例する輝度でLED表示が行われる。
【0040】
この結果、高域の音声の音圧の大小はLED駆動回路24の輝度により表現される。同じく中域はLED駆動回路28の輝度、低域はLED駆動回路32の輝度により表現される。図5に示すように、3つのLEDの種類を例えば赤、青、緑とし、それらを近接して配置、実装することにより、帯域毎の音圧レベルに応じて異なる発光色のLEDの輝度が変化し、発光色が重なり合い、音声に連動したグラデーション変化を見せるLED点灯制御が実現される。
【0041】
前述の実施の形態では音声を想定してPCM信号の音圧レベルを検出してPWM信号のDuty比を制御するように構成したが、第3の実施の形態として、音楽再生を想定し、IISフォーマット等の既知のオーディオデジタル信号からの音圧レベルを検出してPWM信号のDuty比に反映させることにより、再生した音楽に連動したLEDの点灯制御を行うように構成することができる。
【0042】
以上の実施の形態では、カウンタ5を3bitのカウンタとして説明したが、その場合のPWM Duty分解能は最大輝度の1/7となる。第4の実施の形態として、音圧レベル信号及びカウンタ5のビット数を増加することによりDuty分解能を向上させる構成とすることが可能である。前記ビット数の増加により輝度変化が微細になるから、より視覚的に連続的な輝度制御をすることが可能となる。所望ビット数の音圧レベル信号の読み出しは、PCM信号の上位ビットを当該ビット数だけ抽出することにより容易に実現することが可能である。
【0043】
更に、図1に示す分周回路2を、外部信号により分周比を可変制御が可能な可変分周回路とし、外部信号等によりカウンタクロック3の周期を可変とすることにより、カウンタ5のアップ/ダウンカウント動作の周期が可変となり、PCM信号の音圧レベルへの追随速度をコントロールすることが可能であり、輝度制御の特性を変化させ、視覚的、装飾的効果を制御することが可能である。また、第2の実施の形態のPWM制御回路22、26、30の分周回路の分周比を異なるように設定し、又は同分周比を独立に制御することにより、音声に連動する赤、青、緑の3つのLEDの輝度変化に一層の表現力を与えることが可能である。
【0044】
【発明の効果】
本発明によれば、PCM信号から検出した音圧レベルに基づき変化するDuty比のPWM信号によりLEDを点灯することにより、音声の音圧に連動するLED点灯が実現でき、レシーバからの音声の音圧に連動してLEDの輝度を変化させることが可能となるため、LED点灯の視覚的、装飾的効果が向上し、LED表示の表現力を増加させることができる。
【0045】
特に、PWM信号のDuty比を音圧レベルに遅延を伴って追随するアップダウン機能を有するカウンタのカウンタ値により決定するため、音圧レベルの変化に対しDuty比が勾配をもって変化することから、LEDの輝度変化に勾配を持たせることができ、音声の立ち上がりのアタック時間と、立ち下りのリリース時間に類似したLEDの輝度変化を実現することが可能であり、音声の変化に、より連動したLEDの点灯制御が可能であり、極めて好適な視覚的、装飾的効果を実現することができる。
【0046】
更に、従来のような2値制御のLEDの点滅の制御ではなく、音圧変化にLEDの輝度が勾配を伴って連動させることができるから、携帯電話機等、少ない数のLEDを備える電子機器にあっても、例えば着信メロディ、カラオケ演奏は勿論のこと通話音声等に対しても適用可能であり、電子機器の使用者及び周囲の者に対し、視覚的、装飾的な楽しい雰囲気を醸し出すことが可能であり、商品価値を一段と高めることが可能となる。
【0047】
また、前記カウンタの計数の間隔(カウントクロックの周期)を制御することにより、カウンタ値の音圧レベルへの追従速度を制御することが可能であるから、LEDの輝度制御による視覚的、装飾的効果をも制御することが可能である。
【図面の簡単な説明】
【図1】 本発明のLED制御回路の第1の実施の形態を示す図である。
【図2】 PCM信号の音圧レベル(検出レベル信号)が急に大きくなった場合のタイムチャートを示す図である。
【図3】 PCM信号の音圧レベル(検出レベル信号)が急に小さくなった場合のタイムチャートを示す図である。
【図4】 本発明のLED制御回路の第2の実施の形態の構成を示す図である。
【図5】 第2の実施の形態のタイムチャートを示す図である。
【図6】 カウンタ値とPWM信号のデユーティ比の関係を示す図である。
【符号の説明】
2 分周回路
3 カウンタ
7 比較回路
9 PWM回路
11 DSP
13 音圧検出用デコード回路
15 デジタルアナログ変換回路(DAC)
16 アンプ
17 レシーバ(スピーカ)
18 PWM制御回路
19 LED駆動回路
20 音声再生回路[0001]
[Technical field to which the invention belongs]
The present invention relates to a light emitting diode (LED) display control circuit, and more particularly to an LED control circuit that displays sound pressure level of sound output from an electronic device by LED.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in an electronic device such as a mobile phone, it is widely performed that an LED is mounted as a user interface and the state of the electronic device is blinked. In addition, not only blinking and displaying the state of an electronic device, but also a device configured to give a visual effect by devising a color of LED or a blinking method is known.
[0003]
For example, with regard to linked control between sound and illuminance of LED, a method of using it as a level meter that displays the sound pressure level to the user by increasing or decreasing the number of LED lighting in conjunction with the output level of the amplifier is widely known. Further, as an example of giving a visual effect by blinking of an LED or the like, the audio input is always set to the same audio output regardless of the change of the audio input by using a variable amplification circuit having a variable amplification factor, and the low bandwidth of the audio signal The luminance of each LED array of R (red), G (green), and B (blue) is controlled by the amount of change in the component size, and the emission color is controlled by the size of the middle band component of the same signal. 2. Description of the Related Art An audio / photo conversion device that improves the sense of synchronization with emitted light is known (see Patent Document 1).
[0004]
[Patent Document 1]
JP 2001-326085 JP
[Problems to be solved by the invention]
In general, in an electronic device such as a mobile phone that is required to be lightweight and downsized, it is difficult to mount a large number of LEDs in terms of mounting area, weight, and cost.
[0006]
Moreover, although the audio / photo conversion device described in
[0007]
(the purpose)
An object of the present invention relates to an LED display of a sound pressure level of sound output from an electronic device, and provides an LED control circuit that realizes a visual effect as an entertainment element in addition to a sound pressure level display function. There is.
An object of the present invention is to provide an LED control circuit that enables LED display with rich expressive power to a user with a small number of LEDs and increases the commercial value of an electronic device.
[0008]
[Means for Solving the Problems]
The LED control circuit of the present invention controls the duty ratio of the PWM signal for driving the LED based on the sound pressure level detected from the sound PCM signal in the LED control circuit that controls the lighting of the LED in conjunction with the sound. The brightness of the LED is linked to the sound pressure level, and the duty ratio of the PWM signal is controlled so that the brightness gradually changes with a gradient with respect to the change of the sound pressure level. And The duty ratio of the PWM signal for driving the LED is controlled based on the sound pressure level detected by limiting the frequency band from the PCM signal.
[0009]
More specifically, the LED control circuit according to the present invention changes the luminance of the LED in conjunction with a call voice or music, and detects a sound pressure level from a PCM signal (12) of voice data. Decoding circuit (13), counter (5) operating following the detection level signal (14), and pulse width modulation signal (10) having a duty ratio according to the counter value (6) It is comprised with the PWM circuit (9) which outputs. In addition, the brightness change of the LED is given a gradient (see FIGS. 1 to 3).
[0010]
The LED control circuit of the present invention is an LED control circuit that controls lighting of an LED in conjunction with sound, and a sound pressure detection circuit that detects a sound pressure level from an audio signal (for example, the sound pressure
[0011]
The counter includes an up / down counter that counts a first clock signal, and the counter control circuit performs a counting operation of the first clock signal of the counter between a counter value and a sound pressure level. And a comparator circuit for outputting a control signal for switching between up-counting and down-counting.
[0012]
The PWM circuit compares a count value of the modulo n counter (n: an integer) that counts a second clock signal having a frequency higher than that of the first clock signal, and the counter value. And a comparator that outputs a PWM signal.
[0013]
Furthermore, a variable frequency dividing circuit (for example,
(Function)
The lighting control of the LED is performed by detecting the sound pressure based on the flat characteristic of the audio signal included in the PCM signal of the audio data. The luminance control at the time of the change of the sound pressure level is controlled so as to gradually give the luminance change with a gradient by raising and lowering the counter value of the counter for determining the luminance to the counter value according to the sound pressure level at a predetermined interval. . When detecting the sound pressure level from the PCM signal, it is also possible to control the brightness by detecting the sound pressure level from the signal in which the frequency band is limited using a filter.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Next, a first embodiment of the LED control circuit of the present invention will be described.
(Description of configuration)
FIG. 1 is a block diagram showing the configuration of the first embodiment.
In this embodiment, a sound reproduction DSP 11 that outputs a
[0015]
The
[0016]
The
[0017]
The
[0018]
By such a feedback configuration, the
For example, when the
[0019]
The PWM circuit 9 receives the counter value 6 and the
[0020]
Here, as a specific configuration example of the PWM circuit, a counter (for example, a binary counter, “modulo n”, which counts the
[0021]
The
[0022]
With the above configuration, the counter value 6 changes following the
(Description of operation)
Next, the operation of the first embodiment will be described with reference to FIG. 1, FIG. 2, and FIG. FIG. 2 is a time chart illustrating an example in which the sound pressure level (detection level signal) of the PCM signal suddenly increases.
[0023]
The basic timing of the operation of the circuit block relating to the display control of this embodiment is defined by the
[0024]
The sound pressure
[0025]
The
[0026]
In this example, until the time t1, the value of the
[0027]
Next, the PWM circuit 9 outputs a PWM signal having a pulse width corresponding to the counter value 6 generated by the above counter operation.
FIG. 6 is a diagram showing the relationship between the counter value 6 and the duty ratio of the
[0028]
In this example, the PWM circuit 9 continuously outputs a PWM signal having a narrow pulse width corresponding to the counter value 6 of the same sound pressure level “001” as that of the
[0029]
FIG. 3 is a time chart illustrating an example in which the sound pressure level (detection level signal) of the PCM signal suddenly decreases.
[0030]
In this example, the sound pressure level is detected at time t6 and changes (decreases) from the previous sound pressure level “101” to “010”. In this example, since the value of the
[0031]
The PWM circuit 9 outputs a PWM signal having a pulse width corresponding to the counter value 6 generated by the counter operation described above.
In the example of FIG. 3, the PWM circuit 9 is a PWM signal having a high pulse width of a high level corresponding to the counter value 6 of the same sound pressure level “101” as the
[0032]
The PWM signal output according to the present embodiment has a characteristic in which the change in the pulse width of the PWM signal with respect to the change in the
[0033]
The
[0034]
The
[0035]
With the configuration and function described above, the comparison circuit 8 outputs the control signal 8 corresponding to the difference (large or small) between the counter value 6 and the
This means that the
[0036]
As described above, since the brightness of the LED continuously changes according to the sound pressure level of the sound, the user can visually check the LED that emits light with the brightness linked to the sound from the
[0037]
(Other embodiments)
FIG. 4 is a diagram showing the configuration of the second embodiment of the LED control circuit of the present invention. The present embodiment is characterized in that a filter is provided in the previous stage of the sound pressure detection decoding circuit, and that an audio / photo conversion circuit that controls the luminance of different LEDs by using a plurality of LED control circuits for each frequency band is configured. It is possible.
FIG. 5 is a diagram illustrating a time chart of the audio / photo conversion circuit according to the second embodiment.
[0038]
The visual effect is further enhanced by controlling three LEDs with three LED control circuits. An audio reproduction DSP 11 that outputs an audio PCM signal, an
[0039]
By passing the
[0040]
As a result, the magnitude of the sound pressure of the high frequency sound is expressed by the luminance of the
[0041]
In the above-described embodiment, the sound pressure level of the PCM signal is detected and the duty ratio of the PWM signal is controlled by assuming the sound. However, as the third embodiment, music playback is assumed and IIS is performed. By detecting the sound pressure level from a known audio digital signal such as a format and reflecting it in the duty ratio of the PWM signal, it is possible to control the lighting of the LED in conjunction with the reproduced music.
[0042]
In the above embodiment, the
[0043]
Further, the
[0044]
【The invention's effect】
According to the present invention, by turning on an LED with a duty ratio PWM signal that changes based on the sound pressure level detected from the PCM signal, it is possible to realize LED lighting that is linked to the sound pressure of the sound, and the sound of the sound from the receiver. Since it becomes possible to change the brightness | luminance of LED in response to a pressure, the visual and decorative effect of LED lighting improves, and the expressive power of LED display can be increased.
[0045]
In particular, since the duty ratio of the PWM signal is determined by the counter value of a counter having an up / down function that follows the sound pressure level with a delay, the duty ratio changes with a gradient with respect to the change in the sound pressure level. The brightness change of the LED can be given a gradient, and the LED brightness change similar to the attack time of the voice and the release time of the fall can be realized, and the LED more linked to the voice change Can be controlled, and a very favorable visual and decorative effect can be realized.
[0046]
Furthermore, since the LED brightness can be interlocked with a change in sound pressure with a gradient instead of the conventional binary control of blinking of the LED, it can be applied to an electronic device having a small number of LEDs such as a cellular phone. Even so, it can be applied not only to incoming melody and karaoke performances, but also to call voices, etc., and can create a visually and decorative atmosphere for users of electronic devices and those around them. This is possible, and the product value can be further increased.
[0047]
In addition, by controlling the counting interval (count clock cycle) of the counter, it is possible to control the follow-up speed of the counter value to the sound pressure level. The effect can also be controlled.
[Brief description of the drawings]
FIG. 1 is a diagram showing a first embodiment of an LED control circuit according to the present invention.
FIG. 2 is a diagram showing a time chart when the sound pressure level (detection level signal) of a PCM signal suddenly increases.
FIG. 3 is a diagram showing a time chart when a sound pressure level (detection level signal) of a PCM signal suddenly decreases.
FIG. 4 is a diagram showing a configuration of a second embodiment of an LED control circuit of the present invention.
FIG. 5 is a diagram illustrating a time chart of the second embodiment.
FIG. 6 is a diagram illustrating a relationship between a counter value and a duty ratio of a PWM signal.
[Explanation of symbols]
2 Frequency divider 3 Counter 7 Comparison circuit 9 PWM circuit 11 DSP
13 Sound pressure
16
18
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002372722A JP4056381B2 (en) | 2002-12-24 | 2002-12-24 | LED control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002372722A JP4056381B2 (en) | 2002-12-24 | 2002-12-24 | LED control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004205669A JP2004205669A (en) | 2004-07-22 |
JP4056381B2 true JP4056381B2 (en) | 2008-03-05 |
Family
ID=32811251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002372722A Expired - Fee Related JP4056381B2 (en) | 2002-12-24 | 2002-12-24 | LED control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4056381B2 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4535718B2 (en) * | 2003-12-10 | 2010-09-01 | 三洋電機株式会社 | Light emitting device control circuit for audio receiving device |
JP4963802B2 (en) | 2005-06-28 | 2012-06-27 | ローム株式会社 | Current control circuit, LED current control device, and light emitting device |
JP4656655B2 (en) * | 2006-04-11 | 2011-03-23 | 株式会社コルグ | Music signal processor |
JP5011890B2 (en) * | 2006-08-24 | 2012-08-29 | ヤマハ株式会社 | Digital amplifier system with dimmer and speaker system with illumination |
JP5521261B2 (en) * | 2006-11-28 | 2014-06-11 | 日本電気株式会社 | Portable terminal, luminous body drive control method and luminous body drive control program used for the portable terminal |
JP5479854B2 (en) * | 2009-11-09 | 2014-04-23 | 三洋電機株式会社 | Display drive circuit and display drive system |
JP5414469B2 (en) * | 2009-11-09 | 2014-02-12 | 三洋電機株式会社 | Display drive circuit and display drive system |
JP2011100068A (en) * | 2009-11-09 | 2011-05-19 | Sanyo Electric Co Ltd | Display driving circuit and display driving system |
JP6828505B2 (en) | 2017-02-23 | 2021-02-10 | アイシン精機株式会社 | Notification device for mobile objects |
-
2002
- 2002-12-24 JP JP2002372722A patent/JP4056381B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004205669A (en) | 2004-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7253350B2 (en) | Vibration source driving device | |
JP4056381B2 (en) | LED control circuit | |
US7211958B2 (en) | Modulation of a background light or any illumination of a mobile phone | |
KR100909231B1 (en) | LED lighting device | |
KR20060044826A (en) | Electronic apparatus for controlling voice and light emission of light emitting device in synchronous | |
US20160295668A1 (en) | Reproduction device and reproduction method | |
WO2015092984A1 (en) | Acoustic reproduction device | |
EP2696657B1 (en) | Modulator with variable quantizer | |
KR101693109B1 (en) | Light emitting speaker, light emitting speaker system, and driving method of light emitting speaker | |
US20060197673A1 (en) | Audio modulated light system for personal electronic devices | |
US20040001601A1 (en) | Electronic apparatus for adjusting brightness and flashing of lights in response to audio signals | |
JP4118717B2 (en) | Sound-linked light source driver device | |
US10680640B2 (en) | Power-saving current-mode digital-to-analog converter (DAC) | |
CN101365267A (en) | Music frequency and loudness exhibition apparatus and method for terminal | |
JP2001326085A (en) | Sound-to-light conversion device | |
US6944284B2 (en) | Pulsed volume control of a magnetic ringer | |
US6825772B2 (en) | Electroluminescent dashboard control circuit | |
Ashdown | Extended parallel pulse code modulation of LEDs | |
JP5807200B2 (en) | Lighting device | |
KR101021767B1 (en) | A control apparatus for led color by voice signal level | |
WO2008065872A1 (en) | Portable terminal, and light emitter drive control method and light emitter drive control program employed in the portable terminal | |
JP4921191B2 (en) | Digital amplifier and television receiver | |
CN216057580U (en) | Brightness adjusting circuit and driving circuit | |
WO2024077701A1 (en) | Light-emitting control method and apparatus for wireless earphone, terminal, and wireless earphone | |
JPH01216396A (en) | Sound output setting device for information equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040419 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070406 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070425 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070905 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071030 |
|
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: 20071122 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071211 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101221 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |