JP6543204B2 - Mobile terminal - Google Patents
Mobile terminal Download PDFInfo
- Publication number
- JP6543204B2 JP6543204B2 JP2016033852A JP2016033852A JP6543204B2 JP 6543204 B2 JP6543204 B2 JP 6543204B2 JP 2016033852 A JP2016033852 A JP 2016033852A JP 2016033852 A JP2016033852 A JP 2016033852A JP 6543204 B2 JP6543204 B2 JP 6543204B2
- Authority
- JP
- Japan
- Prior art keywords
- touch panel
- pressing operation
- air pressure
- pressure sensor
- correction amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Measuring Fluid Pressure (AREA)
- Telephone Function (AREA)
Description
本開示は、携帯端末に関する。 The present disclosure relates to a mobile terminal.
高度を計測するために気圧センサを備えた携帯端末が知られている(たとえば、特許文献1を参照)。特許文献1には、気圧センサは、携帯端末の筐体内部の基板上に搭載されることが記載されている。
There is known a portable terminal provided with a barometric pressure sensor to measure altitude (see, for example, Patent Document 1).
特許文献1には、気圧センサによって気圧を計測中に、ユーザがタッチパネルに対して押圧操作を行った場合に、タッチパネルが内側にたわむことによって、携帯端末の筐体内部の圧力が高くなるという性質を利用して、防水キャップが嵌合しているか否かを利用者に通知する。
According to
しかしながら、気圧センサによって気圧を計測中に、ユーザがタッチパネルに対して押圧操作を行った場合に、気圧センサによる計測値は、周囲の気圧を反映したものでないという問題がある。 However, when the user performs a pressing operation on the touch panel while measuring the air pressure with the air pressure sensor, there is a problem that the measurement value by the air pressure sensor does not reflect the ambient air pressure.
本開示の目的は、タッチパネルに押圧操作が行われたときに、周囲の気圧の検出精度が低下するのを軽減することができる携帯端末を提供することである。 An object of the present disclosure is to provide a mobile terminal capable of reducing a decrease in detection accuracy of ambient air pressure when a pressing operation is performed on a touch panel.
一実施の形態の携帯端末は、タッチパネルと、携帯端末の筐体内部の気圧を計測するように構成される気圧センサと、タッチパネルに対して押圧操作がなされている間には、気圧センサで計測された気圧値から補正量を減算するように構成される少なくとも1つのプロセッサとを備える。 The mobile terminal according to one embodiment includes a touch panel, an air pressure sensor configured to measure an air pressure inside a housing of the mobile terminal, and an air pressure sensor that measures while the touch panel is pressed. And at least one processor configured to subtract the correction amount from the determined barometric pressure value.
一実施の形態の携帯端末によれば、タッチパネルに押圧操作が行われたときに、周囲の気圧の検出精度が低下するのを軽減することができる。 According to the mobile terminal of the embodiment, when the pressing operation is performed on the touch panel, the decrease in the detection accuracy of the ambient air pressure can be reduced.
以下、実施の形態について、図面を用いて説明する。
[第1の実施の形態]
図1は、第1の実施の形態の携帯端末の構成を表わす図である。
Hereinafter, embodiments will be described with reference to the drawings.
First Embodiment
FIG. 1 is a diagram showing the configuration of a portable terminal according to the first embodiment.
この携帯端末1は、携帯電話、スマートフォン、ノート型パソコン、タブレット端末、ノートパソコン、ウェアラブル機器、または携帯型音楽プレイヤーなどである。以下の説明では、携帯端末1は、スマートフォンであることを想定して説明するが、本開示の技術的な特徴部分が適用される携帯端末1は、スマートフォンに限定されるものではない。
The
図1を参照して、この携帯端末1は、メインCPU2と、サブCPU3と、メモリ35と、カメラ5と、マイク6と、スピーカ7と、液晶パネル29と、無線通信回路10と、近距離通信回路11と、ジャイロセンサ12と、加速度センサ17と、近接センサ13と、照度センサ14と、アンテナ15と、バイブレータ16と、気圧センサ18を備える。液晶パネル29は、液晶ディスプレイ8と、タッチパネル9とを備える。
Referring to FIG. 1, the
メインCPU2は、携帯端末1の構成要素の全体を制御することができる。携帯端末1は、消費電力を削減するために、一定の条件が満たされるときに、液晶ディスプレイ8等の所定の構成部への電力供給を抑制するスリープモードに移行してもよい。スリープモード時において、携帯端末1は、所定の制御をサブCPU3にさせて、メインCPU2の機能の一部又は全部を動作させなくてもよい。メインCPU2の機能の一部又は全部が動作していないとき、携帯端末1は、動作していないメインCPU2の機能の一部又は全部をサブCPU3が代わりに実行させてもよい。携帯端末1は、メインCPU2及びサブCPU3を協働的に、或いは、選択的用いて各種の制御を実行してもよい。
The
サブCPU3は、主として照度センサ14、近接センサ13、ジャイロセンサ12、加速度センサ17、気圧センサ18からの信号を受信して、これらのセンサによる検出結果をメモリ35に記憶させてよい。サブCPU3は、これらのセンサからの信号を受信したことをメインCPU2に通知してもよい。メインCPU2の機能の一部又は全部が動作していない時に、サブCPU3からメインCPU2にこれらのセンサからの信号を受信したことが通知されたときに、メインCPU2の機能の全部が動作する通常モードに移行してもよい。メインCPU2及びサブCPU3の少なくとも一方は、メモリ35内の上記センサによる検出結果を参照することができる。
The
メモリ35は、各種のデータおよびプログラムを記憶することができる。メモリ35は、制御プログラムを記憶する制御プログラム記憶部4を含む。
The
メインCPU2およびサブCPU3は、制御プログラムを実行することによって、制御部20として機能する。
The
スピーカ7は、通話相手の音声、着信音、および報知音などを出力することができる。
マイク6は、携帯端末1のユーザの音声、およびユーザが発生した携帯端末1への指示を表わす音などの携帯端末1の外部の音を入力することができる。
The speaker 7 can output the voice of the other party, the ringing tone, and the notification sound.
The
カメラ5は、被写体を撮影することができる。
タッチパネル9は、ユーザからの入力を受け付けることができる。タッチパネル9は、たとえば静電容量方式のものとしてもよい。
The camera 5 can capture an object.
The
無線通信回路10は、アンテナ15を通じて、たとえば無線基地局又は通信機能を備える他の装置と通信することができる。
The
近距離通信回路11は、例えばBluetooth方式に従って、ウェアラブル機器などの他の装置と通信することができる。近距離通信方式は、Bluetooth方式に限定されるものではなく、NFC(Near Field Communication)、WiFiなどであってもよい。 The short distance communication circuit 11 can communicate with another device such as a wearable device according to the Bluetooth method, for example. The short distance communication method is not limited to the Bluetooth method, and may be NFC (Near Field Communication), WiFi, or the like.
ジャイロセンサ12は、携帯端末1の角速度を検出することができる。ジャイロセンサ12から出力される角速度を積分することによって、メインCPU2は、携帯端末1の向き(傾き)を検出することができる。
The
加速度センサ17は、加速度、つまり一定時間に速度がどの方向にどれだけ変化したかを表わす量を検出することができる。加速度センサ17から出力される加速度を2回積分することによって、メインCPU2は、携帯端末1の移動量を検出することができる。
The
近接センサ13は、赤外線を放射し、反射光を電流に変換することによって、携帯端末1の近くに物体が存在するか否かを検出することができる。
The
照度センサ14は、携帯端末1に入射する光を電流に変換することによって、携帯端末1の置かれた場所の照度を検出することができる。
The
バイブレータ16は、ユーザへの通知が必要なときに、たとえば着信時に振動することができる。
The
気圧センサ18は、携帯端末1の周囲の気圧を測定することができる。気圧センサ18は、たとえば、登山時などにおいて高度を検出するために用いられる。気圧センサ18は携帯端末1の筐体内に配置されているため、気圧センサ18で実際に測定されるのは、周囲の気圧を反映した筐体内の気圧である。本開示では、タッチパネル9に対する押圧操作がなされているときに、気圧センサ18の計測値が、周囲の気圧を正確に反映できないという問題点を解決する。
The
図2は、携帯端末1の内部の構成の概要を表わす図である。
液晶パネル29が筐体21の開口部に嵌め込まれる。通気口26は、筐体21に設けられる。通気口26は、筐体内部25の気圧を筐体21の外の気圧に合わさるために設置される。防水膜27は、通気口26からの浸水を防ぐことができる。回路基板23上に、気圧センサ18が設置されることができる。回路基板23上には、図示しないが、メインCPU2、サブCPU3、メモリ35なども設置されることができる。電池22は、携帯端末1の各構成要素に電力を供給することができる。
FIG. 2 is a diagram showing an outline of an internal configuration of the
The
タッチパネル9への押圧操作によって、液晶パネル29が内側にたわみ、筐体内部25の体積を減少させるため、筐体内部25の気圧が増加する。その後、筐体内部25の空気が、通気口26を通じて外部に排出されるため、筐体内部25の気圧は、徐々に減少して、タッチパネル9への押圧操作前の状態に戻る。
By the pressing operation on the
図3(a)は、液晶パネル29の第1の構成例の概略を表わす図である。
この構成では、偏光板55、透明電極付きガラス54、液晶層53、透明電極付きガラス52、偏光板51によって構成される液晶ディスプレイ8の上にタッチパネル9が設けられる。
FIG. 3A schematically shows a first configuration example of the
In this configuration, the
図3(b)は、液晶パネル29の第2の構成例の概略を表わす図である。
この構成では、偏光板55、透明電極付きガラス54、液晶層53、透明電極付きガラス52、偏光板51によって、液晶ディスプレイ8が構成される。液晶ディスプレイ8の内部の透明電極付きガラス52と偏光板51の間にタッチパネル9が設けられる。
FIG. 3 (b) is a diagram schematically showing a second configuration example of the
In this configuration, the
図3(c)は、液晶パネル29の第3の構成の概略を表わす図である。
この構成では、液晶パネル29は、偏光板55、透明電極付きガラス54、タッチパネル内蔵液晶層153の中の液晶層、透明電極付きガラス52、偏光板51によって液晶ディスプレイ8構成される。タッチパネル内蔵液晶層153は、タッチパネル9の機能を備える。
FIG. 3C schematically shows a third configuration of the
In this configuration, the
実施の形態の液晶パネル29は、図3(a)、(b)、(c)のいずれであってもよい。
The
実施の形態によって、タッチパネル9への押圧操作がなされたときとは、ユーザの指が、タッチパネル9に直接触れてタッチパネル9に直接力が加わるだけでなく、図3(b)、(c)の場合のように、ユーザの指が、タッチパネル9よりも表面側の液晶ディスプレイ8の構成要素などに触れることによって、タッチパネル9に対して間接的に力が加わる場合も含む。
According to the embodiment, not only does the finger of the user directly touch the
タッチパネル9が静電容量型の場合には、タッチパネル9に対して直接または間接的に力が加わらなくても、タッチパネル9に指が接触しただけでも静電容量が増加して、タッチ入力がなされたものとみなすことができる。しかし、実施の形態では、タッチパネル9に対して押圧操作がなされたときとは、静電容量が所定値以上となって、実際にタッチパネル9に対して直接または間接的に力が加えられた場合をいう。
When the
図4は、第1の実施の形態の携帯端末の動作手順を表わすフローチャートである。
図4を参照して、ステップS101において、メインCPU2が、気圧センサ18の計測値のメモリ34からの読出しを開始することができる。
FIG. 4 is a flow chart showing an operation procedure of the portable terminal of the first embodiment.
Referring to FIG. 4, in step S101,
ステップS102において、タッチパネル9に対して押圧操作がなされているとき(静電容量が所定値以上のとき、以下同様)には、処理がステップS103に進み、タッチパネル9に対して押圧操作がなされていないとき(静電容量が所定値未満のとき、以下同様)には、処理がステップS105に進む。
In step S102, when the pressing operation is performed on touch panel 9 (when the capacitance is equal to or larger than the predetermined value, the same applies hereinafter), the process proceeds to step S103, and the pressing operation is performed on
ステップS103において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS102に戻る。
In step S103, the
ステップS105において、タッチパネル9に対して押圧操作が開始されたときには、処理がステップS107に進み、タッチパネル9に対して押圧操作が開始されないときには、処理がステップS106に進む。
In step S105, when the pressing operation on
ステップS106において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS105に戻る。
In step S106, the
ステップS107において、タッチパネル9に対して押圧操作がなされているときには、処理がステップS109に進み、タッチパネル9に対して押圧操作がなされていないときには、処理がステップS106に戻る。
In step S107, when the touch operation on
ステップS109において、メインCPU2は、メモリ35から補正量Rを読出すことができる。補正量Rは、タッチパネル9に対する押圧操作によって、変化する内部空間の気圧の値であり、学習、シミュレーションまたは実験などに基づいて得られた値である。
In step S109, the
ステップS112において、メインCPU2は、現在の気圧センサ18の計測値Pcから、補正量Rを減算した値Pc(1)′を算出することができる。
In step S112, the
ステップS113において、メインCPU2は、補正された気圧の値Pc(1)′を液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S113, the
以上のように、第1の実施の形態によれば、タッチパネルに押圧操作が行われたときに、気圧センサ18の計測値を補正することによって、周囲の気圧の検出精度が低下するのを軽減することができる。
As described above, according to the first embodiment, when the pressing operation is performed on the touch panel, the measurement value of the
第1の実施の形態によれば、ユーザがタッチパネルを操作中でも、周囲の気圧を高精度に反映した気圧値を出力することができる。これにより、たとえば、登山時において、タッチパネルの操作の有無に係りなく、高精度な気圧を常時測定して履歴を残すことも可能となる。 According to the first embodiment, even when the user operates the touch panel, it is possible to output the pressure value reflecting the ambient pressure with high accuracy. Thus, for example, at the time of mountain climbing, it is also possible to constantly measure high-precision atmospheric pressure and leave a history regardless of the presence or absence of the operation of the touch panel.
[第2の実施の形態]
第2の実施の形態では、メインCPU2は、現在の気圧センサ18の計測値Pcから、タッチパネル9に対する押圧操作が開始される直前の気圧センサ18の計測値Pbを減算した値dPが補正量以上のときに限り、気圧センサ18によって計測された気圧値Pcを補正する。
Second Embodiment
In the second embodiment, the
図5は、第2の実施の形態の携帯端末の動作手順を表わすフローチャートである。
図5を参照して、ステップS101において、メインCPU2が、気圧センサ18の計測値のメモリ34からの読出しを開始することができる。
FIG. 5 is a flowchart showing the operation procedure of the portable terminal according to the second embodiment.
Referring to FIG. 5, in step S101,
ステップS102において、タッチパネル9に対して押圧操作がなされているときには、処理がステップS103に進み、タッチパネル9に対して押圧操作がなされていないときには、処理がステップS104に進む。
In step S102, when the touch operation on
ステップS103において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS102に戻る。
In step S103, the
ステップS104において、メインCPU2は、現在の時刻と、現在の気圧センサ18の計測値Pcとをメモリ35に記憶することができる。
In step S104, the
ステップS105において、タッチパネル9に対して押圧操作が開始されたときには、処理がステップS107に進み、タッチパネル9に対して押圧操作が開始されないときには、処理がステップS106に進む。
In step S105, when the pressing operation on
ステップS106において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS104に戻る。
In step S106, the
ステップS107において、タッチパネル9に対して押圧操作がなされているときには、処理がステップS108に進み、タッチパネル9に対して押圧操作がなされていないときには、処理がステップS106に戻る。
In step S107, when the pressing operation is performed on
ステップS108において、メインCPU2は、現在の気圧センサ18の計測値Pcから、タッチパネル9に対する押圧操作が開始される直前の気圧センサ18の計測値Pbを減算した値dPを算出することができる。Pbは、メモリ35に記憶されている最新の時刻の気圧センサ18の計測値である。
In step S108, the
ステップS109において、メインCPU2は、メモリ35から補正量Rを読出すことができる。補正量Rは、タッチパネル9に対する押圧操作によって、変化する内部空間の気圧の値であり、シミュレーションまたは実験などに基づいて得られた値である。
In step S109, the
ステップS110において、得られた減算値dPが、補正量R以上の場合に、処理がステップS112に進む。得られた減算値dPが、補正量R未満の場合に、処理がステップS111に進む。 If it is determined in step S110 that the obtained subtraction value dP is equal to or larger than the correction amount R, the process proceeds to step S112. If the obtained subtraction value dP is less than the correction amount R, the process proceeds to step S111.
ステップS111において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S111, the
ステップS112において、メインCPU2は、現在の気圧センサ18の計測値Pcから、補正量Rを減算した値Pc(2)′を計算することができる。
In step S112, the
ステップS113において、メインCPU2は、補正された気圧の値Pc(2)′を液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S113, the
以上のように、第2の実施の形態によれば、タッチパネルへの押圧操作中に得られた気圧センサの計測値Pcからタッチパネルへの押圧操作直前の気圧センサの計測値Pbを減算した値dPが補正量R以上のときに限り、計測値Pcから補正量Rを減算する。これにより、周囲の気圧が変化しないか、または周囲の気圧が増加したときのみ補正するようにすることができる。押圧操作中に、周囲の気圧が減少する場合には、押圧操作による筐体内部の気圧の増加と、周囲の気圧の減少による筐体内部の気圧の減少とが競合して、気圧センサの計測精度が低下する場合を考慮したためである。 As described above, according to the second embodiment, the value dP obtained by subtracting the measurement value Pb of the pressure sensor immediately before the pressing operation on the touch panel from the measurement value Pc of the pressure sensor obtained during the pressing operation on the touch panel. The correction amount R is subtracted from the measured value Pc only when the value is equal to or larger than the correction amount R. This makes it possible to correct only when the ambient pressure does not change or when the ambient pressure increases. When the ambient air pressure decreases during the pressing operation, the increase of the air pressure inside the case due to the pressing operation competes with the decrease of the air pressure inside the case due to the decrease of the ambient air pressure, and the pressure sensor measurement It is because the case where accuracy falls is considered.
[第3の実施の形態]
第3の実施の形態では、メインCPU2は、押圧操作がなされたタッチパネル9の位置、押圧操作がなされた時点からの経過時間、タッチパネル9に加えられた圧力に応じて、気圧センサ18の計測値の補正量Rを変える。押圧操作がなされるタッチパネル9の位置は、座標単位であっても、複数座標を含むブロックごとであってもよい。
Third Embodiment
In the third embodiment, the
図6は、タッチパネル9の1点に対して押圧操作がなされる例を表わす図である。
図6の例では、タッチパネル9のエリアは、ブロックB1〜B9に分割される。タッチパネル9の中央部を押圧したときの方が、周辺部を押圧したときよりも、液晶パネル29がたわみやすいような場合には、ブロックB5を押圧したときの補正量Rを最大値とし、ブロックB1、B3、B7、B9を押圧したときの補正量Rを最小値とし、ブロックB2、B4、B6、B8を押圧したときの補正量Rを最大値と最小値の間の中間の値としてもよい。図6の例では、ブロックB5に含まれる座標位置で押圧されているので、補正量Rは最大である。
FIG. 6 is a diagram illustrating an example in which a pressing operation is performed on one point of the
In the example of FIG. 6, the area of the
押圧操作が開始された時点からの経過時間が増加すると、筐体内部25の空気が通気口26を通じて外部へ排出されるので、補正量Rを減少させることとしてもよい。
When the elapsed time from the start of the pressing operation is increased, the air in the
タッチパネル9に加えられた圧力が大きいほど、筐体内部25の体積が小さくなるので、補正量Rを増加させることとしてもよい。タッチパネル9に加えられた圧力の大きさは、検出される静電容量の大きさで判断することとしてもよい。
As the pressure applied to the
第3の実施の形態では、補正量Rは、押圧操作がなされたタッチパネル9の位置のブロック番号Bn、押圧操作が開始された時点からの経過時間Δt、タッチパネル9に加えられた圧力Pxに応じて変化するものとする。補正量R(Bn、Δt、Px)は、予め学習、シミュレーションまたは実験などに基づいて得られた値とすることができる。
In the third embodiment, the correction amount R corresponds to the block number Bn of the position of the
図7は、第3の実施の形態の携帯端末の動作手順を表わすフローチャートである。
図7のフローチャートが、図5のフローチャートと相違する点は、図7のフローチャートが、ステップS109〜S113の代わりに、ステップS209〜S213を含む点である。以下では、ステップS209〜S213について説明する。
FIG. 7 is a flowchart showing the operation procedure of the portable terminal of the third embodiment.
The flowchart of FIG. 7 is different from the flowchart of FIG. 5 in that the flowchart of FIG. 7 includes steps S209 to S213 instead of steps S109 to S113. Hereinafter, steps S209 to S213 will be described.
ステップS209において、メインCPU2は、メモリ35から、押圧されたタッチパネル9の箇所が含まれるブロック番号Bn、タッチパネル9への押圧開始からの経過時間Δt、タッチパネル9への圧力Pxに対応する補正量R(Bn,Δt,Px)をメモリ35から読出すことができる。
In
ステップS210において、得られた減算値dPが、補正量R(Bn,Δt,Px)以上の場合に、処理がステップS212に進む。得られた減算値dPが、補正量R(Bn,Δt,Px)未満の場合に、処理がステップS111に進む。 In step S210, when the obtained subtraction value dP is equal to or larger than the correction amount R (Bn, Δt, Px), the process proceeds to step S212. If the obtained subtraction value dP is less than the correction amount R (Bn, Δt, Px), the process proceeds to step S111.
ステップS111において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S111, the
ステップS212において、メインCPU2は、現在の気圧センサ18の計測値Pcから、補正量R(Bn,Δt,Px)を減算した値Pc(3)′を計算することができる。
In step S212, the
ステップS213において、メインCPU2は、補正された気圧の値Pc(3)′を液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S213, the
以上のように、第3の実施の形態によれば、タッチパネルの押圧箇所、タッチパネルへの押圧開始からの経過時間、タッチパネルへの押圧力に応じて、補正量を変えることができるので、より高精度に周囲の気圧を計測することができる。 As described above, according to the third embodiment, the correction amount can be changed according to the pressing position on the touch panel, the elapsed time from the start of pressing on the touch panel, and the pressing force on the touch panel, so Ambient pressure can be measured with accuracy.
[第4の実施の形態]
図8は、タッチパネル9の2点に対して押圧操作がなされる例を表わす図である。
Fourth Embodiment
FIG. 8 is a diagram illustrating an example in which the pressing operation is performed on two points of the
第4の実施の形態では、第3の実施の形態と同様にタッチパネル9の1箇所で押圧操作がなされただけでなく、タッチパネル9の2箇所で押圧操作がなされた場合にでも、気圧センサ18の計測値を補正することができる。
In the fourth embodiment, as in the third embodiment, the
メインCPU2は、タッチパネル9の2箇所で押圧操作がなされたときに、押圧操作がなされたタッチパネル9の2つの位置、押圧操作が開始された時点からの経過時間、タッチパネル9の2箇所に加えられた圧力に応じて、気圧センサ18の計測値の補正量Rを変える。
The
押圧操作がなされるタッチパネル9の2つの位置の各々は、座標単位であっても、複数座標を含むブロックごとであってもよい。
Each of the two positions of the
第4の実施の形態では、補正量Rは、押圧操作がなされたタッチパネル9の一方の位置のブロック番号Bn(1)、押圧操作がなされたタッチパネル9の他方の位置のブロック番号Bn(2)、押圧操作が開始された時点からの経過時間Δt、タッチパネル9の一方の位置に加えられた圧力Px(1)、タッチパネル9の他方の位置に加えられた圧力Px(2)に応じて変化するものとする。補正量R(Bn(1)、Bn(2)、Δt、Px(1)、Px(2))は、予め学習、シミュレーションまたは実験などに基づいて得られた値とすることができる。
In the fourth embodiment, the correction amount R is the block number Bn (1) at one position of the
図9は、第4の実施の形態の携帯端末の動作手順を表わすフローチャートである。
図9のフローチャートが、図7のフローチャートと相違する点は、図9のフローチャートが、ステップS209〜S213の代わりに、ステップS309〜S313を含む点である。以下では、ステップS309〜S313について説明する。
FIG. 9 is a flowchart showing the operation procedure of the portable terminal of the fourth embodiment.
The difference between the flowchart of FIG. 9 and the flowchart of FIG. 7 is that the flowchart of FIG. 9 includes steps S309 to S313 instead of steps S209 to S213. Hereinafter, steps S309 to S313 will be described.
ステップS309において、タッチパネル9に押圧操作がなされた箇所が1箇所の場合に、処理がステップS209に進む。タッチパネル9に押圧操作がなされた箇所が2箇所の場合には、処理がステップS310に進む。
In step S309, when there is one place where the touch operation is performed on the
ステップS209、およびその後のステップS210、S212、S213の処理は、図7と同様なので説明を繰り返さない。 The processes in step S209 and the subsequent steps S210, S212, and S213 are the same as those in FIG.
ステップS310において、メインCPU2は、メモリ35から、押圧されたタッチパネル9の一方の位置が含まれるブロック番号Bn(1)、押圧されたタッチパネル9の他方の位置が含まれるブロック番号Bn(2)、タッチパネル9への押圧開始からの経過時間Δt、タッチパネル9の一方の位置へ加えられた圧力Px(1)、タッチパネル9の他方の位置へ加えられた圧力Px(2)に対応する補正量R(Bn(1),Bn(2),Δt,Px(1)、Px(2))をメモリ35から読出すことができる。
In step S310, the
ステップS311において、得られた減算値dPが、補正量R(Bn(1),Bn(2),Δt,Px(1)、Px(2))以上の場合に、処理がステップS312に進む。得られた減算値dPが、補正量R(Bn(1),Bn(2),Δt,Px(1)、Px(2))未満の場合に、処理がステップS111に進む。 If it is determined in step S311 that the obtained subtraction value dP is equal to or larger than the correction amount R (Bn (1), Bn (2), Δt, Px (1), Px (2)), the process proceeds to step S312. If the obtained subtraction value dP is less than the correction amount R (Bn (1), Bn (2), Δt, Px (1), Px (2)), the process proceeds to step S111.
ステップS111において、メインCPU2は、現在の気圧センサ18の計測値Pcを液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S111, the
ステップS312において、メインCPU2は、現在の気圧センサ18の計測値Pcから、補正量R(Bn(1),Bn(2),Δt,Px(1)、Px(2))を減算した値Pc(4)′を計算することができる。
In step S312, the
ステップS313において、メインCPU2は、補正された気圧の値Pc(4)′を液晶ディスプレイ8に表示することができる。その後、処理がステップS107に戻る。
In step S313, the
以上のように、第4の実施の形態によれば、タッチパネルへの押圧箇所が1箇所だけでなく、2箇所の場合にでも、気圧センサの計測値を正しく補正することができる。また、第4の実施の形態によれば、タッチパネルの複数の押圧箇所に応じて、補正量を変えることができるので、 例えばピンチイン・ピンチアウトのようなタッチパネルへの複雑な操作に対して、より高精度に周囲の気圧を計測することができる。 As described above, according to the fourth embodiment, the measurement value of the barometric pressure sensor can be correctly corrected even in the case where the touch panel is not pressed at one place but at two places. Further, according to the fourth embodiment, the correction amount can be changed in accordance with a plurality of pressed places on the touch panel, so that complex operations on the touch panel such as pinch-in and pinch-out can be further improved. Ambient pressure can be measured with high precision.
第4の実施の形態によれば、補正量Rは、押圧操作がなされたタッチパネル9の一方の位置のブロック番号Bn(1)、押圧操作がなされたタッチパネル9の他方の位置のブロック番号Bn(2)、押圧操作が開始された時点からの経過時間Δt、タッチパネル9の一方の位置に加えられた圧力Px(1)、タッチパネル9の他方の位置に加えられた圧力Px(2)に応じて変化すると説明したが、その他にも、2箇所の押圧位置の距離などもパラメータとして考慮してもよい。2箇所の押圧位置の距離が短い場合は、局所的に大きな圧力が加えられる可能性があり、その場合には、補正量Rは大きくなる。例えば、2箇所の押圧位置の距離が短く、2箇所の押圧位置がいずれもタッチパネル9の中央部(例えば、ブロックB5)である場合には、補正量Rは大きくなるが、2箇所の押圧位置がタッチパネル9の対角線上にある両端(例えば、ブロックB3とB7、およびブロックB1とB9)であり、2箇所の押圧位置の距離が長い場合には、2箇所の押圧位置がいずれもタッチパネル9の中央部(例えば、ブロックB5)である場合と比較して補正量Rは小さいと考えられる。
According to the fourth embodiment, the correction amount R is the block number Bn (1) at one position of the
[第5の実施の形態]
第5の実施の形態では、メインCPU2が、学習モードにおいて、学習によって補正量Rを求めて、メモリ35に記憶することができる。
Fifth Embodiment
In the fifth embodiment, in the learning mode, the
図10は、第5の実施の形態の携帯端末の学習モード時の動作手順を表わすフローチャートである。 FIG. 10 is a flowchart showing an operation procedure in the learning mode of the portable terminal according to the fifth embodiment.
図10を参照して、ステップS401において、メインCPU2が、気圧センサ18の計測値のメモリ34からの読出しを開始することができる。
Referring to FIG. 10, in step S401,
ステップS403において、タッチパネル9に対して押圧操作がなされていないときには、処理がステップS405に進み、タッチパネル9に対して押圧操作がなされているときには、処理が終了する。
In step S403, when the touch operation on
ステップS405において、メインCPU2は、現在の気圧センサ18の計測値Pcをメモリ35に記憶することができる。
In step S405, the
ステップS406において、タッチパネル9に対して押圧操作が開始されたときには、処理がステップS407に進み、タッチパネル9に対して押圧操作が開始されないときには、処理がステップS405に戻る。
In step S406, when the pressing operation on
ステップS407において、タッチパネル9に対して押圧操作がなされているときには、処理がステップS409に進み、タッチパネル9に対して押圧操作なされていないときには、処理が終了する。
In step S407, when the touch operation on
ステップS409において、メインCPU2は、現在の気圧センサ18の計測値Pcから、タッチパネル9に対する押圧操作が開始される直前の気圧センサ18の計測値Pbを減算することができる。メインCPU2は、Bn、Δt、Pxに依存する減算値dP(Bn、Δt、Px)を得ることができる。Pbは、メモリ35に記憶されている最新の時刻の気圧センサ18の計測値である。Bnは、押圧操作がなされたタッチパネル9の位置のブロック番号、Δtは、押圧操作が開始された時点からの経過時間、Pxは、タッチパネル9に加えられた圧力Pxを表わす。
In step S409, the
ステップS410において、得られた減算値dP(Bn、Δt、Px)が閾値TH1以上の場合に、処理がステップS411に進む。減算値dP(Bn、Δt、Px)が閾値TH1未満の場合に、処理が終了する。 If it is determined in step S410 that the obtained subtraction value dP (Bn, Δt, Px) is greater than or equal to the threshold TH1, the process proceeds to step S411. If the subtraction value dP (Bn, Δt, Px) is less than the threshold TH1, the process ends.
ステップS411において、メインCPU2は、減算値dP(Bn、Δt、Px)を補正量R(Bn、Δt、Px)としてメモリ35に記憶することができる。
In step S411, the
以上のように、第5の実施の形態によれば、学習によって、補正量を得ることができる。 As described above, according to the fifth embodiment, the correction amount can be obtained by learning.
[第6の実施の形態]
学習中には、高度の変化によって、気圧センサ18による計測値が変化しないようにすることが必要となる。第6の実施の形態では、メインCPU2が、学習によって補正量Rを求める際に、携帯端末が鉛直方向に閾値以上移動したときには、警告を発することができる。鉛直方向の移動量は、加速度センサ17で検出される鉛直方向の加速度から求めることができる。
Sixth Embodiment
During learning, it is necessary to prevent changes in the measurement value by the
図11は、第6の実施の形態の学習モード時の携帯端末の動作手順を表わすフローチャートである。 FIG. 11 is a flowchart showing an operation procedure of the portable terminal in the learning mode of the sixth embodiment.
図11を参照して、ステップS401において、メインCPU2が、気圧センサ18の計測値のメモリ34からの読出しを開始することができる。
Referring to FIG. 11, in step S401, the
ステップS402において、メインCPU2が、加速度センサ17の検出結果に基づいて、携帯端末1の鉛直方向の移動の検出を開始することができる。この時点の携帯端末1の位置が初期位置となる。
In step S402, the
ステップS403において、タッチパネル9に対して押圧操作がなされていないときには、処理がステップS404に進み、タッチパネル9に対して押圧操作がなされているときには、処理が終了する。
In step S403, when the touch operation on
ステップS404において、携帯端末1の初期位置からの鉛直方向の移動量が閾値TH2以下のときには、処理がステップS405に進む。携帯端末1の初期位置からの鉛直方向の移動量が閾値TH2を超えるときには、処理がステップS412に進む。
In step S404, when the amount of movement in the vertical direction from the initial position of the
ステップS405において、メインCPU2は、現在の気圧センサ18の計測値Pcをメモリ35に記憶することができる。
In step S405, the
ステップS406において、タッチパネル9に対して押圧操作が開始されたときには、処理がステップS407に進み、タッチパネル9に対して押圧操作が開始されないときには、処理がステップS404に戻る。
In step S406, when the pressing operation on
ステップS407において、タッチパネル9に対して押圧操作がなされているときには、処理がステップS408に進み、タッチパネル9に対して押圧操作がなされていないときには、処理が終了する。
In step S407, when the touch operation on
ステップS408において、携帯端末1の移動量が閾値TH2以下のときには、処理がステップS409に進む。携帯端末1の移動量が閾値TH2を超えるときには、処理がステップS412に進む。
In step S408, when the movement amount of the
ステップS409において、メインCPU2は、現在の気圧センサ18の計測値Pcから、タッチパネル9に対する押圧操作が開始される直前の気圧センサ18の計測値Pbを減算することができる。メインCPU2は、Bn、Δt、Pxに依存する減算値dP(Bn、Δt、Px)を得ることができる。Pbは、メモリ35に記憶されている最新の時刻の気圧センサ18の計測値である。Bnは、押圧操作がなされたタッチパネル9の位置のブロック番号、Δtは、押圧操作がなされた時点からの経過時間、Pxは、タッチパネル9に加えられた圧力Pxを表わす。
In step S409, the
ステップS410において、得られた減算値dP(Bn、Δt、Px)が閾値TH1以上の場合に、処理がステップS411に進む。減算値dP(Bn、Δt、Px)が閾値TH1未満の場合に、処理が終了する。 If it is determined in step S410 that the obtained subtraction value dP (Bn, Δt, Px) is greater than or equal to the threshold TH1, the process proceeds to step S411. If the subtraction value dP (Bn, Δt, Px) is less than the threshold TH1, the process ends.
ステップS411において、メインCPU2は、減算値dP(Bn、Δt、Px)を補正量R(Bn、Δt、Px)としてメモリ35に記憶することができる。
In step S411, the
ステップS412において、メインCPU2は、図12に示すように、学習モード時には、正確に補正量Rを求めることができないため、移動しないように求める警告を液晶ディスプレイ8に表示することができる。
In step S412, as shown in FIG. 12, the
以上のように、第6の実施の形態によれば、学習中に、携帯端末が鉛直方向に移動したときには、正しい補正量が得られないので、ユーザに警告を発することができる。 As described above, according to the sixth embodiment, when the portable terminal moves in the vertical direction during learning, a correct correction amount can not be obtained, and therefore, a warning can be issued to the user.
[変形例]
本開示は、さらに以下のような変形例も含むことができる。
[Modification]
The present disclosure can further include the following modifications.
(1)CPU
実施の形態で説明したメインCPUとサブCPUの役割は、一例であって、これに限定するものではない。携帯端末は、1つのCPUのみを備えるものであってもよい。上述したメインCPU、サブCPUの役割をそれぞれ複数のCPUが担うものとしてもよい。
(1) CPU
The roles of the main CPU and the sub CPU described in the embodiment are merely an example, and the present invention is not limited to this. The portable terminal may have only one CPU. A plurality of CPUs may play the roles of the main CPU and the sub CPU described above.
(2)閾値TH1
第5および第6の実施形態における閾値TH1は固定の値でもよいし、タッチパネルの押圧箇所毎に異なる値を用いてもよいし、さらに押圧開始からの経過時間に応じて異なる値を用いてもよい。
(2) Threshold TH1
The threshold value TH1 in the fifth and sixth embodiments may be a fixed value, or a different value may be used for each pressed portion of the touch panel, or even different values may be used according to the elapsed time from the start of pressing. Good.
(3)減算値dP(Bn、Δt、Px)と補正量R(Bn、Δt、Px)
第5および第6の実施形態では、減算値dP(Bn、Δt、Px)を補正量R(Bn、Δt、Px)としてメモリに記憶するものとしたが、これに限定するものではない。たとえば、マージンを確保するために、減算値dP(Bn、Δt、Px)から一定値を減算した値を補正量R(Bn、Δt、Px)としてメモリに記憶するものとしてもよい。
(3) The subtraction value dP (Bn, Δt, Px) and the correction amount R (Bn, Δt, Px)
In the fifth and sixth embodiments, the subtraction value dP (Bn, Δt, Px) is stored in the memory as the correction amount R (Bn, Δt, Px). However, the present invention is not limited to this. For example, in order to secure a margin, a value obtained by subtracting a constant value from the subtraction value dP (Bn, Δt, Px) may be stored in the memory as the correction amount R (Bn, Δt, Px).
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本開示の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 It should be understood that the embodiments disclosed herein are illustrative and non-restrictive in every respect. The scope of the present disclosure is indicated not by the above description but by the claims, and is intended to include all modifications within the meaning and scope equivalent to the claims.
1 携帯端末、2 メインCPU、3 サブCPU、4 制御プログラム記憶部、5 カメラ、6 マイク、7 スピーカ、8 液晶ディスプレイ、9 タッチパネル、10 無線通信回路、11 近距離通信回路、12 ジャイロセンサ、13 近接センサ、14 照度センサ、15 アンテナ、16 バイブレータ、17 加速度センサ、18 気圧センサ、20 制御部、35 メモリ。
1
Claims (9)
タッチパネルと、
前記携帯端末の筐体内部の気圧を計測するように構成される気圧センサと、
前記タッチパネルに対して押圧操作がなされている間には、前記気圧センサで計測された気圧値から補正量を減算するように構成される少なくとも1つのプロセッサとを備えた、携帯端末。 A mobile terminal,
Touch panel,
An air pressure sensor configured to measure an air pressure inside a housing of the mobile terminal;
A portable terminal comprising: at least one processor configured to subtract a correction amount from an air pressure value measured by the air pressure sensor while a pressing operation is performed on the touch panel.
前記少なくとも1つのプロセッサは、前記タッチパネルに対して押圧操作がなされていないときに、前記気圧センサで計測された気圧値をメモリに記憶するように構成され、
前記少なくとも1つのプロセッサは、前記タッチパネルに対して押圧操作がなされている間には、前記気圧センサで計測された気圧値から、前記メモリに記憶されている前記押圧操作がなされる直前において前記気圧センサで計測された気圧値を減算するように構成され、
前記少なくとも1つのプロセッサは、減算結果が前記補正量以上の場合に、前記気圧センサで計測された気圧値から前記補正量を減算するように構成される、請求項1記載の携帯端末。 With memory
The at least one processor is configured to store, in a memory, an air pressure value measured by the air pressure sensor when no pressing operation is performed on the touch panel.
The at least one processor is configured to use the barometric pressure value measured by the barometric pressure sensor immediately before the pressing operation stored in the memory is performed while the pressing operation is performed on the touch panel. Configured to subtract the barometric pressure value measured by the sensor;
The mobile terminal according to claim 1, wherein the at least one processor is configured to subtract the correction amount from the barometric pressure value measured by the barometric pressure sensor when the subtraction result is equal to or more than the correction amount.
前記少なくとも1つのプロセッサは、前記タッチパネルに対して押圧操作がなされていないときに、前記気圧センサで計測された気圧値をメモリに記憶するように構成され、
前記少なくとも1つのプロセッサは、学習モードにおいて、前記タッチパネルに対して押圧操作がなされている間には、前記気圧センサで計測された気圧値から、前記メモリに記憶されている前記押圧操作がなされる直前において前記気圧センサで計測された気圧値を減算するように構成され、
前記少なくとも1つのプロセッサは、減算結果を前記補正量として前記メモリに記憶するように構成される、請求項1記載の携帯端末。 With memory
The at least one processor is configured to store, in a memory, an air pressure value measured by the air pressure sensor when no pressing operation is performed on the touch panel.
In the learning mode, while the pressing operation is performed on the touch panel, the at least one processor performs the pressing operation stored in the memory from the pressure value measured by the pressure sensor. The air pressure value measured by the air pressure sensor immediately before is configured to be subtracted,
The mobile terminal of claim 1, wherein the at least one processor is configured to store a subtraction result as the correction amount in the memory.
前記少なくとも1つのプロセッサは、前記タッチパネルに対して押圧操作がなされていないときに、前記気圧センサで計測された気圧値をメモリに記憶するように構成され、
前記少なくとも1つのプロセッサは、学習モードにおいて、前記タッチパネルに対して押圧操作がなされている間には、前記気圧センサで計測された気圧値から、前記メモリに記憶されている前記押圧操作がなされる直前において前記気圧センサで計測された気圧値を減算するように構成され、
前記少なくとも1つのプロセッサは、減算結果が閾値以上の場合に、前記減算結果を前記補正量として前記メモリに記憶するように構成される、請求項1記載の携帯端末。 With memory
The at least one processor is configured to store, in a memory, an air pressure value measured by the air pressure sensor when no pressing operation is performed on the touch panel.
In the learning mode, while the pressing operation is performed on the touch panel, the at least one processor performs the pressing operation stored in the memory from the pressure value measured by the pressure sensor. The air pressure value measured by the air pressure sensor immediately before is configured to be subtracted,
The mobile terminal according to claim 1, wherein the at least one processor is configured to store the subtraction result as the correction amount in the memory when the subtraction result is equal to or more than a threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016033852A JP6543204B2 (en) | 2016-02-25 | 2016-02-25 | Mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016033852A JP6543204B2 (en) | 2016-02-25 | 2016-02-25 | Mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017150960A JP2017150960A (en) | 2017-08-31 |
JP6543204B2 true JP6543204B2 (en) | 2019-07-10 |
Family
ID=59740624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016033852A Expired - Fee Related JP6543204B2 (en) | 2016-02-25 | 2016-02-25 | Mobile terminal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6543204B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102585873B1 (en) * | 2017-09-29 | 2023-10-11 | 삼성전자주식회사 | Method and apparatus for executing application using a barometer |
-
2016
- 2016-02-25 JP JP2016033852A patent/JP6543204B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2017150960A (en) | 2017-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11011131B2 (en) | Off-screen control method determining signal intensity calibration value for filmed display screen | |
JP6062175B2 (en) | Portable terminal, power saving control program, and power saving control method | |
EP2846135B1 (en) | Portable Electronic Device with Environmental Sensor | |
KR102070116B1 (en) | Method for controlling portable device by using humidity sensor and portable device thereof | |
JP7303900B2 (en) | Parameter acquisition method and terminal equipment | |
JP7329150B2 (en) | Touch button, control method and electronic device | |
CN109542279B (en) | Terminal device control method and terminal device | |
US20120214542A1 (en) | Automatic answering of a mobile phone | |
US9904314B2 (en) | Device and method of controlling a display panel based on cover-related information | |
US10963100B2 (en) | Interactive object control method and apparatus, terminal, and computer-readable storage medium | |
JP5618703B2 (en) | Mobile device | |
JP6266833B1 (en) | Electronic device, program, and control method | |
CN107390922B (en) | Virtual touch method, device, storage medium and terminal | |
CN108592947B (en) | Gyroscope calibration method and device, storage medium and terminal equipment | |
CN112147625A (en) | Calibration method and device, monocular laser measuring equipment and calibration system | |
JP2019030000A (en) | Electronic apparatus, program, and control method | |
CN110456923B (en) | Gesture sensing data processing method and electronic equipment | |
JP7413546B2 (en) | Photography method and electronic equipment | |
JP6543204B2 (en) | Mobile terminal | |
US9584640B2 (en) | Portable information processing device, output control method for a projector, and recording medium | |
CN110740270B (en) | Camera adjusting method and device, electronic equipment and storage medium | |
JP6215277B2 (en) | Portable device, control method and control program | |
JP2015188137A (en) | Portable terminal device, control method and program of portable terminal device | |
JP2014064222A (en) | Mobile terminal, brightness control program, and brightness control method | |
CN115421617A (en) | Holding mode detection method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180612 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190319 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190320 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190517 |
|
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: 20190604 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190614 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6543204 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |