JP5765136B2 - Optical information reader - Google Patents

Optical information reader Download PDF

Info

Publication number
JP5765136B2
JP5765136B2 JP2011180254A JP2011180254A JP5765136B2 JP 5765136 B2 JP5765136 B2 JP 5765136B2 JP 2011180254 A JP2011180254 A JP 2011180254A JP 2011180254 A JP2011180254 A JP 2011180254A JP 5765136 B2 JP5765136 B2 JP 5765136B2
Authority
JP
Japan
Prior art keywords
decoding
light
information code
illumination
light receiving
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.)
Active
Application number
JP2011180254A
Other languages
Japanese (ja)
Other versions
JP2013045128A (en
Inventor
田中 正己
正己 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2011180254A priority Critical patent/JP5765136B2/en
Publication of JP2013045128A publication Critical patent/JP2013045128A/en
Application granted granted Critical
Publication of JP5765136B2 publication Critical patent/JP5765136B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報コードを光学的に読み取る光学的情報読取装置に関するものである。   The present invention relates to an optical information reader that optically reads an information code.

従来、情報コードを光学的に読み取る光学的情報読取装置では、誤読を防止するために、同じ情報コードについて複数回デコード処理を実施した後に各デコード結果を比較して、これら各デコード結果が一致する場合にのみ読み取り成功としている。   Conventionally, in an optical information reading apparatus that optically reads an information code, in order to prevent erroneous reading, the decoding results are compared for a plurality of times after the decoding processing is performed on the same information code, and the decoding results are matched. Only if read is successful.

特に、下記特許文献1に開示される光学情報読取装置では、デコード処理が実行される前に、前回取り込んだバーコードデータのバー総本数に対する今回取り込んだバー総本数の変化度合いを確認し、この変化度合いが許容範囲内である場合にのみ、デコード処理を実行する。したがって、適切な画像読取のために行うデコード処理自体は1回でよく、従来のように複数回デコードし、そのデコードデータ同士を比較する方法に比べて、高速読取を可能としている。   In particular, in the optical information reader disclosed in Patent Document 1 below, before the decoding process is executed, the degree of change in the total number of bars captured this time with respect to the total number of bars of bar code data captured last time is confirmed. Only when the degree of change is within the allowable range, the decoding process is executed. Therefore, the decoding process itself performed for appropriate image reading may be performed once, and high-speed reading is possible as compared with the conventional method of decoding a plurality of times and comparing the decoded data.

特開平11−250169号公報JP-A-11-250169

ところで、情報コードに照明光を照射して読み取り作業をする際、この照明光の照射状態によっては鏡面反射等が生じて黒色(暗色)と判別すべき領域を白色(明色)と誤判別してしまい、このような誤判別する領域が多い場合には、デコードが失敗することとなる。しかしながら、鏡面反射等が弱いために上述のような誤判別する領域がわずかであると、デコードが成功してデコード結果が得られてしまう場合がある。この場合、同一の情報コードについて第2回目のデコード処理をしても、その照射状態が変化しないために、デコード結果が一致して誤読してしまうという問題がある。   By the way, when reading information by irradiating the information code with illumination light, specular reflection or the like occurs depending on the illumination state of the illumination light, and the area that should be identified as black (dark color) is misclassified as white (light color). If there are many such misidentified areas, decoding will fail. However, since the specular reflection or the like is weak, if there are only a few misidentified areas as described above, decoding may be successful and a decoding result may be obtained. In this case, there is a problem that even if the second decoding process is performed on the same information code, the irradiation state does not change, so that the decoding result matches and is erroneously read.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、同一の情報コードに対する各デコード結果を比較してデコードの成否を判断する場合における誤読を抑制し得る光学的情報読取装置を提供することにある。   The present invention has been made in order to solve the above-described problems, and an object of the present invention is to suppress misreading in the case of judging the success or failure of decoding by comparing the decoding results for the same information code. An optical information reader is provided.

上記目的を達成するため、請求項1に記載の光学的情報読取装置は、情報コード(C)に対して照明光(L1,L2)を照射する照明手段(21,21a,21b)と、前記情報コードからの反射光を受光する受光手段(28)と、前記受光手段から出力される受光信号に基づいて前記情報コードをデコードするデコード手段(40)と、前記デコード手段によるデコード結果を出力可能な出力手段(40)と、を備える光学的情報読取装置(10)であって、前記照明手段は、複数の光源(22a〜22e,23a〜23e)を備えており、前記照明手段の各光源のうち少なくとも1つの照射方向を変更することで前記照明光の前記情報コードに対する照射状態を変更可能な照射状態変更手段(40)と、前記情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段により第1のデコード結果がデコードされると、この情報コードに対して前記照射状態変更手段により照射方向が変更された状態で当該情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段によりデコードされる第2のデコード結果と前記第1のデコード結果とを比較する比較手段(40)と、を備え、前記出力手段は、前記比較手段により比較された両デコード結果が一致する場合にこのデコード結果を出力することを特徴とする。 In order to achieve the above object, the optical information reader according to claim 1, illumination means (21, 21a, 21b) for irradiating illumination light (L1, L2) to the information code (C); Light receiving means (28) for receiving reflected light from the information code, decoding means (40) for decoding the information code based on a light reception signal output from the light receiving means, and a decoding result by the decoding means can be output. Output means (40), an optical information reader (10), wherein the illumination means comprises a plurality of light sources (22a-22e, 23a-23e), and each light source of the illumination means An irradiation state changing means (40) capable of changing an irradiation state of the illumination light with respect to the information code by changing at least one irradiation direction, and receiving reflected light from the information code When the first decoding result is decoded by the decoding unit based on the light reception signal output from the light receiving unit, the information is displayed in a state where the irradiation direction is changed by the irradiation state changing unit with respect to the information code. A comparison means (40) for comparing the second decoding result decoded by the decoding means with the first decoding result based on a light receiving signal output from the light receiving means that has received the reflected light from the code; The output means outputs the decode result when the two decode results compared by the comparison means match.

請求項2に記載の発明は、情報コード(C)に対して照明光(L1,L2)を照射する照明手段(21,21a,21b)と、前記情報コードからの反射光を受光する受光手段(28)と、前記受光手段から出力される受光信号に基づいて前記情報コードをデコードするデコード手段(40)と、前記デコード手段によるデコード結果を出力可能な出力手段(40)と、を備える光学的情報読取装置(10)であって、前記照明手段から照射される前記照明光の前記情報コードに対する照射状態を変更可能な照射状態変更手段(40)と、前記情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段により第1のデコード結果がデコードされると、この情報コードに対して前記照射状態変更手段により照射状態が変更された状態で当該情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段によりデコードされる第2のデコード結果と前記第1のデコード結果とを比較する比較手段(40)と、を備え、前記出力手段は、前記比較手段により比較された両デコード結果が一致する場合にこのデコード結果を出力し、前記照明手段は、複数の光源(22a〜22e,23a〜23e)を備えており、前記照射状態変更手段は、前記複数の光源に対し、一つおきに交互に点灯状態および消灯状態のいずれかに変更することで、前記照明手段における照射位置を変更することを特徴とする。 The invention according to claim 2 is an illumination means (21, 21a, 21b) for irradiating the information code (C) with illumination light (L1, L2), and a light receiving means for receiving the reflected light from the information code. (28), an optical device comprising: decoding means (40) for decoding the information code based on a light receiving signal output from the light receiving means; and output means (40) capable of outputting a decoding result by the decoding means. An information reading device (10) for receiving the reflected light from the information code, and an irradiation state changing means (40) capable of changing an irradiation state of the illumination light emitted from the illumination means to the information code; When the first decoding result is decoded by the decoding unit based on the received light signal output from the light receiving unit, the irradiation state changing unit is applied to the information code. The second decoding result and the first decoding result decoded by the decoding unit based on the light receiving signal output from the light receiving unit that has received the reflected light from the information code in a state in which the irradiation state is further changed Comparing means (40), and the output means outputs the decoding result when both the decoding results compared by the comparing means match, and the illuminating means includes a plurality of light sources ( 22a to 22e, 23a to 23e), and the illumination state changing unit alternately changes the illumination state to one of a lighting state and a light-off state for every other light source. The irradiation position in is changed.

請求項に記載の発明は、請求項に記載の光学的情報読取装置において、前記比較手段により比較された両デコード結果が一致する場合にこのデコード結果を前記出力手段により出力する照射状態変更モードと、全ての前記光源から照明光が照射された状態で情報コードについて前記デコード手段によりデコードしたデコード結果とこのデコード後に前記照射状態変更手段により前記照射位置を変更することなく同じ情報コードについて前記デコード手段によりデコードしたデコード結果とが一致する場合にこのデコード結果を前記出力手段により出力する通常モードと、のいずれかのモードに切り替え可能なモード切替手段(40)を備えることを特徴とする。 The invention according to claim 3, in an optical information reading apparatus according to claim 2, irradiation state changes and outputs the decoding result by said output means when both decoded result of comparison by the comparison means match The mode, the decoding result decoded by the decoding means for the information code in a state where illumination light is irradiated from all the light sources, and the same information code without changing the irradiation position by the irradiation state changing means after this decoding A mode switching means (40) capable of switching to any one of a normal mode in which the decoding result is output by the output means when the decoding result decoded by the decoding means matches is provided.

請求項に記載の発明は、請求項1〜のいずれか一項に記載の光学的情報読取装置において、受光手段は、受光素子が一方向に並ぶ一次元センサからなることを特徴とする。
なお、上記各括弧内の符号は、後述する各実施形態に記載の具体的手段との対応関係を示すものである。
According to a fourth aspect of the present invention, in the optical information reading apparatus according to any one of the first to third aspects, the light receiving means is a one-dimensional sensor in which the light receiving elements are arranged in one direction. .
In addition, the code | symbol in each said bracket | parenthesis shows the corresponding relationship with the specific means as described in each embodiment mentioned later.

請求項1の発明では、上記第1のデコード結果がデコードされると、この情報コードに対して照射状態変更手段により照射方向が変更された状態で当該情報コードからの反射光を受光した受光手段から出力される受光信号に基づいてデコード手段によりデコードされる第2のデコード結果と上記第1のデコード結果とが比較手段により比較される。そして、比較手段により比較された両デコード結果が一致する場合にこのデコード結果が出力手段により出力される。 In the first aspect of the invention, when the first decoding result is decoded, the light receiving means for receiving the reflected light from the information code in a state where the irradiation direction is changed by the irradiation state changing means for the information code The second decoding result decoded by the decoding unit based on the light reception signal output from the first decoding result is compared with the first decoding result. Then, when both decoding results compared by the comparison means match, the decoding result is output by the output means.

これにより、同一の情報コードについて、第1のデコード結果を得たときの照射方向と、第2のデコード結果を得たときの照射方向とが異なるため、鏡面反射等の照射方向に起因して両デコード結果のいずれか一方のデコード結果が誤った結果であったとしても、この一方のデコード結果と他方のデコード結果が一致することもない。
したがって、同一の情報コードに対する各デコード結果を比較してデコードの成否を判断する場合における誤読を抑制することができる。
Thus, for the same information code, the irradiation direction when obtaining the first decoding result, since the irradiation direction when obtaining the second decoding results are different, due to the irradiation direction of such specular reflection Even if one of the two decoding results is an incorrect result, this one decoding result does not match the other decoding result.
Therefore, it is possible to suppress misreading when comparing the decoding results for the same information code to determine the success or failure of the decoding.

請求項2の発明では、照射状態変更手段により、複数の光源に対し、一つおきに交互に点灯状態および消灯状態のいずれかに変更されて、照明手段における照射位置が変更されるので、当該照射位置の変更を容易に実施することができる。 In the invention of claim 2, since the irradiation state changing means is alternately changed to either the lighting state or the extinguishing state for every other light source , the irradiation position in the illumination means is changed. It is possible to easily change the irradiation position .

請求項の発明では、モード切替手段により、比較手段により比較された両デコード結果が一致する場合にこのデコード結果を出力手段により出力する照射状態変更モードと、全ての光源から照明光が照射された状態で情報コードについて前記デコード手段によりデコードしたデコード結果とこのデコード後に前記照射状態変更手段により前記照射位置を変更することなく同じ情報コードについて前記デコード手段によりデコードしたデコード結果とが一致する場合にこのデコード結果を出力手段により出力する通常モードと、のいずれかのモードに切り替えられる。 In the third aspect of the invention, the mode switching unit emits illumination light from all light sources in the irradiation state change mode in which the decoding result output by the output unit is output when both decoding results compared by the comparison unit match. When the decoding result decoded by the decoding means for the information code in the state is coincident with the decoding result decoded by the decoding means for the same information code without changing the irradiation position after the decoding by the irradiation state changing means The mode can be switched to any one of the normal mode in which the decoding result is output by the output means.

上述した通常モードでは、全ての光源を使用して照明光を情報コードに照射できるので、一部の光源を使用して照明光を情報コードに照射する場合と比較して、読み取り成功率が向上して読取作業性が向上する場合がある。そこで、読取作業性よりも誤読防止を重視する場合には、照射状態変更モードに切り替え、誤読防止よりも読取作業性を重視する場合には、通常モードに切り替えることで、作業者が重視する作業環境に応じたモードを選択することができる。   In the normal mode described above, it is possible to irradiate the information code with illumination light using all the light sources, so the reading success rate is improved compared to the case where the illumination code is irradiated with illumination light using some light sources. Thus, the reading workability may be improved. Therefore, when emphasizing prevention of misreading over reading workability, switch to the irradiation state change mode, and when emphasizing reading workability over prevention of misreading, switch to the normal mode so A mode can be selected according to the environment.

請求項の発明のように、受光手段を、受光素子が一方向に並ぶ一次元センサから構成しても、同一の情報コードに対する各デコード結果を比較してデコードの成否を判断する場合における誤読を抑制することができる。 Even if the light receiving means is composed of a one-dimensional sensor in which the light receiving elements are arranged in one direction as in the invention of claim 4 , the misreading in the case of judging the success or failure of the decoding by comparing the decoding results for the same information code Can be suppressed.

第1実施形態に係る光学的情報読取装置の電気的構成を示すブロック図である。1 is a block diagram illustrating an electrical configuration of an optical information reading device according to a first embodiment. 図1の照明光源による照射状態を示す説明図であり、図2(A)は第1照射状態を示し、図2(B)は第2照射状態を示す。It is explanatory drawing which shows the irradiation state by the illumination light source of FIG. 1, FIG. 2 (A) shows a 1st irradiation state, FIG.2 (B) shows a 2nd irradiation state. 強い鏡面反射により受光波形が影響を受けてデコードが失敗した例を示す波形図である。It is a wave form diagram which shows the example in which decoding failed because the light reception waveform was influenced by strong specular reflection. 同じ情報コードについて照射状態を変えて受光した受光波形の変化を説明するための波形図である。It is a wave form diagram for demonstrating the change of the received light waveform which changed the irradiation state about the same information code, and received light. 第1実施形態における読取処理の流れを例示するフローチャートである。4 is a flowchart illustrating a flow of a reading process in the first embodiment. 第2実施形態における照明光源による照射状態を示す説明図であり、図6(A)は第1照射状態を示し、図6(B)は第2照射状態を示す。It is explanatory drawing which shows the irradiation state by the illumination light source in 2nd Embodiment, FIG. 6 (A) shows a 1st irradiation state and FIG. 6 (B) shows a 2nd irradiation state. 第3実施形態における照明光源による照射状態を示す説明図であり、図7(A)は第1照射状態を示し、図7(B)は第2照射状態を示す。It is explanatory drawing which shows the irradiation state by the illumination light source in 3rd Embodiment, FIG. 7 (A) shows a 1st irradiation state, FIG.7 (B) shows a 2nd irradiation state. 第4実施形態における読取処理の流れを例示するフローチャートである。14 is a flowchart illustrating a flow of a reading process in the fourth embodiment.

[第1実施形態]
以下、本発明の第1実施形態に係る光学的情報読取装置について図を参照して説明する。図1は、第1実施形態に係る光学的情報読取装置10の電気的構成を示すブロック図である。図2は、図1の照明光源21による照射状態を示す説明図であり、図2(A)は第1照射状態を示し、図2(B)は第2照射状態を示す。
[First Embodiment]
Hereinafter, an optical information reading apparatus according to a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an electrical configuration of an optical information reading apparatus 10 according to the first embodiment. FIG. 2 is an explanatory diagram showing an irradiation state by the illumination light source 21 of FIG. 1, FIG. 2 (A) shows a first irradiation state, and FIG. 2 (B) shows a second irradiation state.

図1に示すように、光学的情報読取装置10は、物品に付されたバーコードなどの一次元コードや二次元コード等の情報コードを光学的に読み取る装置として構成されている。この光学的情報読取装置10は、図示しないケースの内部に回路部20が収容されてなるものであり、回路部20は、主に、照明光源21、受光センサ28、結像レンズ27等の光学系と、メモリ35、制御回路40、トリガースイッチ42等のマイクロコンピュータ(以下「マイコン」という)系と、から構成されている。   As shown in FIG. 1, the optical information reader 10 is configured as an apparatus that optically reads an information code such as a one-dimensional code or a two-dimensional code attached to an article. The optical information reading apparatus 10 includes a circuit unit 20 housed in a case (not shown). The circuit unit 20 mainly includes an illumination light source 21, a light receiving sensor 28, an imaging lens 27, and the like. And a microcomputer (hereinafter referred to as “microcomputer”) system such as a memory 35, a control circuit 40, and a trigger switch 42.

光学系は、投光光学系と、受光光学系とに分かれている。投光光学系を構成する照明光源21は、2種類の照射状態を実現するために複数の光源を備えており、これら各光源は、例えば、赤色のLEDとこのLEDの出射側に設けられるレンズとからそれぞれ構成されている。この照明光源21は、具体的には、図1および図2に示すように、第1光源群22を構成する3つの光源22a,22b,22cと、第2光源群23を構成する3つの光源23a,23b,23cとが、一直線上であって交互に配置されて構成されている。   The optical system is divided into a light projecting optical system and a light receiving optical system. The illumination light source 21 constituting the light projecting optical system includes a plurality of light sources in order to realize two types of irradiation states. Each of these light sources is, for example, a red LED and a lens provided on the emission side of the LED. And is composed respectively. Specifically, the illumination light source 21 includes three light sources 22a, 22b, and 22c constituting the first light source group 22 and three light sources constituting the second light source group 23, as shown in FIGS. 23a, 23b, and 23c are arranged in a straight line and alternately arranged.

これにより、照明光源21は、図1および図2(A)に示すように、第1光源群22を構成する各光源22a,22b,22cから照明光L1が照射される第1照射状態と、図2(B)に示すように、第2光源群23を構成する各光源23a,23b,23cから照明光L2が照射される第2照射状態との、異なる2種類の照射状態を照射可能に構成される。なお、照明光源21は、特許請求の範囲に記載の「照明手段」の一例に相当し得る。   Thereby, as shown in FIG. 1 and FIG. 2 (A), the illumination light source 21 has a first irradiation state in which the illumination light L1 is irradiated from each of the light sources 22a, 22b, and 22c constituting the first light source group 22, and As shown in FIG. 2B, it is possible to irradiate two different types of irradiation states, the second irradiation state in which the illumination light L2 is irradiated from each of the light sources 23a, 23b, and 23c constituting the second light source group 23. Composed. The illumination light source 21 may correspond to an example of an “illuminating unit” described in the claims.

受光光学系は、受光センサ28、結像レンズ27、反射鏡(図示略)などによって構成されている。受光センサ28は、情報コードC等に照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の固体撮像素子である受光素子を一方向に並べて配列した一次元センサ(例えば、ラインセンサ)が、これに相当する。この受光センサ28は、結像レンズ27を介して入射する入射光を受光可能にプリント配線板(図示略)に実装されている。   The light receiving optical system includes a light receiving sensor 28, an imaging lens 27, a reflecting mirror (not shown), and the like. The light receiving sensor 28 is configured to receive the reflected light Lr irradiated and reflected by the information code C or the like. For example, a light receiving element which is a solid-state imaging element such as a C-MOS or CCD is arranged in one direction. This one-dimensional sensor (for example, a line sensor) corresponds to this. The light receiving sensor 28 is mounted on a printed wiring board (not shown) so as to be able to receive incident light incident through the imaging lens 27.

結像レンズ27は、外部から読取口(図示略)を介して入射する入射光を集光して受光センサ28の受光面28aに像を結像可能な結像光学系として機能するものである。本実施形態では、照明光源21から照射された照明光L1または照明光L2が情報コードCにて反射した後、この反射光Lrを結像レンズ27で集光し、受光センサ28の受光面28aにコード像を結像させている。   The imaging lens 27 functions as an imaging optical system capable of condensing incident light incident from the outside via a reading port (not shown) and forming an image on the light receiving surface 28a of the light receiving sensor 28. . In the present embodiment, after the illumination light L1 or illumination light L2 emitted from the illumination light source 21 is reflected by the information code C, the reflected light Lr is condensed by the imaging lens 27, and the light receiving surface 28a of the light receiving sensor 28 is collected. A code image is formed on

マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、トリガースイッチ42、発光部43、ブザー44、バイブレータ45、液晶表示器46等から構成されている。   The microcomputer system includes an amplification circuit 31, an A / D conversion circuit 33, a memory 35, an address generation circuit 36, a synchronization signal generation circuit 38, a control circuit 40, a trigger switch 42, a light emitting unit 43, a buzzer 44, a vibrator 45, and a liquid crystal display. 46 and the like.

光学系の受光センサ28から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力されると、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、生成されてメモリ35に入力されると、所定のコード画像情報格納領域に蓄積される。なお、同期信号発生回路38は、受光センサ28およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。   The image signal (analog signal) output from the light receiving sensor 28 of the optical system is amplified by a predetermined gain by being input to the amplifier circuit 31, and then input from the analog signal when input to the A / D conversion circuit 33. Converted into a digital signal. When the digitized image signal, that is, image data (image information) is generated and input to the memory 35, it is stored in a predetermined code image information storage area. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 28 and the address generation circuit 36, and the address generation circuit 36 is based on the synchronization signal supplied from the synchronization signal generation circuit 38. Thus, the storage address of the image data stored in the memory 35 can be generated.

メモリ35は、半導体メモリ装置で、例えばRAM(DRAM、SRAM等)やROM(EPROM、EEPROM等)がこれに相当する。このメモリ35のうちのRAMには、上述したコード画像情報格納領域のほかに、制御回路40が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されている。またROMには、後述する設定変更処理、解析処理等を実行可能な所定プログラムやその他、照明光源21、受光センサ28等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。なお、メモリ35は、特許請求の範囲に記載の「記憶手段」の一例に相当し得る。   The memory 35 is a semiconductor memory device, and corresponds to, for example, a RAM (DRAM, SRAM, etc.) or a ROM (EPROM, EEPROM, etc.). In addition to the above-described code image information storage area, the RAM of the memory 35 is configured to be able to secure a work area and a reading condition table used by the control circuit 40 in each processing such as arithmetic operation and logical operation. Yes. The ROM stores in advance a predetermined program that can execute setting change processing, analysis processing, and the like, which will be described later, and a system program that can control each hardware such as the illumination light source 21 and the light receiving sensor 28. The memory 35 may correspond to an example of a “storage unit” described in the claims.

制御回路40は、光学的情報読取装置10全体を制御可能なマイコンによって構成されており、CPU、システムバス、入出力インタフェース等を有すると共に、情報処理機能を備えており、メモリ35とともに情報処理装置を構成している。本実施形態では、制御回路40に対し、トリガースイッチ42、発光部43、ブザー44、バイブレータ45、液晶表示器46等が接続されている。   The control circuit 40 is configured by a microcomputer capable of controlling the entire optical information reading apparatus 10, has a CPU, a system bus, an input / output interface, and the like, and has an information processing function. Is configured. In the present embodiment, a trigger switch 42, a light emitting unit 43, a buzzer 44, a vibrator 45, a liquid crystal display 46 and the like are connected to the control circuit 40.

これにより、制御回路40は、例えば、トリガースイッチ42の監視や管理、情報コードCの読み取りに関する情報を報知するインジケータとして機能する発光部43の点灯・消灯、ビープ音やアラーム音を発生可能なブザー44の鳴動のオンオフ、当該光学的情報読取装置10の使用者に伝達し得る振動を発生可能なバイブレータ45の駆動制御、液晶表示器46の表示制御等を可能にしている。   As a result, the control circuit 40 can, for example, turn on / off the light-emitting unit 43 that functions as an indicator for notifying information related to monitoring and management of the trigger switch 42 and reading of the information code C, and a buzzer that can generate a beep sound and an alarm sound. It is possible to turn on / off the ring 44, drive control of the vibrator 45 capable of generating vibration that can be transmitted to the user of the optical information reader 10, display control of the liquid crystal display 46, and the like.

次に、このように構成される光学的情報読取装置10について、同一の情報コードに対して照射状態を変更して得たデコード結果を比較してデコードの成否を判断する読取処理について、以下に説明する。
情報コードに照明光を照射して読み取り作業をする際、この照明光の照射状態によっては鏡面反射等が生じて黒色(暗色)と判別すべき領域を白色(明色)と誤判別する場合がある。例えば、強い鏡面反射が生じているために、図3に例示するように、上述のような誤判別する領域(図3に示す一点鎖線楕円参照)が多い受光波形が得られる場合には、デコードが失敗することとなる。このように強い鏡面反射が生じている場合には、デコードが成功することもなく失敗してしまうので、情報コードを誤読することもない。
Next, with respect to the optical information reading apparatus 10 configured as described above, a reading process for comparing the decoding result obtained by changing the irradiation state with respect to the same information code to determine the success or failure of the decoding will be described below. explain.
When reading the information code with illumination light, depending on the illumination light irradiation state, specular reflection may occur, and the area that should be identified as black (dark color) may be misidentified as white (light color). is there. For example, since strong specular reflection has occurred, as shown in FIG. 3, when a received light waveform having many misidentified areas (see the dashed-dotted ellipse shown in FIG. 3) is obtained, decoding is performed. Will fail. When such strong specular reflection occurs, the decoding does not succeed and fails, so the information code is not misread.

しかしながら、鏡面反射等が弱いために、図4(A)に例示するように、上述のような誤判別する領域(図4(A)に示す一点鎖線楕円参照)がわずかに生じている受光波形が得られると、デコードが成功してデコード結果が得られてしまう場合がある。この場合、同一の情報コードについて第2回目のデコード処理をしても、その照射状態が変化しないためにほぼ同じ受光波形が得られて、デコード結果が一致して誤読してしまう。   However, since the specular reflection or the like is weak, as shown in FIG. 4A, the light reception waveform in which the above-described erroneous determination region (see the dashed-dotted ellipse shown in FIG. 4A) slightly occurs. If obtained, decoding may be successful and a decoding result may be obtained. In this case, even if the second decoding process is performed on the same information code, since the irradiation state does not change, almost the same received light waveform is obtained, and the decoding result matches and misreads.

そこで、本実施形態に係る読取処理では、同一の情報コードに対して照射状態を変更して得たデコード結果を比較してデコードの成否を判断する。1回目の撮像で鏡面反射等に起因して誤読してしまう受光波形(図4(A)参照)が得られても、2回目の撮像で照射状態を1回目の撮像時と変えることで、鏡面反射の影響がなくなるか異なる位置に誤判別する領域(図4(B)に示す一点鎖線楕円参照)が生じた受光波形が得られるため、照射状態を変更して得た2つのデコード結果が一致しない場合にデコード失敗とすることで、鏡面反射等の照射状態に起因する誤読が防止されるからである。   Therefore, in the reading process according to the present embodiment, the decoding result is determined by comparing the decoding results obtained by changing the irradiation state with respect to the same information code. Even if a light reception waveform (see FIG. 4A) that is misread due to specular reflection or the like is obtained in the first imaging, the irradiation state is changed from the first imaging in the second imaging, Since the received light waveform in which the region where the influence of the specular reflection is eliminated or misidentified at a different position (see the alternate long and short dash line ellipse shown in FIG. 4B) is obtained, two decoding results obtained by changing the irradiation state are obtained. This is because, if they do not match, it is determined that the decoding has failed, so that misreading caused by an irradiation state such as specular reflection is prevented.

以下、制御回路40にて実行される読取処理について図5を用いて詳細に説明する。図5は、第1実施形態における読取処理の流れを例示するフローチャートである。なお、本読取処理では、バーコードを読み取り対象としているが、これに限らず、QRコード(登録商標)やデータマトリックコード、マキシコード等の二次元コードを読み取り対象としても同様の効果を奏する。   Hereinafter, the reading process executed by the control circuit 40 will be described in detail with reference to FIG. FIG. 5 is a flowchart illustrating the flow of the reading process in the first embodiment. In this reading process, the barcode is targeted for reading. However, the present invention is not limited to this, and the same effect can be obtained when a two-dimensional code such as a QR code (registered trademark), a data matrix code, or a maxi code is read.

本実施形態では、使用者がトリガースイッチ42のオン操作等を行うことで、制御回路40により図5に示す読取処理が開始され、ステップS101に示す第1照射処理がなされる。この処理では、照明光源21の第1光源群22を構成する各光源22a,22b,22cから照明光L1が第1照射状態として照射される(図2(A)参照)。   In this embodiment, when the user turns on the trigger switch 42 or the like, the reading process shown in FIG. 5 is started by the control circuit 40, and the first irradiation process shown in step S101 is performed. In this process, the illumination light L1 is emitted as the first irradiation state from each of the light sources 22a, 22b, and 22c constituting the first light source group 22 of the illumination light source 21 (see FIG. 2A).

次に、ステップS103に示す撮像処理がなされ、第1照射状態として照射された照明光L1がバーコードにて反射してその反射光Lrが読取口を介して結像レンズ27に入射すると、受光センサ28の受光面28aには結像レンズ27によってバーコードの像、つまりコード画像が結像される。これにより、受光センサ28を構成する各受光素子が露光され、それら各受光素子からバーコードの像に応じた受光信号がそれぞれ出力される。   Next, when the imaging process shown in step S103 is performed and the illumination light L1 irradiated as the first irradiation state is reflected by the barcode and the reflected light Lr enters the imaging lens 27 through the reading port, the light is received. A bar code image, that is, a code image is formed on the light receiving surface 28 a of the sensor 28 by the imaging lens 27. Thereby, each light receiving element constituting the light receiving sensor 28 is exposed, and a light receiving signal corresponding to the barcode image is output from each light receiving element.

続いて、ステップS105に示すデコード処理がなされ、上記撮像処理により得られたコード画像に対して公知のデコード処理が実施される。この処理により、文字データ等がデコードされると、ステップS107に示す判定処理にてYesと判定されて、ステップS109に示すデコード結果記憶処理がなされる。この処理では、上記ステップS105に示すデコード処理にて得られたデコード結果が第1のデコード結果としてメモリ35に記憶される。なお、デコード処理が失敗した場合には、ステップS107にてNoと判定されて、ステップS103に示す撮像処理からの処理がなされる。   Subsequently, the decoding process shown in step S105 is performed, and a known decoding process is performed on the code image obtained by the imaging process. When character data or the like is decoded by this process, it is determined Yes in the determination process shown in step S107, and the decoding result storage process shown in step S109 is performed. In this process, the decoding result obtained in the decoding process shown in step S105 is stored in the memory 35 as the first decoding result. If the decoding process fails, it is determined No in step S107, and the process from the imaging process shown in step S103 is performed.

上述のように第1のデコード結果がメモリ35に記憶されると、ステップS111に示す第2照射処理がなされる。この処理では、照明光源21の第1光源群22の各光源22a,22b,22cが消灯し、第2光源群23を構成する各光源23a,23b,23cから照明光L2が第2照射状態として照射される照射状態に変更される(図2(B)参照)。なお、第1照射処理および第2照射処理を実行する制御回路40は、特許請求の範囲に記載の「照射状態変更手段」の一例に相当し得る。   As described above, when the first decoding result is stored in the memory 35, the second irradiation process shown in step S111 is performed. In this process, the light sources 22a, 22b, and 22c of the first light source group 22 of the illumination light source 21 are turned off, and the illumination light L2 is set to the second irradiation state from the light sources 23a, 23b, and 23c constituting the second light source group 23. It changes to the irradiation state irradiated (refer FIG. 2 (B)). The control circuit 40 that executes the first irradiation process and the second irradiation process may correspond to an example of “irradiation state changing means” described in the claims.

次に、ステップS113に示す撮像処理がなされ、第2照射状態として照射された照明光L2が、上述のようにデコードされた同じバーコードに照射され、このバーコードにて反射してその反射光Lrが受光センサ28にて受光されると、当該バーコードの像に応じた受光信号が出力される。   Next, the imaging process shown in step S113 is performed, and the illumination light L2 irradiated as the second irradiation state is irradiated to the same barcode decoded as described above, reflected by this barcode, and reflected light thereof. When Lr is received by the light receiving sensor 28, a light receiving signal corresponding to the barcode image is output.

続いて、ステップS115に示すデコード処理がなされ、上記撮像処理により得られたコード画像に対して公知のデコード処理が実施される。この処理により、文字データ等がデコードされる場合には、ステップS117にてYesと判定され、デコードが失敗する場合には、ステップS117にてNoと判定されて、ステップS113に示す撮像処理からの処理がなされる。なお、ステップS105,S115に示すデコード処理を実行する制御回路40は、特許請求の範囲に記載の「デコード手段」の一例に相当し得る。   Subsequently, the decoding process shown in step S115 is performed, and a known decoding process is performed on the code image obtained by the imaging process. If character data or the like is decoded by this process, it is determined Yes in step S117, and if the decoding fails, it is determined No in step S117 and the process from the imaging process shown in step S113 is performed. Processing is done. The control circuit 40 that executes the decoding processing shown in steps S105 and S115 can correspond to an example of “decoding means” recited in the claims.

ステップS117にてYesと判定されると、ステップS119に示す判定処理において、上記ステップS115に示すデコード処理にて得られたデコード結果(以下、第2のデコード結果という)と、メモリ35に記憶される第1のデコード結果とが一致するか否かについて判定される。ここで、同一のバーコードについて、第2のデコード結果と第1のデコード結果とが一致する場合には(S119でYes)、受光波形に鏡面反射等の照射状態に起因した誤判別する領域が含まれておらずデコードが成功しているとして、ステップS121に示す出力処理がなされる。この処理では、一致するデコード結果が、読取対象のバーコードとして符号化された文字データ等であるとして通信インタフェース等を介して上位システムに出力される。   If it is determined Yes in step S117, the decoding result obtained in the decoding process shown in step S115 (hereinafter referred to as the second decoding result) and the memory 35 are stored in the determination process shown in step S119. It is determined whether or not the first decoding result matches. Here, when the second decoding result and the first decoding result coincide with each other for the same barcode (Yes in S119), there is an erroneous determination area due to an irradiation state such as specular reflection in the received light waveform. If it is not included and the decoding is successful, the output process shown in step S121 is performed. In this process, the matching decoding result is output to the host system via the communication interface or the like as character data encoded as a barcode to be read.

一方、同一のバーコードについて、第2のデコード結果と第1のデコード結果とが異なると、鏡面反射等の照射状態に起因して両デコード結果の少なくともいずれか一方のデコード結果が誤った結果となっていると判断することができる。そこで、両デコード結果が異なることから、ステップS119にてNoと判定される場合には、ステップS121に示す出力処理を実施することなく、上記ステップS101からの処理が実施される。なお、ステップS119に示す判定処理を実行する制御回路40は、特許請求の範囲に記載の「比較手段」の一例に相当し得る。   On the other hand, if the second decoding result and the first decoding result are different for the same barcode, the decoding result of at least one of both decoding results is incorrect due to the irradiation state such as specular reflection. It can be determined that Therefore, since the decoding results are different, if it is determined No in step S119, the processing from step S101 is performed without performing the output processing shown in step S121. The control circuit 40 that executes the determination process shown in step S119 may correspond to an example of “comparison means” described in the claims.

以上説明したように、本実施形態に係る光学的情報読取装置10では、上記第1のデコード結果がデコードされると、このバーコードに対して照射状態が変更された状態で当該バーコードからの反射光を受光した受光センサ28から出力される受光信号に基づいてデコードされる第2のデコード結果と上記第1のデコード結果とがステップS119に示す判定処理により比較される。そして、比較された両デコード結果が一致する場合にこのデコード結果が出力される。   As described above, in the optical information reading apparatus 10 according to the present embodiment, when the first decoding result is decoded, the irradiation state is changed from the barcode to the barcode. The second decoding result decoded based on the light reception signal output from the light receiving sensor 28 that has received the reflected light is compared with the first decoding result by the determination processing shown in step S119. When the compared decoding results match, this decoding result is output.

これにより、同一の情報コードについて、第1のデコード結果を得たときの第1照射状態と、第2のデコード結果を得たときの第2照射状態とが異なるため、鏡面反射等の照射状態に起因して両デコード結果のいずれか一方のデコード結果が誤った結果であったとしても、この一方のデコード結果と他方のデコード結果が一致することもない。
したがって、同一の情報コードに対する各デコード結果を比較してデコードの成否を判断する場合における誤読を抑制することができる。
Thereby, for the same information code, the first irradiation state when the first decoding result is obtained is different from the second irradiation state when the second decoding result is obtained. Even if one of the two decoding results is an erroneous result due to the above, the one decoding result does not coincide with the other decoding result.
Therefore, it is possible to suppress misreading when comparing the decoding results for the same information code to determine the success or failure of the decoding.

また、第1光源群22を構成する各光源22a,22b,22cを照射状態にするか、第2光源群23を構成する各光源23a,23b,23cを照射状態にすることで、照明光源21の照射状態第1照射状態および第2照射状態のいずれかに変更されるので、当該照射状態の変更を短時間で容易に実施することができる。   Also, the illumination light source 21 can be obtained by setting the light sources 22a, 22b, and 22c constituting the first light source group 22 to the irradiation state or setting the light sources 23a, 23b, and 23c constituting the second light source group 23 to the irradiation state. Since the irradiation state is changed to either the first irradiation state or the second irradiation state, the irradiation state can be easily changed in a short time.

なお、第1光源群22は、3つの光源22a,22b,22cにより構成されることに限らず、2つまたは4つ以上の光源により構成されてもよい。また、第2光源群23は、3つの光源23a,23b,23cにより構成されることに限らず、2つまたは4つ以上の光源により構成されてもよい。また、光源22a,22b,22cおよび光源23a,23b,23cは、一直線上に配置されることなく所望される照射状態に応じて配置されてもよい。また、このように構成される照明光源21の各光源のうちの少なくともいずれか1つを点灯状態、点滅状態および消灯状態のいずれかに変更することで、照明光源21の照射状態を変更しても、当該照射状態の変更を容易に実施することができる。   The first light source group 22 is not limited to being configured by the three light sources 22a, 22b, and 22c, and may be configured by two or four or more light sources. The second light source group 23 is not limited to the three light sources 23a, 23b, and 23c, and may be composed of two or four or more light sources. Further, the light sources 22a, 22b, 22c and the light sources 23a, 23b, 23c may be arranged according to a desired irradiation state without being arranged on a straight line. Moreover, the irradiation state of the illumination light source 21 is changed by changing at least one of the light sources of the illumination light source 21 configured in this way to one of a lighting state, a blinking state, and a light-off state. In addition, the irradiation state can be easily changed.

[第2実施形態]
次に、本発明の第2実施形態に係る光学的情報読取装置10について図6を参照して説明する。図6は、第2実施形態における照明光源21aによる照射状態を示す説明図であり、図6(A)は第1照射状態を示し、図6(B)は第2照射状態を示す。
本第2実施形態に係る光学的情報読取装置10では、上述した照明光源21に代えて照明光源21aを採用する点が、上記第1実施形態に係る光学的情報読取装置と主に異なる。したがって、上述した第1実施形態の光学的情報読取装置と実質的に同一の構成部分には同一符号を付し、説明を省略する。
[Second Embodiment]
Next, an optical information reading apparatus 10 according to a second embodiment of the present invention will be described with reference to FIG. FIG. 6 is an explanatory diagram showing an irradiation state by the illumination light source 21a in the second embodiment, FIG. 6 (A) shows a first irradiation state, and FIG. 6 (B) shows a second irradiation state.
The optical information reader 10 according to the second embodiment is mainly different from the optical information reader according to the first embodiment in that an illumination light source 21a is employed instead of the illumination light source 21 described above. Therefore, substantially the same components as those of the optical information reading apparatus of the first embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

図6(A),(B)に示すように、照明光源21aは、第1光源群22を構成する3つの光源22a,22b,22cと、第2光源群23を構成する3つの光源23a,23b,23cとが、互いの照射方向が異なるようにそれぞれ配置されて構成されている。   As shown in FIGS. 6A and 6B, the illumination light source 21a includes three light sources 22a, 22b, and 22c that constitute the first light source group 22, and three light sources 23a that constitute the second light source group 23. 23b and 23c are arranged and configured such that their irradiation directions are different from each other.

これにより、照明光源21aは、図6(A)に示すように、第1光源群22を構成する各光源22a,22b,22cから照明光L1が照射される第1照射状態と、図6(B)に示すように、第2光源群23を構成する各光源23a,23b,23cから照明光L2が照射される第2照射状態との、異なる2種類の照射状態を照射可能に構成される。   Thereby, as shown in FIG. 6A, the illumination light source 21a is in the first irradiation state in which the illumination light L1 is irradiated from each of the light sources 22a, 22b, and 22c constituting the first light source group 22, and FIG. As shown in B), it is configured to be able to irradiate two different irradiation states, that is, the second irradiation state in which the illumination light L2 is irradiated from the respective light sources 23a, 23b, and 23c constituting the second light source group 23. .

