JP6778656B2 - Electronic equipment, sensitivity correction method and sensitivity correction program - Google Patents
Electronic equipment, sensitivity correction method and sensitivity correction program Download PDFInfo
- Publication number
- JP6778656B2 JP6778656B2 JP2017115673A JP2017115673A JP6778656B2 JP 6778656 B2 JP6778656 B2 JP 6778656B2 JP 2017115673 A JP2017115673 A JP 2017115673A JP 2017115673 A JP2017115673 A JP 2017115673A JP 6778656 B2 JP6778656 B2 JP 6778656B2
- Authority
- JP
- Japan
- Prior art keywords
- proximity sensor
- value
- sensor
- detection
- illuminance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/02—Details
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/42—Photometry, e.g. photographic exposure meter using electric radiation detectors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Description
本出願は、電子機器、感度補正方法及び感度補正プログラムに関する。 The present application relates to electronic devices, sensitivity correction methods and sensitivity correction programs.
従来、近接センサの感度を補正することを目的として、所定のタイミングで近接センサの基準値を更新する装置がある。 Conventionally, there is a device that updates a reference value of a proximity sensor at a predetermined timing for the purpose of correcting the sensitivity of the proximity sensor.
従来の近接センサの感度補正には改善の余地がある。 There is room for improvement in the sensitivity correction of conventional proximity sensors.
1つの態様に係る電子機器は、赤外線型の近接センサと、前記近接センサの近傍に設けられる照度センサと、前記近接センサの検出値の補正に用いる基準値の更新条件を記憶するストレージと、制御部とを備える。当該制御部は、前記照度センサの検出値及び前記近接センサの検出値が前記更新条件を満足するかを判定し、判定の結果、前記更新条件を満足する場合、前記基準値を更新する。 The electronic device according to one embodiment includes an infrared type proximity sensor, an illuminance sensor provided in the vicinity of the proximity sensor, a storage for storing reference value update conditions used for correcting the detection value of the proximity sensor, and control. It has a part. The control unit determines whether the detection value of the illuminance sensor and the detection value of the proximity sensor satisfy the update condition, and if the result of the determination satisfies the update condition, the control unit updates the reference value.
1つの態様に係る感度補正方法は、近接センサと、当該近接センサの近傍に設けられる照度センサと、前記近接センサの検出値の補正に用いる基準値の更新条件を記憶するストレージとを備える電子機器に実行させる感度補正方法である。当該感度補正方法は、前記照度センサの検出値及び前記近接センサの検出値が前記更新条件を満足するかを判定し、判定の結果、前記更新条件を満足する場合、前記基準値を更新するステップを含む。 The sensitivity correction method according to one aspect is an electronic device including a proximity sensor, an illuminance sensor provided in the vicinity of the proximity sensor, and a storage for storing a reference value update condition used for correcting the detection value of the proximity sensor. This is a sensitivity correction method to be executed. The sensitivity correction method determines whether the detection value of the illuminance sensor and the detection value of the proximity sensor satisfy the update condition, and if the result of the determination satisfies the update condition, the step of updating the reference value. including.
1つの態様に係る感度補正プログラムは、近接センサと、当該近接センサの近傍に設けられる照度センサと、前記近接センサの検出値の補正に用いる基準値の更新条件を記憶するストレージとを備える電子機器に、前記照度センサの検出値及び前記近接センサの検出値が前記更新条件を満足するかを判定し、判定の結果、前記更新条件を満足する場合、前記基準値を更新するステップを実行させる。 The sensitivity correction program according to one aspect is an electronic device including a proximity sensor, an illuminance sensor provided in the vicinity of the proximity sensor, and a storage for storing a reference value update condition used for correcting the detection value of the proximity sensor. Determines whether the detection value of the illuminance sensor and the detection value of the proximity sensor satisfy the update condition, and if the result of the determination satisfies the update condition, the step of updating the reference value is executed.
本出願に係る実施形態を、図面を参照しつつ詳細に説明する。以下の説明において、同様の構成要素について同一の符号を付すことがある。さらに、重複する説明は省略することがある。以下では、本出願に係る電子機器の一例として、スマートフォンを取り上げて説明する。 The embodiments according to the present application will be described in detail with reference to the drawings. In the following description, similar components may be designated by the same reference numerals. Further, duplicate description may be omitted. In the following, a smartphone will be taken up and described as an example of the electronic device according to the present application.
図1は、実施形態に係るスマートフォンの機能構成の一例を示すブロック図である。以下の説明において、同様の構成要素について同一の符号を付すことがある。以下の説明において、重複する説明は省略することがある。以下の説明において、スマートフォン1を「自機」と表記する場合がある。 FIG. 1 is a block diagram showing an example of a functional configuration of a smartphone according to an embodiment. In the following description, similar components may be designated by the same reference numerals. In the following description, duplicate description may be omitted. In the following description, the smartphone 1 may be referred to as "own machine".
図1に示すように、スマートフォン1は、タッチスクリーンディスプレイ2と、ボタン3と、照度センサ4と、近接センサ5と、通信ユニット6と、レシーバ7と、マイク8と、ストレージ9と、コントローラ10と、スピーカ11と、カメラ12と、カメラ13と、コネクタ14と、加速度センサ15と、方位センサ16と、角速度センサ17と、気圧センサ18と、GPS受信機19とを含む。 As shown in FIG. 1, the smartphone 1 includes a touch screen display 2, a button 3, an illuminance sensor 4, a proximity sensor 5, a communication unit 6, a receiver 7, a microphone 8, a storage 9, and a controller 10. A speaker 11, a camera 12, a camera 13, a connector 14, an acceleration sensor 15, an illuminance sensor 16, an angular velocity sensor 17, a pressure sensor 18, and a GPS receiver 19.
タッチスクリーンディスプレイ2は、ディスプレイ2Aと、タッチスクリーン2Bとを有する。ディスプレイ2A及びタッチスクリーン2Bは、例えば、重なって位置してよいし、並んで位置してよいし、離れて位置してよい。ディスプレイ2Aとタッチスクリーン2Bとが重なって位置する場合、例えば、ディスプレイ2Aの1ないし複数の辺は、タッチスクリーン2Bのいずれの辺とも沿っていなくてもよい。 The touch screen display 2 has a display 2A and a touch screen 2B. The display 2A and the touch screen 2B may be located, for example, overlapping, side by side, or apart. When the display 2A and the touch screen 2B are positioned so as to overlap each other, for example, one or more sides of the display 2A may not be along any side of the touch screen 2B.
ディスプレイ2Aは、液晶ディスプレイ(LCD:Liquid Crystal Display)、有機ELディスプレイ(OELD:Organic Electro−Luminescence Display)、又は無機ELディスプレイ(IELD:Inorganic Electro−Luminescence Display)等の表示デバイスを含む。ディスプレイ2Aは、文字、画像、記号、及び図形等のオブジェクトを画面内に表示する。ディスプレイ2Aが表示するオブジェクトを含む画面は、ロック画面と呼ばれる画面、ホーム画面と呼ばれる画面、アプリケーションの実行中に表示されるアプリケーション画面を含む。ホーム画面は、デスクトップ、待受画面、アイドル画面、標準画面、アプリ一覧画面又はランチャー画面と呼ばれることもある。 The display 2A includes a liquid crystal display (LCD: Liquid Crystal Display), an organic EL display (OELD: Organic Electro-Luminence Display), an inorganic EL display (IELD: Organic Electro-Luminence Display), and the like. The display 2A displays objects such as characters, images, symbols, and figures on the screen. The screen including the objects displayed by the display 2A includes a screen called a lock screen, a screen called a home screen, and an application screen displayed while the application is being executed. The home screen may be referred to as a desktop, a standby screen, an idle screen, a standard screen, an application list screen, or a launcher screen.
タッチスクリーン2Bは、タッチスクリーン2Bに対する指、ペン、又はスタイラスペン等の接触又は近接を検出する。タッチスクリーン2Bは、複数の指、ペン、又はスタイラスペン等がタッチスクリーン2Bに接触又は近接したときのタッチスクリーン2B上の位置を検出することができる。以下の説明において、タッチスクリーン2Bが検出する複数の指、ペン、及びスタイラスペン等がタッチスクリーン2Bに接触又は近接した位置を「検出位置」と表記する。タッチスクリーン2Bは、タッチスクリーン2Bに対する指の接触又は近接を、検出位置とともにコントローラ10に通知する。タッチスクリーン2Bは、検出位置の通知をもって接触又は近接の検出をコントローラ10に通知してよい。タッチスクリーン2Bが行える動作を、タッチスクリーン2Bを有するタッチスクリーンディスプレイ2は実行できる。言い換えると、タッチスクリーン2Bが行う動作は、タッチスクリーンディスプレイ2が行ってもよい。 The touch screen 2B detects contact or proximity of a finger, pen, stylus pen, or the like to the touch screen 2B. The touch screen 2B can detect a position on the touch screen 2B when a plurality of fingers, pens, stylus pens, or the like touch or approach the touch screen 2B. In the following description, a position where a plurality of fingers, pens, stylus pens, etc. detected by the touch screen 2B are in contact with or close to the touch screen 2B is referred to as a “detection position”. The touch screen 2B notifies the controller 10 of the contact or proximity of the finger to the touch screen 2B together with the detection position. The touch screen 2B may notify the controller 10 of the detection of contact or proximity with the notification of the detection position. The touch screen display 2 having the touch screen 2B can execute the operation that the touch screen 2B can perform. In other words, the operation performed by the touch screen 2B may be performed by the touch screen display 2.
コントローラ10は、タッチスクリーン2Bにより検出された接触又は近接、検出位置、検出位置の変化、接触又は近接が継続した時間、接触又は近接が検出された間隔、及び接触が検出された回数の少なくとも1つに基づいて、ジェスチャの種別を判別する。コントローラ10が行える動作を、コントローラ10を有するスマートフォン1は実行できる。言い換えると、コントローラ10が行う動作は、スマートフォン1が行ってもよい。ジェスチャは、指を用いて、タッチスクリーン2Bに対して行われる操作である。タッチスクリーン2Bに対して行われる操作は、タッチスクリーン2Bを有するタッチスクリーンディスプレイ2により行われてもよい。コントローラ10が、タッチスクリーン2Bを介して判別するジェスチャには、例えば、タッチ、ロングタッチ、リリース、スワイプ、タップ、ダブルタップ、ロングタップ、ドラッグ、フリック、ピンチイン、及びピンチアウトが含まれるが、これらに限定されない。 The controller 10 has at least one of the contact or proximity detected by the touch screen 2B, the detection position, the change in the detection position, the duration of the contact or proximity, the interval at which the contact or proximity is detected, and the number of times the contact is detected. The type of gesture is determined based on the above. The smartphone 1 having the controller 10 can execute the operation that the controller 10 can perform. In other words, the operation performed by the controller 10 may be performed by the smartphone 1. Gesture is an operation performed on the touch screen 2B using a finger. The operation performed on the touch screen 2B may be performed by the touch screen display 2 having the touch screen 2B. Gestures that the controller 10 determines via the touch screen 2B include, for example, touch, long touch, release, swipe, tap, double tap, long tap, drag, flick, pinch in, and pinch out. Not limited to.
タッチスクリーン2Bの検出方式は、静電容量方式、抵抗膜方式、表面弾性波方式、赤外線方式、及び荷重検出方式等の任意の方式でよい。 The detection method of the touch screen 2B may be any method such as a capacitance method, a resistance film method, a surface acoustic wave method, an infrared method, and a load detection method.
ボタン3は、ユーザからの操作入力を受け付ける。ボタン3の数は、単数であっても、複数であってもよい。 The button 3 receives an operation input from the user. The number of buttons 3 may be singular or plural.
照度センサ4は、照度を検出する。照度は、照度センサ4の測定面の単位面積に入射する光束の値である。照度センサ4は、例えば、ディスプレイ2Aの輝度の調整に用いられる。 The illuminance sensor 4 detects the illuminance. The illuminance is a value of a luminous flux incident on a unit area of the measurement surface of the illuminance sensor 4. The illuminance sensor 4 is used, for example, for adjusting the brightness of the display 2A.
近接センサ5は、近隣の物体の存在を非接触で検出する。近接センサ5は、赤外線を照射する発光素子と、発光素子から照射された赤外線の反射光を受光する受光素子を有する。照度センサ4及び近接センサ5は、1つのセンサとして構成されていてもよい。 The proximity sensor 5 detects the presence of a nearby object in a non-contact manner. The proximity sensor 5 has a light emitting element that irradiates infrared rays and a light receiving element that receives reflected light of infrared rays emitted from the light emitting element. The illuminance sensor 4 and the proximity sensor 5 may be configured as one sensor.
通信ユニット6は、無線により通信する。通信ユニット6によってサポートされる無線通信規格には、例えば、2G、3G、4G、5G等のセルラーフォンの通信規格と、近距離無線の通信規格とが含まれる。セルラーフォンの通信規格としては、例えば、LTE(Long Term Evolution)、W−CDMA(登録商標)(Wideband Code Division Multiple Access)、CDMA2000、PDC(Personal Digital Cellular)、GSM(登録商標)(Global System for Mobile communications)、PHS(Personal Handy−phone System)等がある。近距離無線の通信規格としては、例えば、WiMAX(登録商標)(Worldwide interoperability for Microwave Access)、IEEE802.11、Bluetooth(登録商標)、IrDA(Infrared Data Association)、NFC(登録商標)(Near Field Communication)、WPAN(Wireless Personal Area Network)等が含まれる。通信ユニット6は、上述した通信規格の1つ又は複数をサポートしていてもよい。 The communication unit 6 communicates wirelessly. The wireless communication standards supported by the communication unit 6 include, for example, cellular phone communication standards such as 2G, 3G, 4G, and 5G, and short-range wireless communication standards. Communication standards for cellular phones include, for example, LTE (Long Term Evolution), W-CDMA (registered trademark) (Wideband Code Division Multiple Access), CDMA2000, PDC (Personal Digital Cellular), GSM (registered trademark), and GSM (registered trademark). Mobile communications), PHS (Personal Handy-phone System), and the like. Examples of short-range wireless communication standards include WiMAX (registered trademark) (Worldwide interoperability for Microwave Access), IEEE802.11, Bluetooth (registered trademark), Infrared Data Association (registered trademark), IrDA (Infrared Data Association), and "Infrared Data Association". ), WPAN (Wireless Personal Area Network) and the like. The communication unit 6 may support one or more of the above-mentioned communication standards.
レシーバ7は、コントローラ10から送出される音信号を音として出力する。マイク8は、入力されるユーザの声等を音信号へ変換してコントローラ10へ送信する。 The receiver 7 outputs a sound signal transmitted from the controller 10 as sound. The microphone 8 converts the input user's voice or the like into a sound signal and transmits it to the controller 10.
ストレージ9は、プログラム及びデータを記憶する。ストレージ9は、コントローラ10の処理結果を一時的に記憶する作業領域として利用されてもよい。ストレージ9は、半導体記憶媒体、及び磁気記憶媒体等の任意の非一過的(non−transitory)な記憶媒体を含んでよい。ストレージ9は、複数の種類の記憶媒体を含んでよい。ストレージ9は、メモリカード、光ディスク、又は光磁気ディスク等の記憶媒体と、記憶媒体の読み取り装置との組み合わせを含んでよい。ストレージ9は、RAM(Random Access Memory)等の一時的な記憶領域として利用される記憶デバイスを含んでよい。 The storage 9 stores programs and data. The storage 9 may be used as a work area for temporarily storing the processing result of the controller 10. The storage 9 may include any non-transitory storage medium such as a semiconductor storage medium and a magnetic storage medium. The storage 9 may include a plurality of types of storage media. The storage 9 may include a combination of a storage medium such as a memory card, an optical disk, or a magneto-optical disk, and a reader of the storage medium. The storage 9 may include a storage device used as a temporary storage area such as a RAM (Random Access Memory).
ストレージ9に記憶されるプログラムには、フォアグランド又はバックグランドで実行されるアプリケーションと、アプリケーションの動作を支援する支援プログラム(図示略)とが含まれる。アプリケーションは、例えば、フォアグランドで実行される場合、当該アプリケーションに係る画面を、ディスプレイ2Aに表示する。支援プログラムには、例えば、OS(Operating System)が含まれる。プログラムは、通信ユニット6による無線通信又は非一過的な記憶媒体を介してストレージ9にインストールされてもよい。 The program stored in the storage 9 includes an application executed in the foreground or the background, and a support program (not shown) that supports the operation of the application. When the application is executed in the foreground, for example, the screen related to the application is displayed on the display 2A. The support program includes, for example, an OS (Operating System). The program may be installed in the storage 9 via wireless communication by the communication unit 6 or a non-transient storage medium.
ストレージ9は、制御プログラム9A、キャリブレーションプログラム9B、照度センサデータ9C、近接センサデータ9D、加速度センサデータ9E、キャリブレーション実行条件9F、及び設定データ9Zなどを記憶できる。 The storage 9 can store the control program 9A, the calibration program 9B, the illuminance sensor data 9C, the proximity sensor data 9D, the acceleration sensor data 9E, the calibration execution condition 9F, the setting data 9Z, and the like.
制御プログラム9Aは、スマートフォン1の各種動作に関する処理を実現するための機能をそれぞれ提供できる。制御プログラム9Aが提供する機能は、照度センサ4の検出結果に基づいて、ディスプレイ2Aの輝度を調整する機能を含む。制御プログラム9Aが提供する機能は、近接センサ5の検出結果に基づいて、タッチスクリーン2Bに対する操作を無効とする機能を含む。制御プログラム9Aが提供する機能は、通信ユニット6、レシーバ7、及びマイク8等を制御することによって、通話を実現させる機能を含む。制御プログラム9Aが提供する機能は、カメラ12、及びカメラ13の撮影処理を制御する機能を含む。制御プログラム9Aが提供する機能は、コネクタ14を介して接続される外部機器との間の通信を制御する機能を含む。制御プログラム9Aが提供する機能は、タッチスクリーン2Bの検出結果に基づいて判別したジェスチャに応じて、ディスプレイ2Aに表示されている情報を変更する等の各種制御を行う機能を含む。制御プログラム9Aが提供する機能は、加速度センサ15の検出結果に基づいて、スマートフォン1を携帯するユーザの移動、停止等を検出する機能を含む。制御プログラム9Aが提供する機能は、GPS受信機より取得する信号に基づいて、現在位置に基づく処理を実行する機能を含む。 The control program 9A can provide functions for realizing processing related to various operations of the smartphone 1. The function provided by the control program 9A includes a function of adjusting the brightness of the display 2A based on the detection result of the illuminance sensor 4. The function provided by the control program 9A includes a function of invalidating the operation on the touch screen 2B based on the detection result of the proximity sensor 5. The function provided by the control program 9A includes a function of realizing a telephone call by controlling the communication unit 6, the receiver 7, the microphone 8, and the like. The function provided by the control program 9A includes a function of controlling the shooting process of the camera 12 and the camera 13. The function provided by the control program 9A includes a function of controlling communication with an external device connected via the connector 14. The function provided by the control program 9A includes a function of performing various controls such as changing the information displayed on the display 2A according to the gesture determined based on the detection result of the touch screen 2B. The function provided by the control program 9A includes a function of detecting the movement, stop, etc. of the user carrying the smartphone 1 based on the detection result of the acceleration sensor 15. The function provided by the control program 9A includes a function of executing processing based on the current position based on a signal acquired from the GPS receiver.
キャリブレーションプログラム9Bは、照度センサデータ9C及び近接センサデータ9Dがキャリブレーション実行条件9Fを満足することを条件として、近接センサ5の検出値の補正に用いる基準値(以下、適宜「オフセット」と記載する)を更新する機能を提供できる。キャリブレーションプログラム9Bは、照度センサデータ9Cに含まれる複数のデータサンプルから、赤外線成分に対応するデータ及び可視光成分に対応するデータを抽出し、赤外線成分に対応するデータと可視光成分に対応するデータとの比が閾値以下であるかを判定する機能を提供できる。キャリブレーションプログラム9Bは、近接センサデータ9Dに含まれる複数のデータサンプルの平均値を算出し、算出した平均値が閾値以下であるかを判定する機能を提供できる。キャリブレーションプログラム9Bによるオフセットの更新処理は、例えば、ユーザの操作によって開始される。キャリブレーションプログラム9Bは、キャリブレーションに関連するユーザインタフェースを提供できる。 The calibration program 9B describes the reference value (hereinafter, appropriately referred to as "offset") used for correcting the detection value of the proximity sensor 5 on the condition that the illuminance sensor data 9C and the proximity sensor data 9D satisfy the calibration execution condition 9F. Can provide the ability to update). The calibration program 9B extracts data corresponding to the infrared component and data corresponding to the visible light component from a plurality of data samples included in the illuminance sensor data 9C, and corresponds to the data corresponding to the infrared component and the visible light component. It is possible to provide a function of determining whether the ratio with the data is below the threshold. The calibration program 9B can provide a function of calculating the average value of a plurality of data samples included in the proximity sensor data 9D and determining whether the calculated average value is equal to or less than the threshold value. The offset update process by the calibration program 9B is started by, for example, a user operation. The calibration program 9B can provide a user interface related to calibration.
照度センサデータ9Cは、照度センサ4により検出される検出値の全データである。近接センサデータ9Dは、近接センサ5により検出される検出値の全データである。加速度センサデータ9Eは、加速度センサ15により検出される検出値の全データである。加速度センサデータ9Eは、スマートフォン1に作用する加速度の方向及び大きさを含む。加速度センサデータ9Eは、加速度センサ15により取得される全ての測定結果を含んでよい。例えば、加速度センサデータ9Eは、加速度の方向及び大きさの時系列変化で構成される加速度パターンを含んでよい。例えば、加速度センサデータ9Eは、加速度センサ15がx軸方向、y軸方向、及びz軸方向の加速度を検出する3軸型である場合、各軸における加速度の方向及び大きさ、並びに3軸の加速度を合成した合成ベクトルを含んでよい。 The illuminance sensor data 9C is all the data of the detected values detected by the illuminance sensor 4. The proximity sensor data 9D is all the data of the detected values detected by the proximity sensor 5. The acceleration sensor data 9E is all the data of the detected values detected by the acceleration sensor 15. The acceleration sensor data 9E includes the direction and magnitude of the acceleration acting on the smartphone 1. The acceleration sensor data 9E may include all measurement results acquired by the acceleration sensor 15. For example, the acceleration sensor data 9E may include an acceleration pattern composed of time-series changes in the direction and magnitude of acceleration. For example, when the acceleration sensor 15 is a three-axis type that detects acceleration in the x-axis direction, the y-axis direction, and the z-axis direction, the acceleration sensor data 9E shows the direction and magnitude of the acceleration in each axis, and the three axes. It may include a composite vector that combines accelerations.
キャリブレーション実行条件9Fは、近接センサ5のオフセットを更新するための条件を含む。図2は、実施形態に係るキャリブレーション実行条件の一例を示す図である。図2に示す例では、照度センサ4の検出値d1が閾値th1以下であり、かつ近接センサ5の検出値d2が閾値th2以下である場合、キャリブレーションを実行することが規定されている。一方、図2に示す例では、照度センサ4の検出値d1が閾値th1より大きく、かつ近接センサ5の検出値d2が閾値th2よりも大きい場合、キャリブレーションを実行しないことが規定されている。 The calibration execution condition 9F includes a condition for updating the offset of the proximity sensor 5. FIG. 2 is a diagram showing an example of calibration execution conditions according to the embodiment. In the example shown in FIG. 2, it is stipulated that calibration is performed when the detection value d1 of the illuminance sensor 4 is equal to or less than the threshold value th1 and the detection value d2 of the proximity sensor 5 is equal to or less than the threshold value th2. On the other hand, in the example shown in FIG. 2, it is stipulated that the calibration is not executed when the detection value d1 of the illuminance sensor 4 is larger than the threshold value th1 and the detection value d2 of the proximity sensor 5 is larger than the threshold value th2.
すなわち、照度センサ4の検出値d1が閾値th1より大きい場合を、キャリブレーションを実行しない必要条件の1つとして組み入れることにより、例えば、晴れた日中の屋外などの明る過ぎる場所など、赤外線型の近接センサ5のキャリブレーションに適していない場所でキャリブレーションが実行されることを避けることができる。近接センサ5の検出値d2が閾値th2より大きい場合を、キャリブレーションを実行しない必要条件の1つとして組み入れることにより、例えば、近接センサ5の上部に障害物がある状況など、赤外線型の近接センサ5のキャリブレーションに適していない状況でのキャリブレーションを避けることができる。照度センサ4の検出値d1は、例えば、照度センサデータ9Cに含まれる複数のデータサンプルから抽出した赤外線成分に対応するデータと可視光成分に対応するデータとの比を含む。すなわち、赤外線成分が可視光に含まれる割合に基づいて、晴れた日中の屋外などの明る過ぎる場所を特定できる。近接センサ5の検出値d2は、近接センサデータ9Dに含まれる複数のデータサンプルの平均値を含む。キャリブレーション実行条件9Fは、更新条件の一例である。 That is, by incorporating the case where the detection value d1 of the illuminance sensor 4 is larger than the threshold value th1 as one of the necessary conditions for not performing calibration, for example, an infrared type such as an overly bright place such as outdoors in a sunny day. It is possible to avoid performing the calibration in a place unsuitable for calibrating the proximity sensor 5. By incorporating the case where the detection value d2 of the proximity sensor 5 is larger than the threshold value th2 as one of the necessary conditions for not performing calibration, for example, an infrared proximity sensor such as a situation where there is an obstacle above the proximity sensor 5. Calibration in a situation unsuitable for the calibration of 5 can be avoided. The detection value d1 of the illuminance sensor 4 includes, for example, the ratio of the data corresponding to the infrared component and the data corresponding to the visible light component extracted from a plurality of data samples included in the illuminance sensor data 9C. That is, it is possible to identify an overly bright place such as outdoors in a sunny day based on the ratio of the infrared component contained in the visible light. The detection value d2 of the proximity sensor 5 includes an average value of a plurality of data samples included in the proximity sensor data 9D. The calibration execution condition 9F is an example of an update condition.
設定データ9Zは、スマートフォン1の動作に関する各種設定の情報を含む。 The setting data 9Z includes information on various settings related to the operation of the smartphone 1.
スマートフォン1は、通信ユニット6を介してクラウドストレージと連携し、当該クラウドストレージが記憶するファイル及びデータにアクセスしてもよい。クラウドストレージは、ストレージ9に記憶されるプログラム及びデータの一部又は全部を記憶してもよい。 The smartphone 1 may cooperate with the cloud storage via the communication unit 6 to access the files and data stored in the cloud storage. The cloud storage may store a part or all of the programs and data stored in the storage 9.
コントローラ10は、演算処理装置を含む。演算処理装置は、例えば、CPU(Central Processing Unit)、SoC(System−on−a−Chip)、MCU(Micro Control Unit)、FPGA(Field−Programmable Gate Array)、およびコプロセッサを含むが、これらに限定されない。コントローラ10は、スマートフォン1の動作を統括的に制御して各種の機能を実現する。 The controller 10 includes an arithmetic processing unit. The arithmetic processing unit includes, for example, a CPU (Central Processing Unit), a System (System-on-a-Chip), an MCU (MicroControl Unit), an FPGA (Field-Programmable Gate Array), and a coprocessor. Not limited. The controller 10 comprehensively controls the operation of the smartphone 1 to realize various functions.
具体的には、コントローラ10は、ストレージ9に記憶されているデータを必要に応じて参照しつつ、ストレージ9に記憶されているプログラムに含まれる命令を実行する。そして、コントローラ10は、データ及び命令に応じて機能部を制御し、それによって各種機能を実現する。機能部は、例えば、ディスプレイ2A、通信ユニット6、マイク8、スピーカ11及びGPS受信機19を含むが、これらに限定されない。コントローラ10は、検出部の検出結果に応じて、制御を変更することがある。検出部は、例えば、タッチスクリーン2B、ボタン3、照度センサ4、近接センサ5、マイク8、カメラ12、カメラ13、加速度センサ15、方位センサ16、角速度センサ17、及び気圧センサ18を含むが、これらに限定されない。 Specifically, the controller 10 executes an instruction included in the program stored in the storage 9 while referring to the data stored in the storage 9 as necessary. Then, the controller 10 controls the functional unit according to the data and the instruction, thereby realizing various functions. The functional unit includes, but is not limited to, for example, a display 2A, a communication unit 6, a microphone 8, a speaker 11, and a GPS receiver 19. The controller 10 may change the control according to the detection result of the detection unit. The detection unit includes, for example, a touch screen 2B, a button 3, an illuminance sensor 4, a proximity sensor 5, a microphone 8, a camera 12, a camera 13, an acceleration sensor 15, an orientation sensor 16, an angular velocity sensor 17, and a pressure sensor 18. Not limited to these.
コントローラ10は、制御プログラム9Aを実行することにより、スマートフォン1の動作に関する各種制御を実現できる。 By executing the control program 9A, the controller 10 can realize various controls related to the operation of the smartphone 1.
コントローラ10は、キャリブレーションプログラム9Bを実行することにより、キャリブレーション実行条件9Fを満足することを条件として、近接センサ5のオフセットを設定する処理を実現できる。コントローラ10は、例えば、照度センサデータ9Cに含まれる複数のデータサンプルから、赤外線成分に対応するデータ及び可視光成分に対応するデータを抽出し、赤外線成分に対応するデータと可視光成分に対応するデータとの比を算出して、算出した比が閾値以下であるかを判定することにより、キャリブレーション実行条件9Fを満足するかを判定する処理を実行できる。コントローラ10は、例えば、近接センサデータ9Dに含まれる複数のデータサンプルの平均値を算出し、算出した平均値が閾値以下であるかを判定する処理を実行できる。 By executing the calibration program 9B, the controller 10 can realize a process of setting the offset of the proximity sensor 5 on condition that the calibration execution condition 9F is satisfied. For example, the controller 10 extracts data corresponding to the infrared component and data corresponding to the visible light component from a plurality of data samples included in the illuminance sensor data 9C, and corresponds to the data corresponding to the infrared component and the visible light component. By calculating the ratio with the data and determining whether the calculated ratio is equal to or less than the threshold value, it is possible to execute the process of determining whether the calibration execution condition 9F is satisfied. The controller 10 can, for example, calculate an average value of a plurality of data samples included in the proximity sensor data 9D, and execute a process of determining whether the calculated average value is equal to or less than a threshold value.
スピーカ11は、コントローラ10から送出される音信号を音として出力する。スピーカ11は、例えば、着信音及び音楽を出力するために用いられる。レシーバ7及びスピーカ11の一方が、他方の機能を兼ねてもよい。 The speaker 11 outputs a sound signal transmitted from the controller 10 as sound. The speaker 11 is used, for example, to output a ringtone and music. One of the receiver 7 and the speaker 11 may also serve as the other function.
カメラ12及びカメラ13は、撮影した画像を電気信号へ変換する。カメラ12は、ディスプレイ2Aに面している物体を撮影するインカメラである。カメラ13は、ディスプレイ2Aの反対側の面に面している物体を撮影するアウトカメラである。カメラ12及びカメラ13は、インカメラ及びアウトカメラを切り換えて利用可能なカメラユニットとして、機能的及び物理的に統合された状態でスマートフォン1に実装されてもよい。 The camera 12 and the camera 13 convert the captured image into an electric signal. The camera 12 is an in-camera that captures an object facing the display 2A. The camera 13 is an out-camera that captures an object facing the opposite surface of the display 2A. The camera 12 and the camera 13 may be mounted on the smartphone 1 in a functionally and physically integrated state as a camera unit that can be used by switching between an in-camera and an out-camera.
コネクタ14は、他の装置が接続される端子である。コネクタ14は、USB(Universal Serial Bus)、HDMI(登録商標)(High−Definition Multimedia Interface)、MHL(Mobile High−difinition Link)、ライトピーク(Light Peak)、サンダーボルト(登録商標)(Thunderbolt)、LANコネクタ(Local Area Network connector)、イヤホンマイクコネクタのような汎用的な端子であってもよい。コネクタ14は、Dockコネクタのような専用に設計された端子でもよい。コネクタ14に接続される装置は、例えば、充電器、外部ストレージ、スピーカ、通信装置、及び情報処理装置を含むが、これらに限定されない。 The connector 14 is a terminal to which another device is connected. The connector 14 includes USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), MHL (Mobile High-definition Link), Light Peak (Light Peak), Thunderbolt (Light Peak), Thunderbolt (Light Peak) It may be a general-purpose terminal such as a LAN connector (Local Area Network connector) or an earphone / microphone connector. The connector 14 may be a specially designed terminal such as a Dock connector. Devices connected to the connector 14 include, but are not limited to, for example, chargers, external storage, speakers, communication devices, and information processing devices.
加速度センサ15は、スマートフォン1に作用する加速度の方向及び大きさを検出できる。実施形態の1つの例として、X軸方向、Y軸方向、及びZ軸方向の加速度を検出する3軸型の加速度センサ15を採用できる。加速度センサ15は、ピエゾ抵抗型、静電容量型、圧電素子型(圧電式)、熱検知型によるMEMS(Micro Electro Mechanical Systems)式、動作させた可動コイルをフィードバック電流により元に戻すサーボ式、あるいは歪みゲージ式などにより構成することができる。加速度センサ15は、検出結果をコントローラ10に送出する。コントローラ10は、加速度センサ15の検出結果に基づいて各種制御を実行できる。例えば、スマートフォン1に作用している重力が加速度として加速度センサ15から出力されると、コントローラ10は、スマートフォン1に作用する重力方向を反映した制御を実行できる。 The acceleration sensor 15 can detect the direction and magnitude of the acceleration acting on the smartphone 1. As one example of the embodiment, a three-axis type acceleration sensor 15 that detects acceleration in the X-axis direction, the Y-axis direction, and the Z-axis direction can be adopted. The acceleration sensor 15 includes a piezoresistive type, a capacitance type, a piezoelectric element type (piezoelectric type), a MEMS (Micro Electro Mechanical Systems) type based on a heat detection type, and a servo type that restores an operated movable coil by a feedback current. Alternatively, it can be configured by a strain gauge type or the like. The acceleration sensor 15 sends the detection result to the controller 10. The controller 10 can execute various controls based on the detection result of the acceleration sensor 15. For example, when the gravity acting on the smartphone 1 is output from the acceleration sensor 15 as an acceleration, the controller 10 can execute the control reflecting the direction of gravity acting on the smartphone 1.
方位センサ16は、地磁気の向きを検出できる。方位センサ16は、検出結果をコントローラ10に送出する。コントローラ10は、方位センサ16の検出結果に基づいて各種制御を実行できる。例えば、コントローラ10は、地磁気の向きからスマートフォン1の向き(方位)を特定し、特定したスマートフォン1の方位を反映した制御を実行できる。 The azimuth sensor 16 can detect the direction of the geomagnetism. The azimuth sensor 16 sends the detection result to the controller 10. The controller 10 can execute various controls based on the detection result of the directional sensor 16. For example, the controller 10 can specify the direction (direction) of the smartphone 1 from the direction of the geomagnetism and execute control reflecting the direction of the specified smartphone 1.
角速度センサ17は、スマートフォン1の角速度を検出できる。角速度センサ17は、検出結果をコントローラ10に送出する。コントローラ10は、角速度センサ17の検出結果に基づいて各種制御を実行できる。例えば、コントローラ10は、角速度センサ17から出力される角速度の有無に基づいて、スマートフォン1の回転を反映した制御を実現できる。 The angular velocity sensor 17 can detect the angular velocity of the smartphone 1. The angular velocity sensor 17 sends the detection result to the controller 10. The controller 10 can execute various controls based on the detection result of the angular velocity sensor 17. For example, the controller 10 can realize control that reflects the rotation of the smartphone 1 based on the presence or absence of the angular velocity output from the angular velocity sensor 17.
コントローラ10は、加速度センサ15、方位センサ16、及び角速度センサ17の各検出結果を個別に利用する場合に限定されず、各検出結果を組み合わせて利用することもできる。 The controller 10 is not limited to the case where the detection results of the acceleration sensor 15, the direction sensor 16, and the angular velocity sensor 17 are used individually, and each detection result can be used in combination.
気圧センサ18は、スマートフォン1に作用する気圧を検出できる。気圧センサ18の検出結果は、単位時間あたりの気圧変化量を含んでよい。気圧変化量は、絶対値もしくはスカラー量を累積した値であってよい。単位時間は、任意の時間を設定してよい。気圧センサ18は、検出結果をコントローラ10に送出する。 The barometric pressure sensor 18 can detect the barometric pressure acting on the smartphone 1. The detection result of the barometric pressure sensor 18 may include the amount of change in barometric pressure per unit time. The amount of change in atmospheric pressure may be an absolute value or a value obtained by accumulating a scalar amount. Any time may be set as the unit time. The barometric pressure sensor 18 sends the detection result to the controller 10.
GPS受信機19は、GPS衛星からの所定の周波数帯の電波信号を受信できる。GPS受信機は、受信した電波信号の復調処理を行って、処理後の信号をコントローラ10に送出する。 The GPS receiver 19 can receive radio signals in a predetermined frequency band from GPS satellites. The GPS receiver performs demodulation processing of the received radio wave signal and sends the processed signal to the controller 10.
スマートフォン1は、バイブレータを備えてもよい。バイブレータは、スマートフォン1の一部又は全体を振動させる。バイブレータは、振動を発生させるために、例えば、圧電素子、又は偏心モータなどを有する。スマートフォン1は、上述のセンサの他、温度センサ、湿度センサ、圧力センサなどを備えてもよい。スマートフォン1は、バッテリなど、スマートフォン1の機能を維持するために当然に用いられる機能部、及びスマートフォン1の制御を実現するために当然に用いられる検出部を実装する。 The smartphone 1 may include a vibrator. The vibrator vibrates a part or the whole of the smartphone 1. The vibrator has, for example, a piezoelectric element, an eccentric motor, or the like in order to generate vibration. In addition to the above-mentioned sensors, the smartphone 1 may include a temperature sensor, a humidity sensor, a pressure sensor, and the like. The smartphone 1 implements a functional unit that is naturally used to maintain the function of the smartphone 1, such as a battery, and a detection unit that is naturally used to realize control of the smartphone 1.
図3は、実施形態に係るスマートフォンの正面図である。以下の説明において、スマートフォンの正面は、スマートフォン1を利用するユーザと対面する、あるいはユーザに接する面であり、以下の説明おいて「正面」及び「表示面」と記載する場合がある。図3に示すように、スマートフォン1は、ディスプレイ2A、近接センサ5、及びカメラ12などが設けられる表示面側に、表示面の全面を覆う保護シート21が設けられる。すなわち、保護シート21は、近接センサ5の赤外線照射口の真上、すなわち、赤外線照射口全体を覆うように重畳されて設置される。保護シート21は、所定の接着層を有し、ユーザによる貼り換え自在に構成される。保護シート21は、落下等の衝撃からディスプレイ2Aの破損を防止する。 FIG. 3 is a front view of the smartphone according to the embodiment. In the following description, the front surface of the smartphone is a surface facing or contacting the user who uses the smartphone 1, and may be described as "front surface" and "display surface" in the following description. As shown in FIG. 3, the smartphone 1 is provided with a protective sheet 21 that covers the entire surface of the display surface on the display surface side on which the display 2A, the proximity sensor 5, the camera 12, and the like are provided. That is, the protective sheet 21 is superposed and installed directly above the infrared irradiation port of the proximity sensor 5, that is, so as to cover the entire infrared irradiation port. The protective sheet 21 has a predetermined adhesive layer and is configured to be freely reattachable by the user. The protective sheet 21 prevents damage to the display 2A from impacts such as dropping.
図4は、図3に示すI−I線における断面を模式的に示す図である。図3は、近接センサの設置位置の周辺をxz平面に平行な面で切断したときの断面を示している。図3に示すように、近接センサ5の上部に、保護シート21、接着層22、及び強化ガラス23が設置されている。保護シート21は、接着層22により強化ガラス23に貼り付けられている。近接センサ5と強化ガラス23との間に、エアギャップAG1が存在する。近接センサ5から照射される赤外線L1は、近接検知対象物に到達する前に、保護シート21、接着層22、及び強化ガラス23の表面で少なからず反射し、反射光L2となって近接センサ5により受光される。このように、エアギャップAG1、保護シート21、接着層22、及び強化ガラス23は、近接センサ5から照射される赤外線L1の透過率に影響を与える。保護シート21は、図3に示すように、近接センサ5の赤外線照射口の全面を覆うので、保護シート21、接着層22、及び強化ガラス23からの反射光L2が、近接センサ5によって検出されるときの検出値(以下、適宜「クロストーク値」と記載する)を考慮して、検知対象物との距離が所望の距離で反応するように、近接センサ5のオフセットを設定する必要がある。 FIG. 4 is a diagram schematically showing a cross section taken along the line II shown in FIG. FIG. 3 shows a cross section when the periphery of the installation position of the proximity sensor is cut by a plane parallel to the xz plane. As shown in FIG. 3, a protective sheet 21, an adhesive layer 22, and tempered glass 23 are installed above the proximity sensor 5. The protective sheet 21 is attached to the tempered glass 23 by the adhesive layer 22. There is an air gap AG1 between the proximity sensor 5 and the tempered glass 23. The infrared rays L1 emitted from the proximity sensor 5 are reflected not a little on the surfaces of the protective sheet 21, the adhesive layer 22, and the tempered glass 23 before reaching the proximity detection object, and become reflected light L2 to become the proximity sensor 5. Is received by. As described above, the air gap AG1, the protective sheet 21, the adhesive layer 22, and the tempered glass 23 affect the transmittance of the infrared ray L1 emitted from the proximity sensor 5. As shown in FIG. 3, the protective sheet 21 covers the entire surface of the infrared irradiation port of the proximity sensor 5, so that the reflected light L2 from the protective sheet 21, the adhesive layer 22, and the tempered glass 23 is detected by the proximity sensor 5. It is necessary to set the offset of the proximity sensor 5 so that the distance to the detection target reacts at a desired distance in consideration of the detected value (hereinafter, appropriately referred to as “crosstalk value”). ..
図5は、実施形態に係る近接センサの出力と検知距離との関係を示す図である。図5に示す5Aは、近接センサ5の出力を示す。図5に示す5Bは、例えば、図3及び図4に示す近接センサ5により検出されるクロストーク値に相当する出力を示す。図5に示す5Cは、例えば、検知距離を30ミリメートルに設定した場合における近接センサ5のクロストーク値の変化許容幅を示す。例えば、何らかの要因で、クロストーク値が大きくなり、変化許容幅(5C)を超えると、近接センサが所望の検知距離(例えば、30ミリメートル)で反応しなくなってしまう。 FIG. 5 is a diagram showing the relationship between the output of the proximity sensor and the detection distance according to the embodiment. 5A shown in FIG. 5 shows the output of the proximity sensor 5. 5B shown in FIG. 5 indicates, for example, an output corresponding to the crosstalk value detected by the proximity sensor 5 shown in FIGS. 3 and 4. 5C shown in FIG. 5 shows, for example, the permissible range of change in the crosstalk value of the proximity sensor 5 when the detection distance is set to 30 mm. For example, if the crosstalk value becomes large for some reason and exceeds the allowable change width (5C), the proximity sensor will not respond at a desired detection distance (for example, 30 mm).
保護シート21は、例えば、ユーザによる貼り換えが自在に行えるように構成されるので、保護シート21の貼り換えが行われた場合、貼り換えられた保護シート21の素材並びに接着層22の材料、保護シート21と強化ガラス23との貼付状況などにより、クロストーク値が変化するおそれがある。このため、保護シート21の貼り換え後は、再びオフセットを更新する必要がある。そこで、実施形態に係るスマートフォン1は、保護シート21の貼り換えが行われた場合、近接センサ5のキャリブレーションを実行する方法を提案する。 Since the protective sheet 21 is configured to be freely reattachable by the user, for example, when the protective sheet 21 is reattached, the material of the reattached protective sheet 21 and the material of the adhesive layer 22 The crosstalk value may change depending on the sticking condition of the protective sheet 21 and the tempered glass 23. Therefore, it is necessary to update the offset again after the protective sheet 21 is replaced. Therefore, the smartphone 1 according to the embodiment proposes a method of calibrating the proximity sensor 5 when the protective sheet 21 is replaced.
図6及び図7を用いて、実施形態に係るスマートフォン1による処理の例を説明する。図6は、実施形態に係るスマートフォンによる処理の一例を示すフローチャートである。図7は、実施形態に係るユーザインタフェースの一例を示す図である。図6に示す処理は、コントローラ10がキャリブレーションプログラム9Bを実行することにより実現される。図10に示す処理は、スマートフォン1が動作可能な状態であれば、給電を一部制御するモード、いわゆる省電力モードのときにも実行される。 An example of processing by the smartphone 1 according to the embodiment will be described with reference to FIGS. 6 and 7. FIG. 6 is a flowchart showing an example of processing by the smartphone according to the embodiment. FIG. 7 is a diagram showing an example of a user interface according to the embodiment. The process shown in FIG. 6 is realized by the controller 10 executing the calibration program 9B. The process shown in FIG. 10 is also executed in a mode in which power supply is partially controlled, that is, a so-called power saving mode, as long as the smartphone 1 can operate.
図6に示すように、コントローラ10は、近接センサ5の感度補正開始指示があったかを判定する(ステップS101)。具体的には、図7に示すように、スマートフォン1は、ディスプレイ2Aに表示する各種設定画面SC1において、「近接センサ感度補正」に対する操作を受け付けると(図7の「U1」参照)、近接センサ感度補正画面SC2をディスプレイ2Aに表示する(図7の「U2」参照)。そして、スマートフォン1は、近接センサ感度補正画面SC2において、「開始」に対する操作を受け付けると(図7の「U2」参照)、近接センサ5の感度補正開始指示があったものと判定する。 As shown in FIG. 6, the controller 10 determines whether or not the sensitivity correction start instruction of the proximity sensor 5 has been given (step S101). Specifically, as shown in FIG. 7, when the smartphone 1 accepts an operation for "proximity sensor sensitivity correction" on the various setting screens SC1 displayed on the display 2A (see "U1" in FIG. 7), the proximity sensor The sensitivity correction screen SC2 is displayed on the display 2A (see “U2” in FIG. 7). Then, when the smartphone 1 accepts the operation for "start" on the proximity sensor sensitivity correction screen SC2 (see "U2" in FIG. 7), it determines that the sensitivity correction start instruction of the proximity sensor 5 has been given.
コントローラ10は、判定の結果、近接センサ5の感度補正開始指示があった場合(ステップS101,Yes)、照度センサデータ9Cを取得する(ステップS102)。続いて、コントローラ10は、近接センサデータ9Dを取得する(ステップS103)。 As a result of the determination, the controller 10 acquires the illuminance sensor data 9C (step S102) when the sensitivity correction start instruction of the proximity sensor 5 is given (step S101, Yes). Subsequently, the controller 10 acquires the proximity sensor data 9D (step S103).
コントローラ10は、照度センサデータ9C及び近接センサデータ9Dがキャリブレーション実行条件9Fを満足するか否かを判定する(ステップS104)。 The controller 10 determines whether or not the illuminance sensor data 9C and the proximity sensor data 9D satisfy the calibration execution condition 9F (step S104).
コントローラ10は、判定の結果、照度センサデータ9C及び近接センサデータ9Dがキャリブレーション実行条件9Fを満足する場合(ステップS104,Yes)、近接センサ5のオフセットを更新する(ステップS105)。 As a result of the determination, when the illuminance sensor data 9C and the proximity sensor data 9D satisfy the calibration execution condition 9F (steps S104, Yes), the controller 10 updates the offset of the proximity sensor 5 (step S105).
続いて、コントローラ10は、近接センサ5の感度補正に成功した旨のメッセージを表示して(ステップS106)、図6に示す処理を終了する。例えば、コントローラ10は、図7に示すように、ディスプレイ2Aに表示する処理結果画面SC3に近接センサ5の感度補正に成功した旨のメッセージを表示する(図7の「U3」参照)。 Subsequently, the controller 10 displays a message indicating that the sensitivity correction of the proximity sensor 5 has been successful (step S106), and ends the process shown in FIG. For example, as shown in FIG. 7, the controller 10 displays a message on the processing result screen SC3 displayed on the display 2A to the effect that the sensitivity correction of the proximity sensor 5 has been successful (see “U3” in FIG. 7).
ステップS104において、コントローラ10は、判定の結果、照度センサデータ9C及び近接センサデータ9Dがキャリブレーション実行条件9Fを満足しない場合(ステップS104,No)、近接センサ5の感度補正に失敗した旨のメッセージを表示して(ステップS107)、図6に示す処理を終了する。例えば、コントローラ10は、図7に示すように、ディスプレイ2Aに表示する処理結果画面SC4に近接センサ5の感度補正に失敗した旨のメッセージを表示する(図7の「U4」参照)。 In step S104, when the result of the determination is that the illuminance sensor data 9C and the proximity sensor data 9D do not satisfy the calibration execution condition 9F (steps S104, No), the controller 10 has failed to correct the sensitivity of the proximity sensor 5. Is displayed (step S107), and the process shown in FIG. 6 is terminated. For example, as shown in FIG. 7, the controller 10 displays a message indicating that the sensitivity correction of the proximity sensor 5 has failed on the processing result screen SC4 displayed on the display 2A (see “U4” in FIG. 7).
ステップS101において、コントローラ10は、判定の結果、近接センサ5の感度補正開始指示がない場合(ステップS101,No)、図6に示す処理を終了する。 In step S101, if as a result of the determination, there is no sensitivity correction start instruction of the proximity sensor 5 (steps S101, No), the controller 10 ends the process shown in FIG.
上記の実施形態では、スマートフォン1が、保護シート21の貼り換えを行ったユーザによるキャリブレーション実行操作を検出して、近接センサ5のキャリブレーションを実行し、近接センサ5のオフセットを更新できる。このため、スマートフォン1は、例えば、保護シート21の貼り換えを原因とする近接センサ5の動作の不具合を防止できる。 In the above embodiment, the smartphone 1 can detect the calibration execution operation by the user who has replaced the protective sheet 21, calibrate the proximity sensor 5, and update the offset of the proximity sensor 5. Therefore, the smartphone 1 can prevent a malfunction of the proximity sensor 5 due to, for example, replacement of the protective sheet 21.
上記の実施形態において、スマートフォン1は、図7に示す処理結果画面SC3及び処理結果画面SC4にメッセージを表示することにより、感度補正の処理結果を通知する例を説明したが、これには限定されず、ポップアップ表示、バナー表示、ステータスバーへのアイコン表示、メッセージの音声出力などの方法により通知してもよい。 In the above embodiment, the smartphone 1 has described an example of notifying the processing result of sensitivity correction by displaying a message on the processing result screen SC3 and the processing result screen SC4 shown in FIG. 7, but the present invention is limited to this. Instead, notification may be made by a method such as pop-up display, banner display, icon display on the status bar, or voice output of a message.
(他の実施形態)
上記の実施形態では、ユーザによるキャリブレーション実行操作を検出してオフセットの更新を実行する例を説明したが、以下の実施形態では、オフセットの自動更新について説明する。
(Other embodiments)
In the above embodiment, an example of detecting the calibration execution operation by the user and executing the offset update has been described, but in the following embodiments, the automatic offset update will be described.
他の実施形態に係るスマートフォン1の機能的な構成は、基本的には、上記の実施形態と同様であるが、以下に説明する点が異なる。 The functional configuration of the smartphone 1 according to the other embodiment is basically the same as that of the above embodiment, except that the points described below are different.
キャリブレーションプログラム9Bは、オフセットの更新後、所定の周期で、照度センサ4及び近接センサ5の検出値、並びに加速度センサ15の検出値がキャリブレーション実行条件9Fを満足するか否かを判定し、判定の結果、キャリブレーション実行条件9Fを満足する場合、オフセットを更新する機能を提供できる。所定の周期は、例えば、近接センサのオフセットについて定期的な見直しを実施する目的で任意の時間が設定される。所定の周期は、任意の時間が設定されてよい。 After updating the offset, the calibration program 9B determines whether or not the detected values of the illuminance sensor 4 and the proximity sensor 5 and the detected values of the acceleration sensor 15 satisfy the calibration execution condition 9F at a predetermined cycle. As a result of the determination, when the calibration execution condition 9F is satisfied, the function of updating the offset can be provided. The predetermined period is set to an arbitrary time, for example, for the purpose of periodically reviewing the offset of the proximity sensor. Any time may be set for the predetermined cycle.
図8は、他の実施形態に係るキャリブレーション実行条件の一例を示す図である。図8に示す例では、照度センサ4の検出値d1が閾値th1以下であり、近接センサ5の検出値d2が閾値th2以下であり、さらに、加速度センサ15の検出値d3が閾値th3以下である場合、キャリブレーションを実行することが規定されている。一方、図8に示す例では、照度センサ4の検出値d1が閾値th1より大きく、かつ近接センサ5の検出値d2が閾値th2よりも大きく、さらに、加速度センサ15の検出値d3が閾値th3より大きい場合、キャリブレーションを実行しないことが規定されている。 FIG. 8 is a diagram showing an example of calibration execution conditions according to another embodiment. In the example shown in FIG. 8, the detection value d1 of the illuminance sensor 4 is the threshold value th1 or less, the detection value d2 of the proximity sensor 5 is the threshold value th2 or less, and the detection value d3 of the acceleration sensor 15 is the threshold value th3 or less. If so, it is specified to perform calibration. On the other hand, in the example shown in FIG. 8, the detection value d1 of the illuminance sensor 4 is larger than the threshold value th1, the detection value d2 of the proximity sensor 5 is larger than the threshold value th2, and the detection value d3 of the acceleration sensor 15 is larger than the threshold value th3. If it is large, it is stipulated that calibration should not be performed.
すなわち、図2に示す例に加えて、加速度センサ15の検出値d3が閾値th3より大きい場合を、キャリブレーションを実行しない必要条件の1つとして組み入れることにより、スマートフォン1を手に持って移動している状態など、スマートフォン1が不安定で、赤外線型の近接センサ5のキャリブレーションに適していない状況下でキャリブレーションが実行されることを避けることができる。キャリブレーション実行条件9Fは、更新条件の一例である。 That is, in addition to the example shown in FIG. 2, the case where the detection value d3 of the acceleration sensor 15 is larger than the threshold value th3 is incorporated as one of the necessary conditions for not executing the calibration, so that the smartphone 1 can be moved by holding it in the hand. It is possible to avoid performing the calibration in a situation where the smartphone 1 is unstable and is not suitable for the calibration of the infrared type proximity sensor 5. The calibration execution condition 9F is an example of an update condition.
コントローラ10は、キャリブレーションプログラム9Bを実行することにより、オフセットの更新後、所定の周期で、照度センサ4及び近接センサ5の検出値、並びに加速度センサ15の検出値がキャリブレーション実行条件9Fを満足するか否かを判定し、判定の結果、キャリブレーション実行条件9Fを満足する場合、オフセットを更新する処理を実現する。 By executing the calibration program 9B, the controller 10 satisfies the calibration execution condition 9F in the detection values of the illuminance sensor 4 and the proximity sensor 5 and the detection values of the acceleration sensor 15 in a predetermined cycle after the offset is updated. When it is determined whether or not to perform the calibration, and as a result of the determination, the calibration execution condition 9F is satisfied, the process of updating the offset is realized.
図9は、他の実施形態に係るスマートフォンによる処理の一例を示すフローチャートである。図9に示す処理は、コントローラ10がキャリブレーションプログラム9Bを実行することにより実現される。図9に示す処理は、スマートフォン1が動作可能な状態であれば、給電を一部制御するモード、いわゆる省電力モードのときにも実行される。 FIG. 9 is a flowchart showing an example of processing by a smartphone according to another embodiment. The process shown in FIG. 9 is realized by the controller 10 executing the calibration program 9B. The process shown in FIG. 9 is also executed in the mode of partially controlling the power supply, that is, the so-called power saving mode, as long as the smartphone 1 can operate.
図9に示すように、コントローラ10は、近接センサ5の感度補正の実行周期に到達しているかを判定する(ステップS201)。 As shown in FIG. 9, the controller 10 determines whether or not the execution cycle of the sensitivity correction of the proximity sensor 5 has been reached (step S201).
コントローラ10は、判定の結果、感度補正の実行周期に到達している場合(ステップS201,Yes)、照度センサデータ9Cを取得する(ステップS202)。続いて、コントローラ10は、近接センサデータ9Dを取得する(ステップS203)。続いて、コントローラ10は、加速度センサデータ9Eを取得する(ステップS204)。 As a result of the determination, when the execution cycle of the sensitivity correction has been reached (step S201, Yes), the controller 10 acquires the illuminance sensor data 9C (step S202). Subsequently, the controller 10 acquires the proximity sensor data 9D (step S203). Subsequently, the controller 10 acquires the acceleration sensor data 9E (step S204).
コントローラ10は、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足するか否かを判定する(ステップS205)。 The controller 10 determines whether or not the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E satisfy the calibration execution condition 9F (step S205).
コントローラ10は、判定の結果、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足する場合(ステップS205,Yes)、近接センサ5のオフセットを更新する(ステップS206)。 As a result of the determination, when the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E satisfy the calibration execution condition 9F (steps S205, Yes), the controller 10 updates the offset of the proximity sensor 5 (step). S206).
一方、コントローラ10は、判定の結果、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足しない場合(ステップS205,No)、近接センサ5の感度補正に失敗した旨のメッセージを表示して(ステップS207)、図9に示す処理を終了する。 On the other hand, as a result of the determination, when the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E do not satisfy the calibration execution condition 9F (steps S205, No), the controller 10 fails to correct the sensitivity of the proximity sensor 5. A message to that effect is displayed (step S207), and the process shown in FIG. 9 ends.
ステップS201において、コントローラ10は、判定の結果、感度補正を実行しない場合(ステップS201,No)、図9に示す処理を終了する。 In step S201, if the result of the determination is that the sensitivity correction is not executed (steps S201, No), the controller 10 ends the process shown in FIG.
図9に示す処理において、スマートフォン1は、図6及び図7に示すように、感度補正に成功した旨のメッセージを表示するステップを実行してもよい。 In the process shown in FIG. 9, the smartphone 1 may execute a step of displaying a message indicating that the sensitivity correction is successful, as shown in FIGS. 6 and 7.
上記の他の実施形態によれば、スマートフォン1は、近接センサ5のオフセットを定期的に更新するので、近接センサ5の感度をできるだけ維持することができる。 According to the other embodiment described above, since the smartphone 1 periodically updates the offset of the proximity sensor 5, the sensitivity of the proximity sensor 5 can be maintained as much as possible.
近接センサ5のオフセットの更新は、所定の周期以外の種々の契機で実行されてよい。以下では、図10及び図11を用いて、近接センサ5のオフセットを更新するタイミングに関する他の例について説明する。図10及び図11は、他の実施形態に係るスマートフォンによる処理の一例を示すフローチャートである。 The update of the offset of the proximity sensor 5 may be executed at various triggers other than the predetermined cycle. In the following, another example regarding the timing of updating the offset of the proximity sensor 5 will be described with reference to FIGS. 10 and 11. 10 and 11 are flowcharts showing an example of processing by a smartphone according to another embodiment.
図10は、近接センサ5のクロストーク値の変化に基づいて、近接センサのオフセットの更新を実行する処理の例を示す。 FIG. 10 shows an example of a process of updating the offset of the proximity sensor based on the change of the crosstalk value of the proximity sensor 5.
図10に示すように、コントローラ10は、近接センサ5のクロストーク値が閾値以上であるかを判定する(ステップS301)。例えば、コントローラ10は、近接センサ5の出力からクロストーク値を推定し、推定したクロストーク値と設定中のオフセット(製品出荷時の初期設定値)との差分(変化量)が、閾値(例えば、変化許容幅5C(図5参照))以上であるかを判定する。製品出荷後、ユーザの手元で使用されているときのクロストーク値は、例えば、近接センサが反応していない時(所定の距離を検知していないとき)の出力の平均から推定できる。平均は、任意の時間内に検出された近接センサの出力に基づいて算出してよい。 As shown in FIG. 10, the controller 10 determines whether the crosstalk value of the proximity sensor 5 is equal to or greater than the threshold value (step S301). For example, the controller 10 estimates the crosstalk value from the output of the proximity sensor 5, and the difference (change amount) between the estimated crosstalk value and the offset (initial setting value at the time of product shipment) being set is a threshold value (for example). , The change allowable width 5C (see FIG. 5)) or more is determined. The crosstalk value when the product is used at the user's hand after shipment can be estimated from, for example, the average output when the proximity sensor is not responding (when a predetermined distance is not detected). The average may be calculated based on the output of the proximity sensor detected within any time period.
コントローラ10は、判定の結果、クロストーク値が閾値以上である場合(ステップS301,Yes)、照度センサデータ9Cを取得する(ステップS302)。続いて、コントローラ10は、近接センサデータ9Dを取得する(ステップS303)。続いて、コントローラ10は、加速度センサデータ9Eを取得する(ステップS304)。 As a result of the determination, when the crosstalk value is equal to or greater than the threshold value (step S301, Yes), the controller 10 acquires the illuminance sensor data 9C (step S302). Subsequently, the controller 10 acquires the proximity sensor data 9D (step S303). Subsequently, the controller 10 acquires the acceleration sensor data 9E (step S304).
コントローラ10は、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足するか否かを判定する(ステップS305)。 The controller 10 determines whether or not the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E satisfy the calibration execution condition 9F (step S305).
コントローラ10は、判定の結果、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足する場合(ステップS305,Yes)、近接センサ5のオフセットを更新する(ステップS306)。 As a result of the determination, when the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E satisfy the calibration execution condition 9F (steps S305, Yes), the controller 10 updates the offset of the proximity sensor 5 (step). S306).
一方、コントローラ10は、判定の結果、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足しない場合(ステップS305,No)、近接センサ5の感度補正に失敗した旨のメッセージを表示して(ステップS307)、図10に示す処理を終了する。 On the other hand, as a result of the determination, when the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E do not satisfy the calibration execution condition 9F (steps S305, No), the controller 10 fails to correct the sensitivity of the proximity sensor 5. A message to that effect is displayed (step S307), and the process shown in FIG. 10 is terminated.
ステップS301において、コントローラ10は、判定の結果、クロストーク値が閾値以上ではない場合(ステップS301,No)、図10に示す処理を終了する。 In step S301, when the result of the determination is that the crosstalk value is not equal to or greater than the threshold value (steps S301, No), the controller 10 ends the process shown in FIG.
図10に示す処理においても、スマートフォン1は、図6及び図7に示すように、感度補正に成功した旨のメッセージを表示するステップを実行してもよい。 Also in the process shown in FIG. 10, the smartphone 1 may execute a step of displaying a message indicating that the sensitivity correction is successful, as shown in FIGS. 6 and 7.
例えば、スマートフォン1を使用することによって、保護シート21の表面に損傷が発生して保護シート21の光の透過率などが変化したり、熱又は光などにより接着層22が劣化して接着層22の光の透過率などが変化したりする場合が考えられる。図10に示す例では、スマートフォン1が、近接センサ5のクロストーク値の変化をモニタリングするので、例えば、保護シート21の損傷並びに接着層22の劣化がクロストーク値の変化という形で顕出した場合に対処できる。そして、スマートフォン1は、クロストーク値の変化に追従して近接センサ5のオフセットを更新できるので、近接センサ5の感度を有効な状態で管理しやすい。 For example, by using the smartphone 1, the surface of the protective sheet 21 is damaged and the light transmittance of the protective sheet 21 changes, or the adhesive layer 22 deteriorates due to heat or light, and the adhesive layer 22 deteriorates. It is conceivable that the light transmittance of the smartphone may change. In the example shown in FIG. 10, since the smartphone 1 monitors the change in the crosstalk value of the proximity sensor 5, for example, damage to the protective sheet 21 and deterioration of the adhesive layer 22 are manifested in the form of a change in the crosstalk value. You can handle the case. Since the smartphone 1 can update the offset of the proximity sensor 5 according to the change of the crosstalk value, it is easy to manage the sensitivity of the proximity sensor 5 in an effective state.
図11は、指紋認証が実行されたタイミングで近接センサのオフセットの更新を実行する処理の例を示す。 FIG. 11 shows an example of a process of updating the offset of the proximity sensor at the timing when the fingerprint authentication is executed.
図11に示すように、コントローラ10は、指紋認証が実行されたかを判定する(ステップS401)。 As shown in FIG. 11, the controller 10 determines whether fingerprint authentication has been executed (step S401).
コントローラ10は、判定の結果、指紋認証が実行された場合(ステップS401,Yes)、照度センサデータ9Cを取得する(ステップS402)。続いて、コントローラ10は、近接センサデータ9Dを取得する(ステップS403)。続いて、コントローラ10は、加速度センサデータ9Eを取得する(ステップS404)。 As a result of the determination, the controller 10 acquires the illuminance sensor data 9C when fingerprint authentication is executed (step S401, Yes) (step S402). Subsequently, the controller 10 acquires the proximity sensor data 9D (step S403). Subsequently, the controller 10 acquires the acceleration sensor data 9E (step S404).
コントローラ10は、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足するか否かを判定する(ステップS405)。 The controller 10 determines whether or not the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E satisfy the calibration execution condition 9F (step S405).
コントローラ10は、判定の結果、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足する場合(ステップS405,Yes)、近接センサ5のオフセットを更新する(ステップS406)。 As a result of the determination, when the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E satisfy the calibration execution condition 9F (steps S405 and Yes), the controller 10 updates the offset of the proximity sensor 5 (step). S406).
一方、コントローラ10は、判定の結果、照度センサデータ9C、近接センサデータ9D、及び加速度センサデータ9Eがキャリブレーション実行条件9Fを満足しない場合(ステップS405,No)、近接センサ5の感度補正に失敗した旨のメッセージを表示して(ステップS407)、図11に示す処理を終了する。 On the other hand, as a result of the determination, when the illuminance sensor data 9C, the proximity sensor data 9D, and the acceleration sensor data 9E do not satisfy the calibration execution condition 9F (steps S405 and No), the controller 10 fails to correct the sensitivity of the proximity sensor 5. A message to that effect is displayed (step S407), and the process shown in FIG. 11 is terminated.
ステップS401において、コントローラ10は、判定の結果、指紋認証が実行されていない場合(ステップS401,No)、図11に示す処理を終了する。 In step S401, if the result of the determination is that fingerprint authentication has not been executed (steps S401, No), the controller 10 ends the process shown in FIG.
図11に示す処理においても、スマートフォン1は、図6及び図7に示すように、感度補正に成功した旨のメッセージを表示するステップを実行してもよい。 Also in the process shown in FIG. 11, the smartphone 1 may execute a step of displaying a message indicating that the sensitivity correction has been successful, as shown in FIGS. 6 and 7.
図11に示す処理において、スマートフォン1は、近接センサデータ9Dをキャリブレーション実行条件9Fの判定対象から除外してもよい。すなわち、スマートフォン1において指紋認証が実行される場合、近接センサ5の上部に障害物がない場合が想定されるので、近接センサ5の上部に障害物があるか否かの判定指標である近接センサデータ9Dを始めから除外する趣旨である。 In the process shown in FIG. 11, the smartphone 1 may exclude the proximity sensor data 9D from the determination target of the calibration execution condition 9F. That is, when fingerprint authentication is executed on the smartphone 1, it is assumed that there is no obstacle on the upper part of the proximity sensor 5, so that the proximity sensor is an index for determining whether or not there is an obstacle on the upper part of the proximity sensor 5. The purpose is to exclude data 9D from the beginning.
添付の請求項に係る技術を完全かつ明瞭に開示するために特徴的な実施形態に関し記載してきた。しかし、添付の請求項は、上記の実施形態に限定されるべきものでなく、本明細書に示した基礎的事項の範囲内で当該技術分野の当業者が創作しうるすべての変形例及び代替可能な構成により具現化されるべきである。 In order to fully and clearly disclose the technology according to the attached claims, characteristic embodiments have been described. However, the accompanying claims are not limited to the above embodiments, and all modifications and alternatives that can be created by those skilled in the art within the scope of the basic matters set forth herein. It should be embodied in a possible configuration.
1 スマートフォン
2 タッチスクリーンディスプレイ
2A ディスプレイ
2B タッチスクリーン
3 ボタン
4 照度センサ
5 近接センサ
6 通信ユニット
7 レシーバ
8 マイク
9 ストレージ
9A 制御プログラム
9B キャリブレーションプログラム
9C 照度センサデータ
9D 近接センサデータ
9E 加速度センサデータ
9F キャリブレーション実行条件
9Z 設定データ
10 コントローラ
11 スピーカ
12 カメラ
13 カメラ
14 コネクタ
15 加速度センサ
16 方位センサ
17 角速度センサ
18 気圧センサ
19 GPS受信機
1 Smartphone 2 Touch screen display 2A Display 2B Touch screen 3 Button 4 Illumination sensor 5 Proximity sensor 6 Communication unit 7 Receiver 8 Microphone 9 Storage 9A Control program 9B Calibration program 9C Illumination sensor data 9D Proximity sensor data 9E Acceleration sensor data 9F Calibration Execution condition 9Z Setting data 10 Controller 11 Speaker 12 Camera 13 Camera 14 Connector 15 Acceleration sensor 16 Orientation sensor 17 Angle speed sensor 18 Pressure sensor 19 GPS receiver
Claims (7)
前記近接センサの近傍に設けられる照度センサと、
前記近接センサの検出値の補正に用いる基準値の更新条件を記憶するストレージと、
制御部とを備え、
前記ストレージは、前記照度センサの検出値が予め定められる閾値以下で、かつ前記近接センサの検出値が予め定められる閾値以下であることを前記更新条件として記憶し、
前記制御部は、前記照度センサの検出値及び前記近接センサの検出値が前記更新条件を満足するかを判定し、
判定の結果、前記更新条件を満足する場合、前記基準値を更新する電子機器。 Infrared proximity sensor and
An illuminance sensor provided in the vicinity of the proximity sensor and
A storage that stores the update condition of the reference value used for correcting the detection value of the proximity sensor, and
Equipped with a control unit
The storage stores as the update condition that the detection value of the illuminance sensor is equal to or less than a predetermined threshold value and the detection value of the proximity sensor is equal to or less than a predetermined threshold value.
The control unit determines whether the detection value of the illuminance sensor and the detection value of the proximity sensor satisfy the update condition.
An electronic device that updates the reference value when the update condition is satisfied as a result of the determination.
前記照度センサの検出値に基づいて、赤外線成分に対応するデータ及び可視光成分に対応するデータを抽出し、赤外線成分に対応するデータと可視光成分に対応するデータとの比を算出し、算出した比が予め定められる閾値以下であり、かつ前記近接センサの検出値が予め定められる閾値以下である場合、前記更新条件を満足するものとして、前記基準値を更新するBased on the detection value of the illuminance sensor, the data corresponding to the infrared component and the data corresponding to the visible light component are extracted, and the ratio between the data corresponding to the infrared component and the data corresponding to the visible light component is calculated and calculated. When the ratio is equal to or less than a predetermined threshold value and the detection value of the proximity sensor is equal to or less than a predetermined threshold value, the reference value is updated as satisfying the update condition.
請求項1に記載の電子機器。The electronic device according to claim 1.
前記制御部は、
前記基準値の更新後、所定の周期で、前記照度センサ及び近接センサの検出値、並びに前記加速度センサの検出値が前記更新条件を満足するか否かを判定し、判定の結果、前記照度センサ及び近接センサの検出値、並びに前記加速度センサの検出値が前記更新条件を満足する場合、前記基準値を更新する請求項1に記載の電子機器。 Equipped with an accelerometer
The control unit
After updating the reference value, it is determined at a predetermined cycle whether or not the detection values of the illuminance sensor and the proximity sensor and the detection values of the acceleration sensor satisfy the update conditions, and as a result of the determination, the illuminance sensor The electronic device according to claim 1, wherein when the detection value of the proximity sensor and the detection value of the acceleration sensor satisfy the update condition, the reference value is updated.
前記基準値の更新後、前記近接センサのクロストーク値を継続的に監視し、クロストーク値が閾値以上となった場合、前記基準値を更新する請求項1に記載の電子機器。 The control unit
The electronic device according to claim 1, wherein after updating the reference value, the crosstalk value of the proximity sensor is continuously monitored, and when the crosstalk value becomes equal to or higher than a threshold value, the reference value is updated.
当該保護シートは、前記近接センサの赤外線照射口の真上を覆っている請求項1に記載の電子機器。 Equipped with a protective sheet that covers the display surface of the display unit
The electronic device according to claim 1, wherein the protective sheet covers directly above the infrared irradiation port of the proximity sensor.
前記照度センサの検出値が予め定められる閾値以下で、かつ前記近接センサの検出値が予め定められる閾値以下である場合に前記更新条件を満足するものとして、前記基準値を更新するステップを含む感度補正方法。 It is a sensitivity correction method to be executed by an electronic device including a proximity sensor, an illuminance sensor provided in the vicinity of the proximity sensor, and a storage for storing a reference value update condition used for correcting the detection value of the proximity sensor.
As satisfying the illuminance detected value of the sensor is below a predetermined is the threshold, and the close the update condition when the detected value is equal to or less than a predetermined be threshold sensors, sensitivity includes the step of updating said reference value Correction method.
前記照度センサの検出値が予め定められる閾値以下で、かつ前記近接センサの検出値が予め定められる閾値以下である場合に前記更新条件を満足するものとして、前記基準値を更新するステップを実行させる感度補正プログラム。 An electronic device including a proximity sensor, an illuminance sensor provided in the vicinity of the proximity sensor, and a storage for storing a reference value update condition used for correcting a detection value of the proximity sensor.
As satisfying the update condition when the detected value of the illuminance sensor is equal to or less than predetermined is the threshold, and the detection value of the proximity sensor is equal to or less than a predetermined is a threshold to perform the step of updating said reference value Sensitivity correction program.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017115673A JP6778656B2 (en) | 2017-06-13 | 2017-06-13 | Electronic equipment, sensitivity correction method and sensitivity correction program |
| PCT/JP2018/021629 WO2018230403A1 (en) | 2017-06-13 | 2018-06-05 | Electronic device, sensitivity correction method, and sensitivity correction program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017115673A JP6778656B2 (en) | 2017-06-13 | 2017-06-13 | Electronic equipment, sensitivity correction method and sensitivity correction program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019002726A JP2019002726A (en) | 2019-01-10 |
| JP6778656B2 true JP6778656B2 (en) | 2020-11-04 |
Family
ID=64660748
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017115673A Active JP6778656B2 (en) | 2017-06-13 | 2017-06-13 | Electronic equipment, sensitivity correction method and sensitivity correction program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6778656B2 (en) |
| WO (1) | WO2018230403A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102895211B1 (en) * | 2020-01-23 | 2025-12-04 | 삼성전자주식회사 | Display apparatus and method for controlling the same |
| CN115166849B (en) * | 2022-07-04 | 2025-09-26 | 深圳市汇顶科技股份有限公司 | Reference updating method, proximity sensing device and electronic device |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5653643B2 (en) * | 2010-03-30 | 2015-01-14 | シャープ株式会社 | SENSOR DEVICE, ELECTRONIC DEVICE, AND SENSOR DEVICE MANUFACTURING METHOD |
| JP2013118565A (en) * | 2011-12-05 | 2013-06-13 | Panasonic Corp | Portable terminal and proximity sensor |
| JP5464674B2 (en) * | 2011-12-20 | 2014-04-09 | Necインフロンティア株式会社 | Proximity sensor false detection prevention method, false detection prevention device, false detection prevention program, and terminal including false detection prevention device |
| JP5435671B2 (en) * | 2012-03-29 | 2014-03-05 | Necインフロンティア株式会社 | Mobile terminal and control method thereof |
| JP2013213680A (en) * | 2012-03-30 | 2013-10-17 | Pioneer Electronic Corp | Object detecting device, object detecting method, object detecting program, and information recording medium |
| JP2013258517A (en) * | 2012-06-12 | 2013-12-26 | Nec Casio Mobile Communications Ltd | Proximity sensor adjustment device, adjustment method, and program |
| JP2014053656A (en) * | 2012-09-05 | 2014-03-20 | Sharp Corp | Portable telephone device, program and recording medium |
| KR20150057863A (en) * | 2013-11-20 | 2015-05-28 | 삼성전자주식회사 | Portable apparatus and method for controlling a screen brightness |
| JP6523014B2 (en) * | 2015-03-30 | 2019-05-29 | 京セラ株式会社 | Proximity sensor device |
| WO2016167259A1 (en) * | 2015-04-15 | 2016-10-20 | シャープ株式会社 | Sensor circuit |
| WO2016185916A1 (en) * | 2015-05-20 | 2016-11-24 | コニカミノルタ株式会社 | Wearable electronic device, gesture detection method for wearable electronic device, and gesture detection program for wearable electronic device |
-
2017
- 2017-06-13 JP JP2017115673A patent/JP6778656B2/en active Active
-
2018
- 2018-06-05 WO PCT/JP2018/021629 patent/WO2018230403A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| WO2018230403A1 (en) | 2018-12-20 |
| JP2019002726A (en) | 2019-01-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6140217B2 (en) | Electronic device, control method, and control program | |
| JP6484129B2 (en) | Electronic device, image display method, and image display program | |
| JP6182563B2 (en) | Portable device, control method, and control program | |
| JP6778656B2 (en) | Electronic equipment, sensitivity correction method and sensitivity correction program | |
| EP3151019B1 (en) | Portable apparatus, method for controlling portable apparatus, and control program | |
| JP6141352B2 (en) | Electronic equipment and control program | |
| JP6199142B2 (en) | Portable electronic device, control method, and control program | |
| JP6215128B2 (en) | Portable electronic device, control method and control program | |
| WO2016031583A1 (en) | Portable electronic device, control method, and control program | |
| JP2017045266A (en) | Portable electronic device, control method, and control program | |
| JP6062484B2 (en) | Electronic device, control method, and control program | |
| JP6215277B2 (en) | Portable device, control method and control program | |
| JP6243835B2 (en) | Portable electronic device and control method | |
| JP6261546B2 (en) | Portable device, control method and control program | |
| JP6373722B2 (en) | Portable terminal and control method | |
| JP6170830B2 (en) | Portable electronic device and waterproof judgment method | |
| EP3148264B1 (en) | Electronic device, control method, and control program | |
| JP6121476B2 (en) | Portable device, control method and control program | |
| JP6560410B2 (en) | Mobile terminal and control method | |
| JP6182571B2 (en) | Portable device, control method, and control program | |
| JP2017195443A (en) | Portable apparatus, control method, and control program | |
| JP6464046B2 (en) | Electronic device, control method, and control program | |
| JP2019041219A (en) | Portable terminal | |
| JP2017022534A (en) | Portable device, control method, and control program | |
| JP2016151810A (en) | Electronic apparatus, control method, and control program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200312 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200630 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200811 |
|
| 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: 20201006 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201012 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6778656 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |