JP2019132586A - Sensor and electronic device - Google Patents

Sensor and electronic device Download PDF

Info

Publication number
JP2019132586A
JP2019132586A JP2018012161A JP2018012161A JP2019132586A JP 2019132586 A JP2019132586 A JP 2019132586A JP 2018012161 A JP2018012161 A JP 2018012161A JP 2018012161 A JP2018012161 A JP 2018012161A JP 2019132586 A JP2019132586 A JP 2019132586A
Authority
JP
Japan
Prior art keywords
light
detection result
threshold
unit
infrared light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018012161A
Other languages
Japanese (ja)
Inventor
俊之 松本
Toshiyuki Matsumoto
俊之 松本
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2018012161A priority Critical patent/JP2019132586A/en
Publication of JP2019132586A publication Critical patent/JP2019132586A/en
Pending legal-status Critical Current

Links

Abstract

To provide a proximity sensor that hardly causes a malfunction due to external light even when strong external light is incident, and an electronic device including the sensor.SOLUTION: A proximity sensor and an electronic device including the proximity sensor, includes: a light emitting unit that intermittently emits infrared light at predetermined time intervals; a light receiving unit that receives infrared light that is emitted from the light emitting unit and reflected back from the object; and a detection unit for detecting a received light signal level at the light receiving unit. The detection unit outputs a received light signal level at the light receiving unit during an infrared light emission period as a first detection result, and further, as a second detection result, outputs the received light signal level at the light receiving unit during an infrared light non-emission period. When the second detection result is equal to or greater than a first threshold, it is determined that there is none of a reflecting object, while it is determined that there is the reflecting object when the second detection result is lower than the first threshold, the first detection result is larger than the second detection result, and the first detection result is greater than or equal to a second threshold.SELECTED DRAWING: Figure 1

Description

本発明は被対象物が近接しているか否かの検出を行うセンサ、および該センサを備えた電子機器に関する   The present invention relates to a sensor that detects whether or not an object is in proximity, and an electronic apparatus including the sensor.

デジタル一眼レフカメラでは撮影時の画角やピント合わせは、光学式接眼型ファインダあるいは機器本体の背面に設けられたLCD(Liquid Crystal Display)や有機EL等からなる電子式直視型モニタを撮影環境に合わせて選択し使用している。また、一部のミラーレスカメラやコンパクトデジタルカメラでは、光学式接眼型ファインダの代わりに電子式接眼型ファインダを用い、同様に、撮影環境に合わせて電子式直視型モニタと切り替えて使用している。   In digital SLR cameras, the angle of view and focus during shooting can be adjusted using an optical eyepiece finder or an LCD (Liquid Crystal Display) provided on the back of the device body or an electronic direct-view monitor, such as an organic EL. They are selected and used together. Some mirrorless cameras and compact digital cameras use an electronic eyepiece finder instead of an optical eyepiece finder, and switch to an electronic direct view monitor according to the shooting environment. .

これら接眼型ファインダと直視型ファインダの切替えは、ユーザーが切替えスイッチを用いて手動で行う他、近接センサを用い、ユーザーが接眼型ファインダを覗く行為を検出して自動的に切り換える機能を備えたものがある。   These eyepiece type finder and direct view type finder can be switched manually by the user using a changeover switch, and also provided with a function that uses a proximity sensor to detect and automatically switch the user looking into the eyepiece finder. There is.

近接センサでは、発光部から照射された赤外光が対象物に反射し戻ってきたものを受光部で検出することによって対象物の有無を判別している。この近接センサを接眼型ファインダの近傍に配置することで、撮影者が該ファインダに顔を近づけたことを検出することが可能となる。   In the proximity sensor, the presence or absence of the object is determined by detecting, with the light receiving unit, the infrared light irradiated from the light emitting unit and reflected back to the object. By disposing the proximity sensor in the vicinity of the eyepiece type finder, it is possible to detect that the photographer has brought a face close to the finder.

特開2013−210314号公報JP 2013-210314 A

しかしながら強い外光が近接センサの受光部に入射された場合その光を対象物からの反射光と誤認識し、対象物が無いにもかかわらず対象物があるものと誤判定してしまうことがある。その結果、直視型モニタで被写体を確認している最中に、画像表示先が勝手に接眼型ファインダに切り替わってしまうという問題が発生する。   However, when strong external light is incident on the light receiving unit of the proximity sensor, the light may be mistakenly recognized as reflected light from the object, and it may be erroneously determined that the object is present even though there is no object. is there. As a result, there is a problem that the image display destination is arbitrarily switched to the eyepiece type finder while the subject is being confirmed on the direct view type monitor.

本発明の目的は、近接センサに強い外光が入射された場合であっても外光による誤動作をおこしにくいセンサ、および該センサを備えた電子機器を提供することにある。   An object of the present invention is to provide a sensor that is unlikely to malfunction due to external light even when strong external light is incident on a proximity sensor, and an electronic device including the sensor.

上記目的を達成するために、本発明のセンサ、および該センサを備えた電子機器は、
赤外光を所定の時間間隔で間欠発光する発光部と、
対象物に反射し戻ってきた前記発光部が発光した赤外光を受光する受光部と、
前記受光部での受光信号レベルを検出する検出部と、を備え、
該検出部は、第一の検出結果として、赤外光発光期間の前記受光部での受光信号レベルを出力し、
さらに、第二の検出結果として、赤外光非発光期間の前記受光部での受光信号レベルを出力し、
前記第二の検出結果が第一の閾値以上である場合に反射対象物がないと判断し、
前記第二の検出結果が第一の閾値よりも低く、かつ、第一の検出結果が第二の検出結果より大きく、さらに、第一の検出結果が第二の閾値以上である場合に反射対象物があると判断する
ことを特徴とする。
In order to achieve the above object, a sensor of the present invention and an electronic apparatus equipped with the sensor include
A light emitting unit that intermittently emits infrared light at predetermined time intervals;
A light-receiving unit that receives infrared light emitted from the light-emitting unit reflected back to the object;
A detection unit for detecting a light reception signal level in the light receiving unit,
The detection unit outputs a light reception signal level at the light receiving unit in an infrared light emission period as a first detection result,
Furthermore, as a second detection result, the light receiving signal level at the light receiving unit in the infrared light non-light emitting period is output,
When the second detection result is equal to or greater than the first threshold, it is determined that there is no reflection object,
When the second detection result is lower than the first threshold, the first detection result is larger than the second detection result, and the first detection result is greater than or equal to the second threshold, the object to be reflected It is characterized by judging that there is an object.

本発明によれば、外光誤動作をおこしにくい近接センサおよび該センサを備えた電子機器を提供することが可能である。   ADVANTAGE OF THE INVENTION According to this invention, it is possible to provide the proximity sensor which is hard to perform external light malfunction, and an electronic device provided with this sensor.

本発明の実施形態1に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャート6 is a flowchart showing a series of operations of control processing when the proximity sensor according to Embodiment 1 of the present invention is applied to a digital camera as an example of an electronic device. 本発明の近接センサをデジタルカメラに適用した時の、実施形態1に係る機能構成例を示すブロック図The block diagram which shows the function structural example which concerns on Embodiment 1 when the proximity sensor of this invention is applied to a digital camera. 本発明の実施形態1に係る各部の波形と閾値の関係を示す図The figure which shows the relationship between the waveform of each part which concerns on Embodiment 1 of this invention, and a threshold value 本発明の実施形態2に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャートThe flowchart which shows a series of operation | movement of a control process when the proximity sensor which concerns on Embodiment 2 of this invention is applied to a digital camera as an example of an electronic device. 本発明の実施形態2に係る各部の波形と閾値の関係を示す図The figure which shows the relationship between the waveform of each part and threshold value which concern on Embodiment 2 of this invention. 本発明の実施形態3に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャートThe flowchart which shows a series of operation | movement of a control process when the proximity sensor which concerns on Embodiment 3 of this invention is applied to a digital camera as an example of an electronic device. 本発明の実施形態3に係る各部の波形と閾値の関係を示す図The figure which shows the relationship between the waveform of each part and threshold value which concern on Embodiment 3 of this invention. 本発明の実施形態に係るデジタルカメラの外観図1 is an external view of a digital camera according to an embodiment of the present invention.

以下、本発明の実施の形態を図面に基づいて説明する。なお、以下では電子機器の一例としてデジタルカメラに本発明を適用した例を説明する。しかし、本発明はデジタルカメラに限らず、近接センサを備えたデジタルビデオカメラやスマートフォン等が含まれてもよい。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. An example in which the present invention is applied to a digital camera will be described below as an example of an electronic device. However, the present invention is not limited to a digital camera, and may include a digital video camera, a smartphone, or the like provided with a proximity sensor.

[第1の実施の形態]
図1は、実施形態1に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャートである。
[First Embodiment]
FIG. 1 is a flowchart illustrating a series of operations of control processing when the proximity sensor according to the first embodiment is applied to a digital camera as an example of an electronic device.

図2は、該デジタルカメラの機能構成例を示すブロック図である。図8は本発明の実施形態に係るデジタルカメラの外観図である。なお、図2に示す機能ブロックの1つ以上は、ASICやプログラマブルロジックアレイ(PLA)などのハードウェアによって実現されてもよいし、CPUやMPU等のプログラマブルプロセッサがソフトウェアを実行することによって実現されてもよい。また、ソフトウェアとハードウェアの組み合わせによって実現されてもよい。従って、以下の説明において、異なる機能ブロックが動作主体として記載されている場合であっても、同じハードウェアが主体として実現されうる。

撮像光学系101は、フォーカスレンズやズームレンズを含むレンズ群、及び絞りを含み、撮像光学系駆動部108からの指示に応じて、ズームレンズを光軸方向に移動させてズーム倍率(或いは焦点距離)を変更可能である。また、撮像光学系駆動部108からの指示に応じて、絞りの開口径も変更可能である。撮像光学系駆動部108は、撮像光学系101を所定の位置に駆動する駆動装置を含む。
FIG. 2 is a block diagram illustrating a functional configuration example of the digital camera. FIG. 8 is an external view of the digital camera according to the embodiment of the present invention. Note that one or more of the functional blocks shown in FIG. 2 may be realized by hardware such as an ASIC or a programmable logic array (PLA), or by executing software by a programmable processor such as a CPU or MPU. May be. Further, it may be realized by a combination of software and hardware. Therefore, in the following description, even when different functional blocks are described as the operation subject, the same hardware can be realized as the subject.

The imaging optical system 101 includes a lens group including a focus lens and a zoom lens, and a diaphragm. In response to an instruction from the imaging optical system driving unit 108, the zoom lens is moved in the optical axis direction to zoom magnification (or focal length). ) Can be changed. Further, the aperture diameter of the diaphragm can be changed according to an instruction from the imaging optical system driving unit 108. The imaging optical system driving unit 108 includes a driving device that drives the imaging optical system 101 to a predetermined position.

撮像素子102は、撮像面に光電変換素子を配置して被写体画像を撮像する撮像素子である。撮像素子102は、例えばCCD(Charge−Coupled Device)イメージセンサやCMOS(Complementary Metal Oxide Semiconductor)イメージセンサなどの撮像素子であってよい。撮像光学系101により結像された被写体光学像を光電変換し、さらに不図示のA/D変換回路によってアナログ・デジタル変換して、画素単位のデジタル信号(画像データ)を出力する。   The image sensor 102 is an image sensor that images a subject image by arranging a photoelectric conversion element on the imaging surface. The image sensor 102 may be an image sensor such as a CCD (Charge-Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The subject optical image formed by the imaging optical system 101 is photoelectrically converted, and further analog / digital converted by an A / D conversion circuit (not shown) to output a digital signal (image data) in units of pixels.

撮像系信号処理部103は、撮像素子102から出力された画像データあるいは映像データ(以下、単に画像データともいう)に対して各種補正処理等の画像信号処理を行って、処理後の画像データを記録再生系信号処理部104に出力する。記録再生系信号処理部104は、入力した画像データに対して例えば所定の符号化方式に従って符号化してその情報量を圧縮し、記録に適したデータに変換する。記録再生系信号処理部104によって処理されたデータは記録媒体109に記録される。記録媒体109は、記録再生系信号処理部104から出力された画像データを記録するためのメモリカード等の記録媒体であり、半導体メモリや磁気ディスク等を含む。   The imaging system signal processing unit 103 performs image signal processing such as various correction processes on the image data or video data (hereinafter also simply referred to as image data) output from the imaging element 102, and outputs the processed image data. The data is output to the recording / reproduction system signal processing unit 104. The recording / playback signal processing unit 104 encodes the input image data in accordance with, for example, a predetermined encoding method, compresses the amount of information, and converts the data into data suitable for recording. Data processed by the recording / reproducing system signal processing unit 104 is recorded on the recording medium 109. The recording medium 109 is a recording medium such as a memory card for recording the image data output from the recording / reproducing system signal processing unit 104, and includes a semiconductor memory, a magnetic disk, and the like.

直視型表示装置105および接眼型表示装置106は、記録再生系信号処理部104から出力された画像データ、ライブビュー表示のための映像データ、またはデジタルカメラ100の操作のための操作画面(メニュー画面)等を表示する画像モニタである。直視型表示装置105および接眼型表示装置106はデジタルカメラ100の使用状態に応じて排他的にあるいは同時に画像を表示する。直視型表示装置105および接眼型表示装置106は、例えば液晶ディスプレイ、有機ELディスプレイ、電子ペーパー等の表示デバイスであれば何でもよい。   The direct-view display device 105 and the eyepiece display device 106 are image data output from the recording / playback signal processing unit 104, video data for live view display, or an operation screen (menu screen for operating the digital camera 100). ) And the like. The direct view type display device 105 and the eyepiece type display device 106 display images exclusively or simultaneously according to the use state of the digital camera 100. The direct view display device 105 and the eyepiece display device 106 may be any display device such as a liquid crystal display, an organic EL display, and electronic paper.

近接センサ113は赤外光の発光部、受光部からなるセンサで、接眼型表示装置106の近傍に配置され赤外光を接眼型表示装置106の表示方向に向けて照射する。近接センサ113の受光部で検出した受光信号は検出部107へ供給される。検出部107は、第一の検出結果として赤外光発光期間の前記受光部での受光信号レベルを出力し、さらに、第二の検出結果として赤外光非発光期間の前記受光部での受光信号レベルを出力し、制御部110へ供給する。   The proximity sensor 113 is a sensor including an infrared light emitting unit and a light receiving unit, and is disposed in the vicinity of the eyepiece type display device 106 to irradiate infrared light toward the display direction of the eyepiece type display device 106. The light reception signal detected by the light receiving unit of the proximity sensor 113 is supplied to the detection unit 107. The detection unit 107 outputs a light reception signal level at the light receiving unit during the infrared light emission period as a first detection result, and further receives light at the light reception unit during the infrared light non-light emission period as a second detection result. The signal level is output and supplied to the control unit 110.

制御部110では、第二の検出結果が第一の閾値以上である場合に反射対象物がないと判断する。また、前記第二の検出結果が第一の閾値よりも低く、かつ、第一の検出結果が第二の検出結果より大きく、さらに、第一の検出結果が第二の閾値以上である場合に反射対象物があると判断する。制御部110は反射対象物があると判断した場合、直視型表示装置105の表示をオフし、接眼型表示装置106の表示をオンするよう制御する。逆に反射対象物が無いと判断した場合、直視型表示装置105の表示をオンし、接眼型表示装置106の表示をオフするよう制御する。   The control unit 110 determines that there is no reflection object when the second detection result is equal to or greater than the first threshold value. In addition, when the second detection result is lower than the first threshold, the first detection result is larger than the second detection result, and the first detection result is greater than or equal to the second threshold. Judge that there is a reflective object. When it is determined that there is a reflection target, the control unit 110 controls to turn off the display of the direct-view display device 105 and turn on the display of the eyepiece display device 106. On the other hand, when it is determined that there is no reflection object, the display of the direct-view display device 105 is turned on and the display of the eyepiece display device 106 is controlled to be turned off.

操作スイッチ111はデジタルカメラ100の電源入り切りや、各種モード切り替え等を行うスイッチであり、その選択結果を制御部110へ通知する。検出スイッチ112は直視型表示装置105が通常撮影用の位置にあるのか、対面撮影用の位置にあるのかを検出するスイッチであり、その検出結果を制御部110へ通知する。   The operation switch 111 is a switch for turning on / off the power of the digital camera 100, switching various modes, and the like, and notifies the control unit 110 of the selection result. The detection switch 112 is a switch that detects whether the direct-view display device 105 is in a normal shooting position or a face-to-face shooting position, and notifies the control unit 110 of the detection result.

制御部110は、例えばCPUあるいはMPUであり、ROMに格納されたプログラムをRAMの作業エリアに展開して実行することにより、デジタルカメラ100全体を制御する制御部である。制御部110は操作スイッチ111、検出スイッチ112からの信号を受信して各操作内容に応じて各部を制御する。 次に図1を用いて本実施形態の動作の流れを説明する。図1は、本発明の実施形態1に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャートである。ステップS101にて近接センサ113の発光部が赤外光の間欠発光を開始する。   The control unit 110 is, for example, a CPU or MPU, and is a control unit that controls the entire digital camera 100 by developing and executing a program stored in the ROM in a RAM work area. The control unit 110 receives signals from the operation switch 111 and the detection switch 112, and controls each unit according to each operation content. Next, the operation flow of this embodiment will be described with reference to FIG. FIG. 1 is a flowchart showing a series of operations of control processing when the proximity sensor according to Embodiment 1 of the present invention is applied to a digital camera as an example of an electronic device. In step S101, the light emitting unit of the proximity sensor 113 starts intermittent light emission of infrared light.

次にステップS102にて制御部110は検出部107から出力された赤外光非発光期間の受光信号レベル(第二の検出結果)を第一の閾値と比較する。第二の検出結果が第一の閾値以上である場合、制御部110は外光誤動作と判断し(ステップS103)、ステップS104にて直視型表示装置105の表示をオンし、ステップS105にて接眼型表示装置106の表示をオフする。   Next, in step S102, the control unit 110 compares the light reception signal level (second detection result) output from the detection unit 107 in the infrared light non-emission period with the first threshold value. If the second detection result is equal to or greater than the first threshold value, the control unit 110 determines that the external light malfunctions (step S103), turns on the display of the direct-view display device 105 in step S104, and in step S105, the eyepiece. The display of the mold display device 106 is turned off.

ステップS102にて第二の検出結果が第一の閾値未満であったとき、次にステップS106にて制御部110は第二の検出結果と赤外光発光期間の受光信号レベル(第一の検出結果)とを比較する。ステップS106にて制御部110が、第一の検出結果が第二の検出結果以下であると判定したとき、外光誤動作であると判断する(ステップS103)。ステップS106にて制御部110が、第一の検出結果が第二の検出結果より大きいと判定したとき、次にステップS107にて第一の検出結果を第二の閾値と比較する。   If the second detection result is less than the first threshold value in step S102, then in step S106, the control unit 110 detects the second detection result and the received light signal level (first detection time in the infrared light emission period). Result). When the control unit 110 determines in step S106 that the first detection result is equal to or less than the second detection result, it determines that an external light malfunction has occurred (step S103). When the control unit 110 determines in step S106 that the first detection result is larger than the second detection result, in step S107, the control unit 110 compares the first detection result with a second threshold value.

ステップS107にて第一の検出結果が第二の閾値未満であると判定したとき、制御部110は接眼型表示装置106を未使用の状態であると判断し(ステップS108)、ステップS104にて直視型表示装置105の表示をオンする。ステップS107にて第一の検出結果が第二の閾値以上であると判定した時、接眼型表示装置106を使用していると判断し(ステップS109)、直視型表示装置105の表示をオフし(ステップ110)接眼型表示装置106の表示をオンする(ステップS111)。   When it is determined in step S107 that the first detection result is less than the second threshold, the control unit 110 determines that the eyepiece type display device 106 is unused (step S108), and in step S104. The display of the direct view display device 105 is turned on. When it is determined in step S107 that the first detection result is equal to or greater than the second threshold value, it is determined that the eyepiece display device 106 is used (step S109), and the direct view display device 105 is turned off. (Step 110) The display of the eyepiece type display device 106 is turned on (Step S111).

図3は本実施例における各部の波形と閾値の関係を示している。図3_aは反射対象物があり外光が無い時の近接センサ113の受光部の受光信号レベルと、検出部107の第一の検出結果(赤外光発光期間)と第二の検出結果(赤外光非発光期間)を表している。第一の検出結果が第二の検出結果以上であり、かつ、第一の検出結果が第二の閾値を超えているため反射対象物があると判断できる。   FIG. 3 shows the relationship between the waveform of each part and the threshold value in this embodiment. 3A shows the light reception signal level of the light receiving unit of the proximity sensor 113 when there is an object to be reflected and no external light, the first detection result (infrared light emission period) and the second detection result (red) of the detection unit 107. Outside light non-emission period). Since the first detection result is greater than or equal to the second detection result and the first detection result exceeds the second threshold value, it can be determined that there is a reflection object.

図3_bは近接センサ113の受光部を遮るものがなく強い外光が入射しているときの検出部107の第一の検出結果と第二の検出結果を表している。第二の検出結果が第一の閾値を超えているため外光による誤動作と判断できる。図3_cは近接センサ113の受光信号レベルが図3_bよりも低い時である。検出部107の第二の検出結果は第一の閾値よりも低いが、第一の検出結果が第二の検出結果と同レベルであり第二の検出結果より大きくないため外光誤動と判断できる。   FIG. 3B shows the first detection result and the second detection result of the detection unit 107 when strong external light is incident without blocking the light receiving unit of the proximity sensor 113. Since the second detection result exceeds the first threshold, it can be determined that the malfunction is due to external light. FIG. 3_c is a time when the light reception signal level of the proximity sensor 113 is lower than that in FIG. 3_b. Although the second detection result of the detection unit 107 is lower than the first threshold value, the first detection result is at the same level as the second detection result and is not larger than the second detection result, so it is determined that the external light malfunctions. it can.

図3_dは外光と対象物からの反射光が混ざった状態である。第二の検出結果が第一の閾値よりも低く、かつ、第一の検出結果が第二の検出結果よりも大きい。さらに第一の検出結果が第二の閾値を超えているため反射対象物があると判断できる。図3_dにおいて、第一の検出結果が第二の閾値よりも低い場合は、反射対象物と接眼型表示装置106の距離が離れている状態であり、接眼型表示装置106は未使用であると判断できる。   FIG. 3D shows a state in which external light and reflected light from the object are mixed. The second detection result is lower than the first threshold value, and the first detection result is larger than the second detection result. Furthermore, since the first detection result exceeds the second threshold value, it can be determined that there is a reflection object. In FIG. 3D, when the first detection result is lower than the second threshold, the distance between the reflection object and the eyepiece display device 106 is far away, and the eyepiece display device 106 is unused. I can judge.

[第2の実施の形態]
図4は、実施形態2に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャートである。なお、実施形態2における該デジタルカメラの機能構成例は実施形態1と同様であるため説明を省略する。
[Second Embodiment]
FIG. 4 is a flowchart illustrating a series of operations of control processing when the proximity sensor according to the second embodiment is applied to a digital camera as an example of an electronic device. Note that the functional configuration example of the digital camera in the second embodiment is the same as that in the first embodiment, and thus the description thereof is omitted.

図4において、ステップS101にて近接センサ113の発光部が赤外光の間欠発光を開始する。次にステップS102にて制御部110は、検出部107から出力された赤外光非発光期間の受光信号レベル(第二の検出結果)を第一の閾値と比較する。第二の検出結果が第一の閾値以上である場合、制御部110は外光誤動作と判断する(ステップS103)。次にステップS201にて近接センサ113の赤外光の間欠発光を停止する。   In FIG. 4, the light emitting unit of the proximity sensor 113 starts intermittent infrared light emission in step S101. Next, in step S102, the control unit 110 compares the light reception signal level (second detection result) output from the detection unit 107 in the infrared light non-emission period with the first threshold value. When the second detection result is equal to or greater than the first threshold, the control unit 110 determines that the external light malfunctions (step S103). Next, intermittent infrared light emission of the proximity sensor 113 is stopped in step S201.

次にステップS202にて制御部110は、第二の検出結果を第三の閾値と比較し、第二の検出結果が第三の閾値以上であると判定するステップとS104にて直視型表示装置105の表示をオンする。続けて、ステップS105にて接眼型表示装置106の表示をオフする。ステップS202にて制御部110によって検出部107の第二の検出結果が第三の閾値よりも低いと判定したとき、ステップS101に戻り赤外光の間欠発光を再開する。   Next, in step S202, the control unit 110 compares the second detection result with the third threshold value, determines that the second detection result is equal to or greater than the third threshold value, and direct view display device in S104. The display of 105 is turned on. Subsequently, in step S105, the display of the eyepiece type display device 106 is turned off. When the control unit 110 determines in step S202 that the second detection result of the detection unit 107 is lower than the third threshold value, the process returns to step S101 and resumes intermittent light emission of infrared light.

ステップS102にて第二の検出結果が第一の閾値未満であったとき、次にステップS106にて制御部110は第二の検出結果と赤外光発光期間の受光信号レベル(第一の検出結果)とを比較する。ステップS106にて制御部110が、第一の検出結果が第2の検出結果以下であると判定したとき外光誤動作であると判断し、ステップS104にて直視型表示装置105の表示をオンする。ステップS106にて制御部110が、第一の検出結果が第二の検出結果より大きいと判定したとき、次にステップS107にて第一の検出結果を第二の閾値と比較する。   If the second detection result is less than the first threshold value in step S102, then in step S106, the control unit 110 detects the second detection result and the received light signal level (first detection time in the infrared light emission period). Result). When the control unit 110 determines in step S106 that the first detection result is equal to or less than the second detection result, it is determined that the external light malfunctions, and in step S104, the display of the direct-view display device 105 is turned on. . When the control unit 110 determines in step S106 that the first detection result is larger than the second detection result, in step S107, the control unit 110 compares the first detection result with a second threshold value.

ステップS107にて第一の検出結果が第二の閾値未満であると判定したとき、制御部110は接眼型表示装置106を未使用の状態であると判断し(ステップS108)、ステップS104にて直視型表示装置105の表示をオンする。ステップS107にて第一の検出結果が第二の閾値以上であると判定した時、接眼型表示装置106を使用していると判断し(ステップS109)、直視型表示装置105の表示をオフし(ステップ110)接眼型表示装置106の表示をオンする(ステップS111)。   When it is determined in step S107 that the first detection result is less than the second threshold, the control unit 110 determines that the eyepiece type display device 106 is unused (step S108), and in step S104. The display of the direct view display device 105 is turned on. When it is determined in step S107 that the first detection result is equal to or greater than the second threshold value, it is determined that the eyepiece display device 106 is used (step S109), and the direct view display device 105 is turned off. (Step 110) The display of the eyepiece type display device 106 is turned on (Step S111).

図5は本実施例における各部の波形と閾値の関係を示している。図5_aは近接センサ113の受光部を遮るものがなく強い外光が入射しているときの検出部107の第一の検出結果と第二の検出結果を表している。第二の検出結果が第一の閾値を超えているため外光による誤動作と判断し、近接センサ113の赤外光の間欠発光を停止する。   FIG. 5 shows the relationship between the waveform of each part and the threshold value in this embodiment. FIG. 5A shows the first detection result and the second detection result of the detection unit 107 when strong external light is incident without blocking the light receiving unit of the proximity sensor 113. Since the second detection result exceeds the first threshold value, it is determined that the malfunction is caused by outside light, and intermittent light emission of infrared light from the proximity sensor 113 is stopped.

図5_bは近接センサ113の受光信号レベルが図5_aよりも低い時である。使用者が接眼型表示装置106を覗こうと顔を近づけることによって外光が遮られ始めている状態がこれに当てはまる。ここで検出部107の第二の検出結果が第三の閾値を下回ったため近接センサ113の赤外光の間欠発光を再開する。図5_cは外光と対象物からの反射光が混ざった状態である。第二の検出結果が第一の閾値よりも低く、かつ、第一の検出結果が第二の検出結果よりも大きい。さらに第一の検出結果が第二の閾値を超えているため反射対象物があると判断できる。   FIG. 5B is a time when the light reception signal level of the proximity sensor 113 is lower than that in FIG. This is the case where the user begins to block the external light by approaching his face to look into the eyepiece display device 106. Here, since the second detection result of the detection unit 107 falls below the third threshold value, the intermittent light emission of the infrared light of the proximity sensor 113 is resumed. FIG. 5C shows a state where ambient light and reflected light from the object are mixed. The second detection result is lower than the first threshold value, and the first detection result is larger than the second detection result. Furthermore, since the first detection result exceeds the second threshold value, it can be determined that there is a reflection object.

図5_cにおいて、第一の検出結果が第二の閾値よりも低い場合は、反射対象物と接眼型表示装置106の距離が離れている状態であり、接眼型表示装置106は未使用であると判断できる。   In FIG. 5C, when the first detection result is lower than the second threshold value, the distance between the reflective object and the eyepiece display device 106 is long, and the eyepiece display device 106 is unused. I can judge.

本実施例によれば、近接センサ113が強い外光を検出している間は赤外光の発光を休止することにより、無駄な電力の消費を抑えることができる。   According to the present embodiment, wasteful power consumption can be suppressed by stopping infrared light emission while the proximity sensor 113 detects strong external light.

[第3の実施の形態]
図6は、実施形態3に係る近接センサを、電子機器の一例としてデジタルカメラに適用した時の制御処理の一連の動作を示すフローチャートである。なお、実施形態3における該デジタルカメラの機能構成例は実施形態1と同様であるため説明を省略する。
[Third Embodiment]
FIG. 6 is a flowchart showing a series of operations of control processing when the proximity sensor according to the third embodiment is applied to a digital camera as an example of an electronic device. Note that the functional configuration example of the digital camera in the third embodiment is the same as that in the first embodiment, and a description thereof will be omitted.

図6において、ステップS301にて近接センサ113の発光部が一定のデューティ比の赤外光の間欠発光を開始する。ステップS302にて制御部110は、発光周期の整数倍の時間内における検出部107から出力された受光レベルの平均値を算出する。次にステップS303にて制御部110は、各受光信号のレベルを前記求めた平均値と比較し、平均値を上回っているサンプル数と平均値を下回っているサンプル数の比率を求める。さらに平均値を上回るサンプルと下回るサンプルがランダムに発生しているのか周期的に発生しているのかの出現パターンを確認する。   In FIG. 6, in step S <b> 301, the light emitting unit of the proximity sensor 113 starts intermittent light emission of infrared light having a constant duty ratio. In step S302, control unit 110 calculates an average value of the light reception levels output from detection unit 107 within a time that is an integral multiple of the light emission cycle. Next, in step S303, the control unit 110 compares the level of each received light signal with the obtained average value, and obtains the ratio of the number of samples exceeding the average value and the number of samples below the average value. Furthermore, the appearance pattern of whether the sample exceeding the average value and the sample falling below are generated randomly or periodically is confirmed.

次にステップS304にて制御部110は前記求めたサンプル数の比率、および出現パターンが近接センサ113の発光部が発光する赤外光の発光デューティ比と等しいか判定する。等しいと判定した時、ステップS305にて前記求めた平均値が第四の閾値以上か判定する。第四の閾値以上であると判定した場合接眼型表示装置106を使用していると判断し(ステップS306)、ステップS307にて直視型表示装置105の表示をオフする。続けてS308にて接眼型表示装置106の表示をオンする。   Next, in step S304, the control unit 110 determines whether the ratio of the obtained number of samples and the appearance pattern are equal to the emission duty ratio of the infrared light emitted from the light emitting unit of the proximity sensor 113. When it is determined that they are equal, it is determined in step S305 whether the obtained average value is equal to or greater than a fourth threshold value. If it is determined that the value is greater than or equal to the fourth threshold value, it is determined that the eyepiece type display device 106 is used (step S306), and the direct view display device 105 is turned off in step S307. In step S308, the display of the eyepiece type display device 106 is turned on.

ステップS304にて、赤外光の発光デューティと、平均値を上回っているサンプル数と平均値を下回っているサンプル数の比率とが等しくないと判定した時は反射対象物がなく接眼型表示装置106を使用していないと判断する(ステップS309)。次にステップS310にて直視型表示装置105の表示をオンし、ステップS311にて接眼型表示装置106の表示をオフする。   If it is determined in step S304 that the infrared light emission duty is not equal to the ratio of the number of samples above the average value to the number of samples below the average value, there is no reflective object and the eyepiece display device It is determined that 106 is not used (step S309). Next, in step S310, the display of the direct-view display device 105 is turned on, and in step S311, the display of the eyepiece display device 106 is turned off.

図7は本実施例における各部の波形と閾値の関係を示している。図7_aは受光信号レベルの平均値を上回るサンプル、下回るサンプルがランダムに発生しているため対象物による反射光はないと判断できる。   FIG. 7 shows the relationship between the waveform of each part and the threshold value in this embodiment. In FIG. 7A, it can be determined that there is no reflected light from the object because samples above and below the average value of the received light signal level are randomly generated.

図7_bおよび図7_cは平均値を上回るサンプル数、下回るサンプル数の比率が近接センサ113の発光部の発光デューティと等しく、さらに平均値を上回るサンプル、下回るサンプルが発光部の発光デューティと等しく周期的に発生している。さらに平均値が第四の閾値以上であるため、反射対象物があると判断できる。   7_b and FIG. 7_c are periodic in which the ratio of the number of samples above and below the average value is equal to the light emission duty of the light emitting unit of the proximity sensor 113, and the sample above and below the average value is equal to the light emission duty of the light emitting unit. Has occurred. Furthermore, since the average value is greater than or equal to the fourth threshold, it can be determined that there is a reflection object.

図7_dは平均値を上回るサンプル数、下回るサンプル数の比率が近接センサ113の発光部の発光デューティと等しく、さらに平均値を上回るサンプル、下回るサンプルが発光部の発光デューティと等しく周期的に発生している。しかし、平均値が第四の閾値未満であるため、反射対象物と接眼型表示装置106の距離が離れている状態であり、接眼型表示装置106は未使用であると判断できる。   FIG. 7_d shows that the ratio of the number of samples above and below the average value is equal to the light emission duty of the light emitting unit of the proximity sensor 113, and the samples above and below the average value are periodically generated equal to the light emission duty of the light emitting unit. ing. However, since the average value is less than the fourth threshold value, the distance between the reflective object and the eyepiece display device 106 is far away, and it can be determined that the eyepiece display device 106 is unused.

本実施形態によれば、近接センサ113の発光部の発光デューティが分かっていれば赤外光の発光タイミングと受光信号レベル検出タイミングの同期を取る必要がない。   According to this embodiment, if the light emission duty of the light emitting unit of the proximity sensor 113 is known, it is not necessary to synchronize the light emission timing of the infrared light and the light reception signal level detection timing.

なお、本実施形態において検出部107から出力された受光レベルの平均値が所定値よりも大きい時に、実施形態2と同様に近接センサ113の発光部の間欠発光を止めることにより、無駄な電力の消費を抑えることができる。   In the present embodiment, when the average value of the received light level output from the detection unit 107 is larger than a predetermined value, the intermittent light emission of the light emitting unit of the proximity sensor 113 is stopped in the same manner as in the second embodiment, thereby reducing unnecessary power. Consumption can be suppressed.

100 デジタルカメラ
107 検出部
110 制御部
113 近接センサ
100 Digital Camera 107 Detection Unit 110 Control Unit 113 Proximity Sensor

Claims (5)

