JP4417639B2 - Versa Lighter - Google Patents

Versa Lighter Download PDF

Info

Publication number
JP4417639B2
JP4417639B2 JP2003053365A JP2003053365A JP4417639B2 JP 4417639 B2 JP4417639 B2 JP 4417639B2 JP 2003053365 A JP2003053365 A JP 2003053365A JP 2003053365 A JP2003053365 A JP 2003053365A JP 4417639 B2 JP4417639 B2 JP 4417639B2
Authority
JP
Japan
Prior art keywords
light emitting
light
emitting diode
emitting diodes
image 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
JP2003053365A
Other languages
Japanese (ja)
Other versions
JP2004264440A (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.)
Nitto Optical Co Ltd
Original Assignee
Nitto Optical Co Ltd
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 Nitto Optical Co Ltd filed Critical Nitto Optical Co Ltd
Priority to JP2003053365A priority Critical patent/JP4417639B2/en
Publication of JP2004264440A publication Critical patent/JP2004264440A/en
Application granted granted Critical
Publication of JP4417639B2 publication Critical patent/JP4417639B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Devices For Indicating Variable Information By Combining Individual Elements (AREA)
  • Illuminated Signs And Luminous Advertising (AREA)
  • Control Of El Displays (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、発光ダイオードを発光させるバーサライターおよび発光装置並びに発光ダイオードを発光させるために使用する受発光兼用駆動回路に関する。
【0002】
【従来の技術】
特許文献1には、二次元残像表示具が開示されている。この二次元残像表示具は、メモリに保存されている残像データを利用して複数のLEDの発光を制御する。これにより、二次元残像表示具を手で持って振ることで、予め記憶されている残像データに基づいて、残像を形成する。
【0003】
特許文献2には、情報出力装置およびラインセンサ装置が開示されている。これらの装置は、複数の発光ダイオードと、各発光ダイオードに接続される複数個の受光回路および発光兼受光回路と、複数個の受光回路および発光兼受光回路に接続されるマルチプレクサと、このマルチプレクサや複数個の受光回路および発光兼受光回路へ制御信号を出力するCPUと、を備える。
【0004】
そして、発光兼受光回路によって発光ダイオードを発光させ、この発光する発光ダイオードに隣接する発光ダイオードの受光光量を、受光回路あるいは他の発光兼受光回路からの出力信号に基づいて読み取る。また、この発光させた発光ダイオードで読み取る場合には、他の発光兼受光回路によって他の発光ダイオードを発光させる。
【0005】
【特許文献1】
特開平7−134556号公報(発明の実施の形態の欄、図面)
【特許文献2】
特開2001−197253号公報(発明の実施の形態の欄、図1、図2)
【0006】
【発明が解決しようとする課題】
このように、従来にも、バーサライターとしての二次元残像表示具や、発光ダイオードを受光素子として利用する装置に関する発明が存在する。
【0007】
そして、この発光ダイオードを受光素子として利用する装置を、バーサライターに適用することで、画像を読み取らせ、その読み取らせた画像を残光像として形成することを本発明者が考えついた。これにより、予め決められた文字やキャラクタ以外の像を形成することが可能となる。一般的にバーサライターに記憶されている像の数はさほど多くない。せいぜい数個程度である。このような画像の読み取りが可能となることで、画像の制限が無くなる。
【0008】
しかしながら、このような発光ダイオードを受光素子として利用する装置を、バーサライターへ適用した場合、各発光ダイオードに、受光回路あるいは発光兼受光回路を接続する必要があるため、バーサライターが大型化してしまう。
【0009】
なお、従来の発光ダイオードを受光素子として利用する装置を、バーサライター以外の発光装置に適用した場合にも、同様に、発光装置の大型化が問題となる。
【0010】
本発明は、以上のような課題を解決するためになされたもので、より小さい回路規模で複数の発光ダイオードの発光を制御することができるバーサライター、発光装置および受発光兼用駆動回路を得ることを目的とする。
【0011】
【課題を解決するための手段】
上述する目的を達成するために、本発明に係るバーサライターは、細長い略円柱形状のハウジングと、ハウジングの先端部にその先端からグリップ部に向かって並べて配置される複数個の発光ダイオードと、ハウジングの内部に配設され、複数個の発光ダイオードの発光を制御する電気回路と、を備え、電気回路は、複数個の発光ダイオードが接続されるマルチプレクサおよびデマルチプレクサの機能をもつ双方向性スイッチング回路と、双方向性スイッチング回路に接続される駆動回路と、残光像データを記憶する記憶部材と、残光像データに基づいて双方向性スイッチング回路へ制御信号を出力する制御本体と、を備えるものである。
【0012】
この構成を採用すれば、制御本体は、残光像データに基づいて双方向性スイッチング回路および駆動回路へ制御信号を出力し、これにより複数個の発光ダイオードの発光を制御することができる。
【0013】
しかも、発光ダイオードと駆動回路との間に双方向性スイッチング回路を設け、この双方向性スイッチング回路へ残光像データに基づく制御信号を出力しているので、駆動回路の個数を発光ダイオードの個数よりも少なくすることができる。つまり、発光ダイオードに駆動回路を直接に接続した場合のように、発光ダイオードと同数の駆動回路を設ける必要が無く、より小さい回路規模で実現することができる。その結果、小型且つ軽量の振り易いバーサライターを得ることができる。
【0014】
本発明に係るバーサライターは、さらに、駆動回路および双方向性スイッチング回路は、少なくとも2組設けられ、複数個の発光ダイオードは、少なくともその一方に隣接する発光ダイオードが、自己が接続される双方向性スイッチング回路とは異なる双方向性スイッチング回路に接続されるように交互に他方の双方向性スイッチング回路へ接続され、各駆動回路には、発光ダイオードの受光光量に応じて変化する受光レベル信号を出力する受光部を設け、更に、制御本体は、複数の発光ダイオードを切り替えて複数の駆動回路へ接続する制御信号を複数の双方向性スイッチング回路へ出力し、受光レベル信号と閾値とを比較した結果に基づいて残光像データを生成し、この残光像データを記憶部材に記憶させるものである。
【0015】
この構成を採用すれば、バーサライターは、発光ダイオードの受光光量に応じて変化する受光レベル信号に基づいて残光像データを生成し、この残光像データを記憶部材に記憶させることができる。そして、その記憶部材に記憶されている残光像データに基づいて、複数個の発光ダイオードの発光を制御することができる。
【0016】
本発明に係るバーサライターは、さらに、駆動回路および双方向性スイッチング回路は、2組設けられ、複数個の発光ダイオードは、2つの双方向性スイッチグ回路ハウジングの先端側から順に交互に接続され、各駆動回路には、発光ダイオードの受光光量に応じて変化する受光レベル信号を出力する受光部を設け、更に、制御本体は、複数の発光ダイオードを切り替えて2つの駆動回路へ接続する制御信号を2つの双方向性スイッチング回路へ出力し、受光レベル信号と閾値とを比較した結果に基づいて残光像データを生成し、この残光像データを記憶部材に記憶させるものである。
【0017】
この構成を採用すれば、バーサライターは、発光ダイオードの受光光量に応じて変化する受光レベル信号に基づいて残光像データを生成し、この残光像データを記憶部材に記憶させることができる。そして、その記憶部材に記憶されている残光像データに基づいて、複数個の発光ダイオードの発光を制御することができる。しかも、駆動回路および双方向性スイッチング回路は2組だけなので、小型且つ軽量の振り易いバーサライターを得ることができる。
【0018】
本発明に係るバーサライターは、さらに、各発光ダイオードで発光のために利用する残光像データは、その発光ダイオードに隣接する発光ダイオードを発光させ、その発光した光をその発光ダイオードで受光して得られる受光レベル信号に基づいて制御本体において生成されるものである。
【0019】
この構成を採用すれば、各発光ダイオードで利用する残光像データは、それ自身で受光した光に基づいて生成することができる。
【0020】
本発明に係るバーサライターは、さらに、各発光ダイオードで発光のために利用する残光像データは、その発光ダイオードを発光させ、その発光した光をその発光ダイオードに隣接する発光ダイオードで受光して得られる受光レベル信号に基づいて制御本体において生成されるものである。
【0021】
この構成を採用すれば、各発光ダイオードで利用する残光像データは、それ自身で発光した光に基づいて生成することができる。
【0022】
本発明に係るバーサライターは、さらに、制御本体は、2つの駆動回路の中の一方を発光制御に設定するとともに、他方を受光制御に設定し、発光側の駆動回路に接続される双方向性スイッチング回路へ制御信号を出力することで、該マルチプレクサに接続される複数の発光ダイオードを順番に点灯し、各発光ダイオードが発光している間に、受光側の駆動回路に接続される双方向性スイッチング回路へ制御信号を出力することで、発光している発光ダイオードに隣接する2つの発光ダイオードを順番に受光側の駆動回路へ接続し、さらに、受光する2つの発光ダイオードによる2つの受光レベル信号の中の一方に基づいて、受光する2つの発光ダイオードの中の一方が利用する残光像データを生成し、他方に基づいて、発光する発光ダイオードが利用する残光像データを生成するものである。
【0023】
この構成を採用すれば、偶数番目の発光ダイオードのみあるいは奇数番目の発光ダイオードのみを発光させるだけで、全ての発光ダイオードの残光像データを生成することができる。そのため、各発光ダイオード毎に、2つの駆動回路の発光状態および受光状態を切り替えた場合に比べて、読取処理が単純化され、しかも、1列分の読取速度を早くすることができる。
【0024】
本発明に係る発光装置は、複数個の発光ダイオードと、複数個の発光ダイオードが接続される双方向性スイッチング回路と、双方向性スイッチング回路に接続される駆動回路と、像データを記憶する記憶部材と、像データに基づいて双方向性スイッチング回路へ制御信号を出力する制御本体と、を備えるものである。
【0025】
この構成を採用すれば、制御本体は、像データに基づいて双方向性スイッチング回路および駆動回路へ制御信号を出力し、これにより複数個の発光ダイオードの発光を制御することができる。
【0026】
しかも、発光ダイオードと駆動回路との間に双方向性スイッチング回路を設け、このマルチプレクサへ像データに基づく制御信号を出力しているので、駆動回路の個数を発光ダイオードの個数よりも少なくすることができる。つまり、発光ダイオードに駆動回路を直接に接続した場合のように、発光ダイオードと同数の駆動回路を設ける必要が無く、より小さい回路規模で実現することができる。その結果、小型で且つ軽量に形成することができる。
【0027】
本発明に係るバーサライターの受発光兼用駆動回路は、発光ダイオードに接続される受発光兼用駆動回路であって、発光ダイオードのカソードとグランドラインとの間に接続される第一分圧抵抗素子と、発光ダイオードに一端が接続される第二分圧抵抗素子と、発光ダイオードのアノードにゲート端子が接続される電界効果トランジスタと、電界効果トランジスタのソース端子と電源ラインとの間あるいはドレイン端子とグランドラインとの間に接続される検出抵抗素子と、発光ダイオードのアノードとグランドラインとの間に接続されるコンデンサと、発光ダイオードのアノードと電源ラインとの間に接続される制御トランジスタと、を備えるものである。
【0028】
この構成を採用すれば、制御トランジスタをオン状態に制御することで、発光ダイオードのアノードを電源ラインに接続することができる。発光ダイオードのカソードは、第一分圧抵抗素子を介してグランドラインに接続されている。これにより、発光ダイオードは発光する。
【0029】
また、制御トランジスタをオフ状態に制御することで、発光ダイオードの受光光量に応じたレベル値をコンデンサで積分し、その積分されたレベル値の変化にしたがう受光レベル信号を、検出抵抗素子から出力することができる。
【0030】
このように発光ダイオードを発光制御する回路と、受光制御する回路とを1つにすることで、より小さい回路規模で発光ダイオードの発光を制御することができる。また、この受発光兼用駆動回路を組み合わせることで、複数の発光ダイオードの発光と受光とを制御することができる。
【0031】
本発明に係るバーサライターの受発光兼用駆動回路は、さらに、受光する発光ダイオードのアノードの電位を変化させ、その変化タイミングを基準として、黒い画像による光を受光した場合にコンデンサの充電電圧が安定するまでの過期間において、コンデンサの充電電圧あるいはその充電電圧に応じて変化する電圧を読み取る制御本体を有するものである。
【0032】
この構成を採用すれば、白い画像を読み取ったときのコンデンサの充電電圧あるいはその充電電圧に応じて変化する電圧と、黒い画像を読み取ったときのコンデンサの充電電圧あるいはその充電電圧に応じて変化する電圧との電圧差を、定常状態においてこれらを読み取ったときの電圧差よりも大きくすることができる。したがって、用紙の色やインクの濃さやその他の読取環境要因に応じてレベルの変動が発生したとしても、閾値を適当に設定して精度良く判定することができる。
【0033】
【発明の実施の形態】
以下、本発明の実施の形態に係るバーサライター、バーサライターの発光装置および受発光兼用駆動回路を、図面に基づいて説明する。
【0034】
実施の形態1.
図1は、本発明の実施の形態1に係るバーサライター1の構造を示す透視図である。バーサライター1は、手で持って、前後または左右に振ることで、暗闇の中でも光り輝くこととなる残像(以下、残光像と記載する。)を形成するものである。
【0035】
バーサライター1のハウジング2は、略円柱の細長い棒形状を有する。ハウジング2の長さは、約20〜60cmに形成する。ハウジング2の長手方向の一端部には、手で握るためのグリップ部3が形成されている。バーサライター1は、このグリップ部3を手で握った状態で振って、使用する。
【0036】
なお、このグリップ部3の内部に、後述する電池17が配設される。この電池17の重さにより、バーサライター1はグリップ部3寄りの重心となる。そのため、グリップ部3を手で持って振ったときに、軽い振り心地を与えることができる。
【0037】
ハウジング2の長手方向の他端からグリップ部3までのバーサライター1の先端部4には、バーサライター1の長手方向に沿って、複数の発光ダイオード、この実施の形態では16個の発光ダイオードD01,D02,・・・,D16が一列に配列されている。この実施の形態では、発光ダイオードD01,D02,・・・,D16の全てについて、赤色に発光するものを使用している。
【0038】
発光ダイオードD01,D02,・・・,D16は、アノードがカソードよりも高い電位になることで、内部に電流が流れ、発光する。アノードの電位がカソードの電位よりも高くなればなるほど、大量の電流が流れ、強く発光する。
【0039】
発光ダイオードD01,D02,・・・,D16の光電変換特性は、可逆性を有する。すなわち、発光ダイオードD01,D02,・・・,D16は発光していないときに光が入射すると、その光の量に応じた電流を、アノードからカソードへ流すように反応する。この電流が流れることで、発光ダイオードD01,D02,・・・,D16には、微小な電圧が発生する。なお、発光ダイオードD01,D02,・・・,D16は、入射光の光量が多くなればなるほど、大量の電流を流そうとし、その電流が流れることによってアノードとカソードとの間に発生する電圧も大きくなる。
【0040】
なお、一列に配列する発光ダイオードD01,D02,・・・,D16の数は、16個以上であっても、あるいは16個以下であってもよい。一列に配列する発光ダイオードの数を多くした方が、バーサライター1で表示させる残光像がより鮮明になる。また、発光ダイオードは、二列あるいはそれ以上の列数にて配列されていてもよい。複数の列となるように発光ダイオードを配列する場合、各列の発光ダイオード同士を、たとえばバーサライター1の軸方向に対して垂直な平面を形成するように、円柱側面の周面方向に沿って一列に隣り合うように配置してよく、また、複数の列の隣り合う発光ダイオードを順番に結んで形成される線が、バーサライター1の円柱側面の周面方向に沿ってじくざくやらせん状となるように配置してもよい。
【0041】
また、発光ダイオードD01,D02,・・・,D16としては、赤色以外に、緑色に発光するものや、青色に発光するものや、白色に発光するものを利用することができる。赤色に発光する発光ダイオードの替わりに、これらの中のいずれか一色のものを全ての発光ダイオードD01,D02,・・・,D16に使用してもよい。また、これら各色の発光ダイオードを組み合わせて使用してもよい。特に、赤色に発光する発光ダイオードと、青色に発光する発光ダイオードと、緑色に発光する発光ダイオードとを3列に組み合わせることで、バーサライター1で表示させる残光像をフルカラー画像にすることができる。この場合には、3色の発光ダイオードは、3列に、且つ、バーサライター1の円柱側面の周面方向に沿って一列に隣り合うように配置するとよい。これにより、グリップ部3を持ってバーサライター1を振った時に各色の発光ダイオードの軌道同士が重なる。そして、各色の発光ダイオードの発光タイミングを微妙にずらすことで、各色の発光ダイオードを同じ空間位置において発光させることができ、フルカラー画像に形成できるとともに、色ずれの発生を防止することができる。
【0042】
以下、この一列に配列される16個の発光ダイオードD01,D02,・・・,D16は、それらを相互に区別して説明する場合には、バーサライター1の先端側から順番に、第一発光ダイオードD01、第二発光ダイオードD02、第三発光ダイオードD03、第四発光ダイオードD04、・・・、第十六発光ダイオードD16と記載する。
【0043】
第十六発光ダイオードD16と、グリップ部3との間には、電源スイッチ5と、モード切替スイッチ6とが配設されている。
【0044】
図2は、図1のバーサライター1の内部に配設され、16個の発光ダイオードD01,D02,・・・,D16の発光を制御する電気回路を示す回路図である。
【0045】
バーサライター1の内部に配設される電気回路は、主に、上述した16個の発光ダイオードD01,D02,・・・,D16と、バーサライター1の先端から見て奇数番目に配置される8個の発光ダイオードD01,D03,・・・,D15が接続される第一マルチプレクサ11と、第一マルチプレクサ11が接続される第一駆動回路12と、バーサライター1の先端から見て偶数番目に配置される残りの8個の発光ダイオードD02,D04,・・・,D16が接続される第二マルチプレクサ13と、第二マルチプレクサ13が接続される第二駆動回路14と、第一マルチプレクサ11、第一駆動回路12、第二マルチプレクサ13および第二駆動回路14を制御する1つのマイクロコンピュータ(以下、マイコンと記載する。)15と、マイコン15に接続される速度センサ16と、を備える。なお、マルチプレクサ11、12は、後述するように、マルチプレクサとデマルチプレクサの機能をもつ双方向性スイッチング回路であるが、以下ではマルチプレクサと称する。第一駆動回路12および第二駆動回路14は、受発光兼用駆動回路である。
【0046】
バーサライター1の内部に配設される電気回路は、上述した電気部品以外に、電池17と、電池17のプラス端子に接続される上述した電源スイッチ5と、電源スイッチ5に接続される電源ライン18と、電池17のマイナス端子に接続されるグランドライン19と、を備える。電源スイッチ5が閉じていると、電源ライン18には、電池17の蓄電電圧が電源電圧として供給される。電源スイッチ5が開いていると、電源ライン18には、電池17の蓄電電圧が供給されない。なお、電源スイッチ5は、電池17のマイナス端子とグランドライン19との間に接続されていてもよい。
【0047】
以下、電源スイッチ5が閉じているときの電源ライン18の電位を電源電位と記載し、グランドライン19の電位をグランド電位と記載する。
【0048】
バーサライター1の内部に配設される電気回路は、さらに、電源ライン18とマイコン15の1つの信号入力端子15aとの間に接続される上述したモード切替スイッチ6と、マイコン15の信号入力端子15aとグランドライン19との間に接続される抵抗素子20と、を備える。モード切替スイッチ6が開いていると、マイコン15の信号入力端子15aには、グランド電位が入力される。モード切替スイッチ6が閉じていると、マイコン15の信号入力端子15aには、電源電位が入力される。
【0049】
なお、モード切替スイッチ6がグランドライン19に接続されて、抵抗素子20が電源ライン18に接続されていてもよい。この場合にも、モード切替スイッチ6が開くと、マイコン15の信号入力端子15aがグランド電位になり、モード切替スイッチ6が閉じると、マイコン15の信号入力端子15aが電源電位になる。
【0050】
以下、モード切替スイッチ6が閉じているときを、バーサライター1の読取モードと記載する。読取モードでは、バーサライター1は、後に図12に基づいて説明するように、紙などに印刷された文字や図形を、バーサライター1でなぞることで画像を二値化し、残光像データ90として読み取る。
【0051】
また、モード切替スイッチ6が開いているときを、バーサライター1の発光モードと記載する。発光モードでは、バーサライター1は、残光像データ90に基づいて16個の発光ダイオードD01,D02,・・・,D16の発光を制御する。これにより、バーサライター1を振った範囲には、読み取った文字や図形が残光像として形成される。
【0052】
第一マルチプレクサ11は、1つの入力端子31と、8つの出力端子32とを有する。各出力端子32と入力端子31との間それぞれには、スイッチ33が接続される。
【0053】
第一マルチプレクサ11には、マイコン15から8ビットの制御信号が入力される。そして、制御信号の各ビットは、各スイッチ33を開閉制御するための制御情報として利用される。つまり、あるビットの値が「1」である場合に、それに対応するスイッチ33は閉じる。これにより、そのスイッチ33に接続される出力端子32と入力端子31とが電気的に接続される。あるビットの値が「0」である場合に、それに対応するスイッチ33は開く。これにより、そのスイッチ33に接続される出力端子32は、入力端子31に電気的に接続されない状態となる。なお、このビットの「0」「1」の値と、スイッチ33の開閉状態との対応関係は、逆であってもよい。
【0054】
第二マルチプレクサ13は、1つの入力端子34と、8つの出力端子35とを有する。各出力端子35と入力端子34との間それぞれには、スイッチ36が接続される。
【0055】
第二マルチプレクサ13には、マイコン15から8ビットの制御信号が入力される。そして、制御信号の各ビットは、各スイッチ36を開閉制御するための制御情報として利用される。つまり、あるビットの値が「1」である場合に、それに対応するスイッチ36は閉じる。これにより、そのスイッチ36に接続される出力端子35と入力端子34とが電気的に接続される。あるビットの値が「0」である場合に、それに対応するスイッチ36は開く。これにより、そのスイッチ36に接続される出力端子35は、入力端子34に電気的に接続されない状態となる。なお、このビットの「0」「1」の値と、スイッチ35の開閉状態との対応関係は、逆であってもよい。
【0056】
第一マルチプレクサ11および第二マルチプレクサ13の、2つのマルチプレクサには、一列に配列されている16個の発光ダイオードD01,D02,・・・,D16が交互に接続される。このように、16個の発光ダイオードD01,D02,・・・,D16を交互に第一マルチプレクサ11および第二マルチプレクサ13へ接続することで、各発光ダイオードD01,D02,・・・,D16は、その両側に隣接する発光ダイオードが自分とは異なるマルチプレクサへ接続されることになる。
【0057】
つまり、第一マルチプレクサ11の8つの出力端子32それぞれには、第一発光ダイオードD01のカソード、第三発光ダイオードD03のカソード、第五発光ダイオードD05のカソード、第七発光ダイオードD07のカソード、第九発光ダイオードD09のカソード、第十一発光ダイオードD10のカソード、第十三発光ダイオードD13のカソード、および第十五発光ダイオードD15のカソードの合計8つの発光ダイオードが接続される。
【0058】
第二マルチプレクサ13の8つの出力端子35それぞれには、第二発光ダイオードD02のカソード、第四発光ダイオードD04のカソード、第六発光ダイオードD06のカソード、第八発光ダイオードD08のカソード、第十発光ダイオードD10のカソード、第十二発光ダイオードD12のカソード、第十四発光ダイオードD14のカソード、および第十六発光ダイオードD16のカソードの合計8つの発光ダイオードが接続される。
【0059】
以下、16個のスイッチを互いに区別する場合には、第一発光ダイオードD01に接続されるスイッチ33は、第一スイッチと記載する。第二発光ダイオードD02に接続されるスイッチ36は、第二スイッチと記載する。第三発光ダイオードD03に接続されるスイッチ33は、第三スイッチと記載する。以下、同様の規則に従って各スイッチを記載する。
【0060】
第一駆動回路12は、第一マルチプレクサ11の入力端子31に接続される第一制御端子41と、第一マルチプレクサ11に接続された8つの発光ダイオードD01,D03,・・・,D15の全てのアノードに接続される第二制御端子42と、マイコン15からの制御信号が入力される第一制御入力端子43と、マイコン15からの制御信号が入力される第二制御入力端子44と、マイコン15に接続される出力端子45と、を備える。
【0061】
第一駆動回路12は、第二制御端子42とグランドライン19との間に接続される第一分圧抵抗素子としての抵抗素子46と、第二制御端子42と第二制御入力端子44との間に接続される第二分圧抵抗素子としての抵抗素子47と、を備える。
【0062】
第二制御端子42は、第二制御入力端子44の電位を、この2つの抵抗素子46,47で分圧した電位になる。第二制御入力端子44の電位は、マイコン15により制御される。したがって、マイコン15が第二制御入力端子44をたとえば電源電位に制御すると、第二制御端子42には、電源電位を2つの抵抗素子46,47で分圧した電位になる。そして、この電位が発光ダイオードD01,D03,・・・,D15のアノードの電位となる。また、マイコン15が第二制御入力端子44をたとえばグランド電位に制御すると、第二制御端子42は、グランド電位になる。そして、この電位が発光ダイオードD01,D03,・・・,D15のアノードの電位となる。なお、いずれの場合にも、発光ダイオードD01,D03,・・・,D15のアノードの電位は、電源電位よりも低い電位である。
【0063】
第一駆動回路12は、電源ライン18と第一制御端子41との間に接続される制御トランジスタとしてのPNPトランジスタ51と、電源ライン18とPNPトランジスタ51のベース端子に接続される抵抗素子52と、PNPトランジスタ51のベース端子と第一制御入力端子43との間に接続される抵抗素子53と、を備える。
【0064】
マイコン15が第一制御入力端子43を、たとえばグランド電位などの電源ライン18よりも低いローレベルに制御すると、電源電位と第一制御入力端子43の電位との電位差を、2つの抵抗素子52,53で分圧した電位がPNPトランジスタ51のベース端子に入力される。このベース端子の電位は、PNPトランジスタ51のエミッタ端子の電位(=電源電位)よりも低い。これにより、PNPトランジスタ51は、オン状態となる。
【0065】
PNPトランジスタ51がオン状態になると、第一制御端子41は、電源ライン18に接続される。このとき、たとえば第一マルチプレクサ11のいずれかのスイッチ33が閉じていると、そのスイッチ33に接続されている発光ダイオードD01,D03,・・・,D15のカソードは、電源ライン18に接続されることになる。上述したように、発光ダイオードD01,D03,・・・,D15のアノードは、電源電位よりも低い。したがって、発光ダイオードD01,D03,・・・,D15のカソードはアノードよりも高い電位となる。つまり、第一マルチプレクサ11の閉じたスイッチ33に接続される発光ダイオードD01,D03,・・・,D15は、発光する。
【0066】
第一駆動回路12は、第一制御端子41とグランドライン19との間に接続されるコンデンサ54と、第一制御端子41にゲートが接続されるFET(FieldEffect Transistor:電界効果トランジスタ)55と、FET55のソース端子と電源ライン18との間に接続される検出抵抗素子としての抵抗素子56と、FET55のドレイン端子とグランドライン19との間に接続される抵抗素子57と、を備える。FET55のソース端子が、出力端子45に接続される。この出力端子45の電圧が、受光レベル信号となる。また、FET55、抵抗素子56および抵抗素子57によって、受光部が構成される。
【0067】
マイコン15が第一制御入力端子43を、たとえば電源ライン18と同じハイレベルに制御すると、PNPトランジスタ51のベース端子も、電源ライン18と同じレベルになる。これにより、PNPトランジスタ51は、オフ状態となる。この状態において、たとえば第一マルチプレクサ11のいずれかのスイッチ33が閉じていると、そのスイッチ33に接続されている発光ダイオードD01,D03,・・・,D15のカソードは、FET55のゲート端子に接続されることになる。上述したように、発光ダイオードD01,D03,・・・,D15は、受光光量に応じた電圧を発生する。
【0068】
FET55のゲート端子の電位は、コンデンサ54の充電電圧によって決まる。コンデンサ54の充電電圧は、定常状態では、抵抗素子46の電圧に、発光ダイオードD01,D03,・・・,D15が発生する電圧を加えた電圧となる。発光ダイオードD01,D03,・・・,D15の受光光量が変化して、それに応じて発光ダイオードD01,D03,・・・,D15が発生する電圧が変化すると、コンデンサ54の充電電圧は、その発光ダイオードD01,D03,・・・,D15が発生する電圧の変化を積分した波形で変化する。したがって、FET55のソース端子に接続される抵抗素子56に発生する電圧や、出力端子45に現れる電位も、発光ダイオードD01,D03,・・・,D15が発生する電圧の変化を積分した波形で変化する。出力端子45の電位は、発光ダイオードD01,D03,・・・,D15の単位時間あたりの受光光量が大きければ大きいほど、低い電位になる。
【0069】
第二駆動回路14は、第二マルチプレクサ13の入力端子34に接続される第一制御端子61と、第二マルチプレクサ13に接続された8つの発光ダイオードD02,D04,・・・,D16の全てのアノードに接続される第二制御端子62と、マイコン15からの制御信号が入力される第一制御入力端子63と、マイコン15からの制御信号が入力される第二制御入力端子64と、マイコン15に接続される出力端子65と、を備える。
【0070】
第二駆動回路14は、第二制御端子62とグランドライン19との間に接続される第一分圧抵抗素子としての抵抗素子66と、第二制御端子62と第二制御入力端子64との間に接続される第二分圧抵抗素子としての抵抗素子67と、を備える。
【0071】
第二制御端子62は、マイコン15による第二制御入力端子64の制御電圧をこの2つの抵抗素子66,67で分圧した電位になる。したがって、マイコン15が第二制御入力端子64をたとえば電源電圧に制御すると、第二制御端子62には、電源電位を2つの抵抗素子66,67で分圧した電位になる。そして、この電位が発光ダイオードD02,D04,・・・,D16のアノードの電位となる。また、マイコン15が第二制御入力端子64をたとえばグランド電位に制御すると、第二制御端子62は、グランド電位になる。そして、この電位が発光ダイオードD02,D04,・・・,D16のアノードの電位となる。なお、いずれの場合にも、発光ダイオードD02,D04,・・・,D16のアノードの電位は、電源電位よりも低い電位になる。
【0072】
第二駆動回路14は、電源ライン18と第一制御端子61との間に接続される制御トランジスタとしてのPNPトランジスタ71と、電源ライン18とPNPトランジスタ71のベース端子に接続される抵抗素子72と、PNPトランジスタ71のベース端子と第一制御入力端子63との間に接続される抵抗素子73と、を備える。
【0073】
マイコン15が第一制御入力端子63を、たとえばグランド電位などの電源ライン18よりも低いローレベルに制御すると、電源電位と第一制御入力端子63の電位との電位差を2つの抵抗素子72,73で分圧した電位が、PNPトランジスタ71のベース端子に入力される。このベース端子の電位は、PNPトランジスタ71のエミッタ端子の電位(=電源電位)よりも低い。これにより、PNPトランジスタ71は、オン状態となる。
【0074】
PNPトランジスタ71がオン状態になると、第一制御端子61は、電源ライン18に接続される。このとき、たとえば第二マルチプレクサ13のいずれかのスイッチ36が閉じていると、そのスイッチ36に接続されている発光ダイオードD02,D04,・・・,D16のカソードは、電源ライン18に接続されることになる。発光ダイオードD02,D04,・・・,D16のアノードは、電源電位よりも低い。したがって、発光ダイオードD02,D04,・・・,D16のカソードはアノードよりも高い電位となり、第二マルチプレクサ13において閉じているスイッチ36に対応する発光ダイオードD02,D04,・・・,D16は発光する。
【0075】
第二駆動回路14は、第一制御端子61とグランドライン19との間に接続されるコンデンサ74と、第一制御端子61にゲートが接続されるFET75と、FET75のソース端子と電源ライン18との間に接続される検出抵抗素子としての抵抗素子76と、FET75のドレイン端子とグランドライン19との間に接続される抵抗素子77と、を備える。FET75のソース端子が出力端子65に接続される。この出力端子65の電圧が、受光レベル信号となる。FET75、抵抗素子76および抵抗素子77で、受光部が構成される。
【0076】
マイコン15が第一制御入力端子63を、たとえば電源ライン18と同じハイレベルに制御すると、PNPトランジスタ71のベース端子も電源ライン18と同じレベルになる。これにより、PNPトランジスタ71は、オフ状態となる。この状態で、たとえば第二マルチプレクサ13のいずれかのスイッチ36が閉じていると、そのスイッチ36に接続されている発光ダイオードD02,D04,・・・,D16のカソードは、コンデンサ74と、FET75のゲート端子とに接続されることになる。発光ダイオードD02,D04,・・・,D16は、受光光量が大きければ大きいほど、大きな電圧を発生する。
【0077】
FET75のゲート端子の電位は、コンデンサ74の充電電圧によって決まる。コンデンサ74の充電電圧は、抵抗素子66の電圧に、発光ダイオードD02,D04,・・・,D16が発生する電圧を加えた電圧となる。発光ダイオードD02,D04,・・・,D16の受光光量が変化すると、それに応じて発光ダイオードD02,D04,・・・,D16が発生する電圧も変化する。コンデンサ74の充電電圧は、その発光ダイオードD02,D04,・・・,D16が発生する電圧の変化を積分した波形で変化する。したがって、FET75のソース端子に接続される抵抗素子76の電圧や、出力端子65に現れる電位も、発光ダイオードD02,D04,・・・,D16が発生する電圧の変化を積分した波形で変化する。また、出力端子65の電位は、発光ダイオードD02,D04,・・・,D16の単位時間あたりの受光光量が大きければ大きいほど、低い電位になる。
【0078】
速度センサ16は、速度に応じたアナログ値を出力する。つまり、バーサライター1の振り速度(角速度)に応じたアナログ値を出力する。なお、速度センサ16は、たとえば、加速度の大きさに応じたレベル信号を出力する加速度センサと、この加速度センサの出力に接続されたコンデンサと、で構成することができる。このコンデンサは、加速度センサが出力するレベル信号を積分する。加速度を積分すると、速度になる。
【0079】
なお、このような速度センサ16の出力するアナログのレベル信号は、マイコン15に入力される。マイコン15は、速度0の場合のレベルを基準として、バーサライター1が右方向に振られる場合のアナログ値を、プラスの値として読み取る。バーサライター1が左方向に振られる場合のアナログ値を、マイナスの値として読み取る。
【0080】
図3は、図2中のマイコン15の構成を示す回路図である。
【0081】
マイコン15は、主に、I/Oポート81と、タイマ82と、CPU(CentralProcessing Unit:中央処理装置)83と、RAM(RandomAccess Memory:ランダムアクセスメモリ)84と、ROM(ReadOnly Memory:読出専用メモリ)85と、記憶部材としてのEEPROM(ElectricallyErasable ProgrammableRead−Only Memory:電気消去式プログラマブルROM85)86と、これらを接続するシステムバス87と、を備える。
【0082】
タイマ82は、クロック信号を出力する。I/Oポート81、CPU83、RAM84、ROM85およびEEPROM86は、このクロック信号に同期して動作する。
【0083】
I/Oポート81には、3つのADコンバータ88が接続される。3つのADコンバータ88には、速度センサ16と、第一駆動回路12の出力端子45と、第二駆動回路14の出力端子65とが接続される。I/Oポート81には、さらに、モード切替スイッチ6と、第一マルチプレクサ11と、第一駆動回路12の第一制御入力端子43および第二制御入力端子44と、第二マルチプレクサ13と、第二駆動回路14の第一制御入力端子63および第二制御入力端子64と、が接続される。
【0084】
そして、I/Oポート81は、クロック信号に同期して、入力信号をサンプリングし、その値をI/Oポート81内のバッファに書き込む。また、クロック信号に同期して、制御信号のレベルを、バッファの値に応じたレベルへ切り替える。
【0085】
ROM85には、制御プログラム89が記憶されている。CPU83は、クロック信号に同期して、ROM85から制御プログラム89を読み込み、これを実行する。これにより、制御本体が実現される。この読み込んだ制御プログラム89や、その制御プログラム89の実行に必要な一時データなどは、RAM84に記憶される。
【0086】
EEPROM86には、像データとしての残光像データ90が記憶されている。なお、この残光像データ90を記憶するためのメモリは、残光像データ90を、更新可能に記憶するものであればよく、EEPROM86以外のメモリであってもよい。このようなメモリとしては、他にもたとえば、紫外線消去型のROMや、電源スイッチ5が開いている状態でも電池17の蓄電電力が常に供給されるように給電されているRAMなどがある。
【0087】
図4は、残光像データ90の一例を示す説明図である。図4に示す残光像データ90は、16行×19列の行列データになっている。行列の各要素には、「0」あるいは「1」のデータが格納される。
【0088】
第一行は、第一発光ダイオードD01の発光データである。第二行は、第二発光ダイオードD02の発光データである。第三行は、第三発光ダイオードD03の発光データである。第四行は、第四発光ダイオードD04の発光データである。第五行は、第五発光ダイオードD05の発光データである。第六行は、第六発光ダイオードD06の発光データである。以下、同様に第七行から第十六行が第七発光ダイオードD07から第十六発光ダイオードD16の各発光データとなる。
【0089】
CPU83は、この残光像データ90を、1列ずつ順番にI/Oポート81へ書き込む。たとえばバーサライター1がそれを目視する人から見て左から右へ振られるとき、すなわち、振る人から見て右から左へ振るときには、CPU83は、後述する制御によって、図4の最も左側の列データから順番にI/Oポート81へ書き込む。クロック信号に同期して、この列データは、第一マルチプレクサ11および第二マルチプレクサ13へ出力される。第一マルチプレクサ11および第二マルチプレクサ13は、「1」のデータに対応するスイッチ33,36を閉じ、「0」のデータに対応するスイッチ33,36を開く。スイッチ33,36が閉じている発光ダイオードD01,D02,・・・,D16のみが光る。これにより、バーサライター1を振った空間に、「GO」の文字を、残光像として形成することができる。
【0090】
また、バーサライター1を目視する人から見て、一旦右端まで振られたバーサライター1が折り返し左へ振られ始めると、CPU83は、図4の最も右側の列データから順番にI/Oポートへ書き込む。これによって先の場合とは逆の順番に各発光ダイオードD01,D02,・・・,D16が光る。これような制御を繰り返すことによって、バーサライター1を左右に振り続ける間「GO」の文字が残光像として空間に形成され続ける。
【0091】
なお、残光像データ90の各列には、速度積算値が対応付けられている。この速度積算値は、残光像データ90とともに、EEPROM86に記憶される。この各列に対応付けらけれる速度積算値は、後述するように、バーサライター1の振り位置に応じて積算される速度積算値と、比較される。この実施の形態1では、図4の各列の速度積算値は、その左側の列のものよりも大きな値になっている。また、図4の最も右側の列の速度積算値は、プラスの値になっている。なお、隣り合う2つの列の速度積算値同士の差は、この実施の形態1のように全ての速度積算値同士の組み合わせにおいて等しくなっていてもよいが、速度積算値同士の組合せ毎に異なっていてもよい。
【0092】
次に、バーサライター1全体の制御を説明する。
【0093】
電源スイッチ5が閉じられると、電源ライン18が電池17に接続され、この電源ライン18から供給される電力によって、マイコン15その他の回路素子は動作を開始する。マイコン15のCPU83は、制御プログラム89を読み込んで実行する。図5は、CPU83が実行するメインルーチンを示すフローチャートである。
【0094】
CPU83は、モードを確認する(ST1)。具体的には、モード切替スイッチ6に対応するI/Oポート81のバッファ値を読み込む。
【0095】
そして、このバッファ値が「1」(電位レベルとしてはハイレベル)である場合には、読取モードと判断して読取ステップを実行する(ST2)。逆に、バッファ値が「0」(電位レベルとしてはローレベル)である場合には、発光モードと判断して発光ステップを実行する(ST3)。なお、読取ステップは、読取制御に相当し、発光ステップは、発光制御に相当する。
【0096】
図6は、発光ステップ(ST3)の詳細なステップを示すフローチャートである。
【0097】
発光ステップ(ST3)では、まず、CPU83は、2つのステップST11,ST12からなる初期設定ステップを実行する。
【0098】
初期設定ステップにおいてCPU83は、まず、発光モード設定処理を行う(ST11)。具体的には、第一駆動回路12の第一制御入力端子43および第二駆動回路14の第一制御入力端子63をローレベルに制御するとともに、第一駆動回路12の第二制御入力端子44および第二駆動回路14の第二制御入力端子64をハイレベルに制御する。これにより、発光ダイオードD01,D02,・・・,D16のカソードは、電源電位を2つの抵抗素子46,47(66,67)で分圧した電位となり、第一マルチプレクサ11および第二マルチプレクサ13の入力端子31,34は、電源ライン18に接続される。
【0099】
初期設定ステップにおいてCPU83は、次に、速度センサ16の値に基づいて、バーサライター1の位置を特定するための速度値の積算処理を開始する(ST12)。具体的には、速度センサ16の値が0からプラスへ変化するタイミングのバーサライター1の位置を振り始めの基準位置Aとして、速度センサ16が出力する速度値の加算処理を開始する。これは、速度値を積分するのと等価な処理である。これにより、速度積算値が、バーサライター1の位置に対応付けられる。つまり、同じ振り幅でバーサライター1を振っている場合または回転させている場合において、バーサライター1が同じ振り位置にあるときには、速度積算値は同じ値になる。
【0100】
なお、速度センサ16の値が0となるときは、バーサライター1が停止しているとき、あるいは、バーサライター1の振り方向(回転方向)が切り替わるときである。バーサライター1の振り方向が変わるタイミングと、CPU83のバッファ読み込みタイミングとは非同期である。そのため、これらのタイミング同士の関係によっては、バッファの値は、0になることなくマイナスの速度値からプラスの速度値へ変わってしまうことがありえる。そのような場合には、マイナスの速度値から最初にプラスの速度値へ変わるタイミングから速度センサ16が出力する速度値の加算を開始すればよい。この場合、バーサライター1の振り始めの位置と、積算速度値が0となる基準位置Aとは一致しないことになるが、バーサライター1の振り位置に対して速度積算値を対応付けることができるので、制御上の問題は無い。
【0101】
次に、CPU83は、積算されている速度積算値と、記憶している速度積算値とを比較し(ST13)、一致したときにEEPROM86に記憶されている残光像データ90から速度積算値に対応した一列を抽出する(ST14)。具体的には、CPU83は、EEPROM86において残光像データ90の各列に対応付けて記憶されている速度積算値と、CPU83が積算している速度積算値とを比較する(ST13)。そして、積算している速度積算値が、記憶している速度積算値と一致したときに、その一致する列データを抽出し、I/Oポート81のバッファに書き込む(ST14)。
【0102】
なお、CPU83は、タイマ82のクロック信号に同期して動作するので、CPU83が積算している速度積算値が、記憶している速度積算値と一致しない場合が生ずるが、この実施の形態では記憶している速度積算値をはさむ状態が生じた場合、その挟んでいる2回分の速度積算値の後者が生じた時に、I/Oポート81のバッファにその挟み込まれた速度積算値に一致する列データを書き込むようにしている。
【0103】
I/Oポート81は、そのバッファに書き込まれた列データを、第一マルチプレクサ11および第二マルチプレクサ13へ出力する。バッファ値が「1」であるスイッチ33,36は閉じる。各発光ダイオードD01,D02,・・・,D16の中で、閉じたスイッチ33,36に接続されているものが発光する。
【0104】
次に、CPU83は、バーサライター1の停止を判定する(ST15)。具体的には、たとえば、I/Oポート81のバッファ値に基づいて、所定の速度値以下の状態が継続して発生しているか、速度積算値が変化しなくなったかなどを判断し、これらの条件のいずれか1つまたは複数を満たす場合には終了と判定する。これにより、CPU83は、図5のメインルーチンへ復帰することができる。
【0105】
なお、バーサライター1が停止していない場合には、CPU83は、速度積算値を比較するステップ(ST13)と、残光像データ90から新たな一列を抽出するステップ(ST14)と、停止判定ステップ(ST15)とを繰り返す。これにより、I/Oポート81のバッファには、常に、CPU83が積算処理した速度積算値と一致する速度積算値が対応付けられた列データ、あるいは、積算処理した速度積算値に最も近い速度積算値が対応付けられた列データが、書き込まれることになる。また、バーサライター1が所定の範囲において左右、前後などに振り続けられている限り、または一定方向に回転したり往復回転している限り、停止と判定することはないので、CPU83は、このような発光制御を継続して実行する。
【0106】
これにより、バーサライター1の振り位置が変化すると、積算される速度積算値も変化するので、I/Oポート81のバッファに書き込まれている列データは変化する。バーサライター1が同じ振り位置にあるときは、積算される速度積算値も略等しくなるので、同じ列データがI/Oポート81のバッファに書き込まれる。
【0107】
その結果、バーサライター1を一定の範囲において往復させて振り続けることで、「GO」の文字を、残光像として形成し続けることができる。
【0108】
図7は、このような発光モードの制御によって形成される残光像の一例を示す説明図であり、図4に示す残光像データから得られる残光象である。図7の左端に示すAは、積算される速度積算値が0となるバーサライター1の基準位置である。
【0109】
たとえば、この基準位置Aからバーサライター1が図7の右側に移動するにつれて、約5度毎に、CPU83が積算する速度積算値が10ずつ増加するものとする。図4の残光像データ90では、列データの速度積算値同士の差は10である。したがって、バーサライター1を90(=5度×(19−1)以上の振り角度で振ることで、図4に示す「GO」の残光像データ90に基づいて、バーサライター1の振り範囲に、図7に示すような「GO」の表示をあらわすことができる。
【0110】
CPU83は、バーサライター1の速度積算値、すなわち移動距離となる振り位置を判定し、その位置に応じた列データをI/Oポート81のバッファに書き込むようにしているので、バーサライター1が同じ振り位置にくれば、発光ダイオードD01,D02,・・・,D16は、同じ列データに基づいて発光する。その結果、「GO」の残光文字は、バーサライター1の振り速度が一定にならなくても、あるいは、バーサライター1の振り範囲が一定にならなくても、常に同じ位置に表示される。
【0111】
図8は、読取ステップST2の詳細なステップを示すフローチャートである。
【0112】
読取ステップST2では、CPU83は、第一発光ダイオードD01から第十六発光ダイオードD16まで順番に、16回の読取処理を行う(ST21,ST22,・・・,ST36)。また、第十六発光ダイオードD16の読取処理ST36が完了した時点で、モード切替スイッチ6の状態を検出し、モード切替スイッチ6が読取モード以外のモードになっていた場合には、つまりこの実施の形態1では発光モードになっていた場合には、読取処理を終了する(ST37)。これにより、CPU83は、図5のメインルーチンへ復帰することができる。
【0113】
図9は、発光ダイオードD01,D02,・・・,D16毎の読取処理(ST21,ST22,・・・,ST36)の詳細なステップを示すフローチャートである。
【0114】
各発光ダイオードD01,D02,・・・,D16の読取処理において、CPU83は、まず、6つのステップST41〜ST46からなる初期設定ステップを行う。
【0115】
たとえば、読み取りを行う発光ダイオードが1番目とする。具体的には、第1発光ダイオードが接続される第一駆動回路12(以下、受光側駆動回路と記載する。)の第一制御入力端子43および第二制御入力端子44をハイレベルに制御する(ST41,ST42)。他方である第二駆動回路14(以下、発光側駆動回路と記載する。)の第一制御入力端子63をローレベルに制御するとともに第二制御入力端子64をハイレベルに制御する(ST43,ST44)。第1発光ダイオードが接続される側の第一マルチプレクサ11(以下、受光側マルチプレクサと記載する。)に、第1スイッチを閉じる制御信号を出力する(ST45)。第二マルチプレクサ13(以下、発光側マルチプレクサと記載する。)に、第2スイッチを閉じる制御信号を出力する(ST46)。
【0116】
CPU83は、次に、測光処理を行う(ST47)。図10は、測光処理ST47の詳細なステップを示すフローチャートである。
【0117】
測光処理においてCPU83は、まず、受光側駆動回路の第二制御入力端子44をハイレベルからローレベルに変化させる(ST61)。これにより、第1発光ダイオードのアノードはグランド電位となる。このとき、受光側駆動回路のコンデンサ54に電荷が蓄電されている場合には、第1発光ダイオードに順方向電圧が印加されることになり、コンデンサ54の電荷が第1発光ダイオードを介して放電されることになる。そして、受光側駆動回路の第二制御入力端子44をローレベルに1msほど制御することで、コンデンサ54は完全に放電し、第1発光ダイオードのカソードもグランド電位となる。その結果、受光側駆動回路のFET55のソース端子とドレイン端子との間には電流が流れないので、受光側駆動回路の出力端子45は、ハイレベルとなる。これにより、コンデンサ54のリセットがなされる。
【0118】
受光側駆動回路の第二制御入力端子44を1msの間ローレベルに制御した後(ST62)、CPU83は、その第二制御入力端子44を再びハイレベルに切り替える(ST63)。第二制御入力端子44がローレベルからハイレベルへ切り替えられると、電源電位を2つの抵抗素子46,47で分圧した電圧が、第1発光ダイオードのアノードに印加される。第1発光ダイオードは、受光光量に応じた電圧を発生する。コンデンサ54には、この第1発光ダイオードに発生する電圧を積分した電圧が生じる。この第1発光ダイオードに発生する電圧を積分した電圧が、FET55のゲート端子に印加される。
【0119】
図11は、受光側駆動回路の出力端子45の電位変化を示す波形図である。横軸は、時間であり、縦軸は、出力端子45の電位である。図11の上側の波形Aは、読み取る画像が黒色である場合の、出力端子45の電位波形である。図11の下側の波形Bは、読み取る画像が白色である場合の、出力端子45の電位波形である。
【0120】
図11の例の場合、読み取る画像が黒色である場合、受光側駆動回路の出力端子45の電位は、受光側駆動回路の第二制御入力端子44をローレベルからハイレベルへ切り替えてから約70msで、4.5Vから2.5Vまで下がる。この約70msの期間が過期間である。読み取る画像が白色である場合、受光側駆動回路の出力端子45の電位は、第二制御入力端子44をローレベルからハイレベルへ切り替えてから約10msで、4.5Vから1.5Vまで下がる。なお、読み取る画像が灰色の場合、約10〜70msの間で、2.5Vと1.5Vとの間の電位まで下がる。
【0121】
なお、FET55のゲートにコンデンサ54が接続されていない場合、受光側駆動回路の出力端子45の電位は、画像の色に関係なく、数msの間に急激に、2.5V〜1.5Vの間の電圧に下がってしまう。
【0122】
次に、CPU83は、図10に示すように、受光側駆動回路の第二制御入力端子44をローレベルからハイレベルへ切り替えてから、つまり受光する発光ダイオードのアノードの電位を変化させてから10ms後に(ST64)、受光側駆動回路の出力端子45のレベルを、I/Oポート81から読み取る(ST65)。これにより、測光処理ST47は、終了する。
【0123】
測光処理ST47が終了すると、CPU83は、図9のフローチャートに示すように、この読み取った受光側駆動回路の出力端子45のレベルが2.75V(閾値)よりも高いか否かを判定する(ST48)。そして、高い場合には黒と判定し、CPU83は、EEPROM86の残光像データ90の第1行に「1」を書き込む(ST49)。読み取ったレベルが2.75V以下である場合には、CPU83は、白と判定し、EEPROM86の残光像データ90の第1行に「0」を書き込む(ST50)。
【0124】
CPU83は、図9および図10に示す以上の発光ダイオードD01,D02,・・・,D16毎の読取処理を、第1発光ダイオードD01,D02,・・・,D16から第十六発光ダイオードD16まで繰り返す。すなわち、n(nは1から16までの整数)番目の発光ダイオードが受光素子となる場合は、n+1番目の発光ダイオードが発光素子となる状態をnが1〜16まで順次、実行していく。これにより、EEPROM86には、1列分の残光像データ90が格納される。また、nが偶数である場合、第二駆動回路14が受光側駆動回路となり、第一駆動回路12が発光側駆動回路となる。同様に、第二マルチプレクサ13が受光側マルチプレクサとなり、第一マルチプレクサ11が発光側マルチプレクサとなる。
【0125】
1列分の残光像データ90をEEPROM86に格納すると、図8に示すように、CPU83は、モード切替スイッチ6が読取モード以外のモードに切り替えられているか否かを判定する。CPU83が読取モードであると判断すると、読取モードを継続する。その後、バーサライター1の読取位置がずれたことを検出する(ST38)。たとえば、先の図7に示す例では、5度に相当する距離を移動したか否かを判定すればよい。そして、ST21からST37までを再度実行する。このようにして、モード切替スイッチ6が読取モード以外のモードに切り替えられるまで、バーサライター1のわずかずつの移動を検出しながら、1列分の画像の読取処理を繰り返す(ST37)。
【0126】
これにより、利用者は、モード切替スイッチ6を読取モードへ切り替えた後、たとえば図12に示すような用紙に書かれた「GO」の文字の上を、発光ダイオードD01,D02,・・・,D16を下向きにした状態で、バーサライター1を順次移動させることで、図4に示す残光像データ90を、EEPROM86に記憶させることができる。なお、EEPROM86への書込みは、モード切替スイッチ6を発光モードへ切り替えるときに行わせるようにし、それ以前はRAM84に一時的に記憶させるようにしてもよい。
【0127】
なお、EEPROM86において残光像データ90の各列に対応付けて記憶する速度積算値は、残光像データ90の各列に対応付けて、予め固定的に記憶されていても良いが、たとえば、上述した読取時の速度センサ16の値を積分し、この積分値を、各列に対応付けて記憶させるようにした方がよい。この場合、図8のフローチャート中の5度に相当する距離ずつの移動の検出の替わりに、CPU83による速度積分値が所定の値、図4の例ではその値が「10」となるまで待つ処理となる。
【0128】
これにより、読取時のバーサライター1の移動速度が速くなったり、遅くなったり、または、送り速度が混在したとしても、発光時にはその影響が全く生じない画像を再現することができる。
【0129】
以上のように、この実施の形態1に係るバーサライター1は、用紙などに記載される文字や画像を読取モードで読み取ることができる。また、その読み取った画像を、発光モードにおいて残光像として形成することができる。
【0130】
しかも、発光ダイオードD01,D02,・・・・,D16を発光させる回路と受光させる回路とを第一駆動回路12あるいは第二駆動回路14として1つに兼用しているので、より小さい回路規模で複数の発光ダイオードD01,D02,・・・・,D16の発光と受光とを制御することができる。また、発光ダイオードD01,D02,・・・・,D16と2つの駆動回路12,14との間にそれぞれマルチプレクサ11,14を設け、この2つのマルチプレクサ11,14へ残光像データに基づく制御信号を出力しているので、駆動回路の個数(この実施の形態では2個)は、発光ダイオードの個数(この実施の形態では16個)よりも少なくなる。特に、駆動回路およびマルチプレクサは2組だけなので、小型且つ軽量の振り易いバーサライター1を得ることができる。つまり、各発光ダイオードに駆動回路を直接に接続した場合のように、発光ダイオードと同数の駆動回路を設ける必要が無く、より小さい回路規模で実現することができる。その結果、小型且つ軽量の振り易いバーサライターを得ることができる。
【0131】
ところで、第一駆動回路12の第一制御端子41や第二駆動回路14の第一制御端子61とグランドライン19との間にコンデンサ54やコンデンサ74を接続することには、以下の意味がある。
【0132】
第一に、読取時の発光ダイオードの受光光量に対する出力端子45,75の電圧過変化がゆっくりになるので、二値化の精度が向上する。
【0133】
コンデンサ54,74が無い場合には、出力端子45,65の電位はすぐに定常状態になってしまうので、この定常状態の条件化で二値化判定をしなければならない。そして、定常状態では、図11に示すように、白い画像の読取電位と黒い画像の読取電位との電位差は、1V程度しかない。白い画像の読取電位や、黒い画像の読取電位は、用紙の色やインクの濃さやその他の読取環境要因に応じて、0.5〜1V程度は簡単に変動する。その結果、このような各種の画像読取環境に対して、二値化のための閾値を適当に設定するのは難しく、場合によっては画像を適切に読み取ることができない。
【0134】
これに対して、この実施の形態1のように、第一制御端子41,61とグランドライン19との間にコンデンサ54,74を接続して、読取時の発光ダイオードの受光光量に対する出力端子45,65の電圧過変化をゆっくりにし、そのゆっくりと変化する過状態の期間において、出力端子45,65の電圧を読み取った場合には、最大で約3V程度(図11で10ms付近)の電位差を確保することができる。その結果、読取環境要因に応じて0.5〜1V程度の変動が発生したとしても、二値化のための閾値を適当に設定し、精度良く二値化判定をすることができる。
【0135】
第二に、発光ダイオードD01,D02,・・・,D16が発生する電圧を積分した電圧値を読み取ることになるので、画像の読取安定性が向上する。
【0136】
図13(A)に示す画像を読み取る場合と、図13(B)に示す画像を読み取る場合とを、比較する。バーサライター1は、点線格子の横線に沿って、紙面の左側から右側へ移動するものとする。つまり、各発光ダイオードD01,D02,・・・,D16は、2つの横線の間を移動する。図13では、D(n−1)番目の発光ダイオードと、D(n)番目の発光ダイオードと、D(n+1)番目の発光ダイオードのみを図示している。また、CPU83は、点線格子の縦線にバーサライター1が重なるタイミングで、受光側駆動回路の出力端子45(65)の値を読み取るものとする。図13では、各発光ダイオードの受光光量は、T1,T2,T3,T4,T5のタイミングで読み取られる。
【0137】
白黒画像の斜めのエッジabに対する点線格子との重なり具合を比較すれば判るように、図13(A)での各発光ダイオードD01,D02,・・・,D16の読取位置は、図13(B)での各発光ダイオードD01,D02,・・・,D16の読取位置よりも、若干上側にずれている。たとえば、D(n−1)番目のダイオードは、図13(A)の場合には、T1のタイミングでは黒を読み取り、T2のタイミングでは白を読み取っているのに対して、図13(B)の場合には、T1のタイミングでは黒を読み取り、T2のタイミングでも黒を読み取っている。
【0138】
第一制御端子41とグランドライン19との間や、第一制御端子61とグランドライン19との間にコンデンサ54,74が接続されていない場合、受光側駆動回路の出力端子からは、発光ダイオードD01,D02,・・・,D16の受光光量の瞬時値が出力される。CPU83は、この瞬時値を読み込んで二値化判定に利用する。そのため、図13(A)の画像を読み取った場合には、図14(A)の残光像データ90がEEPROM86に記憶される。図13(B)の画像を読み取った場合には、図14(B)の残光像データ90がEEPROM86に記憶される。図14の各行列において、第一行は、D(n−1)番目の発光ダイオードの読取データ、第二行は、D(n)番目の発光ダイオードの読取データ、第三行は、D(n+1)番目の発光ダイオードの読取データである。また、第一列はタイミングT1での読取データ、第二列はタイミングT2での読取データ、第三列はタイミングT3での読取データ、第四列はタイミングT4での読取データ、第五列はタイミングT5での読取データである。
【0139】
図14(A)の残光像データ90での「1」と「0」との境界位置と、図14(B)の残光像データ90での「1」と「0」との境界位置とは、異なっている。「1」と「0」との境界の位置が異なると、それに基づいて形成される残光像の位置も異なってくる。
【0140】
このように、発光ダイオードD01,D02,・・・,D16の受光光量の瞬時値を二値化した場合、画像に対するバーサライター1の読取位置が若干ずれてしまうだけで、残光像の位置が変化してしまう。つまり、画像の読取安定性が良くない。同様に、発光ダイオードD01,D02,・・・,D16の受光光量の瞬時値を二値化した場合、画像に対するバーサライター1の読取位置が若干ずれてしまうだけで、残光像の位置が変化するだけでなく、残光像の外形も異なってしまうことになる。
【0141】
これに対して、第一制御端子41,61とグランドライン19との間にコンデンサ54,74が接続されている場合、出力端子45,65のうち受光側駆動回路となる出力端子からは、発光ダイオードD01,D02,・・・,D16の受光光量の積分値が出力される。すなわち、たとえばT2のタイミングでは、T1からT2の間の総量を読み取ることとなる。CPU83は、この積分値を読み込んで二値化判定に利用する。図13(A)の画像を読み取った場合には、図15(A)の残光像データ90がEEPROM86に記憶される。図13(B)の画像を読み取った場合には、図15(B)の残光像データ90がEEPROM86に記憶される。図15の各行列において、第一行は、D(n−1)番目の発光ダイオードの読取データ、第二行は、D(n)番目の発光ダイオードの読取データ、第三行は、D(n+1)番目の発光ダイオードの読取データである。また、第一列はタイミングT1での読取データ、第二列はタイミングT2での読取データ、第三列はタイミングT3での読取データ、第四列はタイミングT4での読取データ、第五列はタイミングT5での読取データである。
【0142】
図15(A)の残光像データ90での「1」と「0」との境界位置と、図15(B)の残光像データ90での「1」と「0」との境界位置とは、一致する。「1」と「0」との境界の位置が一致するので、それに基づいて形成される残光像も同じになる。同様に、画像に対するバーサライター1の読取位置が若干ずれても、残光像の外形は同じになる。
【0143】
このように、発光ダイオードD01,D02,・・・,D16の受光光量の積分値を二値化した場合、バーサライター1の読取位置が若干ずれたとしても、同じ残光像データ90を読み込み、同じ残光像を形成することができる。つまり、画像の読取安定性が改善される。
【0144】
なお、第一制御端子41と電源ライン18との間や、第一制御端子61と電源ライン18との間にコンデンサ54,74を接続しても、同様の効果を得ることができる。
【0145】
実施の形態2.
本発明の実施の形態2に係るバーサライター1のハードウェア構成は、実施の形態1に係るバーサライター1のハードウェア構成と同一である。そのため、バーサライター1の各構成要素には、実施の形態1の同名の構成要素と同一の符号を使用して、バーサライター1のハードウェア構成の図示および説明を省略する。また、本発明の実施の形態2に係るバーサライター1の、発光モードでの制御プログラム89は、実施の形態1に係るバーサライター1の、発光モードでの制御プログラム89と同一である。そのため、発光モードのフローチャートの図示および説明は、省略する。
【0146】
ところで、発光ダイオードD01,D02,・・・,D16は、少ない消費電力で高い輝度の光を発する回路素子である。そのため、発光ダイオードD01,D02,・・・,D16は、発光ダイオードD01,D02,・・・,D16の頭頂部方向へは高い輝度の光を発するが、その頭頂部方向から少し方向がずれると、急激に輝度が低くなる発光特性を有する。
【0147】
そのため、図1に示すようにバーサライター1の先端部4に、一列に発光ダイオードD01,D02,・・・,D16を配列した場合、全ての発光ダイオードD01,D02,・・・,D16を発光させた場合の輝度分布は、おおよそ図16に示すような輝度分布となる。つまり、各発光ダイオードD01,D02,・・・,D16の頭頂部方向(図16で点線方向)での輝度は高くなるが、隣接する2つの発光ダイオードD01,D02,・・・,D16の間の方向での輝度は低くなる。
【0148】
その結果、読取モードにおいて、たとえば、第四発光ダイオードD04を発光させて第三発光ダイオードD03で受光した場合における受光側駆動回路の出力端子45のレベルと、第三発光ダイオードD03を発光させて第四発光ダイオードD04で受光した場合における受光側駆動回路の出力端子65のレベルとは、発光させた発光ダイオードD01,D02,・・・,D16の、頭頂部方向の位置の違いおよび頭頂部方向の強い光に基づく画像での散乱状態の相違の影響を受けて、当然に異なるレベルになる。
【0149】
しかしながら、図16の各発光ダイオードD01,D02,・・・,D16の各中間に対応する位置の用紙部分からの反射光を受光すると考えた場合、第四発光ダイオードD04を発光させて第三発光ダイオードD03で受光した場合における受光側駆動回路の出力端子45のレベルと、第三発光ダイオードD03を発光させて第四発光ダイオードD04で受光した場合における受光側駆動回路の出力端子65のレベルとは、略同一レベルになる、と判断される。この判断に基づいて発明者らが実験を行ったところ、実際に、略同一レベルとなた。実施の形態2は、この実験結果に基づくものである。
【0150】
図17は、本発明の実施の形態2に係るバーサライター1の読取ステップの詳細なステップを示すフローチャートである。
【0151】
CPU83は、まず、初期設定ステップを行う(ST71)。具体的には、第二駆動回路14の第一制御入力端子63をローレベルに制御するとともに第二制御入力端子64をハイレベルに制御する。第一駆動回路12の第一制御入力端子43および第二制御入力端子44をハイレベルに制御する。これにより、偶数の番号の発光ダイオードD02,D04,・・・,D16は、発光状態に制御可能な状態となり、奇数の番号の発光ダイオードD01,D03,・・・,D15は、受光状態に制御可能な状態となる。
【0152】
次に、CPU83は、2n−1のスイッチを閉じるとともに、2nのスイッチを閉じる制御を行う。具体的には、CPU83は、まず、制御変数nに「1」を代入した後(ST72)、第二(=2×1)発光ダイオードD02を発光させる制御信号を、第二マルチプレクサ13へ出力し、第一(=2×1−1)発光ダイオードD01を受光とする制御信号を、第一マルチプレクサ11へ出力する(ST73)。
【0153】
次に、CPU83は、測光処理を行う(ST74)。具体的には、第一駆動回路12の出力端子45のレベルを読み取り、そのレベルと閾値とを比較する(ST75)。そして、この読み取った第一駆動回路12の出力端子45のレベルが2.75V(閾値)よりも高い場合には、黒と判定し、EEPROM86の残光像データ90の第1(=2×1−1)行に「1」を書き込む(ST76)。逆に、低い場合には、白と判定し、EEPROM86の残光像データ90の第1(=2×1−1)行に「0」を書き込む(ST77)。
【0154】
引き続き、CPU83は、第三(=2×1+1)発光ダイオードD03を受光とする制御信号を、第一マルチプレクサ11へ出力する(ST78)。また、CPU83は、測光処理を行う(ST79)。具体的には、第一駆動回路12の出力端子45のレベルを読み取り、そのレベルと閾値とを比較する(ST80)。そして、この読み取った第一駆動回路12の出力端子のレベルが2.75V(閾値)よりも高い場合には、黒と判定し、EEPROM86の残光像データ90の第2(=2×1)行に「1」を書き込む(ST81)。逆に、低い場合には、白と判定し、EEPROM86の残光像データ90の第2(=2×1)行に「0」を書き込む(ST82)。
【0155】
CPU83は、制御変数nに1を加算するとともに(ST83)、nが8以下であるか否かを判定する(ST84)。そして、nが8以下である場合には、発光ダイオードD02,D04,・・・,D16の中の1つを発光させている間に、2つの二値化データを読み取る処理(ST73〜ST82)を繰り返す。繰り返し回数は合計で8回になる。これにより、第一発光ダイオードD01から第十六発光ダイオードD16までの一列分の二値化データを、EEPROM86に記憶させることができる。
【0156】
このように、CPU83は、偶数番目の発光ダイオードD02,D04,・・・,D16を順次発光させるとともに、発光させた発光ダイオードよりも1つ少ない奇数番目の発光ダイオードD01,D03,・・・,D15で受光し、これを二値化することで、その奇数番目の発光ダイオードD01,D03,・・・,D15の残光像データ90を得る。また、偶数番目の発光ダイオードD02,D04,・・・,D14を順次発光させるとともに、発光させた発光ダイオードよりも1つ多い奇数番目の発光ダイオードD03,D05,・・・,D15で受光し、これを二値化することで、その偶数番目の発光ダイオードD02,D04,・・・,D14の残光像データ90を得る。
【0157】
nが8以下でなくなると、CPU83は、モード判定を行う(ST85)。そして、モード切替スイッチ6が読取モード以外のモードに切り替えられるまで、上述した1列分の画像の読取処理(ST72〜84)を繰り返す。このとき、バーサライター1は、順次移動させられる。
【0158】
これにより、バーサライター1の使用者は、モード切替スイッチ6を読取モードへ切り替えた後、読み取る画像が記載された用紙の上を、発光ダイオードD01,D02,・・・,D16を下向きにした状態で、バーサライター1を移動させることで、所望の残光像データ90を、EEPROM86に記憶させることができる。なお、EEPROM86への書込みは、モード切替スイッチ6を発光モードへ切り替えたときに行わせるようにし、それより前は、RAM84などに一時的に記憶させるようにしてもよい。
【0159】
以上のように、この実施の形態2に係るバーサライター1は、用紙などに記載される文字や画像を読取モードで読み取り、実施の形態1と同じ残光像データ90を得ることができる。
【0160】
しかも、偶数番目の発光ダイオードD02,D04,・・・,D16を順次発光状態に制御し、発光した発光ダイオードの前後に位置する奇数番目の発光ダイオードD01,D03,・・・,D15の中の2つを受光状態に制御し、それを繰り返すだけで、奇数番目の発光ダイオードD01,D03,・・・,D15の二値化データおよび偶数番目の発光ダイオードD02,D04,・・・,D16の二値化データを読み取ることができる。
【0161】
さらに、各発光ダイオードを発光している間に、発光している発光ダイオードに隣接する2つの発光ダイオードを順番に受光側の駆動回路へ接続するので、実施の形態1のように発光側と受光側とを切り替えて読み取る場合に比べて、読取処理が単純化され、しかも、1列分の読取速度を早くすることができる。
【0162】
なお、この実施の形態2では、偶数番目の発光ダイオードD02,D04,・・・,D16を発光させ、奇数番目の発光ダイオードD01,D03,・・・,D15を受光させているが、奇数番目の発光ダイオードD01,D03,・・・,D15を発光させ、偶数番目の発光ダイオードD02,D04,・・・,D16を受光させるようにしても、同様の効果を得ることができる。
【0163】
実施の形態3.
本発明の実施の形態3に係るバーサライター1のハードウェア構成は、実施の形態1に係るバーサライター1のハードウェア構成と同一である。そのため、バーサライター1の各構成要素には、実施の形態1の同名の構成要素と同一の符号を使用して、バーサライター1のハードウェア構成の図示および説明を省略する。また、本発明の実施の形態3に係るバーサライター1の、発光モードでの制御プログラム89は、実施の形態1に係るバーサライター1の、発光モードでの制御プログラム89と同一である。そのため、発光モードのフローチャートの図示および説明は、省略する。さらに、本発明の実施の形態3に係るバーサライター1の、読取モードの基本的なフローは、図8に示すフローチャートとなる。
【0164】
図18は、本発明の実施の形態3に係るバーサライター1の、発光ダイオード毎の読取制御を示すフローチャートである。このフローチャートは、第二発光ダイオードD02から第十五発光ダイオードD15までの各発光ダイオードD02,D03,・・・,D15での読取制御に用いられる。
【0165】
図18に示す各発光ダイオードD02,D03,・・・,D15の読取制御において、CPU83は、まず、初期設定を行う(ST91)。たとえば、読み取りを行う発光ダイオードを2番目とする。この場合、第2発光ダイオードが接続される側の第二駆動回路14(以下、受光側駆動回路と記載する。)の第一制御入力端子63および第二制御入力端子64をハイレベルに制御する。第一駆動回路12(以下、発光側駆動回路と記載する。)の第一制御入力端子43をローレベルに制御するとともに第二制御入力端子44をハイレベルに制御する。第二発光ダイオードが接続される側の第二マルチプレクサ13(以下、受光側マルチプレクサと記載する。)に、第二スイッチ36を閉じる制御信号を出力する。第一マルチプレクサ11(以下、発光側マルチプレクサと記載する。)に、第3スイッチ33を閉じる制御信号を出力する。
【0166】
次に、CPU83は、測光処理を行う(ST92)。測光処理の具体的な手順は、図10と同様である。そして、この測光処理で読み取った2番目の発光ダイオードの受光光量に基づく受光側駆動回路の出力端子65のレベルが3.5V(高閾値)よりも高いか否かを判定し(ST92)、高い場合には、黒と判定し、EEPROM86の残光像データ90の第2行に「1」を書き込む(ST99)。3.5V以下である場合には、さらに読み取ったレベルが1V(低閾値)よりも低いか否かを判定し(ST94)、低い場合には、白と判定し、EEPROM86の残光像データ90の第2行に「0」を書き込む(ST100)。
【0167】
これらの高閾値と低閾値との比較判定において、黒あるいは白とも判定がつかない場合には、CPU83は、発光側マルチプレクサに、第3スイッチ33を閉じる制御信号を出力する(ST95)。その後、CPU83は、図10と同様の測光処理を行い(ST96)、新たに読み取った受光側駆動回路の出力端子65のレベルと、既に読み取っていた受光側駆動回路の出力端子65のレベルとの平均値を演算する(ST97)。そして、この平均値が2.75V(中間閾値)よりも高いか否かを判定し(ST98)、高い場合には、黒と判定し、EEPROM86の残光像データ90の第2行に「1」を書き込む(ST99)。2.75V以下である場合には、白と判定し、EEPROM86の残光像データ90の第2行に「0」を書き込む(ST100)。
【0168】
CPU83は、このような図18のフローチャートに基づく各発光ダイオード毎の読取処理を、第二発光ダイオードD02から第十五発光ダイオードD15までのそれぞれについて行う。なお、たとえば第三発光ダイオードD03などの奇数番目の発光ダイオードについての読取処理では、第二駆動回路14が発光側駆動回路となり、第二マルチプレクサ13が発光側マルチプレクサとなり、第一駆動回路12が受光側駆動回路となり、第一マルチプレクサ11が受光側マルチプレクサとなる。
【0169】
なお、第一発光ダイオードD01と、第十六発光ダイオードD16とについては、実施の形態1の図9に示す読取処理を実行する。すなわち、第一発光ダイオードD01の残光像データは、第一発光ダイオードD01を受光とし、第二発光ダイオードD02を発光とし、そのときのレベル値が2.75Vを超える黒と判定し、2.75V以下であると白と判定する。同様に、第十六発光ダイオードD16の残光像データは、第十五発光ダイオードD15を受光とし、第十六発光ダイオードD16を発光とし、そのときのレベル値が2.75Vを超える黒と判定し、2.75V以下であると白と判定する。これにより、EEPROM86には、1列分の残光像データ90が格納される。
【0170】
また、CPU83は、図8のフローチャートに示すように、一列分の残光像データ90を読み取るごとにモード確認を行い(ST37)、読取モード以外のモードへ切り替えられるまで、一列分の残光像データ90の読取処理を繰り返す。
【0171】
以上のように、この実施の形態3に係るバーサライター1は、用紙などに記載される文字や画像を読取モードで読み取り、実施の形態1と同じ残光像データ90を得ることができる。
【0172】
しかも、第二番目から第十五番目の発光ダイオードD02,D03,・・・,D15用の二値化データは、受光している発光ダイオード、たとえば発光ダイオードシ07の一方側の発光ダイオードD06を発光させたときに白黒をはっきり判定することができない場合には、さらに、他方側の発光ダイオードD08を発光させて平均値をとり、その平均値で最終的な白黒判定をする。このように受光している発光ダイオードの両側の発光ダイオードを順次発光させて、2つの値の平均値を考慮して白黒判定をしている。そのため、受光している発光ダイオードD02,D03,・・・,D15に対向する位置や、その位置と一方側の発光ダイオードD01,D02,・・・,D14との中間位置に、白黒のエッジが位置するような場合や、灰色の画像が位置するような場合であって、その判定だけでは受光している発光ダイオードD02,D03,・・・,D15に対向する位置における安定で且つ正確な二値化判定が難しいような場合であっても、平均値との比較(重み付け)によって、受光している発光ダイオードD02,D03,・・・,D15に対向する位置における白黒判定を、正確に判定することができる。
【0173】
さらに、両側の発光ダイオードを発光させて平均値に基づく判定処理を行う場合とは、高閾値および低閾値では判定できない場合だけである。そのため、両側の発光ダイオードを発光させる場合は、一列分の読取の間にはあっては多くとも数回である。したがって、一列分の画像読取の時間が、実施の形態1に比べて極端に長くなってしまうことはない。つまり、この実施の形態3での画像の読取時間は、実施の形態1での画像の読取時間と遜色ない時間となり、実用上問題視されてしまうことはない。
【0174】
なお、この実施の形態3では、実施の形態1での読取ステップと組み合わせて、第二番目から第十五番目の発光ダイオードD02,D03,・・・,D15用の二値化データの安定性と精度とを向上させている。この他にもたとえば、実施の形態2での読取ステップと組み合わせて、高閾値、中間閾値および低閾値の3つの閾値での判定処理を行うことで、同様に、第二番目から第十五番目の発光ダイオードD02,D03,・・・,D15用の二値化データの安定性と精度とを向上させることができる。
【0175】
図19は、実施の形態2での読取ステップと組み合わせた場合のフローを示すフローチャートである。図19において、2つの測光判定ステップST111,ST112では、図18のステップST92〜ST100までの処理に相当する処理を行う。これ以外の各ステップは、実施の形態2での図17に図示したステップと同一の符号を付して、その詳細な説明は省略する。
【0176】
以上の実施の形態1〜3は、本発明の好適な実施の形態であるが、本発明はこれに限定されるものではなく、本発明の趣旨を逸脱しない範囲において、種々の変形、変更が可能である。
【0177】
実施の形態3で示した図18のフローチャートでは、受光値が中間的な値であるとき、受光している発光ダイオードの2つのレベルの平均値を演算し、この平均値と中間閾値とを比較している。また、その平均値と比較する中間閾値は、高閾値と低閾値との平均値になっている。
【0178】
上述する各実施の形態では、ダイオード列の両端に位置する第一発光ダイオードD01および/または第十六発光ダイオードD16については、第二番目から第十五番目の発光ダイオードD01,D02,・・・,D16とは異なる読取処理を行うようにしている。この他にもたとえば、読取時のみに発光あるいは受光させ発光モードでは使用しない発光ダイオードを、第一発光ダイオードD01および/または第十六発光ダイオードD16の外側に隣接して設けてもよい。これにより、第一発光ダイオードD01および/または第十六発光ダイオードD16の読取処理を、その他の第二番目から第十五番目の発光ダイオードD02,D03,・・・,D15での読取処理と同じ処理にすることができる。これにより、制御プログラムは単純化されて小さくなる。
【0179】
上述する各実施の形態では、残光像データ90の各列に速度積算値を対応付けて記憶させ、速度センサ16の出力を積分した値と比較することで、発光モードの制御を行っている。この他にもたとえば、一定の時間間隔や、一定の振り角度に応じて、順番に、残光像データ90の各列データを利用するように構成してもよい。
【0180】
上述する各実施の形態では、16個の発光ダイオードD01,D02,・・・,D16は、第一マルチプレクサ11および第二マルチプレクサ13に交互に接続されている。この他にもたとえば、第一発光ダイオードD01を第一マルチプレクサ11に接続し、第二発光ダイオードD02および第三発光ダイオードD03を第二マルチプレクサ13に接続し、第四発光ダイオードD04および第五発光ダイオードD05を第一マルチプレクサ11に接続し、第六発光ダイオードD06および第七発光ダイオードD07を第二マルチプレクサ13に接続し、すなわち、ダイオード列の両端を除く発光ダイオードは、2つずつ交互に接続しても、隣接する発光ダイオードの発光光を各発光ダイオードで受光し、これに基づいて二値化された残光像データを生成することができる。
【0181】
上述する各実施の形態では、16個の発光ダイオードD01,D02,・・・,D16は、奇数番目と偶数番目の各8個ずつが第一マルチプレクサ11および第二マルチプレクサ13の2つのマルチプレクサにそれぞれ接続されている。この他にもたとえば、2個、4個、16個などの複数個の発光ダイオードを1つのマルチプレクサへ接続したり、複数個の発光ダイオード毎に1つのマルチプレクサに接続し、計3つ以上のマルチプレクサに接続するようにしてもよい。なお、駆動回路の個数は、マルチプレクサの個数と同数である。このように、マルチプレクサを使用することで、駆動回路の個数を発光ダイオードの個数よりも少なくすることができる。その結果、バーサライター1の小型化や軽量化を図ることができる。特に、複数個の発光ダイオードを3つ以上のマルチプレクサに接続した場合には、上述した各実施の形態の場合と同様に、隣接する発光ダイオードの発光光を各発光ダイオードで受光し、これに基づいて二値化された残光像データを生成することができる。
【0182】
上述する各実施の形態では、マルチプレクサ11,13などを使用しているが、実施の形態2や実施の形態3の読取方法は、マルチプレクサ11,13を使用しない電気回路、すなわち駆動回路の個数を発光ダイオードの個数と同じとした電気回路を用いた場合にも有効な方法となる。
【0183】
上述する各実施の形態では、マイコン15は、読取モードにおいて各駆動回路12,14から出力されるレベル値を二値化して残光像データとしている。この他にもたとえば、マイコンは、読取モードにおいて各駆動回路から出力されるレベル値を、三値以上に多値化してもよい。このように、多値化した残光像データに基づいて各発光ダイオードを発光させる場合には、たとえば、多値化したデータのビット数と同数の駆動回路およびマルチプレクサを設け、この複数個の駆動回路の第一制御入力端子を互いに異なるレベルに設定し、マイコンは多値化データに基づいてマルチプレクサを選択するように構成する。これにより、マイコンは、各発光ダイオードを、多値化データの各値に対応付けられた駆動回路へ接続し、濃淡を含む残光像を形成することができる。
【0184】
上述する各実施の形態では、マイコン15は、読取モードにおいて、基本的に、各発光ダイオードの受光レベルを読み取る毎に、そのレベルに基づく二値化データを生成している。この他にもたとえば、一列分の発光ダイオードの受光レベルを読み取ったら、その列の二値化データを生成してもよい。また、モード切替スイッチ6が読取モードに設定されてから解除されるまでの発光ダイオードの受光レベルを読み取ったら、その読取モードの解除操作をトリガとして、各発光ダイオードの受光レベルに基づく二値化データを生成してもよい。このように、読取モードの解除操作をトリガとして二値化データを生成することで、読み取り中の処理が軽くなる。その分、読取時にバーサライター1を移動させる速度を上げても、適切に画像を読み取ることができる。また、そのように全てのレベルを読み取ることで画像の色の分布情報が得られるので、各二値化データを演算する場合には、その周囲のレベル情報との重み付け演算をし、その重み付け演算をされたレベル値に基づいて生成することができる。これにより、残光像データの輪郭と読み取る画像の輪郭とが、よりずれ難くなる。
【0185】
上述した各実施の形態では、読取モードの際、受光する発光ダイオードと発光する発光ダイオードを動作させる際、同時に動作させるのはそれぞれ1つずつとしているが、実施の形態1の場合において、発光させる発光ダイオードを受講する発光ダイオードの両隣の2つとしたり、4つとしたり、他の全ての発光ダイオードとしてもよい。また、実施の形態2や3の場合において、受光する発光ダイオード一方側の複数を発光させ、その後、他方側の複数を発光させるようにしてもよい。
【0186】
上述する各実施の形態は、バーサライター1に適用した場合の例である。バーサライター1は、手で振るための、単位時間あたり振り角度が安定していない。そのため、各実施の形態で示したように、速度積算値などの読取速度に応じた変数を、各列対応付けるのがこのましい。これに対して、たとえば、バーサライター1と同様の構造のものを、一定のリズムで振ることで時間を表示する時計などにあっては、その振り角度、振り範囲、リズムなが安定しているので、一定の時間間隔や、一定の振り角度に応じて、順番に、残光像データ90の各列データを利用するように構成しても、読み取った画像を残光像として表示することができる。
【0187】
上述した各実施の形態では、先端部4の先端からグリップ部3に向かって一列に配置される例を示したが、バーサライター1の軸方向に垂直な平面となるように周面方向に円形状に発光ダイオードを配置し、バーサライター1を軸方向に左右に揺らすように動作させてもよい。その他にも、風船状にバーサライター1を形成し、その罫線方向、また保線方向に発光ダイオードを並べて配置するようにしてもよい。
【0188】
上述する各実施の形態は、コンサートやイベント会場などで利用されるバーサライター1に適用した例である。この他にもたとえば、警察官や道路工事の交通誘導員が手にもって使用する点滅ライトや、パトカーや消防車などに載せたり防犯のために設置したりする警光灯、回転灯、信号灯などにも、本発明の構成を適用することができる。そして、これらの発光装置に、任意の画像や文字を像データとして読み込ませて表示させることで、単に点滅したり点灯したりする場合に比べて、それぞれの目的にあったメッセージなどを表示して、より的確で理解し易い指示や表示を簡単に行うことが可能となるとともに変更が容易となる。
【0189】
【発明の効果】
本発明では、より小さい回路規模で複数の発光ダイオードの発光を制御することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1に係るバーサライターの構造を示す透視図である。
【図2】図1のバーサライターの内部に配設され、16個の発光ダイオードの発光を制御する電気回路を示す回路図である。
【図3】図2中のマイコンの構成を示す回路図である。
【図4】図3中のEEPROMに記憶される残光像データの一例を示す説明図である。
【図5】図3中のCPUが実行するメインルーチンを示すフローチャートである。
【図6】図5のフローチャート中に示される発光ステップの詳細なステップを示すフローチャートである。
【図7】図4に示される残光像データに基づいて形成される残光像の一例を示す説明図である。
【図8】図5のフローチャート中に示される読取ステップの詳細なステップを示すフローチャートである。
【図9】図8に示されるフローチャートの各発光ダイオード毎に行われる読取処理の詳細なステップを示すフローチャートである。
【図10】図9のフローチャート中に示される測光処理の詳細なステップを示すフローチャートである。
【図11】図2に示す回路図中の受光側駆動回路の出力端子の電位変化を示す波形図である。
【図12】図1のバーサライターによる画像の読取方を説明する説明図である。
【図13】図1のバーサライターによる画像の読取位置の違いを説明する説明図である。
【図14】図13に示す画像を読み込んで得られる二値化データを示す説明図で、図2の回路図において第一制御端子とグランドラインとの間にコンデンサが接続されていない場合の二値化データである。
【図15】図13に示す画像を読み込んで得られる二値化データを示す説明図で、図2の回路図に示すように、第一制御端子とグランドラインとの間にコンデンサが接続されている場合の二値化データである。
【図16】図1のバーサライターの輝度分布を示す説明図である。
【図17】本発明の実施の形態2に係るバーサライターの読取ステップの詳細なステップを示すフローチャートである。
【図18】本発明の実施の形態3に係るバーサライターの、発光ダイオード毎の読取制御を示すフローチャートである。
【図19】本発明の実施の形態3に係る読取制御フローを、実施の形態2での読取ステップと組み合わせた場合のフローを示すフローチャートである。
【符号の説明】
1 バーサライター
4 ハウジング
11 第一マルチプレクサ(双方向性スイッチング回路
12 第一駆動回路(駆動回路、受発光兼用駆動回路)
13 第二マルチプレクサ(双方向性スイッチング回路
14 第二駆動回路(駆動回路、受発光兼用駆動回路)
15 マイコン(制御本体)
51,71 PNPトランジスタ(制御トランジスタ)
55,75 FET(電界効果トランジスタ、受光部)
56,76 抵抗素子(検出抵抗素子、受光部)
57,77 抵抗素子(受光部)
54,74 コンデンサ
46,66 抵抗素子(第一分圧抵抗素子)
47,67 抵抗素子(第二分圧抵抗素子)
86 EEPROM(記憶部材)
90 残光像データ(像データ)
D01,D02,・・・,D16 発光ダイオード
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a versatile lighter that emits light from a light-emitting diode, a light-emitting device, and a light-emitting / receiving drive circuit that is used to emit light from the light-emitting diode.
[0002]
[Prior art]
Patent Document 1 discloses a two-dimensional afterimage display tool. This two-dimensional afterimage display device controls light emission of a plurality of LEDs using afterimage data stored in a memory. Thus, an afterimage is formed based on the afterimage data stored in advance by shaking and holding the two-dimensional afterimage display tool.
[0003]
Patent Document 2 discloses an information output device and a line sensor device. These devices include a plurality of light emitting diodes, a plurality of light receiving circuits and light emitting / receiving circuits connected to each light emitting diode, a multiplexer connected to the plurality of light receiving circuits and the light emitting / receiving circuit, A plurality of light receiving circuits and a CPU for outputting a control signal to the light emitting / receiving circuit.
[0004]
The light emitting diode is caused to emit light by the light emitting / receiving circuit, and the amount of light received by the light emitting diode adjacent to the light emitting diode is read based on the output signal from the light receiving circuit or another light emitting / receiving circuit. Further, when reading with the emitted light emitting diode, the other light emitting diode is caused to emit light by another light emitting / receiving circuit.
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 7-134556 (columns of embodiments of the invention, drawings)
[Patent Document 2]
JP 2001-197253 A (column of embodiment of the invention, FIG. 1, FIG. 2)
[0006]
[Problems to be solved by the invention]
As described above, there are conventionally inventions relating to a two-dimensional afterimage display as a versatile lighter and an apparatus using a light emitting diode as a light receiving element.
[0007]
Then, the present inventor has conceived that an apparatus using this light emitting diode as a light receiving element is applied to a versatile lighter to read an image and form the read image as an afterglow image. Thereby, it is possible to form images other than predetermined characters and characters. In general, the number of images stored in a versatile lighter is not very large. At most it is a few. Since such an image can be read, there is no restriction on the image.
[0008]
However, when a device that uses such a light emitting diode as a light receiving element is applied to a versatile lighter, it is necessary to connect a light receiving circuit or a light emitting / light receiving circuit to each light emitting diode. .
[0009]
In addition, when a device using a conventional light emitting diode as a light receiving element is applied to a light emitting device other than a versatile lighter, the enlargement of the light emitting device similarly becomes a problem.
[0010]
The present invention has been made to solve the above-described problems, and provides a versatile lighter, a light emitting device, and a light emitting / receiving combined drive circuit capable of controlling light emission of a plurality of light emitting diodes with a smaller circuit scale. With the goal.
[0011]
[Means for Solving the Problems]
In order to achieve the above-described object, a versatile lighter according to the present invention includes an elongated, substantially cylindrical housing, a plurality of light emitting diodes arranged side by side from the front end of the housing toward the grip, and the housing And an electric circuit that controls light emission of the plurality of light emitting diodes, and the electric circuit is a multiplexer to which the plurality of light emitting diodes are connected. Bidirectional switching circuit with functions of demultiplexer and demultiplexer When, Bidirectional switching circuit A drive circuit connected to the storage device, a storage member for storing afterglow image data, and based on the afterglow image data Bidirectional switching circuit And a control main body for outputting a control signal to.
[0012]
If this configuration is adopted, the control body is based on the afterglow image data. Bidirectional switching circuit In addition, a control signal is output to the driving circuit, whereby the light emission of the plurality of light emitting diodes can be controlled.
[0013]
Moreover, between the light emitting diode and the drive circuit Bidirectional switching circuit Provide this Bidirectional switching circuit Since the control signal based on the afterglow image data is output, the number of drive circuits can be made smaller than the number of light emitting diodes. That is, it is not necessary to provide the same number of drive circuits as the light-emitting diodes as in the case where the drive circuits are directly connected to the light-emitting diodes, which can be realized with a smaller circuit scale. As a result, a small and lightweight versatile lighter can be obtained.
[0014]
The versatile lighter according to the present invention further includes a drive circuit and Bidirectional switching circuit Are provided in at least two sets, and the plurality of light emitting diodes are adjacent to at least one of the light emitting diodes, What is a bidirectional switching circuit to which the self is connected? Different Alternately the other bidirectional switching circuit to be connected to the bidirectional switching circuit Each drive circuit is provided with a light-receiving unit that outputs a light-receiving level signal that changes according to the amount of light received by the light-emitting diode, and the control body switches between a plurality of light-emitting diodes and connects to a plurality of drive circuits. Multiple control signals Bidirectional switching circuit Afterglow image data is generated based on the result of comparing the received light level signal and the threshold value, and this afterglow image data is stored in the storage member.
[0015]
By adopting this configuration, the versatile lighter can generate afterglow image data based on the received light level signal that changes in accordance with the amount of light received by the light emitting diode, and can store the afterglow image data in the storage member. And based on the afterglow image data memorize | stored in the memory | storage member, light emission of a some light emitting diode can be controlled.
[0016]
The versatile lighter according to the present invention further includes a drive circuit and Bidirectional switching circuit Are provided in two sets, and the plurality of light emitting diodes are two Bidirectional switching circuit In Housing A light receiving unit that outputs a light receiving level signal that changes in accordance with the amount of light received by the light emitting diodes is provided in each drive circuit in turn from the front end side. Two control signals connected to one drive circuit Bidirectional switching circuit Afterglow image data is generated based on the result of comparing the received light level signal and the threshold value, and this afterglow image data is stored in the storage member.
[0017]
By adopting this configuration, the versatile lighter can generate afterglow image data based on the received light level signal that changes in accordance with the amount of light received by the light emitting diode, and can store the afterglow image data in the storage member. And based on the afterglow image data memorize | stored in the memory | storage member, light emission of a some light emitting diode can be controlled. Moreover, the drive circuit and Bidirectional switching circuit Since there are only two sets, a small and lightweight versatile lighter can be obtained.
[0018]
The versatile lighter according to the present invention further uses afterglow image data used for light emission by each light emitting diode by causing the light emitting diode adjacent to the light emitting diode to emit light and receiving the emitted light by the light emitting diode. It is generated in the control body based on the obtained light reception level signal.
[0019]
By adopting this configuration, the afterglow image data used in each light emitting diode can be generated based on the light received by itself.
[0020]
The versatile lighter according to the present invention further includes the afterglow image data used for light emission by each light emitting diode by causing the light emitting diode to emit light and receiving the emitted light by the light emitting diode adjacent to the light emitting diode. It is generated in the control body based on the obtained light reception level signal.
[0021]
By adopting this configuration, the afterglow image data used in each light emitting diode can be generated based on the light emitted by itself.
[0022]
In the versatile lighter according to the present invention, the control body sets one of the two drive circuits to the light emission control and sets the other to the light reception control and is connected to the light emission side drive circuit. Bidirectional switching circuit By outputting a control signal to the plurality of light emitting diodes, the plurality of light emitting diodes connected to the multiplexer are turned on in order, and while each light emitting diode emits light, it is connected to the driving circuit on the light receiving side. Bidirectional switching circuit By outputting a control signal to the two light emitting diodes adjacent to the light emitting light emitting diode, the two light emitting diodes are sequentially connected to the driving circuit on the light receiving side, and further, among the two light receiving level signals by the two light emitting diodes receiving light. The afterglow image data used by one of the two light emitting diodes receiving light is generated based on one of the two, and the afterglow image data used by the light emitting diode emitting light is generated based on the other.
[0023]
By adopting this configuration, it is possible to generate afterglow image data of all the light-emitting diodes by only causing even-numbered light-emitting diodes or only odd-numbered light-emitting diodes to emit light. Therefore, compared with the case where the light emitting state and the light receiving state of the two drive circuits are switched for each light emitting diode, the reading process is simplified, and the reading speed for one column can be increased.
[0024]
In the light emitting device according to the present invention, a plurality of light emitting diodes and a plurality of light emitting diodes are connected. Bidirectional switching circuit When, Bidirectional switching circuit A drive circuit connected to the storage device, a storage member for storing image data, and based on the image data Bidirectional switching circuit And a control main body for outputting a control signal to.
[0025]
If this configuration is adopted, the control body is based on the image data. Bidirectional switching circuit In addition, a control signal is output to the driving circuit, whereby the light emission of the plurality of light emitting diodes can be controlled.
[0026]
Moreover, between the light emitting diode and the drive circuit Bidirectional switching circuit Since the control signal based on the image data is output to the multiplexer, the number of drive circuits can be made smaller than the number of light emitting diodes. That is, it is not necessary to provide the same number of drive circuits as the light-emitting diodes as in the case where the drive circuits are directly connected to the light-emitting diodes, which can be realized with a smaller circuit scale. As a result, it can be formed small and lightweight.
[0027]
According to the present invention Versa Lighter's The light emitting / receiving combined drive circuit is a light receiving / emitting combined drive circuit connected to the light emitting diode, and the first voltage dividing resistor element connected between the cathode of the light emitting diode and the ground line, and one end connected to the light emitting diode. A second voltage dividing resistor, a field effect transistor having a gate terminal connected to an anode of the light emitting diode, a source terminal of the field effect transistor and a power supply line, or a drain terminal and a ground line. A detection resistance element, a capacitor connected between the anode of the light emitting diode and the ground line, and a control transistor connected between the anode of the light emitting diode and the power supply line.
[0028]
By adopting this configuration, the anode of the light emitting diode can be connected to the power supply line by controlling the control transistor to be in the ON state. The cathode of the light emitting diode is connected to the ground line through the first voltage dividing resistor element. Thereby, the light emitting diode emits light.
[0029]
In addition, by controlling the control transistor to be in the OFF state, the level value corresponding to the amount of light received by the light emitting diode is integrated by the capacitor, and a light receiving level signal according to the change in the integrated level value is output from the detection resistance element. be able to.
[0030]
Thus, by using one circuit for controlling light emission of the light emitting diode and one circuit for controlling light reception, light emission of the light emitting diode can be controlled with a smaller circuit scale. Further, by combining this drive circuit for receiving and emitting light, it is possible to control light emission and light reception of a plurality of light emitting diodes.
[0031]
According to the present invention Versa Lighter's The drive circuit for receiving and emitting light further changes the anode potential of the light-emitting diode that receives light, and with reference to the change timing, when the light from the black image is received, the capacitor charging voltage becomes stable. Hand over It has a control body that reads the charging voltage of the capacitor or the voltage that changes in accordance with the charging voltage during the period.
[0032]
If this configuration is adopted, the charging voltage of the capacitor when the white image is read or a voltage that changes according to the charging voltage, and the charging voltage of the capacitor when the black image is read or changes depending on the charging voltage. The voltage difference from the voltage can be made larger than the voltage difference when these are read in the steady state. Therefore, even if a level change occurs according to the paper color, ink density, or other reading environment factors, it is possible to accurately determine the threshold value by appropriately setting the threshold value.
[0033]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a versatile lighter according to an embodiment of the present invention, Versa Lighter's A light emitting device and a light emitting / receiving combined drive circuit will be described with reference to the drawings.
[0034]
Embodiment 1 FIG.
FIG. 1 is a perspective view showing the structure of a versatile lighter 1 according to Embodiment 1 of the present invention. The versatile lighter 1 is formed with an afterimage (hereinafter referred to as an afterglow image) that shines brightly in the dark by holding it by hand and shaking it back and forth or left and right.
[0035]
The housing 2 of the versatile lighter 1 has a substantially cylindrical elongated bar shape. The length of the housing 2 is formed to be about 20 to 60 cm. A grip portion 3 for gripping with a hand is formed at one end portion in the longitudinal direction of the housing 2. The versatile lighter 1 is used by shaking with the grip portion 3 held by hand.
[0036]
Note that a battery 17 described later is disposed inside the grip portion 3. Due to the weight of the battery 17, the bar lighter 1 has a center of gravity near the grip portion 3. Therefore, when the grip part 3 is shaken by hand, a light swinging feeling can be given.
[0037]
A plurality of light emitting diodes (16 light emitting diodes D01 in this embodiment) are provided along the longitudinal direction of the bar lighter 1 at the distal end portion 4 of the versa lighter 1 from the other longitudinal end of the housing 2 to the grip portion 3. , D02,..., D16 are arranged in a line. In this embodiment, all of the light emitting diodes D01, D02,..., D16 are those that emit red light.
[0038]
The light emitting diodes D01, D02,..., D16 emit light when the anode is at a higher potential than the cathode, so that a current flows inside. As the anode potential becomes higher than the cathode potential, a larger amount of current flows and light is emitted more strongly.
[0039]
The photoelectric conversion characteristics of the light emitting diodes D01, D02,..., D16 are reversible. That is, when light is incident on the light emitting diodes D01, D02,..., D16, they react so that a current corresponding to the amount of light flows from the anode to the cathode. When this current flows, a minute voltage is generated in the light emitting diodes D01, D02,..., D16. The light emitting diodes D01, D02,..., D16 try to flow a large amount of current as the amount of incident light increases, and the voltage generated between the anode and the cathode due to the flow of the current also increases. growing.
[0040]
Note that the number of light emitting diodes D01, D02,..., D16 arranged in a line may be 16 or more, or 16 or less. Increasing the number of light-emitting diodes arranged in a row makes the afterglow image displayed by the bar lighter 1 clearer. The light emitting diodes may be arranged in two or more rows. When arranging the light emitting diodes so as to form a plurality of rows, the light emitting diodes of each row are arranged along the circumferential direction of the cylindrical side surface so as to form a plane perpendicular to the axial direction of the bar lighter 1, for example. The lines may be arranged adjacent to each other, and the lines formed by connecting adjacent light emitting diodes in a plurality of rows in order are flaky along the circumferential surface direction of the cylindrical side surface of the bar lighter 1 You may arrange | position so that it may become a shape.
[0041]
Further, as the light emitting diodes D01, D02,..., D16, in addition to red, those emitting green light, emitting blue light, and emitting white light can be used. Instead of the light emitting diode that emits red light, one of these may be used for all the light emitting diodes D01, D02,..., D16. Moreover, you may use combining the light emitting diode of these each color. In particular, the afterglow image to be displayed on the versatile lighter 1 can be made into a full color image by combining the light emitting diodes emitting red light, the light emitting diodes emitting blue light, and the light emitting diodes emitting green light in three rows. . In this case, the light emitting diodes of the three colors may be arranged in three rows and adjacent to each other along the circumferential direction of the cylindrical side surface of the versatile lighter 1. As a result, the orbits of the light emitting diodes of the respective colors overlap each other when the versatile lighter 1 is shaken with the grip portion 3. By slightly shifting the light emission timings of the light emitting diodes of the respective colors, the light emitting diodes of the respective colors can emit light at the same spatial position, and a full color image can be formed, and the occurrence of color misregistration can be prevented.
[0042]
In the following description, the 16 light emitting diodes D01, D02,..., D16 arranged in a row are the first light emitting diodes in order from the front end side of the bar lighter 1 when they are distinguished from each other. D01, second light emitting diode D02, third light emitting diode D03, fourth light emitting diode D04,..., Sixteenth light emitting diode D16.
[0043]
Between the sixteenth light emitting diode D16 and the grip portion 3, a power switch 5 and a mode switch 6 are disposed.
[0044]
FIG. 2 is a circuit diagram showing an electric circuit that is disposed inside the versatile lighter 1 of FIG. 1 and controls the light emission of 16 light emitting diodes D01, D02,..., D16.
[0045]
The electric circuit disposed inside the bar lighter 1 is mainly the 16 light emitting diodes D01, D02,..., D16 described above, and the odd number 8 when viewed from the front end of the bar lighter 1. The first multiplexer 11 to which the light emitting diodes D01, D03,..., D15 are connected, the first drive circuit 12 to which the first multiplexer 11 is connected, and the even-numbered arrangement as viewed from the tip of the bar lighter 1 , D16 to which the remaining eight light emitting diodes D02, D04,..., D16 are connected, the second drive circuit 14 to which the second multiplexer 13 is connected, the first multiplexer 11, the first One microcomputer (hereinafter referred to as a microcomputer) 15 for controlling the drive circuit 12, the second multiplexer 13, and the second drive circuit 14, and It includes a speed sensor 16 which is connected to the icon 15. As will be described later, the multiplexers 11 and 12 are bidirectional switching circuits having functions of a multiplexer and a demultiplexer, but are hereinafter referred to as multiplexers. The first drive circuit 12 and the second drive circuit 14 are light receiving and emitting drive circuits.
[0046]
In addition to the electrical components described above, the electrical circuit disposed inside the versatile lighter 1 includes the battery 17, the power switch 5 connected to the positive terminal of the battery 17, and the power line connected to the power switch 5. 18 and a ground line 19 connected to the negative terminal of the battery 17. When the power switch 5 is closed, the stored voltage of the battery 17 is supplied to the power line 18 as the power voltage. When the power switch 5 is open, the stored voltage of the battery 17 is not supplied to the power line 18. The power switch 5 may be connected between the negative terminal of the battery 17 and the ground line 19.
[0047]
Hereinafter, the potential of the power supply line 18 when the power switch 5 is closed is referred to as a power supply potential, and the potential of the ground line 19 is referred to as a ground potential.
[0048]
The electric circuit disposed inside the versatile lighter 1 further includes the above-described mode changeover switch 6 connected between the power supply line 18 and one signal input terminal 15a of the microcomputer 15, and the signal input terminal of the microcomputer 15. And a resistance element 20 connected between 15a and the ground line 19. When the mode switch 6 is open, a ground potential is input to the signal input terminal 15a of the microcomputer 15. When the mode switch 6 is closed, the power supply potential is input to the signal input terminal 15 a of the microcomputer 15.
[0049]
The mode change switch 6 may be connected to the ground line 19, and the resistance element 20 may be connected to the power supply line 18. Also in this case, when the mode change switch 6 is opened, the signal input terminal 15a of the microcomputer 15 becomes the ground potential, and when the mode change switch 6 is closed, the signal input terminal 15a of the microcomputer 15 becomes the power supply potential.
[0050]
Hereinafter, the time when the mode switch 6 is closed is referred to as a reading mode of the versatile lighter 1. In the reading mode, the bar writer 1 binarizes the image by tracing characters and figures printed on paper or the like with the bar writer 1 as described later with reference to FIG. read.
[0051]
The time when the mode switch 6 is open is referred to as the light emission mode of the versatile lighter 1. In the light emission mode, the versatile lighter 1 controls the light emission of the 16 light emitting diodes D01, D02,..., D16 based on the afterglow image data 90. Thereby, the read character and figure are formed as an afterglow image in the range where the versater lighter 1 is shaken.
[0052]
The first multiplexer 11 has one input terminal 31 and eight output terminals 32. A switch 33 is connected between each output terminal 32 and the input terminal 31.
[0053]
An 8-bit control signal is input to the first multiplexer 11 from the microcomputer 15. Each bit of the control signal is used as control information for controlling opening / closing of each switch 33. That is, when the value of a certain bit is “1”, the corresponding switch 33 is closed. Thereby, the output terminal 32 connected to the switch 33 and the input terminal 31 are electrically connected. When the value of a certain bit is “0”, the corresponding switch 33 is opened. As a result, the output terminal 32 connected to the switch 33 is not electrically connected to the input terminal 31. Note that the correspondence relationship between the values of “0” and “1” of this bit and the open / closed state of the switch 33 may be reversed.
[0054]
The second multiplexer 13 has one input terminal 34 and eight output terminals 35. A switch 36 is connected between each output terminal 35 and the input terminal 34.
[0055]
An 8-bit control signal is input to the second multiplexer 13 from the microcomputer 15. Each bit of the control signal is used as control information for controlling opening / closing of each switch 36. That is, when the value of a certain bit is “1”, the corresponding switch 36 is closed. Thereby, the output terminal 35 connected to the switch 36 and the input terminal 34 are electrically connected. When the value of a certain bit is “0”, the corresponding switch 36 is opened. As a result, the output terminal 35 connected to the switch 36 is not electrically connected to the input terminal 34. The correspondence relationship between the values of “0” and “1” of this bit and the open / closed state of the switch 35 may be reversed.
[0056]
Sixteen light emitting diodes D01, D02,..., D16 arranged in a row are alternately connected to the two multiplexers of the first multiplexer 11 and the second multiplexer 13. In this way, by connecting 16 light emitting diodes D01, D02,..., D16 alternately to the first multiplexer 11 and the second multiplexer 13, each light emitting diode D01, D02,. The light emitting diodes adjacent to both sides are connected to a different multiplexer.
[0057]
In other words, each of the eight output terminals 32 of the first multiplexer 11 has a cathode of the first light emitting diode D01, a cathode of the third light emitting diode D03, a cathode of the fifth light emitting diode D05, a cathode of the seventh light emitting diode D07, and a ninth. A total of eight light emitting diodes, that is, the cathode of the light emitting diode D09, the cathode of the eleventh light emitting diode D10, the cathode of the thirteenth light emitting diode D13, and the cathode of the fifteenth light emitting diode D15, are connected.
[0058]
Each of the eight output terminals 35 of the second multiplexer 13 includes a cathode of the second light emitting diode D02, a cathode of the fourth light emitting diode D04, a cathode of the sixth light emitting diode D06, a cathode of the eighth light emitting diode D08, and a tenth light emitting diode. A total of eight light emitting diodes are connected, the cathode of D10, the cathode of the twelfth light emitting diode D12, the cathode of the fourteenth light emitting diode D14, and the cathode of the sixteenth light emitting diode D16.
[0059]
Hereinafter, when distinguishing the 16 switches from each other, the switch 33 connected to the first light emitting diode D01 is referred to as a first switch. The switch 36 connected to the second light emitting diode D02 is referred to as a second switch. The switch 33 connected to the third light emitting diode D03 is referred to as a third switch. Hereinafter, each switch is described according to the same rule.
[0060]
The first drive circuit 12 includes a first control terminal 41 connected to the input terminal 31 of the first multiplexer 11 and all eight light emitting diodes D01, D03,..., D15 connected to the first multiplexer 11. A second control terminal 42 connected to the anode, a first control input terminal 43 to which a control signal from the microcomputer 15 is input, a second control input terminal 44 to which a control signal from the microcomputer 15 is input, and the microcomputer 15 And an output terminal 45 connected to the.
[0061]
The first drive circuit 12 includes a resistance element 46 as a first voltage dividing resistance element connected between the second control terminal 42 and the ground line 19, and a second control terminal 42 and a second control input terminal 44. And a resistance element 47 as a second voltage dividing resistance element connected therebetween.
[0062]
The second control terminal 42 becomes a potential obtained by dividing the potential of the second control input terminal 44 by the two resistance elements 46 and 47. The potential of the second control input terminal 44 is controlled by the microcomputer 15. Therefore, when the microcomputer 15 controls the second control input terminal 44 to, for example, the power supply potential, the power supply potential is divided to the second control terminal 42 by the two resistance elements 46 and 47. This potential becomes the anode potential of the light emitting diodes D01, D03,..., D15. Further, when the microcomputer 15 controls the second control input terminal 44 to, for example, the ground potential, the second control terminal 42 becomes the ground potential. This potential becomes the anode potential of the light emitting diodes D01, D03,..., D15. In any case, the anode potential of the light emitting diodes D01, D03,..., D15 is lower than the power supply potential.
[0063]
The first drive circuit 12 includes a PNP transistor 51 as a control transistor connected between the power supply line 18 and the first control terminal 41, and a resistance element 52 connected to the power supply line 18 and the base terminal of the PNP transistor 51. And a resistance element 53 connected between the base terminal of the PNP transistor 51 and the first control input terminal 43.
[0064]
When the microcomputer 15 controls the first control input terminal 43 to a low level lower than the power supply line 18 such as a ground potential, for example, the potential difference between the power supply potential and the potential of the first control input terminal 43 is changed to the two resistance elements 52, The potential divided by 53 is input to the base terminal of the PNP transistor 51. The potential of the base terminal is lower than the potential of the emitter terminal of the PNP transistor 51 (= power supply potential). As a result, the PNP transistor 51 is turned on.
[0065]
When the PNP transistor 51 is turned on, the first control terminal 41 is connected to the power supply line 18. At this time, for example, if any switch 33 of the first multiplexer 11 is closed, the cathodes of the light emitting diodes D01, D03,..., D15 connected to the switch 33 are connected to the power supply line 18. It will be. As described above, the anodes of the light emitting diodes D01, D03,..., D15 are lower than the power supply potential. Therefore, the cathodes of the light emitting diodes D01, D03,..., D15 have a higher potential than the anode. That is, the light emitting diodes D01, D03,..., D15 connected to the closed switch 33 of the first multiplexer 11 emit light.
[0066]
The first drive circuit 12 includes a capacitor 54 connected between the first control terminal 41 and the ground line 19, a FET (Field Effect Transistor) 55 whose gate is connected to the first control terminal 41, A resistance element 56 as a detection resistance element connected between the source terminal of the FET 55 and the power supply line 18, and a resistance element 57 connected between the drain terminal of the FET 55 and the ground line 19 are provided. The source terminal of the FET 55 is connected to the output terminal 45. The voltage at the output terminal 45 becomes a light reception level signal. Further, the light receiving unit is configured by the FET 55, the resistance element 56 and the resistance element 57.
[0067]
When the microcomputer 15 controls the first control input terminal 43 to, for example, the same high level as that of the power supply line 18, the base terminal of the PNP transistor 51 is also at the same level as that of the power supply line 18. As a result, the PNP transistor 51 is turned off. In this state, for example, when any switch 33 of the first multiplexer 11 is closed, the cathodes of the light emitting diodes D01, D03,..., D15 connected to the switch 33 are connected to the gate terminal of the FET 55. Will be. As described above, the light emitting diodes D01, D03,..., D15 generate a voltage corresponding to the amount of received light.
[0068]
The potential of the gate terminal of the FET 55 is determined by the charging voltage of the capacitor 54. The charging voltage of the capacitor 54 is a voltage obtained by adding the voltage generated by the light emitting diodes D01, D03,..., D15 to the voltage of the resistance element 46 in a steady state. When the amount of light received by the light emitting diodes D01, D03,..., D15 changes and the voltage generated by the light emitting diodes D01, D03,. Changes in the waveform obtained by integrating the change in voltage generated by the diodes D01, D03,..., D15. Therefore, the voltage generated at the resistance element 56 connected to the source terminal of the FET 55 and the potential appearing at the output terminal 45 also change in a waveform obtained by integrating the change in voltage generated by the light emitting diodes D01, D03,. To do. The potential of the output terminal 45 becomes lower as the amount of light received per unit time of the light emitting diodes D01, D03,.
[0069]
The second drive circuit 14 includes a first control terminal 61 connected to the input terminal 34 of the second multiplexer 13 and all eight light emitting diodes D02, D04,..., D16 connected to the second multiplexer 13. A second control terminal 62 connected to the anode, a first control input terminal 63 to which a control signal from the microcomputer 15 is input, a second control input terminal 64 to which a control signal from the microcomputer 15 is input, and the microcomputer 15 And an output terminal 65 connected to the.
[0070]
The second drive circuit 14 includes a resistance element 66 as a first voltage dividing resistance element connected between the second control terminal 62 and the ground line 19, and a second control terminal 62 and a second control input terminal 64. And a resistance element 67 as a second voltage dividing resistance element connected therebetween.
[0071]
The second control terminal 62 has a potential obtained by dividing the control voltage of the second control input terminal 64 by the microcomputer 15 by the two resistance elements 66 and 67. Therefore, when the microcomputer 15 controls the second control input terminal 64 to, for example, the power supply voltage, the power supply potential is divided to the second control terminal 62 by the two resistance elements 66 and 67. This potential becomes the anode potential of the light emitting diodes D02, D04,..., D16. Further, when the microcomputer 15 controls the second control input terminal 64 to, for example, the ground potential, the second control terminal 62 becomes the ground potential. This potential becomes the anode potential of the light emitting diodes D02, D04,..., D16. In any case, the anode potential of the light emitting diodes D02, D04,..., D16 is lower than the power supply potential.
[0072]
The second drive circuit 14 includes a PNP transistor 71 as a control transistor connected between the power supply line 18 and the first control terminal 61, and a resistance element 72 connected to the base terminal of the power supply line 18 and the PNP transistor 71. And a resistance element 73 connected between the base terminal of the PNP transistor 71 and the first control input terminal 63.
[0073]
When the microcomputer 15 controls the first control input terminal 63 to a low level lower than the power supply line 18 such as a ground potential, for example, the potential difference between the power supply potential and the potential of the first control input terminal 63 is changed to the two resistance elements 72 and 73. The potential divided by is input to the base terminal of the PNP transistor 71. The potential of the base terminal is lower than the potential of the emitter terminal of the PNP transistor 71 (= power supply potential). As a result, the PNP transistor 71 is turned on.
[0074]
When the PNP transistor 71 is turned on, the first control terminal 61 is connected to the power supply line 18. At this time, for example, if any switch 36 of the second multiplexer 13 is closed, the cathodes of the light emitting diodes D02, D04,..., D16 connected to the switch 36 are connected to the power supply line 18. It will be. The anodes of the light emitting diodes D02, D04,..., D16 are lower than the power supply potential. Therefore, the cathodes of the light emitting diodes D02, D04,..., D16 have a higher potential than the anode, and the light emitting diodes D02, D04,. .
[0075]
The second drive circuit 14 includes a capacitor 74 connected between the first control terminal 61 and the ground line 19, an FET 75 whose gate is connected to the first control terminal 61, a source terminal of the FET 75, and the power supply line 18. A resistance element 76 serving as a detection resistance element connected between the two, and a resistance element 77 connected between the drain terminal of the FET 75 and the ground line 19. The source terminal of the FET 75 is connected to the output terminal 65. The voltage at the output terminal 65 becomes a light reception level signal. The FET 75, the resistance element 76, and the resistance element 77 constitute a light receiving unit.
[0076]
When the microcomputer 15 controls the first control input terminal 63 to, for example, the same high level as that of the power supply line 18, the base terminal of the PNP transistor 71 is also at the same level as that of the power supply line 18. As a result, the PNP transistor 71 is turned off. In this state, for example, when any switch 36 of the second multiplexer 13 is closed, the cathodes of the light emitting diodes D02, D04,..., D16 connected to the switch 36 are connected to the capacitor 74 and the FET 75. It will be connected to the gate terminal. The light emitting diodes D02, D04,..., D16 generate a larger voltage as the amount of received light is larger.
[0077]
The potential of the gate terminal of the FET 75 is determined by the charging voltage of the capacitor 74. The charging voltage of the capacitor 74 is a voltage obtained by adding the voltage generated by the light emitting diodes D02, D04,..., D16 to the voltage of the resistance element 66. When the amount of light received by the light emitting diodes D02, D04,..., D16 changes, the voltages generated by the light emitting diodes D02, D04,. The charging voltage of the capacitor 74 changes in a waveform obtained by integrating the change in voltage generated by the light emitting diodes D02, D04,. Therefore, the voltage of the resistance element 76 connected to the source terminal of the FET 75 and the potential appearing at the output terminal 65 also change in a waveform obtained by integrating the change in voltage generated by the light emitting diodes D02, D04,. Further, the potential of the output terminal 65 becomes lower as the amount of light received per unit time of the light emitting diodes D02, D04,.
[0078]
The speed sensor 16 outputs an analog value corresponding to the speed. That is, an analog value corresponding to the swing speed (angular speed) of the versatile lighter 1 is output. The speed sensor 16 can be constituted by, for example, an acceleration sensor that outputs a level signal corresponding to the magnitude of acceleration, and a capacitor connected to the output of the acceleration sensor. This capacitor integrates a level signal output from the acceleration sensor. Integrating acceleration gives velocity.
[0079]
The analog level signal output from the speed sensor 16 is input to the microcomputer 15. The microcomputer 15 reads, as a positive value, an analog value when the versatile lighter 1 is swung in the right direction on the basis of the level when the speed is zero. The analog value when the versatile lighter 1 is swung leftward is read as a negative value.
[0080]
FIG. 3 is a circuit diagram showing a configuration of the microcomputer 15 in FIG.
[0081]
The microcomputer 15 mainly includes an I / O port 81, a timer 82, a CPU (Central Processing Unit) 83, a RAM (Random Access Memory) 84, and a ROM (Read Only Memory). ) 85, an EEPROM (Electrically Erasable Programmable Read-Only Memory: Electrically Erasable Programmable ROM 85) 86 as a storage member, and a system bus 87 for connecting them.
[0082]
The timer 82 outputs a clock signal. The I / O port 81, CPU 83, RAM 84, ROM 85, and EEPROM 86 operate in synchronization with this clock signal.
[0083]
Three AD converters 88 are connected to the I / O port 81. The three AD converters 88 are connected to the speed sensor 16, the output terminal 45 of the first drive circuit 12, and the output terminal 65 of the second drive circuit 14. The I / O port 81 further includes a mode selector switch 6, a first multiplexer 11, a first control input terminal 43 and a second control input terminal 44 of the first drive circuit 12, a second multiplexer 13, The first control input terminal 63 and the second control input terminal 64 of the two drive circuit 14 are connected.
[0084]
The I / O port 81 samples the input signal in synchronization with the clock signal and writes the value to the buffer in the I / O port 81. Further, in synchronization with the clock signal, the level of the control signal is switched to a level corresponding to the value of the buffer.
[0085]
A control program 89 is stored in the ROM 85. The CPU 83 reads the control program 89 from the ROM 85 and executes it in synchronization with the clock signal. Thereby, the control main body is realized. The read control program 89 and temporary data necessary for executing the control program 89 are stored in the RAM 84.
[0086]
The EEPROM 86 stores afterglow image data 90 as image data. The memory for storing the afterglow image data 90 may be any memory that can store the afterglow image data 90 in an updatable manner, and may be a memory other than the EEPROM 86. Other examples of such a memory include an ultraviolet erasable ROM and a RAM that is supplied with power so that the stored power of the battery 17 is always supplied even when the power switch 5 is open.
[0087]
FIG. 4 is an explanatory diagram showing an example of the afterglow image data 90. The afterglow image data 90 shown in FIG. 4 is matrix data of 16 rows × 19 columns. Data “0” or “1” is stored in each element of the matrix.
[0088]
The first row is light emission data of the first light emitting diode D01. The second row is light emission data of the second light emitting diode D02. The third row is light emission data of the third light emitting diode D03. The fourth row is light emission data of the fourth light emitting diode D04. The fifth row is light emission data of the fifth light emitting diode D05. The sixth row is light emission data of the sixth light emitting diode D06. Similarly, the seventh to sixteenth rows are the light emission data of the seventh light emitting diode D07 to the sixteenth light emitting diode D16.
[0089]
The CPU 83 writes the afterglow image data 90 to the I / O port 81 sequentially one column at a time. For example, when the versatile lighter 1 is swung from the left to the right as viewed from the viewer, that is, from the right to the left as viewed from the shaker, the CPU 83 controls the leftmost column in FIG. Write to the I / O port 81 in order from the data. The column data is output to the first multiplexer 11 and the second multiplexer 13 in synchronization with the clock signal. The first multiplexer 11 and the second multiplexer 13 close the switches 33 and 36 corresponding to the data “1” and open the switches 33 and 36 corresponding to the data “0”. Only the light emitting diodes D01, D02,..., D16 in which the switches 33 and 36 are closed shine. Thereby, the character “GO” can be formed as an afterglow image in the space where the versatile lighter 1 is shaken.
[0090]
In addition, when viewed from the person viewing the versatile lighter 1, once the versatile lighter 1 that has been shaken to the right end starts to be turned back to the left, the CPU 83 sequentially proceeds to the I / O port from the rightmost column data in FIG. Write. As a result, the light emitting diodes D01, D02,..., D16 shine in the reverse order to the previous case. By repeating such control, the character “GO” continues to be formed in the space as an afterglow image while the versatile lighter 1 is continuously swung left and right.
[0091]
Note that each column of the afterglow image data 90 is associated with a speed integrated value. This speed integrated value is stored in the EEPROM 86 together with the afterglow image data 90. The speed integrated value associated with each column is compared with the speed integrated value integrated according to the swing position of the versatile lighter 1, as will be described later. In the first embodiment, the speed integrated value in each column in FIG. 4 is larger than that in the left column. Further, the speed integrated value in the rightmost column in FIG. 4 is a positive value. The difference between the speed integrated values in two adjacent columns may be equal in all combinations of the speed integrated values as in the first embodiment, but is different for each combination of speed integrated values. It may be.
[0092]
Next, the overall control of the versatile lighter 1 will be described.
[0093]
When the power switch 5 is closed, the power line 18 is connected to the battery 17, and the microcomputer 15 and other circuit elements start operating by the power supplied from the power line 18. The CPU 83 of the microcomputer 15 reads and executes the control program 89. FIG. 5 is a flowchart showing a main routine executed by the CPU 83.
[0094]
The CPU 83 confirms the mode (ST1). Specifically, the buffer value of the I / O port 81 corresponding to the mode change switch 6 is read.
[0095]
If the buffer value is “1” (high level as the potential level), it is determined as the reading mode and the reading step is executed (ST2). On the contrary, when the buffer value is “0” (low level as the potential level), the light emission mode is determined and the light emission step is executed (ST3). The reading step corresponds to reading control, and the light emission step corresponds to light emission control.
[0096]
FIG. 6 is a flowchart showing detailed steps of the light emission step (ST3).
[0097]
In the light emission step (ST3), first, the CPU 83 executes an initial setting step including two steps ST11 and ST12.
[0098]
In the initial setting step, the CPU 83 first performs a light emission mode setting process (ST11). Specifically, the first control input terminal 43 of the first drive circuit 12 and the first control input terminal 63 of the second drive circuit 14 are controlled to a low level, and the second control input terminal 44 of the first drive circuit 12 is controlled. The second control input terminal 64 of the second drive circuit 14 is controlled to a high level. As a result, the cathodes of the light emitting diodes D01, D02,..., D16 become potentials obtained by dividing the power supply potential by the two resistance elements 46 and 47 (66, 67). The input terminals 31 and 34 are connected to the power supply line 18.
[0099]
Next, in the initial setting step, the CPU 83 starts speed value integration processing for specifying the position of the versatile lighter 1 based on the value of the speed sensor 16 (ST12). Specifically, the adding process of the speed value output from the speed sensor 16 is started with the position of the versatile lighter 1 at the timing when the value of the speed sensor 16 changes from 0 to plus as the reference position A for starting the swing. This is equivalent to integrating the velocity value. Thereby, the speed integrated value is associated with the position of the versatile lighter 1. That is, when the versatile lighter 1 is swung or rotated with the same swing width, the integrated speed value is the same when the versatile lighter 1 is at the same swing position.
[0100]
It should be noted that the value of the speed sensor 16 is 0 when the versatile lighter 1 is stopped or when the swinging direction (rotation direction) of the versatile lighter 1 is switched. The timing at which the swing direction of the versatile writer 1 changes and the buffer read timing of the CPU 83 are asynchronous. Therefore, depending on the relationship between these timings, the buffer value may change from a negative speed value to a positive speed value without becoming zero. Mau It can happen. In such a case, the addition of the speed value output from the speed sensor 16 may be started from the timing when the negative speed value first changes to the positive speed value. In this case, the swing start position of the versatile lighter 1 does not coincide with the reference position A where the integrated speed value is 0, but the integrated speed value can be associated with the swing position of the versatile lighter 1. There is no problem in control.
[0101]
Next, the CPU 83 compares the accumulated speed integrated value with the stored speed integrated value (ST13), and when they match, the afterglow image data 90 stored in the EEPROM 86 is changed to the speed integrated value. A corresponding column is extracted (ST14). Specifically, CPU 83 compares the speed integrated value stored in association with each column of afterglow image data 90 in EEPROM 86 with the speed integrated value accumulated by CPU 83 (ST13). When the integrated speed integrated value matches the stored speed integrated value, the matching column data is extracted and written to the buffer of the I / O port 81 (ST14).
[0102]
Since the CPU 83 operates in synchronization with the clock signal of the timer 82, the speed integrated value accumulated by the CPU 83 may not match the stored speed integrated value. In this embodiment, the CPU 83 stores the speed integrated value. When a state that sandwiches the integrated speed value occurs, when the latter of the two integrated speed values occurs, a sequence that matches the sandwiched speed integrated value in the buffer of the I / O port 81 The data is written.
[0103]
The I / O port 81 outputs the column data written in the buffer to the first multiplexer 11 and the second multiplexer 13. The switches 33 and 36 whose buffer value is “1” are closed. Among the light emitting diodes D01, D02,..., D16, those connected to the closed switches 33 and 36 emit light.
[0104]
Next, the CPU 83 determines to stop the versatile writer 1 (ST15). Specifically, for example, based on the buffer value of the I / O port 81, it is determined whether or not a state below a predetermined speed value is continuously generated or the speed integrated value is not changed. When any one or more of the conditions are satisfied, it is determined that the process is finished. As a result, the CPU 83 can return to the main routine of FIG.
[0105]
If the versatile writer 1 is not stopped, the CPU 83 compares the speed integrated value (ST13), extracts a new line from the afterglow image data 90 (ST14), and a stop determination step. Repeat (ST15). As a result, the buffer of the I / O port 81 always has the column data associated with the speed integrated value that coincides with the speed integrated value integrated by the CPU 83, or the speed integrated closest to the integrated speed processed value. The column data associated with the value is written. In addition, as long as the versatile lighter 1 is continuously swung left and right, back and forth within a predetermined range, or as long as it is rotated in a certain direction or reciprocatingly rotated, it is not determined to be stopped. Continuous light emission control is executed.
[0106]
Thereby, when the swing position of the versatile lighter 1 is changed, the integrated speed integrated value is also changed, so that the column data written in the buffer of the I / O port 81 is changed. When the versatile writer 1 is at the same swing position, the integrated speed integrated values are substantially equal, so the same column data is written to the buffer of the I / O port 81.
[0107]
As a result, the character “GO” can be continuously formed as an afterglow image by continuously reciprocating and swinging the versatile lighter 1 within a certain range.
[0108]
FIG. 7 is an explanatory view showing an example of an afterglow image formed by controlling the light emission mode, and is an afterglow image obtained from the afterglow image data shown in FIG. A shown at the left end of FIG. 7 is a reference position of the versatile lighter 1 at which the integrated speed integrated value is zero.
[0109]
For example, as the versatile lighter 1 moves from the reference position A to the right side in FIG. In the afterglow image data 90 of FIG. 4, the difference between the speed integrated values of the column data is 10. Therefore, by swinging the versatile lighter 1 with a swing angle of 90 (= 5 degrees × (19-1) or more), the swing range of the versatile lighter 1 is set based on the afterglow image data 90 of “GO” shown in FIG. The display of “GO” as shown in FIG. 7 can be represented.
[0110]
The CPU 83 determines the integrated value of the speed of the versatile lighter 1, that is, the swing position as the moving distance, and writes the column data corresponding to the position in the buffer of the I / O port 81. When the swing position is reached, the light emitting diodes D01, D02,..., D16 emit light based on the same column data. As a result, the afterglow character “GO” is always displayed at the same position even if the swing speed of the versatile lighter 1 is not constant or the swing range of the versatile lighter 1 is not constant.
[0111]
FIG. 8 is a flowchart showing detailed steps of the reading step ST2.
[0112]
In the reading step ST2, the CPU 83 performs 16 reading processes in order from the first light emitting diode D01 to the sixteenth light emitting diode D16 (ST21, ST22,..., ST36). Further, when the reading process ST36 of the sixteenth light emitting diode D16 is completed, the state of the mode change switch 6 is detected, and if the mode change switch 6 is in a mode other than the read mode, that is, this implementation. In the first mode, when the light emission mode is set, the reading process is terminated (ST37). As a result, the CPU 83 can return to the main routine of FIG.
[0113]
FIG. 9 is a flowchart showing detailed steps of the reading process (ST21, ST22,..., ST36) for each of the light emitting diodes D01, D02,.
[0114]
In the reading process of each of the light emitting diodes D01, D02,..., D16, the CPU 83 first performs an initial setting step including six steps ST41 to ST46.
[0115]
For example, the light-emitting diode that performs reading is the first. Specifically, the first control input terminal 43 and the second control input terminal 44 of the first drive circuit 12 (hereinafter referred to as the light receiving side drive circuit) to which the first light emitting diode is connected are controlled to a high level. (ST41, ST42). The first control input terminal 63 of the other second drive circuit 14 (hereinafter referred to as the light emission side drive circuit) is controlled to a low level and the second control input terminal 64 is controlled to a high level (ST43, ST44). ). A control signal for closing the first switch is output to the first multiplexer 11 on the side to which the first light emitting diode is connected (hereinafter referred to as a light receiving side multiplexer) (ST45). A control signal for closing the second switch is output to the second multiplexer 13 (hereinafter referred to as a light-emitting side multiplexer) (ST46).
[0116]
Next, the CPU 83 performs photometry processing (ST47). FIG. 10 is a flowchart showing detailed steps of the photometric process ST47.
[0117]
In the photometric process, the CPU 83 first changes the second control input terminal 44 of the light receiving side drive circuit from the high level to the low level (ST61). As a result, the anode of the first light emitting diode becomes the ground potential. At this time, when the electric charge is stored in the capacitor 54 of the light receiving side driving circuit, a forward voltage is applied to the first light emitting diode, and the electric charge of the capacitor 54 is discharged through the first light emitting diode. Will be. Then, by controlling the second control input terminal 44 of the light receiving side driving circuit to a low level for about 1 ms, the capacitor 54 is completely discharged, and the cathode of the first light emitting diode also becomes the ground potential. As a result, since no current flows between the source terminal and the drain terminal of the FET 55 of the light receiving side driving circuit, the output terminal 45 of the light receiving side driving circuit becomes high level. Thereby, the capacitor 54 is reset.
[0118]
After controlling the second control input terminal 44 of the light receiving side drive circuit to the low level for 1 ms (ST62), the CPU 83 switches the second control input terminal 44 to the high level again (ST63). When the second control input terminal 44 is switched from the low level to the high level, a voltage obtained by dividing the power supply potential by the two resistance elements 46 and 47 is applied to the anode of the first light emitting diode. The first light emitting diode generates a voltage corresponding to the amount of received light. A voltage obtained by integrating the voltage generated in the first light emitting diode is generated in the capacitor 54. A voltage obtained by integrating the voltage generated in the first light emitting diode is applied to the gate terminal of the FET 55.
[0119]
FIG. 11 is a waveform diagram showing a change in potential of the output terminal 45 of the light receiving side driving circuit. The horizontal axis is time, and the vertical axis is the potential of the output terminal 45. A waveform A on the upper side of FIG. 11 is a potential waveform of the output terminal 45 when the image to be read is black. A lower waveform B in FIG. 11 is a potential waveform of the output terminal 45 when the read image is white.
[0120]
In the case of the example of FIG. 11, when the image to be read is black, the potential of the output terminal 45 of the light receiving side driving circuit is about 70 ms after the second control input terminal 44 of the light receiving side driving circuit is switched from low level to high level. Then, the voltage drops from 4.5V to 2.5V. This period of about 70ms is excessive Hand over It is a period. When the image to be read is white, the potential of the output terminal 45 of the light receiving side drive circuit decreases from 4.5 V to 1.5 V in about 10 ms after the second control input terminal 44 is switched from the low level to the high level. When the image to be read is gray, the voltage drops to a potential between 2.5 V and 1.5 V in about 10 to 70 ms.
[0121]
When the capacitor 54 is not connected to the gate of the FET 55, the potential of the output terminal 45 of the light receiving side driving circuit is abruptly 2.5V to 1.5V within a few ms regardless of the color of the image. The voltage drops between.
[0122]
Next, as shown in FIG. 10, the CPU 83 switches the second control input terminal 44 of the light receiving side drive circuit from the low level to the high level, that is, changes the anode potential of the light receiving diode for 10 ms. Later (ST64), the level of the output terminal 45 of the light receiving side drive circuit is read from the I / O port 81 (ST65). Thereby, the photometry process ST47 is completed.
[0123]
When the photometric process ST47 ends, the CPU 83 determines whether or not the read level of the output terminal 45 of the light receiving side driving circuit is higher than 2.75 V (threshold) as shown in the flowchart of FIG. 9 (ST48). ). If it is higher, it is determined to be black, and the CPU 83 writes “1” in the first row of the afterglow image data 90 of the EEPROM 86 (ST49). If the read level is 2.75 V or less, the CPU 83 determines that the level is white and writes “0” in the first row of the afterglow image data 90 of the EEPROM 86 (ST50).
[0124]
The CPU 83 performs the reading process for each of the light emitting diodes D01, D02,..., D16 shown in FIGS. 9 and 10 from the first light emitting diodes D01, D02,..., D16 to the sixteenth light emitting diode D16. repeat. That is, when the nth (n is an integer from 1 to 16) light emitting diode is a light receiving element, the state in which the n + 1 th light emitting diode is a light emitting element is sequentially executed from 1 to 16. As a result, the afterglow image data 90 for one column is stored in the EEPROM 86. When n is an even number, the second drive circuit 14 becomes a light receiving side drive circuit, and the first drive circuit 12 becomes a light emission side drive circuit. Similarly, the second multiplexer 13 becomes a light receiving side multiplexer, and the first multiplexer 11 becomes a light emitting side multiplexer.
[0125]
When the afterglow image data 90 for one column is stored in the EEPROM 86, as shown in FIG. 8, the CPU 83 determines whether or not the mode switch 6 is switched to a mode other than the reading mode. When the CPU 83 determines that the reading mode is set, the reading mode is continued. Thereafter, it is detected that the reading position of the versatile writer 1 is shifted (ST38). For example, in the example shown in FIG. 7, it may be determined whether or not the distance corresponding to 5 degrees has been moved. Then, ST21 to ST37 are executed again. In this way, until the mode changeover switch 6 is switched to a mode other than the reading mode, the image reading process for one column is repeated while detecting slight movement of the versatile lighter 1 (ST37).
[0126]
Thereby, after the user switches the mode changeover switch 6 to the reading mode, the light-emitting diodes D01, D02,..., On the letters “GO” written on the paper as shown in FIG. The afterglow image data 90 shown in FIG. 4 can be stored in the EEPROM 86 by sequentially moving the versatile lighter 1 with D16 facing downward. Note that writing to the EEPROM 86 may be performed when the mode changeover switch 6 is switched to the light emission mode, and before that, it may be temporarily stored in the RAM 84.
[0127]
The speed integrated value stored in association with each column of the afterglow image data 90 in the EEPROM 86 may be fixedly stored in advance in association with each column of the afterglow image data 90. It is preferable to integrate the value of the speed sensor 16 at the time of reading described above and store the integrated value in association with each column. In this case, instead of detecting the movement by a distance corresponding to 5 degrees in the flowchart of FIG. 8, the CPU 83 waits until the speed integral value becomes a predetermined value, and in the example of FIG. It becomes.
[0128]
As a result, even if the moving speed of the versatile lighter 1 at the time of reading is increased or decreased, or even when the feeding speed is mixed, it is possible to reproduce an image that does not have any influence at the time of light emission.
[0129]
As described above, the versatile writer 1 according to the first embodiment can read characters and images described on paper or the like in the reading mode. Further, the read image can be formed as an afterglow image in the light emission mode.
[0130]
In addition, since the light emitting diodes D01, D02,..., D16 emit light and the light receiving circuit are combined as the first drive circuit 12 or the second drive circuit 14, the circuit scale is smaller. The light emission and light reception of the plurality of light emitting diodes D01, D02,..., D16 can be controlled. Further, multiplexers 11 and 14 are provided between the light emitting diodes D01, D02,..., D16 and the two drive circuits 12 and 14, respectively, and control signals based on the afterglow image data are supplied to the two multiplexers 11 and 14. Therefore, the number of drive circuits (two in this embodiment) is smaller than the number of light emitting diodes (16 in this embodiment). In particular, since there are only two sets of drive circuits and multiplexers, it is possible to obtain a versatile lighter 1 that is small and lightweight and easy to swing. That is, it is not necessary to provide the same number of drive circuits as the light-emitting diodes as in the case where the drive circuits are directly connected to the respective light-emitting diodes, which can be realized with a smaller circuit scale. As a result, a small and lightweight versatile lighter can be obtained.
[0131]
By the way, connecting the capacitor 54 or the capacitor 74 between the first control terminal 41 of the first drive circuit 12 or the first control terminal 61 of the second drive circuit 14 and the ground line 19 has the following meaning. .
[0132]
First, the voltage at the output terminals 45 and 75 is excessive with respect to the amount of light received by the light emitting diode during reading. Hand over Since the change becomes slow, the accuracy of binarization is improved.
[0133]
If the capacitors 54 and 74 are not provided, the potentials of the output terminals 45 and 65 immediately become a steady state. Therefore, the binarization determination must be performed under the steady state conditions. In a steady state, as shown in FIG. 11, the potential difference between the reading potential of the white image and the reading potential of the black image is only about 1V. The reading potential for a white image or the reading potential for a black image easily varies by about 0.5 to 1 V depending on the color of the paper, the ink density, and other reading environment factors. As a result, it is difficult to appropriately set a threshold value for binarization in such various image reading environments, and in some cases, an image cannot be read appropriately.
[0134]
On the other hand, as in the first embodiment, capacitors 54 and 74 are connected between the first control terminals 41 and 61 and the ground line 19, and an output terminal 45 for the amount of light received by the light emitting diode during reading. , 65 over voltage Hand over Slow the change and slowly change it Hand over In the state period, when the voltages of the output terminals 45 and 65 are read, a potential difference of about 3 V at maximum (around 10 ms in FIG. 11) can be secured. As a result, even if a fluctuation of about 0.5 to 1 V occurs depending on the reading environment factor, it is possible to appropriately set a threshold for binarization and perform binarization determination with high accuracy.
[0135]
Second, since the voltage value obtained by integrating the voltages generated by the light emitting diodes D01, D02,..., D16 is read, the image reading stability is improved.
[0136]
The case where the image shown in FIG. 13A is read is compared with the case where the image shown in FIG. 13B is read. It is assumed that the versatile lighter 1 moves from the left side to the right side of the drawing along the horizontal line of the dotted grid. That is, each light emitting diode D01, D02,..., D16 moves between two horizontal lines. FIG. 13 shows only the D (n−1) th light emitting diode, the D (n) th light emitting diode, and the D (n + 1) th light emitting diode. In addition, the CPU 83 reads the value of the output terminal 45 (65) of the light receiving side drive circuit at the timing when the versatile lighter 1 overlaps the vertical line of the dotted grid. In FIG. 13, the amount of light received by each light emitting diode is read at timings T1, T2, T3, T4, and T5.
[0137]
As can be seen by comparing the degree of overlap between the diagonal edge ab of the black and white image and the dotted grid, the reading positions of the light emitting diodes D01, D02,..., D16 in FIG. ) Is slightly shifted upward from the reading position of each light emitting diode D01, D02,..., D16. For example, in the case of FIG. 13A, the D (n−1) th diode reads black at the timing T1 and reads white at the timing T2, whereas FIG. In this case, black is read at the timing T1, and black is read at the timing T2.
[0138]
When the capacitors 54 and 74 are not connected between the first control terminal 41 and the ground line 19 or between the first control terminal 61 and the ground line 19, a light emitting diode is connected from the output terminal of the light receiving side driving circuit. An instantaneous value of the received light amount of D01, D02,..., D16 is output. The CPU 83 reads this instantaneous value and uses it for binarization determination. For this reason, when the image of FIG. 13A is read, the afterglow image data 90 of FIG. 14A is stored in the EEPROM 86. When the image of FIG. 13B is read, the afterglow image data 90 of FIG. 14B is stored in the EEPROM 86. In each matrix of FIG. 14, the first row is read data of the D (n−1) th light emitting diode, the second row is read data of the D (n) th light emitting diode, and the third row is D (n). This is read data of the (n + 1) th light emitting diode. The first column is read data at timing T1, the second column is read data at timing T2, the third column is read data at timing T3, the fourth column is read data at timing T4, and the fifth column is This is read data at timing T5.
[0139]
The boundary position between “1” and “0” in the afterglow image data 90 in FIG. 14A and the boundary position between “1” and “0” in the afterglow image data 90 in FIG. Is different. If the position of the boundary between “1” and “0” is different, the position of the afterglow image formed based on this is also different.
[0140]
As described above, when the instantaneous values of the received light amounts of the light-emitting diodes D01, D02,... It will change. That is, the image reading stability is not good. Similarly, when the instantaneous value of the amount of light received by the light emitting diodes D01, D02,..., D16 is binarized, the position of the afterglow image changes only by slightly shifting the reading position of the versatile lighter 1 with respect to the image. In addition, the afterglow image has a different external shape.
[0141]
On the other hand, when the capacitors 54 and 74 are connected between the first control terminals 41 and 61 and the ground line 19, light is emitted from the output terminal serving as the light receiving side drive circuit among the output terminals 45 and 65. An integrated value of the received light amount of the diodes D01, D02,..., D16 is output. That is, for example, at the timing of T2, the total amount between T1 and T2 is read. The CPU 83 reads this integral value and uses it for binarization determination. When the image of FIG. 13A is read, the afterglow image data 90 of FIG. 15A is stored in the EEPROM 86. When the image of FIG. 13B is read, the afterglow image data 90 of FIG. 15B is stored in the EEPROM 86. In each matrix of FIG. 15, the first row is the read data of the D (n−1) th light emitting diode, the second row is the read data of the D (n) th light emitting diode, and the third row is D (n). This is read data of the (n + 1) th light emitting diode. The first column is read data at timing T1, the second column is read data at timing T2, the third column is read data at timing T3, the fourth column is read data at timing T4, and the fifth column is This is read data at timing T5.
[0142]
The boundary position between “1” and “0” in the afterglow image data 90 in FIG. 15A and the boundary position between “1” and “0” in the afterglow image data 90 in FIG. Matches. Since the position of the boundary between “1” and “0” matches, the afterglow image formed based on the boundary position is also the same. Similarly, even if the reading position of the versatile lighter 1 with respect to the image is slightly shifted, the afterglow image has the same outer shape.
[0143]
In this way, when the integrated value of the received light amount of the light emitting diodes D01, D02,..., D16 is binarized, even if the reading position of the versatile lighter 1 is slightly shifted, the same afterglow image data 90 is read. The same afterglow image can be formed. That is, the image reading stability is improved.
[0144]
The same effect can be obtained by connecting capacitors 54 and 74 between the first control terminal 41 and the power supply line 18 or between the first control terminal 61 and the power supply line 18.
[0145]
Embodiment 2. FIG.
The hardware configuration of versatile writer 1 according to the second embodiment of the present invention is the same as the hardware configuration of versatile writer 1 according to the first embodiment. Therefore, the same reference numerals as those of the first embodiment are used for the constituent elements of the versatile lighter 1, and the hardware configuration of the versatile lighter 1 is not shown and described. Further, the control program 89 in the light emission mode of the versatile lighter 1 according to the second embodiment of the present invention is the same as the control program 89 in the light emission mode of the versatile lighter 1 according to the first embodiment. Therefore, illustration and description of the flowchart of the light emission mode are omitted.
[0146]
By the way, the light emitting diodes D01, D02,..., D16 are circuit elements that emit light with high luminance with low power consumption. Therefore, the light emitting diodes D01, D02,..., D16 emit light with high luminance toward the top of the light emitting diodes D01, D02,. It has a light emission characteristic that the brightness is rapidly lowered.
[0147]
Therefore, as shown in FIG. 1, when the light emitting diodes D01, D02,..., D16 are arranged in a line at the tip portion 4 of the bar lighter 1, all the light emitting diodes D01, D02,. In this case, the luminance distribution is approximately as shown in FIG. That is, the luminance in the direction of the top of each light emitting diode D01, D02,..., D16 (dotted line direction in FIG. 16) increases, but between two adjacent light emitting diodes D01, D02,. The brightness in the direction of becomes lower.
[0148]
As a result, in the reading mode, for example, when the fourth light emitting diode D04 emits light and is received by the third light emitting diode D03, the level of the output terminal 45 of the light receiving side drive circuit and the third light emitting diode D03 are caused to emit light. The level of the output terminal 65 of the light receiving side drive circuit when light is received by the four light emitting diodes D04 is the difference in the position of the light emitting diodes D01, D02,. Naturally, the level is different due to the influence of the difference in the scattering state in the image based on strong light.
[0149]
However, when it is assumed that the reflected light from the paper portion at the position corresponding to the middle of each light emitting diode D01, D02,..., D16 in FIG. The level of the output terminal 45 of the light receiving side drive circuit when the light is received by the diode D03 and the level of the output terminal 65 of the light receiving side drive circuit when the third light emitting diode D03 emits light and is received by the fourth light emitting diode D04 It is determined that the levels are substantially the same. When the inventors conducted experiments based on this judgment, the levels were actually substantially the same. Tsu It was. The second embodiment is based on this experimental result.
[0150]
FIG. 17 is a flowchart showing detailed steps of the reading step of the versatile writer 1 according to Embodiment 2 of the present invention.
[0151]
The CPU 83 first performs an initial setting step (ST71). Specifically, the first control input terminal 63 of the second drive circuit 14 is controlled to a low level and the second control input terminal 64 is controlled to a high level. The first control input terminal 43 and the second control input terminal 44 of the first drive circuit 12 are controlled to a high level. Thereby, even-numbered light-emitting diodes D02, D04,..., D16 can be controlled to be in a light-emitting state, and odd-numbered light-emitting diodes D01, D03,. It becomes possible.
[0152]
Next, the CPU 83 performs control for closing the 2n-1 switch and closing the 2n switch. Specifically, the CPU 83 first assigns “1” to the control variable n (ST72), and then outputs a control signal for causing the second (= 2 × 1) light emitting diode D02 to emit light to the second multiplexer 13. Then, a control signal for receiving the first (= 2 × 1-1) light emitting diode D01 is output to the first multiplexer 11 (ST73).
[0153]
Next, the CPU 83 performs photometry processing (ST74). Specifically, the level of the output terminal 45 of the first drive circuit 12 is read, and the level is compared with a threshold value (ST75). When the read level of the output terminal 45 of the first drive circuit 12 is higher than 2.75 V (threshold), it is determined as black, and the first (= 2 × 1) of the afterglow image data 90 of the EEPROM 86 is determined. -1) Write "1" in a row (ST76). On the contrary, if it is low, it is determined as white, and “0” is written in the first (= 2 × 1-1) row of the afterglow image data 90 of the EEPROM 86 (ST77).
[0154]
Subsequently, the CPU 83 outputs a control signal for receiving the third (= 2 × 1 + 1) light emitting diode D03 to the first multiplexer 11 (ST78). Further, the CPU 83 performs photometry processing (ST79). Specifically, the level of the output terminal 45 of the first drive circuit 12 is read, and the level is compared with a threshold value (ST80). When the read level of the output terminal of the first drive circuit 12 is higher than 2.75 V (threshold value), it is determined as black and the second (= 2 × 1) of the afterglow image data 90 of the EEPROM 86. “1” is written in the row (ST81). On the contrary, if it is low, it is determined as white, and “0” is written in the second (= 2 × 1) row of the afterglow image data 90 of the EEPROM 86 (ST82).
[0155]
The CPU 83 adds 1 to the control variable n (ST83) and determines whether n is 8 or less (ST84). When n is 8 or less, processing for reading two binarized data while one of the light emitting diodes D02, D04,..., D16 is caused to emit light (ST73 to ST82). repeat. The total number of repetitions is 8. Thereby, the binarized data for one column from the first light emitting diode D01 to the sixteenth light emitting diode D16 can be stored in the EEPROM 86.
[0156]
As described above, the CPU 83 sequentially emits even-numbered light-emitting diodes D02, D04,..., D16, and odd-numbered light-emitting diodes D01, D03,. By receiving light at D15 and binarizing it, afterglow image data 90 of the odd-numbered light emitting diodes D01, D03,..., D15 is obtained. Further, the even-numbered light emitting diodes D02, D04,..., D14 emit light sequentially, and the odd-numbered light emitting diodes D03, D05,. By binarizing this, afterglow image data 90 of the even-numbered light emitting diodes D02, D04,..., D14 is obtained.
[0157]
When n is not less than 8, the CPU 83 performs mode determination (ST85). Then, the above-described image reading process for one column (ST72 to ST84) is repeated until the mode switch 6 is switched to a mode other than the reading mode. At this time, the versatile lighter 1 is moved sequentially.
[0158]
As a result, the user of the versatile lighter 1 switches the mode switch 6 to the reading mode, and then turns the light emitting diodes D01, D02,..., D16 downward on the paper on which the image to be read is written. Thus, the desired afterglow image data 90 can be stored in the EEPROM 86 by moving the versatile lighter 1. Note that writing to the EEPROM 86 may be performed when the mode selector switch 6 is switched to the light emission mode, and before that, it may be temporarily stored in the RAM 84 or the like.
[0159]
As described above, the versatile writer 1 according to the second embodiment can read characters and images described on paper or the like in the reading mode, and can obtain the same afterglow image data 90 as in the first embodiment.
[0160]
In addition, the even-numbered light emitting diodes D02, D04,..., D16 are sequentially controlled to emit light, and the odd-numbered light emitting diodes D01, D03,. By controlling the two to the light receiving state and repeating this, the binarized data of the odd numbered light emitting diodes D01, D03,..., D15 and the even numbered light emitting diodes D02, D04,. Binary data can be read.
[0161]
Further, since the two light emitting diodes adjacent to the light emitting diodes are sequentially connected to the light receiving side drive circuit while the light emitting diodes emit light, the light emitting side and the light receiving side are received as in the first embodiment. Compared with the case of reading by switching between the sides, the reading process is simplified, and the reading speed for one column can be increased.
[0162]
In the second embodiment, even-numbered light-emitting diodes D02, D04,..., D16 emit light and odd-numbered light-emitting diodes D01, D03,. The light emitting diodes D01, D03,..., D15 emit light and the even-numbered light emitting diodes D02, D04,.
[0163]
Embodiment 3 FIG.
The hardware configuration of versatile writer 1 according to the third embodiment of the present invention is the same as the hardware configuration of versatile writer 1 according to the first embodiment. Therefore, the same reference numerals as those of the first embodiment are used for the constituent elements of the versatile lighter 1, and the hardware configuration of the versatile lighter 1 is not shown and described. The control program 89 in the light emission mode of the versatile lighter 1 according to the third embodiment of the present invention is the same as the control program 89 in the light emission mode of the versatile lighter 1 according to the first embodiment. Therefore, illustration and description of the flowchart of the light emission mode are omitted. Furthermore, the basic flow of the reading mode of the versatile writer 1 according to Embodiment 3 of the present invention is a flowchart shown in FIG.
[0164]
FIG. 18 is a flowchart showing reading control for each light emitting diode of the versatile lighter 1 according to the third embodiment of the present invention. This flowchart is used for reading control in each of the light emitting diodes D02, D03,..., D15 from the second light emitting diode D02 to the fifteenth light emitting diode D15.
[0165]
In the reading control of each of the light emitting diodes D02, D03,..., D15 shown in FIG. 18, the CPU 83 first performs initial setting (ST91). For example, the light emitting diode that performs reading is the second. In this case, the first control input terminal 63 and the second control input terminal 64 of the second drive circuit 14 to which the second light emitting diode is connected (hereinafter referred to as the light receiving side drive circuit) are controlled to a high level. . The first control input terminal 43 of the first drive circuit 12 (hereinafter referred to as the light emission side drive circuit) is controlled to a low level and the second control input terminal 44 is controlled to a high level. A control signal for closing the second switch 36 is output to the second multiplexer 13 (hereinafter referred to as a light receiving side multiplexer) to which the second light emitting diode is connected. A control signal for closing the third switch 33 is output to the first multiplexer 11 (hereinafter referred to as a light-emitting side multiplexer).
[0166]
Next, the CPU 83 performs photometry processing (ST92). The specific procedure of the photometry process is the same as that in FIG. Then, it is determined whether or not the level of the output terminal 65 of the light receiving side driving circuit based on the amount of light received by the second light emitting diode read in this photometric processing is higher than 3.5 V (high threshold) (ST92). In this case, it is determined as black, and “1” is written in the second row of the afterglow image data 90 of the EEPROM 86 (ST99). If it is 3.5 V or less, it is further determined whether or not the read level is lower than 1 V (low threshold) (ST94). If it is low, it is determined that the level is white, and the afterglow image data 90 of the EEPROM 86 is determined. “0” is written in the second row of (ST100).
[0167]
In the comparison determination between the high threshold and the low threshold, when neither black nor white is determined, the CPU 83 outputs a control signal for closing the third switch 33 to the light-emitting side multiplexer (ST95). Thereafter, the CPU 83 performs a photometric process similar to that in FIG. 10 (ST96), and the level of the output terminal 65 of the light receiving side driving circuit that has been newly read and the level of the output terminal 65 of the light receiving side driving circuit that has already been read. The average value is calculated (ST97). Then, it is determined whether or not the average value is higher than 2.75 V (intermediate threshold value) (ST98). If it is higher, it is determined that the average value is black, and “1” is displayed in the second row of the afterglow image data 90 of the EEPROM 86. "Is written (ST99). If it is 2.75 V or less, it is determined as white and “0” is written in the second row of the afterglow image data 90 of the EEPROM 86 (ST100).
[0168]
The CPU 83 performs the reading process for each light emitting diode based on the flowchart of FIG. 18 for each of the second light emitting diode D02 to the fifteenth light emitting diode D15. For example, in the reading process for odd-numbered light emitting diodes such as the third light emitting diode D03, the second drive circuit 14 becomes a light emission side drive circuit, the second multiplexer 13 becomes a light emission side multiplexer, and the first drive circuit 12 receives light. The first multiplexer 11 becomes a light receiving side multiplexer.
[0169]
For the first light emitting diode D01 and the sixteenth light emitting diode D16, the reading process shown in FIG. 9 of the first embodiment is executed. That is, the afterglow image data of the first light emitting diode D01 is determined to be black in which the first light emitting diode D01 receives light and the second light emitting diode D02 emits light, and the level value at that time exceeds 2.75V. If it is 75 V or less, it is determined as white. Similarly, the afterglow image data of the sixteenth light emitting diode D16 is determined to be black in which the fifteenth light emitting diode D15 receives light and the sixteenth light emitting diode D16 emits light, and the level value at that time exceeds 2.75V. And it determines with it being 2.75V or less white. As a result, the afterglow image data 90 for one column is stored in the EEPROM 86.
[0170]
Further, as shown in the flowchart of FIG. 8, the CPU 83 confirms the mode every time the afterglow image data 90 for one row is read (ST37), and until after switching to a mode other than the reading mode, the afterglow image for one row. The data 90 reading process is repeated.
[0171]
As described above, the versatile writer 1 according to the third embodiment can read the characters and images described on the paper or the like in the reading mode, and can obtain the same afterglow image data 90 as in the first embodiment.
[0172]
In addition, the binarized data for the second to fifteenth light emitting diodes D02, D03,..., D15 is obtained from the light receiving diodes, for example, the light emitting diode D06 on one side of the light emitting diodes 07. If the black and white cannot be clearly determined when the light is emitted, the light emitting diode D08 on the other side is caused to emit light and an average value is taken, and the final black and white determination is made based on the average value. In this way, the light emitting diodes on both sides of the light emitting diode receiving light are sequentially emitted, and monochrome determination is performed in consideration of the average value of the two values. Therefore, there are black and white edges at positions facing the light-emitting diodes D02, D03,..., D15 that receive light, or at intermediate positions between the positions and the light-emitting diodes D01, D02,. In such a case, a gray image is located, and only a determination thereof makes it possible to detect two stable and accurate two-dimensional images at positions facing the light emitting diodes D02, D03,. Even if it is difficult to make a valuation determination, the black and white determination at the position facing the light-emitting diodes D02, D03,..., D15 receiving light is accurately determined by comparison (weighting) with the average value. can do.
[0173]
Furthermore, the case where the determination processing based on the average value is performed by causing the light emitting diodes on both sides to emit light is only when the determination cannot be made with the high threshold and the low threshold. For this reason, when the light emitting diodes on both sides are caused to emit light, there are at most several times during reading of one row. Therefore, the image reading time for one row does not become extremely long as compared with the first embodiment. That is, the image reading time in the third embodiment is not inferior to the image reading time in the first embodiment.
[0174]
In the third embodiment, the stability of the binarized data for the second to fifteenth light emitting diodes D02, D03,..., D15 is combined with the reading step in the first embodiment. And improve accuracy. In addition to this, for example, in combination with the reading step in the second embodiment, by performing determination processing with three threshold values of a high threshold value, an intermediate threshold value, and a low threshold value, similarly, the second to the fifteenth , D15 for the light emitting diodes D02, D03,..., D15 can be improved in stability and accuracy.
[0175]
FIG. 19 is a flowchart showing a flow when combined with the reading step in the second embodiment. 19, in two photometric determination steps ST111 and ST112, processing corresponding to the processing from steps ST92 to ST100 in FIG. 18 is performed. Other steps are denoted by the same reference numerals as those shown in FIG. 17 in the second embodiment, and detailed description thereof is omitted.
[0176]
The above first to third embodiments are preferred embodiments of the present invention, but the present invention is not limited to these embodiments, and various modifications and changes can be made without departing from the spirit of the present invention. Is possible.
[0177]
In the flowchart of FIG. 18 shown in the third embodiment, when the received light value is an intermediate value, the average value of the two levels of the light-emitting diodes receiving light is calculated, and the average value is compared with the intermediate threshold value. is doing. The intermediate threshold value to be compared with the average value is an average value of the high threshold value and the low threshold value.
[0178]
In each of the above-described embodiments, the first to fifteenth light emitting diodes D01 and / or the sixteenth light emitting diodes D16 located at both ends of the diode array are second to fifteenth light emitting diodes D01, D02,. , D16 is different from the reading process. In addition, for example, a light emitting diode that emits light or receives light only during reading and is not used in the light emitting mode may be provided adjacent to the outside of the first light emitting diode D01 and / or the sixteenth light emitting diode D16. Accordingly, the reading process of the first light emitting diode D01 and / or the sixteenth light emitting diode D16 is the same as the reading process of the other second to fifteenth light emitting diodes D02, D03,. Can be processed. This simplifies and reduces the control program.
[0179]
In each of the above-described embodiments, the speed integrated value is stored in association with each column of the afterglow image data 90, and the light emission mode is controlled by comparing the output of the speed sensor 16 with the integrated value. . In addition to this, for example, each column data of the afterglow image data 90 may be used in order according to a certain time interval or a certain swing angle.
[0180]
In each embodiment described above, the 16 light emitting diodes D01, D02,..., D16 are alternately connected to the first multiplexer 11 and the second multiplexer 13. In addition, for example, the first light emitting diode D01 is connected to the first multiplexer 11, the second light emitting diode D02 and the third light emitting diode D03 are connected to the second multiplexer 13, and the fourth light emitting diode D04 and the fifth light emitting diode are connected. D05 is connected to the first multiplexer 11, the sixth light emitting diode D06 and the seventh light emitting diode D07 are connected to the second multiplexer 13, that is, the light emitting diodes excluding both ends of the diode row are connected alternately two by two. In addition, light emitted from adjacent light emitting diodes can be received by each light emitting diode, and binarized afterglow image data can be generated based on the received light.
[0181]
In each of the above-described embodiments, the 16 light emitting diodes D01, D02,..., D16 each include eight odd-numbered and even-numbered eight respectively in the first multiplexer 11 and the second multiplexer 13. It is connected. In addition to this, for example, a plurality of light emitting diodes such as 2, 4, 16, etc. are connected to one multiplexer, or a plurality of light emitting diodes are connected to one multiplexer for a total of three or more multiplexers. You may make it connect to. Note that the number of drive circuits is the same as the number of multiplexers. Thus, by using a multiplexer, the number of drive circuits can be made smaller than the number of light emitting diodes. As a result, the size and weight of the versatile lighter 1 can be reduced. In particular, when a plurality of light emitting diodes are connected to three or more multiplexers, light emitted from adjacent light emitting diodes is received by each light emitting diode as in the case of the above-described embodiments. Thus, afterimage data binarized can be generated.
[0182]
In each of the above-described embodiments, the multiplexers 11 and 13 are used. However, in the reading methods of the second and third embodiments, the number of electric circuits that do not use the multiplexers 11 and 13, that is, the number of drive circuits is determined. This method is also effective when an electric circuit having the same number of light-emitting diodes is used.
[0183]
In each of the above-described embodiments, the microcomputer 15 binarizes the level value output from each of the drive circuits 12 and 14 in the reading mode to obtain afterglow image data. In addition, for example, the microcomputer may multi-level the level value output from each drive circuit in the reading mode to three or more values. Thus, in the case where each light emitting diode is caused to emit light based on multi-valued afterglow image data, for example, the same number of drive circuits and multiplexers as the number of bits of the multi-valued data are provided, and the plurality of drives The first control input terminal of the circuit is set to a different level, and the microcomputer is configured to select the multiplexer based on the multilevel data. Thereby, the microcomputer can connect each light emitting diode to the drive circuit associated with each value of the multi-value data, and form an afterglow image including light and shade.
[0184]
In each of the above-described embodiments, the microcomputer 15 basically generates binarized data based on the level each time the light receiving level of each light emitting diode is read in the reading mode. In addition to this, for example, when the light reception level of the light emitting diodes for one column is read, binarized data for the column may be generated. In addition, after reading the light reception level of the light emitting diode from when the mode changeover switch 6 is set to the reading mode until it is released, the binarized data based on the light reception level of each light emitting diode is triggered by the cancellation operation of the reading mode. May be generated. In this way, by generating the binarized data using the reading mode canceling operation as a trigger, processing during reading is lightened. Therefore, even if the speed at which the versatile lighter 1 is moved during reading is increased, an image can be read appropriately. In addition, since all the levels are read in this way, image color distribution information can be obtained. Therefore, when each binarized data is calculated, a weighting operation is performed on the surrounding level information, and the weighting operation is performed. Can be generated based on the level value. As a result, the contour of the afterglow image data and the contour of the image to be read are more difficult to shift.
[0185]
In each of the embodiments described above, in the reading mode, when operating the light emitting diode that receives light and the light emitting diode that emits light, one is operated at a time, but in the case of Embodiment 1, the light is emitted. It is possible to use two light emitting diodes on both sides of the light emitting diode, four light emitting diodes, or all other light emitting diodes. In the second and third embodiments, a plurality of light-emitting diodes on one side that receive light may emit light, and then a plurality on the other side may emit light.
[0186]
Each embodiment mentioned above is an example at the time of applying to Versa lighter 1. FIG. Since the versatile lighter 1 is shaken by hand, the swing angle per unit time is not stable. Therefore, as shown in each embodiment, it is preferable that a variable corresponding to the reading speed such as a speed integrated value is associated with each column. On the other hand, for example, in a watch that displays time by shaking a thing similar to the Versa lighter 1 at a constant rhythm, the swing angle, swing range, rhythm, etc. Do Therefore, even if it is configured to use each column data of the afterglow image data 90 in order according to a certain time interval or a certain swing angle, the read image is converted into an afterglow image. Can be displayed as
[0187]
In each of the above-described embodiments, an example in which the tip 4 is arranged in a line from the tip of the tip 4 toward the grip 3 has been described. A light emitting diode may be arranged in a shape, and the bar lighter 1 may be operated so as to swing left and right in the axial direction. In addition, the bar lighter 1 may be formed in a balloon shape, and the light emitting diodes may be arranged side by side in the direction of the ruled line or the direction of the line holding.
[0188]
Each of the above-described embodiments is an example applied to a versatile writer 1 used in a concert or event venue. In addition to this, for example, flashing lights used by police officers and traffic guides for road construction, warning lights, rotating lights, signal lights, etc. that are mounted on police cars or fire engines or for crime prevention Also, the configuration of the present invention can be applied. Then, by reading and displaying arbitrary images and characters as image data on these light-emitting devices, it is possible to display a message or the like for each purpose as compared with the case where it simply blinks or lights up. In addition, it is possible to easily perform instructions and displays that are more accurate and easy to understand, and to make changes easily.
[0189]
【The invention's effect】
In the present invention, light emission of a plurality of light emitting diodes can be controlled with a smaller circuit scale.
[Brief description of the drawings]
FIG. 1 is a perspective view showing a structure of a versatile lighter according to Embodiment 1 of the present invention.
FIG. 2 is a circuit diagram showing an electric circuit that is disposed inside the versatile lighter of FIG. 1 and controls light emission of 16 light emitting diodes.
3 is a circuit diagram showing a configuration of a microcomputer in FIG. 2. FIG.
4 is an explanatory diagram showing an example of afterglow image data stored in the EEPROM in FIG. 3; FIG.
FIG. 5 is a flowchart showing a main routine executed by a CPU in FIG. 3;
6 is a flowchart showing detailed steps of a light emission step shown in the flowchart of FIG.
7 is an explanatory diagram showing an example of an afterglow image formed based on the afterglow image data shown in FIG. 4. FIG.
8 is a flowchart showing detailed steps of a reading step shown in the flowchart of FIG.
9 is a flowchart showing detailed steps of a reading process performed for each light emitting diode in the flowchart shown in FIG. 8;
10 is a flowchart showing detailed steps of photometry processing shown in the flowchart of FIG. 9. FIG.
11 is a waveform diagram showing a change in potential of the output terminal of the light receiving side drive circuit in the circuit diagram shown in FIG. 2. FIG.
12 is an explanatory diagram for explaining how to read an image by the versatile writer of FIG. 1; FIG.
13 is an explanatory diagram illustrating a difference in image reading position by the versatile writer in FIG. 1. FIG.
14 is an explanatory diagram showing binarized data obtained by reading the image shown in FIG. 13; FIG. 14 is a diagram illustrating a case where a capacitor is not connected between the first control terminal and the ground line in the circuit diagram of FIG. Valued data.
15 is an explanatory diagram showing binarized data obtained by reading the image shown in FIG. 13, and a capacitor is connected between the first control terminal and the ground line as shown in the circuit diagram of FIG. It is the binarized data when there is.
16 is an explanatory diagram showing a luminance distribution of the versatile lighter in FIG. 1. FIG.
FIG. 17 is a flowchart showing detailed steps of a reading step of a versatile writer according to the second embodiment of the present invention.
FIG. 18 is a flowchart showing reading control for each light emitting diode of the versatile lighter according to the third embodiment of the present invention.
FIG. 19 is a flowchart showing a flow when the reading control flow according to the third embodiment of the present invention is combined with the reading step in the second embodiment.
[Explanation of symbols]
1 Versa Lighter
4 Housing
11 First multiplexer ( Bidirectional switching circuit )
12 First drive circuit (drive circuit, drive circuit for receiving and emitting light)
13 Second multiplexer ( Bidirectional switching circuit )
14 Second drive circuit (drive circuit, drive circuit for receiving and emitting light)
15 Microcomputer (control body)
51, 71 PNP transistor (control transistor)
55,75 FET (field effect transistor, light receiving part)
56,76 Resistance element (detection resistance element, light receiving part)
57,77 Resistance element (light receiving part)
54,74 capacitors
46,66 resistance element (first voltage dividing resistance element)
47, 67 Resistance element (second voltage dividing resistance element)
86 EEPROM (memory member)
90 Afterglow image data (image data)
D01, D02, ..., D16 Light emitting diode

Claims (7)

細長い略円柱形状のハウジングと、
上記ハウジングの先端からグリップ部に向かって並べて配置される複数個の発光ダイオードと、
上記ハウジングの内部に配設され、上記複数個の発光ダイオードの発光を制御する電気回路と、
を備え、
上記電気回路は、
上記発光ダイオードを駆動させる駆動回路と、
マルチプレクサおよびデマルチプレクサの機能をもち、多端子側に上記発光ダイオードが接続され、一端子側に上記駆動回路に接続される双方向性スイッチング回路と、
残光像データを記憶する記憶部材と、
上記残光像データに基づいて上記双方向性スイッチング回路へ制御信号を出力する制御本体と、
を備え、
上記駆動回路および上記双方向性スイッチング回路は、少なくとも2組設けられ、
上記配置された複数個の発光ダイオードは、隣接する発光ダイオードが自己が接続される上記双方向性スイッチング回路とは異なる他方の上記双方向性スイッチング回路に接続されるように、交互にそれぞれ異なる上記双方向性スイッチング回路に接続され、
上記各駆動回路には、上記発光ダイオードの受光光量に応じて変化する受光レベル信号を出力する受光部を設け、更に、
上記制御本体は、上記複数の発光ダイオードを切り替えて上記複数の駆動回路へ接続する制御信号を上記複数の双方向性スイッチング回路へ出力し、上記受光レベル信号と閾値とを比較した結果に基づいて前記残光像データを生成し、この残光像データを前記記憶部材に記憶させる
ことを特徴とするバーサライター。
An elongated, substantially cylindrical housing;
A plurality of light emitting diodes which are arranged side by side toward the grip portion from the previous end of the housing,
An electric circuit disposed inside the housing for controlling light emission of the plurality of light emitting diodes;
With
The electrical circuit is
A drive circuit for driving the light emitting diode;
A bidirectional switching circuit having a function of a multiplexer and a demultiplexer, wherein the light emitting diode is connected to the multi-terminal side, and one terminal side is connected to the driving circuit;
A storage member for storing afterglow image data;
A control body that outputs a control signal to the bidirectional switching circuit based on the afterglow image data;
With
At least two sets of the drive circuit and the bidirectional switching circuit are provided,
The plurality of arranged light emitting diodes are alternately different so that adjacent light emitting diodes are connected to the other bidirectional switching circuit different from the bidirectional switching circuit to which the light emitting diodes are connected. Connected to bidirectional switching circuit,
Each of the drive circuits is provided with a light receiving unit that outputs a light reception level signal that changes in accordance with the amount of light received by the light emitting diode.
The control body outputs a control signal for switching the plurality of light emitting diodes to be connected to the plurality of driving circuits to the plurality of bidirectional switching circuits, and based on a result of comparing the light reception level signal with a threshold value. A versatile writer that generates the afterglow image data and stores the afterglow image data in the storage member .
細長い略円柱形状のハウジングと、
上記ハウジングの先端からグリップ部に向かって並べて配置される複数個の発光ダイオードと、
上記ハウジングの内部に配設され、上記複数個の発光ダイオードの発光を制御する電気回路と、
を備え、
上記電気回路は、
上記発光ダイオードを駆動させる駆動回路と、
マルチプレクサおよびデマルチプレクサの機能をもち、多端子側に上記発光ダイオードが接続され、一端子側に上記駆動回路に接続される双方向性スイッチング回路と、
残光像データを記憶する記憶部材と、
上記残光像データに基づいて上記双方向性スイッチング回路へ制御信号を出力する制御本体と、
を備え、
上記駆動回路および上記双方向性スイッチング回路は、2組設けられ、
前記複数個の発光ダイオードは、2つの上記双方向性スイッチング回路に上記ハウジングの先端側から順に交互に接続され、
上記各駆動回路には、前記発光ダイオードの受光光量に応じて変化する受光レベル信号を出力する受光部を設け、更に、
上記制御本体は、上記複数の発光ダイオードを切り替えて2つの上記駆動回路へ接続する制御信号を上記2つの方向スイッチング回路へ出力し、上記受光レベル信号と閾値とを比較した結果に基づいて上記残光像データを生成し、この残光像データを上記記憶部材に記憶させることを特徴とする
バーサライター。
An elongated, substantially cylindrical housing;
A plurality of light emitting diodes arranged side by side toward the grip portion from the tip of the housing;
An electric circuit disposed inside the housing for controlling light emission of the plurality of light emitting diodes;
With
The electrical circuit is
A drive circuit for driving the light emitting diode;
A bidirectional switching circuit having a function of a multiplexer and a demultiplexer, wherein the light emitting diode is connected to the multi-terminal side, and one terminal side is connected to the driving circuit;
A storage member for storing afterglow image data;
A control body that outputs a control signal to the bidirectional switching circuit based on the afterglow image data;
With
Two sets of the drive circuit and the bidirectional switching circuit are provided,
The plurality of light emitting diodes are alternately connected to the two bidirectional switching circuits sequentially from the front end side of the housing,
Each of the drive circuits is provided with a light receiving unit that outputs a light reception level signal that changes according to the amount of light received by the light emitting diode.
The control body, the control signal for connecting by switching the plurality of light emitting diodes into two of the drive circuit outputs to the two bidirectional switching circuit, based on a result of comparison between the received light level signal and the threshold value A bar writer that generates the afterglow image data and stores the afterglow image data in the storage member.
各発光ダイオードで発光のために利用する残光像データは、その発光ダイオードに隣接する発光ダイオードを発光させ、その発光した光をその発光ダイオードで受光して得られる受光レベル信号に基づいて前記制御本体によって生成されることを特徴とする請求項2記載のバーサライター。The afterglow image data used for light emission by each light emitting diode is controlled based on the light reception level signal obtained by causing the light emitting diode adjacent to the light emitting diode to emit light and receiving the emitted light by the light emitting diode. 3. The versatile lighter according to claim 2, wherein the lighter is produced by a main body. 各発光ダイオードで発光のために利用する残光像データは、その発光ダイオードを発光させ、その発光した光をその発光ダイオードに隣接する発光ダイオードで受光して得られる受光レベル信号に基づいて前記制御本体によって生成されることを特徴とする請求項2記載のバーサライター。The afterglow image data used for light emission by each light emitting diode is controlled based on a light reception level signal obtained by causing the light emitting diode to emit light and receiving the emitted light by a light emitting diode adjacent to the light emitting diode. 3. The versatile lighter according to claim 2, wherein the lighter is produced by a main body. 前記制御本体は、
前記2つの駆動回路の中の一方を発光制御に設定するとともに、他方を受光制御に設定し、
上記発光側の駆動回路に接続される前記マルチプレクサへ制御信号を出力することで、該マルチプレクサに接続される前記複数の発光ダイオードを順番に点灯し、
前記各発光ダイオードが発光している間に、上記受光側の駆動回路に接続される前記マルチプレクサへ制御信号を出力することで、上記発光している発光ダイオードに隣接する2つの前記発光ダイオードを順番に上記受光側の駆動回路へ接続し、さらに、
受光する上記2つの前記発光ダイオードによる2つの前記受光レベル信号の中の一方に基づいて、上記受光する上記2つの前記発光ダイオードの中の一方が利用する前記残光像データを生成し、他方に基づいて、上記発光する前記発光ダイオードが利用する前記残光像データを生成することを特徴とする請求項2記載のバーサライター。
The control body is
One of the two drive circuits is set to light emission control and the other is set to light reception control,
By outputting a control signal to the multiplexer connected to the driving circuit on the light emitting side, the plurality of light emitting diodes connected to the multiplexer are turned on in order,
While each of the light emitting diodes emits light, a control signal is output to the multiplexer connected to the light receiving side driving circuit, so that the two light emitting diodes adjacent to the light emitting diodes emitting light are sequentially turned. Connected to the drive circuit on the light receiving side, and
Based on one of the two light reception level signals from the two light emitting diodes receiving light, the afterglow image data used by one of the two light emitting diodes receiving the light is generated and 3. The versatile lighter according to claim 2, wherein the afterglow image data used by the light emitting diode emitting light is generated based on the afterglow image data.
前記駆動回路は、
前記発光ダイオードのカソードとグランドラインとの間に接続される第一分圧抵抗素子と、
前記発光ダイオードに一端が接続される第二分圧抵抗素子と、
前記発光ダイオードのアノードにゲート端子が接続される電界効果トランジスタと、
上記電界効果トランジスタのソース端子と電源ラインとの間あるいはドレイン端子と上記グランドラインとの間に接続される検出抵抗素子と、
前記発光ダイオードのアノードと上記グランドラインとの間に接続されるコンデンサと、
上記発光ダイオードのアノードと上記電源ラインとの間に接続される制御トランジスタと、を備える
ことを特徴とする請求項1または2記載のバーサライター
The drive circuit is
A first voltage-dividing resistor element connected between the cathode of the light emitting diode and a ground line;
A second voltage-dividing resistor element having one end connected to the light-emitting diode;
A field effect transistor having a gate terminal connected to an anode of the light emitting diode;
A detection resistor connected between the source terminal of the field effect transistor and the power supply line or between the drain terminal and the ground line;
A capacitor connected between the anode of the light emitting diode and the ground line;
The versater lighter according to claim 1 , further comprising: a control transistor connected between an anode of the light emitting diode and the power supply line.
受光する前記発光ダイオードのアノードの電位を変化させ、
その変化タイミングを基準として、黒い画像による光を受光した場合に前記コンデンサの充電電圧が安定するまでの過期間において、前記コンデンサの充電電圧あるいはその充電電圧に応じて変化する電圧を読み取る制御本体を有することを特徴とする請求項6記載のバーサライター
Change the anode potential of the light emitting diode that receives light,
The changing timing as a reference, in the transient period until the charging voltage of the capacitor when receiving light due to the black image is stabilized, the control body for reading the charge voltage or the voltage which varies in accordance with the charged voltage of the capacitor The versatile lighter according to claim 6, wherein:
JP2003053365A 2003-02-28 2003-02-28 Versa Lighter Expired - Fee Related JP4417639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003053365A JP4417639B2 (en) 2003-02-28 2003-02-28 Versa Lighter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003053365A JP4417639B2 (en) 2003-02-28 2003-02-28 Versa Lighter

