JP2774387B2 - Barcode reader - Google Patents

Barcode reader

Info

Publication number
JP2774387B2
JP2774387B2 JP3037539A JP3753991A JP2774387B2 JP 2774387 B2 JP2774387 B2 JP 2774387B2 JP 3037539 A JP3037539 A JP 3037539A JP 3753991 A JP3753991 A JP 3753991A JP 2774387 B2 JP2774387 B2 JP 2774387B2
Authority
JP
Japan
Prior art keywords
microprocessor
bar code
memory unit
unit
memory
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
JP3037539A
Other languages
Japanese (ja)
Other versions
JPH04276844A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP3037539A priority Critical patent/JP2774387B2/en
Publication of JPH04276844A publication Critical patent/JPH04276844A/en
Application granted granted Critical
Publication of JP2774387B2 publication Critical patent/JP2774387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はバーコード情報を読み取
るバーコードリーダに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reader for reading bar code information.

【0002】[0002]

【従来の技術】従来のバーコードリーダは、図4に示す
ように、バーコードのバー幅を測定するセンシング部1
と、測定したバー幅データを記憶するメモリ部2と、メ
モリ部のデータに基づいてバーコード情報を解読するマ
イクロプロセッサ3から構成されている。
2. Description of the Related Art A conventional bar code reader has a sensing unit 1 for measuring a bar width of a bar code as shown in FIG.
And a memory unit 2 for storing the measured bar width data, and a microprocessor 3 for decoding bar code information based on the data in the memory unit.

【0003】図4において、10はセンシング部1の出
力ポートであり、バー幅カウント値とメモリ部2へ書き
込むためのアドレス信号が出力される。30はマイクロ
プロセッサ3のデータバスとアドレスバス、31、32
はマイクロプロセッサ3の出力、入力ポートである。
In FIG. 4, reference numeral 10 denotes an output port of the sensing unit 1 for outputting a bar width count value and an address signal for writing to the memory unit 2. Reference numeral 30 denotes a data bus and an address bus of the microprocessor 3;
Are output and input ports of the microprocessor 3.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、図4に
示す構成では、センシング部1が測定したバー幅データ
をメモリ部2に書き込んでいる間、マイクロプロセッサ
3はバーコード情報解読処理を行えず、待ち状態にな
り、従ってバーコードリーダの読み取り時間が長くなる
という不具合を生じていた。
However, in the configuration shown in FIG. 4, while the bar width data measured by the sensing unit 1 is being written into the memory unit 2, the microprocessor 3 cannot perform the bar code information decoding process. In this case, the bar code reader is in a waiting state, and the reading time of the bar code reader becomes longer.

【0005】本発明はこのような問題点に鑑み、バー幅
データ測定の間もマイクロプロセッサによりバーコード
情報を解読でき、読み取り時間を短縮できるバーコード
リーダを提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a bar code reader which can decode bar code information by a microprocessor even during measurement of bar width data, and can shorten the reading time.

【0006】[0006]

【課題を解決するための手段】本発明のバーコードリー
ダは、バーコード情報を取り込むセンシング部と、前記
センシング部によって取り込んだバーコード情報を記憶
する第1のメモリ部及び第2のメモリ部と、前記第1の
メモリ部または第2のメモリ部に記憶されたバーコード
情報を解読するマイクロプロセッサと、前記センシング
部と前記第1のメモリ部及び第2のメモリ部と前記マイ
クロプロセッサとを接続するバスと、前記バスを制御す
るバスコントローラとを備え、バスコントローラは前記
マイクロプロセッサにおけるバーコード情報の解読状態
に応じて、前記第1のメモリ部及び前記第2のメモリ部
に対するマイクロプロセッサとセンシング部の接続関係
を切り換えるように構成したことを特徴とする。
According to the present invention, there is provided a bar code reader comprising: a sensing unit for taking in bar code information; a first memory unit and a second memory unit for storing the bar code information taken in by the sensing unit. Connecting a microprocessor for decoding barcode information stored in the first memory unit or the second memory unit, and connecting the sensing unit to the first and second memory units and the microprocessor; And a bus controller for controlling the bus, wherein the bus controller performs sensing with the microprocessor for the first memory unit and the second memory unit according to the decoding state of barcode information in the microprocessor. The configuration is such that the connection relation of the units is switched.

【0007】[0007]

【作用】本発明のバーコードリーダによれば、マイクロ
プロセッサにおけるバーコード情報の解読状態に応じ
て、第1のメモリ部及び第2のメモリ部に対するマイク
ロプロセッサとセンシング部の接続関係を制御すること
が可能になる。
According to the bar code reader of the present invention, the connection relationship between the microprocessor and the sensing unit for the first memory unit and the second memory unit is controlled according to the decoding state of the bar code information in the microprocessor. Becomes possible.

【0008】[0008]

【実施例】以下、本発明の一実施例のバーコードリーダ
を図1〜図3を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A bar code reader according to an embodiment of the present invention will be described below with reference to FIGS.

【0009】図1において、1はバーコードのバー幅を
測定するセンシング部である。このセンシング部1は、
図2に示すように、センサ部11とセンシング回路部1
2から成っている。センサ部11は、バーコード照明用
LED(発光ダイオード)13と、反射ミラー14と、
集光レンズ15と、反射ミラー14及び集光レンズ15
にてバーコード20の像が結像されるCCD(固体撮像
素子)イメージセンサ16と、CCDイメージセンサ1
6の駆動と出力信号の増幅を行うCCD駆動回路17に
構成されている。センシング回路部12は、バーコード
20のバー幅カウント値とカウント結果をメモリ部に記
憶するためのアドレスデータを出力するように構成され
ている。
In FIG. 1, reference numeral 1 denotes a sensing unit for measuring a bar width of a bar code. This sensing unit 1
As shown in FIG. 2, the sensor unit 11 and the sensing circuit unit 1
Consists of two. The sensor unit 11 includes a bar code illumination LED (light emitting diode) 13, a reflection mirror 14,
Condensing lens 15, reflection mirror 14 and condensing lens 15
(Solid-state imaging device) image sensor 16 on which an image of bar code 20 is formed by CCD image sensor 1 and CCD image sensor 1
6 and a CCD drive circuit 17 for amplifying the output signal. The sensing circuit unit 12 is configured to output address data for storing the bar width count value of the barcode 20 and the count result in the memory unit.

【0010】図1において、21、22は第1メモリ部
と第2メモリ部、3はマイクロプロセッサである。4は
バスコントローラであり、マイクロプロセッサ3の指令
に基づいてセンシング部1からのバー幅カウント値とア
ドレスデータの出力10を第1メモリ部21又は第2メ
モリ部22に接続する切り換え制御を行うとともに、マ
イクロプロセッサ3のデータバスとアドレスバス30を
第1メモリ部21又は第2メモリ部22に接続する切り
換え制御を行う。
In FIG. 1, reference numerals 21 and 22 denote a first memory unit and a second memory unit, and 3 denotes a microprocessor. Reference numeral 4 denotes a bus controller, which performs switching control for connecting the bar width count value and the address data output 10 from the sensing unit 1 to the first memory unit 21 or the second memory unit 22 based on a command from the microprocessor 3. The switching control for connecting the data bus and the address bus 30 of the microprocessor 3 to the first memory unit 21 or the second memory unit 22 is performed.

【0011】又、31はマイクロプセッサ3からセンシ
ング部1へバー幅測定開始の指令信号を出力する出力ポ
ート、32はセンシング部1からマイクロプロセッサ3
へバー幅測定完了の信号が入力する入力ポート、33は
マイクロプロセッサ3からバスコントローラ4への指令
信号を出力する出力ポートである。
Reference numeral 31 denotes an output port for outputting a command signal for starting bar width measurement from the microprocessor 3 to the sensing unit 1, and 32 denotes an output port from the sensing unit 1 to the microprocessor 3.
An input port 33 receives a signal indicating that the bar width measurement has been completed, and an output port 33 outputs a command signal from the microprocessor 3 to the bus controller 4.

【0012】図3にマイクロプロセッサ3の処理フロー
を示す。以下、図3によりマイクロプロセッサ3による
各処理を説明する。電源投入後、所定の初期処理を行う
とともに、マイクロプロセッサ3はバスコントローラ4
に対し、センシング部1と第1メモリ部21を接続し、
マイクロプロセッサ3と第2メモリ部22を接続するよ
うに指令する(処理ア)。この初期処理完了後、出力ポ
ート31よりセンシング部1へバー幅測定開始を指令す
るとともに(処理イ)、第2メモリ部22内の測定デー
タに基づいてバーコードの解読処理を行う(処理ウ)。
FIG. 3 shows a processing flow of the microprocessor 3. Hereinafter, each process by the microprocessor 3 will be described with reference to FIG. After turning on the power, predetermined initialization processing is performed, and the microprocessor 3
, The sensing unit 1 and the first memory unit 21 are connected,
An instruction is issued to connect the microprocessor 3 and the second memory unit 22 (process A). After the completion of the initial processing, the output port 31 instructs the sensing section 1 to start the bar width measurement (processing b), and performs the barcode decoding processing based on the measurement data in the second memory section 22 (processing c). .

【0013】次に、解読がOKであるかどうかの判定を
行い(処理エ)、解読OKの場合はバーコード解読処理
を完了し、解読エラーの場合はセンシング部1からのバ
ー幅測定完了信号が入力ポート32に入力するまで待機
する(処理オ)。なお、初期処理直後は、第2メモリ部
22にはバー幅測定データが記憶されていないため、必
ず処理オに移行する。
Next, it is determined whether or not the decoding is OK (processing d). If the decoding is OK, the barcode decoding process is completed. If the decoding is error, the bar width measurement completion signal from the sensing unit 1 is sent. Waits until is input to the input port 32 (process e). Immediately after the initial processing, since the bar width measurement data is not stored in the second memory unit 22, the processing always proceeds to processing e.

【0014】処理オで、バー幅測定完了となった時、マ
イクロプロセッサ3は出力ポート33よりバスコントロ
ーラ4へ切り換え指令を出力する。即ち、センシング部
1と第1メモリ部21が接続され、マイクロプロセッサ
3と第2メモリ部22が接続されている状態から、これ
をセンシング部1と第2メモリ部22が接続され、マイ
クロプロセッサ3と第1メモリ部21が接続されている
状態に切り換え、逆の場合はそれぞれ逆の接続状態に切
り換えるように指令する(処理カ)。
When the bar width measurement is completed in the processing (e), the microprocessor 3 outputs a switching command from the output port 33 to the bus controller 4. That is, the state where the sensing unit 1 and the first memory unit 21 are connected and the microprocessor 3 and the second memory unit 22 are connected is changed from the state where the sensing unit 1 and the second memory unit 22 are connected to each other. And the first memory unit 21 are connected to each other, and in the opposite case, commands are issued to switch to the opposite connection states (processing f).

【0015】その後、処理イに移行して、以降処理エで
バーコードの解読がOKとなるまで、処理イから処理カ
までの処理を繰り返す。
Thereafter, the process shifts to the process A, and thereafter, the processes from the process A to the process F are repeated until the decoding of the bar code becomes OK in the process D.

【0016】以上のように本実施例によれば、センシン
グ部1でバー幅測定を行うと同時にマイクロプロセッサ
3でバーコードの解読処理を行うことができ、バーコー
ドの読み取り時間を短縮できる。
As described above, according to this embodiment, the bar width can be measured by the sensing unit 1 and the bar code can be decoded by the microprocessor 3 at the same time, and the bar code reading time can be reduced.

【0017】具体例を示すと、図4に示す従来例では1
つのバーコードを解読処理するのに、センシング部1に
よるバー幅測定に約15ms、マイクロプロセッサ3の
バーコード解読処理に約30ms要するために、3回の
解読処理で解読OKとなるとすると約135(45×
3)ms必要であったが、本実施例ではバー幅の測定と
バーコード解読処理を同時に行えるため、約105(1
5+30×3)msで解読可能となる。
As a specific example, the conventional example shown in FIG.
Since it takes about 15 ms for the bar width measurement by the sensing unit 1 and about 30 ms for the bar code decoding process of the microprocessor 3 to decode one bar code, if the decoding is OK in three decoding processes, about 135 ( 45x
3) Although ms was required, in the present embodiment, the measurement of the bar width and the barcode decoding process can be performed at the same time.
Decoding is possible in 5 + 30 × 3) ms.

【0018】上記実施例では、センシング部1のセンサ
部11に発光ダイオード13とCCDイメージセンサ1
6を用いてバー幅の検出を行ったが、センサー部11に
半導体レーザダイオードとフォトダイオードを用いた場
合にも同様の効果を得ることができる。
In the above embodiment, the light emitting diode 13 and the CCD image sensor 1
6, the bar width is detected. However, a similar effect can be obtained when a semiconductor laser diode and a photodiode are used for the sensor unit 11.

【0019】[0019]

【発明の効果】本発明のバーコードリーダによれば、基
本的には一方のメモリ部に記憶されているバーコード情
報の解読を行いつつ、他方のメモリ部に他のバーコード
情報を記憶させることができ、かつセンシング部がバー
コード情報の解読に成功したときと失敗したときとで
は、メモリ部の切換え状態を異ならせて、合理的なバー
コード情報の読み取りを行うことができるので、バーコ
ード情報の読み取り時間の短縮を図ることができる。
According to the bar code reader of the present invention, basically, while decoding the bar code information stored in one memory unit, the other memory unit stores the other bar code information. When the sensing unit succeeds in decoding the barcode information and when it fails, the switching state of the memory unit is made different, and the barcode information can be read rationally. The reading time of the code information can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例のバーコードリーダの構成図
である。
FIG. 1 is a configuration diagram of a barcode reader according to an embodiment of the present invention.

【図2】センシング部の構成図である。FIG. 2 is a configuration diagram of a sensing unit.

【図3】マイクロプロセッサによる処理のフローチャー
トである。
FIG. 3 is a flowchart of processing by a microprocessor.

【図4】従来例のバーコードリーダの構成図である。FIG. 4 is a configuration diagram of a conventional barcode reader.

【符号の説明】[Explanation of symbols]

1 センシング部 3 マイクロプロセッサ 4 バスコントローラ 21 第1メモリ部 22 第2メモリ部 Reference Signs List 1 sensing unit 3 microprocessor 4 bus controller 21 first memory unit 22 second memory unit

フロントページの続き (72)発明者 檀 政宏 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 玉井 誠一郎 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 平2−90383(JP,A) 特開 昭57−182246(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 13/36 520 G06K 7/00Continuing from the front page (72) Inventor Masahiro Dan 1006 Kazuma Kadoma, Osaka Prefecture Inside Matsushita Electric Industrial Co., Ltd. References JP-A-2-90383 (JP, A) JP-A-57-182246 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 13/36 520 G06K 7/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 バーコード情報を取り込むセンシング部
と、前記センシング部によって取り込んだバーコード情
を記憶する第1のメモリ部及び第2のメモリ部と、
記第1のメモリ部または第2のメモリ部に記憶されたバ
ーコード情報を解読するマイクロプロセッサと、前記
ンシング部と前記第1のメモリ部及び第2のメモリ部と
前記マイクロプロセッサとを接続するバスと、前記バス
を制御するバスコントローラとを備え、バスコントロー
ラは前記マイクロプロセッサにおけるバーコード情報の
解読状態に応じて、前記第1のメモリ部及び前記第2の
メモリ部に対するマイクロプロセッサとセンシング部の
接続関係を切り換えるように構成したことを特徴とする
バーコードリーダ。
1. A and the sensing unit to capture bar code information, bar code information which thus captured on the sensing unit
A first memory portion及 beauty second memory section for storing the broadcast, prior to
The buffer stored in the first memory unit or the second memory unit.
A microprocessor for decoding the keycode information, and the cell <br/> Nshingu portion and the first memory portion and a second memory section
A bus for connecting the microprocessor, the bus
A bus controller for controlling the bar code information in the microprocessor.
A bar code reader , wherein a connection relationship between a microprocessor and a sensing unit for the first memory unit and the second memory unit is switched according to a decoding state .
JP3037539A 1991-03-04 1991-03-04 Barcode reader Expired - Fee Related JP2774387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3037539A JP2774387B2 (en) 1991-03-04 1991-03-04 Barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3037539A JP2774387B2 (en) 1991-03-04 1991-03-04 Barcode reader

Publications (2)

Publication Number Publication Date
JPH04276844A JPH04276844A (en) 1992-10-01
JP2774387B2 true JP2774387B2 (en) 1998-07-09

Family

ID=12500333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3037539A Expired - Fee Related JP2774387B2 (en) 1991-03-04 1991-03-04 Barcode reader

Country Status (1)

Country Link
JP (1) JP2774387B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57182246A (en) * 1981-04-30 1982-11-10 Hitachi Denshi Ltd Data storage device
JP2610317B2 (en) * 1988-09-28 1997-05-14 株式会社東芝 Image scanner device

Also Published As

Publication number Publication date
JPH04276844A (en) 1992-10-01

Similar Documents

Publication Publication Date Title
US6947612B2 (en) Methods and apparatus for image capture and decoding in a centralized processing unit
US6298175B1 (en) Object sensor system comprising controlled light source
JP2748257B2 (en) Barcode reader for 2D code reading
JP2774387B2 (en) Barcode reader
JP4321103B2 (en) Information code reading apparatus and information code reading method
JP2706847B2 (en) Optical coupling device and information device using the same
JP2853357B2 (en) Barcode reader
JP2734784B2 (en) Multi-control barcode reader
JPH0524556B2 (en)
JP2789939B2 (en) Information processing device
JP4553014B2 (en) Information code reading apparatus and information code reading method
JP4475332B2 (en) Information code reading apparatus and information code reading method
JP2733951B2 (en) Barcode reader
JPH0271664A (en) Image processing system
DE69526789D1 (en) Memory arrangement with improved result and improved reliability
JP2002024751A (en) Bar code device and recording medium
JP3639968B2 (en) Bar code reader
JPH1055402A (en) Information reader
JP3069817B2 (en) Barcode reader
JP2669087B2 (en) Optical reader
JPH10143595A (en) Separation type electronic equipment
JPH0737026A (en) Bar code reader
JP2530280Y2 (en) Contact data input circuit
JPH038122A (en) Optical card reader
JPH02224193A (en) Bar code reader

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees