JP2012064172A - Optical information reading setting support device - Google Patents

Optical information reading setting support device Download PDF

Info

Publication number
JP2012064172A
JP2012064172A JP2010210246A JP2010210246A JP2012064172A JP 2012064172 A JP2012064172 A JP 2012064172A JP 2010210246 A JP2010210246 A JP 2010210246A JP 2010210246 A JP2010210246 A JP 2010210246A JP 2012064172 A JP2012064172 A JP 2012064172A
Authority
JP
Japan
Prior art keywords
bank
setting
optical information
user
additional
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.)
Pending
Application number
JP2010210246A
Other languages
Japanese (ja)
Inventor
Hajime Matsuda
一 松田
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.)
Keyence Corp
Original Assignee
Keyence Corp
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 Keyence Corp filed Critical Keyence Corp
Priority to JP2010210246A priority Critical patent/JP2012064172A/en
Publication of JP2012064172A publication Critical patent/JP2012064172A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To mitigate user's setting operation for optical information reading.SOLUTION: When creating additional bank(s) having different lighting pattern, the user selects "partial lighting complementation," and selects a set bank to which he/she wants to add bank(s) from a list of banks already set by him/her. Then, the user selects the number of complementation, or the condition for the additional bank(s). If he/she selects "four directions," tree additional banks "4"-"6" are created by rotating the lighting pattern of the first bank "1" at intervals of 90°. When the user presses "reflect setting," the setting for the additional bank(s) is made and the additional bank(s) set is/are stored in a memory M of a bar code reader 2.

Description

本発明は、バーコードやQRコードなどの光学情報を読み取る光学情報読取の設定支援装置装置に関する。   The present invention relates to an optical information reading setting support apparatus that reads optical information such as a barcode and a QR code.

トレーサビリティ(traceability)が普及した今日、工場や物流拠点などに光学情報読取装置を設置して、製品や産品に付与されたバーコードなどの光学情報又は光学符号の解読が行われている。この種の光学情報読取装置は「バーコードリーダ」又は「コードリーダ」と呼ばれている。   Now that traceability has become widespread, optical information readers are installed in factories, logistics bases, etc., and optical information such as barcodes attached to products and products or optical codes are decoded. This type of optical information reader is called a “bar code reader” or “code reader”.

バーコードリーダはレーザ光、可視光、赤外光を光学情報に照射し、その反射光を光学読取素子(撮像素子)で取り込む。そして、この取り込んだ撮像画像から光学情報に記録されている情報の解析が行われる。   The bar code reader irradiates optical information with laser light, visible light, and infrared light, and captures the reflected light with an optical reading element (imaging element). Then, the information recorded in the optical information is analyzed from this captured image.

特許文献1はバーコードリーダを開示している。特許文献1に開示のバーコードリーダは、略直方体形状のアウターケースを備え、このアウターケースの中に、2つのポインタ用LED、各種基板、レンズ組立体、照明用LEDが収容され、照明用LEDの光を光学情報に照射しながら光学情報の撮像が実行される。このバーコードリーダに内蔵された照明用LEDの光量では不足する場合には、外部照明ユニットをバーコードリーダに付設して、この外部照明ユニットを使って光学情報の照明が行われる。   Patent Document 1 discloses a bar code reader. The barcode reader disclosed in Patent Document 1 includes a substantially rectangular parallelepiped outer case, in which two pointer LEDs, various substrates, a lens assembly, and an illumination LED are accommodated. Optical information is captured while irradiating the optical information with optical light. When the light quantity of the illumination LED incorporated in the barcode reader is insufficient, an external illumination unit is attached to the barcode reader, and optical information is illuminated using the external illumination unit.

特許文献2〜4は、光学顕微鏡に付設される外部照明ユニットを開示している。特許文献2〜4の外部照明ユニットはリング状の形状を有し、その内部にリング状に配列したLEDが径方向に複数列配設されている。このリング状照明ユニットの中心開口には光学顕微鏡の鏡筒が挿入され、この鏡筒にリング状の照明ユニットが設置される。   Patent Documents 2 to 4 disclose external illumination units attached to an optical microscope. The external lighting units of Patent Documents 2 to 4 have a ring shape, and LEDs arranged in a ring shape are arranged in a plurality of rows in the radial direction. A lens barrel of an optical microscope is inserted into the central opening of the ring-shaped illumination unit, and a ring-shaped illumination unit is installed in the lens barrel.

特開2008−33465号公報JP 2008-33465 A 特開2005−331623号公報JP 2005-331623 A 特開2008−139708号公報JP 2008-139708 A 特開2010−60415号公報JP 2010-60415 A

外部照明の制御をバーコードリーダが行うのが一般的と考えられるが、外部照明を使うだけで全てが解決する訳ではなく、点灯タイミング、外部照明の光の当て方、光の強さなど微妙な制御が必要になることが多く、外部照明の制御に限界がある。   Although it is generally considered that a barcode reader controls external lighting, not only using external lighting solves everything, but lighting timing, how to apply light from external lighting, and light intensity are subtle. Control is often required, and there is a limit to the control of external lighting.

具体的に説明すると、一般的にバーコードリーダが光学情報を読み取る能力は、ワークに対する光の照射方向によって大きく変化することが知られている。特に、ダイレクトパーツマーキングと称されるワークに直接的に刻印されたバーコードやQRコードなどの光学情報や、ヘアラインワークと称される表面に微細な研削跡を備えたワークの光学情報を読み取ろうとしたときに、本来読み取ることが可能な刻印品質であったとしても、ワークに対して光を当てる方向やワークのバーコードリーダに対する傾斜角度のズレによって読み取りが不安定になることがある。   More specifically, it is generally known that the ability of a bar code reader to read optical information varies greatly depending on the light irradiation direction on the workpiece. In particular, trying to read optical information such as barcodes and QR codes directly stamped on workpieces called direct parts marking, and workpieces with fine grinding marks on the surface called hairline workpieces. In this case, even if the marking quality is originally readable, the reading may become unstable depending on the direction in which light is applied to the work or the inclination angle of the work with respect to the barcode reader.

ユーザは、バーコードリーダを安定して運用できるように種々のパラメータの設定を行うことになるが、多様な点灯パターンや他のパラメータを設定するのに手間がかかり且つ煩雑である。特に、「ダイレクトパーツマーキング」や「ヘアラインワーク」に関して安定したバーコードリーダの読み取りを確保するには、各種のパラメータを色々と変化させながら読取試行を実行し、さらに、そのチューニングを行うという、ユーザにとって煩雑な設定作業が強いられることになる。   The user sets various parameters so that the bar code reader can be stably operated. However, it takes time and effort to set various lighting patterns and other parameters. In particular, in order to ensure stable barcode reader reading for "direct part marking" and "hairline work", a user tries to perform various readings while changing various parameters and then perform tuning. For this, complicated setting work is forced.

本発明の目的は、ユーザの設定作業を軽減することのできる光学情報読取の設定支援装置を提供することにある。   An object of the present invention is to provide an optical information reading setting support apparatus that can reduce the setting work of a user.

上記の技術的課題は、本発明によれば、
ユーザが設定した各種のパラメータを含む設定バンクを作成して、該設定バンクを光学情報読取装置の運用に反映させる光学情報読取の設定支援装置であって、
前記ユーザが作成した設定バンクに含まれる各種のパラメータのうち、ユーザが選択したパラメータを基準として、該基準パラメータの周辺のパラメータを所定のルールに従って変化させた追加のバンクを作成する追加バンク作成手段と、
前記追加のバンクの数をユーザが選択することのできる追加バンク数選択手段と、
前記追加バンク作成手段が作成した追加のバンクをユーザの指示に基づいて設定して、前記光学情報読取装置の運用に反映させる追加バンク設定手段とを有することを特徴とする光学情報読取の設定支援装置を提供することにより達成される。
According to the present invention, the above technical problem is
An optical information reading setting support device that creates a setting bank including various parameters set by a user and reflects the setting bank in the operation of the optical information reading device,
Additional bank creation means for creating an additional bank in which the parameters around the reference parameter are changed according to a predetermined rule, based on the parameter selected by the user among various parameters included in the setting bank created by the user When,
An additional bank number selection means that allows the user to select the number of additional banks;
Optical information reading setting support, comprising: additional bank setting means for setting an additional bank created by the additional bank creating means based on an instruction of a user and reflecting it in the operation of the optical information reading apparatus This is accomplished by providing an apparatus.

本発明の好ましい実施形態によれば、照明の点灯パターンがユーザによって選択され、この点灯パターンを変化させることで追加の設定バンクが作成される。また、他の実施形態によれば、照明の光量がユーザによって選択され、照明の光量を変化させることで追加の設定バンクが作成される。   According to a preferred embodiment of the present invention, a lighting lighting pattern is selected by a user, and an additional setting bank is created by changing the lighting pattern. According to another embodiment, the amount of illumination light is selected by the user, and an additional setting bank is created by changing the amount of illumination light.

追加バンク作成手段によって作成された追加バンクはユーザの指示によって設定され、そして、光学情報読取装置は、既にユーザが設定した設定バンクと一緒に上記の追加の設定バンクを含めた態様で光学情報読取装置の運用が実行される。したがって、上記の追加バンク作成手段によって作成された追加のバンクを仮設定して読取試行してもよく、また、チューニングしてもよい。   The additional bank created by the additional bank creating means is set according to the user's instruction, and the optical information reading apparatus reads the optical information in a mode including the above additional setting bank together with the setting bank already set by the user. Operation of the device is executed. Therefore, the additional bank created by the above-described additional bank creating means may be temporarily set and read and may be tuned.

本発明の他の目的、作用効果は、以下の本発明の実施例の詳しい説明から明らかになろう。   Other objects and advantages of the present invention will become apparent from the following detailed description of embodiments of the present invention.

バーコードリーダ・システムの全体構成図である。1 is an overall configuration diagram of a barcode reader system. 光学情報読取装置であるバーコードリーダの斜視図である。It is a perspective view of the barcode reader which is an optical information reader. バーコードリーダの内部に配置される各種基板の配置を斜め前方から見た図である。It is the figure which looked at the arrangement | positioning of the various board | substrates arrange | positioned inside a barcode reader from diagonally forward. 図3に関連した図であって、バーコードリーダの内部に配置される各種基板の配置を斜め後方から見た図である。FIG. 4 is a diagram related to FIG. 3, and is a diagram of an arrangement of various substrates arranged inside the barcode reader as viewed obliquely from the rear. バーコードリーダに内蔵される各種基板の結線関係を説明するための図である。It is a figure for demonstrating the connection relation of the various board | substrates incorporated in a barcode reader. バーコードリーダに内蔵されるシャーシと、このシャーシに組み付けられたメイン基板、電源基板、サブ基板の配置を説明するための図である。It is a figure for demonstrating arrangement | positioning of the chassis incorporated in a barcode reader, the main board | substrate assembled | attached to this chassis, a power supply board, and a sub board | substrate. シャーシに組み付けられる各種の要素を説明するための図である。It is a figure for demonstrating the various elements assembled | attached to a chassis. カメラモジュールを斜め後方から見た図である。It is the figure which looked at the camera module from diagonally backward. カメラモジュールを斜め前方から見た図である。It is the figure which looked at the camera module from diagonally forward. カメラモジュールの内部構造を説明するための概念図である。It is a conceptual diagram for demonstrating the internal structure of a camera module. カメラモジュールと各種基板の関係を示す図であり、この状態でバーコードリーダのメインケースに収容される。It is a figure which shows the relationship between a camera module and various board | substrates, and is accommodated in the main case of a barcode reader in this state. 図11と同様に、カメラモジュールと各種基板の関係を示す図であり、好ましい例として、電源基板、メイン基板の上に放熱部材である熱伝導ゴムを載置した例を示す図である。It is a figure which shows the relationship between a camera module and various board | substrates similarly to FIG. 11, It is a figure which shows the example which mounted the heat conductive rubber which is a heat radiating member on a power supply board and a main board | substrate as a preferable example. 図12に関連して、熱伝導ゴムが電源基板、メイン基板とメインケースとに当接した状態を説明するための図である。FIG. 13 is a diagram for explaining a state in which the heat conductive rubber is in contact with the power supply substrate, the main substrate, and the main case in relation to FIG. 12. メインケースから前方に延びる一対のロッド状の延長部分の前端面にLED基板(内部照明基板)を取り付け、また、延長部分に電源基板、メイン基板の前端を固定することを説明するための図である。It is a figure for demonstrating attaching an LED board (internal illumination board) to the front end surface of a pair of rod-shaped extension part extended ahead from a main case, and fixing the front end of a power supply board and a main board to an extension part. is there. バーコードリーダのメインケース及びその開放した後端がリヤケースによって閉じられることを説明するための図であり、このリヤケースにコネクタ基板を固定した状態を示す分解斜視図である。It is a figure for demonstrating that the main case and its open | released rear end of a barcode reader are closed by a rear case, and is an exploded perspective view which shows the state which fixed the connector board | substrate to this rear case. 図15に図示の内蔵物を収容したメインケースの正面図である。It is a front view of the main case which accommodated the built-in thing shown in FIG. 図16からカメラモジュールを取り除いた状態のメインケースの正面図である。FIG. 17 is a front view of the main case with the camera module removed from FIG. 16. バーコードリーダの機能構成図である。It is a functional block diagram of a barcode reader. バーコードリーダの画像バッファと共有メモリとの関係を説明するための図である。It is a figure for demonstrating the relationship between the image buffer of a barcode reader, and a shared memory. 共有メモリに複数の設定バンクが格納されていることを説明するための図である。It is a figure for demonstrating that the some setting bank is stored in the shared memory. バーコードリーダの第1CPUで行われる撮像処理が撮像間隔毎に実行されることを説明するためのタイムチャートである。It is a time chart for demonstrating that the imaging process performed by 1st CPU of a barcode reader is performed for every imaging interval. 外部照明ユニットをバーコードリーダに取り付けた状態を示す図である。It is a figure which shows the state which attached the external illumination unit to the barcode reader. 外部照明ユニットの分解斜視図である。It is a disassembled perspective view of an external illumination unit. 外部照明ユニットに内蔵されるLEDを搭載したLED基板の斜視図である。It is a perspective view of the LED board carrying LED built in an external illumination unit. 外部照明ユニットに組み込まれる2枚の基板の取り付け関係を説明するための図である。It is a figure for demonstrating the attachment relationship of the two board | substrates integrated in an external illumination unit. バーコードリーダに内蔵され且つ複数のLEDを面状に配列した面光源である内部照明ユニットに含まれるLEDが複数のエリアに区分けされて、各エリア毎に点灯制御可能であることを説明するための図であり、内部照明ユニットの正面図である。In order to explain that LEDs included in an internal illumination unit that is a surface light source that is built in a barcode reader and that has a plurality of LEDs arranged in a plane are divided into a plurality of areas, and lighting control is possible for each area. FIG. 4 is a front view of the internal lighting unit. 大径の専用外部照明ユニットの正面図であり、この外部照明ユニットに含まれるLEDが複数のエリアに区分けされて、各エリア毎に点灯制御されることを説明するための図である。It is a front view of a large-diameter dedicated external lighting unit, and is a diagram for explaining that LEDs included in the external lighting unit are divided into a plurality of areas and lighting control is performed for each area. 小径の専用外部照明ユニットの正面図であり、この外部照明ユニットに含まれるLEDが複数のエリアに区分けされて、各エリア毎に点灯制御されることを説明するための図である。It is a front view of a small-diameter dedicated external lighting unit, and is a diagram for explaining that the LEDs included in the external lighting unit are divided into a plurality of areas and lighting control is performed for each area. 内部照明ユニット及び外部照明ユニットに組み込まれたLED駆動回路の一例を示す図である。It is a figure which shows an example of the LED drive circuit integrated in the internal illumination unit and the external illumination unit. 内部照明ユニット及び外部照明ユニットの部分照明を制御するための系統図である。It is a systematic diagram for controlling the partial illumination of an internal illumination unit and an external illumination unit. ワークをバーコードリーダに対して位置決めする際に表示されるユーザインターフェース画面である。It is a user interface screen displayed when positioning a workpiece | work with respect to a barcode reader. 光学情報読取領域を設定して当該領域の明るさを調整する際に表示されるユーザインターフェース画面である。It is a user interface screen displayed when an optical information reading area is set and the brightness of the area is adjusted. 点灯パターン設定画面であり、外部照明ユニットをバーコードリーダに接続したときの表示態様を示す図である。It is a lighting pattern setting screen, and is a figure which shows a display mode when an external illumination unit is connected to a barcode reader. 図33と同様に点灯パターン設定画面であるが、外部照明ユニットが非接続のときに内部照明ユニットの部分照明エリアの模式図が表示されることを示す図である。It is a lighting pattern setting screen similarly to FIG. 33, but is a diagram showing that a schematic diagram of the partial illumination area of the internal illumination unit is displayed when the external illumination unit is disconnected. チューニングでの設定画面を示す図である。It is a figure which shows the setting screen in tuning. チューニング処理の実行中のユーザインターフェース画面である。It is a user interface screen during execution of tuning processing. チューニングでの読取試行実行中のユーザインターフェース画面である。It is a user interface screen during reading trial execution in tuning. バンク追加処理中のユーザインターフェース画面である。It is a user interface screen during a bank addition process. NG画像の解析処理中のユーザインターフェース画面である。It is a user interface screen during analysis processing of an NG image. チューニング処理の具体例を説明するためのフローチャートである。It is a flowchart for demonstrating the specific example of a tuning process. 点灯パターンに関する追加のバンクの自動生成に関する説明図である。It is explanatory drawing regarding the automatic generation of the additional bank regarding a lighting pattern. 明るさに関する追加のバンクの自動生成に関する説明図である。It is explanatory drawing regarding the automatic generation | occurrence | production of the additional bank regarding brightness. 追加のバンクの自動生成に関するユーザインターフェース画面である。It is a user interface screen regarding the automatic generation of an additional bank.