赤外光を所定の時間間隔で間欠発光する発光部と、
対象物に反射し戻ってきた前記発光部が発光した赤外光を受光する受光部と、
前記受光部での受光信号レベルを出力する検出部と、を備え、
該検出部は、第一の検出結果として、赤外光発光期間の前記受光部での受光信号レベルを出力し、
さらに、第二の検出結果として、赤外光非発光期間の前記受光部での受光信号レベルを出力し、
前記第二の検出結果が第一の閾値以上である場合に反射対象物がないと判断し、
前記第二の検出結果が第一の閾値よりも低く、かつ、第一の検出結果が第二の検出結果より大きく、さらに、第一の検出結果が第二の閾値以上である場合に反射対象物があると判断するセンサ、または該センサを備えた電子機器。
A light emitting unit that intermittently emits infrared light at predetermined time intervals;
A light-receiving unit that receives infrared light emitted from the light-emitting unit reflected back to the object;
A detection unit that outputs a light reception signal level at the light reception unit,
The detection unit outputs a light reception signal level at the light receiving unit in an infrared light emission period as a first detection result,
Furthermore, as a second detection result, the light receiving signal level at the light receiving unit in the infrared light non-light emitting period is output,
When the second detection result is equal to or greater than the first threshold, it is determined that there is no reflection object,
When the second detection result is lower than the first threshold, the first detection result is larger than the second detection result, and the first detection result is greater than or equal to the second threshold, the object to be reflected A sensor that determines that there is an object, or an electronic device including the sensor.
前記第二の検出結果が第一の閾値以上である場合に、赤外光の間欠発光を停止し、前記第二の検出結果が第三の閾値未満になったことを検出した時に赤外光の間欠発光を再開することを特徴とする請求項1に記載のセンサ、または該センサを備えた電子機器。 When the second detection result is equal to or greater than the first threshold, intermittent infrared light emission is stopped, and infrared light is detected when the second detection result is detected to be less than the third threshold. The sensor according to claim 1, or an electronic device including the sensor, wherein the intermittent light emission is resumed. 前記第三の閾値は第一の閾値よりも低く、かつ、第二の閾値よりも高いことを特徴とする請求項2に記載のセンサ、または該センサを備えた電子機器。 3. The sensor according to claim 2, or an electronic device including the sensor, wherein the third threshold is lower than the first threshold and higher than the second threshold. 赤外光を一定の時間間隔で間欠発光する発光部と、
対象物に反射し戻ってきた前記発光部が発光した赤外光を受光する受光部と、
前記受光部での受光信号レベルを出力する検出部と、
前記赤外光の発光周期の整数倍の期間内における前記検出部の検出結果の平均値および、受光信号レベルが前記平均値よりも大きなサンプル数と平均値よりも小さなサンプルの比率を演算する演算部と、
さらに平均値を上回るサンプルと下回るサンプルがランダムに発生しているのか周期的に発生しているのかの出現パターンを識別する識別部とを備え、
演算および識別した結果が、間欠発光する赤外光の発光、非発光期間の比率と等しい時に反射対象物があると判定するセンサ、および該センサを用いた電子機器。
A light emitting unit that intermittently emits infrared light at regular time intervals;
A light-receiving unit that receives infrared light emitted from the light-emitting unit reflected back to the object;
A detection unit that outputs a light reception signal level at the light reception unit;
An arithmetic operation for calculating an average value of detection results of the detection unit within a period that is an integral multiple of the light emission cycle of the infrared light, and a ratio of samples in which the received light signal level is larger than the average value and the samples smaller than the average value And
And an identification unit for identifying an appearance pattern of whether a sample above the average value and a sample below the sample are randomly generated or periodically generated,
A sensor that determines that there is an object to be reflected when the result of calculation and identification is equal to the ratio of emission of infrared light that emits intermittent light and the non-light emission period, and an electronic device using the sensor.
検出部の検出した前記平均値が第四の閾値以上である場合に、赤外光の間欠発光を停止し、前記平均値が第四の閾値よりも低い第五の閾値未満になったことを検出した時に赤外光の間欠発光を再開することを特徴とする請求項4に記載のセンサ、または該センサを備えた電子機器。 When the average value detected by the detection unit is equal to or greater than a fourth threshold, the intermittent emission of infrared light is stopped, and the average value is less than a fifth threshold that is lower than the fourth threshold. 5. The sensor according to claim 4, or an electronic device including the sensor, wherein intermittent light emission of infrared light is resumed when detected.
JP2018012161A 2018-01-29 2018-01-29 Sensor and electronic device Pending JP2019132586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018012161A JP2019132586A (en) 2018-01-29 2018-01-29 Sensor and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018012161A JP2019132586A (en) 2018-01-29 2018-01-29 Sensor and electronic device

Publications (1)

Publication Number Publication Date
JP2019132586A true JP2019132586A (en) 2019-08-08

Family

ID=67544889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018012161A Pending JP2019132586A (en) 2018-01-29 2018-01-29 Sensor and electronic device

Country Status (1)

Country Link
JP (1) JP2019132586A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7465718B2 (en) 2020-05-14 2024-04-11 株式会社オカムラ Fixture, fixture control system, and fixture control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7465718B2 (en) 2020-05-14 2024-04-11 株式会社オカムラ Fixture, fixture control system, and fixture control method

Similar Documents

Publication Publication Date Title
RU2447609C2 (en) Digital camera with triangulation autofocusing system and method related to it
US8154650B2 (en) Electronic device having a camera flash redirector
US8587676B2 (en) Digital image processing apparatus including handshake correction module and methods of controlling the digital image processing apparatus
US7149421B2 (en) Image pickup apparatus and power supply control method therefor
KR101262745B1 (en) Image sensor and photographing apparatus having the same
US9001266B2 (en) Imaging device and light emission amount control method of the same
US10853601B2 (en) Barcode reading device that controls illumination without signaling from an image sensor
JP2009124565A (en) Imaging apparatus and program
US5313305A (en) Video camera having viewfinder and a power saving function feature
CN101783884B (en) Camera device
JP2009009072A (en) Dynamic focus zone for camera
JP2007127768A (en) Imaging apparatus
JP2007322481A (en) Imaging apparatus
JP2008283379A (en) Imaging device and program
JP2019132586A (en) Sensor and electronic device
US7324153B2 (en) Digital camera and power supply control thereof
US20140028893A1 (en) Image capturing apparatus and method of controlling the same
JP2015167310A (en) Imaging apparatus and imaging method
CN110063054A (en) Control equipment, control method and program
KR100767108B1 (en) The photographic device in differently processing according to photographic mode and the method thereof
JP2007096601A (en) Imaging device
US7995907B2 (en) Camera
JP2010206434A (en) Imaging apparatus
JP2005027105A (en) Imaging apparatus
JP5546381B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125