以上説明したように、本実施形態に係る光学的情報読取装置10では、第1光源群22を構成する各光源22a,22b,22cと、第2光源群23を構成する各光源23a,23b,23cとは、互いの照射方向が異なるようにそれぞれ配置されることから光の当て方が異なるため、第1光源群22による第1照射状態と第2光源群23による第2照射状態との照射方向が異なるので、照射状態の変更を確実かつ容易に実施することができる。   As described above, in the optical information reading apparatus 10 according to the present embodiment, the light sources 22a, 22b, and 22c that constitute the first light source group 22, and the light sources 23a, 23b that constitute the second light source group 23, and the like. 23c is arranged in such a manner that the irradiation directions are different from each other, and therefore the light application method is different. Therefore, irradiation between the first irradiation state by the first light source group 22 and the second irradiation state by the second light source group 23 is performed. Since the directions are different, the irradiation state can be changed reliably and easily.

[第3実施形態]
次に、本発明の第3実施形態に係る光学的情報読取装置10について図7を参照して説明する。図7は、第3実施形態における照明光源21bによる照射状態を示す説明図であり、図7(A)は第1照射状態を示し、図7(B)は第2照射状態を示す。
本第2実施形態に係る光学的情報読取装置10では、上述した照明光源21に代えて照明光源21bを採用する点が、上記第1実施形態に係る光学的情報読取装置と主に異なる。したがって、上述した第1実施形態の光学的情報読取装置と実質的に同一の構成部分には同一符号を付し、説明を省略する。
[Third Embodiment]
Next, an optical information reading apparatus 10 according to a third embodiment of the present invention will be described with reference to FIG. FIG. 7 is an explanatory diagram showing an irradiation state by the illumination light source 21b in the third embodiment, FIG. 7 (A) shows a first irradiation state, and FIG. 7 (B) shows a second irradiation state.
The optical information reader 10 according to the second embodiment is mainly different from the optical information reader according to the first embodiment in that an illumination light source 21b is used instead of the illumination light source 21 described above. Therefore, substantially the same components as those of the optical information reading apparatus of the first embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