以下に、添付の図面に基づいて本発明の好ましい実施例を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

バーコードリーダ・システム(図1)
図1はバーコードリーダ・システムの概要を説明するための図である。図1を参照して、バーコードリーダ・システム1は、二次元情報読取装置であるバーコードリーダ2と、必要に応じてバーコードリーダ2に接続されるパーソナルコンピュータ3とを有し、バーコードリーダ2で撮像した画像をパーソナルコンピュータ3で確認しながら、このパーソナルコンピュータ3を使って各種の設定が行われる。バーコードリーダ・システム1には、更に、必要に応じてリング型の外部照明ユニット4がバーコードリーダ2に接続され、バーコードリーダ2の内部照明ユニット5と一緒になって又は内部照明ユニット5の動作を止めて外部照明ユニット4だけでワークを照明する。
Bar code reader system (Figure 1) :
FIG. 1 is a diagram for explaining an outline of a bar code reader system. Referring to FIG. 1, a bar code reader system 1 includes a bar code reader 2 which is a two-dimensional information reading device, and a personal computer 3 connected to the bar code reader 2 as necessary. Various settings are performed using the personal computer 3 while confirming an image captured by the reader 2 with the personal computer 3. In the barcode reader system 1, a ring-type external illumination unit 4 is further connected to the barcode reader 2 as necessary, and together with the internal illumination unit 5 of the barcode reader 2 or the internal illumination unit 5. The operation is stopped and the work is illuminated only by the external illumination unit 4.

リング型の外部照明ユニット4は、このバーコードリーダ・システム1のための専用品であり、異なる種類の複数の外部照明ユニット4を用意するのが好ましい。勿論、外部照明ユニット4として専用品以外の照明ユニットを組み込むことも可能である。   The ring-type external lighting unit 4 is a dedicated product for the bar code reader system 1, and it is preferable to prepare a plurality of different types of external lighting units 4. Of course, it is also possible to incorporate a lighting unit other than a dedicated product as the external lighting unit 4.

バーコードリーダ・システム1は、バーコード、QRコードなどの光学情報又は光学符号が印字又は刻印された商品あるいは物品を製造する工場では物品の搬送経路に設置され、バーコードリーダ2で商品又は物品に印字された光学情報に記録されている情報を読み取り、この情報をパーソナルコンピュータ3に転送して情報の解析が行われる。「光学情報読取装置」は一般的に“バーコードリーダ”又は“コードリーダ”を呼ばれており、ここでは“バーコードリーダ”という業界用語を使用する。   The bar code reader system 1 is installed in an article conveyance path in a factory that manufactures goods or articles printed or engraved with optical information or optical codes such as bar codes and QR codes. The information recorded in the optical information printed on is read and transferred to the personal computer 3 for information analysis. The “optical information reader” is generally called “bar code reader” or “code reader”, and the industry term “bar code reader” is used here.

また、図示の例では、図1に開示のように、パーソナルコンピュータ3に設定プログラムをインストールすることにより、このパーソナルコンピュータ3を使ってバーコードリーダ・システム1の各種の設定が行われる。勿論、バーコードリーダ2に例えばタッチパネル付き表示手段を設けて、この表示手段を使ってバーコードリーダ2、内部照明ユニット5(図3)及び/又は外部照明4(図22、図23)の設定作業ができるようにしてもよい。   Further, in the illustrated example, as disclosed in FIG. 1, various settings of the barcode reader system 1 are performed using the personal computer 3 by installing a setting program in the personal computer 3. Of course, the bar code reader 2 is provided with a display means with a touch panel, for example, and the bar code reader 2, the internal illumination unit 5 (FIG. 3) and / or the external illumination 4 (FIGS. 22 and 23) are set by using this display means. You may be able to work.

バーコードリーダ2(図2〜図17)
図2はバーコードリーダ2の外観を示す斜視図である。バーコードリーダ2は、断面多角形の形状のメインケース6と、メインケース6の前端に固定される円筒状のフロントケース7とを有し、この円筒状のフロントケース7に前述した内部照明ユニット5が内蔵されている。メインケース6は、図2などから分かるように略正方形の断面形状を備えているのが好ましい。
Bar code reader 2 (FIGS. 2 to 17) :
FIG. 2 is a perspective view showing the appearance of the barcode reader 2. The bar code reader 2 has a main case 6 having a polygonal cross section and a cylindrical front case 7 fixed to the front end of the main case 6, and the internal lighting unit described above is provided in the cylindrical front case 7. 5 is built-in. As can be seen from FIG. 2 and the like, the main case 6 preferably has a substantially square cross-sectional shape.

バーコードリーダ2には互いに独立した複数の基板が内蔵されている。図3〜図5を参照して、バーコードリーダ2が備える複数の基板は次の通りである。
(1)メイン基板10:
メイン基板10には、CPU、メモリMが搭載され、画像をメモリMに転送してDSP(digital Signal Processor)で画像処理する。そして、メイン基板10のCPUで内部照明ユニット5を具備したバーコードリーダ2を制御し、また、外部照明ユニット4との通信を実行する。
(2)電源基板11:
バーコードリーダ2の電源を生成する。絶縁入出力回路が実装されている。
The barcode reader 2 includes a plurality of substrates that are independent of each other. With reference to FIGS. 3 to 5, the plurality of substrates included in the barcode reader 2 are as follows.
(1) Main board 10:
The main substrate 10 is equipped with a CPU and a memory M, and an image is transferred to the memory M and processed by a DSP (digital signal processor). The CPU of the main board 10 controls the barcode reader 2 including the internal lighting unit 5 and performs communication with the external lighting unit 4.
(2) Power supply board 11:
A power source for the barcode reader 2 is generated. An isolated input / output circuit is implemented.

(3)サブ基板12:
大容量メモリが搭載されており、この大容量メモリに取得画像や各種の設定が保存される。制限した大きさ及び形状のメイン基板10では、このメイン基板10に実装することのできなかった要素が実装される。
(4)CMOS基板13(受光基板):
CMOSイメージセンサ(光学読取素子)が実装され、画像を取得してメイン基板10に転送する。ポインタ用のLED40(図10)が搭載される。
(3) Sub-board 12:
A large-capacity memory is mounted, and acquired images and various settings are stored in the large-capacity memory. In the main board 10 having a limited size and shape, elements that could not be mounted on the main board 10 are mounted.
(4) CMOS substrate 13 (light receiving substrate):
A CMOS image sensor (optical reading element) is mounted, and an image is acquired and transferred to the main board 10. A pointer LED 40 (FIG. 10) is mounted.

(5)LED基板14:
内部照明ユニット5を構成する円形開口14aを備えた円板状の基板であり、このLED基板14に複数の照明用LED80が実装され(後に説明する図26)、この複数の照明用LED80の点灯制御を実行する。複数の照明用LED80は、後に説明するバーコードリーダ2のレンズ組立体36の光軸を中心とする複数の径の異なる同心円上に配列される。内部照明ユニット5(LED基板14)に実装された複数の照明用LED80は後に説明するようにエリア分けして点灯制御される。また、このLED基板14には、各エリアに属する複数の照明用LEDに定電流を供給する定電流回路が設けられる。
(6)コネクタ基板15:
外部電源、IO、RS232C、Ethernet(登録商標)、外部照明ユニット4との入出力のインターフェースを構成する基板である。なお、外部照明ユニット4には、電源基板11から電源が供給される。
(5) LED substrate 14:
It is a disk-shaped board | substrate provided with the circular opening 14a which comprises the internal illumination unit 5, The some LED80 for illumination is mounted in this LED board 14 (FIG. 26 mentioned later), and lighting of this some LED80 for illumination Execute control. The plurality of illumination LEDs 80 are arranged on a plurality of concentric circles having different diameters around the optical axis of the lens assembly 36 of the barcode reader 2 described later. The plurality of illumination LEDs 80 mounted on the internal illumination unit 5 (LED substrate 14) are controlled to be lit in divided areas as will be described later. The LED board 14 is provided with a constant current circuit for supplying a constant current to a plurality of illumination LEDs belonging to each area.
(6) Connector board 15:
This is a board constituting an input / output interface with an external power supply, IO, RS232C, Ethernet (registered trademark), and external lighting unit 4. The external lighting unit 4 is supplied with power from the power supply board 11.

図3、図4を参照して、メイン基板10と電源基板11とは互いに対向して配置され、このメイン基板10と電源基板11の各々の側縁で挟まれた領域に、これらメイン基板10と電源基板11と直交するようにしてサブ基板12が配設されている。サブ基板12とメイン基板10の配置位置を互いに置換してもよい。メイン基板10、電源基板11、サブ基板12は、バーコードリーダ2は矩形断面のメインケース6の4つの側面のうち3つの側面に隣接し且つこの3つの側面の各々に沿って配設される。そして、このメイン基板10、電源基板11、サブ基板12で囲まれた空間にCMOS基板13が位置し、このCMOS基板13は各基板10〜12と直交する一つの鉛直面に配設される。また、このCMOS基板13と平行に且つCMOS基板13を挟んで互いに対峙してLED基板14とコネクタ基板15が位置決めされる。   Referring to FIGS. 3 and 4, main board 10 and power supply board 11 are arranged to face each other, and these main boards 10 are located in regions sandwiched between the side edges of main board 10 and power supply board 11. The sub-board 12 is disposed so as to be orthogonal to the power supply board 11. The arrangement positions of the sub board 12 and the main board 10 may be replaced with each other. The main board 10, the power supply board 11, and the sub board 12 are arranged along the three side surfaces of the bar code reader 2 adjacent to three side surfaces of the four side surfaces of the main case 6 having a rectangular cross section. . A CMOS substrate 13 is located in a space surrounded by the main substrate 10, the power supply substrate 11, and the sub substrate 12, and the CMOS substrate 13 is disposed on one vertical plane orthogonal to the substrates 10 to 12. Further, the LED substrate 14 and the connector substrate 15 are positioned parallel to the CMOS substrate 13 and facing each other with the CMOS substrate 13 interposed therebetween.

図5は、上述した各基板10〜15の接続関係を説明するための図である。メイン基板10は、電源基板11と第1のFFC20(Flexible Flat Cable)で接続され、サブ基板12と第2のFFC21で接続され、CMOS基板13とFPC(Flexible Printed Circuit)22で接続され、内部照明ユニット4LED基板14と第3のFFC23で接続され、コネクタ基板15と第1のハーネス24で接続されている。電源基板11は、また、内部照明ユニット5のLED基板14と第2のハーネス25で接続され、LED基板14に実装された照明用LEDを発光させるための電源が電源基板11からLED基板14に供給される。電源基板11とコネクタ基板15は、2本のハーネス26、27とFFC28で接続されている。   FIG. 5 is a diagram for explaining the connection relationship between the substrates 10 to 15 described above. The main board 10 is connected to the power supply board 11 by a first FFC 20 (Flexible Flat Cable), connected by a sub board 12 and a second FFC 21, and connected to the CMOS board 13 by an FPC (Flexible Printed Circuit) 22, The lighting unit 4 is connected to the LED board 14 by the third FFC 23, and is connected to the connector board 15 by the first harness 24. The power supply board 11 is also connected to the LED board 14 of the internal lighting unit 5 by the second harness 25, and a power source for causing the illumination LED mounted on the LED board 14 to emit light is supplied from the power supply board 11 to the LED board 14. Supplied. The power supply board 11 and the connector board 15 are connected by two harnesses 26 and 27 and the FFC 28.

図5を再び参照して、メイン基板10と電源基板11とが略同じ大きさ及び形状を有している点に注目すべきである。換言すれば、メイン基板10は、電源基板11と略同じ大きさ及び形状となるように設計され、この制約のためにメイン基板10に搭載できなかった電子部品がサブ基板12に搭載される。   Referring to FIG. 5 again, it should be noted that the main board 10 and the power supply board 11 have substantially the same size and shape. In other words, the main board 10 is designed to have substantially the same size and shape as the power supply board 11, and electronic components that could not be mounted on the main board 10 due to this restriction are mounted on the sub board 12.

図6、図7を参照して、メイン基板10、電源基板11、サブ基板12、CMOS基板13は、樹脂成型品であるシャーシ30に組み付けられる。シャーシ30は、図7から最も良く分かるように、メインケース6の断面形状とほぼ相似形の略正方形の断面形状を有するボックス形状を有し、このボックス形状の一つの側面30aを閉塞し、他の5つの面を開放した形態を有している。メイン基板10、電源基板11、サブ基板12は、開放した3つの側面10b〜10dに夫々配設される。樹脂成型品のシャーシ30は前後に開放しており、その一端開口30fからカメラモジュール32が挿入され(図7)、シャーシ30の中に挿入されたカメラモジュール32は、その周囲にメイン基板10、電源基板11、サブ基板12が位置し、これらメイン基板10、電源基板11、サブ基板12によってカメラモジュール32が包囲された状態になる。   6 and 7, the main substrate 10, the power supply substrate 11, the sub substrate 12, and the CMOS substrate 13 are assembled to a chassis 30 that is a resin molded product. As best seen in FIG. 7, the chassis 30 has a box shape having a substantially square cross-sectional shape that is substantially similar to the cross-sectional shape of the main case 6, and closes one side surface 30a of this box shape. The five surfaces are open. The main substrate 10, the power supply substrate 11, and the sub substrate 12 are disposed on the three open side surfaces 10b to 10d, respectively. The resin molded chassis 30 is open front and rear, and a camera module 32 is inserted through one end opening 30f (FIG. 7). The camera module 32 inserted into the chassis 30 is surrounded by the main substrate 10, The power supply board 11 and the sub board 12 are located, and the camera module 32 is surrounded by the main board 10, the power supply board 11 and the sub board 12.

図8、図9を参照して、カメラモジュール32は、アルミニウムなどのダイキャスト品からなるカメラホルダ35を有し、このカメラホルダ35は、矩形断面のホルダ本体35aと、ホルダ本体35aの互いに対向する側面から前方に且つ互いに平行に延びる一対のアーム35bと、一対のアーム35bの前端から互いに離れる方向に延びる一対の取付部35cとを有している。ホルダ本体35aには、後方に向けて開放した後端面にCMOS基板13が複数のネジ37によって固定される(図8)。   Referring to FIGS. 8 and 9, the camera module 32 has a camera holder 35 made of a die-cast product such as aluminum. The camera holder 35 is opposed to a holder main body 35a having a rectangular cross section and a holder main body 35a. A pair of arms 35b extending forward and parallel to each other from the side surfaces, and a pair of attachment portions 35c extending in the direction away from the front ends of the pair of arms 35b. The CMOS substrate 13 is fixed to the holder main body 35a by a plurality of screws 37 on the rear end surface opened rearward (FIG. 8).

メイン基板10と電源基板11の位置決めのために、シャーシ30には6つの爪38が一体成形されており(図7)、この6つの爪38を使ってメイン基板10と、これに対向する電源基板11が、シャーシ30の開放した互いに対向する2つの側面30b、30dの夫々に位置決めされる。メイン基板10には爪38を受け入れる切り欠き10aが形成されている(図7)。電源基板11にも同様に切り欠き11aが形成されている(図3)。図7を参照して、矩形のサブ基板12は、対角線上の角隅部に一対の透孔12a、12bを有し、この一対の透孔12a、12bに対応してシャーシ30にも一対の透孔30g(一方の透孔は作図上の理由から図面には現れていない)が形成され、これら透孔12a、12b、30gを整合させることによりサブ基板12はシャーシ30にネジ止めされる。   For positioning the main board 10 and the power supply board 11, six claws 38 are integrally formed on the chassis 30 (FIG. 7), and the main board 10 and the power supply opposite to the main board 10 are formed using the six claws 38. The substrate 11 is positioned on each of the two opposite side surfaces 30b and 30d that the chassis 30 is open. The main substrate 10 is formed with a notch 10a for receiving the claw 38 (FIG. 7). Similarly, a notch 11a is formed in the power supply substrate 11 (FIG. 3). Referring to FIG. 7, rectangular sub-board 12 has a pair of through holes 12a and 12b at diagonal corners, and a pair of chassis 30 corresponding to the pair of through holes 12a and 12b. A through hole 30g (one through hole is not shown in the drawing for drawing reasons) is formed, and the sub-board 12 is screwed to the chassis 30 by aligning these through holes 12a, 12b, 30g.

ポインタ用LEDの配置(図10)
カメラモジュール32は円筒状のレンズ組立体36を有し、このレンズ組立体36はカメラホルダ35の一対のアーム35b、35bの間に配設されている。図10を参照して、ホルダ本体35aの後端開口には、CMOS基板13がネジ37(図8)を使って固定される。CMOS基板13には、一対のポインタ用LED40、40が搭載されている。このポインタ用LED40に関連して、ホルダ本体35aには、各ポインタ用LED40の直ぐ前方に拡散シート41が配設されている。2つのポインタ用LED40の光は、夫々、拡散シート41を通じて且つレンズ組立体36を通じて前方に照射され、バーコードリーダ2の視野範囲の中の互いに離間した2点を指し示す。図10の参照符合43は光学読取素子であるCMOSイメージセンサを示し、光学読取素子43はCMOS基板13に実装されている。
Arrangement of pointer LEDs (FIG. 10) :
The camera module 32 includes a cylindrical lens assembly 36, and the lens assembly 36 is disposed between a pair of arms 35 b and 35 b of the camera holder 35. Referring to FIG. 10, the CMOS substrate 13 is fixed to the rear end opening of the holder main body 35a using screws 37 (FIG. 8). A pair of pointer LEDs 40 and 40 are mounted on the CMOS substrate 13. In relation to the pointer LED 40, a diffusion sheet 41 is disposed in the holder body 35a immediately in front of each pointer LED 40. The lights of the two pointer LEDs 40 are irradiated forward through the diffusion sheet 41 and the lens assembly 36, respectively, and indicate two points separated from each other in the field of view of the barcode reader 2. Reference numeral 43 in FIG. 10 indicates a CMOS image sensor which is an optical reading element, and the optical reading element 43 is mounted on the CMOS substrate 13.

ポインタ用LED40をカメラモジュール32に内蔵させたことにより、光学読取素子43とポインタ用LED40との相対位置を一定に保つのが容易になると共にバーコードリーダ2を小型化するのが容易になる。特に、ポインタ用LED40がバーコードリーダ2のレンズ組立体36を光学読取素子43と共用することによって、ポインタ用LED40のための専用のレンズが不要となるためバーコードリーダ2の小型化が容易である。   By incorporating the pointer LED 40 in the camera module 32, the relative position between the optical reading element 43 and the pointer LED 40 can be easily maintained, and the bar code reader 2 can be easily downsized. In particular, since the pointer LED 40 shares the lens assembly 36 of the barcode reader 2 with the optical reading element 43, a dedicated lens for the pointer LED 40 is not required, and the barcode reader 2 can be easily downsized. is there.

カメラモジュール32は、光学読取素子(撮像素子)43とレンズ組立体36との間の距離が従来との対比で非常に大きく、高い分解能でバーコードやQRコードなどの光学情報を超微小な領域まで読み取ることができるという特徴を有している。このように従来との対比で長さ寸法が大きいカメラモジュール32をバーコードリーダ2の中に収容するとき、上述した基板配置に注目すべきである。すなわち、カメラモジュール32をメイン基板10、電源基板11、サブ基板12で囲むという技術的思想を導入することで、バーコードリーダ2を小型化しつつ長尺のカメラモジュール32をアウターケースの中に収容することができる。   In the camera module 32, the distance between the optical reading element (imaging element) 43 and the lens assembly 36 is very large as compared with the conventional one, and optical information such as a bar code and a QR code is very minute with high resolution. It has the feature that it can be read to the area. Thus, when the camera module 32 having a large length in comparison with the conventional case is accommodated in the barcode reader 2, attention should be paid to the above-described substrate arrangement. That is, by introducing the technical idea that the camera module 32 is surrounded by the main board 10, the power supply board 11, and the sub board 12, the long camera module 32 is accommodated in the outer case while downsizing the barcode reader 2. can do.

ちにみに、カメラモジュール32のスペックは次のとおりである。
(1)光学倍率:0.6〜1.0倍(実施例では、0.823倍);
(2)視野範囲:7.5mm×4.8mm〜4.5mm×2.9mm(実施例では、5.5mm×3.5mm);
(3)光学読取素子から先端のレンズまでの距離:35mm以上(実施例では40mm)。
Incidentally, the specifications of the camera module 32 are as follows.
(1) Optical magnification: 0.6 to 1.0 times (in the examples, 0.823 times);
(2) Field of view range: 7.5 mm x 4.8 mm to 4.5 mm x 2.9 mm (5.5 mm x 3.5 mm in the example);
(3) Distance from the optical reading element to the front lens: 35 mm or more (40 mm in the embodiment).

図11は、シャーシ30に基板10、11、12及びカメラモジュール32を組み付けた組立体の斜視図である。図12は、メイン基板10、電源基板11の上に、夫々、クッション性を備え且つ優れた熱伝導性を備えた放熱部材として熱伝導ゴム45を設置した状態を示す。バーコードリーダ2の放熱性に関して必要があれば、図12に例示した態様で熱伝導ゴム45を添設した状態で矩形断面のメインケース6(図2)に収容される(図13)。   FIG. 11 is a perspective view of an assembly in which the substrates 10, 11, 12 and the camera module 32 are assembled to the chassis 30. FIG. 12 shows a state in which a heat conductive rubber 45 is installed on the main board 10 and the power supply board 11 as a heat radiating member having cushioning properties and excellent heat conductivity. If there is a need for heat dissipation of the barcode reader 2, it is accommodated in the main case 6 (FIG. 2) having a rectangular cross section with the heat conducting rubber 45 attached in the manner illustrated in FIG. 12 (FIG. 13).

伝熱性に優れた金属材料からなる多角形断面のメインケース6の異なる側面に隣接し且つこれに沿ってメイン基板10と電源基板11を配置したことにより、これらメイン基板10及び電源基板11の熱を外部に放出し易くなると共に、このメイン基板10と電源基板11で囲まれた空間にカメラモジュール32を収容することができるため、バーコードリーダ2の一層の小型化が可能である。特に、メイン基板10、電源基板11とメインケース6との間に熱伝導ゴム45のような放熱部材を介在させることで放熱効率を高めることができ、この観点からもバーコードリーダ2の一層の小型化が可能になる。   Since the main board 10 and the power supply board 11 are disposed adjacent to and along different side surfaces of the main case 6 having a polygonal cross section made of a metal material having excellent heat conductivity, the heat of the main board 10 and the power supply board 11 can be obtained. Since the camera module 32 can be accommodated in a space surrounded by the main board 10 and the power supply board 11, the barcode reader 2 can be further reduced in size. In particular, heat dissipation efficiency can be increased by interposing a heat dissipation member such as the heat conductive rubber 45 between the main board 10, the power supply board 11 and the main case 6. Miniaturization is possible.

図13及び図15の参照符合46はリヤケースを示し、メインケース6の後端開口に脱着可能に装着されてメインケース6を閉塞する。リヤケース46にはコネクタ基板15が取付けられており、このコネクタ基板15はリヤケース46にネジ47を使って固定される(図15)。バーコードリーダ2のアウターケースを構成するメインケース6、フロントケース7、リヤケース46は、例えばメインケース6を熱伝導に優れた金属材料、例えばアルミニウムなどの伝熱性材料から作られるのがよい。   Reference numeral 46 in FIGS. 13 and 15 denotes a rear case, which is detachably attached to the rear end opening of the main case 6 and closes the main case 6. A connector board 15 is attached to the rear case 46, and the connector board 15 is fixed to the rear case 46 with screws 47 (FIG. 15). The main case 6, the front case 7, and the rear case 46 constituting the outer case of the barcode reader 2 are preferably made of, for example, a metal material excellent in heat conduction, for example, a heat transfer material such as aluminum.

図6を参照して、メイン基板10及び電源基板11には、その前端幅狭部に夫々透孔50、51を有する。バーコードリーダ2のメインケース6は、円筒状のフロントケース7の内部まで前方に且つ互いに平行に延びるロッド状の一対の延長部分6aを有する(図15)。   Referring to FIG. 6, the main board 10 and the power supply board 11 have through holes 50 and 51 in the narrow part of the front end, respectively. The main case 6 of the barcode reader 2 has a pair of rod-like extension portions 6a extending forward and parallel to the inside of the cylindrical front case 7 (FIG. 15).

メインケース6の前端部を抽出した図14を参照して、メインケース6の一対の延長部分6aには、メイン基板10及び電源基板11の前端幅狭部の透孔50、51に関連した透孔52、53が形成され、この透孔52、53に挿入したネジ54を使ってメイン基板10及び電源基板11がメインケース6(延長部分6a)に固定される。これにより、シャーシ30の3つの爪38で位置決めされたメイン基板10、電源基板11は、その各々が、メインケース6の前方に延びる延長部分6aに1本のネジ54によって固定される。換言すれば、この合計2本のネジ54によってシャーシ30がメインケース6に固定された状態となる。ネジ54を締結する作業及びネジ54取り外す作業を容易するために、メイン基板10の透孔50及び電源基板11の透孔51に、ネジ54が螺着するナット55を実装するのが好ましい。メインケース6の一対のロッド状の延長部分6aには、また、その前端面にLED基板14がネジ60を使って固定される。このリング状のLED基板14がレンズ組立体36の周囲に配置され、LED基板14に搭載された複数の照明用LED80によって、レンズ組立体36の外周側に位置するリング状の面光源が形成される。   Referring to FIG. 14 in which the front end portion of the main case 6 is extracted, the pair of extension portions 6 a of the main case 6 are formed in the through holes 50 and 51 associated with the narrow front end width portions of the main board 10 and the power supply board 11. Holes 52 and 53 are formed, and the main board 10 and the power supply board 11 are fixed to the main case 6 (extension portion 6a) using screws 54 inserted into the through holes 52 and 53. As a result, the main board 10 and the power board 11 positioned by the three claws 38 of the chassis 30 are each fixed to the extended portion 6 a extending forward of the main case 6 by one screw 54. In other words, the chassis 30 is fixed to the main case 6 by the two screws 54 in total. In order to facilitate the work of fastening the screw 54 and the work of removing the screw 54, it is preferable to mount a nut 55 to which the screw 54 is screwed into the through hole 50 of the main board 10 and the through hole 51 of the power supply board 11. The LED board 14 is fixed to the front end face of the pair of rod-like extension portions 6 a of the main case 6 using screws 60. The ring-shaped LED substrate 14 is arranged around the lens assembly 36, and a plurality of illumination LEDs 80 mounted on the LED substrate 14 form a ring-shaped surface light source positioned on the outer peripheral side of the lens assembly 36. The

図17は、メインケース6を正面から見た図である。メインケース6は、その前端面に左右一対の取付座62を有し、この一対の取付座62を使ってカメラモジュール32がメインケース6に固定される。図16は、メインケース6の中にカメラモジュール32を内蔵させた状態の正面図である、図17は、カメラモジュール32を取り除いた状態で描いたメインケース6の正面図である。   FIG. 17 is a view of the main case 6 as viewed from the front. The main case 6 has a pair of left and right mounting seats 62 on its front end surface, and the camera module 32 is fixed to the main case 6 using the pair of mounting seats 62. FIG. 16 is a front view of the main case 6 with the camera module 32 incorporated therein. FIG. 17 is a front view of the main case 6 drawn with the camera module 32 removed.

金属成型品であるメインケース6にカメラモジュール32を固定することで、カメラモジュール32をシャーシ30に固定するのに比べてカメラモジュール32の位置決め精度を高めて視野範囲の位置決め精度を高めることができる。   By fixing the camera module 32 to the main case 6 that is a metal molded product, the positioning accuracy of the camera module 32 can be increased and the positioning accuracy of the visual field range can be increased as compared with the case where the camera module 32 is fixed to the chassis 30. .

バーコードリーダ2が内蔵する主要な基板、つまり電源基板10、メイン基板12などと、レンズ組立体36を含むカメラモジュール32とをシャーシに組み付けた組立体をアウターケース(メインケース6)に内蔵させる構成を採用したことにより、複数種類のカメラモジュール32を用意することで同じアウターケースを使って複数種類のバーコードリーダ2をユーザに提供することができる。また、異なる種類のカメラモジュール32に対して、同一の電源基板10やメイン基板12などを採用し且つ同じアウターケースを使ってバーコードリーダ2を製造することができる。   An assembly in which the main board incorporated in the barcode reader 2, that is, the power supply board 10, the main board 12 and the like, and the camera module 32 including the lens assembly 36 are assembled in the chassis is built in the outer case (main case 6). By adopting the configuration, by preparing a plurality of types of camera modules 32, a plurality of types of barcode readers 2 can be provided to the user using the same outer case. Further, it is possible to manufacture the barcode reader 2 using the same power supply board 10 and the main board 12 for the different types of camera modules 32 and using the same outer case.

前述したカメラモジュール32の左右一対の取付部35cがメインケース6の左右一対の取付座62に着座され、4本のネジ63を使って各取付部35cが、対応する取付座62に固定される(図16)。   The pair of left and right mounting portions 35 c of the camera module 32 described above are seated on the pair of left and right mounting seats 62 of the main case 6, and each mounting portion 35 c is fixed to the corresponding mounting seat 62 using four screws 63. (FIG. 16).

バーコードリーダ2の機能構成(図18)
図18を参照して、バーコードリーダ2の機能構成を説明する。バーコードリーダ2は、第1、第2のCPU101、102と、共有バス103と、共有メモリ104と、前述した光学読取素子(CMOS)43と、撮像制御回路105とを有する。また、バーコードリーダ2は、ネットワークコントローラ106と、シリアル通信コントローラ107と、フラッシュメモリ108と、入出力コントローラ110と、DMAC111とを有している。
Functional configuration of the barcode reader 2 (FIG. 18) :
The functional configuration of the barcode reader 2 will be described with reference to FIG. The barcode reader 2 includes first and second CPUs 101 and 102, a shared bus 103, a shared memory 104, the above-described optical reading element (CMOS) 43, and an imaging control circuit 105. The barcode reader 2 includes a network controller 106, a serial communication controller 107, a flash memory 108, an input / output controller 110, and a DMAC 111.

第1、第2のCPU101、102は、共有バス103を介して、共有メモリ104にアクセスするプロセッサであり、所定の演算処理回路からなる。共有バス103は、第1、第2のCPU101、102に共通のデータバスである。共有メモリ104は、撮像パラメータやデコードパラメータ、読取画像、デコード結果を保持するための揮発性の半導体記憶素子からなり、典型的にはRAM(ランダムアクセスメモリ)である。   The first and second CPUs 101 and 102 are processors that access the shared memory 104 via the shared bus 103, and include predetermined arithmetic processing circuits. The shared bus 103 is a data bus common to the first and second CPUs 101 and 102. The shared memory 104 is composed of a volatile semiconductor memory element for holding imaging parameters, decoding parameters, read images, and decoding results, and is typically a RAM (Random Access Memory).

光学読取素子43は、ワークからの反射光を受光して読取画像を生成する例えばCMOSイメージセンサで構成される。撮像制御回路105は、光学読取素子43からの画像信号を増幅する増幅器、増幅後の画像信号をデジタル信号に変換するA/D変換器などからなり、共有メモリ104内の撮像パラメータ、例えば、露光時間、ゲイン、フィルタ処理の有無に基づいて光学読取素子43を制御する。   The optical reading element 43 is composed of, for example, a CMOS image sensor that receives reflected light from a work and generates a read image. The imaging control circuit 105 includes an amplifier that amplifies the image signal from the optical reading element 43, an A / D converter that converts the amplified image signal into a digital signal, and the like. The imaging parameter in the shared memory 104, for example, exposure The optical reading element 43 is controlled based on time, gain, and presence / absence of filtering.

DMAC(Direct Memory Access Controller:DMAコントローラ)111は、光学読取素子43により生成された読取画像を撮像制御回路105から共有バス103を介して共有メモリ104へ転送する。   A DMAC (Direct Memory Access Controller: DMA controller) 111 transfers a read image generated by the optical reading element 43 from the imaging control circuit 105 to the shared memory 104 via the shared bus 103.

ネットワークコントローラ106は、LAN112(図1)を介してパーソナルコンピュータ3などの外部機器と通信する通信回路であり、例えば、EMAC(Ethernet Media Access Controller)からなる。シリアル通信コントローラ107は、シリアル通信インターフェースを介して外部機器と通信する通信回路であり、例えば、UART(Universal Asynchronous Receiver Transmitter)からなる。   The network controller 106 is a communication circuit that communicates with an external device such as the personal computer 3 via the LAN 112 (FIG. 1), and includes, for example, an EMAC (Ethernet Media Access Controller). The serial communication controller 107 is a communication circuit that communicates with an external device via a serial communication interface, and includes, for example, a UART (Universal Asynchronous Receiver Transmitter).

フラッシュメモリ108は、画像ファイルを保持するための不揮発性の半導体記憶素子からなり、例えば、SD(Secure Digital、登録商標)カードなどの着脱可能なメモリカードが用いられる。入出力コントローラ110は、フラッシュメモリ108に対する画像ファイルの書き込み及び読み出しを制御する。   The flash memory 108 is composed of a nonvolatile semiconductor memory element for holding an image file. For example, a removable memory card such as an SD (Secure Digital (registered trademark) card) is used. The input / output controller 110 controls writing and reading of an image file with respect to the flash memory 108.

第1CPU101は、ネットワークコントローラ106又はシリアル通信コントローラ107がコマンドを受信した場合に、当該コマンドが読み取りを開始させるための読取開始コマンドであれば、撮像制御回路105に対して読取開始を指示する。第1CPU101は、また、光学読取素子43から受け取った読取画像を共有メモリ104に転送する。   When the network controller 106 or the serial communication controller 107 receives a command, the first CPU 101 instructs the imaging control circuit 105 to start reading if the command is a reading start command for starting reading. The first CPU 101 also transfers the read image received from the optical reading element 43 to the shared memory 104.

第2CPU102は、第1CPU101からのデコード処理要求に基づいて、共有メモリ104内から読取画像を読み出してデコード処理するデコード手段を構成する。第2CPU102でデコード処理が終了したら、そのデコード結果を共有メモリ104内に書き込む。   The second CPU 102 constitutes a decoding unit that reads the read image from the shared memory 104 and decodes it based on the decode processing request from the first CPU 101. When the second CPU 102 completes the decoding process, the decoding result is written into the shared memory 104.

図19は、図18のバーコードリーダ2の動作の一例を模式的に示した説明図であり、画像バッファ115及び共有メモリ104に格納されている設定バンク116が示されている。DMAC111により共有メモリ104内に転送された読取画像は、画像バッファ115として保持される。この画像バッファ115は、読取画像を保持するための画像記憶領域117と、読取画像の参照タスク数を保持するためのタスク数記憶領域118と、共有メモリ104に記憶されている設定バンク116を指定するバンク番号を保持するためのバンク番号記憶領域119からなる。   FIG. 19 is an explanatory diagram schematically showing an example of the operation of the barcode reader 2 of FIG. 18, and shows the setting bank 116 stored in the image buffer 115 and the shared memory 104. The read image transferred to the shared memory 104 by the DMAC 111 is held as an image buffer 115. The image buffer 115 designates an image storage area 117 for holding a read image, a task number storage area 118 for holding the reference task number of the read image, and a setting bank 116 stored in the shared memory 104. A bank number storage area 119 for holding a bank number to be stored.

画像記憶領域117には読取画像が格納される。設定バンク116は、撮像パラメータやデコードパラメータなどの各種設定が保持される。これらの撮像パラメータ、デコードパラメータはパーソナルコンピュータ3を使って設定される。設定バンク116は、上述したように、撮像パラメータとデコードパラメータとを含む。   The image storage area 117 stores a read image. The setting bank 116 holds various settings such as imaging parameters and decoding parameters. These imaging parameters and decoding parameters are set using the personal computer 3. As described above, the setting bank 116 includes imaging parameters and decoding parameters.

共有メモリ104には複数の設定バンク116が記憶されており(図20)、この設定バンク116は第1、第2のCPU101、102によって夫々参照される。バーコードリーダ2は、一つのバンク116に基づいて読み取りを実行したときに読み取りに失敗したときには、次のバンク116に基づいて読み取りが試行され、この第2のバンク116でも読み取りに失敗したときには、次のバンク116に基づいて読み取りを試行するというように、読み取りが成功するまで次々とバンク116の切り替えが行われる。   A plurality of setting banks 116 are stored in the shared memory 104 (FIG. 20), and the setting banks 116 are referred to by the first and second CPUs 101 and 102, respectively. When the barcode reader 2 executes reading based on one bank 116 and fails in reading, the barcode reader 2 attempts reading based on the next bank 116, and when reading fails also in the second bank 116, Banks 116 are successively switched until reading succeeds, such as trying reading based on the next bank 116.

撮像系の設定パラメータの代表例を挙げれば次の通りである。
(1)照明のON/OFF;
(2)照明の照射強度;
(3)照明の点灯パターン;
(4)露光時間;
(5)ゲイン;
(6)オフセット;
(7)ダイナミックレンジ;
(8)取り込み範囲。
Typical examples of setting parameters of the imaging system are as follows.
(1) Lighting ON / OFF;
(2) Illumination intensity of illumination;
(3) Lighting pattern;
(4) Exposure time;
(5) Gain;
(6) offset;
(7) Dynamic range;
(8) Uptake range.

読取系の設定パラメータ(デコード設定)の代表例を挙げれば次の通りである。
(1)シンボル(光学情報)の種類;
(2)フィルタ種類;
(3)フィルタ回数;
(4)チルト角;
(5)PPC;
(6)デコードタイムアウト;
(7)取り込み範囲。
A typical example of the reading system setting parameter (decoding setting) is as follows.
(1) Types of symbols (optical information);
(2) Filter type;
(3) Number of filters;
(4) Tilt angle;
(5) PPC;
(6) Decode timeout;
(7) Capture range.

バーコードリーダ2の撮像シーケンス(図21)
第1CPU101は撮像処理を行うと共に光学読取素子(CMOS)43から転送された読取画像を共有メモリ104に格納する。他方、第2CPU102は共有メモリ104に格納された読取画像に対してデコード処理を行う。この第2CPU102がデコード処理を行っている最中に、これに並行して第1CPU101は次の画像処理を実行する。
Barcode reader 2 imaging sequence (FIG. 21) :
The first CPU 101 performs an imaging process and stores the read image transferred from the optical reading element (CMOS) 43 in the shared memory 104. On the other hand, the second CPU 102 performs a decoding process on the read image stored in the shared memory 104. While the second CPU 102 is performing the decoding process, the first CPU 101 executes the next image process in parallel.

第1CPU101は、第2CPU102にデコード処理要求を行った後一定時間が経過した時点で次の撮像処理を実行する。上記のデコード処理要求は、第1CPU101が撮像処理を完了したときに行われる。このデコード処理要求から次の撮像処理を実行するまでの時間を撮像間隔P(図21)と呼ぶと、第1CPU101は、1つの撮像処理が完了すると、上記撮像間隔Pとして設定されている時間が経過するのを待って次の撮像処理が実行される。   The first CPU 101 executes the next imaging process when a certain time has elapsed after making a decoding process request to the second CPU 102. The above decoding process request is made when the first CPU 101 completes the imaging process. When the time from the decoding process request to the execution of the next imaging process is called an imaging interval P (FIG. 21), the first CPU 101 completes the time set as the imaging interval P when one imaging process is completed. The next imaging process is executed after the passage of time.

撮像間隔Pは次のように規定される。
(1)デコードタイムアウト時間Taから撮像時間Tbを引いた値を撮像間隔Pとする(下記の式1)。この撮像間隔Pは、バーコードリーダ2の内部で演算によって求められる。
The imaging interval P is defined as follows.
(1) A value obtained by subtracting the imaging time Tb from the decoding time-out time Ta is defined as an imaging interval P (Equation 1 below). This imaging interval P is obtained by calculation inside the barcode reader 2.

(式1)P=Ta−Tb     (Formula 1) P = Ta-Tb

ここに、デコードタイムアウト時間Taは、ユーザによって予め設定された最適値であり、第2CPU102が成功裏にデコード処理に要する合理的な時間である。撮像時間Tbは、露光時間とデータ転送速度で一義的に決まる値であり、データ転送速度は、画像の取り込み範囲の指定によって決まる。   Here, the decode timeout time Ta is an optimum value set in advance by the user, and is a reasonable time required for the second CPU 102 to successfully perform the decoding process. The imaging time Tb is a value uniquely determined by the exposure time and the data transfer rate, and the data transfer rate is determined by the designation of the image capture range.

上述の撮像間隔Pは各設定バンク116のパラメータに従って演算され、そして、対応する設定バンク116に記憶される。   The above-described imaging interval P is calculated according to the parameters of each setting bank 116 and stored in the corresponding setting bank 116.

(2)ユーザが撮像間隔Pを設定する。
ユーザは典型的には撮像間隔Pとして値「ゼロ」が設定される。
(2) The user sets the imaging interval P.
The user typically sets the value “zero” as the imaging interval P.

専用外部照明ユニット4(図22〜図25)
図22は、バーコードリーダ2に専用の外部照明ユニット4を装着した状態を示し、参照符号70は、バーコードリーダ2と外部照明ユニット4とを接続するケーブルを示す。外部照明ユニット4にはバーコードリーダ2から電源が供給される。
Dedicated external lighting unit 4 (FIGS. 22 to 25) :
FIG. 22 shows a state in which the dedicated external illumination unit 4 is attached to the barcode reader 2, and reference numeral 70 denotes a cable that connects the barcode reader 2 and the external illumination unit 4. The external illumination unit 4 is supplied with power from the barcode reader 2.

リング状の外形形状を備えた外部照明ユニット4は円形の外形輪郭を有し、その中心に円形開口4aを備え、この円形開口4aの中心とバーコードリーダ2のレンズ組立体36の光軸とが一致するようにバーコードリーダ2が位置決めされる。このバーコードリーダ2の位置決めのためにスタンド71が用意される。スタンド71は、後に詳しく説明するように、外部照明ユニット4の背面にボルト止めされる一対のプレート部材72と、このプレート部材72の任意の高さ位置にバーコードリーダ2を定置させるための取付金具73とで構成されている。   The external illumination unit 4 having a ring-shaped outer shape has a circular outer contour, and includes a circular opening 4a at the center thereof. The center of the circular opening 4a and the optical axis of the lens assembly 36 of the barcode reader 2 The bar code reader 2 is positioned so as to match. A stand 71 is prepared for positioning the barcode reader 2. As will be described in detail later, the stand 71 has a pair of plate members 72 bolted to the back surface of the external lighting unit 4 and an attachment for placing the barcode reader 2 at an arbitrary height position of the plate members 72. It is comprised with the metal fitting 73.

先ず、外部照明ユニット4の構造について図23を参照して説明する。図23は外部照明ユニット4の分解斜視図である。外部照明ユニット4は、リング状の円筒形状のフロントケース75と、リヤケース76とからなるアウターケースの内部に、LED基板77と回路基板78とがスタックコネクタ79(図23)及び第1のスペーサ82(図25)を介して積層した状態で収容されている。   First, the structure of the external illumination unit 4 will be described with reference to FIG. FIG. 23 is an exploded perspective view of the external lighting unit 4. In the external lighting unit 4, an LED board 77 and a circuit board 78 are arranged in an outer case including a ring-shaped cylindrical front case 75 and a rear case 76. (FIG. 25) is housed in a stacked state.

リング状の円筒形状のフロントケース75の断面リング状の形状とほぼ同じ大きさのリング状のLED基板77には複数の照明用LED80が実装されている。このリング状のLED基板77とほぼ同じ大きさであるのが好ましいリング状の回路基板78には、LED駆動回路の他に、外部照明ユニット4に搭載された複数のLED80の点灯を制御すると共にバーコードリーダ2との通信を制御するCPU、メモリM(図1)が実装されている。図25を参照して、LED基板77と回路基板78とは電気的に接続されるのは勿論であるが、これらLED基板77と回路基板78とは上述した第1のスペーサ82によって相互に固定され、また、LED基板77は第2のスペーサ81によってリヤケース76に固定される。換言すると、回路基板78はLED基板77を介してリヤケース76に固定される。   A plurality of LEDs for illumination 80 are mounted on a ring-shaped LED substrate 77 having the same size as the ring-shaped cross section of the ring-shaped cylindrical front case 75. The ring-shaped circuit board 78, which is preferably substantially the same size as the ring-shaped LED board 77, controls lighting of a plurality of LEDs 80 mounted on the external illumination unit 4 in addition to the LED drive circuit. A CPU that controls communication with the barcode reader 2 and a memory M (FIG. 1) are mounted. Referring to FIG. 25, the LED board 77 and the circuit board 78 are of course electrically connected, but the LED board 77 and the circuit board 78 are fixed to each other by the first spacer 82 described above. In addition, the LED substrate 77 is fixed to the rear case 76 by the second spacer 81. In other words, the circuit board 78 is fixed to the rear case 76 via the LED board 77.

フロントケース75に、例えばフレネルレンズ(図示せず)を採用したときに、LED基板77の照明用LED80とフロントケース75との相対的な位置決めが重要となる。図25の例であれば、LED基板77がリヤケース76を介してフロントケース75に位置決めされるため、これによりフロントケース75とLED基板77とが相対的に位置決めされるだけでなく、LED基板77、回路基板78の組み付け作業が容易である。   When, for example, a Fresnel lens (not shown) is adopted for the front case 75, the relative positioning of the illumination LED 80 of the LED substrate 77 and the front case 75 becomes important. In the example of FIG. 25, the LED board 77 is positioned on the front case 75 via the rear case 76, so that the front case 75 and the LED board 77 are not only relatively positioned, but also the LED board 77. Assembling work of the circuit board 78 is easy.

第1の変形例として、LED基板77と回路基板78の設置構造に関し、LED基板77を介在させることなく直接的に回路基板78をリヤケース76にスペーサを介して固定するようにしてもよい。第2の変形例として、回路基板78をリヤケース76にスペーサを介して固定すると共にこの回路基板78にLED基板77を他のスペーサを介して固定するようにしてもよい。   As a first modification, regarding the installation structure of the LED board 77 and the circuit board 78, the circuit board 78 may be directly fixed to the rear case 76 via a spacer without the LED board 77 interposed. As a second modification, the circuit board 78 may be fixed to the rear case 76 via a spacer, and the LED board 77 may be fixed to the circuit board 78 via another spacer.

専用外部照明ユニット4の種類(図27、図28)
専用の外部照明ユニット4として2つの機種が用意されている。図27は、大径の外部照明ユニット4BのLED基板77が図示されている。図28は、小径の外部照明ユニット4AのLED基板77の平面図である。この2種類の外部照明ユニット4は、前述したように共にCPUとメモリMを内蔵している。そして、このメモリMに機種情報が記憶されており、これら外部照明ユニット4A、4Bがバーコードリーダ2に接続されたときには、バーコードリーダ2は、外部照明ユニット4のメモリMに記憶されている機種情報を取り込むことで該外部照明ユニット4を認識し、これにより外部照明ユニット4との接続設定が実行される。
Type of dedicated external lighting unit 4 (FIGS. 27 and 28) :
Two types of external lighting units 4 are prepared. FIG. 27 illustrates the LED substrate 77 of the large-diameter external illumination unit 4B. FIG. 28 is a plan view of the LED substrate 77 of the small diameter external illumination unit 4A. These two types of external illumination units 4 both incorporate a CPU and a memory M as described above. Model information is stored in the memory M. When these external illumination units 4A and 4B are connected to the barcode reader 2, the barcode reader 2 is stored in the memory M of the external illumination unit 4. The external lighting unit 4 is recognized by capturing the model information, and thereby the connection setting with the external lighting unit 4 is executed.

