JP2016045647A - Information code reading device - Google Patents
Information code reading device Download PDFInfo
- Publication number
- JP2016045647A JP2016045647A JP2014168656A JP2014168656A JP2016045647A JP 2016045647 A JP2016045647 A JP 2016045647A JP 2014168656 A JP2014168656 A JP 2014168656A JP 2014168656 A JP2014168656 A JP 2014168656A JP 2016045647 A JP2016045647 A JP 2016045647A
- Authority
- JP
- Japan
- Prior art keywords
- information code
- light
- posture
- control unit
- reading device
- 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
Links
Images
Abstract
Description
本明細書で開示する技術は、情報コード読取装置に関する。 The technology disclosed in this specification relates to an information code reader.
特許文献1は、光を照射する照明部と、照明部から照射された光の反射光を受光する受光部と、照明部から対象物であるバーコードまでの距離を測定する距離センサと、受光部によって受光された反射光に基づいてバーコードに記録されたデータを読み取る制御部を備えるバーコードスキャナを開示する。制御部は、距離センサが所定距離内で対象物を検知したとき、照明部の発光強度を、バーコードの読取が可能な強度に調整する。 Patent Document 1 discloses an illumination unit that emits light, a light receiving unit that receives reflected light of light emitted from the illumination unit, a distance sensor that measures a distance from the illumination unit to a barcode that is an object, and a light receiving unit. Disclosed is a barcode scanner including a control unit that reads data recorded in a barcode based on reflected light received by the unit. When the distance sensor detects an object within a predetermined distance, the control unit adjusts the light emission intensity of the illumination unit to an intensity at which the barcode can be read.
特許文献1のバーコードスキャナでは、バーコードスキャナの姿勢(即ち、照明部の向き)によって、照明部から照射される光がユーザや周囲の人の目に入り、ユーザや周囲の人に不快感を与えるおそれもある。 In the barcode scanner disclosed in Patent Document 1, depending on the orientation of the barcode scanner (that is, the direction of the illumination unit), the light emitted from the illumination unit enters the eyes of the user and the surrounding people, causing discomfort to the user and the surrounding people. There is also a risk of giving.
本明細書では、従来の技術に比べて、照明部から照射される光がユーザや周囲の人の目に入る事態の発生を抑制できる技術を提供する。 In this specification, compared with the conventional technique, the technique which can suppress generation | occurrence | production of the situation where the light irradiated from an illumination part enters into a user's or the surrounding person's eyes is provided.
本明細書が開示する情報コード読取装置は、読取対象の情報コードに光を照射する照明部と、情報コードからの反射光を受光する受光部と、情報コード読取装置の姿勢を検出可能なセンサと、読取指示が入力された場合に、センサが検出する情報コード読取装置の姿勢が予め定められた禁止姿勢でないときは、照明部から光を照射させ、受光部によって受光される反射光に基づいて、情報コードに記録されているデータを読み取る一方、センサが検出する情報コード読取装置の姿勢が禁止姿勢であるときは、照明部に光を照射させない、制御部と、を備える。 An information code reading device disclosed in this specification includes an illumination unit that irradiates light to an information code to be read, a light receiving unit that receives reflected light from the information code, and a sensor that can detect the attitude of the information code reading device. When the reading instruction is input, if the posture of the information code reading device detected by the sensor is not a predetermined prohibited posture, light is emitted from the illumination unit and is based on the reflected light received by the light receiving unit. And a control unit that reads data recorded in the information code and does not irradiate the illumination unit with light when the posture of the information code reading device detected by the sensor is a prohibited posture.
この構成によると、情報コード読取装置は、読取指示が入力された場合に、情報コード読取装置が禁止姿勢であるときは、照明部に光を照射させない。そのため、予め禁止姿勢を適切に設定しておくことにより、情報コード読取装置の姿勢に関わらず照明部から光を照射する従来の技術と比較して、照明部から照射される光がユーザや周囲の人の目に入る事態の発生を抑制することができる。 According to this configuration, the information code reading device does not irradiate the illumination unit with light when the reading instruction is input and the information code reading device is in the prohibited posture. Therefore, by appropriately setting the prohibited posture in advance, the light emitted from the illuminating unit can be radiated by the user or the surroundings as compared to the conventional technique of irradiating light from the illuminating unit regardless of the posture of the information code reader. The occurrence of a situation that falls into the eyes of a person can be suppressed.
以下に説明する実施例の主要な特徴を列記しておく。なお、以下に示す技術要素は、それぞれ独立した技術要素であって、単独であるいは各種の組み合わせによって技術的有用性を発揮するものであり、出願時請求項記載の組み合わせに限定されるものではない。 The main features of the embodiments described below are listed. In addition, the technical elements shown below are independent technical elements and exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. .
(特徴1)センサは、さらに、情報コード読取装置の運動状態を検出可能であってもよい。制御部は、さらに、読取指示が入力されたときに、センサが検出する情報コード読取装置の運動状態が予め設定された運動状態である場合には、照明部から光を照射させなくてもよい。 (Feature 1) The sensor may further be able to detect the motion state of the information code reader. Furthermore, the control unit may not emit light from the illumination unit when the movement state of the information code reader detected by the sensor when the reading instruction is input is a preset movement state. .
この構成によると、情報コード読取装置は、読取指示が入力された場合に、情報コード読取装置の運動状態が予め設定された運動状態である場合にも、照明部に光を照射させない。情報コード読取装置の運動状態に関わらず照明部に光を照射させる従来の技術と比較して、照明部から照射される光がユーザや周囲の人の目に入る事態の発生を適切に抑制することができる。 According to this configuration, when the reading instruction is input, the information code reading device does not irradiate the illumination unit with light even when the movement state of the information code reading device is a preset movement state. Compared to the conventional technology that irradiates the illumination unit with light regardless of the movement state of the information code reader, the occurrence of a situation where the light emitted from the illumination unit enters the eyes of the user or the surrounding people is appropriately suppressed. be able to.
(特徴2)制御部は、読取指示が入力された場合に、センサが検出する情報コード読取装置の姿勢が禁止姿勢とは異なる制限姿勢であるときは、当該制限姿勢に対応する設定発光量で照明部から光を照射させてもよい。 (Characteristic 2) When the reading instruction is input, if the posture of the information code reader detected by the sensor is a restricted posture different from the prohibited posture, the control unit uses a set light emission amount corresponding to the restricted posture. You may irradiate light from an illumination part.
この構成によると、情報コード読取装置は、読取指示が入力された際に、情報コード読取装置が制限姿勢であるときは、当該制限姿勢に対応する設定発光量で照明部から光を照射させる。そのため、予め制限姿勢及び設定発光量を適切に決定しておくことにより、情報コード読取装置の姿勢に応じた発光量で照明部から光を照射させることができる。 According to this configuration, when the reading instruction is input, when the information code reading device is in the restriction posture, the information code reading device irradiates light from the illumination unit with the set light emission amount corresponding to the restriction posture. Therefore, by appropriately determining the restriction posture and the set light emission amount in advance, it is possible to irradiate light from the illumination unit with the light emission amount corresponding to the posture of the information code reader.
(特徴3)制御部は、読取指示が入力された場合に、センサが検出する情報コード読取装置の姿勢が制限姿勢と禁止姿勢のどちらでもないときに、特定発光量で照明部から光を照射させてもよい。 (Characteristic 3) When a reading instruction is input, the control unit emits light from the illumination unit with a specific light emission amount when the posture of the information code reader detected by the sensor is neither the restricted posture nor the prohibited posture. You may let them.
この構成によると、情報コード読取装置は、読取指示が入力された場合に、情報コード読取装置が制限姿勢と禁止姿勢のどちらでもないときは、特定発光量で照明部から光を照射させる。情報コード読取装置の姿勢に応じた発光量で照明部から光を照射させることができる。 According to this configuration, when the reading instruction is input, the information code reading device irradiates light from the illumination unit with the specific light emission amount when the information code reading device is neither in the restricted posture or the prohibited posture. Light can be emitted from the illumination unit with a light emission amount corresponding to the posture of the information code reader.
(特徴4)情報コード読取装置はメモリをさらに備えてもよい。制御部は、第1の登録指示が入力される場合に、禁止姿勢をメモリに登録させることができてもよい。 (Feature 4) The information code reader may further include a memory. The control unit may be able to register the prohibited posture in the memory when the first registration instruction is input.
この構成によると、情報コード読取装置は、第1の登録指示の入力に応じて、所望の姿勢を禁止姿勢としてメモリに登録させることができる。使用実態に応じた禁止姿勢を適切に登録しておくことができる。 According to this configuration, the information code reader can register a desired posture in the memory as a prohibited posture in response to the input of the first registration instruction. It is possible to properly register a prohibited posture according to the actual usage.
(特徴5)制御部は、さらに、第2の登録指示が入力される場合に、禁止姿勢とは異なる制限姿勢と、制限姿勢に対応する設定発光量とを対応付けてメモリに登録させることができてもよい。制御部は、情報コード読取指示が入力された場合に、センサが禁止姿勢とは異なる制限姿勢を検出するときは、当該制限姿勢に対応する設定発光量で照明部から光を照射させてもよい。 (Characteristic 5) When the second registration instruction is input, the control unit may further cause the restriction posture different from the prohibited posture and the set light emission amount corresponding to the restriction posture to be associated with each other and registered in the memory. It may be possible. When the information code reading instruction is input and the sensor detects a restricted posture different from the prohibited posture, the control unit may cause the illumination unit to emit light with a set light emission amount corresponding to the restricted posture. .
この構成によると、情報コード読取装置は、第2の登録指示の入力に応じて、所望の姿勢を制限姿勢とし、所望の発光量を制限発光量として、メモリに登録させることができる。使用実態に応じた制限姿勢及び制限発光量を適切に登録しておくことができる。 According to this configuration, the information code reader can register the desired posture as the restricted posture and the desired light emission amount as the restricted light emission amount in the memory in response to the input of the second registration instruction. It is possible to appropriately register the restricted posture and the restricted light emission amount according to the actual usage.
(特徴6)制御部は、読取指示が入力され、照明部から光を照射させた場合に、データの読み取りに失敗すると、照明部から照射される光の発光量を増加させてもよい。 (Characteristic 6) When a reading instruction is input and light is emitted from the illumination unit, the control unit may increase the amount of light emitted from the illumination unit if data reading fails.
この構成によると、情報コード読取装置は、データの読み取りに失敗する場合に、適切な発光量で照明部から光を照射することができる。そのため、情報コード読取装置は、データの読み取りを適切に行うことができる。 According to this configuration, the information code reading device can irradiate light from the illumination unit with an appropriate light emission amount when data reading fails. Therefore, the information code reading device can appropriately read data.
(特徴7)制御部は、読取指示が入力され、照明部から光を照射させた場合に、データの読み取りに失敗し、かつ、受光部が受光した反射光に基づいて、照明部の光の照射対象が情報コードであると判断されると、照明部から照射される光の発光量を増加させてもよい。 (Characteristic 7) When the reading instruction is input and the illumination unit emits light, the control unit fails to read the data, and based on the reflected light received by the light receiving unit, the light of the illumination unit If it is determined that the irradiation target is an information code, the amount of light emitted from the illumination unit may be increased.
この構成によると、情報コード読取装置は、データの読み取りに失敗する場合に、光の照射対象が情報コードであるか否かに応じて、適切な発光量で照明部から光を照射することができる。そのため、情報コード読取装置は、データの読み取りを適切に行うことができる。 According to this configuration, the information code reader can irradiate light from the illumination unit with an appropriate light emission amount depending on whether or not the light irradiation target is an information code when data reading fails. it can. Therefore, the information code reading device can appropriately read data.
(第1実施例)
(情報コード読取装置10の構成;図1、図2)
図1に示す情報コード読取装置10は、バーコード、二次元コード等の情報コードを読取可能な装置である。情報コード読取装置10は、筐体11と、表示部12と、読取操作キー14aと、複数の情報入力キー14bとを有する。以下、読取操作キー14aと情報入力キー14bとをあわせて操作部14と呼ぶ場合がある。図2に示すように、筐体11には、照明部16と、受光部18と、センサ20と、制御部22と、メモリ24とが内蔵されている。
(First embodiment)
(Configuration of
An
筐体11は、情報コード読取装置10の本体を構成する部品である。表示部12は、筐体11の上面に設けられている。表示部12は、様々な情報を表示するためのディスプレイである。読取操作キー14aは、情報コードの読み取り指示を入力するための操作ボタンである。読取操作キー14aは、筐体11の側面に設けられている。ユーザは、後述の読取処理(図4)を実行する場合に読取操作キー14aを操作する。情報入力キー14bは、情報コード読取装置10に様々な指示や情報を入力するためのキーである。情報入力キー14bは、筐体11の上面に設けられている。ユーザは、後述の登録処理(図3)を実行する場合に情報入力キー14bを操作する。
The
照明部16は、読取対象の情報コード30に対して光を照射する。照明部16から照射された光は、筐体11の下部に設けられている透明板17を透過して、情報コード30に照射される。照明部16は、レーザ光を照射するレーザ照明部と、読取範囲を照明するLED照明部とを有する。変形例では、照明部16は、レーザ照明部と、LED照明部とのうち一方のみを有していてもよい。
The
受光部18は、情報コード30からの反射光を受光する。上記の照明部16から照射された光の少なくとも一部は、情報コード30によって反射される。情報コード30からの反射光は、透明板17を透過して、受光部18によって受光される。
The
センサ20は、3軸加速度センサである。センサ20は、X,Y,Zの3軸の加速度を検出する。センサ20の検出値を用いて、制御部22は、情報コード読取装置10の姿勢、及び、運動状態を特定することができる。
The
制御部22は、メモリ24に記憶されているプログラムに従って様々な処理を実行する。制御部22が実行する処理の内容は後で詳しく説明する。
The
メモリ24は、様々なプログラムを記憶している。また、メモリ24は、制御部22の処理(後述の登録処理(図3)、読取処理(図4))に伴って生成される様々な情報を記憶する領域も有している。
The
(登録処理;図3)
図3を参照して、本実施例の制御部22が実行する登録処理について説明する。ユーザは、操作部14(詳細には情報入力キー14b)を操作して、所定の登録開始操作を入力する。登録開始操作が入力されると、制御部22は、図3の登録処理を開始する。
(Registration process; Fig. 3)
With reference to FIG. 3, the registration process which the
S10では、制御部22は、センサ20の検出値の監視を開始する。同時に、制御部22は、センサ20の検出値に基づいて、S10の時点における情報コード読取装置10(詳細には筐体11)の姿勢を算出する。具体的には、制御部22は、センサ20の検出値(即ち、X軸、Y軸、Z軸の各軸方向の加速度)に基づいて、重力方向を0°とした場合のX軸、Y軸、Z軸の傾斜角(θx、θy、θz)を算出し、それらの傾斜角に基づいて、S10の時点における情報コード読取装置10の姿勢(即ち、水平面に対する傾き)を算出する。
In S <b> 10, the
続くS12では、制御部22は、所定時間t1(例えば3秒)以内に、情報コード読取装置10の姿勢が所定の許容範囲を超えて変化したか否かを判断する。制御部22は、S10でセンサ20の検出値の監視を開始してから所定時間t1が経過する前に、センサ22の検出値が変化したことに伴い、S10の時点の情報コード読取装置10の姿勢が所定の許容範囲を超えて変化したと判断する場合、S12でYESと判断し、図3の登録処理をエラー終了する。この場合、制御部22は、表示部12に所定のエラーメッセージを表示する。S12でYESの場合(即ち、所定の登録開始操作が入力された時点の情報コード読取装置10の姿勢が、所定時間t1以内に大きく変化した場合)には、情報コード読取装置10の姿勢が安定しておらず、登録処理の継続に適していない。
In subsequent S12, the
一方、S10でセンサ20の検出値の監視を開始してから、S10の時点の情報コード読取装置10の姿勢が、所定の許容範囲を超えて変化することなく、所定時間t1が経過する場合、制御部22は、S12でNOと判断し、S14に進む。
On the other hand, after the monitoring of the detection value of the
S14では、制御部22は、この時点のセンサ20の検出値に基づいて特定される情報コード読取装置10の姿勢をメモリ24に登録する。S14の時点における情報コード読取装置10の姿勢の算出手法は、S10の時点における情報コード読取装置10の姿勢の算出手法と同様である。
In S <b> 14, the
次いで、S16では、制御部22は、所定の発光量設定画面を表示部12に表示させる。発光量設定画面には、S14で登録した姿勢に対応する照明部16の発光量の指定を要求するメッセージが表示される。ユーザは、操作部14を操作して、所望の発光量を指定することができる。この際、ユーザは、「0(OFF)」、「1(最小発光量)」〜「5(最大発光量)」の6段階の中から所望の発光量を選択して指定することができる。後で説明するように、制御部22は、読取処理(図4)において、S14で登録した姿勢で読取開始指示が行われる場合、発光量設定画面で指定された発光量で照明部16を発光させることができる(図4のS42〜S46参照)。
Next, in S16, the
S16で発光量設定画面を表示部12に表示させると、続くS18では、制御部22は、発光量が指定されることを監視する。ユーザによって所望の発光量が指定されると、制御部22は、S18でYESと判断し、S20に進む。
When the light emission amount setting screen is displayed on the
S20では、制御部22は、ユーザによって指定された発光量を、S14で登録した姿勢と対応付けてメモリ24に登録する。S20を終えると、制御部22は、図3の登録処理を終了する。この際、制御部22は、姿勢及び発光量の登録が完了したことを示すメッセージを表示部12に表示させる。
In S20, the
(読取処理;図4)
図4を参照して、本実施例の制御部22が実行する読取処理について説明する。ユーザは、操作部14を操作して(具体的には読取操作キー14aを押下して)、所定の読取開始操作を入力する。読取開始操作が入力されると、制御部22は、図4の読取処理を開始する。以下、図4の読取処理の実行中は、ユーザは、読取操作キー14aを継続して押下する。読取操作キー14aの押下が終了(中断)すると、制御部22は、読取処理の途中であっても読取処理を終了する。
(Reading process; FIG. 4)
With reference to FIG. 4, the reading process which the
S40では、制御部22は、センサ20の検出値の監視を開始する。同時に、制御部22は、センサ20の検出値に基づいて、S40の時点における情報コード読取装置10(詳細には筐体11)の姿勢を算出する。具体的には、制御部22は、センサ20の検出値に基づいて、重力方向を0°とした場合のX軸、Y軸、Z軸の傾斜角(θx、θy、θz)を算出し、それらの傾斜角に基づいて、S40の時点における情報コード読取装置10の姿勢(即ち、水平面に対する傾き)を算出する。
In S <b> 40, the
続くS42では、制御部22は、メモリ24を参照して、S40で算出された情報コード読取装置10の姿勢に、発光量「0(OFF)」が対応付けられているか否かを判断する。メモリ24内において、S40で算出された情報コード読取装置10の姿勢に発光量「0(OFF)」が対応付けられている場合、制御部22は、S42でYESと判断し、図4の読取処理をエラー終了する。この場合、制御部22は、照明部16を発光させない。また、制御部22は、表示部12に所定のエラーメッセージを表示する。
In subsequent S <b> 42, the
一方、メモリ24内において、S40で算出された情報コード読取装置10の姿勢に「0(OFF)」以外の発光量(即ち「1」〜「5」のいずれか)が対応付けられている場合、又は、S40で算出された情報コード読取装置10の姿勢に特定の発光量が対応付けられていない場合、制御部22は、S42でNOと判断し、S44に進む。
On the other hand, in the
S44では、制御部22は、所定時間t2(例えば0.5秒)以内に、情報コード読取装置10の姿勢が所定の許容範囲を超えて変化したか否かを判断する。制御部22は、S40でセンサ20の検出値の監視を開始してから所定時間t2が経過する前に、センサ22の検出値が変化したことに伴い、S40の時点の情報コード読取装置10の姿勢が所定の許容範囲を超えて変化したと判断する場合、S44でYESと判断し、図4の読取処理をエラー終了する。この場合、制御部22は、表示部12に所定のエラーメッセージを表示する。S44でYESの場合(即ち、所定の読取開始操作が入力された時点の情報コード読取装置10の姿勢が、所定時間t2以内に大きく変化した場合)には、情報コード読取装置10の姿勢が安定しておらず、読取処理の継続に適していない。
In S44, the
一方、S40でセンサ20の検出値の監視を開始してから、S40の時点の情報コード読取装置10の姿勢が、所定の許容範囲を超えて変化することなく、所定時間t2が経過する場合、制御部22は、S44でNOと判断し、S46に進む。
On the other hand, after the monitoring of the detection value of the
S46では、制御部22は、メモリ24を参照して、この時点のセンサ20の検出値に基づいて算出される情報コード読取装置10の姿勢に対応付けられている発光量を特定し、特定した発光量で照明部16を発光させる。S46の時点における情報コード読取装置10の姿勢の算出手法は、S40の時点における情報コード読取装置10の姿勢の算出手法と同様である。例えば、メモリ24内で、S46の時点の情報コード読取装置10の姿勢に対応付けられている発光量が「1」である場合、制御部22は、最小の発光量で照明部16を発光させる。また例えば、メモリ24内で、S46の時点の情報コード読取装置10の姿勢に対応付けられている発光量が「5」である場合、制御部22は、最大の発光量で照明部16を発光させる。また、メモリ24内で、S46の時点の情報コード読取装置10の姿勢に発光量が対応付けられていない場合には、制御部22は、予め定められている発光量(例えば、発光量「3」)で照明部16を発光させる。S46で照明部16が発光した光は、読取対象物に照射される。照明部16から読取対象物に照射された光の少なくとも一部は反射し、受光部18によって受光される。
In S <b> 46, the
続くS48では、制御部22は、受光部18が受光した光(即ち読取対象物からの反射光)に基づいて、データ読取を試行する。続くS50では、制御部22は、読み取り(即ち、デコード)に成功したか否かを判断する。照明部16の光が照射された読取対象物が情報コードである場合、制御部22は、受光部18が受光した光に基づいて、その情報コードに記録されているデータを読み取ることができる。この場合、制御部22は、S50でYESと判断し、図4の読取処理を終了する。この際、制御部22は、情報コードの読み取りに成功したことを示すメッセージを表示部12に表示することができる。ただし、読取対象物が情報コードである場合でも、制御部22は、受光部18が受光した光の量が不十分な場合などには、データを読み取れない場合もある。また、読取対象物が情報コードではなかった場合も、制御部22は、受光部18が受光した光に基づいてデータを読み取れない。この場合、制御部22は、S50でNOと判断し、S52に進む。
In subsequent S48, the
S52では、制御部22は、受光部18が受光した光に基づいて、照明部16の光が照射された読取対象物が情報コードであるか否かを判断する。制御部22は、受光部18が受光した光が、情報コード特有のパターン(例えば、黒白の連続パターン)に対応するパターンを示す場合に、S52でYESと判断し、S54に進む。一方、制御部22は、受光部18が受光した光が、情報コード特有のパターンに対応するパターンを示さない場合に、S52でNOと判断し、S48に戻る。この場合、戻った先のS48では、制御部22は、再度データ読取を試行する。
In S52, based on the light received by the
S54では、制御部22は、S46で特定した発光量を1段階上げた発光量で照明部16を発光させる。例えば、S46で特定した発光量が「1」である場合、S54では、制御部22は、発光量を「2」に増加させ、照明部16を発光させる。ただし、S54の時点で発光量が既に「5(最大値)」である場合、制御部22は、S54ではそれ以上発光量を上げない。S54を終えると、S48に戻り、制御部22は、再度データ読取を試行する。
In S54, the
本実施例では、図4のS42でYESの場合のように、制御部22は、読取開始操作が入力された場合において、センサ20の検出値に基づいて算出される情報コード読取装置10の姿勢に、発光量「0(OFF)」が対応付けられている場合には、照明部16から光を照射させない。一方、S42でNOの場合におけるS46のように、制御部22は、読取開始操作が入力された場合に、センサ20の検出値に基づいて特定される情報コード読取装置10の姿勢に、発光量「0(OFF)」が対応付けられていない場合には、照明部16から光を照射させる。そのため、本実施例の情報コード読取装置10によると、登録処理(図3)において、ユーザが照明部16を発光させたくない姿勢について、発光量「0」を対応付けておくことにより、情報コード読取装置の姿勢に関わらず照明部から光を照射する従来の技術と比較して、照明部16から照射される光がユーザや周囲の人の目に入る事態の発生を抑制することができる。
In the present embodiment, as in the case of YES in S42 of FIG. 4, the
また、図4のS44でYESの場合のように、制御部22は、読取開始操作が入力された場合において、S40でセンサ20の検出値の監視を開始してから所定時間t2が経過する前に、情報コード読取装置10の姿勢が所定の許容範囲を超えて変化した場合、照明部16から光を照射させない。そのため、本実施例の情報コード読取装置10によると、情報コード読取装置の運動状態に関わらず照明部から光を照射する従来の技術と比較して、照明部16から照射される光がユーザや周囲の人の目に入る事態の発生を抑制することができる。
Further, as in the case of YES in S44 of FIG. 4, when the reading start operation is input, the
また、図4のS46のように、読取開始操作が入力された場合において、情報コード読取装置10の姿勢に発光量「0」が対応付けられておらず(S42でNO)、所定時間t2以内に情報コード読取装置10の姿勢が所定の許容範囲を超えて変化しない場合(S44でNO)に、制御部22は、メモリ24を参照して、S46の時点のセンサ20の検出値に基づいて算出される情報コード読取装置10の姿勢に対応付けられている発光量を特定し、特定した発光量に従って照明部16を発光させる。一般に、情報コード読取装置10の姿勢が情報コードの読み取りに適する姿勢である場合には、大きい発光量で照明部16を発光させることが、読み取りを適切に行う上で好ましく、情報コード読取装置10の姿勢が情報コードの読み取りに適さない姿勢である場合には、小さい発光量で照明部16を発光させることが、照明部16から照射される光がユーザや周囲の人の目に入る事態の発生を抑制する上で好ましい。本実施例の情報コード読取装置10では、予め情報コード読取装置10の姿勢と、その姿勢に対応する発光量を適切に設定しておくことにより、情報コード読取装置10の姿勢に応じた発光量で照明部16から光を照射させることができる。
Further, when a reading start operation is input as in S46 of FIG. 4, the light emission amount “0” is not associated with the posture of the information code reading device 10 (NO in S42), and within a predetermined time t2. When the attitude of the information
また、図4のS46では、メモリ24内で、この時点の情報コード読取装置10の姿勢に発光量が対応付けられていない場合には、制御部22は、予め定められている発光量に従って照明部16を発光させる。情報コード読取装置10の姿勢に対応する発光量が予め設定されていない場合であっても、適切な発光量で照明部16から光を照射させることができる。
In S46 of FIG. 4, when the light emission amount is not associated with the attitude of the
また、本実施例では、図3の登録処理を実行することにより、メモリ24に、情報コード読取装置10の姿勢と発光量とを対応付けて登録することができる。使用実態に応じて、姿勢及び発光量を適切にメモリ24に登録しておくことができる。
In the present embodiment, by performing the registration process of FIG. 3, the attitude of the
また、本実施例では、図4のS50でNO、S52でYESの場合のように、制御部22は、読み取りに失敗した場合であって、かつ、読取対象物が情報コードであると判断した場合に、照明部16の発光量を上げて再度データ読取を試行する。そのため、本実施例の情報コード読取装置10は、データの読み取りを適切に行い得る。
In this embodiment, as in the case of NO in S50 and YES in S52, the
読取開始操作が「読取指示」の一例である。発光量が「0」に対応付けられている情報コード読取装置10の姿勢が「禁止姿勢」の一例である。発光量が「1」〜「5」のいずれかに対応付けられている情報コード読取装置10の姿勢が「制限姿勢」の一例である。また、その場合の発光量(即ち「1」〜「5」のいずれか)が「設定発光量」の一例である。図3のS18でYESの場合において、発光量「0」を指定する指示が入力される場合が、「第1の登録指示」が入力される場合の一例である。図3のS18でYESの場合において、発光量「1」〜「5」のいずれかを指定する指示が入力される場合が、「第2の登録指示」が入力される場合の一例である。
The reading start operation is an example of “reading instruction”. The posture of the information
(第2実施例)
本実施例の情報コード読取装置10も、その基本構成は第1実施例の情報コード読取装置10(図1、図2参照)と共通する。本実施例では、制御部22は、照明部16の発光量を調整しない点で、第1実施例とは異なる。そのため、本実施例では、制御部22が実行する登録処理(図5)及び読取処理(図6)の内容も第1実施例とは異なる。
(Second embodiment)
The basic configuration of the
(登録処理;図5)
図5を参照して、本実施例の制御部22が実行する登録処理について説明する。第1実施例と同様に、ユーザは、操作部14(詳細には情報入力キー14b)を操作して、所定の登録開始操作を入力する。登録開始操作が入力されると、制御部22は、図5の登録処理を開始する。
(Registration process; Fig. 5)
With reference to FIG. 5, the registration process which the
S70、S72の処理は、図3のS10、S12の処理と同様である。S72でYESと判断される場合、制御部22は、図5の登録処理をエラー終了する。この際、制御部22は、表示部12に所定のエラーメッセージを表示する。一方、S72でNOと判断される場合、制御部22は、S74に進む。
The processes of S70 and S72 are the same as the processes of S10 and S12 of FIG. If YES is determined in S72, the
S74では、制御部22は、この時点のセンサ20の検出値に基づいて特定される情報コード読取装置10の姿勢を禁止姿勢としてメモリ24に登録する。S74を終えると、制御部22は、図5の登録処理を終了する。この際、制御部22は、禁止姿勢の登録が完了したことを示すメッセージを表示部12に表示させる。
In S74, the
(読取処理;図6)
図6を参照して、本実施例の制御部22が実行する読取処理について説明する。第1実施例と同様に、ユーザは、操作部14を操作して(具体的には読取操作キー14aを押下して)、所定の読取開始操作を入力する。読取開始操作が入力されると、制御部22は、図6の読取処理を開始する。
(Reading process; FIG. 6)
With reference to FIG. 6, the reading process executed by the
S90では、制御部22は、センサ20の検出値の監視を開始する。同時に、制御部22は、センサ20の検出値に基づいて、S90の時点における情報コード読取装置10(詳細には筐体11)の姿勢を算出する。具体的には、制御部22は、センサ20の検出値に基づいて、重力方向を0°とした場合のX軸、Y軸、Z軸の傾斜角(θx、θy、θz)を算出し、それらの傾斜角に基づいて、S90の時点における情報コード読取装置10の姿勢(即ち、水平面に対する傾き)を算出する。
In S90, the
続くS92では、制御部22は、メモリ24を参照して、S90で算出された情報コード読取装置10の姿勢が禁止姿勢であるか否かを判断する。メモリ24内において、S90で算出された情報コード読取装置10の姿勢が禁止姿勢として登録されている場合、制御部22は、S92でYESと判断し、図6の読取処理をエラー終了する。この場合、制御部22は、照明部16を発光させない。また、制御部22は、表示部12に所定のエラーメッセージを表示する。
In subsequent S92, the
一方、メモリ24内において、S90で算出された情報コード読取装置10の姿勢が禁止姿勢として登録されていない場合、制御部22は、S92でNOと判断し、S94に進む。
On the other hand, if the posture of the information
S94の処理は、図4のS44の処理と同様である。S94でYESと判断される場合、制御部22は、図6の読取処理をエラー終了する。この際、制御部22は、表示部12に所定のエラーメッセージを表示する。一方、S94でNOと判断される場合、制御部22は、S96に進む。
The process of S94 is the same as the process of S44 of FIG. If YES is determined in S94, the
S96では、制御部22は、照明部16を発光させ、読取対象物に光を照射させる。本実施例では、制御部22は、照明部16の発光量を調整しない。そのため、照明部16は、予め定められた発光量に従って光を照射する。読取対象物に照射された光の少なくとも一部は反射し、受光部18によって受光される。
In S <b> 96, the
続くS98では、制御部22は、受光部18が受光した光(即ち読取対象物からの反射光)に基づいて、データ読取を試行する。続くS100では、制御部22は、読み取り(即ち、デコード)に成功したか否かを判断する。受光部18が受光した光に基づいてデータを読み取った場合、制御部22は、S100でYESと判断し、図6の読取処理を終了する。この際、制御部22は、情報コードの読み取りに成功したことを示すメッセージを表示部12に表示することができる。一方、受光部18が受光した光に基づいてデータを読み取れない場合、制御部22は、S100と判断し、S98に戻って再度データ読取を試行する。
In subsequent S98, the
本実施例でも、図6のS92でYESの場合のように、制御部22は、読取開始操作が入力された場合において、センサ20の検出値に基づいて特定される情報コード読取装置10の姿勢が禁止姿勢である場合には、照明部16から光を照射させない。一方、S92でNOの場合におけるS96のように、制御部22は、読取開始操作が入力された場合に、センサ20の検出値に基づいて特定される情報コード読取装置10の姿勢が禁止姿勢でない場合には、照明部16から光を照射させる。そのため、本実施例の情報コード読取装置10による場合も、ユーザが、登録処理(図5)において、禁止姿勢を適切に登録しておくことにより、情報コード読取装置の姿勢に関わらず照明部から光を照射する従来の技術と比較して、照明部16から照射される光がユーザや周囲の人の目に入る事態の発生を抑制することができる。
Also in this embodiment, as in the case of YES in S92 of FIG. 6, the
また、本実施例でも、図6のS94でYESの場合のように、制御部22は、読取開始操作が入力された場合において、S90でセンサ20の検出値の監視を開始してから所定時間t2が経過する前に、情報コード読取装置10の姿勢が所定の許容範囲を超えて変化した場合、照明部16から光を照射させない。そのため、本実施例の情報コード読取装置10によると、情報コード読取装置の運動状態に関わらず照明部から光を照射する従来の技術と比較して、照明部16から照射される光がユーザや周囲の人の目に入る事態の発生を抑制することができる。
Also in this embodiment, as in the case of YES in S94 in FIG. 6, the
登録開始操作が入力された後に図5のS72でYESと判断される場合が「第1の登録指示」が入力される場合の一例である。 The case where “YES” is determined in S72 of FIG. 5 after the registration start operation is input is an example of the case where the “first registration instruction” is input.
以上、本発明の各実施例について詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。例えば、以下の変形例を採用してもよい。 As mentioned above, although each Example of this invention was described in detail, these are only illustrations and do not limit a claim. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. For example, the following modifications may be adopted.
(変形例1)上記の各実施例では、図4のS44でYES、図6のS94でYESのように、S40(又はS90)でセンサ20の検出値の監視を開始してから所定時間t2が経過する前に、情報コード読取装置10の姿勢が所定の許容範囲を超えて変化した場合に、制御部22は、読取処理(図4、図6)をエラー終了している。これに限られず、図4のS44、図6のS96において、S40(又はS90)でセンサ20の検出値の監視を開始してから所定時間t2が経過する前に、情報コード読取装置10が所定の許容範囲を超える速度で移動した場合に、制御部22は、読取処理をエラー終了するようにしてもよい。この場合、制御部22は、センサ20の検出値(即ち、X軸、Y軸、Z軸の各軸方向の加速度)に基づいて、情報コード読取装置10の移動速度を算出し、その移動速度が所定の許容範囲を超えるか否かを判断してもよい。情報コード読取装置10が所定の許容範囲を超える速度で移動している場合には、ユーザが情報コード読取装置10を比較的速い速度で大きく移動させている可能性が高いが、そのような場合は読取処理の継続に適さない。一般的に言うと、制御部は、読取指示が入力されたときに、センサが検出する情報コード読取装置の運動状態が予め設定された運動状態である場合には、照明部から光を照射させないようにすればよい。
(Modification 1) In each of the embodiments described above, a predetermined time t2 after monitoring of the detection value of the
(変形例2)上記の第1実施例では、図4のS50でNO、S52でYESの場合のように、制御部22は、読み取りに失敗した場合であって、かつ、読取対象物が情報コードであると判断した場合に、照明部16の発光量を上げて再度データ読取を試行する。これに限られず、制御部22は、読み取りに失敗した場合に、読取対象物が情報コードであるか否かに関わらず、照明部16の発光量を上げて再度データ読取を試行してもよい。
(Modification 2) In the first embodiment described above, as in the case of NO in S50 and YES in S52 in FIG. 4, the
(変形例3)上記の第1実施例では、図4のS52において、制御部22は、照明部16の発光量を1段階ずつ挙げている。これに限られず、制御部22は、読み取りに失敗した場合であって、かつ、読取対象物が情報コードであると判断した場合に、照明部16の発光量を一度に最大値(即ち「5」)まで上げるようにしてもよい。
(Modification 3) In the first embodiment described above, in S52 of FIG. 4, the
本明細書または図面に説明した技術要素は、単独であるいは各種の組み合わせによって技術的有用性を発揮するものであり、出願時請求項記載の組み合わせに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.
10:情報コード読取装置
11:筐体
12:表示部
14:操作部
14a:読取操作キー
14b:情報入力キー
16:照明部
17:透明板
18:受光部
20:センサ
22:制御部
24:メモリ
30:情報コード
10: Information code reader 11: Housing 12: Display unit 14:
Claims (8)
読取対象の情報コードに光を照射する照明部と、
情報コードからの反射光を受光する受光部と、
情報コード読取装置の姿勢を検出可能なセンサと、
読取指示が入力された場合に、センサが検出する情報コード読取装置の姿勢が予め定められた禁止姿勢でないときは、照明部から光を照射させ、受光部によって受光される反射光に基づいて、情報コードに記録されているデータを読み取る一方、センサが検出する情報コード読取装置の姿勢が禁止姿勢であるときは、照明部に光を照射させない、制御部と、
を備える、情報コード読取装置。 An information code reader,
An illumination unit that emits light to an information code to be read; and
A light receiving portion for receiving reflected light from the information code;
A sensor capable of detecting the attitude of the information code reader;
When the reading instruction is input, if the posture of the information code reading device detected by the sensor is not a predetermined prohibited posture, the illumination unit emits light, and based on the reflected light received by the light receiving unit, While reading the data recorded in the information code, when the posture of the information code reading device detected by the sensor is a prohibited posture, the controller does not irradiate light,
An information code reader comprising:
制御部は、さらに、読取指示が入力されたときに、センサが検出する情報コード読取装置の運動状態が予め設定された運動状態である場合には、照明部から光を照射させない、
請求項1の情報コード読取装置。 The sensor can further detect the movement state of the information code reader,
The control unit further does not irradiate light from the illumination unit when the movement state of the information code reader detected by the sensor when the reading instruction is input is a preset movement state,
The information code reading device according to claim 1.
請求項1又は2の情報コード読取装置。 When the reading instruction is input, if the posture of the information code reading device detected by the sensor is a restricted posture different from the prohibited posture, the control unit emits light from the illumination unit with a set light emission amount corresponding to the restricted posture. Irradiate,
The information code reading device according to claim 1 or 2.
請求項3の情報コード読取装置。 When the reading instruction is input, the control unit causes the illumination unit to emit light with a specific light emission amount when the posture of the information code reading device detected by the sensor is neither the restricted posture nor the prohibited posture.
The information code reader according to claim 3.
制御部は、第1の登録指示が入力される場合に、禁止姿勢をメモリに登録させることができる、
請求項1から4のいずれか一項の情報コード読取装置。 Further comprising memory,
The control unit can register the prohibited posture in the memory when the first registration instruction is input.
The information code reading device according to any one of claims 1 to 4.
制御部は、情報コード読取指示が入力された場合に、センサが禁止姿勢とは異なる制限姿勢を検出するときは、当該制限姿勢に対応する設定発光量で照明部から光を照射させる、
請求項5の情報コード読取装置。 Further, when the second registration instruction is input, the control unit can cause the restriction posture different from the prohibited posture and the set light emission amount corresponding to the restriction posture to be registered in the memory,
When the control unit detects a restricted posture different from the prohibited posture when the information code reading instruction is input, the control unit causes the illumination unit to emit light with a set light emission amount corresponding to the restricted posture.
The information code reading device according to claim 5.
請求項1から6のいずれか一項の情報コード読取装置。 When the reading instruction is input and the illumination unit emits light, if the data reading fails, the control unit increases the amount of light emitted from the illumination unit.
The information code reading device according to any one of claims 1 to 6.
請求項1から6のいずれか一項の情報コード読取装置。 When the reading instruction is input and the illumination unit emits light, the control unit fails to read the data, and based on the reflected light received by the light receiving unit, the light irradiation target of the illumination unit is information If it is determined to be a code, it increases the amount of light emitted from the illumination unit,
The information code reading device according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014168656A JP2016045647A (en) | 2014-08-21 | 2014-08-21 | Information code reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014168656A JP2016045647A (en) | 2014-08-21 | 2014-08-21 | Information code reading device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016045647A true JP2016045647A (en) | 2016-04-04 |
Family
ID=55636180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014168656A Pending JP2016045647A (en) | 2014-08-21 | 2014-08-21 | Information code reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016045647A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852127A (en) * | 2019-10-26 | 2020-02-28 | 深圳盈达信息科技有限公司 | Bar code reading method and terminal |
-
2014
- 2014-08-21 JP JP2014168656A patent/JP2016045647A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852127A (en) * | 2019-10-26 | 2020-02-28 | 深圳盈达信息科技有限公司 | Bar code reading method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6847124B2 (en) | Adaptive lighting systems for mirror components and how to control adaptive lighting systems | |
US9122900B2 (en) | Biometric authentication device and computer readable, non-transitory medium | |
WO2012124730A1 (en) | Detection device, input device, projector, and electronic apparatus | |
JP6870474B2 (en) | Gaze detection computer program, gaze detection device and gaze detection method | |
JP7018915B2 (en) | Portable information code display device | |
JP2014137762A (en) | Object detector | |
JP6731460B2 (en) | Method for controlling a projector and associated electronic device | |
JP6540021B2 (en) | Printing device, operation control method for printing device, and operation control program for printing device | |
CN113420700B (en) | Palm biological characteristic acquisition device and method | |
JP2009015518A (en) | Eye image photographing device and authentication device | |
JP2016045647A (en) | Information code reading device | |
US9489927B2 (en) | Information processing device for controlling direction of display image and control method thereof | |
CN111049953B (en) | Control method and device of folding screen terminal and electronic equipment | |
JP4910644B2 (en) | Imaging device | |
JP4451195B2 (en) | Gaze detection device | |
JP6098386B2 (en) | projector | |
JP2009178300A (en) | Biological information reader | |
JP5531751B2 (en) | Display device | |
JP2019215274A (en) | Information processing device and method for controlling information processing device | |
JP2015138474A (en) | Bar code reading device | |
US10762318B2 (en) | Light projected feedback for guiding hand movements | |
JP7063045B2 (en) | Line-of-sight detection device, line-of-sight detection method and line-of-sight detection program | |
JP6398809B2 (en) | Information code reader | |
JP6263932B2 (en) | Optical information reader | |
JP2019024571A (en) | Visual line detection device and visual line detection method |