JP3244040B2 - Optical information reader - Google Patents
Optical information readerInfo
- Publication number
- JP3244040B2 JP3244040B2 JP32260197A JP32260197A JP3244040B2 JP 3244040 B2 JP3244040 B2 JP 3244040B2 JP 32260197 A JP32260197 A JP 32260197A JP 32260197 A JP32260197 A JP 32260197A JP 3244040 B2 JP3244040 B2 JP 3244040B2
- Authority
- JP
- Japan
- Prior art keywords
- decoding
- line
- pixel
- output
- transfer clock
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【0001】[0001]
【発明の属する技術分野】本発明は、バーコード等を読
み取る光学的情報読み取り装置に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to an optical information reading apparatus for reading a bar code or the like.
【0002】[0002]
【従来の技術】以下、光学的情報読み取り装置のうち、
特に撮像部に二次元フォトセンサを用いた二次元コード
リーダについて説明する。なお、本発明は二次元コード
リーダに限定されることはなく、一次元バーコードリー
ダやハンドヘルドターミナルのような光学的に情報読み
取り可能な携帯情報端末などにも適用できることは言う
までもない。2. Description of the Related Art Hereinafter, among optical information reading devices,
In particular, a two-dimensional code reader using a two-dimensional photosensor in the imaging unit will be described. It is needless to say that the present invention is not limited to a two-dimensional code reader, but can be applied to a portable information terminal capable of optically reading information such as a one-dimensional bar code reader and a handheld terminal.
【0003】従来、一次元バーコードまたは二次元コー
ドの読み取りを行う際に用いられていた読み取り装置の
回路部分のブロック図15に示す。1は撮像部で入射光
を光電変換するフォトセンサからなる。2はシフトレジ
スタで、4のシフトパルス発生手段により発生したシフ
トパルスSPによって、蓄積された撮像部1の電荷がシ
フトレジスタ2に転送され、3の転送クロック発生手段
によって発生した転送クロックにより順次1画素づつ出
力される。5は解読処理手段で、シフトレジスタ2から
出力されるアナログ信号をデジタル信号へ変換するAD
コンバータ(または2値化回路)6と、ADコンバータ
6で得られたデジタル信号を記憶するメモリ7と、メモ
リ7に記憶された内容を解読するCPU8と、解読結果
をPOSやホストコンピュータに送信する通信インタフ
ェイス9などで構成されている。なお、照明LED、読
み取り結果を示すLEDやブザーについては図示してい
ないが、それらを備えていても、備えていなくても構わ
ない。FIG. 15 is a block diagram showing a circuit portion of a reading apparatus conventionally used for reading one-dimensional barcodes or two-dimensional codes. Reference numeral 1 denotes a photo sensor that photoelectrically converts incident light in an imaging unit. Reference numeral 2 denotes a shift register, and the accumulated charge of the imaging unit 1 is transferred to the shift register 2 by the shift pulse SP generated by the shift pulse generating means 4 and sequentially shifted by the transfer clock generated by the transfer clock generating means 3. It is output pixel by pixel. Reference numeral 5 denotes a decoding processing unit which converts an analog signal output from the shift register 2 into a digital signal.
A converter (or binarization circuit) 6, a memory 7 for storing the digital signal obtained by the AD converter 6, a CPU 8 for decoding the contents stored in the memory 7, and transmitting the decoding result to a POS or a host computer It comprises a communication interface 9 and the like. Although the illumination LED, the LED indicating the reading result, and the buzzer are not shown, they may or may not be provided.
【0004】次に二次元CCDイメージセンサの構成を
図16に用い説明する。なお、図16では二次元CCD
イメージセンサの構成を模式的に示している(説明の便
宜上、一部を省略している)。二次元CCDイメージセ
ンサの場合、一次元CCDイメージセンサと異なり画素
が二次元方向に配列されているため、図15のシフトレ
ジスタ2は垂直シフトレジスタ10と水平シフトレジス
タ11とで構成される。図15の撮像部1はフォトセン
サ12からなり、隣に垂直シフトレジスタ10が配置さ
れる。フォトセンサ12に蓄積された電荷は、シフトパ
ルスSP(図示せず)により垂直シフトレジスタ10に
転送される。その後垂直転送クロックVによって垂直方
向に電荷は転送され、水平シフトレジスタ11まで送ら
れた電荷は水平転送クロックHによって水平方向に転送
され、13の出力回路を経てアナログ信号として出力さ
れる。Next, the configuration of a two-dimensional CCD image sensor will be described with reference to FIG. FIG. 16 shows a two-dimensional CCD.
1 schematically illustrates a configuration of an image sensor (a part is omitted for convenience of description). In the case of a two-dimensional CCD image sensor, pixels are arranged in a two-dimensional direction unlike a one-dimensional CCD image sensor, and thus the shift register 2 in FIG. 15 is composed of a vertical shift register 10 and a horizontal shift register 11. The imaging unit 1 in FIG. 15 includes a photo sensor 12, and a vertical shift register 10 is arranged next to the photo sensor 12. The electric charge accumulated in the photo sensor 12 is transferred to the vertical shift register 10 by a shift pulse SP (not shown). Thereafter, the charges are transferred in the vertical direction by the vertical transfer clock V, and the charges sent to the horizontal shift register 11 are transferred in the horizontal direction by the horizontal transfer clock H, and are output as analog signals through 13 output circuits.
【0005】なお、図15のシフトレジスタ2(または
図16の垂直シフトレジスタ10ならびに水平シフトレ
ジスタ11)はCCD(Charge Coupled
Device)で構成され、フォトセンサ12と出力
回路13を含めた素子をCCDイメージセンサと呼ぶ。The shift register 2 in FIG. 15 (or the vertical shift register 10 and the horizontal shift register 11 in FIG. 16) is a CCD (Charge Coupled).
The device including the photosensor 12 and the output circuit 13 is called a CCD image sensor.
【0006】また、通常25万画素二次元CCDイメー
ジセンサと呼ばれているものは、フォトセンサ12が水
平方向に約500個、垂直方向に約500個用いられて
いる。また垂直シフトレジスタ10は水平方向に配置さ
れるフォトセンサ12の数とほぼ同じく約500個用い
られている。さらに実際には二次元CCDイメージセン
サの垂直転送クロックVは4相駆動、水平転送クロック
Hは2相駆動が用いられることが多く、それぞれ4信号
と2信号が必要であるが、説明を簡単にするためにそれ
ぞれ1信号づつとした。さらに二次元CCDイメージセ
ンサの場合、シフトパルスSPは、実際には直接CCD
イメージセンサに入力せずに、一度垂直ドライバと呼ば
れるICに入力し、垂直転送クロックVを3値で出力す
ることによりフォトセンサ12から垂直シフトレジスタ
10に電荷を転送することが一般に行われているが、説
明が複雑になるので一次元CCDイメージセンサと同様
にシフトパルスSPを直接入力するものとして記述す
る。また撮像部1に水平方向に配列された水平画素の並
びをラインと呼ぶ。[0006] In a so-called 250,000-pixel two-dimensional CCD image sensor, about 500 photosensors 12 are used in the horizontal direction and about 500 photosensors 12 are used in the vertical direction. In addition, about 500 vertical shift registers 10 are used, almost the same as the number of photosensors 12 arranged in the horizontal direction. Further, in practice, a four-phase drive is used for the vertical transfer clock V and a two-phase drive is used for the horizontal transfer clock H of the two-dimensional CCD image sensor, and four signals and two signals are required, respectively. In this case, one signal is used for each. Further, in the case of a two-dimensional CCD image sensor, the shift pulse SP is actually
It is common practice to transfer the charge from the photo sensor 12 to the vertical shift register 10 by inputting it once to an IC called a vertical driver and outputting the vertical transfer clock V in three values, without inputting it to the image sensor. However, the description will be made assuming that the shift pulse SP is directly input as in the case of the one-dimensional CCD image sensor because the description is complicated. A row of horizontal pixels arranged in the imaging unit 1 in the horizontal direction is called a line.
【0007】さらに本発明では、インターレース(飛び
越し走査)方式と呼ばれる、1画面(フレーム)が、奇
数フィールドと偶数フィールドと呼ばれる2つのフィー
ルドから構成され、それぞれのフィールドでは1ライン
毎に飛び越して出力を行う二次元CCDイメージセンサ
を用いても、ノンインターレース方式と呼ばれる順次出
力を行う二次元CCDイメージセンサを用いても構わな
いが、ノンインターレース方式の二次元CCDイメージ
センサを用いて以後説明を行う。Further, according to the present invention, one screen (frame) called an interlace (interlaced scanning) system is composed of two fields called an odd field and an even field. Although a two-dimensional CCD image sensor that performs sequential output called a non-interlaced method may be used or a two-dimensional CCD image sensor that performs sequential output, a non-interlaced two-dimensional CCD image sensor will be described below.
【0008】このような構成で、電力消費量を少なくす
るために、読み取り時以外の待機時には、CCDイメー
ジセンサをはじめ各部の電源を切断する制御が行われて
いるものがあり、電源制御を行っているものの中には、
電源投入から読み取り可能となる時間の短縮を図るため
に、電源投入時に転送クロックを通常の解読処理時より
も短い周期とし、電源切断時に撮像部やシフトレジスタ
に溜まった不要な電荷を速く掃き出し終わった後に、転
送クロックを通常の解読処理時の転送クロックに戻すよ
うにしたものも知られていた。In such a configuration, in order to reduce the power consumption, in a standby mode other than the reading mode, there is a control for cutting off the power of each unit including the CCD image sensor. Some of them are
To reduce the time required for reading from power-on, the transfer clock is set to a shorter cycle than during normal decoding when power is turned on, and unnecessary charges accumulated in the imaging unit and shift register when power is turned off are quickly discharged. After that, the transfer clock is returned to the transfer clock at the time of normal decoding processing.
【0009】[0009]
【発明が解決しようとする課題】しかし、従来の光学的
情報読み取り装置では、解読処理を行う前に撮像部1の
全ての画素の電荷をシフトレジスタ2を経由して同一周
期の転送クロックにて解読処理手段5に出力する(メモ
リ7に書き込む)必要があった。このため、全画素を解
読処理手段5に出力する(メモリ7に書き込む)のに時
間がかかり、バーコード等の読み取りに時間がかかると
いう問題があった。なお転送クロックの最低周期(最高
周波数)は、ADコンバータ(または二値化回路)6、
メモリ7の性能、および二次元CCDイメージセンサを
使用した場合は、NTSCと呼ばれる日本のTVの標準
規格など規格によって決められている垂直同期信号、水
平同期信号の周期と垂直方向、水平方向の画素数により
決められていた。However, in the conventional optical information reading device, before the decoding process is performed, the charges of all the pixels of the imaging section 1 are transferred via the shift register 2 by the transfer clock having the same period. It was necessary to output to the decryption processing means 5 (write to the memory 7). For this reason, there is a problem in that it takes time to output all the pixels to the decryption processing means 5 (write to the memory 7), and it takes time to read a barcode or the like. The minimum period (highest frequency) of the transfer clock is determined by the AD converter (or binarization circuit) 6,
The performance of the memory 7 and, when a two-dimensional CCD image sensor is used, the period of the vertical synchronization signal and the horizontal synchronization signal and the vertical and horizontal pixels determined by standards such as the Japanese TV standard called NTSC. It was determined by number.
【0010】特に、一般にバーコード読み取り用一次元
CCDイメージセンサは画素数が通常1000〜300
0画素程度であるのに、二次元CCDイメージセンサは
通常約25万画素から約40万画素もあり、NTSCと
呼ばれる日本のTVの標準規格に準じた信号であれば一
画面の情報を二次元CCDイメージセンサから出力して
取り込む(メモリ7に書き込む)のに33msも必要で
あり、さらに一部ハイビジョン用等の高密度(高画素)
二次元CCDイメージセンサでは約100万画素以上も
あるため66ms程度必要となる。このため二次元CC
Dイメージセンサを用いた場合、CPU8による解読処
理時間よりも、二次元イメージセンサの出力を取り込む
(メモリ7に書き込む)時間がより多くかかる場合もあ
る。特に高密度(高画素)の二次元CCDイメージセン
サを用いた場合、大きな二次元コードでも、小さな二次
元コードでも、一次元バーコードでも同じように66m
s程度出力を取り込む(メモリ7に書き込む)のに必要
なため、特に小さな二次元コードや一次元バーコードの
読み取りを行なう場合や、一次元CCDイメージセンサ
を使用した場合でも解読処理手段として高性能CPUを
用いた場合この現象が顕著に現われ、バーコードの読み
取り時間全体における、CCDイメージセンサから出力
を取り込む(メモリ7に書き込む)時間の割合が大きく
なり、単にCPU8のプログラムの改善や、CPU8の
高性能化だけでは読み取りが速くならないという問題が
あった。Particularly, a one-dimensional CCD image sensor for reading a bar code generally has a number of pixels of 1000 to 300.
Although the number of pixels is about 0 pixels, a two-dimensional CCD image sensor usually has about 250,000 pixels to about 400,000 pixels. If a signal conforms to the Japanese TV standard called NTSC, information of one screen is two-dimensional. It takes 33ms to output and take in (write to memory 7) from the CCD image sensor, and also high density (high pixels) for high-vision etc.
Since a two-dimensional CCD image sensor has about one million pixels or more, about 66 ms is required. Therefore, two-dimensional CC
When the D image sensor is used, the time to capture the output of the two-dimensional image sensor (write to the memory 7) may be longer than the time required for the decoding processing by the CPU 8. In particular, when a high-density (high-pixel) two-dimensional CCD image sensor is used, a large two-dimensional code, a small two-dimensional code, and a one-dimensional bar code are similarly 66 m long.
Since it is necessary to capture the output of about s (write it to the memory 7), even when reading a small two-dimensional code or one-dimensional bar code, or even when using a one-dimensional CCD image sensor, it has high performance as a decoding processing means. When a CPU is used, this phenomenon becomes conspicuous, and the ratio of the time for taking in the output from the CCD image sensor (writing to the memory 7) in the entire barcode reading time becomes large. There has been a problem that reading cannot be made faster only by improving the performance.
【0011】本発明はこのような課題を解決するもの
で、読み取り時間を速くした光学的情報読み取り装置を
提供することを目的とする。An object of the present invention is to solve such a problem, and an object of the present invention is to provide an optical information reading apparatus in which the reading time is shortened.
【0012】[0012]
【課題を解決するための手段】上記目的を達成するため
に本発明の第1の光学的情報読み取り装置は、一次元ま
たは二次元方向に配列された複数の画素を有する撮像部
と、前記撮像部に蓄積された電荷を転送するシフトパル
スを発生するシフトパルス発生手段と、前記シフトパル
スにより転送された電荷を入力し所定周期の転送クロッ
クによって順次出力するシフトレジスタと、前記転送ク
ロックを発生させる転送クロック発生手段と、前記シフ
トレジスタからの出力を受けて所定の解読処理を行う解
読処理手段と、前記解読処理を開始する画素またはライ
ンを設定する解読開始位置設定手段と、前記解読開始位
置設定手段により設定された画素またはラインに至るま
で前記シフトレジスタの転送クロックの周期を、前記解
読開始位置設定手段により設定された画素またはライン
に至った後の前記シフトレジスタの転送クロックの周期
よりも短くするように切り換える第一の転送クロック切
り換え手段とを備えたものである。In order to achieve the above object, a first optical information reading apparatus according to the present invention comprises: an image pickup section having a plurality of pixels arranged in a one-dimensional or two-dimensional direction; Shift pulse generating means for generating a shift pulse for transferring the electric charge stored in the section, a shift register for inputting the electric charge transferred by the shift pulse and sequentially outputting the electric charge in accordance with a transfer clock having a predetermined period, and generating the transfer clock. Transfer clock generating means, decoding processing means for performing a predetermined decoding process in response to an output from the shift register, decoding start position setting means for setting a pixel or line to start the decoding process, and decoding start position setting Means for setting the cycle of the transfer clock of the shift register up to the pixel or line set by the decoding means. Is obtained by a first transfer clock switching means for switching so that shorter than the period of the transfer clock of the shift register after having reached the set pixel or line by.
【0013】また、本発明の第2の光学的情報読み取り
装置は、解読開始位置設定手段は、撮像部の所定の画素
またはラインから解読を開始する画素またはラインに至
るまでの画素数またはライン数を設定するとともに、第
一の転送クロック切り換え手段は、前記所定の画素また
はラインから前記解読処理を開始する画素またはライン
に至るまでの画素数またはライン数をカウントするカウ
ント手段と、前記解読開始位置設定手段で設定された画
素数またはライン数と前記カウント手段でカウントされ
た画素数またはライン数を比較する比較手段とを備えた
ものである。Further, in the second optical information reading apparatus of the present invention, the decoding start position setting means may include the number of pixels or the number of lines from a predetermined pixel or line of the imaging section to the pixel or line at which decoding is started. And first transfer clock switching means, counting means for counting the number of pixels or lines from the predetermined pixel or line to the pixel or line to start the decoding process, and the decoding start position And a comparing means for comparing the number of pixels or lines set by the setting means with the number of pixels or lines counted by the counting means.
【0014】また、本発明の第3の光学的情報読み取り
装置は、解読処理を終了する画素またはラインを設定す
る解読終了位置設定手段を備えたものである。Further, the third optical information reading apparatus of the present invention is provided with a decoding end position setting means for setting a pixel or a line at which decoding processing is ended.
【0015】また、本発明の第4の光学的情報読み取り
装置は、解読終了位置設定手段により設定された画素ま
たはラインに至った後シフトレジスタの転送クロックの
周期を、解読終了位置設定手段により設定された画素ま
たはラインに至るまでのシフトレジスタの転送クロック
の周期よりも短くするように切り換える第二の転送クロ
ック切り換え手段を備えたものである。Also, in the fourth optical information reading apparatus of the present invention, the cycle of the transfer clock of the shift register after reaching the pixel or the line set by the decoding end position setting means is set by the decoding end position setting means. And a second transfer clock switching means for switching so as to be shorter than the cycle of the transfer clock of the shift register up to the selected pixel or line.
【0016】また、本発明の第5の光学的情報読み取り
装置は、解読終了位置設定手段は、撮像部の所定の画素
またはラインから解読を終了する画素またはラインに至
るまでの画素数またはライン数を設定するとともに、第
二の転送クロック切り換え手段は、前記所定の画素また
はラインから前記解読処理を終了する画素またはライン
に至るまでの画素数またはライン数をカウントするカウ
ント手段と、前記解読終了位置設定手段で設定された画
素数またはライン数と前記カウント手段でカウントされ
た画素数またはライン数を比較する比較手段とを備えた
ものである。In a fifth optical information reading apparatus according to the present invention, the decoding end position setting means may include a number of pixels or a number of lines from a predetermined pixel or line of the imaging section to a pixel or line to end decoding. And a second transfer clock switching means, counting means for counting the number of pixels or lines from the predetermined pixel or line to the pixel or line for which the decoding process ends, and the decoding end position And a comparing means for comparing the number of pixels or lines set by the setting means with the number of pixels or lines counted by the counting means.
【0017】また、本発明の第6の光学的情報読み取り
装置は、解読開始位置設定手段と解読終了位置設定手段
はそれぞれ複数の画素またはラインを解読開始位置およ
び解読終了位置として設定するとともに、前記解読開始
位置から前記解読終了位置の間の部分を順次解読処理す
るものである。In a sixth optical information reading apparatus according to the present invention, the decoding start position setting means and the decoding end position setting means set a plurality of pixels or lines as a decoding start position and a decoding end position, respectively. A portion between the decoding start position and the decoding end position is sequentially decoded.
【0018】また、本発明の第7の光学的情報読み取り
装置は、一次元または二次元方向に配列された複数の画
素を有する撮像部と、前記撮像部に蓄積された電荷を転
送するシフトパルスを発生するシフトパルス発生手段
と、前記シフトパルスにより転送された電荷を入力し所
定周期の転送クロックによって順次出力するシフトレジ
スタと、前記転送クロックを発生させる転送クロック発
生手段と、前記シフトレジスタからの出力を受けて所定
の解読処理を行う解読処理手段と、前記シフトレジスタ
からの出力を開始する画素またはラインを設定する出力
開始位置設定手段とを備えたものである。According to a seventh aspect of the present invention, there is provided an optical information reading apparatus, comprising: an imaging unit having a plurality of pixels arranged in one-dimensional or two-dimensional directions; and a shift pulse for transferring charges accumulated in the imaging unit. , A shift register that inputs charges transferred by the shift pulse and sequentially outputs the transfer clock according to a predetermined period of transfer clock, a transfer clock generator that generates the transfer clock, Decoding means for receiving the output and performing a predetermined decoding process; and output start position setting means for setting a pixel or a line at which output from the shift register is started.
【0019】また、本発明の第8の光学的情報読み取り
装置は、シフトレジスタからの出力を終了する画素また
はラインを設定する出力終了位置設定手段を備えたもの
である。Further, the eighth optical information reading apparatus of the present invention is provided with output end position setting means for setting a pixel or a line at which the output from the shift register ends.
【0020】また、本発明の第9の光学的情報読み取り
装置は、複数の出力開始位置を設定する出力開始位置設
定手段と複数の出力終了位置を設定する出力終了位置設
定手段とを備えたものである。A ninth optical information reading apparatus according to the present invention comprises an output start position setting means for setting a plurality of output start positions and an output end position setting means for setting a plurality of output end positions. It is.
【0021】[0021]
【発明の実施の形態】上記構成により、本発明の第1の
光学的情報読み取り装置は、解読開始位置までの転送ク
ロックの周期を解読開始位置以降より、短くすることが
でき、読み取り時間を短くすることがきる。With the above arrangement, the first optical information reading apparatus of the present invention can shorten the period of the transfer clock up to the decoding start position after the decoding start position, thereby shortening the reading time. I can do it.
【0022】また、本発明の第2の光学的情報読み取り
装置は、容易に解読開始位置を設定することができる。Further, the second optical information reading apparatus of the present invention can easily set the decoding start position.
【0023】また、本発明の第3の光学的情報読み取り
装置は、シフトレジスタからの出力が解読終了位置まで
終了したとき、CPUによる解読を開始することができ
る。Further, the third optical information reading device of the present invention can start the decoding by the CPU when the output from the shift register ends up to the decoding end position.
【0024】また、本発明の第4の光学的情報読み取り
装置は、解読終了位置以降の転送クロックの周期を短く
することができ、撮像部に蓄積された次の電荷を早く転
送することができる。Further, the fourth optical information reading apparatus of the present invention can shorten the cycle of the transfer clock after the decoding end position, and can quickly transfer the next electric charge stored in the imaging unit. .
【0025】また、本発明の第5の光学的情報読み取り
装置は、容易に解読終了位置を設定することができる。The fifth optical information reading apparatus of the present invention can easily set the decoding end position.
【0026】また、本発明の第6の光学的情報読み取り
装置は、あらかじめバーコード等が存在しそうな位置を
荒く解読していくことが高速にできる。つまり第1から
第5の光学的情報読み取り装置では、連続した画素また
はラインをメモリに取り込み解読できるが、本構成にす
ることにより、例えば二次元CCDイメージセンサを用
いた場合、画面(フレーム)の上の情報、中央の情報、
下の情報といったように広い範囲の情報を荒く高速にメ
モリに取り込むことができ、バーコード等が存在してい
そうな場所を早く見つけることができる。また必要であ
れば、存在しそうな場所の周辺の情報を第1から第5の
光学的情報読み取り装置の構成により取り込むことがで
きる。なお、読み取り対象が一次元バーコードであり、
しかも第6の光学的情報読み取り装置で最初に荒く解読
したときに解読が成功した場合は、周辺の情報を取り込
む必要がないのは言うまでもない。Further, the sixth optical information reading apparatus of the present invention can rapidly decode a position where a bar code or the like is likely to exist in advance at a high speed. In other words, in the first to fifth optical information reading devices, continuous pixels or lines can be read into the memory and decoded, but by adopting this configuration, for example, when a two-dimensional CCD image sensor is used, a screen (frame) can be read. The information above, the central information,
A wide range of information, such as the information below, can be taken into the memory roughly and at high speed, and a place where a bar code or the like is likely to exist can be quickly found. Also, if necessary, information around the likely location can be captured by the first to fifth optical information reading devices. The object to be read is a one-dimensional barcode,
Moreover, if the decoding succeeds when the first optical information reading device roughly decodes the information, it is needless to say that there is no need to take in the peripheral information.
【0027】また、本発明の第7の光学的情報読み取り
装置は、解読を開始するまでの画素またはラインまでの
電荷を転送し出力する必要がなくなり、読み取りがいっ
そう早くなる。In the seventh optical information reading apparatus according to the present invention, it is not necessary to transfer and output the electric charge up to the pixel or the line until the decoding is started, and the reading is further accelerated.
【0028】また、本発明の第8の光学的情報読み取り
装置は、解読を終了した後の画素またはラインの電荷を
転送し出力する必要がなくなり、読み取りがいっそう早
くなる。Further, in the eighth optical information reading apparatus of the present invention, there is no need to transfer and output the charge of the pixel or the line after the decoding is completed, and the reading is further accelerated.
【0029】また、本発明の第9の光学的情報読み取り
装置は、あらかじめバーコード等が存在しそうな位置を
荒く解読していくことを、第6の光学的情報読み取り装
置に比べさらに高速に行うことができる。Further, the ninth optical information reading apparatus of the present invention performs rough decoding of a position where a bar code or the like is likely to exist in advance at a higher speed than the sixth optical information reading apparatus. be able to.
【0030】以下、本発明の実施の形態について、図を
参照しながら説明する。 (実施の形態1)図1に本発明の第1の実施の形態の回
路部分のブロック図を示す。ここで従来例のブロック図
である図15と同じ部分は同じ符号を用い説明は省略す
る。Hereinafter, embodiments of the present invention will be described with reference to the drawings. (Embodiment 1) FIG. 1 shows a block diagram of a circuit portion according to a first embodiment of the present invention. Here, the same portions as those in FIG. 15 which is a block diagram of the conventional example are denoted by the same reference numerals, and description thereof will be omitted.
【0031】14は解読開始位置設定手段でレジスタで
構成され、解読を開始するラインをCPU8によって設
定する。15は第一の転送クロック切り換え手段で、カ
ウンタ(カウント手段)16と第一の比較回路(比較手
段)17から構成されている。Numeral 14 denotes a decoding start position setting means, which is constituted by a register, and sets a line to start decoding by the CPU 8. Reference numeral 15 denotes first transfer clock switching means, which comprises a counter (counting means) 16 and a first comparison circuit (comparing means) 17.
【0032】図2は本発明の第1の実施の形態における
各種信号のタイミングを示す図である。なお、本実施の
形態では解読開始位置設定手段14にてカウント値「9
9」を解読開始位置として設定している。カウンタ16
は、画面(フレーム)の始まりでもあるシフトパルスS
Pが“L”の状態でクリアされ、垂直転送クロックVで
カウントアップする。第一の比較回路17で解読開始位
置設定手段14のレジスタの値とカウンタ16の値が比
較され、一致すれば第一の比較回路17の出力信号によ
り転送クロック発生手段3の垂直転送クロックVを次の
ラインから高速クロックから低速クロックへ切り換える
(図2の(ア))。また、カウンタ16と解読開始位置
設定手段14のレジスタの値が一致した次のラインか
ら、第一の比較回路17の出力信号により、シフトレジ
スタ2の出力をADコンバータ6を経由してメモリ7に
書き込みを開始し、次のシフトパルスSPが“L”にな
ったところ(図2の(イ))でメモリ7に書き込む動作
を終了したのち、CPU8によって解読が行われる。FIG. 2 is a diagram showing timings of various signals according to the first embodiment of the present invention. In the present embodiment, the decoding start position setting means 14 sets the count value “9”.
9 "is set as the decoding start position. Counter 16
Is the shift pulse S which is also the start of the screen (frame)
P is cleared in the state of “L” and counts up by the vertical transfer clock V. The first comparison circuit 17 compares the value of the register of the decoding start position setting means 14 with the value of the counter 16. If the values match, the output signal of the first comparison circuit 17 changes the vertical transfer clock V of the transfer clock generation means 3. The high-speed clock is switched to the low-speed clock from the next line (FIG. 2A). The output of the shift register 2 is sent to the memory 7 via the AD converter 6 by the output signal of the first comparison circuit 17 from the next line where the value of the register of the counter 16 matches the value of the register of the decoding start position setting means 14. The writing is started, and when the next shift pulse SP becomes "L" ((a) in FIG. 2), the operation of writing to the memory 7 ends, and then the CPU 8 decodes the data.
【0033】なお、本実施の形態ではシフトパルスSP
が“L”になったとき(図2の(イ))、第一の比較回
路17の出力信号を“H”とし垂直転送クロックVを高
速クロックにした。また、画面(フレーム)の始まりで
もあるシフトパルスSPが“L”になったときが請求項
2の「所定の画素またはライン」に相当している。また
更に、本実施の形態では、転送クロック発生手段3は、
発振器とカウンタを組み合わせた分周器を用いた。In this embodiment, the shift pulse SP
Becomes "L" (FIG. 2A), the output signal of the first comparison circuit 17 is set to "H", and the vertical transfer clock V is set to the high-speed clock. The time when the shift pulse SP, which is also the start of the screen (frame), becomes "L" corresponds to the "predetermined pixel or line". Furthermore, in the present embodiment, the transfer clock generation means 3
A frequency divider combining an oscillator and a counter was used.
【0034】こうして、解読開始位置までの転送クロッ
クの周期を短くすることができ、転送クロックの周期を
短くした分速く1画面分の画素を出力し終える(メモリ
7への書き込みが終了する)ため、早くCPU8による
解読が開始でき、バーコード等の読み取りが速くなる。In this way, the cycle of the transfer clock up to the decoding start position can be shortened, and the output of the pixels for one screen is completed as soon as the cycle of the transfer clock is shortened (writing to the memory 7 is completed). The decoding by the CPU 8 can be started earlier, and the reading of a bar code or the like becomes faster.
【0035】具体的には一次元バーコードがほぼ水平方
向に中央付近に配置されていると仮定する。水平画素5
00画素、垂直画素500画素の25万画素の二次元C
CDイメージセンサを備えた視野が30mm×30mm
の二次元コードリーダで読み取る場合、解読開始位置設
定手段14は中央の250ライン目に設定する。従来5
00ラインのCCDイメージセンサからの出力を一度メ
モリ7に書き込む時間として33ms(NTSCに準拠
している場合)がCPU8による解読前に必要であった
のに対し、前半の250ラインは高速転送クロックでC
CDイメージセンサから出力する時間(1.8us×2
50)と、後半の250ラインをメモリ7に書き込む時
間(63.5us×250)の計16.3ms程度と、
従来の半分の時間で出力する(メモリ7に書き込む)こ
とができる。ここで低速クロックの周波数はNTSC準
拠の15.7KHz、高速クロックの周波数は、本発明
の実施の形態で用いた二次元CCDイメージセンサのシ
フトレジスタの転送可能な最大周波数である560KH
zとした。Specifically, it is assumed that the one-dimensional barcode is arranged near the center in a substantially horizontal direction. Horizontal pixel 5
250,000 pixels of 250,000 pixels of 00 pixels and 500 vertical pixels
Field of view with CD image sensor is 30mm x 30mm
In the case of reading by the two-dimensional code reader, the decoding start position setting means 14 sets the position on the 250th line at the center. Conventional 5
While 33 ms (in the case of conforming to NTSC) is required before the decoding by the CPU 8 as a time for once writing the output from the CCD image sensor of the 00 line to the memory 7, the first 250 lines are provided by the high-speed transfer clock. C
Output time from CD image sensor (1.8us × 2
50) and a time (63.5 us × 250) for writing the latter 250 lines to the memory 7 in total of about 16.3 ms,
It is possible to output (write to the memory 7) in half the time of the related art. Here, the frequency of the low-speed clock is 15.7 kHz according to NTSC, and the frequency of the high-speed clock is 560 KH, which is the maximum transferable frequency of the shift register of the two-dimensional CCD image sensor used in the embodiment of the present invention.
z.
【0036】なお、操作する者が特別に意図しない限
り、一次元バーコードを水平方向に中央付近に配置して
読み取りを試みることはよく行われることである。Unless the operator specifically intends, it is common to attempt to read by placing a one-dimensional barcode near the center in the horizontal direction.
【0037】また、既述のように、解読開始位置(画素
またはライン)での転送クロックの切り換えを、カウン
タと比較回路を用いて比較的容易に行うことができる。As described above, switching of the transfer clock at the decoding start position (pixel or line) can be performed relatively easily using the counter and the comparison circuit.
【0038】(実施の形態2)図3に本発明の第2の実
施の形態の回路部分のブロック図を示す。ここで実施の
形態1のブロック図である図1と同じ部分は同じ符号を
用い説明は省略する。またメモリ7への書き込みの開始
は、実施の形態1と同じであるので説明は省略する。(Embodiment 2) FIG. 3 is a block diagram showing a circuit portion according to a second embodiment of the present invention. Here, the same portions as those in FIG. 1 which is the block diagram of the first embodiment are denoted by the same reference numerals, and description thereof will be omitted. The start of writing to the memory 7 is the same as in the first embodiment, and a description thereof will be omitted.
【0039】19は解読終了位置設定手段でレジスタで
構成され、解読を終了するラインをCPU8によって設
定する。18は第二の比較回路で、カウンタ16の値と
解読終了位置設定手段18のレジスタの値とを比較す
る。Decoding end position setting means 19 is constituted by a register, and the CPU 8 sets a line to end decoding. A second comparison circuit 18 compares the value of the counter 16 with the value of the register of the decoding end position setting means 18.
【0040】図4は本発明の第2の実施の形態における
各種信号のタイミングを示す図である。なお、本実施の
形態では解読終了位置設定手段18にてカウント値「2
00」を解読終了位置として設定している。カウンタ1
6と解読終了位置設定手段18のレジスタの値が一致し
たラインまでメモリ7に書き込んだ後、第二の比較回路
18からの出力信号により、CPU8によって解読が行
われる(図4の(ア))。FIG. 4 is a diagram showing timings of various signals according to the second embodiment of the present invention. In the present embodiment, the decoding end position setting means 18 sets the count value to “2”.
00 ”is set as the decoding end position. Counter 1
After writing to the memory 7 up to the line where the value of the register 6 matches the value of the register of the decoding end position setting means 18, decoding is performed by the CPU 8 based on the output signal from the second comparison circuit 18 ((A) in FIG. 4). .
【0041】なお、本実施の形態2ではシフトパルスS
Pが“L”になったとき(図4の(イ))、第二の比較
回路18の出力信号を“H”とした。In the second embodiment, the shift pulse S
When P became “L” (FIG. 4A), the output signal of the second comparison circuit 18 was set to “H”.
【0042】この構成により、シフトレジスタ2からの
出力が解読終了位置まで終了したとき、CPU8による
解読が開始できるため、第1の実施の形態の構成よりさ
らに早く解読が開始でき、バーコード等の読み取りが速
くなる。特に二次元CCDイメージセンサを用いて、一
次元バーコードを読み取る場合、一次元バーコードがほ
ぼ水平方向(水平画素とほぼ平行)であれば、解読開始
位置から解読終了位置までの間隔を1ラインに設定する
ことができるため、いっそう効果的である。With this configuration, when the output from the shift register 2 ends up to the decoding end position, the decoding by the CPU 8 can be started, so that the decoding can be started earlier than in the configuration of the first embodiment, and the bar code and the like can be started. Reading speeds up. In particular, when reading a one-dimensional barcode using a two-dimensional CCD image sensor, if the one-dimensional barcode is substantially horizontal (substantially parallel to horizontal pixels), the interval between the decoding start position and the decoding end position is one line. Can be set to be more effective.
【0043】具体的に、上記第1の実施の形態に記述し
た具体例で説明を行う。一次元バーコードがほぼ水平方
向に中央付近に配置されている場合、CPU8が解読を
始めるまでに必要な時間は、前半の250ラインは高速
転送クロックでCCDイメージセンサから出力する時間
(1.8us×250)と、251ライン目をメモリに
書き込む時間(63.5us×1)の計0.5ms程度
と、従来の50分の1以下の時間で出力する(メモリ7
に書き込む)ことができる。A specific example will be described with reference to the specific example described in the first embodiment. When the one-dimensional barcode is arranged near the center in the horizontal direction, the time required for the CPU 8 to start decoding is the time required to output the first 250 lines from the CCD image sensor with the high-speed transfer clock (1.8 us). × 250) and the time required to write the 251st line to the memory (63.5 us × 1), which is about 0.5 ms in total, and is output in 1/50 or less of the conventional time (memory 7).
Can be written to).
【0044】(実施の形態3)図5に本発明の第3の実
施の形態の回路部分のブロック図を示す。ここで実施の
形態1と実施の形態2のブロック図である図1ならびに
図3と同じ部分は同じ符号を用い説明は省略する。また
メモリ7への書き込みの開始ならびに終了は、実施の形
態1と実施の形態2と同じであるので説明は省略する。(Embodiment 3) FIG. 5 is a block diagram of a circuit portion according to a third embodiment of the present invention. Here, the same portions as those in FIG. 1 and FIG. 3 which are block diagrams of Embodiment 1 and Embodiment 2 are denoted by the same reference numerals, and description thereof is omitted. The start and the end of writing to the memory 7 are the same as those in the first and second embodiments, so that the description is omitted.
【0045】20は第二の転送クロック切り換え手段
で、第三の比較回路21で構成されている。なお、第三
の比較回路21は請求項5の比較手段に相当する。Reference numeral 20 denotes a second transfer clock switching means, which comprises a third comparison circuit 21. Note that the third comparison circuit 21 corresponds to the comparison means of claim 5.
【0046】図6は本発明の第3の実施の形態における
各種信号のタイミング図である。第三の比較回路21で
解読終了位置設定手段19のレジスタの値とカウンタ1
6とを比較し、一致すれば第三の比較回路21の出力信
号により転送クロック発生手段3の垂直転送クロックV
を次のラインから低速クロックから高速クロックへ切り
換える(図6の(ア))。FIG. 6 is a timing chart of various signals according to the third embodiment of the present invention. In the third comparison circuit 21, the value of the register of the decoding end position setting means 19 and the value of the counter 1
6 and if they match, the vertical transfer clock V of the transfer clock
Is switched from the next line to the high-speed clock from the low-speed clock (FIG. 6A).
【0047】なお本実施の形態では、シフトパルスSP
が“L”になったとき、第一の比較回路17の出力信号
ならびに第三の比較回路21の出力信号を“H”とし
た。また、画面(フレーム)の始まりでもあるシフトパ
ルスSPが“L”になったときが請求項5の「所定の画
素またはライン」に相当する。なお、「所定の画素また
はライン」を解読開始位置設定手段14により設定され
た画素またはラインとしてもよい。In this embodiment, the shift pulse SP
Becomes "L", the output signal of the first comparison circuit 17 and the output signal of the third comparison circuit 21 are set to "H". Further, when the shift pulse SP, which is also the start of the screen (frame), becomes “L”, this corresponds to “a predetermined pixel or line”. The “predetermined pixel or line” may be the pixel or line set by the decoding start position setting unit 14.
【0048】この構成により、解読終了位置以降の転送
クロックの周期を短くすることができ、撮像部1に蓄積
された次の電荷を早く転送することができる。With this configuration, the cycle of the transfer clock after the decoding end position can be shortened, and the next charge accumulated in the image pickup unit 1 can be transferred quickly.
【0049】つまり早く次の情報を得ることができるよ
うになり、バーコード等の読み取りが速くなる。特に上
記実施の形態2の具体例に述べたように、一次元バーコ
ードを読む場合、最初に設定した解読開始位置から解読
終了位置までに一次元バーコードがない場合、再び解読
開始位置と解読終了位置を設定しなおして、CCDイメ
ージセンサからの出力をメモリに記憶する必要があるた
め、解読終了位置以降の出力を高速に行うことは有効で
ある。That is, the next information can be obtained quickly, so that the reading of a bar code or the like can be speeded up. In particular, as described in the specific example of the second embodiment, when reading a one-dimensional barcode, if there is no one-dimensional barcode between the first set decoding start position and the decoding end position, the decoding start position and the decoding Since it is necessary to reset the end position and store the output from the CCD image sensor in the memory, it is effective to output at high speed after the decoding end position.
【0050】以下、具体的に上記第2の実施の形態に記
述した具体例で説明を行う。ただし、一次元バーコード
が400ライン付近に配置されているとする。CPU8
が最初に解読を始めるまでに必要な時間は、上記第2の
実施の形態に記記述したように、前半の250ラインは
高速転送クロックでCCDイメージセンサから出力する
時間(1.8us×250)と、251ライン目をメモ
リに書き込む時間(63.5us×1)の計0.5ms程
度と、従来の50分の1以下の時間で出力する(メモリ
に書き込む)ことができるが、一次元バーコードが中央
付近に配置されていないので、再び解読開始位置と解読
終了位置を設定しなおす必要がある。第二の転送クロッ
ク切り換え手段20がない場合、CCDイメージセンサ
から全画素を出力するのに要する時間は、前半の250
ラインは高速転送クロックでCCDイメージセンサから
出力する時間(1.8us×250)と、251ライン
目をメモリに書き込む時間(63.5us×1)と25
2ライン目から500ライン目までを出力する時間(6
3.5×249)の計16.3msに加え、再び解読開始
位置と解読終了位置を設定しなおし、400ラインは高
速転送クロックでCCDイメージセンサから出力する時
間(1.8us×400)と、401ライン目をメモリ
に書き込む時間(63.5us×1)の計0.8msの合
計17.1ms必要であるが、第二の転送クロック切り
換え手段20を用いると、再び解読開始位置と解読終了
位置を設定しなおした後の、252ライン目から500
ライン目までを出力するのは高速転送クロックとなり時
間は(1.8×249)となり合計計1.7ms程度と第二
の転送クロック切り換え手段20を用いない場合に比
べ、約10分の1の時間でメモリへの書き込みができ、
バーコードの読み取りが速くなる。Hereinafter, a specific example described in the second embodiment will be described. However, it is assumed that the one-dimensional barcode is arranged near 400 lines. CPU8
As described in the above-described second embodiment, the time required until the first decoding starts is the time required for outputting the first 250 lines from the CCD image sensor with the high-speed transfer clock (1.8 us × 250). And the time required to write the 251st line to the memory (63.5 us × 1) is about 0.5 ms in total, and can be output (written to the memory) in 1/50 or less of the conventional time. Since the code is not located near the center, the decoding start position and the decoding end position need to be set again. If the second transfer clock switching means 20 is not provided, the time required to output all pixels from the CCD image sensor is 250
The line has a time of outputting from the CCD image sensor with the high-speed transfer clock (1.8 us × 250) and a time of writing the 251st line into the memory (63.5 us × 1) and 25 lines.
Output time from the second line to the 500th line (6
In addition to the total of 16.3 ms of 3.5 × 249), the decoding start position and the decoding end position are set again, and 400 lines are output from the CCD image sensor with a high-speed transfer clock (1.8 μs × 400). The time required to write the 401st line into the memory (63.5 us × 1) requires a total of 0.8 ms, which is 17.1 ms in total. However, if the second transfer clock switching means 20 is used, the decoding start position and the decoding end position are again required. From the 252nd line after resetting
The output up to the line is a high-speed transfer clock and the time is (1.8 × 249), which is about 1.7 ms in total, which is about 1/10 of the case where the second transfer clock switching means 20 is not used. You can write to memory in time,
Barcode reading speeds up.
【0051】(実施の形態4)図7に本発明の第4の実
施の形態の回路部分のブロック図を示す。ここで実施の
形態1から実施の形態3のブロック図である図1、図3
ならびに図5と同じ部分は同じ符号を用い説明は省略す
る。またメモリ7への書き込みの開始ならびに終了は、
実施の形態1と実施の形態2と同じであり、垂直転送ブ
ロックVの切り換えは、実施の形態1と実施の形態3と
同じであり、説明は省略する。(Embodiment 4) FIG. 7 is a block diagram of a circuit portion according to a fourth embodiment of the present invention. 1 and 3 which are block diagrams of Embodiments 1 to 3.
In addition, the same parts as those in FIG. The start and end of writing to the memory 7 are as follows.
This is the same as in the first and second embodiments, and the switching of the vertical transfer block V is the same as in the first and third embodiments, and the description is omitted.
【0052】本実施の形態では、解読開始位置設定手段
を2個用い、第1の解読開始位置設定手段14aと第2
の解読開始位置設定手段14bとする。さらに解読終了
位置設定手段も2個用い、第1の解読終了位置設定手段
19aと第2の解読終了位置設定手段19bとする。In this embodiment, two decoding start position setting means are used, and the first decoding start position setting means 14a and the second decoding start position setting means 14a are used.
The decryption start position setting means 14b. Furthermore, two decryption end position setting means are used, and the first decryption end position setting means 19a and the second decryption end position setting means 19b are used.
【0053】図8は本発明の第4の実施の形態における
タイミング図である。なお、本実施の形態では第1の解
読開始位置設定手段14aによりカウント値「99」を
解読開始位置と設定し、終了位置設定手段19aにより
カウント値「101」を解読終了位置と設定した。ま
た、第2の解読開始位置設定手段14bによりカウント
値「198」を解読開始位置と設定し、第2の解読終了
位置設定手段19bによりカウント値「200」を解読
終了位置として設定した。FIG. 8 is a timing chart according to the fourth embodiment of the present invention. In this embodiment, the count value "99" is set as the decoding start position by the first decoding start position setting means 14a, and the count value "101" is set as the decoding end position by the end position setting means 19a. Further, the count value "198" was set as the decoding start position by the second decoding start position setting means 14b, and the count value "200" was set as the decoding end position by the second decoding end position setting means 19b.
【0054】第一の比較回路17で第1の解読開始位置
設定手段14aのレジスタの値とカウンタ16とを比較
し、一致すれば第一の比較回路17の出力信号により転
送クロック発生手段3の垂直転送クロックVを次のライ
ンから高速クロックから低速クロックへ切り換える(図
8の(ア))。次に第三の比較回路21で第1の解読終
了位置設定手段19aのレジスタの値とカウンタ16と
を比較し、一致すれば第三の比較回路21の出力信号に
より転送クロック発生手段3の垂直転送クロックVを次
のラインから低速クロックから高速クロックへ切り換え
る。このとき第一の比較回路17の出力信号を“H”に
戻すとともにCPU8は、解読処理を行うことができる
(図8の(イ))。The first comparison circuit 17 compares the value of the register of the first decoding start position setting means 14a with the counter 16 and, if they match, outputs the signal of the transfer clock generation means 3 by the output signal of the first comparison circuit 17. The vertical transfer clock V is switched from the next line from the high-speed clock to the low-speed clock (FIG. 8A). Next, the third comparison circuit 21 compares the value of the register of the first decoding end position setting means 19a with the counter 16, and if the values match, the output signal of the third comparison circuit 21 outputs the vertical signal of the transfer clock generation means 3 to the vertical. The transfer clock V is switched from the next line to the high-speed clock from the low-speed clock. At this time, the output signal of the first comparison circuit 17 is returned to “H”, and the CPU 8 can perform the decoding process ((A) in FIG. 8).
【0055】次に第一の比較回路17で第2の解読開始
位置設定手段14bのレジスタの値とカウンタ16とを
比較し、一致すれば第一の比較回路17の出力信号によ
り転送クロック発生手段3の垂直転送クロックVを次の
ラインから高速クロックから低速クロックへ切り換え
る。このとき第三の比較回路21の出力信号を“H”に
戻す(図8の(ウ))。Next, the first comparison circuit 17 compares the value of the register of the second decoding start position setting means 14b with the counter 16, and if they match, the output signal of the first comparison circuit 17 transfers the transfer clock generation means. 3, the vertical transfer clock V is switched from the next line to the high speed clock to the low speed clock. At this time, the output signal of the third comparison circuit 21 is returned to "H" ((c) in FIG. 8).
【0056】さらに第三の比較回路21で第2の解読終
了位置設定手段19bのレジスタの値とカウンタ16と
を比較し、一致すれば第三の比較回路21の出力信号に
より転送クロック発生手段3の垂直転送クロックVを次
のラインから低速クロックから高速クロックへ切り換え
る。このとき第一の比較回路17の出力信号を“H”に
戻すとともにCPU8は、解読処理を行う(図8の
(エ))。Further, the third comparison circuit 21 compares the value of the register of the second decoding end position setting means 19b with the counter 16, and if they match, the transfer clock generation means 3 uses the output signal of the third comparison circuit 21. Is switched from the low-speed clock to the high-speed clock from the next line. At this time, the output signal of the first comparison circuit 17 is returned to “H”, and the CPU 8 performs a decoding process ((D) in FIG. 8).
【0057】なお、図8の(イ)の時点でCPU8によ
る解読をおこなっても、図8の(エ)の時点で、まとめ
てメモリ7に記憶されている内容に基づいてCPU8に
よる解読を行っても構わない。また第一の比較回路17
は、入力を第1の解読開始位置設定手段14aと第2の
解読開始位置設定手段14bとに切り換えて使用した
が、第一の比較回路17を2個用いても構わない。同様
に第三の比較回路も2個用いても構わない。It should be noted that even if the decoding is performed by the CPU 8 at the time of FIG. 8A, the decoding by the CPU 8 is performed at the time of FIG. It does not matter. Also, the first comparison circuit 17
The input is switched between the first decoding start position setting means 14a and the second decoding start position setting means 14b, but two first comparison circuits 17 may be used. Similarly, two third comparison circuits may be used.
【0058】また、この構成により、解読終了位置での
転送クロックの切り換えを、カウンタ16と比較回路2
1を用いて容易に行うことができる。Further, with this configuration, switching of the transfer clock at the decoding end position is performed by the counter 16 and the comparison circuit 2.
1 can be easily performed.
【0059】さらに、あらかじめバーコード等が存在し
そうな位置を荒く解読していくことが高速にできる。つ
まり第1から第3実施の形態の構成では、連続した画素
またはラインをメモリ7に取り込み解読できるが本構成
にすることにより、例えば二次元CCDイメージセンサ
を用いた場合、画面(フレーム)の上の情報、中央の情
報、下の情報といったように広い範囲の情報を荒く高速
にメモリに取り込むことによりバーコード等が存在して
いそうな場所を速く見つけることができる。そして必要
であれば、存在しそうな場所の周辺の情報を第1から第
3の実施の形態の構成により改めて取り込むことにより
バーコード等の読み取りが速くなる。なお、読み取り対
象が一次元バーコードであり、しかも荒く解読したとき
に解読成功した場合は、周辺の情報を取り込む必要がな
いのは言うまでもない。Further, the position where a bar code or the like is likely to exist can be roughly decoded at a high speed. In other words, in the configurations of the first to third embodiments, continuous pixels or lines can be taken into the memory 7 and decoded, but by adopting this configuration, for example, when a two-dimensional CCD image sensor is used, the image (frame) can be displayed on the screen (frame). By fetching a wide range of information, such as the information at the center, the information at the center, and the information at the bottom, into the memory at a high speed, it is possible to quickly find a place where a barcode or the like is likely to exist. Then, if necessary, the information of the area around the place that is likely to be present is newly taken in by the configuration of the first to third embodiments, so that the reading of the barcode or the like can be speeded up. When the reading target is a one-dimensional barcode and the decoding is successful when the decoding is performed roughly, it is needless to say that there is no need to take in the peripheral information.
【0060】具体的には一次元バーコードがほぼ水平方
向に配置されていると仮定すると、視野が30mm×3
0mmの二次元コードリーダで一次元バーコードを読み
取る場合、一般に一次元バーコードの高さ(垂直画素に
対応する方向)はほとんど5mm以上あるので、解読開
始位置から解読終了位置までの間隔を1ラインに設定
し、等間隔に6ライン分の設定をすれば、視野の中のど
の位置にバーコードがあっても読み取りが可能となる。
つまり従来25万画素の二次元CCDイメージセンサを
用いていた場合、約500ラインのCCDイメージセン
サからの出力を一度メモリ7に書き込む時間33ms
(NTSCに準拠している場合)がCPU8による解読
前に必要であったのに対し、6ラインのCCDイメージ
センサからの出力を一度メモリ7に書き込む時間(6
3.5us×6)とその他の約494ラインを高速に出
力する時間(1.8us×494)の計1.3ms程度と
従来の25分の1の時間でメモリに書き込むことができ
る。さらに第3の実施の形態で述べた具体例の結果より
速くメモリに書き込むことができる。つまり一度の解読
開始位置設定ならびに解読終了位置設定で解読成功しな
い場合、上記本実施の形態の構成は、いっそう効果的で
ある。Specifically, assuming that one-dimensional barcodes are arranged in a substantially horizontal direction, the visual field is 30 mm × 3.
When a one-dimensional barcode is read by a two-dimensional code reader of 0 mm, the height of the one-dimensional barcode (in the direction corresponding to the vertical pixel) is almost 5 mm or more. If a line is set and six lines are set at equal intervals, it becomes possible to read the bar code at any position in the field of view.
That is, in the case where a conventional 250,000-pixel two-dimensional CCD image sensor is used, it takes 33 ms to write the output from the CCD image sensor of about 500 lines to the memory 7 once.
While (in the case of conformity with NTSC) was required before decoding by the CPU 8, the time for writing the output from the 6-line CCD image sensor to the memory 7 once (6
It is possible to write data into the memory in a total time of about 3.5 ms (3.5 μs × 6) and other high-speed output of about 494 lines (1.8 μs × 494), which is 1/25 of the conventional time. Furthermore, the data can be written to the memory faster than the result of the specific example described in the third embodiment. In other words, when the decoding is not successfully completed by setting the decoding start position and the decoding end position at one time, the configuration of the present embodiment is more effective.
【0061】(実施の形態5)図9に本発明の第5の実
施の形態の回路部分のブロック図を示す。ここで従来例
のブロック図である図14と同じ部分は同じ符号を用い
説明は省略する。(Embodiment 5) FIG. 9 is a block diagram showing a circuit portion according to a fifth embodiment of the present invention. Here, the same portions as those in FIG. 14 which is a block diagram of the conventional example are denoted by the same reference numerals, and description thereof will be omitted.
【0062】22は出力開始位置設定手段で出力開始用
レジスタとスイッチとで構成され、フォトセンサ12か
ら垂直シフトレジスタ10へ電荷を転送し水平シフトレ
ジスタ11から出力を開始するラインをCPU8によっ
て設定する。Reference numeral 22 denotes an output start position setting means, which is composed of an output start register and a switch. The CPU 8 sets a line for transferring charges from the photosensor 12 to the vertical shift register 10 and starting output from the horizontal shift register 11. .
【0063】図10に本実施の形態の二次元CCDイメ
ージセンサの構成の一部を示す。垂直シフトレジスタ1
0は、約500個の内の1つで水平シフトレジスタ寄り
(画面最初)の5ライン分を図示した。12aは一ライ
ン目のフォトセンサのうちの一つ、10aは従来一ライ
ン目の画素の電荷をシフトパルスSPにより転送してい
たシフトレジスタの一つを示す。つまり10aの次に電
荷が転送されるのが水平シフトレジスタである。従来は
図15に示すようにフォトセンサ12に蓄積された電荷
を隣に配置した垂直シフトレジスタ10に直接転送して
いたが、本実施の形態ではスイッチSn(nは1から全
垂直画素数まで)を経由して垂直シフトレジスタ10に
転送する。FIG. 10 shows a part of the configuration of the two-dimensional CCD image sensor of the present embodiment. Vertical shift register 1
0 indicates one of about 500 lines for 5 lines closer to the horizontal shift register (first of the screen). Reference numeral 12a denotes one of the photosensors on the first line, and reference numeral 10a denotes one of the shift registers which conventionally transfer the charge of the pixels on the first line by the shift pulse SP. That is, the horizontal shift register transfers charges after 10a. Conventionally, as shown in FIG. 15, the charge accumulated in the photosensor 12 is directly transferred to the vertical shift register 10 disposed next to the switch. In the present embodiment, the switch Sn (n is 1 to the total number of vertical pixels) ) To the vertical shift register 10.
【0064】どのスイッチを経由するかは、CPU8に
よって設定された出力開始用レジスタ(図示せず)によ
り決められる。たとえば2ライン目の画素12bの電荷
から出力を開始しようとした場合、スイッチS2を全て
ONするように出力開始レジスタを設定する。設定によ
り12eに蓄積された電荷はシフトパルスSPにより1
0dへ転送され、12dは10cへ、12cは10b
へ、12bは10aへと転送され最初の出力が2ライン
目となり、無駄な出力に費やす時間が省かれる。一般に
は、aライン目を出力しようとした場合、スイッチSn
(n=a)をONするように構成した。Which switch to pass through is determined by an output start register (not shown) set by the CPU 8. For example, when an output is to be started from the charge of the pixel 12b on the second line, the output start register is set so that all the switches S2 are turned ON. The electric charge accumulated in 12e by setting becomes 1 by the shift pulse SP.
Transferred to 0d, 12d to 10c, 12c to 10b
, 12b is transferred to 10a, and the first output becomes the second line, so that the time spent on useless output is omitted. Generally, when trying to output the a-th line, the switch Sn
(N = a) is turned on.
【0065】この構成により、解読を開始するまでの画
素またはラインまでの電荷を転送し出力する必要がなく
なり、メモリ8に書き込む時間は後半の250ライン分
の(63.5us×250)約15.9msと第1の実
施の形態の構成より早く解読が開始でき、バーコードな
どの読み取りが速くなる。With this configuration, it is not necessary to transfer and output the charge up to the pixel or the line until the decoding is started, and the time for writing to the memory 8 is about 15.2 (250 × 250) for the latter 250 lines. Decoding can be started at 9 ms earlier than in the configuration of the first embodiment, and reading of a barcode or the like is faster.
【0066】(実施の形態6)図11に本発明の第6の
実施の形態の回路部分のブロック図を示す。ここで実施
の形態5のブロック図である図9と同じ部分は同じ符号
を用い説明は省略する。(Embodiment 6) FIG. 11 is a block diagram of a circuit portion according to a sixth embodiment of the present invention. Here, the same portions as those in FIG. 9 which is the block diagram of the fifth embodiment are denoted by the same reference numerals, and description thereof is omitted.
【0067】23は出力終了位置設定手段で出力終了用
レジスタとスイッチとで構成され、フォトセンサ12か
ら垂直シフトレジスタ10へ電荷を転送し水平シフトレ
ジスタ11から出力を終了するラインをCPU8によっ
て設定する。Reference numeral 23 denotes an output end position setting means, which is composed of an output end register and a switch. The CPU 8 sets a line for transferring charges from the photosensor 12 to the vertical shift register 10 and terminating the output from the horizontal shift register 11 by the CPU 8. .
【0068】図12に本実施の形態の二次元CCDイメ
ージセンサの構成の一部を示す。ここで実施の形態5の
二次元CCDイメージセンサの構成である図10と同じ
部分は同じ符号を用いて説明は省略する。FIG. 12 shows a part of the configuration of the two-dimensional CCD image sensor of the present embodiment. Here, the same parts as those in FIG. 10 which are the configuration of the two-dimensional CCD image sensor according to the fifth embodiment are denoted by the same reference numerals, and description thereof is omitted.
【0069】本実施の形態では、フォトセンサ12に蓄
積された電荷をスイッチSnm(n、mはともに1から
全垂直画素数まで)を経由して垂直シフトレジスタ10
に転送する。どのスイッチを経由するかは、CPU8に
よって設定された出力開始設定用レジスタ(図示せず)
と出力終了用レジスタ(図示せず)により決められる。
たとえば2ライン目の画素12bの電荷から4ライン目
の画素12dの電荷まで出力しようとした場合、スイッ
チS22、S23、S24をONするように出力開始レ
ジスタならびに出力終了レジスタを設定する。設定によ
り12dに蓄積された電荷はシフトパルスSPにより1
0cへ、12cは10bへ、12bは10aへと転送さ
れ最初の出力が2ライン目となり最後の出力が4ライン
目となる。一般には、aライン目からbライン目までを
出力しようとした場合、スイッチSnm(n=a、a≦
m≦b)をONするように構成した。In the present embodiment, the electric charge accumulated in the photo sensor 12 is transferred to the vertical shift register 10 via the switch Snm (n and m are both from 1 to the total number of vertical pixels).
Transfer to Which switch to go through is determined by an output start setting register (not shown) set by the CPU 8.
And an output end register (not shown).
For example, when an attempt is made to output from the charge of the pixel 12b on the second line to the charge of the pixel 12d on the fourth line, the output start register and the output end register are set so that the switches S22, S23, and S24 are turned on. The electric charge accumulated in 12d by setting becomes 1 by the shift pulse SP.
To 0c, 12c to 10b, and 12b to 10a, the first output is the second line and the last output is the fourth line. Generally, when trying to output from the a-th line to the b-th line, the switch Snm (n = a, a ≦
m ≦ b) is turned on.
【0070】この構成により、解読を終了した後の画素
またはラインの電荷を転送し出力する必要がなくなり、
実施の形態2の構成に比べ撮像部1に蓄積された次の電
荷を早く出力することができる。つまり次の情報を速く
得ることができ、バーコード等の読み取りが速くなる。With this configuration, there is no need to transfer and output the charge of the pixel or line after the decoding is completed.
The next charge stored in the imaging unit 1 can be output earlier than in the configuration of the second embodiment. That is, the next information can be obtained quickly, and the reading of a barcode or the like can be speeded up.
【0071】具体的に、上記実施の形態2に記述した具
体例で説明を行う。出力終了位置設定手段23を用いな
い場合、出力するのに要する時間は、251ライン目を
メモリに書き込む時間(63.5us×1)と252ラ
イン目から500ライン目までを出力する時間(1.8
us×249 但し高速転送クロックを用いた場合)の
計0.51ms程度に加え、401ライン目をメモリに
書き込む時間(63.5us×1)の合計0.58ms
必要である。出力終了位置設定手段23を用い、設定さ
れた終了位置以降のラインを出力しないようにすると、
252ライン目から500ライン目までを出力する時間
(1.8us×249)が省かれるので、127usで
メモリへの書き込みができ、さらに高速にバーコードの
読み取りが可能となる。A specific example will be described with reference to the specific example described in the second embodiment. When the output end position setting means 23 is not used, the time required for output is the time for writing the 251st line to the memory (63.5 us × 1) and the time for outputting the 252nd line to the 500th line (1. 8
us × 249 (when a high-speed transfer clock is used), in addition to a total of about 0.51 ms, and a total time of writing the 401st line to the memory (63.5 us × 1), that is, a total of 0.58 ms.
is necessary. If the output end position setting means 23 is used so as not to output the lines after the set end position,
Since the time for outputting the 252nd line to the 500th line (1.8 μs × 249) is omitted, writing to the memory can be performed in 127 μs, and the barcode can be read at a higher speed.
【0072】(実施の形態7)図13に本発明の第7の
実施の形態の回路部分のブロック図を示す。ここで実施
の形態6のブロック図である図11と同じ部分は同じ符
号を用い説明は省略する。(Embodiment 7) FIG. 13 is a block diagram of a circuit portion according to a seventh embodiment of the present invention. Here, the same portions as those in FIG. 11 which is the block diagram of the sixth embodiment are denoted by the same reference numerals, and description thereof is omitted.
【0073】22(a)は第1の出力開始位置設定手段
で、22(b)は第2の出力開始位置設定手段で、第1
の出力開始用レジスタと第2の出力開始用レジスタとス
イッチとで構成され、フォトセンサ12から垂直シフト
レジスタ10へ電荷を転送し水平シフトレジスタ11か
ら出力を開始するラインをCPU8によって設定する。22 (a) is a first output start position setting means, and 22 (b) is a second output start position setting means.
The CPU 8 sets a line for transferring charges from the photosensor 12 to the vertical shift register 10 and starting output from the horizontal shift register 11, which is composed of an output start register, a second output start register, and a switch.
【0074】23(a)は第1の出力終了位置設定手段
で、23(b)は第2の出力終了位置設定手段で、第1
の出力終了用レジスタと第2の出力終了用レジスタとス
イッチとで構成され、フォトセンサ12から垂直シフト
レジスタ10へ電荷を転送し水平シフトレジスタ11か
ら出力を終了するラインをCPU8によって設定する。23 (a) is first output end position setting means, and 23 (b) is second output end position setting means.
The CPU 8 sets a line for transferring charges from the photosensor 12 to the vertical shift register 10 and terminating the output from the horizontal shift register 11, which is composed of an output end register, a second output end register, and a switch.
【0075】本実施の形態の二次元CCDイメージセン
サの構成の一部を、実施の形態6で使用した図12を再
び用いて説明する。たとえば1ライン目から2ライン
目、つづいて4ライン目から5ライン目と出力しようと
した場合、スイッチS11、S12、S24、S25を
ONするように第1の出力開始レジスタと第2の出力開
始レジスタならびに第1の出力終了レジスタと第2の出
力終了レジスタを設定する。設定により12eに蓄積さ
れた電荷はシフトパルスSPにより10dへ、12dは
10cへ、12bは10bへ、12aは10aへと転送
され、最初の出力が1ライン目となり、つづいて2ライ
ン目、4ライン目、そして最後の出力が5ライン目とな
る。一般には、aライン目からbライン目まで、つづい
てcライン目からdライン目までを出力しようとした場
合、スイッチSnm(n=a、a≦m≦b)とSij
(i=c−b、c≦j≦d)をONするように構成し
た。A part of the configuration of the two-dimensional CCD image sensor according to the present embodiment will be described again with reference to FIG. 12 used in the sixth embodiment. For example, when an attempt is made to output the first line to the second line, and subsequently to the fourth line to the fifth line, the first output start register and the second output start are set so that the switches S11, S12, S24 and S25 are turned on. A register and a first output end register and a second output end register are set. The charge accumulated in 12e by setting is transferred to 10d, 12d to 10c, 12b to 10b, and 12a to 10a by the shift pulse SP, and the first output becomes the first line, and then the second line, 4th The line and the last output are the fifth line. In general, when an attempt is made to output from the a-th line to the b-th line, and subsequently from the c-th line to the d-th line, the switches Snm (n = a, a ≦ m ≦ b) and Sij
(I = c−b, c ≦ j ≦ d).
【0076】この構成により、あらかじめバーコード等
が存在しそうな位置を荒く解読していくことが第4の実
施の形態の構成より高速にでき、バーコード等の読み取
りがさらに速くなる。第4の実施の形態で述べた具体例
の場合、6ラインのCCDイメージセンサからの出力を
一度メモリ7に書き込む時間は、本実施の形態の構成に
より380us(63.5us×6)でよくなる。With this configuration, it is possible to roughly decode a position where a barcode or the like is likely to exist in advance at a higher speed than in the configuration of the fourth embodiment, and the reading of a barcode or the like is further accelerated. In the case of the specific example described in the fourth embodiment, the time for once writing the output from the 6-line CCD image sensor to the memory 7 can be 380 us (63.5 us × 6) by the configuration of the present embodiment.
【0077】以上、特に二次元CCDイメージセンサを
使用して一次元バーコードを読み取る場合の効果を具体
的に述べたが、二次元CCDイメージセンサを使用して
二次元コードや数字や文字を含む情報を読む場合におい
ても、一次元CCDイメージセンサを使用して一次元バ
ーコードを読む場合においても、あらかじめ荒くCCD
イメージセンサからの出力をメモリ等に記憶し解読し、
バーコード等の情報がありそうな位置の周辺のみを再度
詳しくメモリ7に記憶することにより、メモリ7への書
き込み時間の短縮が図れる。The effect of reading a one-dimensional bar code using a two-dimensional CCD image sensor has been specifically described above. Whether reading information or reading a one-dimensional barcode using a one-dimensional CCD image sensor, the CCD must be roughly
The output from the image sensor is stored in a memory or the like and decoded,
By storing only the vicinity of the position where the information such as the bar code is likely to be stored in the memory 7 in detail again, the writing time to the memory 7 can be reduced.
【0078】これについて図14(a)(b)(c)を
用いて説明をおこなう。従来大きな二次元コードでも小
さな二次元コードでも、一次元バーコードでも、CCD
イメージセンサから図14(a)(b)(c)のAライ
ン分(全ライン)出力しメモリ7に取り込む必要があっ
たが、最初に荒くメモリ7に取り込んだ内容に基づい
て、次に大きな二次元コード(図14(a))ではBラ
イン分を取り込み、小さな二次元コード(図14
(b))ではCライン分の取り込みだけでよくなる。さ
らに一次元バーコードでは、ほとんどの場合中央部に示
す一ライン分の取り込みで済み、また、悪くても実施の
形態4で述べた具体例の場合6ライン分の取り込みで済
み書き込み時間の大幅な短縮が図れる。This will be described with reference to FIGS. 14 (a), 14 (b) and 14 (c). Conventionally, large 2D code, small 2D code, 1D barcode, CCD
Although it was necessary to output the A line (all lines) shown in FIGS. 14A, 14B and 14C from the image sensor and store it in the memory 7, the next larger data was stored based on the contents roughly stored in the memory 7. In the two-dimensional code (FIG. 14A), B lines are fetched and a small two-dimensional code (FIG.
In (b)), it is sufficient only to take in C lines. Further, in the case of a one-dimensional barcode, in most cases, only one line shown in the center portion has to be captured, and in the worst case, in the specific example described in the fourth embodiment, only six lines have been captured. It can be shortened.
【0079】特に近年二次元コードリーダには、高密度
(高画素)CCDイメージセンサが用いられることが多
くなってきているので、いっそう効果的である。なぜな
ら、例えば25万画素CCDイメージセンサを使用した
場合、図14(b)の例では、従来A=500ライン取
り込む必要があったが、本発明でB=50ラインの取り
込みでよくなったとする。一方100万画素CCDイメ
ージセンサを使用した場合、従来A=1000ライン取
り込む必要があったが、本発明でB=100ラインの取
り込みでよくなる。どちらも10倍の改善であるが、た
とえば一ラインの出力に0.1ms必要であれば、25
万画素CCDイメージセンサを用いた場合50msが5
msへと45msの改善に対し、100万画素CCDイ
メージセンサを用いた場合100msが10msへと9
0msの改善となり、25万画素CCDイメージセンサ
を用いたときに比べ、100万画素CCDイメージセン
サを用いた場合、2倍の時間短縮される。In particular, in recent years, a high-density (high-pixel) CCD image sensor has often been used in a two-dimensional code reader, so that it is more effective. This is because, for example, when a 250,000 pixel CCD image sensor is used, in the example of FIG. 14B, it has conventionally been necessary to capture A = 500 lines, but it is assumed that B = 50 lines can be acquired in the present invention. On the other hand, when a 1 million pixel CCD image sensor is used, it has conventionally been necessary to capture A = 1000 lines, but in the present invention, it is sufficient to capture B = 100 lines. In both cases, the improvement is 10 times. For example, if the output of one line requires 0.1 ms,
When using a 10,000 pixel CCD image sensor, 50ms is 5
In comparison with the improvement of 45 ms to 100 ms, 100 ms is 9 ms to 10 ms when using a 1 million pixel CCD image sensor.
This is an improvement of 0 ms, which is twice as long when using a 1,000,000 pixel CCD image sensor than when using a 250,000 pixel CCD image sensor.
【0080】このように、本発明により、ある設定した
位置で転送クロックの周期を切り換えることや、CCD
イメージセンサから出力する範囲を設定できることによ
り、高速なバーコードの有無やバーコードの位置検出セ
ンサとして使用できる。As described above, according to the present invention, the cycle of the transfer clock can be switched at a certain set position,
Since the range to be output from the image sensor can be set, it can be used as a high-speed bar code presence / absence or bar code position detection sensor.
【0081】なお、上記各実施の形態では、主に効果が
特に大きい二次元CCDイメージセンサを用いて説明し
たが、CCDイメージセンサは二次元CCDイメージセ
ンサに限らず、一次元CCDイメージセンサであっても
本発明を適用して読み取りが速くなることは言うまでも
ない。In the above embodiments, a two-dimensional CCD image sensor having a particularly large effect has been mainly described. However, the CCD image sensor is not limited to a two-dimensional CCD image sensor, but may be a one-dimensional CCD image sensor. However, it goes without saying that the reading speed is increased by applying the present invention.
【0082】[0082]
【発明の効果】以上の説明から明らかなように、本発明
の第1の光学的情報読み取り装置は、解読開始位置まで
の転送クロックの周期を解読開始位置以降より、短くす
ることができ、読み取り時間を短くすることがきる。As is apparent from the above description, the first optical information reading apparatus according to the present invention can shorten the period of the transfer clock up to the decoding start position from the position after the decoding start position. Time can be shortened.
【0083】また、本発明の第2の光学的情報読み取り
装置は、容易に解読開始位置を設定することができる。Further, the second optical information reading apparatus of the present invention can easily set the decoding start position.
【0084】また、本発明の第3の光学的情報読み取り
装置は、シフトレジスタからの出力が解読終了位置まで
終了したとき、CPUによる解読を開始することができ
る。Further, the third optical information reading apparatus of the present invention can start decoding by the CPU when the output from the shift register ends up to the decoding end position.
【0085】また、本発明の第4の光学的情報読み取り
装置は、解読終了位置以降の転送クロックの周期を短く
することができ、撮像部に蓄積された次の電荷を早く転
送することができる。Further, the fourth optical information reading apparatus of the present invention can shorten the cycle of the transfer clock after the decoding end position, and can transfer the next electric charge stored in the image pickup section quickly. .
【0086】また、本発明の第5の光学的情報読み取り
装置は、容易に解読終了位置を設定することができる。The fifth optical information reading apparatus of the present invention can easily set the decoding end position.
【0087】また、本発明の第6の光学的情報読み取り
装置は、あらかじめバーコード等が存在しそうな位置を
荒く解読していくことが高速にできる。つまり第1から
第5の光学的情報読み取り装置では、連続した画素また
はラインをメモリに取り込み解読できるが、本構成にす
ることにより、例えば二次元CCDイメージセンサを用
いた場合、画面(フレーム)の上の情報、中央の情報、
下の情報といったように広い範囲の情報を荒く高速にメ
モリに取り込むことができ、バーコード等が存在してい
そうな場所を早く見つけることができる。また必要であ
れば、存在しそうな場所の周辺の情報を第1から第5の
光学的情報読み取り装置の構成により取り込むことがで
きる。なお、読み取り対象が一次元バーコードであり、
しかも第6の光学的情報読み取り装置で最初に荒く解読
したときに解読が成功した場合は、周辺の情報を取り込
む必要がないのは言うまでもない。Further, the sixth optical information reading apparatus of the present invention can roughly decode a position where a bar code or the like is likely to exist in advance at a high speed. In other words, in the first to fifth optical information reading devices, continuous pixels or lines can be read into the memory and decoded, but by adopting this configuration, for example, when a two-dimensional CCD image sensor is used, a screen (frame) can be read. The information above, the central information,
A wide range of information, such as the information below, can be taken into the memory roughly and at high speed, and a place where a bar code or the like is likely to exist can be quickly found. Also, if necessary, information around the likely location can be captured by the first to fifth optical information reading devices. The object to be read is a one-dimensional barcode,
Moreover, if the decoding succeeds when the first optical information reading device roughly decodes the information, it is needless to say that there is no need to take in the peripheral information.
【0088】また、本発明の第7の光学的情報読み取り
装置は、解読を開始するまでの画素またはラインまでの
電荷を転送し出力する必要がなくなり、読み取りがいっ
そう早くなる。In the seventh optical information reading apparatus of the present invention, there is no need to transfer and output the electric charge up to the pixel or the line until the decoding is started, and the reading is further accelerated.
【0089】また、本発明の第8の光学的情報読み取り
装置は、解読を終了した後の画素またはラインの電荷を
転送し出力する必要がなくなり、読み取りがいっそう早
くなる。Further, in the eighth optical information reading apparatus of the present invention, it is not necessary to transfer and output the electric charge of the pixel or the line after the decoding is completed, and the reading is further accelerated.
【0090】また、本発明の第9の光学的情報読み取り
装置は、あらかじめバーコード等が存在しそうな位置を
荒く解読していくことを、第6の光学的情報読み取り装
置に比べさらに高速に行うことができる。Further, the ninth optical information reading apparatus of the present invention performs rough decoding of a position where a bar code or the like is likely to exist in advance at a higher speed than the sixth optical information reading apparatus. be able to.
【図1】本発明の第1の実施の形態における光学的情報
読み取り装置の回路部分のブロック図FIG. 1 is a block diagram of a circuit portion of an optical information reading device according to a first embodiment of the present invention.
【図2】本発明の第1の実施の形態における光学的情報
読み取り装置の各種信号のタイミングを示す図FIG. 2 is a diagram showing timings of various signals of the optical information reading device according to the first embodiment of the present invention.
【図3】本発明の第2の実施の形態における光学的情報
読み取り装置の回路部分のブロック図FIG. 3 is a block diagram of a circuit portion of an optical information reading device according to a second embodiment of the present invention.
【図4】本発明の第2の実施の形態における光学的情報
読み取り装置の各種信号のタイミングを示す図FIG. 4 is a diagram showing timings of various signals of the optical information reading device according to the second embodiment of the present invention.
【図5】本発明の第3の実施の形態における光学的情報
読み取り装置の回路部分のブロック図FIG. 5 is a block diagram of a circuit portion of an optical information reading device according to a third embodiment of the present invention.
【図6】本発明の第3の実施の形態における光学的情報
読み取り装置の各種信号のタイミングを示す図FIG. 6 is a diagram illustrating timings of various signals of the optical information reading device according to the third embodiment of the present invention.
【図7】本発明の第4の実施の形態における光学的情報
読み取り装置の回路部分のブロック図FIG. 7 is a block diagram of a circuit portion of an optical information reading device according to a fourth embodiment of the present invention.
【図8】本発明の第4の実施の形態における光学的情報
読み取り装置の各種信号のタイミングを示す図FIG. 8 is a diagram showing timings of various signals of the optical information reading device according to the fourth embodiment of the present invention.
【図9】本発明の第5の実施の形態における光学的情報
読み取り装置の回路部分のブロック図FIG. 9 is a block diagram of a circuit portion of an optical information reading device according to a fifth embodiment of the present invention.
【図10】本発明の第5の実施の形態における光学的情
報読み取り装置の二次元CCDイメージセンサの構成の
一部の概略構成を示す図FIG. 10 is a diagram showing a schematic configuration of a part of a configuration of a two-dimensional CCD image sensor of an optical information reading apparatus according to a fifth embodiment of the present invention.
【図11】本発明の第6の実施の形態における光学的情
報読み取り装置の回路部分のブロック図FIG. 11 is a block diagram of a circuit portion of an optical information reading device according to a sixth embodiment of the present invention.
【図12】本発明の第6と第7の実施の形態における光
学的情報読み取り装置の二次元CCDイメージセンサの
構成の一部の概略構成を示す図FIG. 12 is a diagram illustrating a schematic configuration of a part of a configuration of a two-dimensional CCD image sensor of an optical information reading apparatus according to sixth and seventh embodiments of the present invention.
【図13】本発明の第7の実施の形態における光学的情
報読み取り装置の回路部分のブロック図FIG. 13 is a block diagram of a circuit portion of an optical information reading device according to a seventh embodiment of the present invention.
【図14】(a)は、本発明の一実施の形態における大
きな2次元コードの場合のCCDイメージセンサの出力
時間の短縮の効果の一例を示す図 (b)は、本発明の一実施の形態における小さな2次元
コードの場合のCCDイメージセンサの出力時間の短縮
の効果の一例を示す図 (c)は、本発明の一実施の形態における一次元バーコ
ードの場合のCCDイメージセンサの出力時間の短縮の
効果の一例を示す図14A is a diagram showing an example of the effect of shortening the output time of the CCD image sensor in the case of a large two-dimensional code according to an embodiment of the present invention. FIG. FIG. 4C shows an example of the effect of shortening the output time of the CCD image sensor in the case of a small two-dimensional code in the embodiment. FIG. 7C shows the output time of the CCD image sensor in the case of a one-dimensional bar code in one embodiment of the present invention. Showing an example of the effect of shortening
【図15】従来の光学的情報読み取り装置の回路部分の
構成を示すブロック図FIG. 15 is a block diagram showing a configuration of a circuit portion of a conventional optical information reading device.
【図16】二次元CCDイメージセンサの概略構成を示
す図FIG. 16 is a diagram showing a schematic configuration of a two-dimensional CCD image sensor.
1 撮像部 2 シフトレジスタ 3 転送クロック発生手段 4 シフトパルス発生手段 5 解読処理手段 6 ADコンバータ 7 メモリ 8 CPU 9 通信I/F 10 垂直シフトレジスタ 11 水平シフトレジスタ 12 フォトセンサ 13 出力回路 14 解読開始位置設定手段 15 第一の転送クロック切り換え手段 16 カウンタ 17 第一の比較回路 18 第二の比較回路 19 解読終了位置設定手段 20 第二の転送クロック切り換え手段 21 第三の比較回路 22 出力開始位置設定手段 23 出力終了位置設定手段 DESCRIPTION OF SYMBOLS 1 Image pick-up part 2 Shift register 3 Transfer clock generation means 4 Shift pulse generation means 5 Decoding processing means 6 AD converter 7 Memory 8 CPU 9 Communication I / F 10 Vertical shift register 11 Horizontal shift register 12 Photosensor 13 Output circuit 14 Decoding start position Setting means 15 first transfer clock switching means 16 counter 17 first comparison circuit 18 second comparison circuit 19 decoding end position setting means 20 second transfer clock switching means 21 third comparison circuit 22 output start position setting means 23 Output end position setting means
フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06K 7/10 G06K 7/00 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06K 7/10 G06K 7/00
Claims (9)
数の画素を有する撮像部と、前記撮像部に蓄積された電
荷を転送するシフトパルスを発生するシフトパルス発生
手段と、前記シフトパルスにより転送された電荷を入力
し所定周期の転送クロックによって順次出力するシフト
レジスタと、前記転送クロックを発生させる転送クロッ
ク発生手段と、前記シフトレジスタからの出力を受けて
所定の解読処理を行う解読処理手段と、前記解読処理を
開始する画素またはラインを設定する解読開始位置設定
手段と、前記解読開始位置設定手段により設定された画
素またはラインに至るまで前記シフトレジスタの転送ク
ロックの周期を、前記解読開始位置設定手段により設定
された画素またはラインに至った後の前記シフトレジス
タの転送クロックの周期よりも短くするように切り換え
る第一の転送クロック切り換え手段とを備えた光学的情
報読み取り装置。An imaging unit having a plurality of pixels arranged in a one-dimensional or two-dimensional direction; shift pulse generating means for generating a shift pulse for transferring charges accumulated in the imaging unit; A shift register that receives the transferred charges and sequentially outputs the transferred charges according to a transfer clock having a predetermined period; transfer clock generation means that generates the transfer clock; A decoding start position setting means for setting a pixel or a line at which the decoding process is started; and a cycle of a transfer clock of the shift register until reaching the pixel or line set by the decoding start position setting means. The transfer clock of the shift register after reaching the pixel or line set by the position setting means An optical information reading device comprising: first transfer clock switching means for switching the period so as to be shorter than the period.
の画素またはラインから解読を開始する画素またはライ
ンに至るまでの画素数またはライン数を設定するととも
に、第一の転送クロック切り換え手段は、前記所定の画
素またはラインから前記解読処理を開始する画素または
ラインに至るまでの画素数またはライン数をカウントす
るカウント手段と、前記解読開始位置設定手段で設定さ
れた画素数またはライン数と前記カウント手段でカウン
トされた画素数またはライン数を比較する比較手段とを
備えた請求項1記載の光学的情報読み取り装置。2. The decoding start position setting means sets the number of pixels or the number of lines from a predetermined pixel or line of the imaging section to a pixel or line to start decoding, and the first transfer clock switching means Counting means for counting the number of pixels or lines from the predetermined pixel or line to the pixel or line to start the decoding process, and the number of pixels or lines set by the decoding start position setting means and 2. The optical information reading apparatus according to claim 1, further comprising a comparing unit that compares the number of pixels or the number of lines counted by the counting unit.
設定する解読終了位置設定手段を備えた請求項1または
2記載の光学的情報読み取り装置。3. The optical information reading apparatus according to claim 1, further comprising a decoding end position setting means for setting a pixel or a line at which decoding processing is ended.
画素またはラインに至った後シフトレジスタの転送クロ
ックの周期を、解読終了位置設定手段により設定された
画素またはラインに至るまでのシフトレジスタの転送ク
ロックの周期よりも短くするように切り換える第二の転
送クロック切り換え手段を備えた請求項3記載の光学的
情報読み取り装置。4. The transfer clock cycle of the shift register after reaching the pixel or line set by the decoding end position setting means is set to the shift register transfer until reaching the pixel or line set by the decoding end position setting means. 4. The optical information reading apparatus according to claim 3, further comprising second transfer clock switching means for switching the clock so as to be shorter than the clock cycle.
の画素またはラインから解読を終了する画素またはライ
ンに至るまでの画素数またはライン数を設定するととも
に、第二の転送クロック切り換え手段は、前記所定の画
素またはラインから前記解読処理を終了する画素または
ラインに至るまでの画素数またはライン数をカウントす
るカウント手段と、前記解読終了位置設定手段で設定さ
れた画素数またはライン数と前記カウント手段でカウン
トされた画素数またはライン数を比較する比較手段とを
備えた請求項3または4記載の光学的情報読み取り装
置。5. The decoding end position setting means sets the number of pixels or the number of lines from a predetermined pixel or line of the imaging section to a pixel or line to end decoding, and the second transfer clock switching means Counting means for counting the number of pixels or lines from the predetermined pixel or line to the pixel or line at which the decoding process ends, and the number of pixels or lines set by the decoding end position setting means, 5. The optical information reading device according to claim 3, further comprising a comparing unit that compares the number of pixels or the number of lines counted by the counting unit.
定手段はそれぞれ複数の画素またはラインを解読開始位
置および解読終了位置として設定するとともに、前記解
読開始位置から前記解読終了位置の間の部分を順次解読
処理する請求項3から5のいずれかに記載の光学的情報
読み取り装置。6. A decoding start position setting unit and a decoding end position setting unit respectively set a plurality of pixels or lines as a decoding start position and a decoding end position, and set a portion between the decoding start position and the decoding end position. The optical information reading device according to any one of claims 3 to 5, which performs a decoding process sequentially.
数の画素を有する撮像部と、前記撮像部に蓄積された電
荷を転送するシフトパルスを発生するシフトパルス発生
手段と、前記シフトパルスにより転送された電荷を入力
し所定周期の転送クロックによって順次出力するシフト
レジスタと、前記転送クロックを発生させる転送クロッ
ク発生手段と、前記シフトレジスタからの出力を受けて
所定の解読処理を行う解読処理手段と、前記シフトレジ
スタからの出力を開始する画素またはラインを設定する
出力開始位置設定手段とを備えた光学的情報読み取り装
置。7. An imaging section having a plurality of pixels arranged in one-dimensional or two-dimensional directions, a shift pulse generating means for generating a shift pulse for transferring charges accumulated in the imaging section, A shift register that receives the transferred charges and sequentially outputs the transferred charges according to a transfer clock having a predetermined period; transfer clock generation means that generates the transfer clock; And an output start position setting means for setting a pixel or a line at which output from the shift register is started.
素またはラインを設定する出力終了位置設定手段を備え
た請求項7記載の光学的情報読み取り装置。8. The optical information reading apparatus according to claim 7, further comprising output end position setting means for setting a pixel or a line at which output from the shift register ends.
位置設定手段と複数の出力終了位置を設定する出力終了
位置設定手段とを備えた請求項7または8記載の光学的
情報読み取り装置。9. The optical information reading apparatus according to claim 7, further comprising output start position setting means for setting a plurality of output start positions and output end position setting means for setting a plurality of output end positions.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32260197A JP3244040B2 (en) | 1997-11-25 | 1997-11-25 | Optical information reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32260197A JP3244040B2 (en) | 1997-11-25 | 1997-11-25 | Optical information reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11154197A JPH11154197A (en) | 1999-06-08 |
| JP3244040B2 true JP3244040B2 (en) | 2002-01-07 |
Family
ID=18145536
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32260197A Expired - Fee Related JP3244040B2 (en) | 1997-11-25 | 1997-11-25 | Optical information reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3244040B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6404915B1 (en) * | 1998-07-21 | 2002-06-11 | Silitek Corporation | Image acquiring apparatus |
| JP2006074361A (en) * | 2004-09-01 | 2006-03-16 | Keyence Corp | Optical reader by cmos sensor and optical read control method |
| JPWO2006104198A1 (en) * | 2005-03-29 | 2008-09-11 | メディアスティック株式会社 | Electronic display method of image code |
| US8022928B2 (en) | 2005-08-22 | 2011-09-20 | Qinzhong Ye | Free-space pointing and handwriting |
-
1997
- 1997-11-25 JP JP32260197A patent/JP3244040B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH11154197A (en) | 1999-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3145173B1 (en) | Apparatus comprising image sensor array having global shutter shared by a plurality of pixels | |
| US20050062864A1 (en) | Solid-state image sensing apparatus | |
| JP2001238138A (en) | Timing generator for solid-state imaging device | |
| JP3244040B2 (en) | Optical information reader | |
| JP2003032541A (en) | Image processing device and system | |
| US4703364A (en) | Processor synchronous image scanner controlling method | |
| US20040080647A1 (en) | Image sensing apparatus, camera, and information processing apparatus | |
| US7336310B2 (en) | Processing apparatus | |
| JP2000278617A (en) | Timing pulse generator | |
| JP3172491B2 (en) | Digital camera | |
| US6897895B1 (en) | Digital camera | |
| JP2911344B2 (en) | Solid-state imaging device | |
| JP2004072374A (en) | Electronic still camera and imaging method | |
| JP3960108B2 (en) | Optical information reader | |
| JP2002366887A (en) | Symbol information reader | |
| JPH0442870B2 (en) | ||
| JP2877675B2 (en) | Solid-state imaging device | |
| JP2007173914A (en) | Imaging apparatus | |
| JPH064696A (en) | Bar code reader | |
| JPH0312827B2 (en) | ||
| JPH08181852A (en) | Image scanner with void function | |
| JP2001157108A (en) | Imaging device and imaging method | |
| JP2004128942A5 (en) | ||
| JPS6242315B2 (en) | ||
| JP2000032355A (en) | Camera control device, camera control method, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081026 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091026 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091026 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101026 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111026 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121026 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131026 Year of fee payment: 12 |
|
| LAPS | Cancellation because of no payment of annual fees |