JP2011113439A - Input device, input method, and input program - Google Patents
Input device, input method, and input program Download PDFInfo
- Publication number
- JP2011113439A JP2011113439A JP2009271213A JP2009271213A JP2011113439A JP 2011113439 A JP2011113439 A JP 2011113439A JP 2009271213 A JP2009271213 A JP 2009271213A JP 2009271213 A JP2009271213 A JP 2009271213A JP 2011113439 A JP2011113439 A JP 2011113439A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input
- detection
- detection data
- period
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/014—Hand-worn input/output arrangements, e.g. data gloves
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本発明は、ユーザの手の動きを示す検出データに基づいて、入力データを決定する入力装置、入力方法及び入力プログラムに関する。 The present invention relates to an input device, an input method, and an input program for determining input data based on detection data indicating a user's hand movement.
従来、ユーザがキーボードを使用せずにデータを入力するための入力装置が知られている。例えば特許文献1には、手の仕草によって情報を入力することが可能なデータ入力デバイス(入力装置)が提案されている。従来の入力装置では、ユーザの指に取り付けられたセンサから所定期間内に出力された検出データが、予め登録された学習データと比較され、指の動きに応じた入力データが決定される。通常のキーボードと同様に、入力装置は、特定の複数のキーが同時に押された場合に相当する検出データが取得された場合、各キーが別々に押下された場合とは異なる入力データを決定する。例えば、Shiftキーと、aのキーとが同時に押下された場合、入力装置は、入力データとして大文字の「A」を決定する。
2. Description of the Related Art Conventionally, an input device for a user to input data without using a keyboard is known. For example,
しかしながら、従来の入力装置では、検出データに基づき仮想的なキーの操作状態を的確に把握できないという問題があった。より具体的には、従来の入力装置では、仮想的なキーを打鍵する操作(以下、「通常操作」と言う。)と、仮想的なキーを継続的に押し続ける操作(以下、「継続操作」と言う。)とが的確に区別されないことがあった。このため、従来の入力装置では、仮想的なキーの操作状態に応じた適切な入力データが決定されないという問題があった。 However, the conventional input device has a problem that the operation state of the virtual key cannot be accurately grasped based on the detection data. More specifically, in the conventional input device, an operation of pressing a virtual key (hereinafter referred to as “normal operation”) and an operation of continuously pressing the virtual key (hereinafter referred to as “continuation operation”). ").” Was sometimes not accurately distinguished. For this reason, the conventional input device has a problem that appropriate input data according to the virtual key operation state cannot be determined.
本発明は上述の問題点を解決するためになされたものであり、仮想的な操作部材の操作状態に応じた入力データを的確に決定する入力装置、入力方法及び入力プログラムを提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object thereof is to provide an input device, an input method, and an input program that accurately determine input data according to the operation state of a virtual operation member. And
上記課題を解決するために、第1態様の入力装置は、手に取り付けられ、当該手の動きに応じた電気信号を発生するセンサと、前記センサによって発生された前記電気信号を含むデータを検出データとして出力する出力手段とを備え、前記出力手段によって出力された前記検出データに基づき、1つ以上の仮想的な操作部材を操作する前記手の動きに応じた入力データを決定する入力装置であって、前記操作部材の操作が継続される時間が閾値以下である操作である通常操作と、前記操作部材の操作が継続される時間が閾値よりも長い操作である継続操作を開始する開始操作と、前記継続操作を止める解除操作とを含む操作状態毎に、前記手が前記操作部材をいずれかの前記操作状態で操作したタイミングである入力タイミングを含む前記取得期間であって、第1所定長さの前記取得期間内の前記検出データと、当該操作部材に割り当てられたデータである割当データとを対応付けて学習データとして記憶手段に記憶させる記憶制御手段と、前記出力手段から出力された前記取得期間内の前記検出データと、前記記憶手段に記憶された前記操作状態毎の前記学習データとを比較して、当該検出データに対応する前記割当データを、前記入力データとして決定する決定手段とを備えている。 In order to solve the above-described problem, an input device according to a first aspect is attached to a hand and generates a sensor that generates an electrical signal corresponding to the movement of the hand, and detects data including the electrical signal generated by the sensor. Output means for outputting as data, and an input device for determining input data corresponding to the movement of the hand operating one or more virtual operation members based on the detection data output by the output means A start operation for starting a normal operation that is an operation in which the operation of the operation member is continued for less than a threshold and an operation in which the operation is continued for a longer time than the threshold And an input timing that is an input timing that is a timing at which the hand operates the operation member in any one of the operation states for each operation state including the release operation for stopping the continuous operation. Storage control means for associating the detection data within the acquisition period of the first predetermined length with assignment data, which is data assigned to the operation member, in the storage means in association with each other. , Comparing the detection data output from the output means within the acquisition period and the learning data for each operation state stored in the storage means, and assigning the allocation data corresponding to the detection data, Determining means for determining the input data.
ユーザが操作部材を操作した際の検出データの変化パターンは、操作状態に応じて異なる。例えば、操作部材として仮想的なキーボードのキーが用いられ、センサとして加速度センサを用いた場合、同じキーを操作した場合でも、通常操作と、開始操作と、解除操作とでは、検出データの変化パターンが異なる。第1態様の入力装置は、検出データに基づき、通常操作と、開始操作と、解除操作とを的確に区別することができる。すなわち、入力装置は、継続操作が通常操作と区別されなかったり、継続操作の開始操作と通常操作とが2つの異なる通常操作であると誤認識されたりことを回避することができる。したがって、複数の操作状態が組み合わされた入力操作が実行される場合であっても、入力装置は、操作状態に応じた入力データを的確に決定することができる。また、入力装置は、通常操作と、継続操作を的確に区別するため、例えば、同じキーを操作する場合でも、操作状態毎に異なる入力データが入力されるように学習データを設定することが可能である。例えば、入力装置は、通常操作でキー「a」が操作された場合には入力データとして「a」を決定し、継続操作でキー「a」が操作された場合には、継続操作が実行されている期間に応じた数の「a」を入力データとして決定することも可能である。このように、第1態様の入力装置は、操作状態に応じて学習データを適宜設定することによって、操作性を向上させることができる。 The change pattern of the detection data when the user operates the operation member differs depending on the operation state. For example, when a virtual keyboard key is used as the operation member and an acceleration sensor is used as the sensor, even if the same key is operated, the change pattern of the detection data in the normal operation, the start operation, and the release operation Is different. The input device of the first aspect can accurately distinguish the normal operation, the start operation, and the release operation based on the detection data. That is, the input device can avoid that the continuation operation is not distinguished from the normal operation, or that the continuation operation start operation and the normal operation are erroneously recognized as two different normal operations. Therefore, even when an input operation in which a plurality of operation states are combined is executed, the input device can accurately determine input data corresponding to the operation state. In addition, the input device accurately distinguishes between normal operation and continuous operation. For example, even when the same key is operated, learning data can be set so that different input data is input for each operation state. It is. For example, the input device determines “a” as input data when the key “a” is operated in the normal operation, and the continuous operation is executed when the key “a” is operated in the continuous operation. It is also possible to determine the number of “a” corresponding to a given period as input data. As described above, the input device according to the first aspect can improve the operability by appropriately setting the learning data according to the operation state.
第1態様の入力装置において、前記出力手段から出力された前記取得期間内の前記検出データと、前記記憶手段に記憶された前記学習データとを比較して、前記開始操作が検出されてから前記解除操作が検出されるまでの期間を、前記継続操作期間として検出する期間検出手段と、前記記憶手段は、前記期間検出手段によって検出された前記継続操作期間中に、前記通常操作が実行された場合の操作である組合せ操作に対応する前記学習データを組合せ学習データとして記憶し、前記決定手段は、前記期間検出手段によって検出された前記継続操作期間中、前記出力手段から出力された前記検出データと、前記記憶手段に記憶された前記組合せ学習データとを比較して、当該検出データに対応する前記組合せ学習データが前記記憶手段に記憶されている場合に、当該検出データに対応する前記入力データを決定してもよい。この場合の入力装置は、検出データと、組合せ学習データとに基づき、組合せ操作が実行された場合の入力データを的確に決定することができる。 In the input device according to the first aspect, the detection data output from the output means within the acquisition period is compared with the learning data stored in the storage means, and the start operation is detected before the detection is performed. A period detecting unit that detects a period until the release operation is detected as the continuous operation period, and the storage unit is configured to execute the normal operation during the continuous operation period detected by the period detecting unit. The learning data corresponding to the combination operation that is a case operation is stored as combination learning data, and the determination unit outputs the detection data output from the output unit during the continuous operation period detected by the period detection unit. And the combination learning data stored in the storage means, and the combination learning data corresponding to the detected data is stored in the storage means. If they are, it may determine the input data corresponding to the detected data. In this case, the input device can accurately determine the input data when the combination operation is executed based on the detection data and the combination learning data.
第1態様の入力装置において、前記第1所定長さは、前記通常操作と、前記開始操作及び前記解除操作とで異なってもよい。この場合の入力装置において、操作状態毎に第1所定長さを適宜定めることによって、入力データの決定精度を向上させることができる。 In the input device according to the first aspect, the first predetermined length may be different between the normal operation, the start operation, and the release operation. In the input device in this case, it is possible to improve the determination accuracy of the input data by appropriately determining the first predetermined length for each operation state.
第1態様の入力装置において、前記出力手段によって出力された第2所定長さの期間内の前記検出データの変化に基づき、前記入力タイミングを検出するタイミング検出手段を備え、前記決定手段は、前記タイミング検出手段によって前記入力タイミングが検出された場合に、前記入力データを決定する処理を実行し、前記取得期間の開始から前記入力タイミングまでの期間をL1とし、前記入力タイミングから前記取得期間の終わりまでの期間をL2とし、前記通常操作を連続して実行する場合の最小時間間隔をT1とし、前記組合せ操作の前記開始操作が検出されてから前記解除操作が検出されるまでの最小時間間隔をT2とし、前記第2所定長さをAとした場合に、前記開始操作の前記第1所定長さは、L1<T1及びL2<T2及びA<L1+L2を満たし、前記解除操作の前記第1所定長さは、L1<T2及びL2<T1及びA<L1+L2を満たし、前記通常操作の前記第1所定長さは、L1<T1及びL2<T1及びA<L1+L2を満たしてもよい。この場合の入力装置は、入力タイミングが検出されたか否かによらず入力データを決定するための処理(以下、決定処理と言う。)を実行する場合に比べ、入力装置で実行される処理の負荷を軽減させることができる。入力装置は、操作状態に応じて第1所定長さが的確に設定されるので、操作状態に応じた入力データの決定精度を向上させることができる。 In the input device according to the first aspect, the input device includes timing detection means for detecting the input timing based on a change in the detection data within a period of the second predetermined length output by the output means, and the determination means includes the determination means, When the input timing is detected by the timing detection means, a process for determining the input data is executed, a period from the start of the acquisition period to the input timing is set as L1, and the acquisition period ends from the input timing. L2 is a minimum time interval when the normal operation is continuously executed, and T1 is a minimum time interval from when the start operation of the combination operation is detected to when the release operation is detected. When T2 is set and A is the second predetermined length, the first predetermined length of the start operation is L1 <T1 and L2 <T2 and <L1 + L2 is satisfied, the first predetermined length of the release operation satisfies L1 <T2, L2 <T1, and A <L1 + L2, and the first predetermined length of the normal operation is L1 <T1 and L2 <T1 And A <L1 + L2. In this case, the input device performs processing executed by the input device as compared with a case where processing for determining input data (hereinafter referred to as determination processing) is performed regardless of whether or not input timing is detected. The load can be reduced. Since the first predetermined length is accurately set according to the operation state, the input device can improve the accuracy of determining the input data according to the operation state.
第2態様の入力方法は、手に取り付けられ、当該手の動きに応じた電気信号を発生するセンサによって発生された前記電気信号を含むデータを検出データとして出力する出力工程を備え、前記出力工程において出力された前記検出データに基づき、1つ以上の仮想的な操作部材を操作する前記手の動きに応じた入力データを決定する入力方法であって、前記操作部材の操作が継続される時間が閾値以下である操作である通常操作と、前記操作部材の操作が継続される時間が閾値よりも長い操作である継続操作を開始する開始操作と、前記継続操作を止める解除操作とを含む操作状態毎に、前記手が前記操作部材をいずれかの前記操作状態で操作したタイミングである入力タイミングを含む取得期間であって、第1所定長さの前記取得期間内の前記検出データと、当該操作部材に割り当てられたデータである割当データとを対応付けて学習データとして記憶手段に記憶させる記憶制御工程と、前記出力工程から出力された前記取得期間内の前記検出データと、前記記憶手段に記憶された前記操作状態毎の前記学習データとを比較して、当該検出データに対応する前記割当データを、前記入力データとして決定する決定工程とを備えている。第2態様の入力方法は、第1態様の入力装置と同様の作用効果を得ることができる。
The input method according to the second aspect includes an output step of outputting data including the electrical signal generated by a sensor attached to a hand and generating an electrical signal corresponding to the movement of the hand as detection data, and the output step An input method for determining input data corresponding to the movement of the hand that operates one or more virtual operation members based on the detection data output in
第3態様の入力プラグラムは、上記第1態様の入力装置の各種処理手段としてコンピュータを機能させるための入力プログラムである。第3態様の入力プログラムは、コンピュータに実行させることにより第1態様の入力装置の各種処理手段としての作用効果を奏することができる。 The input program of the third aspect is an input program for causing a computer to function as various processing means of the input device of the first aspect. The input program according to the third aspect can exhibit the operational effects as various processing means of the input device according to the first aspect by being executed by a computer.
以下、本発明を具現化した実施形態の入力装置1について、図面を参照して順に説明する。なお、これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成、各種処理のフローチャートなどは、それのみに限定する趣旨ではなく、単なる説明例である。
DESCRIPTION OF EMBODIMENTS Hereinafter, an
まず、図1を参照して、入力装置1の物理的構成について説明する。入力装置1は、仮想的な操作部材を操作するユーザの手の動きを検出して、入力データを決定する。本実施形態の入力装置1は、特に、仮想的なキーボードのキーを操作する手(指)の動作を検出し、その操作に対応するキーに基づき入力データを決定する。図1のように、入力装置1は、データ収集装置2と、データ収集装置3と、データ決定装置4とを備える。データ収集装置2は、ユーザの右手に取り付けられる。データ収集装置3は、ユーザの左手に取り付けられる。データ収集装置2と、データ収集装置3とはそれぞれ、データ決定装置4に検出データを送信する。データ決定装置4は、ユーザの確認可能な位置に配置され、データ収集装置2と、データ収集装置3とから送信された検出データに基づき、入力データを決定する。
First, the physical configuration of the
データ収集装置2と、データ収集装置3との物理的構成を説明する。データ収集装置2と、データ収集装置3との物理的構成は、基本的に同様である。データ収集装置2を例に、データ収集装置2と、データ収集装置3との物理的構成を説明する。図1のように、データ収集装置2は、手袋部23(データ収集装置3では、手袋部33)と、センサ21と、筐体22と、ハーネス24とを備える。以下、データ収集装置2が備える各部材について説明する。
A physical configuration of the
手袋部23は、ユーザの右手に装着される右手用の手袋である。センサ21は、データ収集装置2が取り付けられた手の各指に対応して5つ設けられ、センサ21が取り付けられた指の動作を検出する。各センサ21は、手袋部23の甲側の表面のうち、指先部分に取り付けられている。センサ21は、手、特に指の動作を検出する機能を備えていればよく、例えば、加速度センサと、ジャイロセンサとのいずれかが用いられる。本実施形態のセンサ21は、加速度センサである。センサ21は、データ収集装置2の電源がONにされた場合に、検出方向(軸)毎にセンサ21が取り付けられた指の加速度(G)を示す電気信号を常時、後述する制御部25(図2参照)に対して出力する。本実施形態では検出方向(軸)として、直交座標系におけるx軸方向(x軸)と、y軸方向(y軸)と、z軸方向(z軸)との3方向(3軸)が設定されている。
The
筐体22は、直方体の形状を有し、手袋部23の甲側の表面の手首部分に取り付けられている。筐体22は、制御部25(図2参照)を収容する。ハーネス24は、センサ21と制御部25とを電気的に接続する。センサ21から出力された信号は、ハーネス24を介して制御部25に伝送される。
The
次に、データ決定装置4の物理的構成について説明する。図1のように、データ決定装置4は、筐体36と、表示部39と、入力部40とを備える。筐体36は、直方体の形状を有し、後述する制御部37(図3参照)を収容する。表示部39は、平面視矩形の液晶ディスプレイである。表示部39には、入力装置1の動作モードと、入力データと、指示を含む各種情報が表示される。入力部40は、ユーザが入力装置1の動作モードを設定する際に用いるボタンである。
Next, the physical configuration of the data determination device 4 will be described. As shown in FIG. 1, the data determination device 4 includes a
次に、入力装置1の電気的構成について説明する。データ収集装置2と、データ収集装置3との電気的構成は、同様である。データ収集装置2を例に、データ収集装置2と、データ収集装置3との電気的構成を説明する。
Next, the electrical configuration of the
図2のように、データ収集装置2は、制御部25と、センサ21とを備える。制御部25は、CPU41と、ROM42と、RAM43と、A/Dコンバータ45と、RFモジュール46と、アンテナ47と、バス44とを備える。CPU41は、ROM42と、RAM43とのそれぞれとバス44を介して接続されている。以下、制御部25が備える各構成について説明する。
As shown in FIG. 2, the
CPU41は、データ収集装置2の主制御を司り、ROM42のプログラム記憶エリア(図示せず)に記憶された各種プログラムに従って、入力データの決定に関わる各種演算及び処理を実行する。なお、プログラムはフレキシブルディスク等の外部記憶装置に記憶されていてもよい。
The
ROM42は、図示しないが、プログラム記憶エリアと、設定記憶エリアを含む複数の記憶エリアを備える。プログラム記憶エリアには、検出プログラムを含む各種プログラムが記憶される。検出プログラムは、後述する検出処理を実行させるためのプログラムである。設定記憶エリアには、データ収集装置2の初期設定と、パラメータとが記憶される。RAM43は、任意に読み書き可能な記憶装置であり、CPU41の演算結果等を記憶する。
Although not shown, the
A/Dコンバータ45は、センサ21から出力される電気信号(アナログ信号)をデジタル信号に変換する。A/Dコンバータ45は、センサ21と、CPU41とに接続されている。アンテナ47は、データ収集装置2と外部装置との間でデータを送受信する。本実施形態では、アンテナ47は、例えば、検出データを無線でデータ決定装置4に送信する。RFモジュール46は、アンテナ47とCPU41との間に接続され、変調制御を司る。
The A /
次に、データ決定装置4の電気的構成を説明する。図3のように、データ決定装置4の制御部37は、CPU101と、ROM102と、RAM103と、フラッシュメモリ38と、RFモジュール105と、アンテナ106と、表示部39と、入力部40とを備える。CPU101は、ROM102と、RAM103と、フラッシュメモリ38と、バス104を介して接続されている。以下、データ決定装置4が備える各構成について説明する。
Next, the electrical configuration of the data determination device 4 will be described. As shown in FIG. 3, the
CPU101は、データ決定装置4の主制御を司り、ROM102のプログラム記憶エリア(図示せず)に記憶された各種プログラムに従って、入力データの決定に関わる各種演算及び処理を実行する。なお、プログラムはフレキシブルディスク等の外部記憶装置に記憶されていてもよい。
The
ROM102は、図示しないが、プログラム記憶エリアを含む複数の記憶エリアを備える。プログラム記憶エリアには、メインプログラムを含む各種プログラムが記憶される。メインプログラムは、データ収集装置2及びデータ収集装置3から出力された検出データに基づき、入力データを決定するメイン処理を実行させるためのプログラムである。取得プログラムは、後述する取得処理を実行するためのプログラムである。RAM103は、CPU101が演算処理した演算結果等を記憶する。
Although not shown, the
フラッシュメモリ38は、検出データ記憶エリア381と、動作モード記憶エリア382と、ウィンドウ情報記憶エリア383と、学習データ記憶エリア384と、組合せ学習データ記憶エリア385と、その他の情報記憶エリア386とを含む複数の記憶エリアを備える。検出データ記憶エリア381には、センサ21から出力された電気信号と、その電気信号に対して付与されたタイムスタンプとが、検出データとして記憶される。検出データに含まれるタイムスタンプは、センサ21から出力された電気信号が制御部25において取得された際の、タイムスタンプクロック値を示す。検出データは、センサ21が取り付けられている手及び指の種類と、検出方向(軸)とを組み合わせた検出条件毎に記憶される。動作モード記憶エリア382には、入力装置1の動作モードが記憶されている。本実施形態では、動作モードとして、学習モードと、入力モードとのいずれかが設定可能である。動作モードに学習モードが設定されている場合、学習データ記憶エリア384を更新する処理が実行される。動作モードに入力モードが設定されている場合、検出データに基づき、入力データを決定する処理が実行される。ウィンドウ情報記憶エリア383には、後述するメイン処理が実行される際のウィンドウを設定する条件が記憶されている。ウィンドウ情報記憶エリア383の詳細は後述する。学習データ記憶エリア384には、学習データが記憶されている。組合せ学習データ記憶エリア385には、組合せ学習データが記憶されている。学習データ及び組合せ学習データの詳細については後述する。その他の情報記憶エリア386には、メイン処理が実行される際に参照される条件などのその他の情報が記憶されている。
The
アンテナ106は、データ決定装置4と外部装置との間で、無線でデータの送受信を行う。外部装置には、データ収集装置2と、データ収集装置3と、入力データの出力先となるPC等の外部装置とが含まれる。RFモジュール105は、CPU101とアンテナ106とに接続され、変復調制御を司る。表示部39は、CPU101と接続され、CPU101によって制御される。入力部40は、CPU101と接続されている。
The
次に、ウィンドウ情報記憶エリア383について、図4から図8を参照して説明する。図4のように、ウィンドウ情報記憶エリア383には、ウィンドウの設定条件が操作状態毎に記憶されている。ウィンドウは、後述するメイン処理において、データ決定装置4が経時的に取得する検出データに基づき入力データを決定する処理で設定される検出データの取得期間を規定する。本実施形態では、メイン処理において、図5に例示する入力判断ウィンドウ400と、識別ウィンドウ300との2種類のウィンドウが設定される。入力判断ウィンドウ400は、入力タイミング221を検出する処理に用いられる検出データの取得期間を規定する。図6のように、本実施形態では、入力判断ウィンドウ400内の検出データの最大値と最小値との差(矢印226で図示)が所定値(例えば、1000mg)以上である場合、入力判断ウィンドウ400内の最も新しいデータ取得時点(入力判断ウィンドウ400の右端)を入力タイミングとする。所定値は、入力操作が実行された場合の検出データの経時変化と、及び入力操作が実行されていない場合の検出データの経時変化とを考慮して定められることが好ましい。識別ウィンドウ300は、入力データを決定する処理に用いられる検出データの取得期間(取得範囲)を規定する。図5のように、識別ウィンドウ300によって規定される範囲には、入力タイミング221及び入力判断ウィンドウ400が含まれる。
Next, the window
本実施形態では、操作状態として、通常操作と、継続操作と、組合せ操作とが設定されている。通常操作とは、仮想的なキーを継続して押下する時間が閾値(例えば、0.5msec)以下である操作を言う。継続操作とは、仮想的なキーを継続して押下する時間が閾値よりも長い操作を言う。継続操作は、開始操作と、解除操作とを含む。開始操作は、継続操作を開始する操作を言う。解除操作とは、継続操作を止める操作を言う。組合せ操作とは、継続操作が実行されている期間(以下、「継続操作期間」と言う。)中に、通常操作が実行される操作である。継続操作期間は、開始操作が検出されてから、解除操作が検出されるまでの期間である。本実施形態では、継続操作が実行された場合の検出データのパターンは、開始操作前後と、解除操作前後とを除く期間は、ほとんど変化しない。このため、入力装置1は、開始操作と、解除操作とを検出することによって、継続期間を特定する。なお、上記閾値は、通常操作と、継続操作とが区別される値が適宜設定されればよい。入力装置1のように、仮想的なキーボードの操作を検出する場合、通常操作(打鍵)及び継続操作を規定する閾値は、個人差があるため、ユーザ毎に設定されることが好ましい。また、本実施形態では、組合せ操作の継続操作と、通常操作とは、それぞれ異なる手でキーが操作される場合が想定されている。本実施形態では、上記操作を総称して、入力操作という。
In the present embodiment, a normal operation, a continuation operation, and a combination operation are set as operation states. The normal operation refers to an operation in which the time for which a virtual key is continuously pressed is equal to or less than a threshold value (for example, 0.5 msec). The continuous operation is an operation in which the time for which the virtual key is continuously pressed is longer than a threshold value. The continuation operation includes a start operation and a release operation. The start operation refers to an operation for starting a continuation operation. The release operation is an operation for stopping the continuous operation. The combination operation is an operation in which a normal operation is executed during a period in which a continuation operation is being executed (hereinafter referred to as “continuation operation period”). The continuous operation period is a period from when the start operation is detected to when the release operation is detected. In the present embodiment, the pattern of detection data when the continuation operation is executed hardly changes during the period excluding before and after the start operation and before and after the release operation. For this reason, the
一般に、識別ウィンドウの幅は、一定の範囲内であれば、幅が長いほど、すなわち、入力データを決定する処理に用いる検出データの数が多いほど、入力データの決定精度は高くなる。一方で、識別ウィンドウの幅が一定の範囲を超えた場合には、複数の入力操作に対応する検出データが同一の識別ウィンドウ内に含まれる可能性があり、このような場合には入力データの決定精度が悪化する。これに対し、図7および図8のように、入力操作が実行された場合の検出データ232と、開始操作が実行された場合の検出データ241と、解除操作が実行された場合の検出データ242とは変化パターンが互いに異なる。特に、入力操作が実行された場合の入力タイミング233と、開始操作が実行された場合の入力タイミング245と、解除操作が実行された場合の入力タイミング246とでは、各入力タイミングの前後の検出データが収束するのに要する時間は、操作状態毎に異なる。
In general, if the width of the identification window is within a certain range, the longer the width, that is, the greater the number of detection data used for the process of determining input data, the higher the accuracy of determining input data. On the other hand, if the width of the identification window exceeds a certain range, detection data corresponding to a plurality of input operations may be included in the same identification window. In such a case, the input data Determining accuracy deteriorates. On the other hand, as shown in FIGS. 7 and 8, the
このため、本実施形態では、通常操作と、開始操作と、解除操作とのそれぞれに識別ウィンドウ300の設定条件L1とL2とを定めている。図5のように、L1は、識別ウィンドウ300の開始222から入力タイミング221までの期間を表し、L2は入力タイミング221から識別ウィンドウ300の終わり223までの期間を表す。L1と、L2とは、以下のように定められることが好ましい。図7のように、通常操作が連続して実行された場合の最小時間間隔、すなわち、通常操作が連続して実行された場合に検出される入力タイミング233と、入力タイミング234との最小時間間隔をT1とする。図8のように、組合せ操作の検出データ243において、開始操作の入力タイミング245が検出されてから解除操作の入力タイミング246が検出されるまでの最小時間間隔をT2とする。入力判断ウィンドウ400の幅をAとする。
For this reason, in this embodiment, the setting conditions L1 and L2 of the
図5のように、開始操作のL1及びL2は、L1<T1と、L2<T2と、A<L1+L2とを満たすことが好ましい。同様に、解除操作のL1及びL2は、L1<T2と、L2<T1と、A<L1+L2とを満たし、通常操作のL1及びL2は、L1<T1と、L2<T1と、A<L1+L2とを満たすことが好ましい。このように、L1と、L2と、Aとが設定されることによって、入力データの決定に必要な検出データの数を確保しつつ、識別ウィンドウ内にノイズが含まれることを回避することができる。より好ましくは、L1及びL2には、識別ウィンドウ300外の入力タイミング224又は入力タイミング225の前後の変動が含まれないことが好ましい。例えば、図7において、入力タイミング234を検出する際に用いられるウィンドウには、期間235の変動が含まれないように、上記関係式では、T1に代えて、T1´が用いられることがより好ましい。このようにL1と、L2と、Aとが設定されれば、識別ウィンドウ内に、ノイズが含まれることをより確実に回避することができるので、入力タイミングを決定する精度をさらに向上させることができる。なお、本実施形態では、Aは操作状態によらず、同じ値25msecが設定されている。T1及びT2は、個人差があるため、ユーザ毎に設定されることが好ましいが、複数のユーザに共通する設定値であってもよい。本実施形態のT1は100msecであり、T2は70msecである。図5のように、各操作状態のL1及びL2は、上記関係式を満たす値である。
As shown in FIG. 5, it is preferable that L1 and L2 of the start operation satisfy L1 <T1, L2 <T2, and A <L1 + L2. Similarly, L1 and L2 of the release operation satisfy L1 <T2, L2 <T1, and A <L1 + L2, and L1 and L2 of the normal operation are L1 <T1, L2 <T1, and A <L1 + L2. It is preferable to satisfy. In this way, by setting L1, L2, and A, it is possible to prevent noise from being included in the identification window while securing the number of detection data necessary for determining input data. . More preferably, L1 and L2 do not include the
次に、図9と、図10とを参照して、学習データ記憶エリア384及び組合せ学習データ記憶エリア385について説明する。学習データは、割当データと、割当データに対応するキーが操作された場合の検出データの特徴量とが対応付けられたデータである。検出データの特徴量は、識別ウィンドウ300内の検出データに基づき、以下の手順で算出された5つの平均値である。まず図5のように、識別ウィンドウ300の範囲が、矢印301で示す長さの5つの範囲に等分割される。次に分割された範囲毎に、検出データの平均値が算出される。図9のように、本実施形態の学習データは、操作状態毎に、且つ、検出条件毎に記憶されている。検出条件は、手の種類と、指の種類と、検出方向とを組み合わせた条件である。手の種類には、右手と左手とが含まれる。指の種類には、親指と、人差し指と、中指と、薬指と、小指とが含まれる。
Next, the learning
本実施形態の入力装置1は、学習データを操作状態毎に記憶することで、検出データに基づき、操作状態と、割当データとを特定することが可能である。入力装置1は、後述するように、検出データに基づき特定された、操作状態と、割当データとを組み合わせて入力データを決定する。操作状態が通常操作である場合には、学習データに含まれる割当データが、入力データとして決定される。
The
一方、操作状態が組合せ操作である場合には、学習データに基づき割当データが特定され、さらに、特定された割当データの組合せに基づき組合せ学習データに含まれる割当データが、入力データとして決定される。このため、組合せ操作が実行された場合の割当データは、学習データ記憶エリア384とは別に設けられた組合せ学習データ記憶エリア385に記憶されている。図10のように、組合せ学習データ記憶エリア385には、組合せ操作毎に割当データが対応付けられている。組合せ操作がされた場合のキー種別は、学習データ記憶エリア384に記憶された学習データと、検出データとに基づき特定される。
On the other hand, when the operation state is a combination operation, allocation data is specified based on the learning data, and allocation data included in the combination learning data is determined as input data based on the combination of the specified allocation data. . For this reason, the allocation data when the combination operation is executed is stored in a combination learning
次に、入力装置1で実行される処理について説明する。まず、データ収集装置2と、データ収集装置3とで実行される処理について説明する。データ収集装置2と、データ収集装置3とで実行される処理は、基本的に同様である。データ収集装置2とデータ収集装置3とでは、電源がONにされた場合に、データ決定装置4に開始指示が送信されるとともに、出力処理と、検出処理とを含む複数の処理が実行される。データ収集装置2とデータ収集装置3とでは、電源がOFFにされた場合に、データ決定装置4に終了指示が送信される。出力処理と、検出処理とは、それぞれ、図2のROM42に記憶されたプログラムに従って、CPU41によって実行される。
Next, processing executed by the
出力処理では、データ収集装置2の電源がONにされている期間、センサ21から3種類の検出方向(x軸方向、y軸方向、z軸方向)の加速度(mg)を示す電気信号が制御部25に常時出力される。検出処理では、出力処理において出力された電気信号が、制御部25が備えるCPU41(図2参照)によって所定期間毎に検出される。図11を参照して、検出処理について説明する。図11のように、検出処理ではまず、図示外のクロックが参照され、検出時間か否かが判断される(S5)。S5では、前回の検出時から所定期間(例えば、1msec)経過している場合に、検出時間であると判断される。所定期間は、その他の情報記憶エリア386に記憶されている。
In the output process, an electrical signal indicating acceleration (mg) in three types of detection directions (x-axis direction, y-axis direction, z-axis direction) is controlled from the
検出時間ではない場合(S5:No)、検出時間に達するまで待機される。検出時間である場合(S5:Yes)、センサ21から出力されている電気信号が取得され、取得された電気信号にタイムスタンプが付与される(S10)。S10で取得される電気信号は、指の種類5種類と、検出方向3種類とを組み合わせた15種類の電気信号である。各電気信号に付与されるタイムスタンプは、例えば、電気信号が取得された際の、タイムスタンプクロック値である。次に、S10で取得された電気信号と、電気信号に対して付与されたタイムスタンプとが検出データとして、データ決定装置4に出力される(S15)。S15で送信される検出データは、検出条件を示す情報を含む。次に、データ収集装置2の電源がONの場合は(S20:No)、処理はS5に戻り、電源がOFFの場合は(S20:Yes)、検出処理は終了する。
When it is not the detection time (S5: No), it waits until the detection time is reached. When it is the detection time (S5: Yes), the electrical signal output from the
次に、データ決定装置4で実行される処理について説明する。データ決定装置4は、データ収集装置2又はデータ収集装置3から送信された開始指示を取得した場合に起動する。データ決定装置4は、起動後、取得処理と、メイン処理とを含む複数の処理を開始させる。なお、データ決定装置4では、データ収集装置2と、データ収集装置3とのいずれかから終了指示が送信された場合、又はデータ決定装置4の電源がOFFにされた場合には、各種処理を終了させる処理が、上記処理とは別途実行される。取得処理と、メイン処理とは、それぞれ、図3のROM102に記憶されたプログラムに従って、CPU101によって実行される。取得処理では、データ収集装置2又はデータ収集装置3から出力された検出データが受信され、受信された検出データが検出データ記憶エリア381に記憶される。データ決定装置4は、検出条件毎に検出データを記憶させる。
Next, processing executed by the data determination device 4 will be described. The data determination device 4 is activated when the start instruction transmitted from the
メイン処理では、入力装置1の動作モードに応じた処理が実行される。図12から図15を参照して、メイン処理を説明する。まずメイン処理の概要について説明する。本実施形態の入力装置1は、メイン処理において、データ収集装置2及びデータ収集装置3から送信された検出データに基づき、入力データを決定する。本実施形態の入力データは、仮想的なキーボードの各キーに予め対応付けられた文字又は記号である。
In the main process, a process according to the operation mode of the
図12のように、メイン処理では、まず、初期化処理が実行される(S105)。S105では、例えば、メイン処理を実行するための各種設定値が図3のROM102又はフラッシュメモリ38から読み出される、読み出された設定値は、RAM103に記憶される。次に、動作モードに入力モードが設定され、設定された動作モードは動作モード記憶エリア382に記憶される(S110)。
As shown in FIG. 12, in the main process, an initialization process is first executed (S105). In S <b> 105, for example, various setting values for executing the main process are read from the
次に、入力装置1の動作モードが学習モードであるか否かが判断される(S115)。学習モードでは、学習データ記憶エリア384の学習データに含まれる特徴量を更新する処理が実行される。ユーザが入力部40を操作して所定の指示を入力した場合に、動作モードに学習モードが設定される。動作モードが学習モードではない場合(S115:No)の処理は後述する。動作モードが学習モードである場合(S115:Yes)、学習モード時の処理が実行される。
Next, it is determined whether or not the operation mode of the
学習モード時の処理では、まず、操作状態が設定され、設定された操作状態は図3のRAM103に記憶される(S120)。S120は、操作状態毎に学習データを更新するための処理である。S120では、操作状態として、通常操作と、継続操作とのいずれかが設定される。次に、割当データが表示部39に表示される(S125)。S125では、本実施形態では、仮想的なキーボードのキー種別(例えば、「a」)が割当データとして表示される。ユーザは、表示部39を確認した後、表示部39に示されたキー「a」を打鍵する場合の動作を行う。次に、S120で設定された操作状態に応じたウィンドウ条件が設定され、設定されたウィンドウ条件はRAM103に記憶される(S130)。S120において、操作状態として通常操作が設定された場合を具体例1とする。具体例1では、図4のウィンドウ情報記憶エリア383が参照され、L1として80msecが設定され、L2として80msecが設定され、Aとして25msecが設定される。なお、操作状態として、継続操作が設定された場合、S130では、まず開始操作のウィンドウ条件が設定され、S190の処理後に実行されるS130では、解除操作のウィンドウ条件が設定される。
In the process in the learning mode, first, an operation state is set, and the set operation state is stored in the
次に、取得順序が新しい順に所定個の検出データが取得され、取得された検出データは図3のRAM103に記憶される(S135)。S135は、識別ウィンドウを設定する処理である。S135における検出データの取得数は、S125で設定された識別ウィンドウの幅(L1+L2)と、取得処理における検出データの取得頻度Jとに応じて決定される。具体例1において、取得間隔Jが1msecである場合、検出データの取得数は、160となる。次に、S135で取得された検出データに、入力判断ウィンドウが設定される(S140)。
Next, a predetermined number of pieces of detection data are acquired in order from the newest acquisition order, and the acquired detection data is stored in the
次に、S140で設定された入力判断ウィンドウ内の検出データに基づき、入力操作が実行されたか否かが判断される(S145)。S145ではまず、S140で設定された入力判断ウィンドウが所定個の期間に等分割され、分割された期間毎に、検出データの平均値(以下、「期間平均値」という。)が算出される。次に、いずれかの検出条件の検出データについて、期間平均値の最大値と、最小値との差が閾値以上であった場合に、すなわち、入力タイミングが検出された場合に、入力操作が実行されたと判断される。入力操作が実行された場合の期間平均値の最大値と、最小値との差を比較すると、一般に、入力操作をした指のz軸方向の期間平均値の最大値と、最小値との差が最も大きい。したがって、本実施形態では、入力操作をした指の検出データに基づき、入力タイミングが検出されることになる。閾値は、入力操作が実行された場合の検出データの経時変化と、入力操作が実行されていない場合の検出データの変化とを考慮して適宜定められ、フラッシュメモリ38に記憶されている。本実施形態では、閾値に1000mgが設定されている。入力操作が実行されていない場合(S145:No)、処理はS135に戻る。図6のように、入力判断ウィンドウ400は、S135及びS140が繰り返し実行されることによって、左側から右側に向かって順にシフトする。
Next, based on the detection data in the input determination window set in S140, it is determined whether an input operation has been executed (S145). In S145, first, the input determination window set in S140 is equally divided into a predetermined number of periods, and an average value of detection data (hereinafter referred to as “period average value”) is calculated for each divided period. Next, the input operation is executed when the difference between the maximum value and the minimum value of the period average value is greater than or equal to the threshold for the detection data of any detection condition, that is, when the input timing is detected. It is judged that it was done. Comparing the difference between the maximum value and the minimum value of the average period value when the input operation is performed, generally, the difference between the maximum value and the minimum value of the average period value in the z-axis direction of the finger that has performed the input operation Is the largest. Therefore, in this embodiment, the input timing is detected based on the detection data of the finger that has performed the input operation. The threshold value is appropriately determined in consideration of the change over time of the detected data when the input operation is executed and the change of the detected data when the input operation is not executed, and is stored in the
S145で、入力操作が実行された場合(S145:Yes)、S130で設定された識別ウィンドウに含まれる検出データ(80+80=160msec間のデータ)がRAM103から読み出され(S150)、読み出された検出データに基づき特徴量が算出される(S155)。S155では、識別ウィンドウ300の期間が、5つの期間に等分割され、分割された期間毎に、検出データの特徴量として平均値が算出される。次に、S155で算出された特徴量と、S125で表示された割当データとが対応付けられて、学習データとして学習データ記憶エリア384に記憶される(S160)。
When an input operation is executed in S145 (S145: Yes), the detection data (80 + 80 = 160 msec data) included in the identification window set in S130 is read from the RAM 103 (S150) and read. A feature amount is calculated based on the detected data (S155). In S155, the period of the
次に、動作モード記憶エリア382が参照され、動作モードが入力モードであるか否かが判断される(S165)。ユーザが入力部40を操作して所定の指示を入力した場合に、動作モードは学習モードから入力モードに変更される。S165において、動作モードが入力モードである場合(S165:Yes)、データ決定装置4の電源がOFFにされていない場合には(S215:No)、処理はS115に戻る。データ決定装置4の電源がOFFにされた場合には(S215:Yes)、メイン処理は終了する。動作モードが入力モードではない場合(S165:No)、RAM103が参照され、S120で設定された操作状態が、継続操作であるか否かが判断される(S180)。継続操作である場合(S180:Yes)、解除操作の学習データが取得済みであるか否かが判断される(S185)。操作状態が継続操作に設定された場合、まず、S125で表示されたキー種別のキーの開始操作の学習データが更新され、次に、そのキーの解除操作の学習データが更新される。解除操作の学習データが取得済みではない場合(S185:No)、解除操作を促す指示が表示部39に表示され(S190)、処理はS130に戻る。S190後のS130では、解除操作のウィンドウ条件が設定される。
Next, the operation
S120で設定された操作状態が継続操作ではない場合(S180:No)、又は解除操作の学習データが既に取得された場合(S185:Yes)には、仮想的なキーボードの全てのキー種別がS125において表示されたか否かが判断される(S195)。S125で表示されていないキー種別がある場合(S195:No)、処理はS125に戻り、次のキー種別が表示される(S125)。全てのキー種別が表示された場合(S195:Yes)、S120で全ての操作状態が設定されたか否かが判断される(S200)。未設定の操作状態がある場合(S200:No)、処理はS120に戻り、次の操作状態が設定される。S165において、動作モードが入力モードである場合(S165:Yes)、又は全ての操作状態が設定された場合(S200:Yes)、動作モードに入力モードが設定される(S205)。次に、データ決定装置4の電源がOFFにされていない場合には(S215:No)、処理はS115に戻る。データ決定装置4の電源がOFFにされた場合には(S215:Yes)、メイン処理は終了する。 When the operation state set in S120 is not a continuous operation (S180: No), or when learning data of a release operation has already been acquired (S185: Yes), all key types of the virtual keyboard are S125. It is determined whether or not it is displayed at (S195). If there is a key type not displayed in S125 (S195: No), the process returns to S125, and the next key type is displayed (S125). When all the key types are displayed (S195: Yes), it is determined whether all the operation states are set in S120 (S200). If there is an unset operation state (S200: No), the process returns to S120, and the next operation state is set. In S165, when the operation mode is the input mode (S165: Yes) or when all operation states are set (S200: Yes), the input mode is set as the operation mode (S205). Next, when the power of the data determination device 4 is not turned off (S215: No), the process returns to S115. When the power of the data determination device 4 is turned off (S215: Yes), the main process ends.
S115において、動作モードが学習モードではない場合(S115:No)、入力モード処理が実行される(S210)。入力モード処理を、図13から図15を参照して説明する。一例として、図14のように、小文字のAと、大文字のK及びLとが、この順で入力される具体例2を想定する。図14のように、具体例2では、t1タイミングでAキーが通常操作され、t2タイミングからt5タイミングまでの期間、Shiftキーが継続操作される。さらに、具体例2では、t3タイミングでKキーが通常操作され、t4タイミングでLキーが通常操作される。 In S115, when the operation mode is not the learning mode (S115: No), the input mode process is executed (S210). The input mode process will be described with reference to FIGS. As an example, assume a specific example 2 in which a lowercase letter A and uppercase letters K and L are input in this order as shown in FIG. As shown in FIG. 14, in the specific example 2, the A key is normally operated at the timing t1, and the Shift key is continuously operated during the period from the timing t2 to the timing t5. Furthermore, in the specific example 2, the K key is normally operated at the timing t3, and the L key is normally operated at the timing t4.
図13のように、入力モード処理では、まず、ウィンドウ情報記憶エリア383が参照され、ウィンドウ情報が読み込まれる(S305)。次に、取得順序が新しい順に所定個の検出データが取得され、取得された検出データはRAM103に記憶される(S310)。
S310で取得される検出データの数は、入力判断ウィンドウの幅Aと、取得処理における検出データの取得間隔Jとによって規定される(S310)。入力判断ウィンドウの長さAが25msecであり、取得間隔Jが1msecである場合、25個の検出データが取得される。S310の処理によって、入力判断ウィンドウ内の検出データが取得される。
As shown in FIG. 13, in the input mode process, first, the window
The number of detection data acquired in S310 is defined by the width A of the input determination window and the detection data acquisition interval J in the acquisition process (S310). When the length A of the input determination window is 25 msec and the acquisition interval J is 1 msec, 25 detection data are acquired. The detection data in the input determination window is acquired by the process of S310.
次に、S310で取得された検出データに基づき、入力操作が実行されたか否かが判断される(S315)。S315の処理はS145の処理と同様である。入力操作が実行されていない場合には(S315:No)、処理はS310に戻る。入力操作が実行された場合には(S315:Yes)、経過時間をカウントするための変数Cがインクリメントされ、インクリメントされた変数Cは、RAM103に記憶される(S320)。変数Cの初期値は0である。 Next, based on the detection data acquired in S310, it is determined whether or not an input operation has been executed (S315). The process of S315 is the same as the process of S145. If the input operation has not been executed (S315: No), the process returns to S310. When the input operation is executed (S315: Yes), the variable C for counting the elapsed time is incremented, and the incremented variable C is stored in the RAM 103 (S320). The initial value of variable C is zero.
次に、S315で検出された入力タイミングからの経過時間が開始操作のL2(以下、単に「S_L2」と言う。)以上であるか否かが判断される(S330)。S330では、S315で検出された入力タイミングからの経過時間がS_L2以上であるか否かは、RAM103に記憶された変数Cに基づき判断される。経過時間がS_L2以上ではない場合(S330:No)、処理はS320に戻る。経過時間がS_L2以上である場合(S330:Yes)、開始操作の識別ウィンドウ(以下、「ウィンドウP」と言う。)が設定され、設定されたウィンドウPはRAM103に記憶される(S335)。次に、取得順序が新しい順に所定個の検出データが取得され、取得された検出データはRAM103に記憶される(S340)。ウィンドウPの幅(L1+L2)と、取得処理における検出データの取得間隔Jとによって規定される。図4のように、ウィンドウPの幅が140msecであり、取得間隔Jが1msecである場合、S340において140個の検出データが取得される。
Next, it is determined whether the elapsed time from the input timing detected in S315 is equal to or longer than the start operation L2 (hereinafter simply referred to as “S_L2”) (S330). In S330, whether or not the elapsed time from the input timing detected in S315 is equal to or longer than S_L2 is determined based on the variable C stored in the
次に、S340で取得された検出データが加工され、加工された検出データはRAM103に記憶される(S345)。S345の処理は、S155と同様であり、S340で取得された検出データに基づき、ウィンドウPの期間140msecを5等分した28msec期間毎の平均値が5個得られる。次に、学習データ記憶エリア384が参照され、S345で加工された検出データと、開始操作の学習データとが比較される(S350)。次に、S350での比較結果に基づき、S315で検出された入力操作が開始操作であるか否かが判断される(S355)。いずれかの開始操作の学習データと、S345で加工された検出データとの差が所定値未満である場合に、開始操作が実行されたと判断される。S355における所定値は、同一の操作が実行された場合の検出データのバラツキと、他の操作が実行された場合の検出データ間の差とを含む条件を考慮して適宜定められ、フラッシュメモリ38に記憶されている。
Next, the detection data acquired in S340 is processed, and the processed detection data is stored in the RAM 103 (S345). The process of S345 is the same as S155, and based on the detection data acquired in S340, five average values are obtained for each 28 msec period obtained by dividing the
S315で検出された入力操作が開始操作である場合(S355:Yes)、S315で検出された入力操作に対応する割当データがRAM103に記憶される(S360)。S315で検出された入力操作に対応する割当データは、S345で加工された検出データとの差が所定値未満である開始操作の学習データに含まれる割当データである。次に、後述する複合処理が実行される(S365)。 When the input operation detected in S315 is a start operation (S355: Yes), allocation data corresponding to the input operation detected in S315 is stored in the RAM 103 (S360). The allocation data corresponding to the input operation detected in S315 is allocation data included in the learning data of the start operation whose difference from the detection data processed in S345 is less than a predetermined value. Next, a composite process described later is executed (S365).
S315で検出された入力操作がいずれの開始操作の学習データにも該当しない場合(S355:No)、S315で検出された入力操作が通常操作であるか否かを判断するための処理が実行される。具体的には、まず、変数Cがインクリメントされ、インクリメントされた変数CはRAM103に記憶される(S370)。本実施形態では、通常操作のL2(以下、単に「N_L2」と言う。)には、S_L2よりも大きい値が設定されているため、S370及びS375の処理が実行される。次に、S315で検出された入力タイミングからの経過時間がN_L2以上であるか否かが判断される(S375)。S375では、RAM103に記憶された変数Cに基づき判断される。
When the input operation detected in S315 does not correspond to the learning data of any start operation (S355: No), a process for determining whether or not the input operation detected in S315 is a normal operation is executed. The Specifically, first, the variable C is incremented, and the incremented variable C is stored in the RAM 103 (S370). In the present embodiment, since L2 (hereinafter simply referred to as “N_L2”) for normal operation is set to a value larger than S_L2, the processes of S370 and S375 are executed. Next, it is determined whether the elapsed time from the input timing detected in S315 is N_L2 or more (S375). In S375, the determination is made based on the variable C stored in the
経過時間がN_L2以上ではない場合(S375:No)、処理はS370に戻る。経過時間がN_L2以上である場合(S375:Yes)、通常操作の識別ウィンドウ(以下、「ウィンドウQ」と言う。)が設定され、設定されたウィンドウQはRAM103に記憶される(S385)。次に、取得順序が新しい順に所定個の検出データが取得され、取得された検出データはRAM103に記憶される(S390)。S390における所定個は、ウィンドウQの幅Aと、取得処理における検出データの取得間隔Jとによって規定される。ウィンドウQの幅Aが160msecであり、取得間隔が1msecである場合、S390において取得順序が新しい順に160個の検出データが取得される。 If the elapsed time is not N_L2 or more (S375: No), the process returns to S370. When the elapsed time is N_L2 or more (S375: Yes), a normal operation identification window (hereinafter referred to as “window Q”) is set, and the set window Q is stored in the RAM 103 (S385). Next, a predetermined number of detection data items are acquired in the order from the newest acquisition order, and the acquired detection data items are stored in the RAM 103 (S390). The predetermined number in S390 is defined by the width A of the window Q and the detection data acquisition interval J in the acquisition process. When the width A of the window Q is 160 msec and the acquisition interval is 1 msec, 160 pieces of detection data are acquired in the order from the new acquisition order in S390.
次に、S390で取得された検出データが加工され、加工された検出データはRAM103に記憶される(S395)。S395の処理は、S155と同様であり、S390で取得された検出データに基づき、5つの平均値が算出される。次に、学習データ記憶エリア384が参照され、S395で加工された検出データと、通常操作の学習データとが比較される(S400)。次に、S400での比較結果に基づき、S315で検出された入力操作が通常操作であるか否かが判断される(S405)。いずれかの通常操作の学習データと、S395で加工された検出データとの差が所定値未満である場合に、通常操作が実行されたと判断される。
Next, the detection data acquired in S390 is processed, and the processed detection data is stored in the RAM 103 (S395). The process of S395 is the same as that of S155, and five average values are calculated based on the detection data acquired in S390. Next, the learning
S315で検出された入力操作が通常操作である場合(S405:Yes)、S315で検出された入力操作に対応する入力データが決定され、決定された入力データはRAM103に記憶される(S410)。S410で決定される入力データは、S395で加工された検出データとの差が所定値未満である学習データに含まれる割当データである。具体例2では、図14のt1タイミングでAキーが通常操作された場合の入力タイミングが検出され(S315:Yes)、検出データの特徴量(平均値)と、通常操作の学習データとの比較結果に基づき、入力データとして「a」が決定される(S410)。次に、アンテナ106を介して、S410で決定された入力データがPC等の外部装置(図示せず)に送信される(S415)。
When the input operation detected in S315 is a normal operation (S405: Yes), input data corresponding to the input operation detected in S315 is determined, and the determined input data is stored in the RAM 103 (S410). The input data determined in S410 is allocation data included in the learning data whose difference from the detection data processed in S395 is less than a predetermined value. In the second specific example, the input timing when the A key is normally operated at the timing t1 in FIG. 14 is detected (S315: Yes), and the feature amount (average value) of the detected data is compared with the learning data of the normal operation. Based on the result, “a” is determined as input data (S410). Next, the input data determined in S410 is transmitted via the
S315で検出された入力操作がいずれの通常操作の学習データにも該当しない場合(S405:No)、又はS415の次に、データ決定装置4の電源がOFFにされていない場合には(S420:No)、処理はS305に戻る。データ決定装置4の電源がOFFにされた場合には(S420:Yes)、入力モード処理(メイン処理)は終了する。 When the input operation detected in S315 does not correspond to any normal operation learning data (S405: No), or after S415, the power of the data determination device 4 is not turned off (S420: No), the process returns to S305. When the power of the data determination device 4 is turned off (S420: Yes), the input mode process (main process) ends.
具他例2では、図14のt2タイミングで、「Shiftキー」の開始操作の入力タイミングが検出される(S315:Yes)。この場合、S355において開始操作であると判断され(S355:Yes)、加工された検出データに対応する割当データ「Shift」がRAM103に記憶される(S360)。S360では、S345で加工された検出データとの差が所定値未満である学習データに含まれる割当データが、RAM103に記憶される。
In concrete example 2, the input timing of the start operation of the “Shift key” is detected at the timing t2 in FIG. 14 (S315: Yes). In this case, it is determined in S355 that the operation is a start operation (S355: Yes), and the allocation data “Shift” corresponding to the processed detection data is stored in the RAM 103 (S360). In S360, allocation data included in the learning data whose difference from the detection data processed in S345 is less than a predetermined value is stored in the
次に、複合処理が実行される(S365)。複合処理は、継続操作期間中に実行される。複合処理では、組合せ操作に対応する入力データを決定するための処理が実行される。図15を参照して複合処理を説明する。図15のように、まず、取得順序が新しい順に所定個の検出データが取得され、取得された検出データはRAM103に記憶される(S500)。S500での所定個は、S390と同様である。次に、データ決定装置4の電源がOFFにされた場合には(S505:Yes)、複合処理(メイン処理)は終了する。データ決定装置4の電源がOFFにされていない場合には(S505:No)、S500で取得された検出データに入力判断ウィンドウが設定され、設定された入力判断ウィンドウはRAM103に記憶される(S510)。S510の処理は、S140と同様である。 Next, a composite process is executed (S365). The composite process is executed during the continuous operation period. In the composite process, a process for determining input data corresponding to the combination operation is executed. The composite process will be described with reference to FIG. As shown in FIG. 15, first, a predetermined number of detection data is acquired in the order of new acquisition order, and the acquired detection data is stored in the RAM 103 (S500). The predetermined number in S500 is the same as S390. Next, when the power of the data determination device 4 is turned off (S505: Yes), the composite process (main process) ends. If the power of the data determination device 4 is not turned off (S505: No), an input determination window is set in the detection data acquired in S500, and the set input determination window is stored in the RAM 103 (S510). ). The process of S510 is the same as S140.
次に、入力判断ウィンドウ内の検出データに基づき、入力操作が実行されたか否かが判断される(S515)。S515の処理は、S145と同様である。入力操作が実行されていない場合(S515:No)、処理はS500に戻る。入力操作が実行された場合(S515:Yes)、S500で取得された検出データが図3のRAM103から読み出され(S520)、読み出された検出データが加工される(S525)。S525の処理は、S155と同様であり、S520で取得された検出データに基づき、5つの平均値が算出される。
Next, it is determined whether an input operation has been executed based on the detection data in the input determination window (S515). The process of S515 is the same as that of S145. If the input operation has not been executed (S515: No), the process returns to S500. When the input operation is executed (S515: Yes), the detection data acquired in S500 is read from the
次に、学習データ記憶エリア384が参照され、S525で加工された検出データと、通常操作及び解除操作の学習データとが比較される(S530)。次に、S405と同様に、S515で検出された入力操作が通常操作であるか否かが判断される(S535)。S515で検出された入力操作が通常操作である場合(S535:Yes)、S315から開始された継続操作と、S515で検出された通常操作とが組み合わされた組合せ操作が、組合せ学習データ記憶エリア384に記憶されているか否かが判断される(S550)。組合せ学習データ記憶エリア385に記憶されている組合せ操作を、「有効組合せ」と言う。組合せ操作が、有効組合せではない場合(S550:No)、処理はS500に戻る。この場合、組合せ操作に対応する入力データは決定されない。具体例2では、図14のように、「Shiftキー」の継続操作期間中であるt3タイミングで、「Lキー」の通常操作の入力タイミングが検出され(S535:Yes)、有効組合せであると判断される(S550:Yes)。この場合、組合せ操作「Shift+L」と一致する組合せ学習データに含まれる割当データである大文字のLが、入力データとして決定される(S555)。決定された入力データはRAM103に記憶される。次に、アンテナ106を介して、S555で決定された入力データがPC等の外部装置(図示せず)に送信される(S560)。次に、処理はS500に戻る。
Next, the learning
S535において、S515で検出された入力操作がいずれの通常操作の学習データにも該当しない場合(S535:No)、S515で検出された入力操作が解除操作であるか否かが判断される(S540)。解除操作の学習データと、S525で加工された検出データとの差が所定値未満である場合に、解除操作が実行されたと判断される。S540で検出される解除操作は、図13のS315で検出された開始操作に対応する操作である。S515で検出された入力操作がS315で検出された開始操作に対応する解除操作に該当しない場合(S540:No)、処理はS500に戻る。S515で検出された入力操作が解除操作である場合(S540:Yes)、複合処理は終了し、処理は図13の入力モード処理に戻る。具体例2では、図14のt5タイミングで、「Shiftキー」の解除操作の入力タイミングが検出され(S515:Yes)、S540において解除操作が実行されたと判断される(S535:No,S540:Yes)。 In S535, when the input operation detected in S515 does not correspond to any normal operation learning data (S535: No), it is determined whether or not the input operation detected in S515 is a release operation (S540). ). When the difference between the learning data of the release operation and the detection data processed in S525 is less than a predetermined value, it is determined that the release operation has been executed. The release operation detected in S540 is an operation corresponding to the start operation detected in S315 of FIG. When the input operation detected in S515 does not correspond to the release operation corresponding to the start operation detected in S315 (S540: No), the process returns to S500. When the input operation detected in S515 is a release operation (S540: Yes), the composite process ends, and the process returns to the input mode process of FIG. In the second specific example, the input timing of the release operation of the “Shift key” is detected at timing t5 in FIG. 14 (S515: Yes), and it is determined that the release operation has been executed in S540 (S535: No, S540: Yes). ).
以上のように、入力装置1は、ユーザの手の動きを検出して入力データを決定する。図11のS15は、本発明の出力工程に相当し、S15において、検出データをデータ決定装置4に出力するCPU41は、本発明の出力手段として機能する。図12のS160は、本発明の記憶制御工程に相当し、S160の処理を実行するCPU101は、本発明の記憶制御手段として機能する。組合せ学習データを含む学習データを記憶するフラッシュメモリ38は本発明の記憶手段に相当する。図13のS410及び図15のS555は、本発明の決定工程に相当し、S410及びS555の処理を実行するCPU101は、本発明の決定手段として機能する。S315及びS515で入力タイミングを検出するCPU101は、本発明のタイミング検出手段として機能する。
As described above, the
入力装置1によれば、検出データに基づき、通常操作と、開始操作と、解除操作とを的確に区別することができる。すなわち、入力装置1は、継続操作が通常操作と区別されなかったり、継続操作の開始操作と解除操作とが2つの異なる通常操作であると誤認識されたりことを回避することができる。したがって、入力装置1は、複数の操作状態が組み合わされた入力操作が実行される場合であっても、操作状態に応じて入力データを的確に決定することができる。すなわち、入力装置1は、検出データに基づき、どの仮想キーがどの操作状態で操作されたかを判別することができる。さらに、入力装置1は、検出データと、組合せ学習データとに基づき、組合せ操作が実行された場合の入力データを的確に決定することができる。例えば、上記具体例2のように、同じ通常操作(例えば、「A」の打鍵)が実行された場合でも、継続操作期間中に実行されたか否かに応じて、異なる入力データ(例えば、小文字の「A」と大文字の「A」)を決定することができる。
According to the
また、入力装置1は、操作状態毎に識別ウィンドウの幅が適宜定められることによって、入力データの決定精度を向上させることができる。入力装置1は、メイン処理のS315及びS515において入力タイミングが検出された場合に、決定処理を実行する。このため、入力装置1は、入力タイミングが検出されたか否かによらず決定処理が実行される場合に比べ、入力装置1で実行される処理の負荷を軽減させることができる。入力装置1は、操作状態に応じて、識別ウィンドウの幅、及び識別ウィンドウと入力判断ウィンドウとの対応が的確に設定されるので、操作状態によらずウィンドウの条件が設定される場合に比べ、入力データの決定精度を向上させることができる。
Further, the
なお、本発明は上記の実施の形態に限定されるものではなく、種々の変更が可能である。例えば、次の(a)から(e)の変形を適宜加えてもよい。 In addition, this invention is not limited to said embodiment, A various change is possible. For example, the following modifications (a) to (e) may be added as appropriate.
(a)入力装置1の構成は適宜変更可能である。例えば、入力装置1が備えるセンサの種類と、センサの取り付け位置と、センサの個数とは適宜変更可能である。より具体的には、入力装置は、センサとして、加速度センサを、各指の指先と、各指の第3関節とに設置してもよい。また例えば、入力装置1は、データ収集装置2と、データ収集装置3と、データ決定装置4とは別体であったが、これに限定されない。例えば、データ収集装置2と、データ収集装置3との少なくともいずれかが、データ決定装置4としての機能を有していてもよい。また例えば、データ収集装置2及びデータ収集装置3と、データ決定装置4とは、無線で接続されていたが、有線で接続されていてもよい。
(A) The configuration of the
(b)上記実施形態では、仮想的な操作部材として、仮想キーボードのキーが想定されていたが、他の仮想的な操作部材が想定されてもよい。例えば、以下の(b−1)から(b−3)に例示する仮想的な操作部材が想定されてもよい。 (B) In the above embodiment, a virtual keyboard key is assumed as a virtual operation member, but other virtual operation members may be assumed. For example, virtual operation members exemplified in the following (b-1) to (b-3) may be assumed.
(b−1)仮想的な操作部材として、マウスが備えるボタン及びマウス本体が用いられてもよい。この場合の操作状態は、例えば、ボタンのクリック操作と、ダブルクリック操作と、継続操作とが挙げられる。また、操作状態として、マウス本体の移動操作が挙げられる。組合せ操作としては、例えば、ボタンを継続操作しながら、マウス本体を移動させるドラッグが挙げられる。 (B-1) As a virtual operation member, a button and a mouse body included in the mouse may be used. Examples of the operation state in this case include a button click operation, a double click operation, and a continuation operation. An operation state includes a movement operation of the mouse body. As the combination operation, for example, a drag for moving the mouse body while continuously operating the buttons can be cited.
(b−2)仮想的な操作部材として、ジョイスティックコントローラが備えるスティック及びボタンが用いられてもよい。この場合の操作状態は、例えば、ボタンの通常操作と、継続操作とに加え、スティックの傾倒操作が挙げられる。組合せ操作としては、例えば、ボタンを押下しながら、スティックを傾倒させる操作が挙げられる。 (B-2) Sticks and buttons included in the joystick controller may be used as virtual operation members. Examples of the operation state in this case include a stick tilting operation in addition to a normal button operation and a continuous operation. Examples of the combination operation include an operation of tilting the stick while pressing a button.
(b−3)仮想的な操作部材として、タッチパネルが用いられてもよい。この場合の操作は、例えば、タッチパネルの通常操作と、継続操作とが挙げられる。 (B-3) A touch panel may be used as a virtual operation member. Examples of the operation in this case include a normal operation of the touch panel and a continuous operation.
(c)入力装置で実行される各種処理は、適宜変更可能である。例えば、次の(c−1)から(c−5)の変形が加えられてもよい。 (C) Various processes executed by the input device can be changed as appropriate. For example, the following modifications (c-1) to (c-5) may be added.
(c−1)例えば、図13の入力モード処理において、次のような手順で入力データが決定されてもよい。S340で所定個(例えば、100個)の検出データが取得される。S345で、S340で取得された検出データの、特徴量が算出される。特徴量としては、例えば、分散値と、振幅とがあげられる。S350では、S345で算出された特徴量と学習データとが比較されて、検出データに対応する入力データが決定される。この場合の学習データは、予め割当データと対応付けられた特徴量である。また例えば、上記実施形態の入力システムは、各検出条件の検出データについて、検出パターンのそれぞれと、比較値とを比較して入力データを決定していたが、特定の検出条件の検出データと、学習データとを比較して入力データを決定してもよい。また、例えば、S340で取得された検出データと学習データとが比較されて、検出データに対応する入力データが決定されてもよい。 (C-1) For example, in the input mode process of FIG. 13, the input data may be determined by the following procedure. In S340, a predetermined number (eg, 100) of detection data is acquired. In S345, the feature amount of the detection data acquired in S340 is calculated. Examples of the feature amount include a variance value and an amplitude. In S350, the feature amount calculated in S345 is compared with the learning data, and input data corresponding to the detection data is determined. The learning data in this case is a feature amount previously associated with the allocation data. Further, for example, the input system of the above embodiment has determined the input data by comparing each of the detection patterns with the comparison value for the detection data of each detection condition, but the detection data of a specific detection condition, The input data may be determined by comparing with the learning data. In addition, for example, the detection data acquired in S340 and the learning data may be compared to determine input data corresponding to the detection data.
(c−2)メイン処理の入力モード時に参照される学習データ及び組合せ学習データは、他の記憶メディアから取得されてもよい。他の記憶メディアとしては、例えば、CD−ROMと、メモリカードとが挙げられる。 (C-2) The learning data and combination learning data referred to in the input mode of the main process may be acquired from another storage medium. Examples of other storage media include a CD-ROM and a memory card.
(c−3)入力タイミングを検出する処理に用いる検出データは、入力操作が検出されるデータであればよく、適宜変更可能である。例えば、入力操作をした指を含む側の手の検出データに基づき、入力タイミングが検出されてもよい。この場合、例えば、入力操作をした指は、検出データの経時変化に基づき特定されればよい。また例えば、全検出条件の検出データに基づき、入力タイミングが検出されてもよい。一般に、入力操作を行った指の検出データが最も変化するため、入力操作を行った指を含む検出データが、入力タイミングを検出する処理に用いる検出データとして用いられることが好ましい。また例えば、センサとして、加速度センサ以外のセンサが用いられる場合には、センサから得られたデータに基づき算出された加速度を用いて入力タイミングが検出されてもよい。 (C-3) The detection data used for the process of detecting the input timing may be any data as long as the input operation is detected, and can be changed as appropriate. For example, the input timing may be detected based on detection data of the hand on the side including the finger that has performed the input operation. In this case, for example, the finger that has performed the input operation may be specified based on the temporal change of the detection data. For example, the input timing may be detected based on the detection data of all detection conditions. In general, detection data of a finger that has performed an input operation changes most. Therefore, detection data that includes a finger that has performed an input operation is preferably used as detection data that is used for processing for detecting input timing. For example, when a sensor other than an acceleration sensor is used as the sensor, the input timing may be detected using acceleration calculated based on data obtained from the sensor.
(c−4)入力タイミングの検出基準は適宜変更可能である。例えば、検出データが所定値(例えば、1500mg)以上になったか否かを検出基準とされてもよい。この場合の所定値は、入力操作が実行された場合の検出データの値と、入力操作が実行されていない場合の検出データの値とを考慮された値であることが好ましい。また例えば、極大値があるか否かを検出基準とされてもよい。極大値は公知の方法で検出されればよい。 (C-4) The input timing detection criteria can be changed as appropriate. For example, the detection reference may be whether or not the detection data has reached a predetermined value (for example, 1500 mg) or more. The predetermined value in this case is preferably a value that takes into account the value of the detection data when the input operation is executed and the value of the detection data when the input operation is not executed. Further, for example, whether or not there is a maximum value may be used as a detection reference. The maximum value may be detected by a known method.
(c−5)入力タイミングが検出されたか否かによらず、検出データ(特徴量)と、学習データとが比較され、検出データに対応する入力データが決定されてもよい。 (C-5) Regardless of whether or not the input timing is detected, the detection data (feature value) may be compared with the learning data to determine the input data corresponding to the detection data.
(e)メイン処理において参照される各種設定値は、適宜変更可能である。例えば、識別ウィンドウの幅を規定するL1及びL2は、操作状態によらず同じ値が設定されてもよい。上記実施形態の学習データ及び組合せ学習データは、仮想的な操作部材と、想定される操作状態と、センサの種類とに応じて適宜変更可能である。例えば、上記実施形態では、継続操作と、通常操作とが異なる手で実行される場合が想定されていたが、両操作が同じ手で実行される場合が想定されてもよい。また例えば、キーボードの「Ctrl+Alt+Delete」のように、同じ手で複数の継続操作が実行される場合が想定されてもよい。この場合は、各操作毎に学習データが記憶されていれば、上記実施形態と同様に検出データに基づき入力操作の種類を特定可能である。具体的には、特定の2つ以上のキーを同時に打鍵された操作が1つの操作として学習、識別されればよい。前述の例では、「Ctrl+Alt」が同時に打鍵された操作が1つの継続操作として学習され、Deleteが通常操作として学習される。このようにすれば、上記実施形態と同様の処理によって「Ctrl+Alt+Delete」に対応する入力データを決定可能である。具体的には、特定の2つ以上のキーが同時に打鍵された操作が1つの操作として学習、識別されればよい。前述の例では、「Ctrl+Alt」が同じ期間に打鍵された操作が1つの継続操作として学習され、Deleteが打鍵される操作が通常操作として学習されればよい。このようにすれば、上記実施形態と同様の処理によって「Ctrl+Alt+Delete」に対応する入力データを決定可能である。 (E) Various setting values referred to in the main process can be changed as appropriate. For example, the same value may be set for L1 and L2 that define the width of the identification window regardless of the operation state. The learning data and the combination learning data of the above embodiment can be appropriately changed according to the virtual operation member, the assumed operation state, and the type of sensor. For example, in the above embodiment, it is assumed that the continuation operation and the normal operation are executed with different hands, but a case where both the operations are executed with the same hand may be assumed. For example, a case where a plurality of continuous operations are executed with the same hand, such as “Ctrl + Alt + Delete” on the keyboard, may be assumed. In this case, if learning data is stored for each operation, the type of input operation can be specified based on the detection data as in the above embodiment. Specifically, an operation in which two or more specific keys are simultaneously pressed may be learned and identified as one operation. In the above-described example, an operation in which “Ctrl + Alt” is simultaneously pressed is learned as one continuous operation, and Delete is learned as a normal operation. In this way, input data corresponding to “Ctrl + Alt + Delete” can be determined by the same processing as in the above embodiment. Specifically, an operation in which two or more specific keys are simultaneously pressed may be learned and identified as one operation. In the above example, an operation in which “Ctrl + Alt” is keyed in the same period is learned as one continuous operation, and an operation in which Delete is keyed is learned as a normal operation. In this way, input data corresponding to “Ctrl + Alt + Delete” can be determined by the same processing as in the above embodiment.
1 入力装置
2,3 データ収集装置
4 データ決定装置
21 センサ
22 制御部
38 フラッシュメモリ
41,101 CPU
42,102 ROM
43,103 RAM
45 A/Dコンバータ
47,106 アンテナ
383 ウィンドウ情報記憶エリア
384 学習データ記憶エリア
385 組合せ学習データ記憶エリア
DESCRIPTION OF
42,102 ROM
43,103 RAM
45 A /
Claims (6)
前記操作部材の操作が継続される時間が閾値以下である操作である通常操作と、前記操作部材の操作が継続される時間が閾値よりも長い操作である継続操作を開始する開始操作と、前記継続操作を止める解除操作とを含む操作状態毎に、前記手が前記操作部材をいずれかの前記操作状態で操作したタイミングである入力タイミングを含む前記取得期間であって、第1所定長さの前記取得期間内の前記検出データと、当該操作部材に割り当てられたデータである割当データとを対応付けて学習データとして記憶手段に記憶させる記憶制御手段と、
前記出力手段から出力された前記取得期間内の前記検出データと、前記記憶手段に記憶された前記操作状態毎の前記学習データとを比較して、当該検出データに対応する前記割当データを、前記入力データとして決定する決定手段とを備えたことを特徴とする入力装置。 A sensor that is attached to the hand and generates an electrical signal corresponding to the movement of the hand; and an output unit that outputs data including the electrical signal generated by the sensor as detection data, and is output by the output unit. An input device that determines input data according to the movement of the hand that operates one or more virtual operation members based on the detection data,
A normal operation that is an operation in which the operation of the operation member is continued below a threshold; a start operation that starts a continuous operation that is an operation in which the operation of the operation member is continued longer than the threshold; and For each operation state including a release operation for stopping a continuous operation, the acquisition period includes an input timing that is a timing at which the hand operates the operation member in any of the operation states, and has a first predetermined length. Storage control means for associating the detection data within the acquisition period with assignment data, which is data assigned to the operation member, and storing it in a storage means as learning data;
The detection data output from the output means within the acquisition period is compared with the learning data for each operation state stored in the storage means, and the allocation data corresponding to the detection data is An input device comprising: determining means for determining input data.
前記記憶手段は、前記期間検出手段によって検出された前記継続操作期間中に、前記通常操作が実行された場合の操作である組合せ操作に対応する前記学習データを組合せ学習データとして記憶し、
前記決定手段は、前記期間検出手段によって検出された前記継続操作期間中、前記出力手段から出力された前記検出データと、前記記憶手段に記憶された前記組合せ学習データとを比較して、当該検出データに対応する前記組合せ学習データが前記記憶手段に記憶されている場合に、当該検出データに対応する前記入力データを決定することを特徴とする請求項1に記載の入力装置。 The detection data output from the output means within the acquisition period is compared with the learning data stored in the storage means until the release operation is detected after the start operation is detected. Period detecting means for detecting a period as the continuous operation period;
The storage means stores the learning data corresponding to a combination operation that is an operation when the normal operation is performed during the continuous operation period detected by the period detection means as combination learning data.
The determination unit compares the detection data output from the output unit with the combination learning data stored in the storage unit during the continuous operation period detected by the period detection unit, and performs the detection. The input device according to claim 1, wherein when the combination learning data corresponding to data is stored in the storage unit, the input data corresponding to the detection data is determined.
前記決定手段は、前記タイミング検出手段によって前記入力タイミングが検出された場合に、前記入力データを決定する処理を実行し、
前記取得期間の開始から前記入力タイミングまでの期間をL1とし、前記入力タイミングから前記取得期間の終わりまでの期間をL2とし、前記通常操作を連続して実行する場合の最小時間間隔をT1とし、前記組合せ操作の前記開始操作が検出されてから前記解除操作が検出されるまでの最小時間間隔をT2とし、前記第2所定長さをAとした場合に、
前記開始操作の前記第1所定長さは、L1<T1及びL2<T2及びA<L1+L2を満たし、
前記解除操作の前記第1所定長さは、L1<T2及びL2<T1及びA<L1+L2を満たし、
前記通常操作の前記第1所定長さは、L1<T1及びL2<T1及びA<L1+L2を満たすことを特徴とする請求項3に記載の入力装置。 Timing detection means for detecting the input timing based on a change in the detection data within a period of the second predetermined length output by the output means;
The determining unit executes a process of determining the input data when the input timing is detected by the timing detecting unit;
The period from the start of the acquisition period to the input timing is L1, the period from the input timing to the end of the acquisition period is L2, and the minimum time interval when the normal operation is continuously executed is T1, When the minimum time interval from the detection of the start operation of the combination operation to the detection of the release operation is T2, and the second predetermined length is A,
The first predetermined length of the start operation satisfies L1 <T1 and L2 <T2 and A <L1 + L2.
The first predetermined length of the release operation satisfies L1 <T2 and L2 <T1 and A <L1 + L2.
The input device according to claim 3, wherein the first predetermined length of the normal operation satisfies L1 <T1 and L2 <T1 and A <L1 + L2.
前記操作部材の操作が継続される時間が閾値以下である操作である通常操作と、前記操作部材の操作が継続される時間が閾値よりも長い操作である継続操作を開始する開始操作と、前記継続操作を止める解除操作とを含む操作状態毎に、前記手が前記操作部材をいずれかの前記操作状態で操作したタイミングである入力タイミングを含む取得期間であって、第1所定長さの前記取得期間内の前記検出データと、当該操作部材に割り当てられたデータである割当データとを対応付けて学習データとして記憶手段に記憶させる記憶制御工程と、
前記出力工程から出力された前記取得期間内の前記検出データと、前記記憶手段に記憶された記憶された前記操作状態毎の前記学習データとを比較して、当該検出データに対応する前記割当データを、前記入力データとして決定する決定工程とを備えたことを特徴とする入力方法。 An output step of outputting, as detection data, data including the electrical signal generated by a sensor attached to the hand and generating an electrical signal corresponding to the movement of the hand, the detection data output in the output step; An input method for determining input data corresponding to the movement of the hand operating one or more virtual operation members,
A normal operation that is an operation in which the operation of the operation member is continued below a threshold; a start operation that starts a continuous operation that is an operation in which the operation of the operation member is continued longer than the threshold; and An acquisition period including an input timing that is a timing at which the hand operates the operation member in any of the operation states for each operation state including a release operation for stopping the continuous operation, and the first predetermined length of the acquisition period A storage control step of associating the detection data within the acquisition period with allocation data that is data allocated to the operation member and storing it in the storage means as learning data;
The allocation data corresponding to the detection data by comparing the detection data output from the output step within the acquisition period and the learning data stored for each operation state stored in the storage means And a determination step of determining the input data as the input data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009271213A JP2011113439A (en) | 2009-11-30 | 2009-11-30 | Input device, input method, and input program |
PCT/JP2010/071237 WO2011065526A1 (en) | 2009-11-30 | 2010-11-29 | Input device, input method, and input program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009271213A JP2011113439A (en) | 2009-11-30 | 2009-11-30 | Input device, input method, and input program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011113439A true JP2011113439A (en) | 2011-06-09 |
Family
ID=44066630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009271213A Pending JP2011113439A (en) | 2009-11-30 | 2009-11-30 | Input device, input method, and input program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2011113439A (en) |
WO (1) | WO2011065526A1 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0498410A (en) * | 1990-08-13 | 1992-03-31 | Oki Electric Ind Co Ltd | Keyboard device |
JPH0566873A (en) * | 1991-09-09 | 1993-03-19 | Mitsubishi Electric Corp | Key repeating input control system |
US6763320B2 (en) * | 2002-08-15 | 2004-07-13 | International Business Machines Corporation | Data input device for individuals with limited hand function |
-
2009
- 2009-11-30 JP JP2009271213A patent/JP2011113439A/en active Pending
-
2010
- 2010-11-29 WO PCT/JP2010/071237 patent/WO2011065526A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2011065526A1 (en) | 2011-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1845432B1 (en) | Portable electronic apparatus, user interface controlling method, and program | |
KR100920252B1 (en) | The mouse controlled by movements of finger | |
US9671893B2 (en) | Information processing device having touch screen with varying sensitivity regions | |
CN104049734B (en) | The method and apparatus for contacting display graphic user interface based on user | |
EP2975497B1 (en) | Terminal device, terminal device control method, and program | |
JP5204286B2 (en) | Electronic device and input method | |
EP2347321B1 (en) | Command by gesture interface | |
CN103294366B (en) | A kind of screen unlock method and electronic equipment | |
JP5166008B2 (en) | A device for entering text | |
US7088342B2 (en) | Input method and input device | |
KR20150068479A (en) | Adapting user interface based on handedness of use of mobile computing device | |
KR20150101213A (en) | Electronic device, wearable device and method for the input of the electronic device | |
JP2010271940A (en) | Apparatus and method for display control, and computer program | |
JP6144947B2 (en) | Vehicle control device | |
JP4671055B2 (en) | Tapping command processing system, electronic device operation system, and electronic device | |
KR101107422B1 (en) | A Portable Information Terminal with Touch Screen at the Front and the Rear Side | |
US8013287B2 (en) | Optical pointing device, optical pointing system, and method of operating the same | |
JP6127679B2 (en) | Operating device | |
TWI525524B (en) | Transmitter set for concurrent transmitting, transmitting method thereof, and touch sensitive system | |
JP2007336513A (en) | Patting command processing system, operating system for portable equipment, and portable equipment | |
CN108463788B (en) | Active pen and gesture detection method based on same | |
WO2011065526A1 (en) | Input device, input method, and input program | |
JP6000035B2 (en) | Information processing apparatus, information processing apparatus control method, control program, and recording medium | |
JP2011113437A (en) | Input device, input method, and input program | |
JP6695004B1 (en) | A terminal device that uses the detected intention of the user |