図7(A),(B)に示すように、照明光源21bは、第1光源群22を構成する2つの光源22d,22eと、第2光源群23を構成する2つの光源23d,23eとを備えており、一直線上であって、中央側に光源22d,22eが配置されるとともに端部側に光源23d,23eが配置されるように構成されている。特に、各光源22d,22e,23d,23eは、端部側に位置する光源ほどその照射方向が中央側に向かうように傾斜して配置されている。   As shown in FIGS. 7A and 7B, the illumination light source 21b includes two light sources 22d and 22e constituting the first light source group 22, and two light sources 23d and 23e constituting the second light source group 23. The light sources 22d and 22e are arranged on the center side and the light sources 23d and 23e are arranged on the end side. In particular, each of the light sources 22d, 22e, 23d, and 23e is arranged so as to be inclined such that the light source located at the end side is directed toward the center.

これにより、照明光源21bは、図7(A)に示すように、第1光源群22を構成する各光源22d,22eから照明光L1が照射される第1照射状態と、図7(B)に示すように、第2光源群23を構成する各光源23d,23eから照明光L2が照射される第2照射状態との、異なる2種類の照射状態を照射可能に構成される。   Thereby, as shown in FIG. 7A, the illumination light source 21b has a first irradiation state in which the illumination light L1 is emitted from each of the light sources 22d and 22e constituting the first light source group 22, and FIG. 7B. As shown in FIG. 2, the light source 23d and the light source 23e constituting the second light source group 23 are configured to be able to irradiate two different irradiation states, which are different from the second irradiation state in which the illumination light L2 is irradiated.

以上説明したように、本実施形態に係る光学的情報読取装置10では、照明光源21bを構成する各光源22d,22e,23d,23eは、一直線上であって、端部側に位置する光源ほどその照射方向が中央側に向かうように傾斜して配置されるため、各光源を一直線上に配置する場合であっても、少ない個数の光源でより広い領域を照射することができる。これにより、各光源22d,22e,23d,23eが一直線上に配置される配置方向の長さを短くすることができ、これら各光源22d,22e,23d,23eを有する照明光源21bの省スペース化を図ることができる。   As described above, in the optical information reading apparatus 10 according to the present embodiment, each of the light sources 22d, 22e, 23d, and 23e constituting the illumination light source 21b is on a straight line and is closer to the end side. Since the irradiation direction is arranged so as to be inclined toward the center, even if each light source is arranged on a straight line, a wider area can be irradiated with a small number of light sources. Thereby, the length of the arrangement direction in which the light sources 22d, 22e, 23d, and 23e are arranged in a straight line can be shortened, and the space-saving of the illumination light source 21b having the light sources 22d, 22e, 23d, and 23e can be reduced. Can be achieved.

[第4実施形態]
次に、本発明の第4実施形態に係る光学的情報読取装置10について図8を参照して説明する。図8は、第4実施形態における読取処理の流れを例示するフローチャートである。
本第4実施形態に係る光学的情報読取装置10では、上述した読取処理について図5に示すフローチャートに代えて図8に示すフローチャートに基づいて演算処理している点が、上記第1実施形態に係る光学的情報読取装置と主に異なる。したがって、上述した第1実施形態の光学的情報読取装置と実質的に同一の構成部分には同一符号を付し、説明を省略する。
[Fourth Embodiment]
Next, an optical information reading apparatus 10 according to a fourth embodiment of the present invention will be described with reference to FIG. FIG. 8 is a flowchart illustrating the flow of reading processing according to the fourth embodiment.
In the optical information reading apparatus 10 according to the fourth embodiment, the above-described reading processing is calculated based on the flowchart shown in FIG. 8 instead of the flowchart shown in FIG. Mainly different from such an optical information reader. Therefore, substantially the same components as those of the optical information reading apparatus of the first embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

本実施形態に係る光学的情報読取装置10では、モード切替スイッチが設けられており、読取処理を開始する前にこのモード切替スイッチを操作することで、上記読取処理において、照射状態変更モードと通常モードとのいずれかのモードに切り替えられるように構成される。ここで、照射状態変更モードは、上述したステップS119に示す判定処理により比較された両デコード結果が一致する場合にこのデコード結果を出力するモードである。また、通常モードは、同じ情報コードについて照射状態を変更することなくそれぞれデコードされたデコード結果が一致する場合にこのデコード結果を出力するモードである。   In the optical information reading apparatus 10 according to the present embodiment, a mode change switch is provided. By operating this mode change switch before starting the reading process, in the reading process, the irradiation state change mode and the normal mode are changed. It is configured to be switched to any mode. Here, the irradiation state change mode is a mode in which the decoding result is output when the two decoding results compared by the determination processing shown in step S119 described above match. The normal mode is a mode in which the decoded result is output when the decoded results match without changing the irradiation state for the same information code.

以下、本第4実施形態における読取処理について、図8のフローチャートを用いて説明する。
本実施形態では、使用者がトリガースイッチ42のオン操作等を行うことで、制御回路40により図8に示す読取処理が開始されると、ステップS201に示す判定処理がなされ、照射状態変更モードが選択されているか否かについて判定される。ここで、モード切替スイッチが照射状態変更モードを選択するように操作されている場合には(S201でYes)、上述した第1実施形態と同様に、ステップS101以降の処理がなされる。
Hereinafter, the reading process according to the fourth embodiment will be described with reference to the flowchart of FIG.
In the present embodiment, when the reading operation shown in FIG. 8 is started by the control circuit 40 by the user turning on the trigger switch 42, the determination process shown in step S201 is performed, and the irradiation state change mode is set. It is determined whether or not it is selected. Here, when the mode changeover switch is operated so as to select the irradiation state change mode (Yes in S201), the processing after Step S101 is performed as in the first embodiment described above.

一方、モード切替スイッチが通常モードを選択するように操作されている場合には(S201でNo)、ステップS203に示す全照射処理がなされ、第1光源群22を構成する各光源22a,22b,22cと第2光源群23を構成する各光源23a,23b,23cとの全ての光源から照明光が照射される。なお、モード切替スイッチおよびステップS201に示す判定処理を実行する制御回路40は、特許請求の範囲に記載の「モード切替手段」の一例に相当し得る。   On the other hand, when the mode changeover switch is operated so as to select the normal mode (No in S201), all the irradiation processes shown in Step S203 are performed, and the light sources 22a, 22b, Illumination light is irradiated from all the light sources 22c and the respective light sources 23a, 23b, and 23c constituting the second light source group 23. Note that the mode changeover switch and the control circuit 40 that executes the determination process shown in step S201 may correspond to an example of a “mode changeover unit” recited in the claims.

このように全光源から照明光が照射された状態で、ステップS205に示す撮像処理およびステップS207に示すデコード処理が、ステップS103に示す撮像処理およびステップS105に示すデコード処理と同様になされ、デコードが成功すると(S209でYes)、ステップS211に示すデコード結果記憶処理がなされ、そのデコード結果が第1のデコード結果としてメモリ35に記憶される。   In this manner, with the illumination light irradiated from all the light sources, the imaging process shown in step S205 and the decoding process shown in step S207 are performed in the same manner as the imaging process shown in step S103 and the decoding process shown in step S105. If successful (Yes in S209), the decoding result storing process shown in step S211 is performed, and the decoding result is stored in the memory 35 as the first decoding result.

このように第1のデコード結果がメモリ35に記憶されると、照明光源21による照射状態を変更することなく、ステップS213に示す撮像処理およびステップS215に示すデコード処理が、ステップS113に示す撮像処理およびステップS115に示すデコード処理と同様になされる。そして、デコードが成功すると(S217でYes)、ステップS119に示す判定処理において、上記ステップS115に示すデコード処理にて得られたデコード結果(以下、第2のデコード結果という)と、メモリ35に記憶される第1のデコード結果とが一致するか否かについて判定される。   When the first decoding result is stored in the memory 35 in this way, the imaging process shown in step S213 and the decoding process shown in step S215 are performed in the imaging process shown in step S113 without changing the irradiation state by the illumination light source 21. And the same processing as the decoding process shown in step S115 is performed. When the decoding is successful (Yes in S217), the decoding result obtained in the decoding process shown in Step S115 (hereinafter referred to as the second decoding result) is stored in the memory 35 in the determination process shown in Step S119. It is determined whether or not the first decoded result matches.

ここで、同一のバーコードについて、第2のデコード結果と第1のデコード結果とが一致する場合には(S219でYes)、ステップS121に示す出力処理がなされて、一致するデコード結果が出力される。一方、両デコード結果が異なることから、ステップS219にてNoと判定される場合には、ステップS121に示す出力処理を実施することなく、上記ステップS201からの処理が実施される。   Here, for the same barcode, when the second decoding result and the first decoding result match (Yes in S219), the output processing shown in step S121 is performed, and the matching decoding result is output. The On the other hand, since the decoding results are different, if it is determined No in step S219, the processing from step S201 is performed without performing the output processing shown in step S121.

以上説明したように、本実施形態に係る光学的情報読取装置10では、モード切替スイッチの操作に応じて、照射状態変更モードと通常モードとのいずれかのモードに切り替えられる。   As described above, in the optical information reading apparatus 10 according to the present embodiment, the mode is switched to either the irradiation state change mode or the normal mode according to the operation of the mode switch.

上述した通常モードでは、全ての光源22a,22b,22c,23a,23b,23cを使用して照明光をバーコードに照射できるので、一部の光源を使用して照明光をバーコードに照射する場合と比較して、読み取り成功率が向上して読取作業性が向上する場合がある。そこで、読取作業性よりも誤読防止を重視する場合には、照射状態変更モードに切り替え、誤読防止よりも読取作業性を重視する場合には、通常モードに切り替えることで、作業者が重視する作業環境に応じたモードを選択することができる。   In the normal mode described above, the illumination light can be applied to the barcode using all of the light sources 22a, 22b, 22c, 23a, 23b, and 23c. Therefore, the illumination light is applied to the barcode using a part of the light sources. As compared with the case, the reading success rate may be improved and the reading workability may be improved. Therefore, when emphasizing prevention of misreading over reading workability, switch to the irradiation state change mode, and when emphasizing reading workability over prevention of misreading, switch to the normal mode so A mode can be selected according to the environment.

なお、本実施形態では、照射状態変更モードと通常モードとのいずれかのモードに切り替えるモード切替手段として、モード切替スイッチを採用しているが、これに限らず、情報を操作入力するための操作部や外部装置から入力される情報に応じてステップS201における判定処理にて判定することで、照射状態変更モードと通常モードとのいずれかのモードに切り替えるように構成されてもよい。   In the present embodiment, the mode changeover switch is used as the mode changeover means for switching between the irradiation state change mode and the normal mode. However, the present invention is not limited to this, and an operation for inputting information is operated. It may be configured to switch to either the irradiation state change mode or the normal mode by making a determination in the determination process in step S201 according to information input from the unit or the external device.

なお、本発明は上記各実施形態および変形例に限定されるものではなく、以下のように具体化してもよい。
(1)受光センサ28は、受光素子を一方向に並べて配列した一次元センサから構成されることに限らず、受光素子を2次元に配列したエリアセンサから構成されても、同一のバーコードに対する各デコード結果を比較してデコードの成否を判断する場合における誤読を抑制することができる。
In addition, this invention is not limited to said each embodiment and modification, You may actualize as follows.
(1) The light receiving sensor 28 is not limited to the one-dimensional sensor in which the light receiving elements are arranged in one direction, and even if the light receiving sensor 28 is composed of an area sensor in which the light receiving elements are two-dimensionally arranged, It is possible to suppress misreading when comparing the decoding results to determine the success or failure of the decoding.

(2)照明光源21,21a,21bは、第1光源群22から照明光が照射される照射状態と第2光源群23から照明光が照射される照射状態とを切り替えることで、第1照射状態と第2照射状態とを変更するように構成されることに限らず、各光源のうち少なくとも1つの照射方向をアクチュエータ等で変更することで、第1照射状態と第2照射状態とを変更するように構成されてもよい。 (2) The illumination light sources 21, 21 a, and 21 b perform the first irradiation by switching between the irradiation state in which the illumination light is irradiated from the first light source group 22 and the irradiation state in which the illumination light is irradiated from the second light source group 23. The first irradiation state and the second irradiation state are changed by changing at least one irradiation direction of each light source with an actuator or the like, not limited to being configured to change the state and the second irradiation state. It may be configured to.

10…光学的情報読取装置
21,21a,21b…照明光源(照明手段)
22…第1光源群
22a,22b,22c,22d,22e…光源
23…第2光源群
23a,23b,23c,23d,23e…光源
28…受光センサ(受光手段)
40…制御回路(デコード手段,出力手段,照射状態変更手段,比較手段,モード切替手段)
L1,L2…照明光
DESCRIPTION OF SYMBOLS 10 ... Optical information reader 21,21a, 21b ... Illumination light source (illumination means)
22 ... 1st light source group 22a, 22b, 22c, 22d, 22e ... Light source 23 ... 2nd light source group 23a, 23b, 23c, 23d, 23e ... Light source 28 ... Light receiving sensor (light receiving means)
40 ... Control circuit (decoding means, output means, irradiation state changing means, comparison means, mode switching means)
L1, L2 ... Illumination light

Claims (4)

情報コードに対して照明光を照射する照明手段と、
前記情報コードからの反射光を受光する受光手段と、
前記受光手段から出力される受光信号に基づいて前記情報コードをデコードするデコード手段と、
前記デコード手段によるデコード結果を出力可能な出力手段と、
を備える光学的情報読取装置であって、
前記照明手段は、複数の光源を備えており、
前記照明手段の各光源のうち少なくとも1つの照射方向を変更することで前記照明光の前記情報コードに対する照射状態を変更可能な照射状態変更手段と、
前記情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段により第1のデコード結果がデコードされると、この情報コードに対して前記照射状態変更手段により照射方向が変更された状態で当該情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段によりデコードされる第2のデコード結果と前記第1のデコード結果とを比較する比較手段と、
を備え、
前記出力手段は、前記比較手段により比較された両デコード結果が一致する場合にこのデコード結果を出力することを特徴とする光学的情報読取装置。
An illumination means for illuminating the information code with illumination light;
A light receiving means for receiving reflected light from the information code;
Decoding means for decoding the information code based on a light receiving signal output from the light receiving means;
Output means capable of outputting a decoding result by the decoding means;
An optical information reader comprising:
The illumination unit includes a plurality of light sources,
An irradiation state changing unit capable of changing an irradiation state of the illumination light with respect to the information code by changing an irradiation direction of at least one of the light sources of the illumination unit;
When the first decoding result is decoded by the decoding unit based on the light reception signal output from the light receiving unit that has received the reflected light from the information code, the irradiation state changing unit irradiates the information code. The second decoding result and the first decoding result decoded by the decoding unit based on the light receiving signal output from the light receiving unit that has received the reflected light from the information code in a state where the direction is changed. A comparison means for comparing;
With
The optical information reading apparatus according to claim 1, wherein the output means outputs the decoding result when both decoding results compared by the comparing means match.
情報コードに対して照明光を照射する照明手段と、
前記情報コードからの反射光を受光する受光手段と、
前記受光手段から出力される受光信号に基づいて前記情報コードをデコードするデコード手段と、
前記デコード手段によるデコード結果を出力可能な出力手段と、
を備える光学的情報読取装置であって、
前記照明手段から照射される前記照明光の前記情報コードに対する照射状態を変更可能な照射状態変更手段と、
前記情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段により第1のデコード結果がデコードされると、この情報コードに対して前記照射状態変更手段により照射状態が変更された状態で当該情報コードからの反射光を受光した前記受光手段から出力される受光信号に基づいて前記デコード手段によりデコードされる第2のデコード結果と前記第1のデコード結果とを比較する比較手段と、
を備え、
前記出力手段は、前記比較手段により比較された両デコード結果が一致する場合にこのデコード結果を出力し、
前記照明手段は、複数の光源を備えており、
前記照射状態変更手段は、前記複数の光源に対し、一つおきに交互に点灯状態および消灯状態のいずれかに変更することで、前記照明手段における照射位置を変更することを特徴とする光学的情報読取装置。
An illumination means for illuminating the information code with illumination light;
A light receiving means for receiving reflected light from the information code;
Decoding means for decoding the information code based on a light receiving signal output from the light receiving means;
Output means capable of outputting a decoding result by the decoding means;
An optical information reader comprising:
An irradiation state changing means capable of changing an irradiation state of the illumination light irradiated from the illumination means with respect to the information code;
When the first decoding result is decoded by the decoding unit based on the light reception signal output from the light receiving unit that has received the reflected light from the information code, the irradiation state changing unit irradiates the information code. The second decoding result and the first decoding result decoded by the decoding unit based on the light receiving signal output from the light receiving unit that has received the reflected light from the information code in a state changed. A comparison means for comparing;
With
The output means outputs the decoding result when both decoding results compared by the comparing means match,
The illumination unit includes a plurality of light sources,
The irradiating state changing means, said plurality of light sources with respect to, by changing to one of the alternating lighting state and off state every other, you and changing the irradiation position of the illumination means light Scientific information reader.
前記比較手段により比較された両デコード結果が一致する場合にこのデコード結果を前記出力手段により出力する照射状態変更モードと、全ての前記光源から照明光が照射された状態で情報コードについて前記デコード手段によりデコードしたデコード結果とこのデコード後に前記照射状態変更手段により前記照射位置を変更することなく同じ情報コードについて前記デコード手段によりデコードしたデコード結果とが一致する場合にこのデコード結果を前記出力手段により出力する通常モードと、のいずれかのモードに切り替え可能なモード切替手段を備えることを特徴とする請求項2に記載の光学的情報読取装置。 An irradiation state change mode for outputting the decoding result by the output means when both decoding results compared by the comparison means match, and the decoding means for the information code in a state in which illumination light is irradiated from all the light sources When the decoding result decoded by the decoding means matches the decoding result decoded by the decoding means for the same information code without changing the irradiation position by the irradiation state changing means after the decoding, the decoding result is output by the output means. The optical information reading apparatus according to claim 2, further comprising a mode switching unit capable of switching to any one of a normal mode and a normal mode . 前記受光手段は、受光素子が一方向に並ぶ一次元センサからなることを特徴とする請求項1〜3のいずれか一項に記載の光学的情報読取装置。 The optical information reading apparatus according to claim 1 , wherein the light receiving unit includes a one-dimensional sensor in which light receiving elements are arranged in one direction .
JP2011180254A 2011-08-22 2011-08-22 Optical information reader Active JP5765136B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011180254A JP5765136B2 (en) 2011-08-22 2011-08-22 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011180254A JP5765136B2 (en) 2011-08-22 2011-08-22 Optical information reader

Publications (2)

Publication Number Publication Date
JP2013045128A JP2013045128A (en) 2013-03-04
JP5765136B2 true JP5765136B2 (en) 2015-08-19

Family

ID=48009022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011180254A Active JP5765136B2 (en) 2011-08-22 2011-08-22 Optical information reader

Country Status (1)

Country Link
JP (1) JP5765136B2 (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235292A (en) * 1995-02-23 1996-09-13 Casio Comput Co Ltd Reader
JP3228197B2 (en) * 1997-10-15 2001-11-12 株式会社デンソー Optical information reader and recording medium
JPH11312211A (en) * 1998-04-30 1999-11-09 Toshiba Tec Corp Symbol reader
JP2006065679A (en) * 2004-08-27 2006-03-09 Toshiba Corp Luminescence pattern reader and luminescence pattern reading method
US7204420B2 (en) * 2004-08-31 2007-04-17 Symbol Technologies, Inc. Scanner and method for eliminating specular reflection
JP2007115385A (en) * 2005-09-20 2007-05-10 Sony Corp Hologram reproducing device, and method therefor
JP4325602B2 (en) * 2005-09-21 2009-09-02 株式会社デンソーウェーブ Optical information reader
JP4572871B2 (en) * 2006-05-29 2010-11-04 株式会社デンソーウェーブ Optical information reader
JP4306741B2 (en) * 2006-07-20 2009-08-05 株式会社デンソーウェーブ Optical information reader
JP5233276B2 (en) * 2007-12-21 2013-07-10 カシオ計算機株式会社 Bar code reader and program

Also Published As

Publication number Publication date
JP2013045128A (en) 2013-03-04

Similar Documents

Publication Publication Date Title
JP2006227796A (en) Barcode reading method, barcode reader, and computer program
JP4968093B2 (en) Optical information reader
JP6624318B2 (en) Optical information reader
JP4325602B2 (en) Optical information reader
JP2010086182A (en) Optical information reader
JP6361265B2 (en) Information code reader
JP2019071018A (en) Optical information reader and optical information reading method
JP5765136B2 (en) Optical information reader
JP4175358B2 (en) Optical information reader
JP2005122355A (en) Optical information reader
JP2009076031A (en) Optical information reader
JP5104713B2 (en) Optical information reader
JP4650138B2 (en) Optical information reader
JP5195264B2 (en) Bar code reading method and bar code reading apparatus
JP2011008574A (en) Optical information reader
JP6398809B2 (en) Information code reader
JP5152086B2 (en) Bar code reading method and bar code reading apparatus
JP5056627B2 (en) Optical information reader
JP2005085214A (en) Optical information reader
JP2006134160A (en) Optical information reading device
JP5115131B2 (en) Optical information reader
JP2014157451A (en) Optical information reader
JP2008282069A (en) Optical information reading device
JP2010066956A (en) Optical information reading device
JP6531572B2 (en) Optical information reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150421

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150519

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150601

R150 Certificate of patent or registration of utility model

Ref document number: 5765136

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250