Publications (2)

Publication Number Publication Date
JP2004264440A JP2004264440A (en) 2004-09-24
JP4417639B2 true JP4417639B2 (en) 2010-02-17

Family

ID=33117988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003053365A Expired - Fee Related JP4417639B2 (en) 2003-02-28 2003-02-28 Versa Lighter

Country Status (1)

Country Link
JP (1) JP4417639B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4055745B2 (en) 2004-06-17 2008-03-05 コニカミノルタビジネステクノロジーズ株式会社 Apparatus, method and program for image processing, and apparatus, method and program for file creation
JP4718240B2 (en) 2005-05-24 2011-07-06 日東光学株式会社 Data communication apparatus and electronic device
EP2070070B1 (en) * 2006-08-31 2010-01-06 Cardlab ApS A card for presenting information during waving
EP2860721B1 (en) * 2007-02-01 2021-09-01 Dolby Laboratories Licensing Corporation Calibration of displays having spatially-variable backlight
JP5001737B2 (en) * 2007-07-19 2012-08-15 日東光学株式会社 Afterimage display device and afterimage display system
JPWO2009013791A1 (en) * 2007-07-20 2010-09-24 パナソニック株式会社 Display device, portable terminal device, and display method
SG11201704445XA (en) 2014-12-19 2017-07-28 Cardlab Aps A method and an assembly for generating a magnetic field and a method of manufacturing an assembly
EP3035230A1 (en) 2014-12-19 2016-06-22 Cardlab ApS A method and an assembly for generating a magnetic field
EP3082071A1 (en) 2015-04-17 2016-10-19 Cardlab ApS Device for and method of outputting a magnetic field
JP6648479B2 (en) * 2015-10-13 2020-02-14 株式会社三洋物産 Gaming machine

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62239042A (en) * 1986-04-11 1987-10-19 Komatsu Ltd Hole inspecting device
JP3116417B2 (en) * 1991-06-13 2000-12-11 松下電器産業株式会社 LED display equipment
JPH0564887U (en) * 1991-12-12 1993-08-27 アビックス株式会社 Display device
JP2524676B2 (en) * 1991-12-12 1996-08-14 アビックス株式会社 Swing display
JP2823436B2 (en) * 1992-08-03 1998-11-11 シャープ株式会社 Flat panel display
JPH07134556A (en) * 1993-11-08 1995-05-23 Smk Corp Two-dimensional after image display unit
JPH07315635A (en) * 1994-05-27 1995-12-05 Toshiba Corp Regulating device for light emission quantity of detector
JP3477561B2 (en) * 1994-09-26 2003-12-10 九州日立マクセル株式会社 Oscillating display device
JP3367278B2 (en) * 1995-06-13 2003-01-14 ヤマハ株式会社 Controller device
JPH1069238A (en) * 1996-08-26 1998-03-10 Pioneer Electron Corp Organic electrolumiescence display device
JPH1137931A (en) * 1997-07-14 1999-02-12 Tokimec Inc Absorptiometer
JPH1194845A (en) * 1997-09-16 1999-04-09 Tokimec Inc Sample injection state inspecting instrument
JP4162345B2 (en) * 2000-01-14 2008-10-08 日東光学株式会社 Line sensor device
JP2001242813A (en) * 2000-02-29 2001-09-07 Mamoru Chiku Flag waver-like display device
JP2004243040A (en) * 2003-02-17 2004-09-02 Samii Kk Display device

Also Published As

Publication number Publication date
JP2004264440A (en) 2004-09-24

Similar Documents

Publication Publication Date Title
US7355573B2 (en) Residual image display
KR101302089B1 (en) Direct-View MEMS Display Devices and Methods for Generating Images Thereon
JP4417639B2 (en) Versa Lighter
CN100423066C (en) Display driver circuits for electroluminescent displays, using constant current generators
CN100555380C (en) The image display device of supplied with digital signal and method for displaying image
US6825835B2 (en) Display device
CN100570688C (en) Luminous display unit and driving method thereof
CN104252841B (en) LED display control method and control card, LED display screen system
US7372430B2 (en) Light emitting device and light receiving and emitting driving circuit
JPH09319332A (en) Led display device and led display method
JP5192130B2 (en) Driving method and apparatus for reducing wasted power of flat panel display
CN1432173A (en) Low power LCD driving scheme
JPWO2018164105A1 (en) Drive device and display device
US7006058B2 (en) Method of driving a plasma display panel
CN101281722B (en) Dot matrix type display device and information equipment employing the same
CN110379363A (en) The driving method and its driving device of display panel, display device
JP2728703B2 (en) Display device and method of operating the same
CN101188089B (en) A device and scanning method based on LED array scanning pattern
CN100498880C (en) Luminous device
JP4576625B2 (en) Information transmission system, imaging apparatus, and light reception control method
US20060007060A1 (en) Plasma display panel and its driving method
US7710353B2 (en) Driving method of a display panel
WO2006098007A1 (en) Current-driven light emitting display
JP2002341824A (en) Driving method of light emitting panel
JPS5856875B2 (en) display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090526

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091021

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: 20091117

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091126

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4417639

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151204

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees