JP5045642B2 - Optical information reader - Google Patents

Optical information reader Download PDF

Info

Publication number
JP5045642B2
JP5045642B2 JP2008281198A JP2008281198A JP5045642B2 JP 5045642 B2 JP5045642 B2 JP 5045642B2 JP 2008281198 A JP2008281198 A JP 2008281198A JP 2008281198 A JP2008281198 A JP 2008281198A JP 5045642 B2 JP5045642 B2 JP 5045642B2
Authority
JP
Japan
Prior art keywords
light quantity
light
mode
state
optical information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008281198A
Other languages
Japanese (ja)
Other versions
JP2010108349A (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 JP2008281198A priority Critical patent/JP5045642B2/en
Publication of JP2010108349A publication Critical patent/JP2010108349A/en
Application granted granted Critical
Publication of JP5045642B2 publication Critical patent/JP5045642B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、光学的情報読取装置に関するものである。   The present invention relates to an optical information reader.

バーコードリーダ等の光学的情報読取装置は、様々な電気部品を用いて構成されるものであり、一般的に省力化が課題とされている。この種の光学的情報読取装置の省力化を図る方法としては、例えば、読み取り操作を行わないときに照明光源をオフ状態若しくは間欠駆動状態としたり、或いはCPUをスリープ状態とするといった方法が用いられている。
特開平7−55555
Optical information readers such as bar code readers are configured using various electrical components, and generally labor saving is an issue. As a method for saving the labor of this type of optical information reader, for example, a method in which the illumination light source is turned off or intermittently driven when the reading operation is not performed, or the CPU is set in a sleep state is used. ing.
JP-A-7-55555

上記のように非動作状態となったことを検知して省力モードに移行する構成とすると、装置全体の省力化を図る上で好ましいが、非動作状態から動作状態への変化、又は動作状態から非動作状態への変化を迅速かつ正確に検出する必要があり、他方、その検出に際して複雑な作業を伴うことは作業性の面で好ましくない。   As described above, it is preferable to detect the non-operating state and shift to the power saving mode in order to save the entire apparatus. However, the change from the non-operating state to the operating state or from the operating state is preferable. It is necessary to detect the change to the non-operating state quickly and accurately, and on the other hand, it is not preferable in terms of workability to involve a complicated operation in the detection.

従来においては、光学的情報読取装置の省力化に関し、このような要請に適切に応えうる構成は提供されておらず、現在、このような課題を効果的に解消しうる構成が求められている。   Conventionally, regarding the labor saving of the optical information reading apparatus, a configuration capable of appropriately responding to such a request has not been provided, and a configuration capable of effectively solving such a problem is currently required. .

なお、本発明に関連する技術として特許文献1のようなものがある。特許文献1は、上記課題を解決しようとするものではなく、本発明とは大きく異なるものであるが、特許文献1と本発明の差異等については後に詳述する。   Note that there is a technique as disclosed in Patent Document 1 as a technique related to the present invention. Patent Document 1 is not intended to solve the above-described problem and is greatly different from the present invention. Differences between Patent Document 1 and the present invention will be described in detail later.

本発明は、上述した課題を解決するためになされたものであり、所定モードと消費電力を抑える省力モードとに切り替え可能な光学的情報読取装置において、動作状態から非動作状態への変化、又は非動作状態から動作状態への変化を、複雑な作業を伴うことなく精度高く検出し得る構成を提供することを目的とする。   The present invention has been made to solve the above-described problems, and in an optical information reading apparatus that can be switched between a predetermined mode and a power-saving mode that reduces power consumption, a change from an operating state to a non-operating state, or It is an object of the present invention to provide a configuration capable of detecting a change from a non-operating state to an operating state with high accuracy without involving complicated work.

上記目的を達成するため、請求項1の発明は、情報コードを撮像する撮像手段と、前記撮像手段によって撮像された前記情報コードの画像に基づいてデコードを行うデコード手段と、前記撮像手段を収容すると共に、前記情報コードからの反射光を前記撮像手段に導く読取口が形成されたケースと、を備えた光学的情報読取装置であって、前記ケースの前記読取口側に取り付けられた第1光量検出手段と、前記ケースの前記読取口とは異なる側に取り付けられた第2光量検出手段と、前記第1光量検出手段によって検出された第1光量と、前記第2光量検出手段によって検出された第2光量とを比較する比較手段と、所定の第1モードと、前記第1モードのときよりも当該光学的情報読取装置の消費電力を抑える第2モードとを切り替える切替手段と、を備え、前記切替手段は、前記比較手段の比較結果の変化に基づいて前記第1モードと前記第2モードとを切り替えることを特徴とする。   In order to achieve the above object, the invention of claim 1 includes an image pickup means for picking up an information code, a decode means for decoding based on an image of the information code picked up by the image pickup means, and the image pickup means. And a case in which a reading port for guiding the reflected light from the information code to the image pickup means is formed, wherein the optical information reading device is attached to the reading port side of the case. A light quantity detection means, a second light quantity detection means attached to a side of the case different from the reading port, a first light quantity detected by the first light quantity detection means, and a second light quantity detection means. The comparison means for comparing the second light quantity, the predetermined first mode, and the second mode for reducing the power consumption of the optical information reading apparatus compared to the first mode are switched off. And means, wherein the switching means is characterized by switching between the second mode and the first mode based on a change in the comparison result of the comparing means.

請求項2の発明は、請求項1に記載の光学的情報読取装置において、前記ケースは、前記読取口が所定方向に向いた構成をなしており、前記第1光量検出手段は、前記読取口が向く側を下方側とし、それとは反対側を上方側としたときの前記ケースの下方側に配置され、前記第2光量検出手段は、前記第1光量検出手段よりも上方側に配置されていることを特徴とする。   According to a second aspect of the present invention, in the optical information reading device according to the first aspect, the case has a configuration in which the reading port is oriented in a predetermined direction, and the first light quantity detecting means is the reading port. Is disposed on the lower side of the case when the opposite side is the upper side, and the second light amount detecting means is disposed above the first light amount detecting means. It is characterized by being.

請求項3の発明は、請求項1又は請求項2に記載の光学的情報読取装置において、前記第1光量検出手段は、前記ケース内における前記読取口から前記撮像手段に連通する導光路に設けられていることを特徴とする。   According to a third aspect of the present invention, in the optical information reading apparatus according to the first or second aspect, the first light amount detecting means is provided in a light guide path communicating with the imaging means from the reading port in the case. It is characterized by being.

請求項4の発明は、請求項1から請求項3のいずれか一項に記載の光学的情報読取装置において、前記撮像手段は、前記反射光を受光する受光センサを有してなり、前記第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 imaging unit includes a light receiving sensor that receives the reflected light. The one light quantity detecting means is constituted by a light receiving element different from the light receiving sensor.

請求項5の発明は、請求項1から請求項3のいずれか一項に記載の光学的情報読取装置において、前記撮像手段は、前記反射光を受光する受光センサを有してなり、前記第1光量検出手段は前記受光センサによって兼用されていることを特徴とする。   According to a fifth aspect of the present invention, in the optical information reading apparatus according to any one of the first to third aspects, the imaging unit includes a light receiving sensor that receives the reflected light. One light quantity detecting means is also used by the light receiving sensor.

請求項6の発明は、請求項1から請求項5のいずれか1項に記載の光学的情報読取装置において、前記読取口に向けて照明光を照射する照明手段と、前記第1モードにおいて前記照明手段について第1の点灯制御を行い、前記第2モードにおいて、前記第1の点灯制御よりも消費電力を抑えた第2の点灯制御又は前記照明手段の点灯中止を行う点灯制御手段と、を備えたことを特徴とする。   The invention according to claim 6 is the optical information reader according to any one of claims 1 to 5, wherein the illumination means irradiates illumination light toward the reading port; and A first lighting control for the lighting means, and in the second mode, a second lighting control that consumes less power than the first lighting control or a lighting control means for stopping lighting of the lighting means; It is characterized by having.

請求項7の発明は、請求項1から請求項6のいずれか一項に記載の光学的情報読取装置において、前記切替手段は、前記比較手段による前記比較結果が、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態から、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態に変化したことを示す場合に、前記第2モードから前記第1モードに切り替えることを特徴とする。   According to a seventh aspect of the present invention, in the optical information reading apparatus according to any one of the first to sixth aspects, the switching unit is configured such that the comparison result by the comparison unit is greater than the second light amount. The second mode is changed to the first mode when the first light quantity increase state indicates that the first light quantity increase state changes to the second light quantity increase state in which the second light quantity is greater than the first light quantity. It is characterized by switching.

請求項8の発明は、請求項7に記載の光学的情報読取装置において、前記切替手段は、前記比較手段による前記比較結果が、前記第1光量増加状態から前記第2光量増加状態に変化したことを示し、かつ前記第2光量増加状態が一定時間維持された場合に、前記第2モードから前記第1モードに切り替えることを特徴とする。   According to an eighth aspect of the present invention, in the optical information reading device according to the seventh aspect, the switching means has changed the comparison result by the comparison means from the first light quantity increase state to the second light quantity increase state. When the second light quantity increase state is maintained for a certain time, the second mode is switched to the first mode.

請求項9の発明は、請求項1から請求項8のいずれか一項に記載の光学的情報読取装置において、前記切替手段は、前記比較手段による前記比較結果が、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態から、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態に変化したことを示し、かつ前記デコード手段によるデコード不成功期間が一定期間に達した場合に前記第1モードから前記第2モードに切り替えることを特徴とする。   According to a ninth aspect of the present invention, in the optical information reading device according to any one of the first to eighth aspects, the switching unit is configured such that the comparison result by the comparing unit is greater than the first light amount. It shows that the second light quantity increase state has changed from the second light quantity increase state to the first light quantity increase state in which the first light quantity is larger than the second light quantity, and the unsuccessful decoding period by the decoding means is a fixed period When reaching the above, the mode is switched from the first mode to the second mode.

請求項10の発明は、請求項7から請求項9のいずれか一項に記載の光学的情報読取装置において、前記撮像手段は、前記反射光を受光する複数の受光素子からなる受光センサを有し、前記第1光量検出手段は前記受光センサによって兼用されており、前記比較手段は、複数の前記受光素子の各受光光量の平均値を前記第1光量として、当該第1光量と前記第2光量とを比較することを特徴とする。   According to a tenth aspect of the present invention, in the optical information reading device according to any one of the seventh to ninth aspects, the imaging unit includes a light receiving sensor including a plurality of light receiving elements that receive the reflected light. The first light quantity detecting means is also used by the light receiving sensor, and the comparing means uses the average value of the received light quantities of the plurality of light receiving elements as the first light quantity, and the first light quantity and the second light quantity. It is characterized by comparing the amount of light.

請求項11の発明は、請求項1から請求項6のいずれか一項に記載の光学的情報読取装置において、前記切替手段は、前記比較手段による前記比較結果が、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態から、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態に変化したことを示す場合に、前記第2モードから前記第1モードに切り替えることを特徴とする。   According to an eleventh aspect of the present invention, in the optical information reading device according to any one of the first to sixth aspects, the switching unit is configured such that the comparison result by the comparing unit is greater than the first light amount. The second mode is changed to the first mode when the second light quantity increase state indicates that the first light quantity increase state is larger than the second light quantity. It is characterized by switching.

請求項12の発明は、請求項11に記載の光学的情報読取装置において、前記切替手段は、前記比較手段による前記比較結果が、前記第2光量増加状態から前記第1光量増加状態に変化したことを示し、かつ前記第1光量増加状態が一定時間維持された場合に前記第2モードから前記第1モードに切り替えることを特徴とする。   According to a twelfth aspect of the present invention, in the optical information reading device according to the eleventh aspect, the switching means changes the comparison result by the comparison means from the second light quantity increase state to the first light quantity increase state. And when the first light quantity increase state is maintained for a certain time, the second mode is switched to the first mode.

請求項13の発明は、請求項1から請求項6、請求項11、請求項12のいずれか一項に記載の光学的情報読取装置において、前記切替手段は、前記比較手段による前記比較結果が、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態から、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態に変化したことを示し、かつ前記デコード手段によるデコード不実施期間が一定期間に達した場合に前記第1モードから前記第2モードに切り替えることを特徴とする。   According to a thirteenth aspect of the present invention, in the optical information reading device according to any one of the first to sixth aspects, the eleventh aspect, and the twelfth aspect, the switching unit is configured to display the comparison result by the comparing unit. The decoding means indicates that the first light quantity increased from the first light quantity larger than the second light quantity has changed to the second light quantity increased state in which the second light quantity is greater than the first light quantity. When the decoding non-execution period due to has reached a certain period, the first mode is switched to the second mode.

請求項1の発明は、読取口側に第1光量検出手段が取り付けられ、読取口とは異なる側に第2光量検出手段が取り付けられている。更に、第1光量検出手段によって検出された第1光量と、第2光量検出手段によって検出された第2光量とを比較し、その比較結果の変化に基づいて第1モードと第2モード(第1モードのときよりも消費電力を抑えたモード)とを切り替えている。このようにすると、載置状態から把持状態、或いは把持状態から載置状態に変化したことを、2位置の光量比較結果の変化に基づいて迅速かつ的確に把握でき、その比較結果の変化をトリガとすることで、作業者に複雑な操作やこまめな操作を強いることなくモードを適切に切り替えることができる。   According to the first aspect of the present invention, the first light amount detecting means is attached to the reading port side, and the second light amount detecting means is attached to the side different from the reading port. Furthermore, the first light quantity detected by the first light quantity detection means and the second light quantity detected by the second light quantity detection means are compared, and the first mode and the second mode (first Mode in which power consumption is suppressed as compared with the mode 1). In this way, it is possible to quickly and accurately grasp the change from the mounting state to the gripping state, or from the gripping state to the mounting state, based on the change in the light quantity comparison result at the two positions, and trigger the change in the comparison result. By doing so, the mode can be appropriately switched without forcing the operator to perform complicated operations or diligent operations.

なお、周囲光を検出し、その検出結果をバーコードリーダの制御に用いようとする従来技術として特許文献1のようなものがある。特許文献1の技術は、周囲光を検出するという点では本発明と類似するが、所定位置に入射する周囲光の光量を予め決められた値(所定値)と比較して周囲光変化を検出する構成であるため、本発明のように2位置の光量を比較して操作状態の変化を把握しようとする構成とは構成が大きく異なり、上記のような本発明特有の効果は得られない。   Patent Document 1 discloses a conventional technique for detecting ambient light and using the detection result for controlling a barcode reader. The technique of Patent Document 1 is similar to the present invention in that it detects ambient light, but detects ambient light change by comparing the amount of ambient light incident on a predetermined position with a predetermined value (predetermined value). Therefore, the configuration is greatly different from the configuration in which the change in the operation state is grasped by comparing the light amounts at the two positions as in the present invention, and the above-described effects specific to the present invention cannot be obtained.

また、特許文献1の技術では、周囲の明るさが異なる様々な場所で使用しにくいという問題がある。例えば、周囲光量が常に所定値以下となるような場所では周囲光変化が検出できず、使用場所に応じて上記所定値をその都度設定変更して対応しようとしても、設定作業の負担増大は避けられない。これに対し、本発明は、装置内の所定位置で得られる周囲光量を所定値と比較するのではなく、距離を隔てた2位置の光量を取得してその比較結果の変化をモード切替のトリガとしている。従って、明るさが異なる様々な場所において特別な設定変更作業を要することなく装置状態の変化(操作状態の変化)を迅速且つ的確に検出でき、モード切替を良好に行うことができる。   In addition, the technique of Patent Document 1 has a problem that it is difficult to use in various places where ambient brightness is different. For example, it is not possible to detect changes in ambient light where the ambient light quantity is always less than or equal to a predetermined value, and avoid increasing the burden of setting work even if you try to change the predetermined value each time depending on the location of use. I can't. On the other hand, the present invention does not compare the ambient light amount obtained at a predetermined position in the apparatus with a predetermined value, but acquires the light amount at two positions separated from each other and triggers the change of the comparison result as a mode switching trigger. It is said. Therefore, it is possible to quickly and accurately detect a change in the apparatus state (change in the operation state) without requiring a special setting change operation in various places with different brightness, and it is possible to perform the mode switching satisfactorily.

請求項2の発明は、読取口が向く側を下方側とし、それとは反対側を上方側としたときのケースの下方側に第1光量検出手段が配置され、第2光量検出手段が第1光量検出手段よりも上方側に配置されている。このようにすると、ケース下方側を載置面に向けて載置する休止形態、或いはケース上方側を載置面に向けて載置する休止形態のいずれの場合においても、載置状態(休止状態)から把持状態へ変化したときに、第1光量と第2光量との比較結果が変化しやすくなる。従って、本発明に係る装置が作業者によって使用されようとする状態(把持状態)を迅速且つ的確に把握して、当該装置を第2モードから復帰させることができる。   According to the second aspect of the present invention, the first light quantity detecting means is disposed on the lower side of the case when the side facing the reading port is the lower side and the opposite side is the upper side, and the second light quantity detecting means is the first side. It is arranged above the light amount detection means. In this case, in either the rest mode in which the case lower side is placed toward the placement surface or the rest mode in which the case upper side is placed toward the placement surface, the placement state (rest state) ) To the gripping state, the comparison result between the first light amount and the second light amount is likely to change. Therefore, it is possible to quickly and accurately grasp the state (gripping state) in which the device according to the present invention is to be used by the operator, and return the device from the second mode.

請求項3の発明は、読取口から撮像手段に連通する導光路に第1光量検出手段が設けられている。このように、導光路に第1光量検出手段を設けると、読取口の位置、向きに応じて第1光量が大きく変化しやすくなるため、装置が載置状態から把持状態に変化したときに第1光量と第2光量との比較結果がより一層変化しやすくなる。   According to a third aspect of the present invention, the first light quantity detecting means is provided in the light guide path that communicates from the reading port to the imaging means. As described above, when the first light amount detecting means is provided in the light guide path, the first light amount is likely to change greatly depending on the position and orientation of the reading port. Therefore, when the apparatus changes from the mounted state to the gripping state, The comparison result between the first light amount and the second light amount is further easily changed.

請求項4の発明は、撮像手段が受光センサを有し、第1光量検出手段がこの受光センサとは異なる受光素子によって構成されている。このようにすると、受光センサの動作状態に依存することなく第1光量を検出できる。   According to a fourth aspect of the present invention, the imaging means has a light receiving sensor, and the first light quantity detecting means is constituted by a light receiving element different from the light receiving sensor. In this way, the first light amount can be detected without depending on the operating state of the light receiving sensor.

請求項5の発明は、撮像手段が反射光を受光する受光センサを有し、第1光量検出手段がこの受光センサによって兼用されている。このようにすると、部品点数を抑えることができ、装置構成の簡素化を図りやすくなる。   In the invention of claim 5, the imaging means has a light receiving sensor for receiving the reflected light, and the first light quantity detecting means is also used by this light receiving sensor. If it does in this way, the number of parts can be suppressed and it will become easy to aim at simplification of an apparatus configuration.

請求項6の発明は、第1モードにおいて照明手段に対し第1の点灯制御を行い、第2モードにおいて、第1の点灯制御よりも消費電力を抑えた第2の点灯制御又は照明手段の点灯中止を行うように構成されている。このようにすると、第1モードにおいて良好に読み取りを行うことができ、第2モードにおいては、効果的に省電力化を図ることができる。そして、このように定められる第1モード及び第2モードを、2つの光量検出手段の比較結果に基づいて適切なタイミングで切り替えることができ、読み取り作業性の向上、及び省電力化を共に良好に実現できる。   The invention according to claim 6 performs the first lighting control for the lighting means in the first mode, and the second lighting control or lighting of the lighting means in the second mode with lower power consumption than the first lighting control. It is configured to cancel. In this way, good reading can be performed in the first mode, and power saving can be effectively achieved in the second mode. Then, the first mode and the second mode determined in this way can be switched at an appropriate timing based on the comparison result of the two light quantity detection means, and both improvement in reading workability and power saving can be achieved. realizable.

請求項7の発明は、第1光量増加状態(第2光量よりも第1光量のほうが大きい状態)から、第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)に変化した場合に第2モードから第1モードに切り替えている。このようにすると、読取口を上方側に向けて載置する休止方法が採られる場合に、休止状態(載置状態)から把持状態への変化を迅速且つ的確に検出でき、休止状態(載置状態)にある装置が使用者によって把持されたときに迅速に省電力モード(第2モード)から復帰できるようになる。   The invention according to claim 7 changes from the first light quantity increase state (state where the first light quantity is larger than the second light quantity) to the second light quantity increase state (state where the second light quantity is larger than the first light quantity). In some cases, the second mode is switched to the first mode. In this way, when a resting method is employed in which the reading port is placed facing upward, a change from the resting state (mounting state) to the gripping state can be detected quickly and accurately, and the resting state (mounting) When the apparatus in the state) is gripped by the user, the apparatus can quickly return from the power saving mode (second mode).

請求項8の発明は、比較結果が第1光量増加状態から第2光量増加状態に変化したことを示し、かつ第2光量増加状態が一定時間維持された場合に、第2モードから第1モードに切り替えている。このようにすると、読取口を上方に向けて載置する休止方法が採られる場合において、載置状態のときにノイズ等の影響によって第1モードに復帰してしまうことを効果的に防止でき、より一層の省電力化を測ることができる。   The invention according to claim 8 indicates that the comparison result has changed from the first light quantity increase state to the second light quantity increase state, and the second mode is changed from the second mode to the first mode when the second light quantity increase state is maintained for a certain period of time. It has been switched to. In this way, when a pause method is employed in which the reading port is placed facing upward, it can be effectively prevented from returning to the first mode due to the influence of noise or the like when placed. Further power saving can be measured.

請求項9の発明は、比較結果が第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)から第1光量増加状態(第2光量よりも第1光量のほうが大きい状態)に変化したことを示し、かつデコード手段によるデコード不成功期間が一定期間に達した場合に第1モードから第2モードに切り替えている。比較結果が上記のような結果となり、かつデコード不成功期間が一定期間に達した場合、読取口を上方に向けて載置された載置状態(休止状態)となった可能性が高く、このような場合に第2モードに切り替える構成とすれば、休止状態を迅速且つ適切に検出して省電力化を効果的に実現できる。   In the invention of claim 9, the comparison result changes from the second light quantity increase state (the second light quantity is larger than the first light quantity) to the first light quantity increase state (the first light quantity is larger than the second light quantity). The first mode is switched to the second mode when the change is indicated and the unsuccessful decoding period by the decoding means reaches a certain period. When the comparison result is as described above and the decoding unsuccessful period has reached a certain period, there is a high possibility that the reading port is placed with the reading port facing upward. In such a case, if the configuration is switched to the second mode, the hibernation state can be detected quickly and appropriately, and power saving can be effectively realized.

請求項10の発明は、反射光を受光する複数の受光素子からなる受光センサを有し、第1光量検出手段がこの受光センサによって兼用されている。そして、複数の受光素子の各受光光量の平均値を第1光量として、当該第1光量と第2光量とを比較している。このようにすると、ノイズに起因する比較結果の変化を効果的に防ぐことができ、各光量検出手段の配置位置の光量変化をより適切に反映した比較結果を得ることができる。   The invention of claim 10 has a light receiving sensor comprising a plurality of light receiving elements for receiving reflected light, and the first light quantity detecting means is also used by this light receiving sensor. Then, the first light amount and the second light amount are compared with the average value of the received light amounts of the plurality of light receiving elements as the first light amount. In this way, a change in the comparison result due to noise can be effectively prevented, and a comparison result that more appropriately reflects the change in the light amount at the arrangement position of each light amount detection means can be obtained.

請求項11の発明は、比較結果が第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)から第1光量増加状態(第2光量よりも第1光量のほうが大きい状態)に変化したことを示す場合に第2モードから第1モードに切り替えている。このようにすると、読取口を下方に向けた状態で載置する休止方法が採られる場合に、休止状態(載置状態)から把持状態への変化を迅速且つ的確に検出でき、休止状態(載置状態)にある装置が使用者によって把持されたときに迅速に省電力モード(第2モード)から復帰できるようになる。   In the invention of claim 11, the comparison result changes from the second light quantity increase state (the second light quantity is larger than the first light quantity) to the first light quantity increase state (the first light quantity is larger than the second light quantity). When the change is indicated, the second mode is switched to the first mode. In this way, when a resting method is employed in which the reading port is placed with the reading port facing downward, a change from the resting state (mounting state) to the gripping state can be detected quickly and accurately, and the resting state (mounting state) can be detected. When the device in the installation state is gripped by the user, it can be quickly returned from the power saving mode (second mode).

請求項12の発明は、比較結果が第2光量増加状態から第1光量増加状態に変化したことを示し、かつ第1光量増加状態が一定時間維持された場合に第2モードから第1モードに切り替えている。このようにすると、読取口を下方に向けて載置する休止方法が採られる場合において、載置状態のときにノイズ等の影響によって第1モードに復帰してしまうことを効果的に防止でき、より一層の省電力化を測ることができる。   The invention of claim 12 indicates that the comparison result has changed from the second light quantity increase state to the first light quantity increase state, and the second mode is changed to the first mode when the first light quantity increase state is maintained for a certain period of time. Switching. In this way, in the case where a resting method in which the reading port is placed downward is adopted, it is possible to effectively prevent returning to the first mode due to the influence of noise or the like in the placement state, Further power saving can be measured.

請求項13の発明は、比較結果が第1光量増加状態から第2光量増加状態に変化したことを示し、かつデコード手段によるデコード不実施期間が一定期間に達した場合に第1モードから第2モードに切り替えている。比較結果が上記のような結果となり、かつデコード不成功期間が一定期間に達した場合、読取口を下方に向けて載置された載置状態(休止状態)となった可能性が高く、このような場合に第2モードに切り替える構成とすれば、休止状態を迅速且つ適切に検出して省電力化を効果的に実現できる。   The invention according to claim 13 indicates that the comparison result has changed from the first light quantity increasing state to the second light quantity increasing state, and the second mode is changed from the first mode when the decoding non-execution period by the decoding means reaches a certain period. Switch to mode. If the comparison result is as described above and the decoding unsuccessful period has reached a certain period, there is a high possibility that the reading port is placed in a downward state (pause state). In such a case, if the configuration is switched to the second mode, the hibernation state can be detected quickly and appropriately, and power saving can be effectively realized.

[第1実施形態]
以下、本発明の第1実施形態に係る光学的情報読取装置について図面を参照して説明する。図1は、本発明の第1実施形態に係る光学的情報読取装置の内部構成を概略的に示す概略図である。図2は、図1の光学的情報読取装置の電気的構成を例示するブロック図である。図3は、図1の光学的情報読取装置で行なわれる読取処理の流れを例示するフローチャートである。図4(a)は、図1の光学的情報読取装置が使用されていない状態(休止状態)を概略的に例示する説明図であり、図4(b)は、その休止状態から把持状態に変化した様子を概略的に例示する説明図である。図5は、第1光量と第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 schematic diagram schematically showing the internal configuration of the optical information reading apparatus according to the first embodiment of the present invention. FIG. 2 is a block diagram illustrating an electrical configuration of the optical information reading apparatus of FIG. FIG. 3 is a flowchart illustrating the flow of reading processing performed by the optical information reading apparatus of FIG. 4A is an explanatory diagram schematically illustrating a state where the optical information reading device of FIG. 1 is not used (resting state), and FIG. 4B is a state in which the resting state is changed to a gripping state. It is explanatory drawing which illustrates schematically a mode that it changed. FIG. 5 is a block diagram schematically illustrating a configuration for the control circuit to obtain a comparison result obtained by comparing the first light amount and the second light amount.

まず、図1、図2を参照して全体構成について説明する。
図1、図2に示す光学的情報読取装置1は、一次元コードや二次元コードを読み取る情報コードリーダとして構成されるものである。
First, the overall configuration will be described with reference to FIGS.
1 and 2 is configured as an information code reader that reads a one-dimensional code or a two-dimensional code.

光学的情報読取装置1は、図1に示すケース2の内部に図2に示す回路部20が収容されてなるものである。ケース2は、上ケース2aと下ケース2bとが結合する形態で全体的に略長手状に構成されており、図1の例では長手方向一端側に照明光や反射光を導通させるための読取口5が形成されている。この読取口5は、ケース2内部と外部とを連通する開口部として構成されており、読取口5付近には、当該読取口5の開口を閉塞する防塵プレート(図示略)が設けられている。また、ケース2は、読取口5が形成される先端部側が、基板18が収容される回路収容部側に対して折れ曲がる形態をなしている。   The optical information reading apparatus 1 is configured such that a circuit unit 20 shown in FIG. 2 is accommodated in a case 2 shown in FIG. The case 2 is generally formed in a substantially longitudinal shape in a form in which the upper case 2a and the lower case 2b are coupled. In the example of FIG. 1, the reading for making illumination light and reflected light conduct to one end in the longitudinal direction. A mouth 5 is formed. The reading port 5 is configured as an opening that communicates the inside and the outside of the case 2, and a dustproof plate (not shown) that closes the opening of the reading port 5 is provided in the vicinity of the reading port 5. . Further, the case 2 has a configuration in which the tip end side where the reading port 5 is formed is bent with respect to the circuit accommodating portion side where the substrate 18 is accommodated.

図2に示すように、光学的情報読取装置1は、主に、照明光源21、受光センサ23、フィルタ25、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示装置46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。なお、これらは、基板18に実装あるいはケース2内に内装されている。   As shown in FIG. 2, the optical information reader 1 mainly includes an optical system such as an illumination light source 21, a light receiving sensor 23, a filter 25, and an imaging lens 27, a memory 35, a control circuit 40, an operation switch 42, It is composed of a microcomputer (hereinafter referred to as “microcomputer”) system such as the liquid crystal display device 46 and a power system such as a power switch 41 and a battery 49. Note that these are mounted on the substrate 18 or housed in the case 2.

光学系は、照明光源21、受光センサ23、フィルタ25、結像レンズ27等から構成されている。照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、赤色のLED21a(図1)とこのLEDの出射側に設けられる集光レンズ(図示略)等によって構成されている。本実施形態では、受光センサ23を挟んだ両側に照明光源21が設けられており、読取口5(図1)を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。この読取対象物Rは、例えば、包装容器や包装用紙あるいはラベルといった表示媒体に相当するもので、その表面には情報コードQとして例えば二次元コードが印刷されている。   The optical system includes an illumination light source 21, a light receiving sensor 23, a filter 25, an imaging lens 27, and the like. The illumination light source 21 functions as an illumination light source capable of emitting the illumination light Lf, and is configured by a red LED 21a (FIG. 1) and a condensing lens (not shown) provided on the emission side of the LED. In the present embodiment, illumination light sources 21 are provided on both sides of the light receiving sensor 23, and the illumination light Lf can be irradiated toward the reading object R via the reading port 5 (FIG. 1). . The reading object R corresponds to a display medium such as a packaging container, packaging paper, or label, for example, and a two-dimensional code is printed on the surface as an information code Q, for example.

受光センサ23は、読取対象物Rや情報コードQに照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の受光素子を配列したラインセンサやエリアセンサがこれに相当する。受光センサ23は、読取口5、反射鏡7、結像レンズ27を介して入射する入射光を受光面23aにて受光する形態で基板18に実装されている。なお、受光センサ23は、「撮像手段」の一例に相当し、情報コードQを撮像するように機能する。   The light receiving sensor 23 is configured to receive the reflected light Lr irradiated and reflected on the reading object R or the information code Q. For example, the light receiving sensor 23 is a line sensor or area in which light receiving elements such as C-MOS and CCD are arranged. A sensor corresponds to this. The light receiving sensor 23 is mounted on the substrate 18 in such a manner that incident light incident through the reading port 5, the reflecting mirror 7, and the imaging lens 27 is received by the light receiving surface 23a. The light receiving sensor 23 corresponds to an example of “imaging means” and functions to image the information code Q.

フィルタ25は、反射光Lrの波長相当以下の光の通過を許容し、当該波長相当を超える光の通過を遮断し得る光学的なローパスフィルタで、読取口5(図1)と結像レンズ27との間に設けられている。これにより、反射光Lrの波長相当を超える不要な光が受光センサ23に入射することを抑制している。また、結像レンズ27は、例えば、鏡筒とこの鏡筒内に収容される複数の集光レンズとによって構成されており、本実施形態では、読取口5に入射する反射光Lrを集光し、受光センサ23の受光面23aに情報コードQのコード画像を結像するように構成されている。   The filter 25 is an optical low-pass filter that allows passage of light having a wavelength less than or equal to the wavelength of the reflected light Lr, and can block passage of light that exceeds the wavelength, and the reading port 5 (FIG. 1) and the imaging lens 27. Between. Thereby, unnecessary light exceeding the wavelength equivalent of the reflected light Lr is prevented from entering the light receiving sensor 23. Further, the imaging lens 27 is constituted by, for example, a lens barrel and a plurality of condensing lenses housed in the lens barrel. In this embodiment, the reflected light Lr incident on the reading port 5 is condensed. The code image of the information code Q is formed on the light receiving surface 23a of the light receiving sensor 23.

マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等から構成されている。このマイコン系は、マイコン(情報処理装置)として機能し得る制御回路40及びメモリ35を中心として構成され、前述した光学系によって撮像された情報コードQの画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。   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, an operation switch 42, an LED 43, a buzzer 44, a liquid crystal display device 46, and a communication interface 48. Etc. This microcomputer system is configured around a control circuit 40 and a memory 35 that can function as a microcomputer (information processing apparatus), and the image signal of the information code Q imaged by the optical system described above is signaled in hardware and software. It can be processed.

光学系の受光センサ23から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力され、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ35に入力され、当該メモリ35の画像データ蓄積領域に蓄積される。なお、同期信号発生回路38は、受光センサ23およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。   An image signal (analog signal) output from the light receiving sensor 23 of the optical system is input to the amplification circuit 31 and amplified by a predetermined gain, and then input to the A / D conversion circuit 33, and the digital signal is converted from the analog signal. Is converted to The digitized image signal, that is, image data (image information) is input to the memory 35 and stored in the image data storage area of the memory 35. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 23 and the address generation circuit 36. 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、受光センサ23等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。   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 image data storage area, the RAM of the memory 35 is configured to be able to secure a work area and a reading condition table that are used by the control circuit 40 in each processing such as arithmetic operation and logical operation. . The ROM stores in advance a predetermined program that can execute a reading process and the like that will be described later, and a system program that can control each piece of hardware such as the illumination light source 21 and the light receiving sensor 23.

制御回路40は、光学的情報読取装置1全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるものであり、情報処理機能を有している。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)が接続されており、本実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等が接続されている。また、通信インタフェース48には、光学的情報読取装置1の上位システムに相当するホストコンピュータHSTなどを接続することができる。
なお、本実施形態では、制御回路40が「デコード手段」の一例に相当し、受光センサ23(撮像手段)によって撮像された情報コードQの画像に基づいてデコードを行う機能を有する。
The control circuit 40 is a microcomputer capable of controlling the entire optical information reading apparatus 1 and includes a CPU, a system bus, an input / output interface, and the like, and has an information processing function. Various input / output devices (peripheral devices) are connected to the control circuit 40 via a built-in input / output interface. In this embodiment, a power switch 41, an operation switch 42, an LED 43, a buzzer 44, A liquid crystal display device 46, a communication interface 48, and the like are connected. The communication interface 48 can be connected to a host computer HST corresponding to the host system of the optical information reader 1.
In the present embodiment, the control circuit 40 corresponds to an example of a “decoding unit” and has a function of performing decoding based on an image of the information code Q captured by the light receiving sensor 23 (imaging unit).

電源系は、電源スイッチ41、電池49等により構成されており、制御回路40により管理される電源スイッチ41のオンオフによって、電池49からの駆動電力の供給や遮断が制御されている。なお、電池49は、所定の直流電圧を発生可能な2次電池で、例えば、リチウムイオン電池等がこれに相当する。   The power supply system includes a power switch 41, a battery 49, and the like, and supply / cut-off of driving power from the battery 49 is controlled by turning on / off the power switch 41 managed by the control circuit 40. The battery 49 is a secondary battery that can generate a predetermined DC voltage, and corresponds to, for example, a lithium ion battery.

次に、本実施形態の特徴的構成について説明する。
本実施形態に係る光学的情報読取装置1は、図1に示すようにケース2内に上述の受光センサ23が収容されており、ケース2の一端側には、情報コードQ(図2)からの反射光を受光センサ23に導く上述の読取口5が形成されている。更に、このように構成されるケース2の読取口5側に第1光量センサ61が設けられており、読取口5とは異なる側に第2光量センサ62が設けられている。なお、本実施形態で用いられる第1光量センサ61は、撮像手段を構成する上記受光センサ23とは異なる受光素子によって構成されており、受光センサ23の動作状態に関係なく周囲の光量を検出し得る構成をなしている。
Next, a characteristic configuration of the present embodiment will be described.
As shown in FIG. 1, the optical information reader 1 according to the present embodiment accommodates the above-described light receiving sensor 23 in a case 2, and an information code Q (FIG. 2) is attached to one end of the case 2. The above-described reading port 5 that guides the reflected light to the light receiving sensor 23 is formed. Further, the first light amount sensor 61 is provided on the reading port 5 side of the case 2 configured as described above, and the second light amount sensor 62 is provided on the side different from the reading port 5. The first light quantity sensor 61 used in the present embodiment is constituted by a light receiving element different from the light receiving sensor 23 constituting the imaging means, and detects the surrounding light quantity regardless of the operation state of the light receiving sensor 23. The structure to get.

第1光量センサ61、第2光量センサ62は、いずれもフォトダイオード等の受光素子によって構成されており、第1光量センサ61は、ケース2の下方側に配置され、第2光量センサ62は、第1光量センサ61よりも上方側に配置されている。なお、明細書全体を通し、ケース2の長手方向を前後方向とし、当該前後方向において読取口が設けられる側を前方側それとは反対側を後方側と定義する。また、長手方向と直交する直交方向に関して読取口が向く側を下方側、当該直交方向においてその下方側とは反対側を上方側を定義する。なお、図1の例では、ケース2の長手方向(前後方向)をX軸方向とし、直交方向(上下方向)をY軸方向として示している。なお、図1の例では、読取口5が横長の開口形態をなしており、その読取口5の長手方向(図1では紙面直交方向)を幅方向とし、当該幅方向及びケース2の長手方向(X軸方向)のいずれにも直交する方向が上下方向とされている。   Each of the first light quantity sensor 61 and the second light quantity sensor 62 is configured by a light receiving element such as a photodiode, the first light quantity sensor 61 is disposed below the case 2, and the second light quantity sensor 62 is It is arranged above the first light quantity sensor 61. Throughout the specification, the longitudinal direction of the case 2 is defined as the front-rear direction, and the side where the reading port is provided in the front-rear direction is defined as the front side and the opposite side as the rear side. Further, the side facing the reading port in the orthogonal direction orthogonal to the longitudinal direction is defined as the lower side, and the side opposite to the lower side in the orthogonal direction is defined as the upper side. In the example of FIG. 1, the longitudinal direction (front-rear direction) of the case 2 is shown as the X-axis direction, and the orthogonal direction (up-down direction) is shown as the Y-axis direction. In the example of FIG. 1, the reading port 5 has a horizontally long opening shape, and the longitudinal direction of the reading port 5 (the direction orthogonal to the paper surface in FIG. 1) is the width direction, and the width direction and the longitudinal direction of the case 2. The direction perpendicular to any of the (X-axis directions) is the vertical direction.

このように定めたとき、第1光量センサ61は、ケース2の下方側に配置され、第2光量センサ62は、第1光量センサ61よりも上方側に配置されており、ケース2上方からの光が第2光量センサ62に受光されやすく、ケース2下方からの光が第1光量センサ61に受光されやすくなっている。   When determined in this way, the first light quantity sensor 61 is arranged on the lower side of the case 2 and the second light quantity sensor 62 is arranged on the upper side of the first light quantity sensor 61. Light is easily received by the second light quantity sensor 62, and light from below the case 2 is easily received by the first light quantity sensor 61.

また、第1光量センサ61は、ケース2内における読取口5から撮像手段に連通する導光路6に設けられており、読取口5を介して入射する外光を受光する構成をなしている。なお、図1の構成において、照明光源21と第1光量センサ61との間に照明光源21からの光を遮る遮光部を設けるようにしてもよい(例えば一点鎖線63のように配置)。   The first light quantity sensor 61 is provided in the light guide path 6 that communicates with the imaging means from the reading port 5 in the case 2, and is configured to receive external light that enters through the reading port 5. In the configuration of FIG. 1, a light shielding unit that blocks light from the illumination light source 21 may be provided between the illumination light source 21 and the first light quantity sensor 61 (for example, arranged as indicated by a one-dot chain line 63).

本実施形態に係る光学的情報読取装置1は、上述した構成で第1光量センサ61及び第2光量センサ62が設けられており、第1光量センサ61にて検出された第1光量と、第2光量センサ62にて検出された第2光量との比較結果の変化に基づいてモードの切替を行なうように構成されている。以下の説明では、このようなモード切替制御等について詳述する。   The optical information reading apparatus 1 according to the present embodiment is provided with the first light amount sensor 61 and the second light amount sensor 62 with the above-described configuration, and the first light amount detected by the first light amount sensor 61, The mode is switched based on the change in the comparison result with the second light quantity detected by the two light quantity sensor 62. In the following description, such mode switching control and the like will be described in detail.

図3に示す読取処理は、上記特徴的構成を利用して行なわれるものであり、当該処理開始に伴い、まず照明光源21を点灯する点灯制御を行う(S1)。ここでは、S1の処理開始時に照明光源21が消灯状態であったときには照明光源21の点灯を開始し、S1の処理開始時に既に照明光源21が点灯している場合には、その点灯を継続する。S1の後には画像取得処理を行い(S2)、その取得された画像についてデコード処理を行う(S3)。   The reading process shown in FIG. 3 is performed using the above-described characteristic configuration. At the start of the process, first, lighting control for turning on the illumination light source 21 is performed (S1). Here, lighting of the illumination light source 21 is started when the illumination light source 21 is turned off at the start of the process of S1, and if the illumination light source 21 is already turned on at the start of the process of S1, the lighting is continued. . After S1, an image acquisition process is performed (S2), and the acquired image is decoded (S3).

その後、S3のデコード処理においてデコードが成功したか否かを判断する(S4)。デコードが成功した場合にはS4にてYesに進み、デコード結果出力処理を行う(S9)。S9の後にはS1に戻ってS1以降の処理を繰り返す。   Thereafter, it is determined whether or not the decoding is successful in the decoding process of S3 (S4). If the decoding is successful, the process proceeds to Yes in S4, and a decoding result output process is performed (S9). After S9, the process returns to S1 and the processes after S1 are repeated.

一方、S4においてデコードが失敗したと判断された場合にはS4にてNoに進み、一定期間デコードが成功していないか否か(即ちデコード不成功期間が一定期間に達したか否か)を判断する(S5)。デコード不成功期間のカウント開始時点は、当該読取処理開始時点又は前回のデコード成功時点のいずれか遅い時点であり、このカウント開始時点からカウントしたデコード不成功期間が一定期間に達している場合にはS5にてYesに進む。一方、S5においてデコード不成功期間が一定期間に達していないと判断される場合にはS5にてNoに進み、S1以降の処理を繰り返す。なお、デコード不成功期間のカウントは、タイマ回路を設けて行ってもよく、制御回路40内のCPUによって行ってもよい。   On the other hand, if it is determined in S4 that the decoding has failed, the process proceeds to No in S4 to determine whether or not the decoding has succeeded for a certain period (that is, whether or not the unsuccessful decoding period has reached a certain period). Judgment is made (S5). The count start time of the decode unsuccessful period is the later of the reading process start time or the previous decode success time, and when the decode unsuccessful period counted from this count start time has reached a certain period Proceed to Yes in S5. On the other hand, if it is determined in S5 that the unsuccessful decoding period has not reached a certain period, the process proceeds to No in S5, and the processes after S1 are repeated. The decoding failure period may be counted by providing a timer circuit or by the CPU in the control circuit 40.

S5にてYesに進む場合、第1光量センサ61で検出された光量(第1光量)よりも第2光量センサ62で検出された光量(第2光量)のほうが大きい第2光量増加状態から第2光量よりも第1光量のほうが大きい第1光量増加状態に変化したか否か、及びその第1光量増加状態が一定時間以上維持されたか否かを判断する(S6)。   When the process proceeds to Yes in S5, the second light quantity increase state from the second light quantity increase state in which the light quantity (second light quantity) detected by the second light quantity sensor 62 is larger than the light quantity detected by the first light quantity sensor 61 (first light quantity). It is determined whether or not the first light quantity increase state is greater than the second light quantity, and whether or not the first light quantity increase state has been maintained for a certain period of time (S6).

本実施形態に係る光学的情報読取装置1は、図4(b)のように読取口5を読取対象物R側に向けて使用されるものであるため、使用時には、図4(b)矢印にて示すように照明光(工場や店舗などの照明光)や太陽光(屋外や太陽光が入射しやすい場所で使用する場合)が第2光量センサ62側に入射しやすく、一方の第1光量センサ61は、読取対象物Rと対向すると共に当該読取対象物Rとは反対側をケース2によって覆われる格好となる。従って、使用時には、第2光量センサ62で検出される第2光量のほうが、第1光量センサ61で検出される第1光量よりも大きくなる。   Since the optical information reading apparatus 1 according to the present embodiment is used with the reading port 5 facing the reading object R as shown in FIG. 4B, the arrow in FIG. Illumination light (illumination light from factories, stores, etc.) and sunlight (when used outdoors or in places where sunlight is likely to enter) are likely to be incident on the second light quantity sensor 62 side. The light quantity sensor 61 is configured to face the reading object R and be covered with the case 2 on the side opposite to the reading object R. Therefore, at the time of use, the second light amount detected by the second light amount sensor 62 is larger than the first light amount detected by the first light amount sensor 61.

一方、不使用時に、図4(a)のように読取口5を載置面70と反対側に向けて載置されると、第2光量センサ62が載置面70と対向し且つケース2によって覆われた格好となり、第1光量センサ61側には図4(a)の矢印にて示すように照明光(工場や店舗などの照明光)や太陽光(屋外や太陽光が入射しやすい場所で使用する場合)が入射しやすくなる。このため、図4(a)のように載置される不使用時には、第1光量センサ61で検出される第1光量のほうが、第2光量センサ62で検出される第2光量よりも大きくなる。本発明では、このような使用形態に着目し、S6において第2光量増加状態から第1光量増加状態に変化したか否かを判断することで、光学的情報読取装置1が載置状態(休止状態)とされたか否かを判断している。   On the other hand, when the reading port 5 is placed facing away from the placement surface 70 as shown in FIG. 4A when not in use, the second light quantity sensor 62 faces the placement surface 70 and the case 2. As shown by the arrow in FIG. 4A, illumination light (illumination light from a factory, a store, etc.) or sunlight (outdoor or sunlight is likely to enter the first light quantity sensor 61 side. (When used in a place) becomes easier to enter. For this reason, the first light quantity detected by the first light quantity sensor 61 is larger than the second light quantity detected by the second light quantity sensor 62 when not placed as shown in FIG. . In the present invention, paying attention to such a usage pattern, it is determined in S6 whether or not the second light quantity increase state has changed to the first light quantity increase state, whereby the optical information reader 1 is placed in the placement state (pause). It is determined whether or not the state has been set.

また、本実施形態では、第1光量センサ61の出力値と第2光量センサ62の出力値とを比較器65(コンパレータ等)によって比較しており、その比較結果を制御回路40を構成するCPU40aに出力している。例えば、第1光量センサ61の出力値が第2光量センサ62の出力値を上回る場合(即ち第1光量が第2光量よりも大きい場合)に比較器65からHレベル信号が出力され、第2光量センサ62の出力値が第1光量センサ61の出力値を上回る場合(即ち第2光量が第1光量よりも大きい場合)にLレベル信号が出力される構成の場合、S6では、Hレベル信号が一定時間以上継続したか否かを判断することで、第1光量増加状態が一定時間以上継続したか否かを判断することとなる。   Further, in the present embodiment, the output value of the first light quantity sensor 61 and the output value of the second light quantity sensor 62 are compared by a comparator 65 (comparator or the like), and the comparison result is the CPU 40a constituting the control circuit 40. Is output. For example, when the output value of the first light amount sensor 61 exceeds the output value of the second light amount sensor 62 (that is, when the first light amount is larger than the second light amount), an H level signal is output from the comparator 65, and the second When the L level signal is output when the output value of the light amount sensor 62 exceeds the output value of the first light amount sensor 61 (that is, when the second light amount is larger than the first light amount), in S6, the H level signal is output. It is determined whether or not the first light quantity increase state has continued for a certain time or more by determining whether or not the light has continued for a certain time or more.

S6において、第1光量増加状態が一定時間以上維持されたと判断される場合には、S6にてYesに進み、照明光源21を消灯し、読取処理を停止状態に設定する(S7)。このとき、制御回路40のCPUをスリープ状態(例えば、CPUを間欠駆動させたり、或いはCPUのクロック周波数を小さくすることでCPUの動作電力を抑える状態)としてもよい。   If it is determined in S6 that the first light quantity increase state has been maintained for a certain time or longer, the process proceeds to Yes in S6, the illumination light source 21 is turned off, and the reading process is set to a stopped state (S7). At this time, the CPU of the control circuit 40 may be in a sleep state (for example, a state in which the CPU is intermittently driven or the operating power of the CPU is suppressed by reducing the CPU clock frequency).

本実施形態では、S1の処理開始後からS7の処理開始前までの間、制御回路40の制御によって照明光源21の点灯を持続させており、この点灯持続制御が「第1の点灯制御」に相当している。一方、S6にてYesに進むときには、S7にて照明光源21の点灯中止を行い、省電力化を図っている。   In the present embodiment, lighting of the illumination light source 21 is continued by the control of the control circuit 40 from the start of the process of S1 to the start of the process of S7, and this lighting continuous control is changed to “first lighting control”. It corresponds. On the other hand, when the process proceeds to Yes in S6, the lighting of the illumination light source 21 is stopped in S7 to save power.

また、本実施形態では、S1の処理開始後からS7の処理開始前までの状態が第1モードに相当しており、S7の処理開始後からS1の処理開始前までの状態が第2モードに相当している。なお、S7の処理は、第1モードから第2モードに切り替える処理に相当し、S1の処理は第2モードから第1モードに切り替える処理に相当する。   In the present embodiment, the state from the start of the process of S1 to the start of the process of S7 corresponds to the first mode, and the state from the start of the process of S7 to the start of the process of S1 is set to the second mode. It corresponds. Note that the process of S7 corresponds to a process of switching from the first mode to the second mode, and the process of S1 corresponds to a process of switching from the second mode to the first mode.

このように、本実施形態では、S5においてデコード不成功期間が一定期間に達したと判断され、S6において比較器65(比較手段)による比較結果が、第2光量増加状態から第1光量増加状態に変化したと判断され、その第1光量増加状態が一定時間以上継続したと判断される場合に第1モードから第2モードに切り替えている。   As described above, in this embodiment, it is determined in S5 that the unsuccessful decoding period has reached a certain period, and in S6, the comparison result by the comparator 65 (comparison means) is changed from the second light quantity increase state to the first light quantity increase state. When it is determined that the first light quantity increase state has continued for a certain time or more, the first mode is switched to the second mode.

S7の後には、第1光量増加状態(第2光量センサ62で検出された第2光量よりも第1光量センサ61で検出された第1光量のほうが大きい状態)から、第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)に変化したか否か、及びその第2光量増加状態が一定時間以上維持されたか否かを判断する(S8)。   After S7, from the first light quantity increase state (the state in which the first light quantity detected by the first light quantity sensor 61 is larger than the second light quantity detected by the second light quantity sensor 62), the second light quantity increase state ( It is determined whether or not the second light amount has changed to a state in which the second light amount is greater than the first light amount, and whether or not the second light amount increase state has been maintained for a certain time or longer (S8).

上述したように、本実施形態に係る光学的情報読取装置1は、不使用時に、図4(a)のように載置されやすく、使用時には、図4(b)のように読取口5を読取対象物R側に向けて使用されるため、図4(a)のような不使用状態から図4(b)のような使用状態に変化したときには、第2光量センサ62で検出される第2光量のほうが、第1光量センサ61で検出される第1光量よりも大きくなる。本発明では、このような使用形態に着目し、S8において第1光量増加状態から第2光量増加状態に変化したか否かを判断することで、光学的情報読取装置1が使用状態(把持状態)とされたか否かを判断している。   As described above, the optical information reading apparatus 1 according to the present embodiment is easily placed as shown in FIG. 4A when not in use, and the reading port 5 is provided as shown in FIG. Since it is used toward the reading object R side, the second light amount sensor 62 detects the second light amount sensor 62 when the non-use state as shown in FIG. 4A changes to the use state as shown in FIG. The two light amounts are larger than the first light amount detected by the first light amount sensor 61. In the present invention, paying attention to such a usage pattern, it is determined whether or not the optical information reader 1 is in the usage state (gripping state) by determining whether or not the first light amount increase state is changed to the second light amount increase state in S8. ) Or not.

S8において第2光量増加状態が一定時間以上維持されと判断される場合には、S8にてYesに進み、S1に戻って照明光源21を点灯する処理を行い、S1以降の処理を繰り返す。一方、第2光量増加状態が一定時間以上維持されない場合にはS8Noの待機処理を繰り返す。なお、S6の「一定時間」とS8の「一定時間」は同程度であってもよく、異なっていてもよい。   If it is determined in S8 that the second light quantity increase state is maintained for a predetermined time or longer, the process proceeds to Yes in S8, returns to S1, performs the process of turning on the illumination light source 21, and repeats the processes after S1. On the other hand, if the second light quantity increase state is not maintained for a certain time or longer, the standby process of S8 No is repeated. The “certain time” in S6 and the “certain time” in S8 may be the same or different.

本実施形態では、比較器65が「比較手段」の一例に相当し、第1光量センサ61によって検出された第1光量と、第2光量センサによって検出された第2光量とを比較する機能を有する。   In the present embodiment, the comparator 65 corresponds to an example of “comparison means”, and has a function of comparing the first light amount detected by the first light amount sensor 61 and the second light amount detected by the second light amount sensor. Have.

また、本実施形態では、図3の処理を実行する制御回路40が「切替手段」の一例に相当し、比較器65(比較手段)による比較結果の変化に基づいて、所定の第1モードと、第1モードのときよりも当該光学的情報読取装置の消費電力を抑える第2モードとを切り替える機能を有する。   Further, in the present embodiment, the control circuit 40 that executes the processing of FIG. 3 corresponds to an example of “switching means”, and based on a change in the comparison result by the comparator 65 (comparison means), a predetermined first mode and The function of switching between the second mode and the second mode in which the power consumption of the optical information reading apparatus is reduced as compared with the first mode.

また、本実施形態では、制御回路40が「点灯制御手段」の一例に相当し、第1モードにおいて照明光源21について第1の点灯制御を行い、第2モードにおいて照明光源21の点灯中止を行うように機能する。   In the present embodiment, the control circuit 40 corresponds to an example of a “lighting control unit”, performs the first lighting control for the illumination light source 21 in the first mode, and stops the lighting of the illumination light source 21 in the second mode. To function.

本実施形態の構成によれば、例えば以下のような効果を奏する。
本実施形態の光学的情報読取装置1では、読取口5側に第1光量センサ61が取り付けられ、読取口5とは異なる側に第2光量センサ62が取り付けられている。更に、第1光量センサ61によって検出された第1光量と、第2光量センサ62によって検出された第2光量とを比較し、その比較結果の変化に基づいて第1モードと第2モード(第1モードのときよりも消費電力を抑えたモード)とを切り替えている。このようにすると、載置状態から把持状態、或いは把持状態から載置状態に変化したことを、2位置の光量比較結果の変化に基づいて迅速かつ的確に把握でき、その比較結果の変化をトリガとすることで、作業者に複雑な操作やこまめな操作を強いることなくモードを適切に切り替えることができる。
According to the configuration of the present embodiment, for example, the following effects can be obtained.
In the optical information reading apparatus 1 of the present embodiment, the first light quantity sensor 61 is attached to the reading opening 5 side, and the second light quantity sensor 62 is attached to the side different from the reading opening 5. Further, the first light amount detected by the first light amount sensor 61 is compared with the second light amount detected by the second light amount sensor 62, and the first mode and the second mode (first mode) are compared based on the change in the comparison result. Mode in which power consumption is suppressed as compared with the mode 1). In this way, it is possible to quickly and accurately grasp the change from the mounting state to the gripping state, or from the gripping state to the mounting state, based on the change in the light quantity comparison result at the two positions, and trigger the change in the comparison result. By doing so, the mode can be appropriately switched without forcing the operator to perform complicated operations or diligent operations.

また、ケース2の長手方向と直交する方向に関し、読取口5が向く側を下方側とし、それとは反対側を上方側としたとき、ケース2の下方側に第1光量センサ61が配置され、第2光量センサ62が第1光量センサ61よりも上方側に配置されている。このようにすると、ケース2下方側を載置面に向けて載置する休止形態、或いはケース2上方側を載置面に向けて載置する休止形態のいずれの場合においても、載置状態(休止状態)から把持状態へ変化したときに、第1光量と第2光量との比較結果が変化しやすくなる。従って、本発明に係る装置が作業者によって使用されようとする状態(把持状態)を迅速且つ的確に把握して、当該装置を第2モードから復帰させることができる。   Further, with respect to the direction orthogonal to the longitudinal direction of the case 2, the first light amount sensor 61 is disposed on the lower side of the case 2 when the side facing the reading port 5 is the lower side and the opposite side is the upper side. The second light quantity sensor 62 is disposed above the first light quantity sensor 61. In this case, in the case of either the resting mode in which the lower side of the case 2 is placed toward the placement surface or the resting mode in which the upper side of the case 2 is placed toward the placement surface, the placement state ( When the state changes from the resting state to the gripping state, the comparison result between the first light amount and the second light amount is likely to change. Therefore, it is possible to quickly and accurately grasp the state (gripping state) in which the device according to the present invention is to be used by the operator, and return the device from the second mode.

また、本実施形態では、読取口5から受光センサ23(撮像手段)に連通する導光路6に第1光量センサ61が設けられている。このように、導光路6に第1光量センサ61を設けると、読取口5の位置、向きに応じて第1光量が大きく変化しやすくなるため、装置が載置状態から把持状態に変化したときに第1光量と第2光量との比較結果がより一層変化しやすくなる。   In the present embodiment, the first light amount sensor 61 is provided in the light guide path 6 that communicates from the reading port 5 to the light receiving sensor 23 (imaging means). As described above, when the first light amount sensor 61 is provided in the light guide path 6, the first light amount is likely to change greatly depending on the position and orientation of the reading port 5, so that the apparatus changes from the mounted state to the gripping state. In addition, the comparison result between the first light quantity and the second light quantity is more likely to change.

また、本実施形態では、第1光量センサ61が受光センサ23とは異なる受光素子によって構成されている。このようにすると、受光センサ23の動作状態に依存することなく第1光量を検出でき、例えば、制御回路40のCPUがスリープ状態となっている場合であっても第1光量と第2光量の比較を良好に行うことができる。   In the present embodiment, the first light amount sensor 61 is configured by a light receiving element different from the light receiving sensor 23. In this way, the first light amount can be detected without depending on the operation state of the light receiving sensor 23. For example, even when the CPU of the control circuit 40 is in the sleep state, the first light amount and the second light amount are detected. The comparison can be performed satisfactorily.

また、第1モードにおいて照明光源21に対し第1の点灯制御を行い、第2モードにおいて照明光源21の点灯中止を行うように構成されている。このようにすると、第1モードにおいて良好に読み取りを行うことができ、第2モードにおいては、効果的に省電力化を図ることができる。そして、このように定められる第1モード及び第2モードを、2つの光量センサの比較結果に基づいて適切なタイミングで切り替えることができ、読み取り作業性の向上、及び省電力化を共に良好に実現できる。   Further, the first lighting control is performed on the illumination light source 21 in the first mode, and the lighting of the illumination light source 21 is stopped in the second mode. In this way, good reading can be performed in the first mode, and power saving can be effectively achieved in the second mode. Then, the first mode and the second mode determined in this way can be switched at an appropriate timing based on the comparison result of the two light quantity sensors, and both improvement in reading workability and power saving can be realized satisfactorily. it can.

また、第1光量増加状態(第2光量よりも第1光量のほうが大きい状態)から、第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)に変化した場合に第2モードから第1モードに切り替えている。このようにすると、読取口5を上方側に向けて載置する休止方法が採られる場合に、休止状態(載置状態)から把持状態への変化を迅速且つ的確に検出でき、休止状態(載置状態)にある装置が使用者によって把持されたときに迅速に省電力モード(第2モード)から復帰できるようになる。   Further, when the first light quantity increasing state (the first light quantity is larger than the second light quantity) is changed to the second light quantity increasing state (the second light quantity is larger than the first light quantity), the second mode is set. To the first mode. In this way, when a resting method is employed in which the reading port 5 is placed facing upward, a change from the resting state (mounting state) to the gripping state can be detected quickly and accurately, and the resting state (mounting state) can be detected. When the device in the installation state is gripped by the user, it can be quickly returned from the power saving mode (second mode).

また、本実施形態では、第2光量増加状態が一定時間維持された場合に第2モードから第1モードに切り替えるようにしている。このようにすると、読取口5を上方に向けて載置する休止方法が採られる場合において、載置状態のときにノイズ等の影響によって第1モードに復帰してしまうことを効果的に防止でき、より一層の省電力化を測ることができる。   In the present embodiment, the second mode is switched from the second mode to the first mode when the second light quantity increase state is maintained for a certain period of time. In this way, when a resting method is employed in which the reading port 5 is placed with the reading port 5 facing upward, it is possible to effectively prevent returning to the first mode due to the influence of noise or the like in the loading state. Therefore, further power saving can be measured.

また、本実施形態では、比較器65による比較結果が第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)から第1光量増加状態(第2光量よりも第1光量のほうが大きい状態)に変化したことを示し、かつデコード不成功期間が一定期間に達した場合に第1モードから第2モードに切り替えている。比較結果が上記のような結果となり、かつデコード不成功期間が一定期間に達した場合、読取口5を上方に向けて載置された載置状態(休止状態)となった可能性が高く、このような場合に第2モードに切り替える構成とすれば、休止状態を迅速且つ適切に検出して省電力化を効果的に実現できる。   Further, in the present embodiment, the comparison result by the comparator 65 changes from the second light quantity increase state (the second light quantity is larger than the first light quantity) to the first light quantity increase state (the first light quantity than the second light quantity). When the decoding unsuccessful period reaches a certain period, the first mode is switched to the second mode. When the comparison result is as described above and the decoding failure period reaches a certain period, there is a high possibility that the reading state is placed with the reading port 5 facing upward (resting state). In such a case, if the configuration is switched to the second mode, the hibernation state can be detected quickly and appropriately, and power saving can be effectively realized.

[第2実施形態]
次に第2実施形態について説明する。図6は、第2実施形態に係る光学的情報読取装置にて行なわれる読取処理の流れを例示するフローチャートである。また、図7(a)は、第2実施形態に係る光学的情報読取装置の不使用状態(休止状態)を概略的に例示する説明図であり、図7(b)は、その休止状態から把持状態に変化した様子を概略的に例示する説明図である。
[Second Embodiment]
Next, a second embodiment will be described. FIG. 6 is a flowchart illustrating the flow of a reading process performed by the optical information reading apparatus according to the second embodiment. FIG. 7A is an explanatory diagram schematically illustrating the non-use state (rest state) of the optical information reading apparatus according to the second embodiment, and FIG. It is explanatory drawing which illustrates roughly a mode that it changed to the holding state.

本実施形態に係る光学的情報読取装置は、ハードウェア構成は図1、図2、図5で示した構成と同様であり、ソフトウェア処理が第1実施形態と異なっている。よって、ハードウェア構成をについては、適宜図1、図2、図5を参照し、詳細な説明は省略する。   The optical information reading apparatus according to this embodiment has the same hardware configuration as that shown in FIGS. 1, 2, and 5, and the software processing is different from that of the first embodiment. Therefore, with regard to the hardware configuration, the detailed description will be omitted with reference to FIGS. 1, 2, and 5 as appropriate.

第2実施形態の光学的情報読取装置では、図6のような流れで読取処理が行われる。この読取処理では、まずS21にて照明光源21の点灯処理を行い、その後S22にて画像取得処理を行う。そして、そのS22で取得された画像についてデコード処理を行う(S23)。なお、S21〜S23の処理は、第1実施形態のS1〜S3(図3)の処理と同様である。   In the optical information reading apparatus of the second embodiment, the reading process is performed in the flow as shown in FIG. In this reading process, the lighting process of the illumination light source 21 is first performed in S21, and then the image acquisition process is performed in S22. Then, the decoding process is performed on the image acquired in S22 (S23). In addition, the process of S21-S23 is the same as the process of S1-S3 (FIG. 3) of 1st Embodiment.

その後、S24のデコード処理においてデコードが成功したか否かを判断し、成功した場合にはS29の出力処理を行なう。なお、S24の判断処理、S29の出力処理も、それぞれ第1実施形態のS4の判断処理、S9の出力処理と同様である。また、S24にてNoに進む場合には、デコード不成功期間が一定期間に達したか否かを判断する(S25)。このS25の判断処理も、第1実施形態のS5の判断処理と同様である。   Thereafter, it is determined whether or not the decoding is successful in the decoding process of S24. If the decoding is successful, the output process of S29 is performed. Note that the determination process in S24 and the output process in S29 are the same as the determination process in S4 and the output process in S9 of the first embodiment, respectively. When the process proceeds to No in S24, it is determined whether the unsuccessful decoding period has reached a certain period (S25). The determination process in S25 is the same as the determination process in S5 of the first embodiment.

S25にてYesに進む場合、第2光量センサ62で検出された光量(第2光量)よりも第1光量センサ61で検出された光量(第1光量)のほうが大きい第1光量増加状態から、第1光量よりも第2光量のほうが大きい第2光量増加状態に変化したか否か、及びその第2光量増加状態が一定時間以上維持されたか否かを判断する(S26)。   When the process proceeds to Yes in S25, from the first light quantity increase state in which the light quantity (first light quantity) detected by the first light quantity sensor 61 is larger than the light quantity (second light quantity) detected by the second light quantity sensor 62, It is determined whether or not the second light amount has changed to a second light amount increase state in which the second light amount is greater than the first light amount, and whether or not the second light amount increase state has been maintained for a certain period of time (S26).

本実施形態に係る光学的情報読取装置は、不使用時に、図7(a)のように読取口5を載置面70側に向けて載置されると、第1光量センサ61が載置面70と対向し且つケース2によって覆われた格好となり、第2光量センサ62側には、図7(a)の矢印にて示すように照明光(工場や店舗などの照明光)や太陽光(屋外や太陽光が入射しやすい場所で使用する場合)が入射しやすくなる。このため、図7(a)のように載置される不使用時には、第2光量センサ62で検出される第2光量のほうが、第1光量センサ61で検出される第1光量よりも大きくなる。本発明では、このような使用形態に着目し、S26において第1光量増加状態から第2光量増加状態に変化したか否かを判断することで、光学的情報読取装置1が載置状態(休止状態)とされたか否かを判断している。   When the optical information reader according to the present embodiment is placed with the reading port 5 facing the placement surface 70 as shown in FIG. 7A when not in use, the first light quantity sensor 61 is placed. The surface 70 is opposed to and covered with the case 2, and the second light quantity sensor 62 side has illumination light (illumination light from a factory, a store, etc.) or sunlight as indicated by an arrow in FIG. (When used outdoors or in a place where sunlight is likely to enter) is likely to be incident. For this reason, the second light quantity detected by the second light quantity sensor 62 is larger than the first light quantity detected by the first light quantity sensor 61 when not placed as shown in FIG. . In the present invention, paying attention to such a usage pattern, it is determined in S26 whether or not the first light quantity increase state has changed to the second light quantity increase state, so that the optical information reader 1 is placed in the placement state (pause). It is determined whether or not the state has been set.

なお、使用時には、光学的情報読取装置が様々な姿勢となるため、瞬間的に第2光量増加状態に変化することもありうる。従って、上記一定時間をある程度長くしたり、或いは第2光量が第1光量を一定値以上上回り、かつその上回る期間が一定時間に達した場合にS26にてYesに進むようにしてもよい。   In use, since the optical information reading device is in various postures, it may be instantaneously changed to the second light quantity increase state. Accordingly, the predetermined time may be lengthened to some extent, or when the second light amount exceeds the first light amount by a certain value and the period exceeding the predetermined time reaches the predetermined time, the process may proceed to Yes in S26.

S26において、第2光量増加状態が一定時間以上維持されたと判断される場合にはYesに進み、照明光源21を消灯し、読取処理を停止状態に設定する(S27)。なお、S27の処理は、第1実施形態のS7(図3)と同様であり、このとき、制御回路40のCPUをスリープ状態(例えば、CPUを間欠駆動させたり、或いはCPUのクロック周波数を小さくすることでCPUの動作電力を抑える状態)としてもよい。   If it is determined in S26 that the second light quantity increase state has been maintained for a predetermined time or longer, the process proceeds to Yes, the illumination light source 21 is turned off, and the reading process is set to a stopped state (S27). The processing of S27 is the same as S7 (FIG. 3) of the first embodiment. At this time, the CPU of the control circuit 40 is in a sleep state (for example, the CPU is intermittently driven or the CPU clock frequency is reduced). This may be a state in which the operating power of the CPU is suppressed.

なお、本実施形態では、S21の処理開始後からS27の処理開始前までの間、制御回路40の制御によって照明光源21の点灯を持続させており、この点灯持続制御が「第1の点灯制御」に相当している。一方、S26にてYesに進むときには、S27にて照明光源21の点灯中止を行い、省電力化を図っている。   In the present embodiment, lighting of the illumination light source 21 is continued by the control of the control circuit 40 from the start of the process of S21 to the start of the process of S27, and this lighting continuous control is referred to as “first lighting control”. Is equivalent to. On the other hand, when the process proceeds to Yes in S26, the lighting of the illumination light source 21 is stopped in S27 to save power.

また、本実施形態では、S21の処理開始後からS27の処理開始前までの状態が第1モードに相当しており、S27の処理開始後からS21の処理開始前までの状態が第2モードに相当している。なお、S27の処理は、第1モードから第2モードに切り替える処理に相当し、S21の処理は第2モードから第1モードに切り替える処理に相当する。   In the present embodiment, the state from the start of the process of S21 to the start of the process of S27 corresponds to the first mode, and the state from the start of the process of S27 to the start of the process of S21 is set to the second mode. It corresponds. Note that the process of S27 corresponds to a process of switching from the first mode to the second mode, and the process of S21 corresponds to a process of switching from the second mode to the first mode.

このように、本実施形態では、S25においてデコード不成功期間が一定期間に達したと判断され、S26において、比較器65(比較手段)による比較結果が第1光量増加状態から第2光量増加状態に変化したと判断され、その第2光量増加状態が一定時間以上継続したと判断される場合に第1モードから第2モードに切り替えている。   Thus, in this embodiment, it is determined in S25 that the unsuccessful decoding period has reached a certain period, and in S26, the comparison result by the comparator 65 (comparison means) is changed from the first light quantity increase state to the second light quantity increase state. When it is determined that the second light quantity increase state has continued for a certain time or more, the first mode is switched to the second mode.

S27の後には、比較器65の比較結果が第2光量増加状態から第1光量増加状態に変化したか否か、及びその第1光量増加状態が一定時間以上維持されたか否かを判断する(S28)。   After S27, it is determined whether or not the comparison result of the comparator 65 has changed from the second light quantity increase state to the first light quantity increase state, and whether or not the first light quantity increase state has been maintained for a certain time or more ( S28).

本実施形態に係る光学的情報読取装置1は、図7(a)のように載置された不使用状態(載置状態)から、作業者によって把持される把持状態に変化し、図7(b)のように読取口5が明るい方に向けられたとき(或いは第2光量センサ62が暗いほうに向けられたとき)、第1光量センサ61で検出される第1光量のほうが、第2光量センサ62で検出される第2光量よりも大きくなる。従って、本実施形態では、S28において第2光量増加状態から第1光量増加状態に変化したか否かを判断することで、光学的情報読取装置1が使用状態(把持状態)とされたか否かを判断している。   The optical information reading apparatus 1 according to the present embodiment changes from a non-use state (mounting state) placed as shown in FIG. 7A to a gripping state held by an operator. When the reading port 5 is directed toward the bright side (or when the second light amount sensor 62 is directed toward the dark side) as in b), the first light amount detected by the first light amount sensor 61 is the second. It becomes larger than the second light amount detected by the light amount sensor 62. Therefore, in this embodiment, whether or not the optical information reading apparatus 1 is in the use state (gripping state) is determined by determining whether or not the second light amount increase state is changed to the first light amount increase state in S28. Judging.

S28において第1光量増加状態が一定時間以上維持されと判断される場合には、S28にてYesに進み、S21に戻って照明光源21を点灯する処理を行い、S21以降の処理を繰り返す。一方、第1光量増加状態が一定時間以上維持されない場合にはS28Noの待機処理を繰り返す。なお、S26の「一定時間」とS28の「一定時間」は同程度であってもよく、異なっていてもよい。   If it is determined in S28 that the first light quantity increase state is maintained for a certain time or longer, the process proceeds to Yes in S28, returns to S21, performs the process of turning on the illumination light source 21, and repeats the processes after S21. On the other hand, if the first light quantity increase state is not maintained for a certain period of time, the standby process of S28 No is repeated. The “certain time” in S26 and the “certain time” in S28 may be the same or different.

なお、本実施形態でも、照明光源21(図2)が「照明手段」の一例に相当し、受光センサ23(図2)が「撮像手段」の一例に相当し、第1光量センサ61、第2光量センサ62がそれぞれ「第1光量検出手段」「第2光量検出手段」の一例に相当する。また、制御回路40が、「デコード手段」「比較手段」「切替手段」「点灯制御手段」の一例に相当し、比較器65(図5)が、「比較手段」の一例に相当する。   Also in this embodiment, the illumination light source 21 (FIG. 2) corresponds to an example of “illuminating means”, and the light receiving sensor 23 (FIG. 2) corresponds to an example of “imaging means”. The two light quantity sensors 62 correspond to examples of “first light quantity detection means” and “second light quantity detection means”, respectively. The control circuit 40 corresponds to an example of “decoding means”, “comparison means”, “switching means”, and “lighting control means”, and the comparator 65 (FIG. 5) corresponds to an example of “comparison means”.

本実施形態の構成によれば、例えば以下のような効果を奏する。
本実施形態では、比較器65(図5)による比較結果が第2光量増加状態(第1光量よりも第2光量のほうが大きい状態)から第1光量増加状態(第2光量よりも第1光量のほうが大きい状態)に変化したことを示す場合に第2モードから第1モードに切り替えている。このようにすると、図7(a)のように読取口5を下方に向けた状態で載置する休止方法が採られる場合に、休止状態(載置状態)から把持状態(図7(b)参照)への変化を迅速且つ的確に検出でき、休止状態(載置状態)にある装置が使用者によって把持されたときに迅速に省電力モード(第2モード)から復帰できるようになる。
According to the configuration of the present embodiment, for example, the following effects can be obtained.
In this embodiment, the comparison result by the comparator 65 (FIG. 5) changes from the second light quantity increase state (the second light quantity is larger than the first light quantity) to the first light quantity increase state (the first light quantity than the second light quantity). The second mode is switched to the first mode in the case of indicating that the state has changed to a larger state. In this case, when a resting method is employed in which the reading port 5 is placed with the reading port 5 facing downward as shown in FIG. 7A, the gripping state (FIG. 7B) is changed from the resting state (mounting state). Change to the reference) can be detected quickly and accurately, and when the device in the resting state (mounted state) is gripped by the user, it can be quickly returned from the power saving mode (second mode).

また、本実施形態では、第1光量増加状態が一定時間維持された場合に第2モードから第1モードに切り替えている。このようにすると、読取口5を下方に向けて載置する休止方法が採られる場合において、載置状態のときにノイズ等の影響によって第1モードに復帰してしまうことを効果的に防止でき、より一層の省電力化を測ることができる。   In the present embodiment, the second mode is switched to the first mode when the first light quantity increase state is maintained for a certain period of time. In this way, when the resting method of placing the reading port 5 facing downward is adopted, it is possible to effectively prevent returning to the first mode due to the influence of noise or the like in the placed state. Therefore, further power saving can be measured.

また、本実施形態では、比較器65(図5)による比較結果が第1光量増加状態から第2光量増加状態に変化したことを示し、かつデコード不実施期間が一定期間に達した場合に第1モードから第2モードに切り替えている。比較結果が上記のような結果となり、かつデコード不成功期間が一定期間に達した場合、読取口5を下方に向けて載置された載置状態(休止状態)となった可能性が高く、このような場合に第2モードに切り替える構成とすれば、休止状態を迅速且つ適切に検出して省電力化を効果的に実現できる。   Further, in the present embodiment, the comparison result by the comparator 65 (FIG. 5) indicates that the first light quantity increase state has changed to the second light quantity increase state, and the decoding non-execution period reaches a certain period. The mode is switched from the first mode to the second mode. When the comparison result is as described above and the decoding unsuccessful period reaches a certain period, there is a high possibility that the reading port 5 is placed in a downward state (pause state). In such a case, if the configuration is switched to the second mode, the hibernation state can be detected quickly and appropriately, and power saving can be effectively realized.

[第3実施形態]
次に第3実施形態について説明する。図8は、第3実施形態に係る光学的情報読取装置の内部構成を概略的に示す概略図である。なお、本実施形態は、第1光量センサ61を省略した点及び受光センサ23を第2光量検出手段として兼用している点が第1実施形態及び第2実施形態とハードウェア的に異なる。なお、ソフトウェア処理は、図3のような読取処理を行うようにしてもよく、図6のような読取処理を行うようにしてもよいが、以下の説明では、代表例として、図3の読取処理を行なう場合について詳述する。
[Third Embodiment]
Next, a third embodiment will be described. FIG. 8 is a schematic diagram schematically showing the internal configuration of the optical information reading apparatus according to the third embodiment. The present embodiment is different from the first and second embodiments in terms of hardware in that the first light amount sensor 61 is omitted and the light receiving sensor 23 is also used as the second light amount detection means. The software processing may be performed as shown in FIG. 3 or may be performed as shown in FIG. 6. In the following description, as a representative example, the reading processing shown in FIG. The case where processing is performed will be described in detail.

本実施形態の光学的情報読取装置300によって図3の読取処理を行なう場合でも、第1実施形態と同様にS1〜S5、S9の処理が行われる。一方、S6の判断処理を行なう場合には、受光センサ23によって検出された光量を第1光量とし、その第1光量と第2光量センサ62によって検出された第2光量とを比較する。そして、その比較結果に基づいて、第1光量よりも第2光量のほうが大きい第2光量増加状態から第2光量よりも第1光量のほうが大きい第1光量増加状態に変化したか否か、及びその第1光量増加状態が一定時間以上維持されたか否かを判断する(S6)。即ち、本実施形態では、受光センサ23が撮像手段としての機能と、第1光量検出手段としての機能とを有しており、S6では、受光センサ23を第1光量検出手段として機能させて判断処理を行っている。具体的には、受光センサ23を構成する複数の受光素子の各受光光量の平均値を第1光量として、当該第1光量と第2光量とを比較する。   Even when the reading process of FIG. 3 is performed by the optical information reading apparatus 300 of the present embodiment, the processes of S1 to S5 and S9 are performed as in the first embodiment. On the other hand, when the determination process of S6 is performed, the light amount detected by the light receiving sensor 23 is set as the first light amount, and the first light amount and the second light amount detected by the second light amount sensor 62 are compared. Then, based on the comparison result, whether or not the second light amount increased state where the second light amount is larger than the first light amount has changed to the first light amount increased state where the first light amount is larger than the second light amount, and It is determined whether or not the first light quantity increase state has been maintained for a predetermined time or longer (S6). In other words, in the present embodiment, the light receiving sensor 23 has a function as an imaging unit and a function as a first light amount detecting unit. In S6, the light receiving sensor 23 is made to function as the first light amount detecting unit. Processing is in progress. Specifically, the first light amount and the second light amount are compared with an average value of received light amounts of a plurality of light receiving elements constituting the light receiving sensor 23 as a first light amount.

S6において、第1光量増加状態が一定時間以上維持されたと判断される場合には、S6にてYesに進み、S7の処理を行う。なお、S7の処理は第1実施形態と同様である。   If it is determined in S6 that the first light quantity increase state has been maintained for a certain time or longer, the process proceeds to Yes in S6, and the process of S7 is performed. Note that the processing of S7 is the same as in the first embodiment.

S7の後には、第1光量増加状態から第2光量増加状態に変化したか否か、及びその第2光量増加状態が一定時間以上維持されたか否かを判断する(S8)。このときにも、受光センサ23を第1光量検出手段として機能させ、受光センサ23を構成する複数の受光素子の各受光光量の平均値を第1光量として、当該第1光量と第2光量とを比較し、第2光量が第1光量を上回る状態が一定時間以上持続したか否か(即ち、第2光量増加状態が一定時間以上持続したか否か)を判断する。なお、第2光量増加状態が一定時間以上持続したと判断される場合にはS8にてYesに進み、第1実施形態と同様にS1以降の処理を繰り返す。一方、第2光量増加状態が一定時間以上持続していないときにはS8Noの待機処理を繰り返す。   After S7, it is determined whether or not the first light quantity increase state has changed to the second light quantity increase state, and whether or not the second light quantity increase state has been maintained for a certain period of time (S8). Also at this time, the light receiving sensor 23 is made to function as the first light quantity detecting means, and the average value of the received light quantities of the plurality of light receiving elements constituting the light receiving sensor 23 is used as the first light quantity. To determine whether or not the state in which the second light quantity exceeds the first light quantity has continued for a certain period of time (that is, whether or not the second light quantity increase state has continued for a certain period of time). If it is determined that the second light quantity increase state has continued for a certain time or more, the process proceeds to Yes in S8, and the processes after S1 are repeated as in the first embodiment. On the other hand, when the second light quantity increase state does not continue for a certain time or longer, the standby process of S8 No is repeated.

本実施形態では、第1光量検出手段が受光センサ23によって兼用されているため、部品点数を抑えることができ、装置構成の簡素化を図りやすくなる。また、受光センサ23を構成する複数の受光素子の各受光光量の平均値を第1光量として、当該第1光量と第2光量とを比較している。このようにすると、ノイズに起因する比較結果の変化を効果的に防ぐことができ、各光量検出手段の配置位置の光量変化をより適切に反映した比較結果を得ることができる。   In the present embodiment, since the first light quantity detection means is also used by the light receiving sensor 23, the number of parts can be suppressed, and the device configuration can be easily simplified. In addition, the first light amount and the second light amount are compared with the average value of the received light amounts of the plurality of light receiving elements constituting the light receiving sensor 23 as the first light amount. In this way, a change in the comparison result due to noise can be effectively prevented, and a comparison result that more appropriately reflects the change in the light amount at the arrangement position of each light amount detection means can be obtained.

[他の実施形態]
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
[Other Embodiments]
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

上記実施形態では、第2モードにおいて照明光源21の点灯中止を行っているが、第2モードにおいて第1モードのときの照明光源21の点灯制御(第1の点灯制御)よりも消費電力を抑えた第2の点灯制御を行うようにしてもよい。第2の点灯制御としては、第1の点灯制御のときより照明光源21を駆動する駆動電流を抑えるようにしてもよく、照明光源21を定期的に点灯する間欠駆動を行うようにしてもよい。   In the above embodiment, lighting of the illumination light source 21 is stopped in the second mode. However, the power consumption is suppressed compared to the lighting control (first lighting control) of the illumination light source 21 in the first mode in the second mode. The second lighting control may be performed. As 2nd lighting control, you may make it suppress the drive current which drives the illumination light source 21 from the time of 1st lighting control, and you may make it perform the intermittent drive which lights the illumination light source 21 regularly. .

上記実施形態では、第1光量センサ61と第2光量センサ62とをそれぞれ異なる側に配置する一例を示したが、配置形態はこれに限られない。例えば、図1の構成において、第1光量センサ61を導光路6における読取口5付近(図1の符号61'参照)に配置するように変更してもよく、ケース2の外面における第2光量センサ62が設けられた一方面側とは反対面側に設けるように変更してもよい(図1の符号61"参照)。第2光量センサ62も様々な場所に配置でき、例えば、図1の構成において、第2光量センサ62を読取口5付近の外面(符号62'参照)に配置するように変更してもよく、把持部付近に配置するように変更してもよい(符号62"参照)。   In the above embodiment, an example in which the first light quantity sensor 61 and the second light quantity sensor 62 are arranged on different sides has been described, but the arrangement form is not limited thereto. For example, in the configuration of FIG. 1, the first light quantity sensor 61 may be changed to be disposed near the reading port 5 in the light guide 6 (see reference numeral 61 ′ in FIG. 1). You may change so that it may provide in the surface on the opposite side to the one surface side in which the sensor 62 was provided (refer the code | symbol 61 "of FIG. 1). The 2nd light quantity sensor 62 can also be arrange | positioned in various places, for example, FIG. In this configuration, the second light quantity sensor 62 may be changed to be disposed on the outer surface near the reading port 5 (see reference numeral 62 ′), or may be changed to be disposed in the vicinity of the grip portion (reference numeral 62 ″). reference).

図1は、本発明の第1実施形態に係る光学的情報読取装置の内部構成を概略的に示す概略図である。FIG. 1 is a schematic diagram schematically showing the internal configuration of the optical information reading apparatus according to the first embodiment of the present invention. 図2は、図1の光学的情報読取装置の電気的構成を例示するブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of the optical information reading apparatus of FIG. 図3は、図1の光学的情報読取装置で行なわれる読取処理の流れを例示するフローチャートである。FIG. 3 is a flowchart illustrating the flow of reading processing performed by the optical information reading apparatus of FIG. 図4(a)は、図1の光学的情報読取装置が使用されていない状態(休止状態)を概略的に例示する説明図であり、図4(b)は、その休止状態から把持状態に変化した様子を概略的に例示する説明図である。4A is an explanatory diagram schematically illustrating a state where the optical information reading device of FIG. 1 is not used (resting state), and FIG. 4B is a state in which the resting state is changed to a gripping state. It is explanatory drawing which illustrates schematically a mode that it changed. 図5は、第1光量と第2光量とを比較した比較結果を制御回路が取得するための構成を概略的に例示するブロック図である。FIG. 5 is a block diagram schematically illustrating a configuration for the control circuit to obtain a comparison result obtained by comparing the first light amount and the second light amount. 図6は、第2実施形態に係る光学的情報読取装置にて行なわれる読取処理の流れを例示するフローチャートである。FIG. 6 is a flowchart illustrating the flow of a reading process performed by the optical information reading apparatus according to the second embodiment. 図7(a)は、第2実施形態に係る光学的情報読取装置の不使用状態(休止状態)を概略的に例示する説明図であり、図7(b)は、その休止状態から把持状態に変化した様子を概略的に例示する説明図である。FIG. 7A is an explanatory diagram schematically illustrating a non-use state (rest state) of the optical information reading apparatus according to the second embodiment, and FIG. 7B is a grip state from the rest state. It is explanatory drawing which illustrates schematically a mode changed to. 図8は、第3実施形態に係る光学的情報読取装置の内部構成を概略的に示す概略図である。FIG. 8 is a schematic diagram schematically showing the internal configuration of the optical information reading apparatus according to the third embodiment.

符号の説明Explanation of symbols

1,300…光学的情報読取装置
2…ケース
5…読取口
6…導光路
21…照明光源(照明手段)
23…受光センサ(撮像手段)
40…制御回路(デコード手段、比較手段、切替手段、点灯制御手段)
61…第1光量センサ(第1光量検出手段)
62…第2光量センサ(第2光量検出手段)
65…比較器(比較手段)
DESCRIPTION OF SYMBOLS 1,300 ... Optical information reader 2 ... Case 5 ... Reading port 6 ... Light guide 21 ... Illumination light source (illumination means)
23. Light receiving sensor (imaging means)
40. Control circuit (decoding means, comparison means, switching means, lighting control means)
61 ... 1st light quantity sensor (1st light quantity detection means)
62 ... Second light quantity sensor (second light quantity detection means)
65 ... Comparator (comparison means)

Claims (13)

情報コードを撮像する撮像手段と、
前記撮像手段によって撮像された前記情報コードの画像に基づいてデコードを行うデコード手段と、
前記撮像手段を収容すると共に、前記情報コードからの反射光を前記撮像手段に導く読取口が形成されたケースと、
を備えた光学的情報読取装置であって、
前記ケースの前記読取口側に取り付けられた第1光量検出手段と、
前記ケースの前記読取口とは異なる側に取り付けられた第2光量検出手段と、
前記第1光量検出手段によって検出された第1光量と、前記第2光量検出手段によって検出された第2光量とを比較する比較手段と、
所定の第1モードと、前記第1モードのときよりも当該光学的情報読取装置の消費電力を抑える第2モードとを切り替える切替手段と、
を備え、
前記切替手段は、前記比較手段の比較結果の変化に基づいて前記第1モードと前記第2モードとを切り替えることを特徴とする光学的情報読取装置。
An imaging means for imaging the information code;
Decoding means for decoding based on the image of the information code imaged by the imaging means;
A case in which a reading port for accommodating the imaging unit and guiding reflected light from the information code to the imaging unit is formed;
An optical information reader comprising:
First light quantity detection means attached to the reading port side of the case;
Second light amount detecting means attached to a side of the case different from the reading port;
Comparison means for comparing the first light quantity detected by the first light quantity detection means with the second light quantity detected by the second light quantity detection means;
Switching means for switching between a predetermined first mode and a second mode in which the power consumption of the optical information reading device is reduced as compared with the first mode;
With
The optical information reading apparatus, wherein the switching unit switches between the first mode and the second mode based on a change in a comparison result of the comparison unit.
前記ケースは、前記読取口が所定方向に向いた構成をなしており、
前記第1光量検出手段は、前記読取口が向く側を下方側とし、それとは反対側を上方側としたときの前記ケースの下方側に配置され、前記第2光量検出手段は、前記第1光量検出手段よりも上方側に配置されていることを特徴とする請求項1に記載の光学的情報読取装置。
The case has a configuration in which the reading port is oriented in a predetermined direction,
The first light quantity detection means is disposed on the lower side of the case when the side facing the reading port is the lower side and the opposite side is the upper side, and the second light quantity detection means is the first light quantity detection means. 2. The optical information reading device according to claim 1, wherein the optical information reading device is disposed above the light amount detection means.
前記第1光量検出手段は、前記ケース内における前記読取口から前記撮像手段に連通する導光路に設けられていることを特徴とする請求項1又は請求項2に記載の光学的情報読取装置。   3. The optical information reading apparatus according to claim 1, wherein the first light amount detection unit is provided in a light guide path that communicates with the imaging unit from the reading port in the case. 4. 前記撮像手段は、前記反射光を受光する受光センサを有してなり、
前記第1光量検出手段は前記受光センサとは異なる受光素子によって構成されていることを特徴とする請求項1から請求項3のいずれか一項に記載の光学的情報読取装置。
The imaging means comprises a light receiving sensor that receives the reflected light,
4. The optical information reading apparatus according to claim 1, wherein the first light quantity detection unit is configured by a light receiving element different from the light receiving sensor. 5.
前記撮像手段は、前記反射光を受光する受光センサを有してなり、
前記第1光量検出手段は前記受光センサによって兼用されていることを特徴とする請求項1から請求項3のいずれか一項に記載の光学的情報読取装置。
The imaging means comprises a light receiving sensor that receives the reflected light,
The optical information reader according to any one of claims 1 to 3, wherein the first light quantity detection unit is also used by the light receiving sensor.
前記読取口に向けて照明光を照射する照明手段と、
前記第1モードにおいて前記照明手段について第1の点灯制御を行い、前記第2モードにおいて、前記第1の点灯制御よりも消費電力を抑えた第2の点灯制御又は前記照明手段の点灯中止を行う点灯制御手段と、
を備えたことを特徴とする請求項1から請求項5のいずれか1項に記載の光学的情報読取装置。
Illuminating means for irradiating illumination light toward the reading port;
In the first mode, the first lighting control is performed on the lighting unit, and in the second mode, the second lighting control with lower power consumption than the first lighting control or the lighting unit is stopped. Lighting control means;
The optical information reading apparatus according to claim 1, further comprising:
前記切替手段は、前記比較手段による前記比較結果が、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態から、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態に変化したことを示す場合に、前記第2モードから前記第1モードに切り替えることを特徴とする請求項1から請求項6のいずれか一項に記載の光学的情報読取装置。   The switching means has a second light quantity in which the second light quantity is greater than the first light quantity from a first light quantity increase state in which the comparison result by the comparison means is greater in the first light quantity than in the second light quantity. The optical information reader according to any one of claims 1 to 6, wherein the optical information reader is switched from the second mode to the first mode when it indicates that the state has increased. 前記切替手段は、前記比較手段による前記比較結果が、前記第1光量増加状態から前記第2光量増加状態に変化したことを示し、かつ前記第2光量増加状態が一定時間維持された場合に、前記第2モードから前記第1モードに切り替えることを特徴とする請求項7に記載の光学的情報読取装置。   The switching means indicates that the comparison result by the comparison means has changed from the first light quantity increase state to the second light quantity increase state, and when the second light quantity increase state is maintained for a certain time, The optical information reading apparatus according to claim 7, wherein the second mode is switched to the first mode. 前記切替手段は、前記比較手段による前記比較結果が、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態から、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態に変化したことを示し、かつ前記デコード手段によるデコード不成功期間が一定期間に達した場合に前記第1モードから前記第2モードに切り替えることを特徴とする請求項1から請求項8のいずれか一項に記載の光学的情報読取装置。   The switching means has a first light quantity in which the first light quantity is greater than the second light quantity from a second light quantity increase state in which the comparison result by the comparison means is greater in the second light quantity than in the first light quantity. 9. The method according to claim 1, wherein the first mode is switched to the second mode when a decoding failure period by the decoding means reaches a certain period, indicating that the state has changed to an increase state. The optical information reading apparatus according to any one of the above. 前記撮像手段は、前記反射光を受光する複数の受光素子からなる受光センサを有し、
前記第1光量検出手段は前記受光センサによって兼用されており、
前記比較手段は、複数の前記受光素子の各受光光量の平均値を前記第1光量として、当該第1光量と前記第2光量とを比較することを特徴とする請求項7から請求項9のいずれか一項に記載の光学的情報読取装置。
The imaging means includes a light receiving sensor including a plurality of light receiving elements that receive the reflected light,
The first light amount detecting means is also used by the light receiving sensor,
The said comparison means compares the said 1st light quantity and the said 2nd light quantity by making the average value of each received light quantity of the said some light receiving element into the said 1st light quantity. The optical information reading apparatus according to any one of the above.
前記切替手段は、前記比較手段による前記比較結果が、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態から、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態に変化したことを示す場合に、前記第2モードから前記第1モードに切り替えることを特徴とする請求項1から請求項6のいずれか一項に記載の光学的情報読取装置。   The switching means has a first light quantity in which the first light quantity is greater than the second light quantity from a second light quantity increase state in which the comparison result by the comparison means is greater in the second light quantity than in the first light quantity. The optical information reader according to any one of claims 1 to 6, wherein the optical information reader is switched from the second mode to the first mode when it indicates that the state has increased. 前記切替手段は、前記比較手段による前記比較結果が、前記第2光量増加状態から前記第1光量増加状態に変化したことを示し、かつ前記第1光量増加状態が一定時間維持された場合に前記第2モードから前記第1モードに切り替えることを特徴とする請求項11に記載の光学的情報読取装置。   The switching means indicates that the comparison result by the comparing means has changed from the second light quantity increase state to the first light quantity increase state, and when the first light quantity increase state is maintained for a certain time. The optical information reader according to claim 11, wherein the optical information reader is switched from a second mode to the first mode. 前記切替手段は、前記比較手段による前記比較結果が、前記第2光量よりも前記第1光量のほうが大きい第1光量増加状態から、前記第1光量よりも前記第2光量のほうが大きい第2光量増加状態に変化したことを示し、かつ前記デコード手段によるデコード不実施期間が一定期間に達した場合に前記第1モードから前記第2モードに切り替えることを特徴とする請求項1から請求項6、請求項11、請求項12のいずれか一項に記載の光学的情報読取装置。   The switching means has a second light quantity in which the second light quantity is greater than the first light quantity from a first light quantity increase state in which the comparison result by the comparison means is greater in the first light quantity than in the second light quantity. The switch from the first mode to the second mode when the decoding non-execution period by the decoding means reaches a certain period, indicating that the state has changed to an increased state. The optical information reader according to any one of claims 11 and 12.
JP2008281198A 2008-10-31 2008-10-31 Optical information reader Expired - Fee Related JP5045642B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008281198A JP5045642B2 (en) 2008-10-31 2008-10-31 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008281198A JP5045642B2 (en) 2008-10-31 2008-10-31 Optical information reader

Publications (2)

Publication Number Publication Date
JP2010108349A JP2010108349A (en) 2010-05-13
JP5045642B2 true JP5045642B2 (en) 2012-10-10

Family

ID=42297722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008281198A Expired - Fee Related JP5045642B2 (en) 2008-10-31 2008-10-31 Optical information reader

Country Status (1)

Country Link
JP (1) JP5045642B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5351291B2 (en) 2011-03-31 2013-11-27 東芝テック株式会社 Code reading device, sales data processing device, and program

Also Published As

Publication number Publication date
JP2010108349A (en) 2010-05-13

Similar Documents

Publication Publication Date Title
US8196834B2 (en) Scan engine with integrated object sensor in electro-optical readers
JP4403975B2 (en) Optical information reader
US7980470B2 (en) Adaptive power management in imaging systems
US20140246496A1 (en) Apparatus for and method of optimizing target reading performance of imaging reader in both handheld and hands-free modes of operation
JP5167833B2 (en) Optical information reader
JP4968093B2 (en) Optical information reader
JP5045642B2 (en) Optical information reader
JP4111216B2 (en) Optical information reader
JP2007133566A (en) Information code reading device
JP2010240785A (en) Picking system
JP5786784B2 (en) Information code reader
JPH11312214A (en) Symbol reader
JP4466522B2 (en) Optical information reader
JP2010097316A (en) Optical information reader
JP5786783B2 (en) Information code reader
JPH11312212A (en) Symbol reader
JP2010134595A (en) Information code reading device
JP2006260211A (en) Information reader
JP6263932B2 (en) Optical information reader
JPH11338961A (en) Hand-held type symbol reader
JP3690170B2 (en) Image reader
JP5381928B2 (en) Optical information reader
JP6354488B2 (en) Portable reader
JPH10143600A (en) Optical reader and its placing base
JP4192360B2 (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: 20100728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120613

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: 20120619

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120702

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5045642

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

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

LAPS Cancellation because of no payment of annual fees