JP2023079344A - Optical information reading apparatus - Google Patents

Optical information reading apparatus Download PDF

Info

Publication number
JP2023079344A
JP2023079344A JP2021192768A JP2021192768A JP2023079344A JP 2023079344 A JP2023079344 A JP 2023079344A JP 2021192768 A JP2021192768 A JP 2021192768A JP 2021192768 A JP2021192768 A JP 2021192768A JP 2023079344 A JP2023079344 A JP 2023079344A
Authority
JP
Japan
Prior art keywords
optical information
information reader
main body
angle
displayed
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
JP2021192768A
Other languages
Japanese (ja)
Inventor
知己 伊▲崎▼
Tomoki Isaki
康介 野内
Kosuke Nouchi
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 JP2021192768A priority Critical patent/JP2023079344A/en
Publication of JP2023079344A publication Critical patent/JP2023079344A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

To easily adjust an installation angle of an optical information reading apparatus.SOLUTION: An optical information reading apparatus body includes an inclination sensor which can output a value indicating an inclination of the optical information reading apparatus body to the horizontal direction or gravity direction. A display unit 101 displays a code image acquired by a camera in association with angular information of the optical information reading apparatus body calculated on the basis of the value output from the inclination sensor when the code image is acquired.SELECTED DRAWING: Figure 15

Description

本開示は、ワークに付与されたコードを読み取る固定式の光学情報読取装置に関する。 TECHNICAL FIELD The present disclosure relates to a fixed optical information reader that reads a code given to a work.

一般的に、光学情報読取装置は、ワークに付与されたバーコードや二次元コード等のコードをカメラによって撮影し、得られた画像に含まれるコードを画像処理によって切り出して二値化し、デコード処理して情報を読み取ることができるように構成されている。 In general, an optical information reader captures a code such as a barcode or two-dimensional code attached to a workpiece with a camera, extracts the code contained in the obtained image by image processing, binarizes it, and decodes it. It is configured so that the information can be read by

また、例えば特許文献1には、画像処理を用いた検査装置が開示されている。この検査装置では、ワークを撮影するカメラ内に傾きセンサが設けられており、この傾きセンサから出力された傾きを示す値に基づいて取得されたカメラの傾き度合いを示す図や値を表示器に表示させている。 Further, for example, Patent Literature 1 discloses an inspection apparatus using image processing. In this inspection device, a tilt sensor is provided in the camera that photographs the work, and a diagram and values indicating the degree of tilt of the camera obtained based on the value indicating the tilt output from the tilt sensor are displayed on the display. I am displaying.

特開2018-205023号公報JP 2018-205023 A

ところで、光学情報読取装置は、例えば工場のライン等に設置され、固定された状態で使用される場合があるが、設置時には光学情報読取装置の角度調整が必要である。ここで、特許文献1にはカメラの傾き度合いを示す図や値を表示器に表示させる技術が開示されているが、この技術は、あくまでもカメラの傾き度合いをユーザに伝達するだけに過ぎないものであり、調整後の角度が適切な角度となっているかどうかを判別するのに利用できる情報ではなかった。 By the way, the optical information reader may be installed, for example, in a factory line or the like and used in a fixed state, but the angle of the optical information reader needs to be adjusted at the time of installation. Here, Patent Document 1 discloses a technique for displaying a diagram or value indicating the degree of tilt of the camera on a display device, but this technique merely conveys the degree of tilt of the camera to the user. This is not information that can be used to determine whether the angle after adjustment is appropriate.

本開示は、かかる点に鑑みたものであり、その目的とするところは、光学情報読取装置の設置角度の調整が容易に行えるようにすることにある。 The present disclosure has been made in view of this point, and an object of the present disclosure is to facilitate adjustment of the installation angle of the optical information reader.

上記目的を達成するために、本開示の一態様では、コードが付与されたワークを撮影するカメラと当該カメラにより取得されたコード画像をデコードするデコード手段とを有する光学情報読取装置本体と、前記カメラにより取得されたコード画像を表示する表示器とを備えた固定式の光学情報読取装置を前提とすることができる。前記光学情報読取装置本体は、当該光学情報読取装置本体の水平方向または重力方向に対する傾きを示す値を出力可能な傾きセンサを有している。前記表示器には、前記カメラにより取得されたコード画像と、当該コード画像が取得された時に前記傾きセンサから出力された値に基づいて算出された前記光学情報読取装置本体の角度情報とが関連付けられて表示される。 In order to achieve the above object, in one aspect of the present disclosure, an optical information reader main body having a camera for photographing a work to which a code is assigned and decoding means for decoding a code image obtained by the camera; A stationary optical information reader with a display for displaying the code image acquired by the camera can be assumed. The optical information reading device main body has an inclination sensor capable of outputting a value indicating the inclination of the optical information reading device main body with respect to the horizontal direction or the gravitational direction. The display unit associates the code image acquired by the camera with angle information of the optical information reading device body calculated based on the value output from the tilt sensor when the code image was acquired. displayed.

この構成によれば、光学情報読取装置本体を例えば工場のライン等に設置する際には、ある角度で固定することになる。固定状態にある光学情報読取装置本体の角度情報は、取得されたコード画像と関連付けられて表示器に表示されるので、光学情報読取装置本体の角度情報と、コード画像とをユーザが把握できる。これに基づいて、光学情報読取装置本体の角度をどの方向にどの程度変えればよいか、見当が付きやすくなり、角度の微調整が容易になる。 According to this configuration, when the optical information reader main body is installed in a factory line or the like, it is fixed at a certain angle. Since the angle information of the optical information reader main body in the fixed state is displayed on the display device in association with the acquired code image, the user can grasp the angle information of the optical information reader main body and the code image. Based on this, it becomes easier to guess which direction and how much the angle of the main body of the optical information reader should be changed, and fine adjustment of the angle is facilitated.

他の態様では、光学情報読取装置本体は、当該光学情報読取装置本体とワークとの距離を示す値を出力可能な距離センサを有していてもよい。この場合、表示器には、カメラにより取得されたコード画像と、光学情報読取装置本体とワークとの距離とを関連付けて表示することができる。これにより、光学情報読取装置本体の距離を長くすればよいか、短くすればよいか、調整時の見当が付きやすくなり、距離の微調整が容易になる。 In another aspect, the optical information reader main body may have a distance sensor capable of outputting a value indicating the distance between the optical information reader main body and the work. In this case, the code image acquired by the camera and the distance between the optical information reader main body and the workpiece can be associated and displayed on the display. As a result, it becomes easier to guess whether the distance of the main body of the optical information reader should be lengthened or shortened, and fine adjustment of the distance is facilitated.

他の態様では、光学情報読取装置本体に本体表示部を設けて、光学情報読取装置本体の角度情報や、光学情報読取装置本体とワークとの距離を表示することもできる。表示の形態としては、例えば、基準線と、光学情報読取装置本体を模した模式図とを用いた表示形態とすることができ、この場合、基準線に対する模式図の相対的な位置関係として角度情報を表示することで、ユーザが直感的に把握し易くなる。 In another aspect, the optical information reader main body may be provided with a main body display section to display the angle information of the optical information reader main body and the distance between the optical information reader main body and the workpiece. As a form of display, for example, a display form using a reference line and a schematic diagram simulating the main body of the optical information reader can be used. Displaying the information makes it easier for the user to intuitively grasp the information.

本体表示部には、設定時にのみ角度情報を表示してもよい。すなわち、角度情報は設定時に重要なものであることから、設定時にのみ表示し、表示の必要性が低い運用時には表示させないようにすることができる。 Angle information may be displayed on the main body display unit only at the time of setting. That is, since the angle information is important at the time of setting, it can be displayed only at the time of setting and not displayed during operation when the need for display is low.

以上説明したように、カメラにより取得されたコード画像と、光学情報読取装置本体の角度情報とが関連付けられて表示器に表示されるので、光学情報読取装置の設置角度の調整を容易に行うことができる。 As described above, the code image acquired by the camera and the angle information of the optical information reader main body are associated with each other and displayed on the display unit, so that the installation angle of the optical information reader can be easily adjusted. can be done.

光学情報読取装置の運用時を説明する図である。It is a figure explaining the time of operation of an optical information reader. 光学情報読取装置のブロック図である。1 is a block diagram of an optical information reader; FIG. 光学情報読取装置の正面図である。1 is a front view of an optical information reader; FIG. 光学情報読取装置をコネクタ側から見た斜視図である。It is the perspective view which looked at the optical information reader from the connector side. 光学情報読取装置を背面側から見た斜視図である。It is the perspective view which looked at the optical information reader from the back side. コネクタを回転させた状態を示す斜視図である。It is a perspective view which shows the state which rotated the connector. コネクタ回転機構を備えていない光学情報読取装置の正面図である。It is a front view of the optical information reader which is not provided with the connector rotation mechanism. コネクタ回転機構を備えていない光学情報読取装置をコネクタ側から見た斜視図である。FIG. 4 is a perspective view of the optical information reader without a connector rotating mechanism, viewed from the connector side; コネクタ回転機構を備えていない光学情報読取装置を背面側から見た斜視図である。It is the perspective view which looked at the optical information reader which is not provided with the connector rotation mechanism from the back side. 傾きセンサが実装された基板の正面図である。FIG. 4 is a front view of a board on which a tilt sensor is mounted; 傾きセンサで検出可能な物理量や現象を示す図である。4A and 4B are diagrams showing physical quantities and phenomena detectable by the tilt sensor; FIG. ピッチ角度、スキュー角度及びチルト角度の基準を示す図である。FIG. 4 is a diagram showing references for pitch angle, skew angle, and tilt angle; ピッチ角度、スキュー角度及びチルト角度のヒステリシスを示す図である。FIG. 4 is a diagram showing hysteresis of pitch angle, skew angle and tilt angle; チューニング実行部によるチューニングの手順の一例を示すフローチャートである。5 is a flow chart showing an example of a tuning procedure by a tuning execution unit; ユーザーインターフェース画面の一例を示す図である。FIG. 10 is a diagram showing an example of a user interface screen; FIG. 本体表示部の表示形態の一例を示す図である。It is a figure which shows an example of the display form of a main body display part.

以下、本発明の実施形態を図面に基づいて詳細に説明する。尚、以下の好ましい実施形態の説明は、本質的に例示に過ぎず、本発明、その適用物或いはその用途を制限することを意図するものではない。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail based on the drawings. It should be noted that the following description of preferred embodiments is essentially merely illustrative, and is not intended to limit the invention, its applications, or its uses.

図1は、本発明の実施形態に係る光学情報読取システムSの運用時を模式的に示す図である。光学情報読取システムSは、光学情報読取装置1Aと、PLC130とを備えているが、PLC130は必須なものではない。光学情報読取装置1Aは、第1光学情報読取装置本体1000Aと、設定装置100とを備えている。光学情報読取システムSには、例えば、第2光学情報読取装置本体1000B、第3光学情報読取装置本体1000C等が含まれていてもよい。光学情報読取装置本体の数は特に限定されるものではなく、1台であってもよいし、任意の複数台であってもよい。図1に示す例では、第1光学情報読取装置本体1000A、第2光学情報読取装置本体1000B及び第3光学情報読取装置本体1000Cの3台の光学情報読取装置本体を備えている。 FIG. 1 is a diagram schematically showing operation of an optical information reading system S according to an embodiment of the present invention. The optical information reading system S includes an optical information reading device 1A and a PLC 130, but the PLC 130 is not essential. The optical information reader 1A includes a first optical information reader body 1000A and a setting device 100. As shown in FIG. The optical information reading system S may include, for example, a second optical information reading device body 1000B, a third optical information reading device body 1000C, and the like. The number of optical information reader main bodies is not particularly limited, and may be one or an arbitrary plurality of units. In the example shown in FIG. 1, there are three optical information reader main bodies: a first optical information reader main body 1000A, a second optical information reader main body 1000B, and a third optical information reader main body 1000C.

設定装置100は、汎用あるいは専用の電子計算機や携帯型端末等を利用することができ、液晶ディスプレイ等からなる表示器101、キーボード102、マウス103、通信部104、制御部105及び記憶部106を備えている。キーボード102及びマウス103は、設定装置100をユーザが操作するための操作機器である。キーボード102及びマウス103を操作することで、任意の数字等の入力が可能になるとともに、各種設定等を行うことができる。通信部104は、ネットワークNに接続され、第1~第3光学情報読取装置本体1000A、1000B、1000Cと相互に通信可能に構成されている。記憶部106には、光学情報読取システムSの動作プログラム、撮影条件、読取条件、コード画像、読取結果等が記憶される。この構成に限らず、各種情報を第1~第3光学情報読取装置本体1000A、1000B、1000Cに記憶し、設定装置100で閲覧することもできる。 The setting device 100 can use a general-purpose or dedicated computer, portable terminal, or the like, and includes a display device 101 such as a liquid crystal display, a keyboard 102, a mouse 103, a communication unit 104, a control unit 105, and a storage unit 106. I have. A keyboard 102 and a mouse 103 are operation devices for a user to operate the setting device 100 . By operating the keyboard 102 and the mouse 103, it is possible to input arbitrary numbers and perform various settings. The communication unit 104 is connected to the network N and configured to be able to communicate with the first to third optical information reader main bodies 1000A, 1000B, and 1000C. The storage unit 106 stores an operation program of the optical information reading system S, photographing conditions, reading conditions, code images, reading results, and the like. Various types of information can be stored in the first to third optical information reader main bodies 1000A, 1000B, and 1000C and browsed by the setting device 100 without being limited to this configuration.

図1に示す例では、複数のワークWが搬送用ベルトコンベアBの上面に載置された状態で図1における矢印Yの方向へ搬送されている。ワークWは、例えば荷物、商品、各種部品、電気製品、電子機器等の物品であり、ベルトコンベアBの送り方向について最上流ではワークWに対して第1工程が行われ、中間部では同ワークWに対して第2工程が行われ、最下流では同ワークWに対して第3工程が行われるようになっている。各工程では、例えば印刷、貼付、部品等の取付作業、各種加工、塗装、調整等が行われる。 In the example shown in FIG. 1, a plurality of works W are conveyed in the direction of arrow Y in FIG. The work W is, for example, an article such as luggage, merchandise, various parts, electric products, electronic equipment, etc. In the feeding direction of the belt conveyor B, the first process is performed on the work W at the most upstream, and the same work W is performed at the intermediate part. The second process is performed on W, and the third process is performed on the same work W at the most downstream side. In each process, for example, printing, pasting, attachment of parts, etc., various processing, painting, adjustment, etc. are performed.

第1工程でベルトコンベアB上に置かれているワークWから上方へ離れた所に、第1光学情報読取装置本体1000Aが設置されている。第1光学情報読取装置本体1000Aは、ワークWに付与されているコードを撮影し、撮影により取得されたコード画像に含まれるコードをデコード処理して各種情報(文字列データ)を読み取ることができるように構成されている。また、第2工程でベルトコンベアB上に置かれているワークWから上方へ離れた所に、第2光学情報読取装置本体1000Bが設置され、さらに、第3工程でベルトコンベアB上に置かれているワークWから上方へ離れた所に、第3光学情報読取装置本体1000Cが設置されている。第1~第3光学情報読取装置本体1000A、1000B、1000Cは同じものである。 A first optical information reading device main body 1000A is installed at a location separated upward from the work W placed on the belt conveyor B in the first step. The first optical information reader main body 1000A can photograph the code given to the work W, decode the code contained in the code image obtained by photographing, and read various information (character string data). is configured as Further, a second optical information reading apparatus main body 1000B is installed at a position spaced upward from the workpiece W placed on the belt conveyor B in the second step, and further placed on the belt conveyor B in the third step. A third optical information reading apparatus main body 1000C is installed at a location spaced upward from the work W placed thereon. The first to third optical information reader bodies 1000A, 1000B and 1000C are the same.

図1に示す例では、第1~第3光学情報読取装置本体1000A、1000B、1000Cが定置式(固定式)の場合である。この定置式の第1~第3光学情報読取装置本体1000A、1000B、1000Cの運用時には、第1~第3光学情報読取装置本体1000A、1000B、1000Cが動かないようにブラケット等(図示せず)に固定して使用する。尚、定置式の第1~第3光学情報読取装置本体1000A、1000B、1000Cをロボット(図示せず)が把持した状態で使用してもよい。また、静止状態にあるワークWのコードを第1~第3光学情報読取装置本体1000A、1000B、1000Cによって読み取るようにしてもよい。定置式の第1~第3光学情報読取装置本体1000A、1000B、1000Cの運用時とは、搬送用ベルトコンベアBによって搬送されるワークWのコードを順に読み取る動作を行っている時である。 In the example shown in FIG. 1, the first to third optical information reader bodies 1000A, 1000B, and 1000C are stationary (fixed). When operating the stationary first to third optical information reader main bodies 1000A, 1000B, and 1000C, brackets and the like (not shown) are used to prevent the first to third optical information reader main bodies 1000A, 1000B, and 1000C from moving. to be used. The stationary first to third optical information reader main bodies 1000A, 1000B, and 1000C may be used while being held by a robot (not shown). Also, the code of the work W in a stationary state may be read by the first to third optical information reader bodies 1000A, 1000B, and 1000C. The operation of the stationary first to third optical information reader main bodies 1000A, 1000B, and 1000C means that the code of the work W transported by the transport belt conveyor B is sequentially read.

第1~第3工程を同一のベルトコンベアB上で行ってもよいし、一部の工程を別のベルトコンベア(図示せず)上で行ってもよいし、全ての工程を異なるベルトコンベア上で行ってもよい。ベルトコンベアB以外の搬送装置(図示せず)でワークWを搬送してもよい。第1~第3工程は同一工場内で行ってもよいし、異なる工場内で行ってもよい。工程の数は3つに限られるものではなく、1つの工程のみであってもよい。また、上記工程は、ワークWを単に搬送する搬送工程であってもよい。 The first to third steps may be performed on the same belt conveyor B, some steps may be performed on another belt conveyor (not shown), and all steps may be performed on different belt conveyors. You can go with The work W may be transported by a transport device (not shown) other than the belt conveyor B. The first to third steps may be performed in the same factory or in different factories. The number of steps is not limited to three, and may be one step. Further, the above process may be a transport process for simply transporting the workpiece W.

各ワークWの外面の一部には上方から撮像可能な位置にコードが付与されている。コードには、バーコード及び二次元コードの両方が含まれる。二次元コードとしては、たとえば、QRコード(登録商標)、マイクロQRコード、データマトリクス(Data matrix;Data code)、ベリコード(Veri code)、アズテックコード(Aztec code)、PDF417、マキシコード(Maxi code)などがある。二次元コードにはスタック型とマトリクス型があるが、本実施形態はいずれの二次元コードに対しても適用できる。コードは、ワークWに直接印刷あるいは刻印することによって付与してもよいし、ラベルに印刷した後にワークWに貼付することによって付与してもよく、その手段、方法は問わない。 A code is given to a part of the outer surface of each work W at a position that can be imaged from above. Codes include both barcodes and two-dimensional codes. Examples of two-dimensional codes include QR code (registered trademark), micro QR code, data matrix (Data code), Veri code, Aztec code, PDF417, and Maxi code. and so on. There are stack type and matrix type two-dimensional codes, but this embodiment can be applied to any two-dimensional code. The code may be assigned by printing or stamping directly on the work W, or may be attached to the work W after being printed on a label.

(読取開始トリガ信号)
第1~第3光学情報読取装置本体1000A、1000B、1000Cは、プログラマブル・ロジック・コントローラ(PLC)130に信号線130aによって有線接続されているが、これに限らず、第1~第3光学情報読取装置本体1000A、1000B、1000C、及びPLC130に通信モジュールを内蔵し、第1~第3光学情報読取装置本体1000A、1000B、1000C、PLC130とを無線接続するようにしてもよい。PLC130は、搬送用ベルトコンベアB及び第1~第3光学情報読取装置本体1000A、1000B、1000Cをシーケンス制御するための制御装置であり、汎用のPLCを利用することができる。
(Reading start trigger signal)
The first to third optical information reader bodies 1000A, 1000B, and 1000C are wired to a programmable logic controller (PLC) 130 via a signal line 130a. A communication module may be built in the reader main bodies 1000A, 1000B, 1000C, and PLC 130, and the first to third optical information reader main bodies 1000A, 1000B, 1000C, and PLC 130 may be wirelessly connected. The PLC 130 is a control device for sequence-controlling the transport belt conveyor B and the first to third optical information reader main bodies 1000A, 1000B, and 1000C, and a general-purpose PLC can be used.

第1~第3光学情報読取装置本体1000A、1000B、1000Cは、その運用時において、PLC130から信号線130aを介して、コード読取の開始タイミングを規定する読取開始トリガ信号をそれぞれ受信する。そして、第1~第3光学情報読取装置本体1000A、1000B、1000Cは、この読取開始トリガ信号に基づいてコード画像の取得及びデコード処理を行う。その後、読取結果は、信号線130aを介してPLC130へ送信される。このように、第1~第3光学情報読取装置本体1000A、1000B、1000Cの運用時には、第1~第3光学情報読取装置本体1000A、1000B、1000CとPLC130等の外部制御装置との間で、信号線130aを介して読取開始トリガ信号の入力とデコード結果の出力が繰り返し行われる。なお、読取開始トリガ信号の入力や読取結果の出力は、上述したように、第1~第3光学情報読取装置本体1000A、1000B、1000CとPLC130との間の信号線130aを介して行ってもよいし、それ以外の図示しない信号線を介して行ってもよい。例えば、ワークWの到着を検知するためのセンサと第1~第3光学情報読取装置本体1000A、1000B、1000Cとを直接的に接続し、そのセンサから第1~第3光学情報読取装置本体1000A、1000B、1000Cへ読取開始トリガ信号を入力するようにしてもよい。 During operation, the first to third optical information reader bodies 1000A, 1000B, and 1000C each receive a read start trigger signal that defines the start timing of code reading from the PLC 130 via the signal line 130a. Then, the first to third optical information reader main bodies 1000A, 1000B, and 1000C perform code image acquisition and decoding processing based on this reading start trigger signal. After that, the reading result is transmitted to the PLC 130 via the signal line 130a. In this way, when operating the first to third optical information reader main bodies 1000A, 1000B, and 1000C, between the first to third optical information reader main bodies 1000A, 1000B, and 1000C and an external control device such as the PLC 130, Input of the reading start trigger signal and output of the decoding result are repeatedly performed via the signal line 130a. It should be noted that the input of the read start trigger signal and the output of the read result may be performed via the signal line 130a between the first to third optical information reader main bodies 1000A, 1000B, 1000C and the PLC 130 as described above. Alternatively, it may be performed via other signal lines (not shown). For example, a sensor for detecting the arrival of the workpiece W is directly connected to the first to third optical information reader main bodies 1000A, 1000B, and 1000C, and the sensors are connected to the first to third optical information reader main bodies 1000A. , 1000B, and 1000C.

(光学情報読取装置の構成)
以下、光学情報読取装置1Aの構成について詳細に説明する。図2は、光学情報読取装置1Aのブロック図である。図3~図6は、第1光学情報読取装置本体1000Aの外観を示す図である。第1光学情報読取装置本体1000Aは、筐体2と、照明部4及びカメラ5と、プロセッサ20とを備えている。照明部4は、ワークWを照明する部分であり、また、カメラ5は、コードが付与されたワークWを照明部4によって照明された状態で撮影し、コードを含むコード画像を取得する部分である。プロセッサ20のデコード部22は、カメラ5で取得されたコード画像をデコードするデコード手段の一例である。
(Configuration of optical information reader)
The configuration of the optical information reader 1A will be described in detail below. FIG. 2 is a block diagram of the optical information reader 1A. 3 to 6 are diagrams showing the appearance of the first optical information reader main body 1000A. The first optical information reader main body 1000A includes a housing 2, an illumination section 4, a camera 5, and a processor 20. As shown in FIG. The illumination unit 4 is a portion that illuminates the workpiece W, and the camera 5 is a portion that captures an image of the workpiece W to which the code is assigned while being illuminated by the illumination unit 4, and obtains a code image including the code. be. The decoding unit 22 of the processor 20 is an example of decoding means for decoding the code image acquired by the camera 5 .

この実施形態の説明では、図3~図6に示すように第1光学情報読取装置本体1000Aの上下、左右、前後をそれぞれ定義するが、これは説明の便宜を図るためだけであり、第1光学情報読取装置本体1000Aの使用時における向きを限定するものではない。すなわち、図1に示すように、第1光学情報読取装置本体1000Aの前面(正面)が下に向き、後面(背面)が上に向くように設置して使用すること、第1光学情報読取装置本体1000Aの前面が上に向くように設置して使用すること、あるいは第1光学情報読取装置本体1000Aの前面が傾斜した状態となるように設置して使用すること等が可能である。また、第1光学情報読取装置本体1000Aの左右方向は幅方向と呼ぶこともできる。 In the description of this embodiment, as shown in FIGS. 3 to 6, top and bottom, left and right, and front and back of the first optical information reader main body 1000A are defined respectively, but this is only for convenience of description, and the first The orientation of the optical information reader body 1000A during use is not limited. That is, as shown in FIG. 1, the front surface (front) of the first optical information reader main body 1000A faces downward and the rear surface (rear surface) faces upward. It is possible to install and use the front surface of the main body 1000A facing upward, or to install and use the front surface of the first optical information reader main body 1000A in an inclined state. Further, the horizontal direction of the first optical information reader body 1000A can also be called the width direction.

図3~図6に示すように、筐体2は、上下方向に長い略矩形箱状をなしており、前面2a、後面2b、左側面2c、右側面2d、上面2e、下面2fを少なくとも有している。 As shown in FIGS. 3 to 6, the housing 2 has a substantially rectangular box shape elongated in the vertical direction, and has at least a front surface 2a, a rear surface 2b, a left side 2c, a right side 2d, an upper surface 2e, and a lower surface 2f. are doing.

カメラ5は筐体2内に設けられている。図2に示すように、カメラ5は、照明部4によって照明されているコードを撮像する撮像素子5aと、レンズ等を有する光学系5bと、AFモジュール(オートフォーカスモジュール)5cとを備えている。光学系5bには、ワークWのコードが付与された部分から反射した光が入射するようになっている。撮像素子5aは、光学系5bを通して得られたコードの画像を電気信号に変換するCCD(charge-coupled device)やCMOS(complementary metal oxide semiconductor)等の受光素子からなるイメージセンサである。撮像素子5aはプロセッサ20に接続されていて、撮像素子5aによって変換された電気信号は、プロセッサ20に入力される。また、AFモジュール5cは、光学系5bを構成するレンズのうち、合焦用レンズの位置や屈折率を変更することによってピント合わせを行う機構である。AFモジュール5cもプロセッサ20に接続され、プロセッサ20により制御される。 A camera 5 is provided within the housing 2 . As shown in FIG. 2, the camera 5 includes an imaging device 5a for imaging the code illuminated by the illumination unit 4, an optical system 5b having a lens and the like, and an AF module (autofocus module) 5c. . The light reflected from the portion of the workpiece W to which the code is assigned enters the optical system 5b. The imaging device 5a is an image sensor comprising a light-receiving device such as a CCD (charge-coupled device) or CMOS (complementary metal oxide semiconductor) that converts a code image obtained through the optical system 5b into an electric signal. The image sensor 5 a is connected to a processor 20 , and the electrical signal converted by the image sensor 5 a is input to the processor 20 . The AF module 5c is a mechanism that performs focusing by changing the position and refractive index of a focusing lens among the lenses that make up the optical system 5b. The AF module 5 c is also connected to and controlled by the processor 20 .

図2に示すように、照明部4は、第1発光素子4aと、第2発光素子4bと、第3発光素子4cとを有している。各発光素子4a、4b、4cは、例えば発光ダイオード等で構成されている。 As shown in FIG. 2, the lighting section 4 has a first light emitting element 4a, a second light emitting element 4b, and a third light emitting element 4c. Each of the light emitting elements 4a, 4b, 4c is composed of, for example, a light emitting diode.

図3及び図4に示すように、筐体2の前面2aには、第1発光素子4aの前方に配置される透光板52と、第2発光素子4bの前方に配置される拡散板51と、第3発光素子4cの前方に配置される偏光板50とが設けられている。透光板52は、例えば無色透明であり、偏光効果及び拡散効果を有していない板である。拡散板51は、その表面等に細かなシボを形成した透光性を有する板であり、入射した光を拡散させて出射する。偏光板50は、偏光効果を有する板である。 As shown in FIGS. 3 and 4, on the front surface 2a of the housing 2, a translucent plate 52 arranged in front of the first light emitting element 4a and a diffusion plate 51 arranged in front of the second light emitting element 4b. and a polarizing plate 50 arranged in front of the third light emitting element 4c. The light-transmitting plate 52 is, for example, a colorless and transparent plate that does not have a polarizing effect and a diffusing effect. The diffuser plate 51 is a light-transmitting plate having fine grains formed on its surface or the like, and diffuses and emits incident light. The polarizing plate 50 is a plate having a polarizing effect.

第1光学情報読取装置本体1000Aは、発光ダイオード等の発光体で構成されたエイマー10を備えている。このエイマー10は、第1光学情報読取装置本体1000Aの前方へ向けて光を照射することによってカメラ5の視野や照明部4の光軸の位置を示すためのものである。ユーザは、エイマー10から照射される光(エイマー光)を参照して第1光学情報読取装置本体1000Aを設置することもできる。 The first optical information reader main body 1000A includes an aimer 10 composed of a light-emitting body such as a light-emitting diode. This aimer 10 is for indicating the field of view of the camera 5 and the position of the optical axis of the illumination section 4 by irradiating light toward the front of the first optical information reading device main body 1000A. The user can also set the first optical information reader main body 1000A by referring to the light (aimer light) emitted from the aimer 10 .

この実施形態では、偏光板50、拡散板51及び透光板52が筐体2の前面2aに固定されている例について説明したが、これに限らず、偏光板50、拡散板51及び透光板52の少なくともいずれか一つは、筐体2に対して着脱可能に取り付けられていてもよい。図示しないが、例えば、偏光板50、拡散板51及び透光板52の少なくともいずれか1つと、枠体とを一体化したアタッチメントとしておき、枠体を筐体2の前面2aに対して、例えば爪嵌合構造やネジ等による締結固定構造を用いて取り付けることもできる。この場合、偏光板50、拡散板51及び透光板52の少なくともいずれか一つを必要に応じて取り付けたり、取り外したりすることができる。アタッチメントは、拡散板51のみを有していてもよいし、偏光板50のみを有していてもよいし、拡散板51及び偏光板50を有していてもよい。 In this embodiment, an example in which the polarizing plate 50, the diffusing plate 51, and the translucent plate 52 are fixed to the front surface 2a of the housing 2 has been described. At least one of the plates 52 may be detachably attached to the housing 2 . Although not shown, for example, at least one of the polarizing plate 50, the diffusion plate 51, and the translucent plate 52 and a frame are integrated into an attachment, and the frame is attached to the front surface 2a of the housing 2, for example It can also be attached using a claw fitting structure or a fastening and fixing structure using screws or the like. In this case, at least one of the polarizing plate 50, the diffusion plate 51, and the translucent plate 52 can be attached or detached as required. The attachment may have only the diffusing plate 51 , may have only the polarizing plate 50 , or may have the diffusing plate 51 and the polarizing plate 50 .

(照明制御部)
図2に示すように、第1発光素子4a、第2発光素子4b及び第3発光素子4cは、プロセッサ20に接続されており、当該プロセッサ20よって構成される照明制御部21で制御される。照明制御部21は、第2発光素子4bの発光素子を点灯させているときには他の照明発光素子4a、4cの発光素子を点灯させないように照明部4を制御すること、第1発光素子4aの発光素子を点灯させているときには他の照明発光素子4b、4cの発光素子を点灯させないように照明部4を制御すること、第3発光素子4cの発光素子を点灯させているときには他の照明発光素子4a、4bの発光素子を点灯させないように照明部4を制御することが可能になっている。つまり、照明制御部21は、直接光(透光板52を透過した光)、拡散光、偏光光を切り替えてコードに照射可能に構成されている。また、拡散光が不要なワークWの場合には、直接光に切り替えることで、大光量でコードを照射して高コントラストのコード画像を取得できる。また、必要に応じて偏光光に切り替えることでも高コントラストのコード画像を取得できる。また、第1発光素子4a、第2発光素子4b及び第3発光素子4cの全ての発光素子を点灯することで大きな光量を得ることができる。よって、読取可能なワークWの範囲が拡大する。
(Lighting controller)
As shown in FIG. 2, the first light emitting element 4a, the second light emitting element 4b, and the third light emitting element 4c are connected to a processor 20 and controlled by a lighting controller 21 configured by the processor 20. FIG. The illumination control unit 21 controls the illumination unit 4 so that the light emitting elements of the other illumination light emitting elements 4a and 4c are not illuminated when the light emitting element of the second light emitting element 4b is illuminated. Controlling the illumination unit 4 so as not to illuminate the light emitting elements of the other illumination light emitting elements 4b and 4c when the light emitting elements are illuminated, and controlling the other illumination light emission when the light emitting element of the third light emitting element 4c is illuminated. It is possible to control the lighting unit 4 so as not to light the light emitting elements of the elements 4a and 4b. That is, the illumination control unit 21 is configured to switch between direct light (light transmitted through the transparent plate 52), diffused light, and polarized light to irradiate the code. Also, in the case of a workpiece W that does not require diffused light, a high-contrast code image can be obtained by irradiating the code with a large amount of light by switching to direct light. A high-contrast code image can also be obtained by switching to polarized light as needed. Moreover, a large amount of light can be obtained by turning on all the light emitting elements of the first light emitting element 4a, the second light emitting element 4b, and the third light emitting element 4c. Therefore, the range of the work W that can be read is expanded.

(デコード処理)
プロセッサ20によりデコード部22が構成されている。デコード部22は、第1発光素子4aからの光を透光板52を介してコードに照射しカメラ5で取得したコード画像と、第2発光素子4bからの光を拡散板51を介してコードに照射しカメラ5で取得したコード画像と、第3発光素子4cからの光を偏光板50を介してコードに照射しカメラ5で取得したコード画像と、第1発光素子4a、第2発光素子4b及び第3発光素子4cからの光を照射して取得したコード画像とをデコードする部分である。コード画像は、図2に示す記憶部30の画像データ記憶部30aに記憶されている。
(decode processing)
A decoder 22 is configured by the processor 20 . The decoding unit 22 irradiates the code with the light from the first light emitting element 4a through the transparent plate 52, and the code image obtained by the camera 5 and the light from the second light emitting element 4b through the diffuser plate 51 are converted into the code image. a code image acquired by the camera 5 by irradiating the light from the third light emitting element 4c through the polarizing plate 50 onto the code and acquired by the camera 5, the first light emitting element 4a and the second light emitting element 4b and the code image obtained by irradiating light from the third light emitting element 4c is decoded. The code image is stored in the image data storage section 30a of the storage section 30 shown in FIG.

デコード部22は、上記コード画像をデコードする前に各種画像処理フィルタ等の画像処理を行う。その後、デコード時には、従来から周知のテーブルを使用することができる。さらに、デコード部22は、デコードした結果が正しいか否かを所定のチェック方式に従ってチェックする。データに誤りが発見された場合にはエラー訂正機能を使用して正しいデータを演算する。エラー訂正機能はコードの種類によって異なる。デコード部22は、コードをデコードして得られたデコード結果を記憶部30のデコード結果記憶部30bに記憶させる。 The decoding unit 22 performs image processing such as various image processing filters before decoding the code image. After that, when decoding, conventionally known tables can be used. Furthermore, the decoding unit 22 checks whether the decoded result is correct according to a predetermined check method. If an error is found in the data, correct data is calculated using the error correction function. The error correction function differs depending on the type of code. The decoding unit 22 causes the decoding result storage unit 30b of the storage unit 30 to store the decoding result obtained by decoding the code.

(本体表示部)
図5に示すように、筐体2の上面2eには本体表示部6が設けられている。本体表示部6は、たとえば有機ELディスプレイや液晶ディスプレイ等からなるものである。図2に示すように、本体表示部6は、プロセッサ20に接続されている。本体表示部6には、例えばカメラ5で撮影されたコード画像、コード画像をデコードした結果である文字列、読み取り成功率、マッチングレベル、光学情報読取装置本体1000Aの角度情報等を表示させることができる。
(Body display)
As shown in FIG. 5, a body display section 6 is provided on the upper surface 2e of the housing 2. As shown in FIG. The main display unit 6 is composed of, for example, an organic EL display, a liquid crystal display, or the like. As shown in FIG. 2, the body display section 6 is connected to the processor 20 . The body display unit 6 can display, for example, a code image captured by the camera 5, a character string resulting from decoding the code image, a reading success rate, a matching level, angle information of the optical information reading device body 1000A, and the like. can.

読み取り成功率とは、複数回読み取り処理を実行したときの平均読み取り成功率である。マッチングレベルとは、デコードが成功したコードの読み取りのしやすさを示す読取余裕度である。これはデコード時に発生した誤り訂正の数等から求めることができ、たとえば数値で表すことができる。誤り訂正が少なければ少ないほどマッチングレベル(読取余裕度)が高くなり、一方、誤り訂正が多ければ多いほどマッチングレベルが低くなる。また、光学情報読取装置本体1000Aの角度情報については後述する。 The reading success rate is the average reading success rate when the reading process is executed multiple times. The matching level is a reading margin indicating how easily a successfully decoded code can be read. This can be obtained from the number of error corrections that occur during decoding, and can be represented by a numerical value, for example. The fewer error corrections, the higher the matching level (read margin), while the more error corrections, the lower the matching level. Also, the angle information of the optical information reader main body 1000A will be described later.

(操作ボタン)
筐体2の上面2eには、第1光学情報読取装置本体1000Aの設定時等に使用するセレクトボタン11及びエンターボタン12とが設けられている。セレクトボタン11及びエンターボタン12はプロセッサ20に接続されていて、プロセッサ20はセレクトボタン11及びエンターボタン12の操作状態を検出可能になっている。セレクトボタン11は、本体表示部6に表示された複数の選択肢の中から1つを選択する際に操作するボタンである。エンターボタン12は、セレクトボタン11で選択した結果を確定する際に操作するボタンである。
(Manual operation button)
A select button 11 and an enter button 12 are provided on the upper surface 2e of the housing 2 to be used when setting the first optical information reader main body 1000A. The select button 11 and the enter button 12 are connected to the processor 20 so that the processor 20 can detect the operating states of the select button 11 and the enter button 12 . The select button 11 is a button operated when selecting one of a plurality of options displayed on the main body display section 6 . The enter button 12 is a button operated when confirming the result selected with the select button 11 .

(インジケータ)
筐体2の上面2eには、インジケータ9も設けられている。インジケータ9は、プロセッサ20に接続されていて、たとえば発光ダイオード等の発光体で構成することができる。第1光学情報読取装置本体1000Aの作動状態をインジケータ9の点灯状態によって外部に報知することができる。例えば、第1光学情報読取装置本体1000Aがコード画像の読取に成功した場合にはインジケータ9が緑色に点灯する一方、第1光学情報読取装置本体1000Aがコード画像の読取に失敗した場合にはインジケータ9が赤色に点灯する等、制御可能になっている。
(indicator)
An indicator 9 is also provided on the upper surface 2 e of the housing 2 . The indicator 9 is connected to the processor 20 and can consist of a light emitter such as a light emitting diode. The operation state of the first optical information reader main body 1000A can be notified to the outside by the lighting state of the indicator 9. FIG. For example, if the first optical information reader main body 1000A has successfully read the code image, the indicator 9 lights up in green. 9 is lit in red, etc., and is controllable.

(コネクタ)
筐体2の下部には、回転コネクタ60が設けられている。回転コネクタ60は、筐体2の本体部分に対して図5に示す中心線L3周りに回動可能に取り付けられている。回転コネクタ60には、光学情報読取装置1Aに電力を供給するための電力配線が接続される電源コネクタ7と、設定装置100及びPLC130に接続されるEthernetコネクタ8とが設けられている。尚、Ethernet規格は一例であり、Ethernet規格以外の規格の信号線を利用することもできる。
(connector)
A rotating connector 60 is provided at the bottom of the housing 2 . The rotary connector 60 is attached to the body portion of the housing 2 so as to be rotatable around the center line L3 shown in FIG. The rotary connector 60 is provided with a power connector 7 to which power wiring for supplying power to the optical information reader 1A is connected, and an Ethernet connector 8 to be connected to the setting device 100 and the PLC 130 . Note that the Ethernet standard is an example, and signal lines of standards other than the Ethernet standard can also be used.

回転コネクタ60を回転させることで、図3~図5に示すように電源コネクタ7及びEthernetコネクタ8が筐体2の下方へ突出する姿勢と、図6に示すように電源コネクタ7及びEthernetコネクタ8が筐体2の後方へ突出する姿勢とに切り替えることが可能になっている。光学情報読取装置1Aの設置場所に応じて、回転コネクタ60を回転させて所望の方向に電源コネクタ7及びEthernetコネクタ8を突出させることができる。 By rotating the rotating connector 60, the power connector 7 and the Ethernet connector 8 project downward from the housing 2 as shown in FIGS. can be switched to a posture in which it protrudes rearward from the housing 2 . The power connector 7 and the Ethernet connector 8 can be protruded in desired directions by rotating the rotary connector 60 according to the installation location of the optical information reader 1A.

(コネクタ回転機構の非搭載機種)
上記実施形態では、回転コネクタ60を搭載しているが、本発明はこれに限られるものではなく、例えば図7~図9に示すように、回転コネクタ60を搭載していない場合にも適用することができる。図7~図9に示す例では、電源コネクタ7及びEthernetコネクタ8が筐体2の下面2fから下方へ突出しており、その突出方向は固定されている。
(Models without a connector rotation mechanism)
In the above embodiment, the rotating connector 60 is mounted, but the present invention is not limited to this, and can also be applied to cases where the rotating connector 60 is not mounted, as shown in FIGS. 7 to 9, for example. be able to. In the examples shown in FIGS. 7 to 9, the power connector 7 and the Ethernet connector 8 protrude downward from the bottom surface 2f of the housing 2, and their protruding directions are fixed.

(通信部32の構成)
第1光学情報読取装置本体1000Aは通信部32を有している。通信部32は、設定装置100及びPLC130と通信を行う部分である。通信部32は、Webサーバ機能を有していてもよいし、設定装置100及びPLC130と接続されるI/O部、RS232C等のシリアル通信部、無線LANや有線LAN等のネットワーク通信部を有していてもよい。
(Configuration of communication unit 32)
The first optical information reader body 1000A has a communication section 32 . The communication unit 32 is a part that communicates with the setting device 100 and the PLC 130 . The communication unit 32 may have a web server function, an I/O unit connected to the setting device 100 and the PLC 130, a serial communication unit such as RS232C, and a network communication unit such as wireless LAN or wired LAN. You may have

(傾きセンサ)
第1光学情報読取装置本体1000Aは、当該第1光学情報読取装置本体1000Aの水平方向または重力方向に対する傾きを示す値を出力可能な傾きセンサ40を有している。傾きセンサ40から出力された値は、プロセッサ20に入力される。この実施形態の傾きセンサ40は、例えば加速度センサであり、第1光学情報読取装置本体1000Aの重力方向に対する傾きを示す値を出力するように構成されている。傾きセンサ40は、キャリブレーションすることでオフセット及びゲインを補正できるようになっている。例えば、x、y、zそれぞれの重力加速度方向について、-1g、+1gの両方向で校正することでゲインとオフセットを補正することができる。
(Tilt sensor)
The first optical information reader body 1000A has a tilt sensor 40 capable of outputting a value indicating the tilt of the first optical information reader body 1000A with respect to the horizontal direction or the gravitational direction. A value output from the tilt sensor 40 is input to the processor 20 . The tilt sensor 40 of this embodiment is, for example, an acceleration sensor, and is configured to output a value indicating the tilt of the first optical information reader body 1000A with respect to the direction of gravity. The tilt sensor 40 can be calibrated to correct the offset and gain. For example, gain and offset can be corrected by calibrating in both directions of −1 g and +1 g for each of the x, y, and z gravitational acceleration directions.

この実施形態では、第1光学情報読取装置本体1000Aが上下方向に長い形状を有しているので、第1光学情報読取装置本体1000Aの長軸方向が上下方向(縦方向)となり、短軸方向が左右方向(横方向)となる。これを前提として、図3~図5に示すように、第1光学情報読取装置本体1000Aの傾き方向について、ピッチ、スキュー及びチルトの3つを定義する。ピッチは、第1光学情報読取装置本体1000Aの長軸まわりの回動であり、またスキューは、第1光学情報読取装置本体1000Aの短軸まわりの回動であり、またチルトは、第1光学情報読取装置本体1000Aの前後方向に延びる軸まわりの回動である。 In this embodiment, since the first optical information reader main body 1000A has a shape elongated in the vertical direction, the long axis direction of the first optical information reader main body 1000A is the vertical direction (longitudinal direction), and the short axis direction is the vertical direction. is the left-right direction (horizontal direction). Based on this assumption, as shown in FIGS. 3 to 5, the tilt directions of the first optical information reader main body 1000A are defined as pitch, skew, and tilt. The pitch is the rotation of the first optical information reader main body 1000A around the long axis, the skew is the rotation of the first optical information reader main body 1000A around the short axis, and the tilt is the rotation of the first optical information reader main body 1000A. This is rotation about an axis extending in the front-rear direction of the information reading apparatus main body 1000A.

第1光学情報読取装置本体1000Aは、縦向き(長軸が上下方向に延びる向き)で使用するケースが多いので、主にスキュー角度を検出してユーザに提示できればよいが、より正確な設置方向を得るために、スキュー角度とピッチ角度との2つを検出してユーザに提示してもよい。また、スキュー角度、ピッチ角度及びチルト角度の3つを検出してユーザに提示してもよい。 Since the first optical information reader main body 1000A is often used in a vertical orientation (a direction in which the long axis extends in the vertical direction), it would be sufficient if the skew angle could be mainly detected and presented to the user. To obtain , both the skew angle and the pitch angle may be detected and presented to the user. Alternatively, three of the skew angle, pitch angle, and tilt angle may be detected and presented to the user.

傾きセンサ40は加速度センサであるため、重力方向とのなす角度(絶対角度)を検出するものであるが、運用時や設定時には、例えばワークWと第1光学情報読取装置本体1000Aとの相対的な角度が要求されることもある。この相対的な角度を算出する方法としては、例えばコードが四角形で形成されていることを利用し、カメラ5で取得されたコード画像に基づいて、四角形の幾何学的な変形を算出して画像処理により相対的な角度を検出する方法があり、このような方法で取得した相対的な角度をユーザに提示してもよい。 Since the tilt sensor 40 is an acceleration sensor, it detects an angle (absolute angle) formed with the direction of gravity. angle may be required. As a method for calculating this relative angle, for example, the fact that the code is formed of a rectangle is used, and based on the code image acquired by the camera 5, the geometric deformation of the rectangle is calculated to obtain an image. There is a method of detecting the relative angle by processing, and the relative angle obtained by such a method may be presented to the user.

しかし、幾何学的な変形を算出する方法は計算負荷が高いため、処理に時間がかかる場合がある。本実施形態は、別の方法として、コードと第1光学情報読取装置本体1000Aの相対的な角度を算出することなく、対象となる第1光学情報読取装置本体1000Aに対して他の光学情報読取装置本体1000B、1000Cがどのような設置状態になっているかを比較可能にユーザに提示することができる。これにより、計算負荷を小さくしながら、ユーザは、対象となる第1光学情報読取装置本体1000Aと、他の光学情報読取装置本体1000B、1000Cとの設置パラメータの相違を容易に把握できる。 However, the method of calculating the geometric deformation has a high computational load, so the processing may take a long time. In this embodiment, as another method, without calculating the relative angle between the code and the first optical information reader main body 1000A, other optical information reading is performed with respect to the target first optical information reader main body 1000A. It is possible to present to the user how the device bodies 1000B and 1000C are installed so that they can be compared. As a result, while reducing the calculation load, the user can easily grasp the differences in the installation parameters between the target first optical information reader main body 1000A and the other optical information reader main bodies 1000B and 1000C.

傾きセンサ40は、例えばMEMS(Micro Electro Mechanical Systems)を利用した検出方式のものであるが、これに限られるものではなく、所定の時間間隔で加速度をサンプリング可能なセンサであればよい。MEMSによる検出方式の場合、振動に対して敏感な素子を使用しているので、本実施形態では振動対策を施している。 The tilt sensor 40 is, for example, a detection system using MEMS (Micro Electro Mechanical Systems), but is not limited to this, and may be any sensor capable of sampling acceleration at predetermined time intervals. In the case of the MEMS detection method, since an element sensitive to vibration is used, measures against vibration are taken in this embodiment.

すなわち、図10に示すように、傾きセンサ40は、樹脂製の基板43に実装されている。この基板43には、筐体2に締結固定するためのネジが挿通する第1~第5ネジ孔43a~43eが互いに間隔をあけて形成されている。ネジ孔の数は、特に限定されるものではない。基板43は、金属製の筐体2に比べて振動し易い場合があるが、第1~第5ネジ孔43a~43eの近傍は、ネジによって筐体2に固定される部分であることから、比較的振動し難い部分となっている。傾きセンサ40の基板43における実装位置は、当該基板43の振動し難い部分となっており、具体的には、第1ネジ孔43a及び第5ネジ孔43eに近接した位置とされている。特に、第1ネジ孔43aと第5ネジ孔43eとの間に傾きセンサ40を実装することで、傾きセンサ40が振動をより一層受け難くなる。 That is, as shown in FIG. 10, the tilt sensor 40 is mounted on a substrate 43 made of resin. The substrate 43 is formed with first to fifth screw holes 43a to 43e, through which screws for fastening and fixing to the housing 2 are inserted, at intervals. The number of screw holes is not particularly limited. The substrate 43 may vibrate more easily than the metal housing 2, but since the vicinity of the first to fifth screw holes 43a to 43e is a portion fixed to the housing 2 by screws, It is a portion that is relatively hard to vibrate. The mounting position of the tilt sensor 40 on the substrate 43 is a portion of the substrate 43 that is less likely to vibrate. In particular, by mounting the tilt sensor 40 between the first screw hole 43a and the fifth screw hole 43e, the tilt sensor 40 is more resistant to vibration.

傾きセンサ40は、上述した加速度センサ以外のセンサ、例えば水平値からの傾斜角度を算出する傾斜センサ等で構成されていてもよい。また、傾きセンサ40としては、例えば、カメラ5で取得されたコード画像に基づいてコードの四角形の幾何学的な変形を算出して画像処理によりコードに対する相対的な角度を検出するように構成されたセンサであってもよいし、カメラ5で取得されたエイマ-光を含む画像に基づいてエイマー光の幾何学的な変形を算出して画像処理によりワークW表面との相対的な角度を検出するように構成されたセンサであってもよい。 The tilt sensor 40 may be configured by a sensor other than the acceleration sensor described above, such as a tilt sensor that calculates the tilt angle from the horizontal value. Further, the tilt sensor 40 is configured, for example, to calculate the geometrical deformation of the quadrangle of the code based on the code image acquired by the camera 5 and detect the relative angle to the code by image processing. Alternatively, the angle relative to the surface of the workpiece W can be detected by calculating the geometric deformation of the aimer light based on the image including the aimer light acquired by the camera 5 and performing image processing. It may be a sensor configured to.

図11は、傾きセンサ40で検出可能な物理量や現象を示す図である。この図に示すように、傾きセンサ40は、重力、振動・動き、衝撃を検出することができる。重力に基づいて第1光学情報読取装置本体1000Aの縦横検出及び傾き検出が可能になる。振動・動きに基づいて、第1光学情報読取装置本体1000Aの振動検出、動き検出及び自由落下検出が可能になる。また、衝撃に基づいて、第1光学情報読取装置本体1000Aに作用した衝撃検出が可能になる。 11A and 11B are diagrams showing physical quantities and phenomena that can be detected by the tilt sensor 40. FIG. As shown in this figure, the tilt sensor 40 can detect gravity, vibration/movement, and impact. It is possible to detect the orientation and inclination of the first optical information reader main body 1000A based on gravity. Vibration detection, motion detection, and free fall detection of the first optical information reader main body 1000A are possible based on the vibration/movement. Also, based on the impact, it is possible to detect the impact acting on the first optical information reader main body 1000A.

第1光学情報読取装置本体1000Aが設置される場所は、ワークWが搬送される場所であり、常に振動が発生している。傾きセンサ40は、振動が発生する環境下におかれることを前提とし、振動の影響を最小化するためのサンプリングが実行可能に構成されている。 A place where the first optical information reader main body 1000A is installed is a place where the work W is transported, and vibration is always generated. Assuming that the tilt sensor 40 is placed in an environment where vibration occurs, the tilt sensor 40 is configured to be able to perform sampling for minimizing the effects of vibration.

具体的には、傾きセンサ40から連続的に出力される値は、例えば0.05~0.02秒ごとに1回サンプリングする。サンプリングした値を角度に変換した後、ローパスフィルタを通して出力する。ローパスフィルタから出力された角度が第1光学情報読取装置本体1000Aの角度情報となる。第1光学情報読取装置本体1000Aが設置される場所で発生する振動の周波数から考えると、ローパスフィルタの時定数は0.5秒から1秒程度としておくことで、振動の影響を最小化するのに十分なフィルタ効果を得ることができる。 Specifically, the values continuously output from the tilt sensor 40 are sampled once every 0.05 to 0.02 seconds, for example. After converting the sampled value to an angle, it is output through a low-pass filter. The angle output from the low-pass filter becomes the angle information of the first optical information reader main body 1000A. Considering the frequency of vibration generated in the place where the first optical information reader main body 1000A is installed, the time constant of the low-pass filter is set to about 0.5 seconds to 1 second to minimize the influence of vibration. sufficient filter effect can be obtained.

尚、第1光学情報読取装置本体1000Aのように固定された状態で使用されることが前提である場合、運用時における第1光学情報読取装置本体1000Aの角度は一定であることがほとんどである。角度が変化した時は、例えば物が第1光学情報読取装置本体1000Aにぶつかった時や、第1光学情報読取装置本体1000Aを固定しているネジ等が緩んだ時である。そのことが検知できればよいので、ローパスフィルタの時定数はもっと長く設定してもよい。 In addition, when it is assumed that the first optical information reader main body 1000A is used in a fixed state, the angle of the first optical information reader main body 1000A is almost constant during operation. . When the angle changes, for example, when an object collides with the first optical information reader main body 1000A, or when a screw or the like fixing the first optical information reader main body 1000A is loosened. As long as it can be detected, the time constant of the low-pass filter may be set longer.

また、本実施形態では、ローパスフィルタの時定数を固定しているが、これに限らず、第1光学情報読取装置本体1000Aの運用の形態によってローパスフィルタの時定数を変更できる構成としてもよい。また、設定時には、角度を見ながら設置する場合があり、そのような場合にはある程度の早い応答性が必要であるため、ローパスフィルタの時定数は0.5秒から1秒程度としておくこともできる。 In addition, although the time constant of the low-pass filter is fixed in this embodiment, the configuration is not limited to this, and the time constant of the low-pass filter may be changed according to the mode of operation of the first optical information reader main body 1000A. In addition, when setting, there are cases where it is installed while looking at the angle, and in such cases, a certain degree of quick response is required, so the time constant of the low-pass filter can be set to about 0.5 seconds to 1 second. can.

傾きセンサ40から出力された値に基づいて得られたピッチ角度、スキュー角度及びチルト角度の原点(0゜)のそれぞれ位置は、第1光学情報読取装置本体1000Aが1周回ると0゜と359゜で値がばらついてしまい、ひいてはユーザが使いづらくなるおそれがある。このことに対して、本実施形態では、図12に示すように、ピッチ角度、スキュー角度及びチルト角度の原点をあまり使われない向きとしている。 The positions of the origin (0°) of the pitch angle, skew angle and tilt angle obtained based on the values output from the tilt sensor 40 are 0° and 359° when the first optical information reader main body 1000A makes one revolution. There is a risk that the value will vary with degrees and that it will be difficult for the user to use. On the other hand, in this embodiment, as shown in FIG. 12, the origins of the pitch angle, skew angle, and tilt angle are oriented in a direction that is rarely used.

以下、具体的に説明する。ピッチ角度の原点は、筐体2の後面2bが真下、即ち、筐体2の前面2aが真上に向いた時の角度としており、筐体2の前面2aが真下に向いた時のピッチ角度は180゜である。また、スキュー角度の原点は、筐体2の後面2bが真下、即ち、筐体2の前面2aが真上に向いた時の角度としており、筐体2の前面2aが真下に向いた時のスキュー角度は180゜である。また、チルト角度の原点は、筐体2の上面2eが真下、即ち、筐体2の下面2fが真上に向いた時の角度としており、筐体2の上面2eが真上に向いた時のチルト角度は180゜である。 A specific description will be given below. The origin of the pitch angle is the angle when the rear surface 2b of the housing 2 faces directly downward, that is, when the front surface 2a of the housing 2 faces directly upward, and the pitch angle when the front surface 2a of the housing 2 faces directly downward. is 180°. The origin of the skew angle is the angle when the rear surface 2b of the housing 2 faces directly downward, that is, when the front surface 2a of the housing 2 faces directly upward. The skew angle is 180°. The origin of the tilt angle is the angle when the upper surface 2e of the housing 2 faces directly downward, that is, when the lower surface 2f of the housing 2 faces directly upward. is 180°.

また、傾きセンサ40から出力された値に基づいて得られたピッチ角度、スキュー角度及びチルト角度が、0゜と359゜の間で不安定にならないように、図13に示すヒステリシスを設けることで安定した出力を可能にしている。ヒステリシスは、例えばプラスマイナス5゜とすることができる。 Also, the hysteresis shown in FIG. 13 is provided so that the pitch angle, skew angle, and tilt angle obtained based on the values output from the tilt sensor 40 do not become unstable between 0° and 359°. It enables stable output. Hysteresis can be, for example, plus or minus 5 degrees.

(距離センサ)
図2に示すように、第1光学情報読取装置本体1000Aは、当該光学情報読取装置本体1000AとワークWとの距離を示す値を出力可能な距離センサ41を有している。距離センサ41から出力された値は、プロセッサ20に入力される。距離センサ41は、AFモジュール5cが有するモータのステップ数を取得し、ステップ数に基づいて光学情報読取装置本体1000AとワークWとの距離を示す値を算出する。AFモジュール5cは、ワークWのコードが付与された面にピントが合うように光学系5bを駆動するものであることから、AFモジュール5cのモータのステップ数と、光学情報読取装置本体1000AとワークWとの距離との関係を予め取得しておくことで、ピントが合った時のステップ数から上記距離を算出できる。
(distance sensor)
As shown in FIG. 2, the first optical information reader main body 1000A has a distance sensor 41 capable of outputting a value indicating the distance between the optical information reader main body 1000A and the work W. As shown in FIG. A value output from the distance sensor 41 is input to the processor 20 . The distance sensor 41 acquires the number of steps of the motor of the AF module 5c, and calculates a value indicating the distance between the optical information reader main body 1000A and the work W based on the number of steps. Since the AF module 5c drives the optical system 5b so as to bring the coded surface of the work W into focus, the number of steps of the motor of the AF module 5c and the number of steps of the optical information reader main body 1000A and the work By acquiring in advance the relationship between W and the distance, the above distance can be calculated from the number of steps when the focus is achieved.

また、距離センサ41は、例えば測定用の光を測定対象物に照射し、測定対象物から反射した光を受光して測定対象物との距離を測定する、いわゆるTOF(Time Of Flight)センサであってもよい。また、距離センサ41は、エイマ-光を含む画像を画像処理することによって上記距離を測定するものであってもよい。この場合、カメラ5とエイマー光とを使用した三角測距の原理を利用して上記距離を算出できる。また、距離センサ41は、三角測距が可能な測定器等で構成することもできる。また、距離センサ41は、光学系5bが液体レンズを有している場合、液体レンズの電圧値を取得し、取得した電圧値に基づいて上記距離を示す値を算出することもできる。これは、液体レンズの曲率が電圧に比例して変化することを利用したものであり、ワークWにピントが合った時にレンズに印加している電圧値から上記距離を算出できる。また、距離センサ41としては、ワークWに付与されているコードのサイズが分かっている場合、カメラ5で取得されたコード画像の大きさに基づいて上記距離を算出するものであってもよい。 Further, the distance sensor 41 is a so-called TOF (Time Of Flight) sensor that irradiates an object to be measured with light for measurement, receives light reflected from the object to be measured, and measures the distance from the object to be measured. There may be. Further, the distance sensor 41 may measure the distance by image processing an image including aimer light. In this case, the distance can be calculated using the principle of triangulation using the camera 5 and aimer light. Further, the distance sensor 41 can also be configured by a measuring device or the like capable of triangulation. Further, when the optical system 5b has a liquid lens, the distance sensor 41 can acquire the voltage value of the liquid lens and calculate the value indicating the distance based on the acquired voltage value. This utilizes the fact that the curvature of the liquid lens changes in proportion to the voltage, and the above distance can be calculated from the voltage value applied to the lens when the work W is in focus. Further, the distance sensor 41 may calculate the distance based on the size of the code image obtained by the camera 5 when the size of the code given to the work W is known.

(チューニング)
図2に示すプロセッサ20によりチューニング実行部23が構成されている。チューニング実行部23は、AFモジュール5cを作動させてピント合わせを行った後、カメラ5の撮影条件及びデコード処理のデコード条件等を変化させて、コードの撮影及びデコード処理を繰り返し、各撮影条件及びデコード条件にて算出されたコードの読み取りのしやすさ(デコードの余裕度)を示すマッチングレベルに基づいて、最適な撮影条件及びデコード条件を決定するチューニング処理を実行する。例えば、チューニング実行部23は、光学情報読取装置1Aの設定時に、カメラ5のゲイン、照明部4の光量、照明切替(直接光、拡散光、偏光光の切替)、露光時間等の撮影条件や、画像処理条件を変更してデコードに適した条件となるように各種条件(チューニングパラメータ)を設定する部分である。画像処理条件とは、デコード前のコード画像に対する画像処理フィルタの係数(フィルタの強弱)や、複数の画像処理フィルタがある場合に画像処理フィルタの切替、種類の異なる画像処理フィルタの組み合わせ等である。搬送時のワークWに対する外光の影響や、コードが付されている面の色及び材質等によって適切な撮影条件及び画像処理条件は異なる。よって、チューニング実行部23は、より適切な撮影条件及び画像処理条件を探索して、上記条件を設定する。撮影条件は、コード画像を取得したときの撮影情報の一例である。
(tuning)
A tuning execution unit 23 is configured by the processor 20 shown in FIG. After activating the AF module 5c to perform focusing, the tuning execution unit 23 changes the photographing conditions of the camera 5, the decoding conditions of the decoding process, etc., repeats the photographing of the code and the decoding process, and adjusts each photographing condition and Based on the matching level indicating the readability of the code (decoding margin) calculated under the decoding conditions, a tuning process for determining the optimum shooting conditions and decoding conditions is executed. For example, when the optical information reader 1A is set, the tuning execution unit 23 sets shooting conditions such as the gain of the camera 5, the amount of light of the illumination unit 4, illumination switching (switching between direct light, diffused light, and polarized light), and exposure time. , a portion for setting various conditions (tuning parameters) so as to change the image processing conditions and obtain conditions suitable for decoding. The image processing conditions include image processing filter coefficients (strength of filter) for the code image before decoding, switching of image processing filters when there are multiple image processing filters, combination of different types of image processing filters, and the like. . Appropriate photographing conditions and image processing conditions differ depending on the influence of external light on the workpiece W during transportation, the color and material of the surface to which the code is attached, and the like. Therefore, the tuning execution unit 23 searches for more appropriate imaging conditions and image processing conditions and sets the above conditions. The shooting condition is an example of shooting information when the code image is acquired.

具体的には、図14のフローチャートに示すように、スタート後のステップSB1では、チューニング実行部23が照明部4及びカメラ5を制御してカメラ5にコード画像を生成させ、チューニング実行部23がコード画像を取得する。このとき、デコード処理前に実行される画像処理フィルタの有無や種類、照明条件、撮影条件等に関するデコード処理パラメータは任意のパラメータに設定されている。次いでステップSB2に進み、取得したコード画像に対してチューニング実行部23がデコード部22にデコード処理を実行させる。 Specifically, as shown in the flowchart of FIG. 14, in step SB1 after the start, the tuning execution unit 23 controls the illumination unit 4 and the camera 5 to cause the camera 5 to generate a code image, and the tuning execution unit 23 Get the code image. At this time, decoding processing parameters relating to presence or absence and type of image processing filter to be executed before decoding processing, illumination conditions, photographing conditions, etc. are set to arbitrary parameters. Next, in step SB2, the tuning executing section 23 causes the decoding section 22 to perform decoding processing on the obtained code image.

デコード処理後、ステップSB3に進み、ステップSB2のデコード処理が成功したか否かをチューニング実行部23が判定する。ステップSB3でNOと判定されてステップSB2のデコード処理が失敗した場合、即ちコードの読み取りができなかった場合には、ステップSB4に進み、デコード処理パラメータを別のパラメータに変更した後、ステップSB2で再度デコード処理を実行する。全てのデコード処理パラメータでデコード処理を失敗した場合にはこのフローを終了してユーザに報知する。 After the decoding process, the process proceeds to step SB3, and the tuning executing section 23 determines whether or not the decoding process of step SB2 was successful. If NO is determined in step SB3 and the decoding process in step SB2 fails, that is, if the code cannot be read, the process advances to step SB4 to change the decoding process parameter to another parameter. Execute the decoding process again. If the decoding process fails with all the decoding process parameters, this flow is ended and the user is notified.

一方、ステップSB3でYESと判定されてステップSB2のデコード処理が成功した場合には、ステップSB5に進み、チューニング実行部23が上記デコード処理結果に基づいて読取余裕度を評価し、一旦記憶しておく。 On the other hand, if the determination in step SB3 is YES and the decoding process in step SB2 succeeds, the process proceeds to step SB5, where the tuning execution unit 23 evaluates the reading margin based on the result of the decoding process, and temporarily stores it. back.

ステップSB6では、全てのデコード処理パラメータでデコード処理の実行が完了したか否かを判定する。ステップSB6でNOと判定されて、全てのデコード処理パラメータでデコード処理の実行が完了していない場合にはステップSB7に進み、デコード処理パラメータを別のパラメータに変更してデコード処理する。 At Step SB6, it is determined whether or not the decoding process has been completed with all the decoding process parameters. If NO is determined in step SB6, and the execution of the decoding process has not been completed with all the decoding process parameters, the process proceeds to step SB7, where the decoding process parameters are changed to other parameters and the decoding process is performed.

一方、ステップSB7でYESと判定されて全てのデコード処理パラメータでデコード処理の実行が完了するとステップSB8に進む。ステップSB8では、チューニング実行部23が、全てのデコード処理パラメータの中から読取余裕度が最も高いデコード処理パラメータを選択し、その選択したデコード処理パラメータを運用時に適用するパラメータとして決定する。 On the other hand, when it is judged as YES in step SB7 and execution of the decoding process is completed with all the decoding process parameters, the process proceeds to step SB8. At step SB8, the tuning execution unit 23 selects the decoding process parameter with the highest reading margin from all the decoding process parameters, and determines the selected decoding process parameter as the parameter to be applied during operation.

チューニング工程では、照明条件も適切な条件に設定される。つまり、光学情報読取装置1Aの運用時に、照明部4の第1~第3発光素子4a、4b、4cのうち、どの発光素子を用いるかを設定することが可能になっている。どの発光素子を用いるかについては、上述したチューニングによって設定してもよいし、ユーザが選択した発光素子となるように設定してもよい。例えば、第1~第3発光素子4a、4b、4cの選択が可能なユーザーインターフェースを生成して表示器101に表示させ、ユーザがキーボード102やマウス103を操作して所望の発光素子を選択すれば、その選択結果が運用時に反映されるようにすることができる。 In the tuning process, lighting conditions are also set to appropriate conditions. That is, it is possible to set which of the first to third light emitting elements 4a, 4b, and 4c of the illumination section 4 is to be used when the optical information reader 1A is operated. The light emitting element to be used may be set by tuning as described above, or may be set so as to be a light emitting element selected by the user. For example, a user interface capable of selecting the first to third light emitting elements 4a, 4b, and 4c is generated and displayed on the display 101, and the user operates the keyboard 102 and the mouse 103 to select the desired light emitting element. For example, the selection result can be reflected at the time of operation.

チューニング実行部23が実行したチューニングの結果、設定された各種条件やユーザが設定した各種条件を構成するパラメータがセットになったものがパラメータセットである。このパラメータセットは、コード画像をデコードするときに適用される読取条件でもある。パラメータセットは、バンクと呼ぶこともでき、この実施形態では、パラメータセットを複数通り記憶することができる。コード画像をデコードするときに適用された読取条件と、読取データとは関連付けられてパラメータセット記憶部30cに記憶される。 A parameter set is a set of parameters constituting various conditions set as a result of tuning performed by the tuning execution unit 23 and various conditions set by the user. This parameter set is also the reading condition applied when decoding the code image. A parameter set can also be referred to as a bank, and in this embodiment multiple variations of the parameter set can be stored. The reading conditions applied when decoding the code image and the read data are associated and stored in the parameter set storage section 30c.

この光学情報読取装置1Aでは、パラメータセット記憶部30cに記憶されている複数のパラメータセットのうち、一のパラメータセットから他のパラメータセットに切り替えることができるように構成されている。パラメータセットの切替は、ユーザが行うこともできるし、PLC130等の外部制御装置からの切替信号によって行うように構成することもできる。パラメータセットの切替をユーザが行う場合には設定装置100や、操作ボタン11、12を操作すればよい。選択されたパラメータセットが光学情報読取装置1Aの運用時に使用され、また、選択されなかったパラメータセットが光学情報読取装置1Aの運用時に使用されないようになる。つまり、一のパラメータセットから他のパラメータセットに切り替えることが可能になっている。 This optical information reader 1A is configured to be able to switch from one parameter set to another among a plurality of parameter sets stored in the parameter set storage section 30c. The switching of parameter sets can be performed by the user, or can be configured to be performed by a switching signal from an external control device such as the PLC 130 or the like. When the user switches the parameter set, the setting device 100 and the operation buttons 11 and 12 are operated. The selected parameter set is used during operation of the optical information reader 1A, and the unselected parameter set is not used during operation of the optical information reader 1A. That is, it is possible to switch from one parameter set to another.

(表示器)
表示器101には、様々なユーザーインターフェース画面を表示させることができる。各種ユーザーインターフェース画面は、例えば設定装置100の制御部105で生成することができる。
(display)
Various user interface screens can be displayed on the display device 101 . Various user interface screens can be generated by the control unit 105 of the setting device 100, for example.

図15は、表示器101に表示されるユーザーインターフェース画面300の一例を示している。ユーザーインターフェース画面300は、複数の光学情報読取装置本体1000A、1000B、1000C(図中ではそれぞれ簡略化してリーダ1000A、1000B、1000Cとする)から同一の読取データを持つレコードを抽出し、コード画像や読取時間、各種条件等を表示するための画面である。ユーザーインターフェース画面300のヘッダー部301には、フィルタ/サーチの条件設定が可能になっており、フィルタ設定領域301a、検索設定領域301b、リーダ選択領域301c、期間指定領域301dが設けられている。フィルタ設定領域301aでは、多数のレコードの中からユーザーインターフェース画面300に表示する対象(表示対象)を選別する際の条件が設定され、例えば「すべてを表示」、「エラーのみ表示」等の条件設定が可能である。エラーとは、読取不可または読取失敗であったレコードである。検索設定領域301bでは、表示対象のレコードの中から指定した読取データを持つレコードを検索する条件設定が可能である。期間指定領域301dでは、表示対象を抽出する期間の指定が可能である。 FIG. 15 shows an example of a user interface screen 300 displayed on the display 101. As shown in FIG. The user interface screen 300 extracts records having the same read data from a plurality of optical information reader bodies 1000A, 1000B, and 1000C (readers 1000A, 1000B, and 1000C for simplicity in the figure, respectively), and extracts a code image and a This is a screen for displaying reading time, various conditions, and the like. A header portion 301 of the user interface screen 300 allows filter/search condition setting, and is provided with a filter setting area 301a, a search setting area 301b, a reader selection area 301c, and a period designation area 301d. In the filter setting area 301a, conditions for selecting targets (display targets) to be displayed on the user interface screen 300 from a large number of records are set. is possible. Errors are records that were unreadable or failed to read. In the search setting area 301b, it is possible to set conditions for searching records having specified read data from among the records to be displayed. In the period designation area 301d, it is possible to designate a period for extracting display targets.

リーダ選択領域301cでは、ヘッダー部301の下に表示する光学情報読取装置本体を複数の光学情報読取装置本体1000A、1000B、1000Cの中から選択する。例えば、同一のネットワークN上に存在する第1~第3光学情報読取装置本体1000A、1000B、1000Cを探索し、探索された光学情報読取装置本体のIPアドレスを取得する。そして、ユーザがリーダ選択領域301cを操作して第1~第3光学情報読取装置本体1000A、1000B、1000Cの選択操作を行うと、その選択操作を制御部105が検出し、第1~第3光学情報読取装置本体1000A、1000B、1000Cを選択する。 In the reader selection area 301c, the optical information reader main body displayed under the header section 301 is selected from a plurality of optical information reader main bodies 1000A, 1000B, and 1000C. For example, the first to third optical information reader bodies 1000A, 1000B, and 1000C existing on the same network N are searched, and the IP addresses of the searched optical information reader bodies are acquired. When the user operates the reader selection area 301c to select one of the first to third optical information reader main bodies 1000A, 1000B, and 1000C, the control unit 105 detects the selection operation, Optical information reader main bodies 1000A, 1000B, and 1000C are selected.

ユーザーインターフェース画面300のヘッダー部301の下には、リーダ表示領域302と、読取データの一覧を表示するレコード表示領域303とが設けられている。リーダ表示領域302には、選択された光学情報読取装置本体1000A、1000B、1000Cの情報が表示される。本例では、第1~第3光学情報読取装置本体1000A、1000B、1000Cが表示されているが、1つのみが選択された場合には1つのみ表示することも可能である。リーダ表示領域302には、光学情報読取装置本体の情報として、光学情報読取装置本体を特定するための名称、型式、光学情報読取装置本体の外観を示すイラストや写真等が表示される第1領域302aが設けられており、制御部105が、選択された光学情報読取装置本体の情報を第1領域302aに表示させる。光学情報読取装置本体の外観から型式等を判別することが可能になるので、どの型式の光学情報読取装置本体がどの工程に設置されているかが簡単に分かる。 A reader display area 302 and a record display area 303 for displaying a list of read data are provided below the header portion 301 of the user interface screen 300 . Information of the selected optical information reader main bodies 1000A, 1000B, and 1000C is displayed in the reader display area 302 . In this example, the first to third optical information reader bodies 1000A, 1000B, and 1000C are displayed, but only one can be displayed if only one is selected. In the reader display area 302, as information of the optical information reader main body, the name and model for specifying the optical information reader main body, illustrations and photographs showing the appearance of the optical information reader main body, etc. are displayed. 302a is provided, and the control unit 105 displays the information of the selected optical information reader main body in the first area 302a. Since it is possible to distinguish the type and the like from the appearance of the optical information reader main body, it is easy to know which type of optical information reader main body is installed in which process.

第1領域302aに表示される光学情報読取装置本体の外観図には、インジケータ9を模した部分、即ちインジケータ部9Aが設けられている。外観図におけるインジケータ部9Aは、デコードが成功したか否かを表す成否情報を表示する部分である。つまり、第1~第3光学情報読取装置本体1000A、1000B、1000Cは、それぞれ、デコードが成功したか否かを表す成否情報を設定装置100に出力可能に構成されている。設定装置100は、第1~第3光学情報読取装置本体1000A、1000B、1000Cから出力された成否情報を受信すると、インジケータ部9Aの色を変更することで、第1~第3光学情報読取装置本体1000A、1000B、1000Cのどの装置本体でデコードが成功しているか、またはどの装置本体でデコードに失敗しているかを表示する。図15では、インジケータ部9Aの色が黒色である第1光学情報読取装置本体1000Aでは、デコードが成功していることを示しており、またインジケータ部9Aの色が白色である第2、第3光学情報読取装置本体1000B、1000Cでは、デコードが失敗していることを示している。 The external view of the main body of the optical information reader displayed in the first area 302a is provided with a portion imitating the indicator 9, ie, an indicator portion 9A. An indicator portion 9A in the external view is a portion that displays success/failure information indicating whether or not the decoding was successful. That is, each of the first to third optical information reader main bodies 1000A, 1000B, and 1000C is configured to be capable of outputting success/failure information indicating whether or not decoding has succeeded to the setting device 100. FIG. When the setting device 100 receives the success/failure information output from the first to third optical information reader main bodies 1000A, 1000B, and 1000C, the setting device 100 changes the color of the indicator section 9A, thereby changing the color of the first to third optical information reader. It displays which device main body among the main bodies 1000A, 1000B, and 1000C has successfully decoded, or which device main body has failed to decode. FIG. 15 shows that decoding is successful in the first optical information reader main body 1000A having the indicator portion 9A of black color, and the second and third optical information reading device main bodies 1000A having the indicator portion 9A of white color. Decoding has failed in the optical information reader main bodies 1000B and 1000C.

また、リーダ表示領域302には、光学情報読取装置本体1000A、1000B、1000Cでそれぞれ撮影されたコード画像が表示される第2領域302bが設けられている。第1領域302aと第2領域302bとは上下に並んでいる。つまり、表示器101には、第1~第3光学情報読取装置本体1000A、1000B、1000Cからそれぞれ出力された成否情報がコード画像と関連付けられて表示される。尚、成否情報は、例えば文字や記号、アイコン等で表示されていてもよい。 Further, the reader display area 302 is provided with a second area 302b in which code images captured by the optical information reader main bodies 1000A, 1000B, and 1000C are displayed. The first area 302a and the second area 302b are arranged vertically. That is, the success/failure information output from the first to third optical information reader bodies 1000A, 1000B, and 1000C are displayed on the display 101 in association with the code image. The success/failure information may be displayed using characters, symbols, icons, or the like.

光学情報読取装置本体1000A、1000B、1000Cの長軸方向は、第2領域302bに表示されるコード画像のY軸方向(上下方向)に対応し、光学情報読取装置本体1000A、1000B、1000Cの短軸方向はコード画像のX軸方向(上下方向)に対応している。 The long axis direction of the optical information reader main bodies 1000A, 1000B, and 1000C corresponds to the Y-axis direction (vertical direction) of the code image displayed in the second area 302b, and the short axis direction of the optical information reader main bodies 1000A, 1000B, and 1000C. The axial direction corresponds to the X-axis direction (vertical direction) of the code image.

リーダ表示領域302には、光学情報読取装置本体でデコードした際のマッチングレベル(MLV)と、デコード時間(時間)とを表示する第3領域302cも設けられている。 The reader display area 302 is also provided with a third area 302c for displaying a matching level (MLV) and a decoding time (time) when decoded by the main body of the optical information reader.

リーダ表示領域302の下方には、読取距離表示領域304、設置角度表示領域305、バンク情報表示領域306、照明情報表示領域307、適用した画像処理フィルタを表示するフィルタ表示領域308、適用したHDRの種類を表示するHDR表示領域309等が設けられている。これら以外の撮影条件や読取条件を表示してもよい。 Below the reader display area 302 are a reading distance display area 304, an installation angle display area 305, a bank information display area 306, an illumination information display area 307, a filter display area 308 for displaying the applied image processing filter, and an applied HDR display area. An HDR display area 309 or the like for displaying the type is provided. Other imaging conditions and reading conditions may be displayed.

読取距離表示領域304には、各光学情報読取装置本体1000A、1000B、1000CとワークWとの距離(読取距離)が表示される。読取距離表示領域304に表示される読取距離は、距離センサ41から出力された値に基づいて算出された距離であり、具体的には、設定の際に各種条件が確定した時に距離センサ41から出力された値に基づいて算出された距離である。よって、距離については、設定条件が変更されない限り、変化しない。尚、コード画像を取得する都度、距離センサ41から出力された値に基づいて読取距離を算出し、表示してもよい。 The reading distance display area 304 displays the distance (reading distance) between each of the optical information reader bodies 1000A, 1000B, and 1000C and the work W. FIG. The reading distance displayed in the reading distance display area 304 is a distance calculated based on the value output from the distance sensor 41. This is the distance calculated based on the output value. Therefore, the distance does not change unless the setting conditions are changed. Note that the reading distance may be calculated and displayed based on the value output from the distance sensor 41 each time the code image is acquired.

本実施形態の読取距離表示領域304には、第1光学情報読取装置本体1000AとワークWとの距離「300mm」、第2光学情報読取装置本体1000BとワークWとの距離「150mm」、第3光学情報読取装置本体1000CとワークWとの距離「100mm」が表示される。つまり、カメラ5により取得されたコード画像(第2領域302bに表示される画像)と、当該コード画像が取得された時に距離センサ41から出力された値に基づいて算出された距離とが関連付けられて表示される。これにより、第1~第3光学情報読取装置本体1000A、1000B、1000Cの設置距離を長くすればよいか、短くすればよいか、調整時の見当が付きやすくなり、距離の微調整が容易になる。 In the reading distance display area 304 of this embodiment, the distance between the first optical information reader main body 1000A and the work W is "300 mm", the distance between the second optical information reader main body 1000B and the work W is "150 mm", and the third The distance "100 mm" between the optical information reader main body 1000C and the work W is displayed. That is, the code image acquired by the camera 5 (the image displayed in the second area 302b) is associated with the distance calculated based on the value output from the distance sensor 41 when the code image was acquired. displayed. As a result, it becomes easier to guess whether the installation distances of the first to third optical information reader main bodies 1000A, 1000B, and 1000C should be increased or decreased during adjustment, and fine adjustment of the distances is facilitated. Become.

設置角度表示領域305には、光学情報読取装置本体の角度情報である設置角度(スキュー角、ピッチ角等)が表示される。設置角度表示領域305に表示される設置角度は、傾きセンサ40から出力された値に基づいてそれぞれ算出された角度であり、具体的には、カメラ5がコード画像を取得した時に傾きセンサ40から出力された値に基づいてそれぞれ算出された角度である。尚、カメラ5がコード画像を取得した時と、傾きセンサ40から出力された値に基づいて角度を算出した時とは、厳密に一致していなくてもよい。 An installation angle display area 305 displays an installation angle (skew angle, pitch angle, etc.), which is angle information of the main body of the optical information reader. The installation angles displayed in the installation angle display area 305 are angles calculated based on the values output from the tilt sensor 40. These are angles calculated based on the output values. It should be noted that the time when the camera 5 acquires the code image and the time when the angle is calculated based on the value output from the tilt sensor 40 need not strictly match.

本実施形態の設置角度表示領域305には、第1光学情報読取装置本体1000Aのスキュー角度182゜及びピッチ角度138゜、第2光学情報読取装置本体1000Bのスキュー角度184゜及びピッチ角度134゜、第3光学情報読取装置本体1000Cのスキュー角度176゜及びピッチ角度125゜が表示される。つまり、各光学情報読取装置本体1000A、1000B、1000Cのカメラ5により取得されたコード画像(第2領域302bに表示される画像)と、当該コード画像が取得された時に傾きセンサ40から出力された値に基づいて算出された設置角度とが関連付けられて1つの画面に比較可能に表示される。これにより、第1~第3光学情報読取装置本体1000A、1000B、1000Cの設置角度をどの方向にどの程度変えればよいか、見当が付きやすくなり、角度の微調整が容易になる。角度は、例えば1゜刻みで表示することができるが、これに限らず、例えば5゜刻み等で表示してもよい。また、角度は重力方向に対する絶対角度なので、ユーザが直感的に把握しやすい。 In the installation angle display area 305 of this embodiment, a skew angle of 182° and a pitch angle of 138° of the first optical information reader main body 1000A, a skew angle of 184° and a pitch angle of 134° of the second optical information reader main body 1000B, A skew angle of 176° and a pitch angle of 125° of the third optical information reader body 1000C are displayed. That is, the code image (the image displayed in the second area 302b) acquired by the camera 5 of each of the optical information reader main bodies 1000A, 1000B, and 1000C and the image output from the tilt sensor 40 when the code image was acquired The installation angles calculated based on the values are associated and displayed on one screen so as to be comparable. As a result, it becomes easier to guess in which direction and how much the installation angles of the first to third optical information reader main bodies 1000A, 1000B, and 1000C should be changed, and fine adjustment of the angles becomes easy. The angle can be displayed, for example, in increments of 1°, but is not limited to this, and may be displayed in increments of 5°, for example. Also, since the angle is an absolute angle with respect to the direction of gravity, it is easy for the user to grasp intuitively.

設置角度表示領域305に表示される角度情報の表示形態の一例として、角度情報が、基準線400と、光学情報読取装置本体1000Aを模した第1模式図401a及び第2模式図401bと、基準線400に対する各模式図401a、401bの傾き方向を示す矢印402とを用いた表示形態とすることができる。基準線400は、ユーザーインターフェース画面300の左右方向に延びる線であり、運用時における水平面を示す。第1模式図401aは、光学情報読取装置本体1000Aの側面の形状を形取った図であり、第2模式図401bは、光学情報読取装置本体1000Aの上面の形状を形取った図である。第1模式図401a及び第2模式図401bは、カラー図であってもよいし、白黒の図であってもよいが、本例では、後述する本体表示部6の表示形態に比べて、光学情報読取装置本体1000Aの向きを直感的に把握できる図としている。 As an example of the display form of the angle information displayed in the installation angle display area 305, the angle information includes a reference line 400, a first schematic diagram 401a and a second schematic diagram 401b imitating the optical information reading apparatus main body 1000A, and a reference line. A display form using an arrow 402 indicating the direction of inclination of each of the schematic diagrams 401 a and 401 b with respect to the line 400 can be employed. A reference line 400 is a line extending in the horizontal direction of the user interface screen 300 and indicates a horizontal plane during operation. The first schematic diagram 401a is a diagram showing the shape of the side surface of the optical information reader main body 1000A, and the second schematic diagram 401b is the diagram showing the shape of the upper surface of the optical information reader main body 1000A. The first schematic diagram 401a and the second schematic diagram 401b may be color diagrams or black-and-white diagrams. The drawing allows the user to intuitively grasp the orientation of the information reading apparatus main body 1000A.

第1模式図401aは、スキュー角度を示す際に使用され、この第1模式図401aと基準線400とのなす角度がスキュー角度であることをユーザに容易に把握させることができる。第2模式図401bは、ピッチ角度を示す際に使用され、この第2模式図401bと基準線400とのなす角度がピッチ角度であることをユーザに容易に把握させることができる。尚、基準線400、模式図401a、401b、矢印402を省略し、「ピッチ角度」、「スキュー角度」と表示してもよい。 The first schematic diagram 401a is used to indicate the skew angle, and the user can easily understand that the angle formed by the first schematic diagram 401a and the reference line 400 is the skew angle. The second schematic diagram 401b is used to indicate the pitch angle, and allows the user to easily understand that the angle formed by the second schematic diagram 401b and the reference line 400 is the pitch angle. Note that the reference line 400, the schematic diagrams 401a and 401b, and the arrow 402 may be omitted and displayed as "pitch angle" and "skew angle."

バンク情報表示領域306には、カメラ5がコード画像を取得した時に適用され、かつ読取に成功したバンクの番号(パラメータセットの番号)が表示される。例えば、第1~第3光学情報読取装置本体1000A、1000B、1000Cは、それぞれ、コード画像を取得したときの撮像情報を設定装置100に出力可能に構成されている。設定装置100は、第1~第3光学情報読取装置本体1000A、1000B、1000Cから出力された撮像情報を受信する。すると、照明情報表示領域307には、カメラ5がコード画像を取得した時に照明部4が直接光、拡散光、偏光光のいずれかを照射したかを示す照明情報(撮像情報の一例)が表示される。照明情報は、パラメータセットに含まれている情報である。この照明情報表示領域307に表示された照明情報と、コード画像とは関連付けられている。この図では、第1光学情報読取装置本体1000Aで取得されたコード画像は、直接光で撮影された画像であり、第2光学情報読取装置本体1000Bで取得されたコード画像は、拡散光で撮影された画像であり、第3光学情報読取装置本体1000Cで取得されたコード画像は、偏光光で撮影された画像であることが分かる。同様に、適用されたフィルタ、HDRの種類等もコード画像と関連付けられて表示される。 In the bank information display area 306, the bank number (parameter set number) that was applied when the camera 5 acquired the code image and that was successfully read is displayed. For example, each of the first to third optical information reading device bodies 1000A, 1000B, and 1000C is configured to be able to output imaging information to the setting device 100 when the code image is acquired. The setting device 100 receives imaging information output from the first to third optical information reader bodies 1000A, 1000B, and 1000C. Then, in the illumination information display area 307, illumination information (an example of imaging information) indicating whether the illumination unit 4 emitted direct light, diffused light, or polarized light when the camera 5 acquired the code image is displayed. be done. Lighting information is information contained in the parameter set. The illumination information displayed in the illumination information display area 307 is associated with the code image. In this figure, the code image acquired by the first optical information reader body 1000A is an image captured with direct light, and the code image acquired by the second optical information reader body 1000B is captured with diffuse light. It can be seen that the code image acquired by the third optical information reader main body 1000C is an image captured with polarized light. Similarly, the applied filter, HDR type, etc. are also displayed in association with the code image.

(本体表示部の表示形態)
図16は、光学情報読取装置本体1000Aの本体表示部6の表示形態の一例を示すものである。本体表示部6には、コード画像が取得された時に傾きセンサ40から出力された値に基づいて算出された光学情報読取装置本体の角度情報が表示される。本体表示部6に表示される角度情報の表示形態の一例として、角度情報が、基準線450と、光学情報読取装置本体1000Aを模した模式図451とを用いて、基準線450に対する模式図451の相対的な位置関係として表示される例を挙げることができる。基準線450は、光学情報読取装置本体1000Aの左右方向に延びる線であり、運用時における水平面を示す。模式図451は、光学情報読取装置本体1000Aの上面の形状を示している。光学情報読取装置本体1000Aが水平面に対して傾斜している場合には、模式図451が基準線450に対して傾斜しているように表示され、光学情報読取装置本体1000Aの水平面に対する傾斜度合いが大きければ大きいほど(ピッチ角度が大きければ大きいほど)、模式図451が基準線450に対して大きく傾斜する。また、スキュー角度に応じて、模式図451が基準線450に対して上下方向に移動する。スキュー角度が大きければ大きいほど、模式図451が基準線450に対して大きく上下動する。
(Display form of main unit display)
FIG. 16 shows an example of the display form of the body display section 6 of the optical information reading device body 1000A. The body display unit 6 displays angle information of the body of the optical information reader calculated based on the value output from the tilt sensor 40 when the code image was acquired. As an example of the display form of the angle information displayed on the main body display unit 6, the angle information is displayed using a reference line 450 and a schematic diagram 451 imitating the optical information reading apparatus main body 1000A. can be given as an example displayed as a relative positional relationship. A reference line 450 is a line extending in the horizontal direction of the optical information reader main body 1000A, and indicates a horizontal plane during operation. A schematic diagram 451 shows the shape of the upper surface of the optical information reader main body 1000A. When the optical information reading device main body 1000A is tilted with respect to the horizontal plane, the schematic diagram 451 is displayed as if it is tilted with respect to the reference line 450, and the degree of inclination of the optical information reading device main body 1000A with respect to the horizontal plane is The greater the pitch angle (the greater the pitch angle), the greater the inclination of the schematic diagram 451 with respect to the reference line 450 . Also, the schematic diagram 451 moves vertically with respect to the reference line 450 according to the skew angle. The greater the skew angle, the greater the vertical movement of the schematic diagram 451 with respect to the reference line 450 .

本体表示部6に表示される模式図451は、表示器101に表示される第1模式図401a及び第2模式図401bに比べて情報量の少ない図、即ち、使用されている色の数が少ない図、粗い図、形状が簡略化されている図等である。 The schematic diagram 451 displayed on the main body display unit 6 has a smaller amount of information than the first schematic diagram 401a and the second schematic diagram 401b displayed on the display device 101, that is, the number of colors used is There are few figures, rough figures, figures with simplified shapes, and the like.

本体表示部6には、角度情報を数字で表示するための2つの数字表示領域6a、6aが設けられている。一方の数字表示領域6aにはスキュー角度が表示され、他方の数字表示領域6aにはピッチ角度が表示される。スキュー角度とピッチ角度の一方のみを表示してもよい。また、チルト角度を数字表示領域6aに表示してもよい。つまり、数字表示領域6aには、光学情報読取装置本体1000Aの水平面に対する傾き角度や、光学情報読取装置本体1000Aの長軸まわりの回動角度等を表示することができる。また、本体表示部6に読取距離を表示してもよい。 The body display portion 6 is provided with two number display areas 6a, 6a for displaying angle information in numbers. A skew angle is displayed in one number display area 6a, and a pitch angle is displayed in the other number display area 6a. Only one of the skew angle and pitch angle may be displayed. Also, the tilt angle may be displayed in the number display area 6a. In other words, the tilt angle of the optical information reader body 1000A with respect to the horizontal plane, the rotation angle of the optical information reader body 1000A about the long axis, and the like can be displayed in the number display area 6a. Also, the reading distance may be displayed on the body display section 6 .

本体表示部6の表示形態は、設定時と運用時とで異なる形態とすることもできる。例えば、設定時には、本体表示部6に上記角度情報を表示する一方、運用時には、本体表示部6に上記角度情報を非表示とする。すなわち、光学情報読取装置本体1000Aの設置角度を調整するのは設定時であり、運用を開始すると設置角度は一定に保たれるので、本体表示部6に角度情報を表示する必要性は低いからである。 The display form of the main body display section 6 may be different between the setting and the operation. For example, the angle information is displayed on the main display unit 6 at the time of setting, while the angle information is not displayed on the main display unit 6 at the time of operation. That is, the installation angle of the optical information reader main body 1000A is adjusted at the time of setting, and since the installation angle is kept constant once operation is started, there is little need to display the angle information on the main body display unit 6. is.

(設置時のサポート機能)
光学情報読取装置本体1000Aの本体表示部6に上記角度情報を表示できるので、例えば現場で光学情報読取装置本体1000Aを設置する際に設置角度の調整をサポートすることができる。設定装置100で光学情報読取装置本体1000Aの設置角度が予め設定されている場合には、その設置角度を光学情報読取装置本体1000Aが目標設置角度として取得する。目標設置角度の取得後、光学情報読取装置本体1000Aは、当該光学情報読取装置本体1000Aの目標設置角度と現在角度との相違に関する情報を報知することができる。例えば、目標設置角度と、光学情報読取装置本体1000Aの現在角度とを本体表示部6に比較可能に表示することにより、目標設置角度と現在角度との相違に関する情報をユーザに対して報知できる。目標設置角度と現在角度との相違に関する情報は、角度を数値で表示してもよいし、基準線450と模式図451とを用いて表示してもよい。目標設置角度と現在角度との相違に関する情報を表示することで、ユーザは、現在角度が目標設置角度に近づくように光学情報読取装置本体1000Aを動かせばよいので、設定装置100の表示器101を見ながらの調整に比べて簡単である。
(support function during installation)
Since the angle information can be displayed on the main body display section 6 of the optical information reader main body 1000A, it is possible to support the adjustment of the installation angle when the optical information reader main body 1000A is installed at the site, for example. When the installation angle of the optical information reader main body 1000A is set in advance by the setting device 100, the optical information reader main body 1000A acquires the installation angle as the target installation angle. After obtaining the target installation angle, the optical information reader main body 1000A can report information regarding the difference between the target installation angle of the optical information reader main body 1000A and the current angle. For example, by displaying the target installation angle and the current angle of the optical information reader main body 1000A on the main body display unit 6 so that they can be compared, the user can be informed of the difference between the target installation angle and the current angle. Information about the difference between the target installation angle and the current angle may be displayed numerically, or may be displayed using a reference line 450 and a schematic diagram 451 . By displaying information about the difference between the target installation angle and the current angle, the user can move the optical information reader main body 1000A so that the current angle approaches the target installation angle. It is easier than adjusting while watching.

目標設置角度と現在角度との相違に関する情報の報知形態としては、例えば、インジケータ9の色を用いた形態であってもよい。現在角度が目標設置角度に近づけば近づくほど、インジケータ9を明るくしたり、インジケータ9の色を一の色から他の色に切り替える。また、インジケータ9が多数の発光素子で構成されている場合、現在角度が目標設置角度に近づけば近づくほど、インジケータ9の点灯数を多くするといった報知形態が可能である。また、現在角度が目標設置角度に近づけば近づくほど、エイマー光の点滅周期を早くする、または遅くするといった報知形態や、現在角度が目標設置角度に近づけば近づくほど、照明部4の点滅周期を早くする、または遅くするといった報知形態とすることも可能である。また、現在角度が目標設置角度と一致した場合に、一致したことを、文字や記号等を用いて本体表示部6に表示してもよい。また、現在角度が目標設置角度と一致するまでの間、現在角度と目標設置角度との差分を数値や模式図等で本体表示部6に表示させてもよい。 For example, the form using the color of the indicator 9 may be used to notify the information about the difference between the target installation angle and the current angle. The closer the current angle is to the target installation angle, the brighter the indicator 9 is or the color of the indicator 9 is switched from one color to another. Further, when the indicator 9 is composed of a large number of light-emitting elements, it is possible to provide a notification mode in which the number of lights of the indicator 9 is increased as the current angle approaches the target installation angle. Also, the closer the current angle approaches the target installation angle, the faster or slower the flashing cycle of the aimer light. It is also possible to set it as the notification form of speeding up or delaying. Further, when the current angle matches the target installation angle, the matching may be displayed on the main body display unit 6 using characters, symbols, or the like. Further, until the current angle matches the target installation angle, the difference between the current angle and the target installation angle may be displayed on the main body display unit 6 as a numerical value, a schematic diagram, or the like.

光学情報読取装置本体1000Aの読取距離についても、設置角度と同様に調整をサポートすることができる。距離の場合、距離センサ41で取得された読取距離と、目標距離との相違に関する情報をユーザに報知する。報知形態は、上述したように、インジケータ9、エイマー光、照明部4等を利用した報知形態とすることができる。 The reading distance of the optical information reading apparatus main body 1000A can also be adjusted in the same manner as the installation angle. In the case of the distance, the user is notified of information regarding the difference between the reading distance acquired by the distance sensor 41 and the target distance. The notification form can be the notification form using the indicator 9, the aimer light, the lighting unit 4, etc., as described above.

(振動報知、衝撃報知、角度変化)
図11に示すように、傾きセンサ40は、光学情報読取装置本体1000Aの振動を検出可能に構成されている。プロセッサ20は、傾きセンサ40が光学情報読取装置本体1000Aの振動を検出した場合に報知することができる。すなわち、傾きセンサ40が振動を検出したということは、カメラ5が振動しているということであり、そのまま撮影を続けるとコード画像がぶれてしまい、読取に失敗する可能性が高い。この場合に、振動を検出したタイミングでアラーム等の報知手段によってユーザに報知することで、読取の失敗を防止できる。報知手段は、例えば表示器101やインジケータ9等であってもよい。
(vibration notification, shock notification, angle change)
As shown in FIG. 11, the tilt sensor 40 is configured to detect vibrations of the optical information reader body 1000A. The processor 20 can notify when the tilt sensor 40 detects the vibration of the optical information reader body 1000A. That is, the detection of vibration by the tilt sensor 40 means that the camera 5 is vibrating, and if the photographing is continued as it is, the code image will be blurred and there is a high possibility that reading will fail. In this case, reading failure can be prevented by notifying the user by notification means such as an alarm when the vibration is detected. The notification means may be, for example, the display 101, the indicator 9, or the like.

また、傾きセンサ40は、光学情報読取装置本体1000Aに作用した衝撃を検出可能に構成されている。プロセッサ20は、傾きセンサ40が光学情報読取装置本体1000Aに作用した衝撃を検出した場合には、当該衝撃を検出した日時を記憶部30の日時記憶部30dに記憶する。衝撃を検出した場合に日時を記憶しておくことで、光学情報読取装置本体1000Aの設置角度がずれた原因を特定する際の情報として利用することができる。尚、傾きセンサ40で衝撃を検知する場合は、サンプリングの周期を例えば0.01秒程度まで早くし、ローパスフィルタの時定数も早くすればよい。 In addition, the tilt sensor 40 is configured to be able to detect an impact acting on the optical information reader body 1000A. When the tilt sensor 40 detects an impact acting on the optical information reader body 1000A, the processor 20 stores the date and time when the impact was detected in the date and time storage section 30d of the storage section 30. FIG. By storing the date and time when an impact is detected, it can be used as information when identifying the cause of the deviation of the installation angle of the optical information reader main body 1000A. When the tilt sensor 40 detects an impact, the sampling period should be shortened to, for example, about 0.01 second, and the time constant of the low-pass filter should be shortened.

また、光学情報読取装置本体1000Aの設置角度が初期設置時から変化した場合には、変化したことを設定装置100の表示器101に表示させたり、アラーム等を利用して報知することもできる。光学情報読取装置本体1000Aの設置角度に変化があったことを早期にユーザに伝えることで、読取の失敗を防止できる。 In addition, when the installation angle of the optical information reader main body 1000A changes from the time of initial installation, the change can be displayed on the display 101 of the setting device 100 or notified using an alarm or the like. By notifying the user early that the installation angle of the optical information reading device main body 1000A has changed, reading failure can be prevented.

(実施形態の作用効果)
以上説明したように、この実施形態によれば、光学情報読取装置本体1000Aの角度情報をコード画像と関連付けて表示器101に表示できるので、光学情報読取装置本体1000Aの角度情報とコード画像とをユーザが把握できる。これに基づいて、光学情報読取装置本体1000Aの角度をどの方向にどの程度変えればよいか、見当が付きやすくなり、角度の微調整が容易になる。
(Action and effect of the embodiment)
As described above, according to this embodiment, the angle information of the optical information reading apparatus main body 1000A can be displayed on the display 101 in association with the code image. User can understand. Based on this, it becomes easier to guess which direction and how much the angle of the optical information reader main body 1000A should be changed, and fine adjustment of the angle is facilitated.

また、光学情報読取装置本体1000Aは、当該光学情報読取装置本体1000AとワークWとの距離を示す値を出力可能な距離センサ41を有しているので、表示器101には、コード画像と読取距離とを関連付けて表示することができる。これにより、光学情報読取装置本体1000Aの距離を長くすればよいか、短くすればよいか、調整時の見当が付きやすくなり、距離の微調整が容易になる。 Further, since the optical information reading device main body 1000A has a distance sensor 41 capable of outputting a value indicating the distance between the optical information reading device main body 1000A and the work W, the code image and the reading can be displayed in association with the distance. As a result, it becomes easier to guess whether the distance of the optical information reader main body 1000A should be lengthened or shortened, and fine adjustment of the distance is facilitated.

上述の実施形態はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内のものである。 The above-described embodiments are merely examples in all respects and should not be construed in a restrictive manner. Furthermore, all modifications and changes within the equivalent scope of claims are within the scope of the present invention.

以上説明したように、本発明に係る光学情報読取装置は、例えば二次元コード等のコードを読み取る場合に使用することができる。 As described above, the optical information reader according to the present invention can be used for reading codes such as two-dimensional codes.

1A 光学情報読取装置
1000A 第1光学情報読取装置本体
2 筐体
5 カメラ
6 本体表示部
10 エイマー
22 デコード部(デコード手段)
40 傾きセンサ
41 距離センサ
101 表示器
400 基準線
401a、401b 模式図
S 光学情報読取システム
1A optical information reader 1000A first optical information reader main body 2 housing 5 camera 6 main body display unit 10 aimer 22 decoding unit (decoding means)
40 tilt sensor 41 distance sensor 101 indicator 400 reference lines 401a, 401b schematic diagram S optical information reading system

Claims (16)

コードが付与されたワークを撮影するカメラと当該カメラにより取得されたコード画像をデコードするデコード手段とを有する光学情報読取装置本体と、前記カメラにより取得されたコード画像を表示する表示器とを備えた固定式の光学情報読取装置において、
前記光学情報読取装置本体は、当該光学情報読取装置本体の水平方向または重力方向に対する傾きを示す値を出力可能な傾きセンサを有し、
前記表示器には、前記カメラにより取得されたコード画像と、当該コード画像が取得された時に前記傾きセンサから出力された値に基づいて算出された前記光学情報読取装置本体の角度情報とが関連付けられて表示される光学情報読取装置。
An optical information reading device main body having a camera for photographing a work to which a code is attached and decoding means for decoding the code image obtained by the camera, and a display device for displaying the code image obtained by the camera. In a fixed optical information reader,
The optical information reading device body has a tilt sensor capable of outputting a value indicating the tilt of the optical information reading device body with respect to a horizontal direction or a direction of gravity,
The display unit associates the code image acquired by the camera with angle information of the optical information reading device body calculated based on the value output from the tilt sensor when the code image was acquired. An optical information reader that is displayed on the screen.
請求項1に記載の光学情報読取装置において、
前記光学情報読取装置本体は、当該光学情報読取装置本体とワークとの距離を示す値を出力可能な距離センサを有し、
前記表示器には、前記カメラにより取得されたコード画像と、当該コード画像が取得された時に前記距離センサから出力された値に基づいて算出された前記距離とが関連付けられて表示される光学情報読取装置。
In the optical information reader according to claim 1,
The optical information reader main body has a distance sensor capable of outputting a value indicating the distance between the optical information reader main body and the work,
Optical information displayed on the display in association with the code image acquired by the camera and the distance calculated based on the value output from the distance sensor when the code image was acquired. reader.
請求項1または2に記載の光学情報読取装置において、
前記光学情報読取装置本体には、前記角度情報を表示する本体表示部が設けられている光学情報読取装置。
The optical information reader according to claim 1 or 2,
An optical information reader, wherein the optical information reader main body is provided with a main body display section for displaying the angle information.
請求項3に記載の光学情報読取装置において、
前記本体表示部には、前記角度情報が、基準線と前記光学情報読取装置本体を模した模式図とを用いて前記基準線に対する前記模式図の相対的な位置関係として表示される光学情報読取装置。
In the optical information reader according to claim 3,
Optical information reading in which the angle information is displayed on the main body display unit as a relative positional relationship of the schematic diagram with respect to the reference line using a reference line and a schematic diagram simulating the main body of the optical information reading device. Device.
請求項3または4に記載の光学情報読取装置において、
前記本体表示部には、前記角度情報が数字で表示される光学情報読取装置。
The optical information reader according to claim 3 or 4,
An optical information reader in which the angle information is displayed in numerals on the body display unit.
請求項3から5のいずれか1つに記載の光学情報読取装置において、
前記本体表示部には、設定時に前記角度情報が表示される一方、運用時には前記角度情報が非表示とされる光学情報読取装置。
In the optical information reader according to any one of claims 3 to 5,
The optical information reading device in which the angle information is displayed on the main body display unit during setting, while the angle information is not displayed during operation.
請求項3から6のいずれか1つに記載の光学情報読取装置において、
前記本体表示部には、前記光学情報読取装置本体の水平面に対する傾き角度が表示される光学情報読取装置。
In the optical information reader according to any one of claims 3 to 6,
The optical information reader, wherein the tilt angle of the optical information reader main body with respect to a horizontal plane is displayed on the main body display section.
請求項3から7のいずれか1つに記載の光学情報読取装置において、
前記本体表示部には、前記光学情報読取装置本体の長軸まわりの回転角度が表示される光学情報読取装置。
In the optical information reader according to any one of claims 3 to 7,
An optical information reader in which a rotation angle about a long axis of the optical information reader main body is displayed on the main body display section.
請求項1から8のいずれか1つに記載の光学情報読取装置において、
前記表示器には、前記角度情報が、基準線と前記光学情報読取装置本体を模した模式図と前記基準線に対する前記模式図の傾き方向を示す矢印とを用いて表示される光学情報読取装置。
The optical information reader according to any one of claims 1 to 8,
An optical information reader in which the angle information is displayed on the display using a reference line, a schematic diagram of the main body of the optical information reader, and an arrow indicating an inclination direction of the schematic diagram with respect to the reference line. .
請求項1から9のいずれか1つに記載の光学情報読取装置において、
前記光学情報読取装置本体は、デコードが成功したか否かを表す成否情報を出力可能に構成され、
前記表示器には、前記光学情報読取装置本体から出力された前記成否情報が前記コード画像と関連付けられて表示される光学情報読取装置。
In the optical information reader according to any one of claims 1 to 9,
The optical information reader main body is configured to be capable of outputting success/failure information indicating whether or not the decoding was successful,
An optical information reader in which the success/failure information output from the optical information reader body is displayed on the display in association with the code image.
請求項1から10のいずれか1つに記載の光学情報読取装置において、
前記光学情報読取装置本体は、前記コード画像を取得したときの撮影情報を出力可能に構成され、
前記表示器には、前記光学情報読取装置本体から出力された前記撮影情報が前記コード画像と関連付けられて表示される光学情報読取装置。
In the optical information reader according to any one of claims 1 to 10,
The optical information reading device main body is configured to be capable of outputting shooting information when the code image is acquired,
An optical information reader in which the photographing information output from the optical information reader body is displayed on the display in association with the code image.
請求項1から11のいずれか1つに記載の光学情報読取装置において、
前記表示器には、複数の前記光学情報読取装置本体から取得した複数のコード画像と、各コード画像が取得された時の前記光学情報読取装置本体の角度情報とがそれぞれ関連付けられて表示される光学情報読取装置。
The optical information reader according to any one of claims 1 to 11,
The display displays a plurality of code images obtained from the plurality of optical information reading device main bodies and angle information of the optical information reading device main body when each code image is obtained in association with each other. Optical information reader.
請求項1から12のいずれか1つに記載の光学情報読取装置において、
前記傾きセンサは、加速度センサであり、前記光学情報読取装置本体の重力方向を示す値を出力し、
前記表示器は、前記光学情報読取装置本体の重力方向に対する傾き角度を前記角度情報として表示する光学情報読取装置。
The optical information reader according to any one of claims 1 to 12,
the tilt sensor is an acceleration sensor and outputs a value indicating the direction of gravity of the optical information reading device body;
The display is an optical information reader that displays, as the angle information, an inclination angle of the optical information reader main body with respect to a direction of gravity.
請求項1から13のいずれか1つに記載の光学情報読取装置において、
前記光学情報読取装置本体は、当該光学情報読取装置本体の目標設置角度と、当該光学情報読取装置本体の現在角度との相違に関する情報を報知する光学情報読取装置。
The optical information reader according to any one of claims 1 to 13,
The optical information reader main body is an optical information reader that notifies information about a difference between a target installation angle of the optical information reader main body and a current angle of the optical information reader main body.
請求項1から14のいずれか1つに記載の光学情報読取装置において、
前記傾きセンサは、前記光学情報読取装置本体の振動を検出可能に構成され、
前記傾きセンサが前記光学情報読取装置本体の振動を検出した場合に報知する光学情報読取装置。
The optical information reader according to any one of claims 1 to 14,
The tilt sensor is configured to be capable of detecting vibration of the optical information reading device main body,
An optical information reader that notifies when the tilt sensor detects vibration of the optical information reader main body.
請求項1から15のいずれか1つに記載の光学情報読取装置において、
前記傾きセンサは、前記光学情報読取装置本体に対する衝撃を検出可能に構成され、
前記光学情報読取装置本体は、前記傾きセンサが前記光学情報読取装置本体に対する衝撃を検出した場合に当該衝撃を検出した日時を記憶する記憶部を備えている光学情報読取装置。
16. The optical information reader according to any one of claims 1 to 15,
The tilt sensor is configured to be capable of detecting an impact on the optical information reading device main body,
The optical information reader main body includes a storage unit for storing a date and time when the impact to the optical information reader main body is detected when the tilt sensor detects the impact to the optical information reader main body.
JP2021192768A 2021-11-29 2021-11-29 Optical information reading apparatus Pending JP2023079344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021192768A JP2023079344A (en) 2021-11-29 2021-11-29 Optical information reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021192768A JP2023079344A (en) 2021-11-29 2021-11-29 Optical information reading apparatus

Publications (1)

Publication Number Publication Date
JP2023079344A true JP2023079344A (en) 2023-06-08

Family

ID=86647507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021192768A Pending JP2023079344A (en) 2021-11-29 2021-11-29 Optical information reading apparatus

Country Status (1)

Country Link
JP (1) JP2023079344A (en)

Similar Documents

Publication Publication Date Title
JP7108747B2 (en) Optical information reader
US11606483B2 (en) Symbology reader with multi-core processor
US10240914B2 (en) Dimensioning system with guided alignment
US11782156B2 (en) Lens assembly with integrated feedback loop and time-of-flight sensor
EP2774079B1 (en) Image acquisition method
CN112202993A (en) Dual imaging vision system camera, collimator and method of use
EP3505961A1 (en) Lens assembly with integrated feedback loop and time-of-flight sensor
CN109583251B (en) Imaging device with a sight system
US20090294541A1 (en) Handheld Code Reader Having A Motion Sensor
KR20230155369A (en) Methods and apparatus for using range data to predict object features
JP2024045570A (en) Fixed code reader installation support system, installation support method, and computer program
JP2021192108A (en) Image acquisition device, and image acquisition method
JP4870054B2 (en) Substrate processing apparatus, surface mounting machine, printing machine, inspection machine, and coating machine
JP2019071018A (en) Optical information reader and optical information reading method
JP2023079344A (en) Optical information reading apparatus
CN110546515B (en) Image acquisition device and image acquisition method
JP5556684B2 (en) Information code reader
JP2023079343A (en) Optical information reading apparatus
JP2007323667A (en) Imaging device
JP2021103440A (en) Image processing device
US20210350575A1 (en) Three-dimensional camera pose determination
US11880739B2 (en) Setting device for optical information reading device, optical information reading system, and optical information reading method
JP2018055397A (en) Optical information reader
JP2006260150A (en) Image reading device
ITMO20110280A1 (en) METHOD OF ACQUISITION OF IMAGES

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240912