内部照明ユニット5の部分照明(図26)
図26は、バーコードリーダ2に内蔵されるLED基板14の平面図である。リング状のLED基板14には、その全周に亘ってほぼ均一に数多くの照明用LED80が配列されている。照明用LED80は半径方向に間隔を隔てた3つの同心円上にほぼ同間隔に配置されている。より詳しくは、複数の照明用LED80は、バーコードリーダ2のレンズ組立体36の光軸を中心とする複数の径の異なる同心円上に配列されている。
Partial illumination of the internal lighting unit 5 (FIG. 26) :
FIG. 26 is a plan view of the LED substrate 14 built in the barcode reader 2. On the ring-shaped LED substrate 14, a large number of illumination LEDs 80 are arranged almost uniformly over the entire circumference. The illumination LEDs 80 are arranged at substantially the same intervals on three concentric circles spaced in the radial direction. More specifically, the plurality of illumination LEDs 80 are arranged on a plurality of concentric circles having different diameters around the optical axis of the lens assembly 36 of the barcode reader 2.

リング状LED基板14は、円周方向に等間隔に4つのブロックに区分され、各ブロックを半径方向に2つに区分することにより形成される合計8つのエリアを単位に部分照明される。具体的には、最外周の1列が90°間隔で4つの領域に区分されている。これを外周第1エリアAEout1、外周第2エリアAEout2、外周第3エリアAEout3、外周第4エリアAEout4で図示してある。最内周及び中間の2列が90°間隔で4つの領域に区分されている。これを内周第1エリアAEin1、内周第2エリアAEin2、内周第3エリアAEin3、内周第4エリアAEin4で図示してある。各エリアAEout1〜out4、in1〜in4の各々のエリアに属するLED80は、各エリアで均一に分布するように位置決めされている。   The ring-shaped LED substrate 14 is divided into four blocks at equal intervals in the circumferential direction, and is partially illuminated in units of a total of eight areas formed by dividing each block into two in the radial direction. Specifically, one row on the outermost periphery is divided into four regions at 90 ° intervals. This is illustrated as an outer periphery first area AEout1, an outer periphery second area AEout2, an outer periphery third area AEout3, and an outer periphery fourth area AEout4. The innermost and middle two rows are divided into four regions at 90 ° intervals. This is illustrated as an inner circumference first area AEin1, an inner circumference second area AEin2, an inner circumference third area AEin3, and an inner circumference fourth area AEin4. The LEDs 80 belonging to each of the areas AEout1 to out4 and in1 to in4 are positioned so as to be uniformly distributed in each area.

内部照明ユニット5の区分エリアAEout1〜out4、AEin1〜in4の各々を単位に照明を制御することができる。このエリアに区分した点灯制御には、LED80の発光量の制御を含んでもよい。   Lighting can be controlled in units of the divided areas AEout1 to out4 and AEin1 to in4 of the internal lighting unit 5. The lighting control divided into these areas may include control of the light emission amount of the LED 80.

大径の外部照明ユニット4Bの部分照明(図27)
大径の外部照明ユニット4Bのリング状のLED基板77には、その全周に亘ってほぼ均一に数多くの照明用LED80が配列されている。照明用LED80は半径方向に間隔を隔てた4つの同心円上にほぼ同間隔に配置されている。より詳しくは、複数の照明用LED80は、バーコードリーダ2のレンズ組立体36の光軸を中心とする径の異なる4つの同心円上に配列されている。
Partial illumination of the large-diameter external illumination unit 4B (FIG. 27) :
On the ring-shaped LED substrate 77 of the large-diameter external illumination unit 4B, a large number of illumination LEDs 80 are arranged almost uniformly over the entire circumference. The illumination LEDs 80 are arranged at substantially the same interval on four concentric circles spaced in the radial direction. More specifically, the plurality of illumination LEDs 80 are arranged on four concentric circles having different diameters around the optical axis of the lens assembly 36 of the barcode reader 2.

大径の外部照明ユニット4Bでは、円周方向に等間隔に8つのブロックに区分され、各ブロックを半径方向に4つに区分することにより形成される合計32のエリアを単位に部分照明するように設定されている。具体的には、リング状LED基板77は、最外周の1列が45°間隔で8つのエリアに区分されている。これを外周第1エリアAEout1〜外周第8エリアAEout8で図示してある。次の一列も45°間隔で8つのエリアに区分されている。これを外側中間第1エリアAEmid1〜外側中間第8エリアAEmid8で図示してある。次の一列も45°間隔で8つのエリアに区分されている。これを外側中間第9エリアAEmid9〜外側中間第16エリアAEmid16で図示してある。最内周の一列45°間隔で8つのエリアに区分されている。これを内周第1エリアAEin1〜内周第8エリアAEin8で図示してある。この大径の外部照明ユニット4Bにあっても合計32のエリアの各々を単位に照明を制御することができる。外部照明ユニット4Bにあっても、各エリア毎にLED80の発光量の制御を実行することができる。   The large-diameter external lighting unit 4B is divided into eight blocks at equal intervals in the circumferential direction, and partial illumination is performed in units of a total of 32 areas formed by dividing each block into four in the radial direction. Is set to Specifically, the ring-shaped LED substrate 77 is divided into eight areas at 45 ° intervals in the outermost row. This is illustrated by the outer periphery first area AEout1 to the outer periphery eighth area AEout8. The next row is also divided into 8 areas at 45 ° intervals. This is illustrated by the outer middle first area AEmid1 to the outer middle eighth area AEmid8. The next row is also divided into 8 areas at 45 ° intervals. This is illustrated by the outer middle ninth area AEmid9 to the outer middle sixth area AEmid16. The innermost section is divided into eight areas at 45 ° intervals. This is illustrated by the inner circumference first area AEin1 to the inner circumference eighth area AEin8. Even in the large-diameter external illumination unit 4B, illumination can be controlled in units of a total of 32 areas. Even in the external illumination unit 4B, it is possible to control the light emission amount of the LED 80 for each area.

小径の外部照明ユニット4Aの部分照明(図28)
図28を参照して、小径の外部照明ユニット4Aのリング状のLED基板77には、その全周に亘ってほぼ均一に数多くの照明用LED80が配列されている。照明用LED80は半径方向に間隔を隔てた3つの同心円上にほぼ同間隔に配置されている。より詳しくは、複数の照明用LED80は、バーコードリーダ2のレンズ組立体36の光軸を中心とする径の異なる3つの同心円上に配列されている。
Partial illumination of the small-diameter external illumination unit 4A (FIG. 28) :
Referring to FIG. 28, a large number of illumination LEDs 80 are arranged almost uniformly over the entire circumference of the ring-shaped LED substrate 77 of the small-diameter external illumination unit 4A. The illumination LEDs 80 are arranged at substantially the same intervals on three concentric circles spaced in the radial direction. More specifically, the plurality of illumination LEDs 80 are arranged on three concentric circles having different diameters around the optical axis of the lens assembly 36 of the barcode reader 2.

リング状LED基板77は、最外周の1列が45°間隔で8つの領域に区分されている。これを外周第1エリアAEout1〜外周第8エリアAEout8で図示してある。中間の一列も45°間隔で8つの領域に区分されている。これを外側中間第1エリアAEmid1〜外側中間第8エリアAEmid8で図示してある。内周の一列も45°間隔で8つの領域に区分されている。これを内周第1エリアAEin1〜内周第8エリアAEin8で図示してある。この小径の外部照明ユニット4Aにあっても合計24のエリアに分けて部分照明を設定することができる。このエリアに区分した点灯制御には、LED80の発光量の制御を含んでもよい。なお、部分照明として設定したエリアを単位に照明用LED80による照明の色を異ならせるようにしてもよい。   The ring-shaped LED substrate 77 is divided into 8 regions at 45 ° intervals in the outermost row. This is illustrated by the outer periphery first area AEout1 to the outer periphery eighth area AEout8. The middle row is also divided into eight regions at 45 ° intervals. This is illustrated by the outer middle first area AEmid1 to the outer middle eighth area AEmid8. The inner circumferential row is also divided into eight regions at 45 ° intervals. This is illustrated by the inner circumference first area AEin1 to the inner circumference eighth area AEin8. Even in the small-diameter external illumination unit 4A, partial illumination can be set in a total of 24 areas. The lighting control divided into these areas may include control of the light emission amount of the LED 80. In addition, you may make it vary the color of illumination by LED80 for illumination for the area set as partial illumination.

外部照明ユニット4のLED駆動回路(図29)
図29はLED駆動回路の一部を示す。図示のLED駆動回路は、各エリア毎にLED80を点灯させると共に、各エリアに属する複数の照明用LED80に定電流を供給することができる。
LED drive circuit of external illumination unit 4 (FIG. 29) :
FIG. 29 shows a part of the LED drive circuit. The LED driving circuit shown in the drawing can turn on the LEDs 80 for each area and supply a constant current to the plurality of illumination LEDs 80 belonging to each area.

例えば、図28の小径外側照明ユニット4Aについて説明すると、リング状LED基板77を周方向に45°間隔で区分した8つの領域を「ブロック」と呼ぶ。例えば、外周第1エリアAEout1、中間第1エリアAEmid1、内周第1エリアAEin1が第1ブロックを構成する。各ブロック毎にブロックスイッチ105と定電流回路106が設けられている。ブロックスイッチ105をONすると、当該ブロックに属する複数のLED80に電圧を印加できる状態になる。各列の複数のLED80には、各ブロック毎にこれをバイパスする列スイッチ107が設けられ、この列スイッチ107と並列に照明用LED80の群が直列に接続されている。なお、図29には、各円周列の照明用LED80が一個しか図示されていないが、これは線図を簡素化したという理由に過ぎず、各列スイッチ107と並列に接続された照明用LED80は直列に複数存在していると理解されたい。   For example, in the case of the small-diameter outer illumination unit 4A in FIG. For example, the outer periphery first area AEout1, the intermediate first area AEmid1, and the inner periphery first area AEin1 constitute the first block. A block switch 105 and a constant current circuit 106 are provided for each block. When the block switch 105 is turned on, a voltage can be applied to the plurality of LEDs 80 belonging to the block. A plurality of LEDs 80 in each column is provided with a column switch 107 that bypasses the LED 80 for each block, and a group of illumination LEDs 80 is connected in series with the column switch 107 in parallel. In FIG. 29, only one illumination LED 80 for each circumferential row is shown, but this is only for simplifying the diagram, and for illumination connected in parallel with each row switch 107. It should be understood that there are a plurality of LEDs 80 in series.

各ブロックに属する各列は直列に接続され、そして、各列には、上述した列スイッチ107が並列に接続されている。したがって、任意の列スイッチ107をOFFすることにより該当するブロック且つ該当する列に属する複数のLED80に定電流が供給される。このLED駆動回路を外部照明ユニット4Aが備えることにより、各ブロックの各列を単位に部分照明のエリアを任意設定することができる。また、各ブロック毎に定電流回路106を設けたことで、例えば同じブロックでの第1〜第3の円周列の照明LED80に流れる電流を一定に維持することができる。   Each column belonging to each block is connected in series, and the column switch 107 described above is connected in parallel to each column. Therefore, by turning off an arbitrary column switch 107, a constant current is supplied to a plurality of LEDs 80 belonging to the corresponding block and the corresponding column. By providing this LED drive circuit in the external illumination unit 4A, it is possible to arbitrarily set the area of partial illumination for each column of each block. Moreover, by providing the constant current circuit 106 for each block, for example, the current flowing through the illumination LEDs 80 in the first to third circumferential rows in the same block can be maintained constant.

換言すると、定電流回路106無しでは、例えば第2、第3の円周列の照明LED80を点灯しているときに第1の円周列の照明LED80をOFFからONにスイッチすると、第2、第3の円周列の照明LED80に印加する電圧が変化して、第2、第3の照明LED80を流れる電流が変化して明るさが変化してしまう。   In other words, without the constant current circuit 106, for example, when the illumination LEDs 80 in the second and third circumferential rows are lit, the illumination LEDs 80 in the first circumferential row are switched from OFF to ON. The voltage applied to the illumination LEDs 80 in the third circumferential row changes, the current flowing through the second and third illumination LEDs 80 changes, and the brightness changes.

別の言い方で説明すると、ブロックスイッチ105をON/OFFしても、他のブロックに属する照明用LED80の発光量は変化しない。各ブロックは互いに並列に電源に接続されているからである。しかし、列スイッチ107をON/OFFすると、当該ブロックで点灯するLED80の数が変化してしまい、これに伴ってLED80の明るさが変化してしまう。   In other words, even if the block switch 105 is turned ON / OFF, the light emission amount of the illumination LED 80 belonging to another block does not change. This is because each block is connected to the power supply in parallel with each other. However, when the column switch 107 is turned ON / OFF, the number of LEDs 80 lit in the block changes, and the brightness of the LEDs 80 changes accordingly.

このことは、部分照明の点灯パターンを設定するときに、ワークに対する最適な光の当て方を探るうえで、LED80の明るさの変動要因を極力排除するのが望ましい。定電流回路105はこのことを企図して各ブロックに設けてある。これにより、点灯パターンの設定作業を行うときに、点灯パターンを変えたときに部分照明するための点灯するエリアでのLED80の輝度の均一化及び輝度の一定性を確保することで最適な点灯パターンを見出すのが容易になる。なお、大径の外部照明ユニット4B及び内部照明ユニット4Bについても同様に図29、図30のLED駆動回路を採用することができる。   This means that, when setting the lighting pattern of partial illumination, it is desirable to eliminate as much as possible the factors that change the brightness of the LED 80 in order to find out how to best apply light to the workpiece. The constant current circuit 105 is provided in each block for this purpose. Thereby, when setting the lighting pattern, the optimal lighting pattern is ensured by uniformizing the luminance of the LED 80 in the lighting area for partial illumination when the lighting pattern is changed and ensuring the uniformity of the luminance. It will be easier to find. In addition, the LED drive circuit of FIG. 29, FIG. 30 is employable similarly about the large diameter external illumination unit 4B and the internal illumination unit 4B.

内部照明ユニット5及び外部照明ユニット4の部分照明(図30)
内部照明ユニット5及び外部照明ユニット4は、共に、複数のLEDを面状に配列した面光源であるが、この面光源を周方向且つ半径方向に幾つかのエリアに区分して各エリアを単位に部分照明することが可能であり、どのエリアを点灯し、どのエリアを点灯しないかの点灯パターンをユーザが任意に設定することができる。全てのエリアの点灯を含む点灯パターンはPC3を使ってユーザが予め登録することができ、ユーザが設定した点灯パターンは、バーコードリーダ2のメモリM及び外部照明ユニット4が接続されているときには、この外部照明ユニット4のメモリMに記憶される。この点灯制御には、照明用LED80の発光量の制御が含まれる。なお、図30においても、上述した図29と同様に、各円周列の照明用LED80が一個しか図示されていないが、これは線図を簡素化したという理由に過ぎず、各列スイッチ107と並列に接続された照明用LED80は直列に複数存在していると理解されたい。
Partial illumination of the internal lighting unit 5 and the external lighting unit 4 (FIG. 30) :
The internal lighting unit 5 and the external lighting unit 4 are both surface light sources in which a plurality of LEDs are arranged in a plane, and each surface area is divided into several areas in the circumferential direction and the radial direction. It is possible to partially illuminate, and the user can arbitrarily set the lighting pattern of which area is lit and which area is not lit. The lighting pattern including lighting of all areas can be registered in advance by the user using the PC 3, and the lighting pattern set by the user is obtained when the memory M of the barcode reader 2 and the external lighting unit 4 are connected. This is stored in the memory M of the external illumination unit 4. This lighting control includes control of the light emission amount of the illumination LED 80. In FIG. 30, only one illumination LED 80 for each circumferential row is shown in the same manner as FIG. 29 described above. However, this is merely a reason for simplifying the diagram, and each row switch 107 is shown in FIG. It should be understood that there are a plurality of lighting LEDs 80 connected in parallel with each other.

図1を参照して説明したように、外部照明ユニット4はCPUの制御手段を具備している。したがって、図30に図示するように、各ブロックスイッチ105及び各円周列の列スイッチ107を外部照明ユニット4のCPUで制御することにより、周方向且つ半径方向に区分した部分照明エリアを設定したときには、このエリアを単位にLED80の点灯制御が実行される。   As described with reference to FIG. 1, the external illumination unit 4 includes CPU control means. Therefore, as shown in FIG. 30, the partial illumination areas divided in the circumferential direction and the radial direction are set by controlling each block switch 105 and the column switch 107 of each circumferential row by the CPU of the external illumination unit 4. Sometimes, the lighting control of the LED 80 is executed in units of this area.

ユーザインターフェース(図31〜図39)
図31〜図39は、外部端末のパーソナルコンピュータ3のディスプレイに表示されるユーザインターフェース画面を示す。この図31〜図39を参照してバーコードリーダ・システム1の操作手順の概要を説明すると次の順番で作業が実行される。
User interface (FIGS. 31 to 39) :
31 to 39 show user interface screens displayed on the display of the personal computer 3 of the external terminal. The outline of the operation procedure of the barcode reader system 1 will be described with reference to FIGS. 31 to 39. The operations are executed in the following order.

(1)ワークを位置決めする(図31);
(2)ユーザは撮像画像の表示を見ながら光学情報読取領域を設定し、そして、この光学情報読取領域の明るさを調整する(図32);
(3)ユーザが内部照明ユニット5、外部照明ユニット4の点灯パターンを設定する(図33、図34);
(1) Position the workpiece (Fig. 31);
(2) The user sets the optical information reading area while viewing the display of the captured image, and adjusts the brightness of the optical information reading area (FIG. 32);
(3) The user sets the lighting pattern of the internal lighting unit 5 and the external lighting unit 4 (FIGS. 33 and 34);

(4)ユーザがチューニングを設定する(図35);
(5)チューニング処理が実行される(図36);
(6)読取試行が開始される(図37);
(7)必要に応じて、光学情報を読み取るための各種設定パラメータを記憶したバンクを追加する(図38);
各バンクに含まれる撮像パラメータとして照明のON/OFF、照明強度、照明の点灯パターン、露光時間、ゲイン、撮像画像の取り込み範囲などを含み、デコードパラメータとして光学情報(バーコードやQRコード)の種類、フィルタの種類、フィルタ処理回数、デコードタイムアウト時間、取り込み範囲などを含む。
(8)読み取りができなかった画像(NG画像)が解析される(図39)。
(4) The user sets the tuning (FIG. 35);
(5) A tuning process is executed (FIG. 36);
(6) A reading attempt is started (FIG. 37);
(7) If necessary, a bank storing various setting parameters for reading optical information is added (FIG. 38);
The imaging parameters included in each bank include illumination ON / OFF, illumination intensity, illumination lighting pattern, exposure time, gain, captured image capture range, etc. Types of optical information (barcode and QR code) as decode parameters , Filter type, number of times of filter processing, decoding timeout time, capture range, etc.
(8) An image (NG image) that could not be read is analyzed (FIG. 39).

第1番目の作業)ワークの位置決め(図31)
先ずパーソナルコンピュータ(PC)3とバーコードリーダ2との接続設定が行われる。この際、仮のIPアドレスを割り当てて行うことで簡便に接続設定することができる。バーコードリーダ2に専用の外部照明ユニット4を接続したときには、外部照明ユニット4のメモリM(図1)に記憶されている当該外部照明ユニット4の機種情報の読み込みが行われ、これによりバーコードリーダ2のメモリM(図1)に予め登録されている機種情報に基づいて当該外部照明ユニット4の接続設定が自動的に実行される。
( First operation) Workpiece positioning (FIG. 31) :
First, connection setting between the personal computer (PC) 3 and the barcode reader 2 is performed. At this time, connection setting can be easily performed by assigning a temporary IP address. When the dedicated external illumination unit 4 is connected to the barcode reader 2, the model information of the external illumination unit 4 stored in the memory M (FIG. 1) of the external illumination unit 4 is read. The connection setting of the external lighting unit 4 is automatically executed based on the model information registered in advance in the memory M (FIG. 1) of the reader 2.

次に、バーコードリーダ2に内蔵されている一対のポインタ用LED40を点灯してワークをバーコードリーダ2の視野範囲の中に設置する。ユーザは、図31の表示画面(ユーザインターフェース画面)に表示されている撮像画像を見ながらワークを位置決めする。このユーザインターフェース画面はモニタ指令ボタンを有し、ユーザがモニタ指令ボタンを押し下げると、パーソナルコンピュータ3からバーコードリーダ2に向けて撮像指令信号が送信され、バーコードリーダ2が撮像した画像がパーソナルコンピュータ3に入力されてユーザインターフェース画面に表示される。バーコードリーダ2の撮像は連続的に実行されるため、ユーザインターフェース画面に表示される撮像画像は動画表示になる。ユーザは、このライブ画像を見ながら、一般的にはバーコードなど光学情報が撮像画像の中心に位置するようにワークの位置決めを行う。すなわち、ユーザはパーソナルコンピュータ3のディスプレイに動画表示されているライブ画像で確認しながら、バーコードリーダ2に対するワークの相対位置を調整することができる。   Next, a pair of pointer LEDs 40 built in the barcode reader 2 are turned on to place the work within the field of view of the barcode reader 2. The user positions the work while viewing the captured image displayed on the display screen (user interface screen) of FIG. This user interface screen has a monitor command button. When the user depresses the monitor command button, an imaging command signal is transmitted from the personal computer 3 to the barcode reader 2, and an image captured by the barcode reader 2 is displayed on the personal computer. 3 is displayed on the user interface screen. Since the barcode reader 2 is continuously imaged, the captured image displayed on the user interface screen is a moving image display. While viewing the live image, the user generally positions the workpiece so that optical information such as a barcode is positioned at the center of the captured image. That is, the user can adjust the relative position of the workpiece with respect to the barcode reader 2 while confirming with a live image displayed as a moving image on the display of the personal computer 3.

(第2番目の作業)光学情報読取領域の設定と明るさの調整(図32)
図32を参照して、ユーザインターフェース画面の画像表示枠の中の撮像画像に領域設定を行う。これは、撮像画像と重畳表示されている範囲指定枠を操作することで行うことができ、撮像画像中のバーコードなどの矩形の光学情報を囲んで領域指定することにより(図32)、光学情報読取領域を設定することができる。この指定された光学情報読取領域の明るさは、ユーザがユーザインターフェース画面の右端にある明るさ調整バーのスライダを操作することで設定することができる。この調整後の明るさは、後に説明するチューニングの初期値としても利用される。
(Second operation) Setting of optical information reading area and adjustment of brightness (FIG. 32) ;
Referring to FIG. 32, region setting is performed on the captured image in the image display frame on the user interface screen. This can be done by operating a range designation frame superimposed on the captured image, and by specifying a region by enclosing rectangular optical information such as a barcode in the captured image (FIG. 32), optical An information reading area can be set. The brightness of the designated optical information reading area can be set by the user operating the slider of the brightness adjustment bar at the right end of the user interface screen. This adjusted brightness is also used as an initial value for tuning described later.

(第3番目の作業)点灯パターンの設定(図33、図34)
点灯パターンの設定は、図33又は図34の点灯パターン設定画面を呼び出すことにより行うことができる。この図33又は図34の設定画面は上述したユーザインターフェース画面に重畳表示される。図33は専用外部照明ユニット4をバーコードリーダ2に接続したときの設定画面であり、図34は専用外部照明ユニット4を接続していないときの設定画面である。図33と図34を対比すると分かるように、専用外部照明ユニット4を接続したときには(図33)、この専用外部照明ユニット4の各エリアと内部照明ユニット5の各エリアが、これらユニット4、5と同じにリング状に表現した照明ユニットの模式図が表示される。外部照明ユニット4が非接続のときには内部照明ユニット5に限定した照明ユニットの模式図が表示される。すなわち、バーコードリーダ2の照明に使用する照明ユニット毎に、各照明ユニットに対応した模式図がパターン設定画面に表示される。
(Third work) Setting of lighting pattern (FIGS. 33 and 34) ;
The lighting pattern can be set by calling the lighting pattern setting screen shown in FIG. The setting screen of FIG. 33 or FIG. 34 is superimposed on the above-described user interface screen. FIG. 33 is a setting screen when the dedicated external lighting unit 4 is connected to the barcode reader 2, and FIG. 34 is a setting screen when the dedicated external lighting unit 4 is not connected. As can be seen by comparing FIG. 33 and FIG. 34, when the dedicated external lighting unit 4 is connected (FIG. 33), each area of the dedicated external lighting unit 4 and each area of the internal lighting unit 5 are the units 4, 5 A schematic diagram of the lighting unit expressed in a ring shape is displayed. When the external illumination unit 4 is not connected, a schematic diagram of the illumination unit limited to the internal illumination unit 5 is displayed. That is, for each illumination unit used for illumination of the barcode reader 2, a schematic diagram corresponding to each illumination unit is displayed on the pattern setting screen.

図33、図34の設定画面に表示の模式図は上述した部分照明エリアAE(例えば図28)を含んでおり、ユーザは任意のエリアを選択することで照明エリアを設定することができる。ユーザが模式図で点灯エリアを選択すると、選択されたエリアは例えばグレーから赤色に表示色が変化し、これによりユーザはどのエリアを点灯エリアとして指定したかを一見するだけで認識することができる。図33の例であれば、内部照明ユニット5の全エリアが点灯エリアとして設定され、他方、外部照明ユニット4にあっては、右側のエリアを残して他のエリアが点灯エリアとして設定された状態が示されている。外部照明ユニット4が非接続の図34に示す例であれば、内部照明ユニット6の全エリアが点灯エリアとして設定された状態が示されている。図33、図34の点灯エリア設定画面では、ユーザが点灯エリアを変更すると、図33、図34の模式図の対応するエリアの色表示がリアルタイムで変換される。このように各点灯パターンで撮像された画像がリアルタイムに更新されてディスプレイに表示されるため、ユーザは撮像画像を見ながら所望の点灯パターンを容易に選び出すことができる。なお、リアルタイムのライブ画像は、予め定めた明るさ設定領域の明るさの平均値が、上述したユーザインターフェース画面の右端にある明るさ調整バーをユーザがスライドさせることにより調整した明るさとなるように、照明の光量、露光時間、ゲインなどがフィードバック調整される。これにより、点灯パターンを変化させてもユーザが興味のある領域の明るさを一定に保ったまま画像表示することができる。   The schematic diagrams displayed on the setting screens of FIGS. 33 and 34 include the partial illumination area AE (for example, FIG. 28) described above, and the user can set an illumination area by selecting an arbitrary area. When the user selects a lighting area in the schematic diagram, the display color of the selected area changes, for example, from gray to red, so that the user can recognize at a glance which area is designated as the lighting area. . In the example of FIG. 33, the entire area of the internal lighting unit 5 is set as the lighting area, while the external lighting unit 4 has the other area set as the lighting area while leaving the right area. It is shown. In the example shown in FIG. 34 in which the external lighting unit 4 is not connected, a state in which all areas of the internal lighting unit 6 are set as lighting areas is shown. In the lighting area setting screens of FIGS. 33 and 34, when the user changes the lighting area, the color display of the corresponding areas in the schematic diagrams of FIGS. 33 and 34 is converted in real time. As described above, since the image captured in each lighting pattern is updated in real time and displayed on the display, the user can easily select a desired lighting pattern while viewing the captured image. Note that the real-time live image has an average brightness value in a predetermined brightness setting area that is adjusted by the user sliding the brightness adjustment bar at the right end of the user interface screen described above. The amount of illumination light, exposure time, gain, etc. are feedback adjusted. As a result, even if the lighting pattern is changed, it is possible to display an image while keeping the brightness of the region of interest to the user constant.

部分照明の設定に関して、上述したように照明ユニットを模した図形表示を使って点灯エリアを選択することに代えて、予めユーザが登録した複数の点灯パターンの一覧表示し、この複数の点灯パターンの中からユーザが選択するようにしてもよい。   Regarding the setting of the partial lighting, instead of selecting the lighting area using the graphic display imitating the lighting unit as described above, a list of a plurality of lighting patterns registered in advance by the user is displayed. The user may select from among them.

(第4番目の作業)チューニングの設定(図35)
図35はチューニング設定画面であり、これは図31などを参照して説明したユーザインターフェース画面の上に重畳表示される。この図35の設定画面を利用して、(1)画質優先モードと、(2)画質優先モードとを択一的に選択することができる。
(Fourth operation) Setting of tuning (FIG. 35) ;
FIG. 35 shows a tuning setting screen, which is superimposed on the user interface screen described with reference to FIG. Using the setting screen of FIG. 35, (1) image quality priority mode and (2) image quality priority mode can be selected alternatively.

(第5番目の作業)チューニング処理(図36)
先ず、チューニングにより設定を変更したいバンクを選択して、チューニング処理を実行する。図36を参照して、ユーザインターフェース画面の画像表示枠の中の撮像画像に領域設定を行う。これは、撮像画像と重畳表示されている範囲指定枠を操作することで行うことができ、撮像画像中のバーコードなどの矩形の光学情報を囲んで領域指定することにより(図36)、チューニング対象領域を設定することができる。
(Fifth operation) tuning process (FIG. 36) ;
First, a bank whose setting is to be changed by tuning is selected and tuning processing is executed. Referring to FIG. 36, region setting is performed on the captured image in the image display frame on the user interface screen. This can be done by operating a range designation frame that is superimposed on the captured image, and by specifying a region by enclosing rectangular optical information such as a barcode in the captured image (FIG. 36), tuning is performed. The target area can be set.

ユーザが設定したチューニング対象領域から光学情報を抽出する。チューニング処理で行われる明るさの変化は、光学情報読取領域の設定と明るさの調整(図32)の工程で設定された明るさが初期値として使用される。勿論、ユーザが予め任意に設定した初期値から明るさを変化させてもよいし、チューニング処理における明るさ変化の範囲の下限値又は上限値を初期値として使用してもよい。   Optical information is extracted from the tuning target area set by the user. As for the brightness change performed in the tuning process, the brightness set in the steps of setting the optical information reading area and adjusting the brightness (FIG. 32) is used as an initial value. Of course, the brightness may be changed from the initial value arbitrarily set by the user in advance, or the lower limit value or the upper limit value of the range of the brightness change in the tuning process may be used as the initial value.

チューニング対象領域から抽出した光学情報のデコードが成功すると、この光学情報の輪郭が例えば緑色の枠で囲んだ表示状態になる。この赤色の枠の出現によってデコードの成功を一見しただけで認識ができる。チューニングに伴って、明るさ、デコード条件、点灯パターンなどの様々なパラメータの値を変化させてもデコードが一回も成功しない場合には「チューニング失敗」として処理される。   When the optical information extracted from the tuning target area is successfully decoded, the optical information outline is displayed in a display state surrounded by a green frame, for example. With the appearance of this red frame, it can be recognized just by looking at the success of decoding. When the values of various parameters such as brightness, decoding conditions, lighting pattern, etc. are changed along with tuning, if the decoding is never successful, it is processed as “tuning failure”.

ユーザインターフェース画面は、図32の右下のチューニングスコアの表示を含む。この表示は横軸が明るさであり、縦軸がスコアである。このチューニングスコアが最も高くなったときのパラメータの値が、上述したバンクに設定される。   The user interface screen includes a display of the tuning score in the lower right of FIG. In this display, the horizontal axis is brightness, and the vertical axis is score. The value of the parameter when the tuning score is highest is set in the above-described bank.

(第6番目の作業)画像読取試行(図37)
光学情報の読み取りを試行したいバンクを選択して、「読取り率」ボタンを押し下げることで読取テストを実行することができる。この読み取りの試行の結果は、図37のユーザインターフェース画面の右下に表示され、この読み取り結果の表示は「%」と「スコア」とを含む。
(Sixth operation) Image reading trial (FIG. 37) ;
A reading test can be executed by selecting a bank to which optical information is to be read and pressing the “read rate” button. The result of this reading attempt is displayed at the lower right of the user interface screen of FIG. 37, and this reading result display includes “%” and “score”.

(第7番目の作業)バンク追加(図38)
設定条件がばらつく、読み取りが安定しない等、既に設定した複数のバンクでは的確なバーコードリーダ・システム1の運用が難しいときには、バンクの追加が行われる。この図38の例では、バンク1及びバンク2を選択することで、バンク1とバンク2の間の明るさのバンクが自動生成される。この新たに生成されたバンクの明るさ以外のパラメータはバンク1のパラメータがそのままコピーされる。なお、この自動生成したバンクに対して上述したチューニングを実行して明るさ以外のパラメータの値を最適化してもよい。このバンク追加については後に詳しく説明する(図41〜図43)。
(Seventh operation) Add bank (Fig. 38) ;
When it is difficult to operate the barcode reader system 1 with a plurality of banks that have already been set, such as when the setting conditions vary and the reading is not stable, banks are added. In the example of FIG. 38, by selecting bank 1 and bank 2, a bank with brightness between bank 1 and bank 2 is automatically generated. For the parameters other than the newly generated bank brightness, the parameters of bank 1 are copied as they are. Note that the above-described tuning may be executed on this automatically generated bank to optimize the values of parameters other than brightness. This bank addition will be described in detail later (FIGS. 41 to 43).

(第8番目の作業)NG画像の解析(図39)
読み取りができなかった画像を再度バーコードリーダ2から読み出すと共に、デコード条件のチューニングを行う。デコード条件のチューニングによって読み取りが成功すると、図39の成功表示欄の色が反転する。読み取りが成功したときには、この読み取りが成功したデコード条件を保存することができ、また、ユーザが「デコード設定出力」ボタンを押し下げることにより印字品質評価結果のリポートを出力することもできる。このNG画像の解析は、この解析を主眼にしたNG画像解析プログラムによって実行されるが、上述した設定プログラムで行うようにしてもよい。
(Eighth operation) Analysis of NG image (FIG. 39) ;
The image that could not be read is read again from the barcode reader 2 and the decoding conditions are tuned. When the reading is successful by tuning the decoding conditions, the color of the success display column in FIG. 39 is reversed. When the reading is successful, the decoding conditions under which the reading was successful can be stored, and a report of the print quality evaluation result can be output by the user depressing the “decode setting output” button. The analysis of the NG image is executed by an NG image analysis program focusing on this analysis, but may be performed by the setting program described above.

チューニングの具体例(図40)
第5番目の作業であるチューニング処理(図36)はバーコードリーダ・システム1の種々のパラメータの設定のために使用される。図40を参照して、先ずステップS100でチューニング対象領域の設定が行われる。このチューニング対象領域を設定することにより撮像画像の読み取り範囲が絞り込まれる。このチューニング対象領域は、ユーザインターフェース画面に表示されている撮像画像の中央に設定できるし、撮像画像の片隅であっても設定できる。すなわち、チューニング対象領域の設定は、光学情報が存在する位置に対応してユーザが任意に設定することができる。チューニング対象領域を限定的に光学情報の大きさに設定することにより画像の読み取り速度を高めることができ、このことはチューニング処理速度を高めるのに貢献する。
Specific example of tuning (FIG. 40) :
The fifth process, the tuning process (FIG. 36), is used for setting various parameters of the barcode reader system 1. Referring to FIG. 40, first, a tuning target area is set in step S100. By setting the tuning target area, the read range of the captured image is narrowed down. This tuning target area can be set at the center of the captured image displayed on the user interface screen, or can be set even at one corner of the captured image. That is, the user can arbitrarily set the tuning target area corresponding to the position where the optical information exists. An image reading speed can be increased by limiting the tuning target area to the size of optical information, which contributes to an increase in the tuning processing speed.

次のステップS101でユーザインターフェース画面に表示されている撮像画像の明るさの初期値の設定が行われる。この初期値として、第2番目の作業である光学情報読取領域の明るさの調整(図32)で得られた明るさが採用される。チューニングよりも前段階で行われた明るさ調整で最適として設定された明るさをチューニングの初期値として使用することで、チューニングの初期段階から一般的には最適な明るさを設定することができる。これによりチューニング処理時間を飛躍的に短縮することができる。   In the next step S101, the initial value of the brightness of the captured image displayed on the user interface screen is set. As this initial value, the brightness obtained by the brightness adjustment (FIG. 32) of the optical information reading area, which is the second work, is employed. Generally, the optimum brightness can be set from the initial stage of tuning by using the brightness set as the optimum in the brightness adjustment performed before the tuning as the initial value of tuning. . As a result, the tuning processing time can be drastically reduced.

次のステップS102で初期値の明るさで、チューニング対象領域の読み取りが開始され、読み取りが成功したときには光学情報の種類、大きさ、表示位置が取得され、次いで、ステップS104からステップS105に進んで、最も好ましくは読み取りが成功した明るさを初期値として設定し、この初期値の明るさを中心にして明るさや他のパラメータの値を変化させながら光学情報のデコードが実行される。勿論、読取が成功した明るさを含む所定の範囲内の明るさを初期値として設定してもよく、また、初期値の明るさを含む所定の範囲の明るさと他のパラメータを変化させながらデコードを実行してもよい。チューニング処理で変化させるパラメータを例示すれば次の通りである。   In the next step S102, the reading of the tuning target area is started with the brightness of the initial value. When the reading is successful, the type, size, and display position of the optical information are acquired, and then the process proceeds from step S104 to step S105. Most preferably, the brightness at which reading was successful is set as an initial value, and the optical information is decoded while changing the brightness and other parameter values around the brightness of the initial value. Of course, the brightness within a predetermined range including the brightness that has been successfully read may be set as an initial value, and decoding is performed while changing the brightness of the predetermined range including the brightness of the initial value and other parameters. May be executed. Examples of parameters to be changed in the tuning process are as follows.

(1)画像の明るさ;
(2)フィルタ;
(3)画像のコントラスト;
(4)曲面設定。
(1) Image brightness;
(2) Filter;
(3) image contrast;
(4) Curved surface setting.

上記(4)の曲面設定とは、例えばワークが円柱体の場合に、湾曲した表面に付された光学情報を読み取るのに適当であるパラメータの設定を意味している。   The curved surface setting of (4) means setting of parameters suitable for reading the optical information given to the curved surface, for example, when the workpiece is a cylindrical body.

多くの場合、明るさの初期値が、それ以前の処理で最適として設定された明るさであることから、ステップS104で読み取り成功と判断される確率が非常に高いはずである。また、この明るさの初期値による一回の読み取り成功によってバーコードやQRコードなどの光学情報の種類、大きさ、位置の情報をチューニング処理の初期段階で獲得することができ、この光学情報に直接的に関係した情報を次のステップS105でのデコード処理に反映される。これによりデコードを容易に且つ短時間に終わらせることができる。すなわち、最初に読み取りに成功したときに、光学情報の種類、大きさ、位置の情報を獲得し、この獲得した情報はデコード処理に反映される。   In many cases, since the initial value of the brightness is the brightness set as the optimum in the previous processing, the probability that it is determined that the reading is successful in step S104 should be very high. In addition, information on the type, size, and position of optical information such as barcodes and QR codes can be acquired at the initial stage of the tuning process by one reading success with the initial value of the brightness. The directly related information is reflected in the decoding process in the next step S105. Thereby, decoding can be completed easily and in a short time. That is, when reading is successful for the first time, information on the type, size, and position of the optical information is acquired, and the acquired information is reflected in the decoding process.

ステップS105で実行されたデコードの結果(スコア)が次のステップS106で算出される。このスコアを参照することで、設定するのに適したパラメータの値に目安を付けることができる。   The decoding result (score) executed in step S105 is calculated in the next step S106. By referring to this score, a guideline can be given to the value of the parameter suitable for setting.

次のステップS107で、この複数のデコードスコアの中から一番高いスコアを検出し、次いで、ステップS108において、このデコードスコアの一番高いパラメータの値の近傍の範囲においてパラメータの値の変化の間隔を狭めてパラメータの値を次々と変化させながらデコードが実行され、その結果(スコア)が作成される。   In the next step S107, the highest score is detected from the plurality of decode scores, and then in step S108, the parameter value change interval in the range near the parameter value having the highest decode score. The decoding is executed while the parameter value is changed one after another by narrowing the value, and the result (score) is created.

このデコードの結果(スコア)からスコアの高いものを複数候補として検出し(S109)、そして、この複数の候補のなかで一番スコアの高い候補の読み取りを実行し(S110)、読み取りに成功したら「チューニング成功」ということで、この最良な候補に対応するパラメータの値が最適なパラメータの値であると決定される(S111、S112)。   From the decoding result (score), a candidate with a high score is detected as a plurality of candidates (S109), and the candidate with the highest score among the plurality of candidates is read (S110). By “successful tuning”, it is determined that the parameter value corresponding to the best candidate is the optimum parameter value (S111, S112).

多くの場合、初期値の明るさ、つまりチューニング以前の作業で最適な明るさが設定されている、その明るさでチューニングが成功すると思われる。また、撮像画像の一部の領域であるチューニング対象領域に範囲を絞り込んで読み取りが開始される(S103)。この読み取りが成功する確率は一般的には高く、この読み取りによって光学情報の位置、大きさ、種類の情報を獲得することで、その後のチューニング処理を素早く実行することが可能になるため、チューニングに要する時間を大幅に短縮することができる。   In many cases, it is considered that tuning is successful at the initial brightness, that is, the optimal brightness set in the work before tuning. Further, the range is narrowed down to the tuning target area which is a partial area of the captured image, and reading is started (S103). The probability that this reading will succeed is generally high, and by acquiring the information of the position, size, and type of optical information by this reading, the subsequent tuning process can be executed quickly, so tuning can be performed. The time required can be greatly reduced.

図40のステップS104に戻って、初期値で明るさでの読み取りに失敗したときには、初期値の明るさを中心に明るさを変化させて読み取りが試行され、これを一定回数実行しても読み取りに失敗したときには「チューニング不能」としてチューニング処理が終了される。   Returning to step S104 of FIG. 40, when reading with the brightness at the initial value fails, reading is attempted by changing the brightness around the brightness of the initial value, and the reading is performed even if this is executed a certain number of times. If the process fails, the tuning process is terminated as “untunable”.

また、図40のステップS111で読み取りに失敗したときには、ステップS113に進んで、次の候補に対して読み取りを試行し、この読み取りが成功したら、この第2番目の候補に対応するパラメータの値が最適なパラメータの値であると決定される(S116)。   Also, when reading fails in step S111 of FIG. 40, the process proceeds to step S113, where reading of the next candidate is attempted. If this reading is successful, the parameter value corresponding to the second candidate is set. It is determined that the value is an optimum parameter (S116).

この第2番目の候補の読み取りが失敗したときには、第3番目というように、読み取りに成功するまで全ての候補に対して同様の処理が実行され(S115)、読み取りに成功した候補に対応するパラメータの値が最適なパラメータの値であると決定される(S116)。   When the reading of the second candidate fails, the same process is executed for all candidates until the reading is successful, such as the third (S115), and the parameter corresponding to the candidate that has been successfully read. Is determined to be the optimum parameter value (S116).

以上、図40を参照して、チューニングの具体例を説明したが、明るさは露光時間とゲインとの関係で設定される。露光時間が長くなると、ワークの移動や振動で画像にブレが生じ、読み取りが不能になる可能性がある。この問題に対処するには、露光時間を短縮するのが好ましいが、露光時間を短縮したときには、これに応じてゲインを高める必要があり、ゲインを高く設定すると画像のノイズ成分が増加してしまうという次の問題がある。つまり、明るさ、露光時間、ゲインの三者には次の関係がある。   The specific example of tuning has been described above with reference to FIG. 40, but the brightness is set according to the relationship between the exposure time and the gain. If the exposure time becomes long, the image may be blurred due to the movement or vibration of the workpiece, which may make reading impossible. To cope with this problem, it is preferable to shorten the exposure time. However, when the exposure time is shortened, it is necessary to increase the gain accordingly. If the gain is set high, the noise component of the image increases. There is the following problem. In other words, the three relationships of brightness, exposure time, and gain have the following relationship.

(明るさ)=(露光時間)×(ゲイン設定)     (Brightness) = (Exposure time) x (Gain setting)

以上のことを考慮して、チューニング設定画面では、「画質優先」と「速度優先」とをユーザが選択できるようにしてある(図35)。   In consideration of the above, the tuning setting screen allows the user to select “image quality priority” and “speed priority” (FIG. 35).

「画質優先」モードでは、露光時間が5msの上限値が設定され、最大ゲインは2倍までに制限される。「速度優先」モードでは、露光時間は、予め設定された時間を上限とし、最大ゲインは5.4倍である。   In the “image quality priority” mode, an upper limit of 5 ms is set for the exposure time, and the maximum gain is limited to twice. In the “speed priority” mode, the exposure time has an upper limit set in advance, and the maximum gain is 5.4 times.

点灯パターンに関しては、複数の点灯パターンを登録できるようにするのが好ましく、登録した各点灯パターン毎に明るさ設定の初期値を用意しておくのがよい。   With regard to the lighting pattern, it is preferable that a plurality of lighting patterns can be registered, and it is preferable to prepare an initial value for brightness setting for each registered lighting pattern.

バンクの自動作成(図41〜図43)
図41は、ユーザが部分点灯パターンの異なる3つの設定バンク116(図19)を作成した場合に、ユーザが作成した点灯パターンを基準に追加のバンクを自動生成する例を示す。
Automatic bank creation (FIGS. 41-43) :
FIG. 41 shows an example in which an additional bank is automatically generated based on the lighting pattern created by the user when the user creates three setting banks 116 (FIG. 19) having different partial lighting patterns.

図41の上段に第1〜第3のバンク「1」、「2」、「3」の3つのバンクが示されているが、この第1〜第3の3つのバンクはユーザが作成したバンクである。ここに、第1のバンク「1」と第2のバンク「2」は部分点灯パターンが設定され、第3のバンク「3」は全面点灯パターンが設定されている。部分点灯パターンの第1、第2のバンク「1」、「2」からユーザが選択したバンク、この例では第1のバンク「1」が選択されており、この第1のバンク「1」に対して追加のバンクが自動作成される。勿論、第2のバンク「2」をユーザが選択したときは、このバンク「2」に対して追加のバンクが設定される。   In FIG. 41, the first to third banks “1”, “2”, and “3” are shown in the upper row, and these first to third banks are banks created by the user. It is. Here, a partial lighting pattern is set for the first bank “1” and the second bank “2”, and a full lighting pattern is set for the third bank “3”. The bank selected by the user from the first and second banks “1” and “2” of the partial lighting pattern, in this example, the first bank “1” is selected, and the first bank “1” is selected. An additional bank is automatically created. Of course, when the user selects the second bank “2”, an additional bank is set for this bank “2”.

ユーザは、点灯パターンの異なる追加のバンクを作成したときには、図41の「補間方法」から「部分点灯補完」を選択し、そして、既にユーザが設定したバンクの一覧から、バンクを追加したい設定バンクを選択する。次いで、補完数つまり作成したい追加のバンクの条件を選択する。   When the user creates additional banks having different lighting patterns, the user selects “partial lighting complement” from “interpolation method” in FIG. 41, and sets the bank to which a bank is to be added from the list of banks already set by the user. Select. Next, the number of complements, that is, the conditions for additional banks to be created are selected.

図41の例では、「2方向」、「4方向」、「8方向」の3つの選択肢が用意されている。この選択肢の数は任意である。「2方向」とは、ユーザが設定した基準となる点灯パターンを180°回転させた追加のバンクを自動生成することを意味している。「4方向」とは、ユーザが設定したバンク116に含まれている点灯パターンを基準として90°回転間隔で回転させた点灯パターンの追加のバンクを自動生成することを意味している。「8方向」とは、ユーザが設定した基準となる点灯パターンを45°間隔で回転させた追加のバンクを自動生成することを意味している。この回転角度の選択は、第1のバンク「1」の点灯パターンのように非対称な点灯パターンの場合を主に想定してユーザインターフェース画面が作成されている。自動生成された追加のバンク「4」〜「6」は仮保存される。   In the example of FIG. 41, three options “2 directions”, “4 directions”, and “8 directions” are prepared. The number of options is arbitrary. “Two directions” means that an additional bank is automatically generated by rotating a reference lighting pattern set by the user by 180 °. “Four directions” means that an additional bank of lighting patterns rotated at 90 ° rotation intervals is automatically generated with reference to the lighting patterns included in the bank 116 set by the user. “8 directions” means that an additional bank is automatically generated by rotating a reference lighting pattern set by the user at 45 ° intervals. The user interface screen is created mainly assuming that the rotation angle is an asymmetrical lighting pattern such as the lighting pattern of the first bank “1”. The automatically generated additional banks “4” to “6” are temporarily stored.

図41は、ユーザが「4方向」を選択した例を示す。図41に見られるバンク「4」〜「6」が自動生成されたバンクを意味し、この3つの追加のバンク「4」〜「6」に含まれる点灯パターンが図41に図示されている。この図41から、ユーザが設定した第1バンク「1」の点灯パターンを基準として90°間隔で回転させた点灯パターンが設定されていることが理解できるだろう。   FIG. 41 shows an example in which the user selects “four directions”. The banks “4” to “6” seen in FIG. 41 mean automatically generated banks, and the lighting patterns included in these three additional banks “4” to “6” are shown in FIG. It can be understood from FIG. 41 that a lighting pattern is set that is rotated at 90 ° intervals based on the lighting pattern of the first bank “1” set by the user.

図43は追加のバンク自動生成のときのユーザインターフェース画面を示す。追加バンク「4」〜「6」は自動生成されると、この追加のバンクの情報がバーコードリーダ2に送信され、そして、上記のワークの位置決め(図31)で説明したライブ画像がユーザインターフェース画面に表示される。ユーザは試験片(ワーク)をバーコードリーダ2に対して回転させて、ディスプレイに表示のライブ画像の光の当たり具合を確認することになる。また、これに続いて読取試行が実行される。図37で説明した読取試行の結果をスコアなどで表示してもよい。また、この仮保存されている追加のバンクに対して、図40を参照して前述したチューニングを行うようにしてもよい。なお、図43のユーザインターフェース画面に「ライブビュー起動」「生成された設定で読取テスト(仮設定)」「設定を反映」という文言が見られるが、これらの文言が指し示す部位に、それぞれボタンが用意されていると理解されたい。「ライブビュー起動」ボタンを押し下げると、ワークの位置決め(図31)で説明したライブ画像がユーザインターフェース画面に表示される。「生成された設定で読取テスト(仮設定)」ボタンを押し下げると、読取試行が実行される。「設定を反映」ボタンを押し下げると追加のバンクが設定され、設定された追加のバンクがバーコードリーダ2に送信されて、このバーコードリーダ2のメモリMに記憶される。   FIG. 43 shows a user interface screen when an additional bank is automatically generated. When the additional banks “4” to “6” are automatically generated, the information of the additional bank is transmitted to the barcode reader 2, and the live image described in the above-described workpiece positioning (FIG. 31) is displayed on the user interface. Displayed on the screen. The user rotates the test piece (work) with respect to the bar code reader 2 and confirms the light hit state of the live image displayed on the display. Following this, a reading attempt is executed. The result of the reading trial described in FIG. 37 may be displayed as a score. Further, the tuning described above with reference to FIG. 40 may be performed on the additional temporarily stored bank. 43, the words “live view activation”, “reading test with generated settings (temporary setting)”, and “reflect settings” can be seen. Buttons are provided at the locations indicated by these words. Please understand that it is prepared. When the “live view activation” button is depressed, the live image described in the workpiece positioning (FIG. 31) is displayed on the user interface screen. When the “reading test with generated settings (provisional setting)” button is pressed, a reading attempt is executed. When the “reflect setting” button is pressed, an additional bank is set, and the set additional bank is transmitted to the barcode reader 2 and stored in the memory M of the barcode reader 2.

ユーザは、ライブ画像や読取試行の結果を見て、更に追加の点灯パターンを用意する必要があると考えたときには、「8方向」を選択して45°間隔で回転した点灯パターンの追加のバンクを自動生成させることになる。この45°間隔で回転させた追加のバンクは仮保存される。逆に、ユーザがそこまでの数の追加の点灯パターンは必要でないと考えたときには、「2方向」を選択して180°回転した点灯パターンの追加のバンクを自動生成させることになる。   When the user looks at the live image and the result of the reading trial and thinks that it is necessary to prepare an additional lighting pattern, the user selects “8 directions” and adds an additional bank of lighting patterns rotated at 45 ° intervals. Will be automatically generated. The additional banks rotated at 45 ° intervals are temporarily stored. On the other hand, when the user thinks that the number of additional lighting patterns is not necessary, an additional bank of lighting patterns rotated by 180 ° by selecting “two directions” is automatically generated.

上記の自動生成された追加のバンクは仮保存され、ユーザの操作によって最終設定される。設定された追加のバンクはバーコードリーダ2に転送されて、バーコードリーダ2の運用に反映される。   The automatically generated additional bank is temporarily stored and finally set by a user operation. The set additional bank is transferred to the barcode reader 2 and reflected in the operation of the barcode reader 2.

図42は、設定バンク116に含まれる他のパラメータの明るさに関する追加のバンクの自動生成の例を示す。図42の上段に第1〜第3のバンク「1」、「2」、「3」の3つのバンクが示されているが、この第1〜第3の3つのバンクはユーザが作成したバンクである。ここに、パラメータの「明るさ」の数値は(シャッター時間×ゲイン)の指標を意味している。   FIG. 42 shows an example of automatic generation of additional banks related to the brightness of other parameters included in the setting bank 116. In FIG. 42, the first to third banks “1”, “2”, and “3” are shown in the upper part of FIG. 42. These first to third banks are banks created by the user. It is. Here, the numerical value of the parameter “brightness” means an index of (shutter time × gain).

“明るさ5”の第1設定バンク「1」と、“明るさ80”の第2設定バンク「2」の2つの設定バンク116をユーザが選択して「補間数」を入力すると、この“明るさ5”“明るさ80”を基準として、これらの間をユーザが指定した数で補間した追加のバンクが自動生成される。図41は補間数「3」が指定された例である。第1設定バンク「1」の“明るさ5”と第2設定バンク「2」の“明るさ80”との間の“明るさ10」の第1の追加バンク「4」、“明るさ20”の第2の追加バンク「5」、“明るさ40”の第3の追加バンク「6」が自動生成される。つまり、下限の基準である“明るさ5”を倍々で補間したのが“明るさ10”、“明るさ20”、“明るさ40”である。   When the user selects two setting banks 116 of the first setting bank “1” of “brightness 5” and the second setting bank “2” of “brightness 80” and inputs “number of interpolations”, this “ Based on the brightness of 5 ”and“ brightness of 80 ”, an additional bank is automatically generated by interpolating between them by the number designated by the user. FIG. 41 shows an example in which the interpolation number “3” is designated. The first additional bank “4” of “brightness 10” between “brightness 5” of the first setting bank “1” and “brightness 80” of the second setting bank “2”, “brightness 20” The second additional bank “5” of “” and the third additional bank “6” of “brightness 40” are automatically generated. That is, “brightness 10”, “brightness 20”, and “brightness 40” are obtained by interpolating “brightness 5”, which is the lower limit reference, twice.

なお、図42に「ダイナミックレンジ」つまり撮像画像の暗い部分と明るい部分との差分を小さくして、暗い部分は比較的明るく、明るい部分は比較的暗くする設定に関して、第1、第2の設定バンク「1」「2」では「標準」が設定されているが、自動生成される追加のバンクは、このダイナミックレンジの設定がそのまま承継される。   FIG. 42 shows the first and second settings regarding the setting of “dynamic range”, that is, the difference between the dark part and the bright part of the captured image is reduced so that the dark part is relatively bright and the bright part is relatively dark. Although “standard” is set in the banks “1” and “2”, the setting of the dynamic range is inherited as it is in an automatically generated additional bank.

明るさに関する追加のバンクの自動生成に関する他の例として、例えば、ユーザが第1設定バンク「1」を設定したときに“明るさ5”を基準にユーザが予め指定したルールに従って、例えばその周辺の複数の“明るさ”を規定した、ユーザが指定した数の追加のバンクを自動生成するようにしてもよい。   As another example of automatic generation of an additional bank related to brightness, for example, when the user sets the first setting bank “1”, according to a rule specified in advance by the user based on “brightness 5”, for example, The user-specified number of additional banks that define a plurality of “brightness” may be automatically generated.

このように追加のバンクを自動設定する機能を付加することで、特に「ダイレクトパーツマーキング」と称されるワークに直接的に刻印された光学情報やヘアラインワークと称される表面に微細な研削跡を備えたワークの光学情報に関してユーザの設定作業を軽減することができる。この「ダイレクトパーツマーキング」は、ワークに対して光を当てる方向や光量によって読み取りが不安定になることが知られている。また、運用時に、バーコードリーダ2に対してワークが傾斜する場合(傾斜ズレ)や回転する場合(回転ズレ)でも安定した読み取りを実現するには、典型的な回転位置や傾斜角度を再現して設定作業を行う必要がある。   By adding the function to automatically set additional banks in this way, optical information stamped directly on the workpiece called “direct part marking” and fine grinding marks on the surface called hairline workpiece It is possible to reduce the user's setting work regarding the optical information of the workpiece provided with. This “direct part marking” is known to be unstable in reading depending on the direction and amount of light applied to the workpiece. In order to achieve stable reading even when the workpiece is tilted (tilt misalignment) or rotated (rotation misalignment) with respect to the barcode reader 2 during operation, typical rotation positions and tilt angles are reproduced. Setting is required.

これに対して、図41を参照して説明した点灯パターンを回転させた追加のバンクの自動設定によれば、運用時のワークの“回転ズレ”に対して対応できる典型的な点灯パターンを含むバンクが自動設定されるためユーザの設定作業を軽減することができる。図42を参照して説明した光量を変化させた追加のバンクの自動設定によれば、運用時のワークの“傾斜ズレ”に対して対応できる典型的な光量を含むバンクが自動設定されるためユーザの設定作業を軽減することができる。   On the other hand, according to the automatic setting of the additional bank which rotated the lighting pattern demonstrated with reference to FIG. 41, the typical lighting pattern which can respond to the "rotation shift" of the work at the time of operation is included. Since the bank is automatically set, the user's setting work can be reduced. According to the automatic setting of the additional bank in which the light amount is changed as described with reference to FIG. 42, the bank including the typical light amount that can cope with the “tilt shift” of the work during operation is automatically set. User setting work can be reduced.

前述したとおり、運用時、バーコードリーダ2は、一つの設定バンク116のパラメータに従って読み取りを実行して失敗したときには、次のバンク116のパラメータに従って読み取りが試行され、この第2のバンク116でも読み取りに失敗したときには、次のバンク116に従って読み取りを試行するというように、読み取りが成功するまで次々とバンク116の切り替えが行われる。したがって、図41〜図43を参照して説明した追加のバンクを自動設定することで、「ダイレクトパーツマーキング」のような光量や光の当たり具合の感受性の高いワークに対して、バーコードリーダ2による読み取りを安定化させることができる。   As described above, in operation, when the barcode reader 2 fails to execute reading according to the parameters of one setting bank 116, reading is attempted according to the parameters of the next bank 116, and reading is performed also in the second bank 116. If the reading fails, the bank 116 is successively switched until the reading succeeds, such as trying reading according to the next bank 116. Therefore, by automatically setting the additional bank described with reference to FIGS. 41 to 43, the barcode reader 2 can be applied to a work having a high sensitivity to the amount of light and light contact such as “direct part marking”. The reading by can be stabilized.

また、この追加のバンクの自動設定を実行するときに、追加のバンクを仮設定して読み取りを試行して読み取り率を確認することで適切な数の追加のバンクを自動設定できる。   In addition, when the automatic setting of the additional bank is executed, an appropriate number of additional banks can be automatically set by temporarily setting the additional bank and attempting reading to check the reading rate.

本発明は光学情報読取装置の設定に適用される。   The present invention is applied to the setting of an optical information reader.

1 バーコードリーダ・システム
2 バーコードリーダ
3 パーソナルコンピュータ
101 第1CPU
102 第2CPU
103 共有バス
104 共有メモリ
116 設定バンク
1 Bar code reader system 2 Bar code reader 3 Personal computer 101 First CPU
102 second CPU
103 Shared bus 104 Shared memory 116 Setting bank

Claims (6)

ユーザが設定した各種のパラメータを含む設定バンクを作成して、該設定バンクを光学情報読取装置の運用に反映させる光学情報読取の設定支援装置であって、
前記ユーザが作成した設定バンクに含まれる各種のパラメータのうち、ユーザが選択したパラメータを基準として、該基準パラメータの周辺のパラメータを所定のルールに従って変化させた追加のバンクを作成する追加バンク作成手段と、
前記追加のバンクの数をユーザが選択することのできる追加バンク数選択手段と、
前記追加バンク作成手段が作成した追加のバンクをユーザの指示に基づいて設定して、前記光学情報読取装置の運用に反映させる追加バンク設定手段とを有することを特徴とする光学情報読取の設定支援装置。
An optical information reading setting support device that creates a setting bank including various parameters set by a user and reflects the setting bank in the operation of the optical information reading device,
Additional bank creation means for creating an additional bank in which the parameters around the reference parameter are changed according to a predetermined rule, based on the parameter selected by the user among various parameters included in the setting bank created by the user When,
An additional bank number selection means that allows the user to select the number of additional banks;
Optical information reading setting support, comprising: additional bank setting means for setting an additional bank created by the additional bank creating means based on an instruction of a user and reflecting it in the operation of the optical information reading apparatus apparatus.
前記前記基準パラメータが前記光学情報読取装置の照明の点灯パターンであり、
前記追加のバンクが、予めユーザによって登録された点灯パターンからユーザが指定したルールによって選択される、請求項1に記載の光学情報読取の設定支援装置。
The reference parameter is a lighting pattern of illumination of the optical information reader;
The optical information reading setting support device according to claim 1, wherein the additional bank is selected according to a rule designated by the user from a lighting pattern registered in advance by the user.
前記光学情報読取装置の照明がリング型照明であり、
前記基準パラメータが前記リング型照明の周方向に非対象な点灯パターンである、請求項2に記載の光学情報読取の設定支援装置。
The illumination of the optical information reader is a ring illumination,
The optical information reading setting support apparatus according to claim 2, wherein the reference parameter is a non-target lighting pattern in a circumferential direction of the ring illumination.
前記追加バンク作成手段が、前記非対称な点灯パターンを周方向に回転させることにより前記追加のバンクを作成する、請求項3に記載の光学情報読取の設定支援装置。   4. The optical information reading setting support device according to claim 3, wherein the additional bank creating means creates the additional bank by rotating the asymmetric lighting pattern in a circumferential direction. 前記非対称な点灯パターンを周方向に回転させる角度をユーザが選択して、これを前記所定のルールとして設定可能である、請求項4に記載の光学情報読取の設定支援装置。   The optical information reading setting support device according to claim 4, wherein a user can select an angle at which the asymmetric lighting pattern is rotated in the circumferential direction and set the angle as the predetermined rule. 前記前記基準パラメータが前記光学情報読取装置の照明の明るさであり、
ユーザが2つの明るさの異なる設定バンクを選択することで、前記追加バンク作成手段が2つの前記基準パラメータの間を補間する追加のバンクを作成する、請求項1に記載の光学情報読取の設定支援装置。
The reference parameter is the illumination brightness of the optical information reader;
2. The optical information reading setting according to claim 1, wherein the additional bank creation means creates an additional bank that interpolates between the two reference parameters when a user selects two setting banks having different brightness. Support device.
JP2010210246A 2010-09-17 2010-09-17 Optical information reading setting support device Pending JP2012064172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010210246A JP2012064172A (en) 2010-09-17 2010-09-17 Optical information reading setting support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010210246A JP2012064172A (en) 2010-09-17 2010-09-17 Optical information reading setting support device

Publications (1)

Publication Number Publication Date
JP2012064172A true JP2012064172A (en) 2012-03-29

Family

ID=46059776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010210246A Pending JP2012064172A (en) 2010-09-17 2010-09-17 Optical information reading setting support device

Country Status (1)

Country Link
JP (1) JP2012064172A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016033788A (en) * 2014-07-31 2016-03-10 株式会社キーエンス Optical information reading device, optical information reading method, and program
JP2018045735A (en) * 2017-12-27 2018-03-22 株式会社キーエンス Optical information reading device, optical information reading method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016033788A (en) * 2014-07-31 2016-03-10 株式会社キーエンス Optical information reading device, optical information reading method, and program
JP2018045735A (en) * 2017-12-27 2018-03-22 株式会社キーエンス Optical information reading device, optical information reading method, and program

Similar Documents

Publication Publication Date Title
JP5715785B2 (en) Code printing quality evaluation system
US9501678B2 (en) Indicia reading terminal including optical filter
US20190034683A1 (en) Reader for optical indicia presented under two or more imaging conditions within a single frame time
JP2012064551A (en) External lighting unit using led
US20050205677A1 (en) System and method for sensing ambient light in an optical code reader
JP5572497B2 (en) Optical information reading system and external illumination device thereof
JP7010057B2 (en) Image processing system and setting method
JP5956941B2 (en) Optical code reading system and optical code reading control method
JP6780682B2 (en) Information acquisition system, control device and information acquisition method
JP5581157B2 (en) Illumination setting support device for optical information reader
JP6834842B2 (en) Setting support device, image processing system and setting support program
JP2012064173A (en) Setting support device for optical information reading device
TWI656362B (en) Electronic device and object rework method thereof
JP2012064172A (en) Optical information reading setting support device
JP2012064169A (en) Setting support device for optical information reader
JP5465641B2 (en) Optical information reading improvement support device
JP2023539375A (en) Machine vision system and method with multi-aperture optical assembly
JP5581156B2 (en) Illumination setting support device for optical information reader
JP2019071018A (en) Optical information reader and optical information reading method
JP5701433B2 (en) Illumination setting support device for optical information reader
JP5833195B2 (en) Illumination setting support device for optical information reader
US8657198B2 (en) End user-customizable data capture terminal for and method of imaging and processing target data
JPH06139398A (en) Two-dimensional scanner
JP3885596B2 (en) Optical information reader
JP2012064179A (en) Led illumination device for optical information reading device