JP2011113439A - Input device, input method, and input program - Google Patents

Input device, input method, and input program Download PDF

Info

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
Application number
JP2009271213A
Other languages
Japanese (ja)
Inventor
Koji Hirose
功児 廣瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2009271213A priority Critical patent/JP2011113439A/en
Priority to PCT/JP2010/071237 priority patent/WO2011065526A1/en
Publication of JP2011113439A publication Critical patent/JP2011113439A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/014Hand-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

<P>PROBLEM TO BE SOLVED: To provide an input device, an input method, and an input program, for accurately determining input data in accordance with an operation state of a virtual operation member. <P>SOLUTION: In the input device for determining input data in accordance with movement of user's hands operating one or more virtual operation members, detection data within an acquisition period including input timing at which operation members have been operated by hands, and having a first prescribed length and assigned data are stored in a storage means as learning data in association with each other (S160) for each operation state including a normal operation wherein operation members are operated continuously for a time equal to or shorter than a threshold, a start operation of starting a continuous operation wherein operation members are operated continuously for a time longer than the threshold, and a release operation of stopping the continuous operation. Detection data within the acquisition period and learning data for each operation state, which is stored in the storage means, are compared with each other to determine assigned data corresponding to the detection data as input data (S210). <P>COPYRIGHT: (C)2011,JPO&INPIT

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, Patent Document 1 proposes a data input device (input device) capable of inputting information by hand gestures. In a conventional input device, detection data output within a predetermined period from a sensor attached to a user's finger is compared with learning data registered in advance, and input data corresponding to finger movement is determined. Similar to a normal keyboard, the input device determines input data different from the case where each key is pressed separately when detection data corresponding to the case where a plurality of specific keys are pressed simultaneously is acquired. . For example, when the Shift key and the a key are pressed at the same time, the input device determines a capital letter “A” as input data.

特表2006−503350号公報JP-T-2006-503350

しかしながら、従来の入力装置では、検出データに基づき仮想的なキーの操作状態を的確に把握できないという問題があった。より具体的には、従来の入力装置では、仮想的なキーを打鍵する操作(以下、「通常操作」と言う。)と、仮想的なキーを継続的に押し続ける操作(以下、「継続操作」と言う。)とが的確に区別されないことがあった。このため、従来の入力装置では、仮想的なキーの操作状態に応じた適切な入力データが決定されないという問題があった。   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 step 1, wherein the operation member is operated continuously An operation including a normal operation that is an operation that is less than or equal to a threshold, a start operation that starts a continuous operation in which the operation of the operation member is continued longer than the threshold, and a release operation that stops the continuous operation An acquisition period including an input timing that is a timing at which the hand operates the operation member in any one of the operation states for each state, and is within the acquisition period of a first predetermined length A storage control step of associating the detection data with allocation data, which is data allocated to the operation member, and storing it in the storage means as learning data, and the detection data within the acquisition period output from the output step And a determination step of comparing the learning data for each operation state stored in the storage means and determining the allocation data corresponding to the detection data as the input data. The input method of the second aspect can obtain the same operational effects as the input device of the first aspect.

第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の物理的構成を示す模式図である。2 is a schematic diagram showing a physical configuration of the input device 1. FIG. データ収集装置2の電気的構成を示すブロック図である。3 is a block diagram showing an electrical configuration of a data collection device 2. FIG. データ決定装置4の電気的構成を示すブロック図である。3 is a block diagram showing an electrical configuration of a data determination device 4. FIG. ウィンドウ情報記憶エリア383に記憶されているウィンドウ情報の説明図である。It is explanatory drawing of the window information memorize | stored in the window information storage area 383. FIG. 検出データパターン220に設定された識別ウィンドウ300と、入力判断ウィンドウ400との説明図である。It is explanatory drawing of the identification window 300 set to the detection data pattern 220, and the input determination window 400. FIG. 検出データパターン220に設定された入力判断ウィンドウ400の説明図である。It is explanatory drawing of the input judgment window 400 set to the detection data pattern 220. FIG. 通常操作が連続して実行された場合の検出データ232と、検出データ236とを含む検出データパターン231を例示する説明図である。It is explanatory drawing which illustrates the detection data pattern 231 containing the detection data 232 and detection data 236 when a normal operation is performed continuously. 組合せ操作の継続操作が実行された場合の検出データ243を含む検出データパターン240を例示する説明図である。It is explanatory drawing which illustrates the detection data pattern 240 containing the detection data 243 when the continuation operation of combination operation is performed. 学習データ記憶エリア384の説明図である。It is explanatory drawing of the learning data storage area 384. FIG. 組合せ学習データ記憶エリア385の説明図である。It is explanatory drawing of the combination learning data storage area 385. FIG. データ収集装置2及びデータ収集装置3で実行される検出処理のフローチャートである。5 is a flowchart of detection processing executed by the data collection device 2 and the data collection device 3. データ決定装置4で実行されるメイン処理のフローチャートである。4 is a flowchart of main processing executed by the data determination device 4. 図12のメイン処理で実行される入力モード処理のフローチャートである。It is a flowchart of the input mode process performed by the main process of FIG. 小文字のAと、大文字のK及びLとが順に入力される具体例2における、検出データパターン251(左手、小指、Z軸)と、検出データパターン252(右手、中指、Z軸)と、検出データパターン253(右手、薬指、Z軸)とを例示する説明図である。Detection data pattern 251 (left hand, little finger, Z axis), detection data pattern 252 (right hand, middle finger, Z axis) and detection in specific example 2 in which lowercase A and capital letters K and L are sequentially input It is explanatory drawing which illustrates the data pattern 253 (right hand, ring finger, Z-axis). 図13の入力モード処理において実行される複合処理のフローチャートである。It is a flowchart of the composite process performed in the input mode process of FIG.

以下、本発明を具現化した実施形態の入力装置1について、図面を参照して順に説明する。なお、これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成、各種処理のフローチャートなどは、それのみに限定する趣旨ではなく、単なる説明例である。   DESCRIPTION OF EMBODIMENTS Hereinafter, an input device 1 according to an embodiment embodying the present invention will be described in order with reference to the drawings. These drawings are used for explaining the technical features that can be adopted by the present invention, and the configuration of the apparatus and the flowcharts of various processes described are not intended to be limited to the drawings. This is just an illustrative example.

まず、図1を参照して、入力装置1の物理的構成について説明する。入力装置1は、仮想的な操作部材を操作するユーザの手の動きを検出して、入力データを決定する。本実施形態の入力装置1は、特に、仮想的なキーボードのキーを操作する手(指)の動作を検出し、その操作に対応するキーに基づき入力データを決定する。図1のように、入力装置1は、データ収集装置2と、データ収集装置3と、データ決定装置4とを備える。データ収集装置2は、ユーザの右手に取り付けられる。データ収集装置3は、ユーザの左手に取り付けられる。データ収集装置2と、データ収集装置3とはそれぞれ、データ決定装置4に検出データを送信する。データ決定装置4は、ユーザの確認可能な位置に配置され、データ収集装置2と、データ収集装置3とから送信された検出データに基づき、入力データを決定する。   First, the physical configuration of the input device 1 will be described with reference to FIG. The input device 1 determines the input data by detecting the movement of the user's hand operating the virtual operation member. In particular, the input device 1 according to the present embodiment detects an action of a hand (finger) operating a virtual keyboard key, and determines input data based on the key corresponding to the operation. As shown in FIG. 1, the input device 1 includes a data collection device 2, a data collection device 3, and a data determination device 4. The data collection device 2 is attached to the user's right hand. The data collection device 3 is attached to the left hand of the user. Each of the data collection device 2 and the data collection device 3 transmits detection data to the data determination device 4. The data determination device 4 is arranged at a position that can be confirmed by the user, and determines input data based on detection data transmitted from the data collection device 2 and the data collection device 3.

データ収集装置2と、データ収集装置3との物理的構成を説明する。データ収集装置2と、データ収集装置3との物理的構成は、基本的に同様である。データ収集装置2を例に、データ収集装置2と、データ収集装置3との物理的構成を説明する。図1のように、データ収集装置2は、手袋部23(データ収集装置3では、手袋部33)と、センサ21と、筐体22と、ハーネス24とを備える。以下、データ収集装置2が備える各部材について説明する。   A physical configuration of the data collection device 2 and the data collection device 3 will be described. The physical configurations of the data collection device 2 and the data collection device 3 are basically the same. Taking the data collection device 2 as an example, the physical configuration of the data collection device 2 and the data collection device 3 will be described. As shown in FIG. 1, the data collection device 2 includes a glove unit 23 (a glove unit 33 in the data collection device 3), a sensor 21, a housing 22, and a harness 24. Hereinafter, each member with which the data collection device 2 is provided is demonstrated.

手袋部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 glove part 23 is a glove for the right hand worn on the user's right hand. Five sensors 21 are provided corresponding to each finger of the hand to which the data collection device 2 is attached, and detects the movement of the finger to which the sensor 21 is attached. Each sensor 21 is attached to the fingertip portion of the surface on the back side of the glove part 23. The sensor 21 only needs to have a function of detecting movement of a hand, particularly a finger, and for example, either an acceleration sensor or a gyro sensor is used. The sensor 21 of this embodiment is an acceleration sensor. When the power of the data collection device 2 is turned on, the sensor 21 always outputs an electrical signal indicating the acceleration (G) of the finger to which the sensor 21 is attached for each detection direction (axis), as will be described later. (See FIG. 2). In the present embodiment, three directions (three axes) including an x-axis direction (x-axis), a y-axis direction (y-axis), and a z-axis direction (z-axis) in the orthogonal coordinate system are set as detection directions (axes). Has been.

筐体22は、直方体の形状を有し、手袋部23の甲側の表面の手首部分に取り付けられている。筐体22は、制御部25(図2参照)を収容する。ハーネス24は、センサ21と制御部25とを電気的に接続する。センサ21から出力された信号は、ハーネス24を介して制御部25に伝送される。   The housing 22 has a rectangular parallelepiped shape, and is attached to the wrist portion on the back surface of the glove part 23. The housing | casing 22 accommodates the control part 25 (refer FIG. 2). The harness 24 electrically connects the sensor 21 and the control unit 25. A signal output from the sensor 21 is transmitted to the control unit 25 via the harness 24.

次に、データ決定装置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 housing 36, a display unit 39, and an input unit 40. The housing 36 has a rectangular parallelepiped shape and houses a control unit 37 (see FIG. 3) described later. The display unit 39 is a liquid crystal display having a rectangular shape in plan view. The display unit 39 displays various information including the operation mode of the input device 1, input data, and instructions. The input unit 40 is a button used when the user sets the operation mode of the input device 1.

次に、入力装置1の電気的構成について説明する。データ収集装置2と、データ収集装置3との電気的構成は、同様である。データ収集装置2を例に、データ収集装置2と、データ収集装置3との電気的構成を説明する。   Next, the electrical configuration of the input device 1 will be described. The electrical configurations of the data collection device 2 and the data collection device 3 are the same. Taking the data collection device 2 as an example, the electrical configuration of the data collection device 2 and the data collection device 3 will be described.

図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 data collection device 2 includes a control unit 25 and a sensor 21. The control unit 25 includes a CPU 41, a ROM 42, a RAM 43, an A / D converter 45, an RF module 46, an antenna 47, and a bus 44. The CPU 41 is connected to each of the ROM 42 and the RAM 43 via the bus 44. Hereinafter, each structure with which the control part 25 is provided is demonstrated.

CPU41は、データ収集装置2の主制御を司り、ROM42のプログラム記憶エリア(図示せず)に記憶された各種プログラムに従って、入力データの決定に関わる各種演算及び処理を実行する。なお、プログラムはフレキシブルディスク等の外部記憶装置に記憶されていてもよい。   The CPU 41 is responsible for the main control of the data collection device 2 and executes various calculations and processes related to determination of input data according to various programs stored in a program storage area (not shown) of the ROM 42. The program may be stored in an external storage device such as a flexible disk.

ROM42は、図示しないが、プログラム記憶エリアと、設定記憶エリアを含む複数の記憶エリアを備える。プログラム記憶エリアには、検出プログラムを含む各種プログラムが記憶される。検出プログラムは、後述する検出処理を実行させるためのプログラムである。設定記憶エリアには、データ収集装置2の初期設定と、パラメータとが記憶される。RAM43は、任意に読み書き可能な記憶装置であり、CPU41の演算結果等を記憶する。   Although not shown, the ROM 42 includes a plurality of storage areas including a program storage area and a setting storage area. Various programs including a detection program are stored in the program storage area. The detection program is a program for executing detection processing described later. In the setting storage area, initial settings and parameters of the data collection device 2 are stored. The RAM 43 is an arbitrarily readable / writable storage device, and stores the calculation result of the CPU 41 and the like.

A/Dコンバータ45は、センサ21から出力される電気信号(アナログ信号)をデジタル信号に変換する。A/Dコンバータ45は、センサ21と、CPU41とに接続されている。アンテナ47は、データ収集装置2と外部装置との間でデータを送受信する。本実施形態では、アンテナ47は、例えば、検出データを無線でデータ決定装置4に送信する。RFモジュール46は、アンテナ47とCPU41との間に接続され、変調制御を司る。   The A / D converter 45 converts the electrical signal (analog signal) output from the sensor 21 into a digital signal. The A / D converter 45 is connected to the sensor 21 and the CPU 41. The antenna 47 transmits and receives data between the data collection device 2 and the external device. In this embodiment, the antenna 47 transmits detection data to the data determination apparatus 4 by radio | wireless, for example. The RF module 46 is connected between the antenna 47 and the CPU 41 and controls modulation.

次に、データ決定装置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 control unit 37 of the data determination device 4 includes a CPU 101, a ROM 102, a RAM 103, a flash memory 38, an RF module 105, an antenna 106, a display unit 39, and an input unit 40. . The CPU 101 is connected to the ROM 102, the RAM 103, the flash memory 38, and the bus 104. Hereinafter, each structure with which the data determination apparatus 4 is provided is demonstrated.

CPU101は、データ決定装置4の主制御を司り、ROM102のプログラム記憶エリア(図示せず)に記憶された各種プログラムに従って、入力データの決定に関わる各種演算及び処理を実行する。なお、プログラムはフレキシブルディスク等の外部記憶装置に記憶されていてもよい。   The CPU 101 manages the main control of the data determination device 4 and executes various operations and processes related to determination of input data according to various programs stored in a program storage area (not shown) of the ROM 102. The program may be stored in an external storage device such as a flexible disk.

ROM102は、図示しないが、プログラム記憶エリアを含む複数の記憶エリアを備える。プログラム記憶エリアには、メインプログラムを含む各種プログラムが記憶される。メインプログラムは、データ収集装置2及びデータ収集装置3から出力された検出データに基づき、入力データを決定するメイン処理を実行させるためのプログラムである。取得プログラムは、後述する取得処理を実行するためのプログラムである。RAM103は、CPU101が演算処理した演算結果等を記憶する。   Although not shown, the ROM 102 includes a plurality of storage areas including a program storage area. Various programs including the main program are stored in the program storage area. The main program is a program for executing main processing for determining input data based on the detection data output from the data collection device 2 and the data collection device 3. The acquisition program is a program for executing an acquisition process described later. The RAM 103 stores calculation results and the like calculated by the CPU 101.

フラッシュメモリ38は、検出データ記憶エリア381と、動作モード記憶エリア382と、ウィンドウ情報記憶エリア383と、学習データ記憶エリア384と、組合せ学習データ記憶エリア385と、その他の情報記憶エリア386とを含む複数の記憶エリアを備える。検出データ記憶エリア381には、センサ21から出力された電気信号と、その電気信号に対して付与されたタイムスタンプとが、検出データとして記憶される。検出データに含まれるタイムスタンプは、センサ21から出力された電気信号が制御部25において取得された際の、タイムスタンプクロック値を示す。検出データは、センサ21が取り付けられている手及び指の種類と、検出方向(軸)とを組み合わせた検出条件毎に記憶される。動作モード記憶エリア382には、入力装置1の動作モードが記憶されている。本実施形態では、動作モードとして、学習モードと、入力モードとのいずれかが設定可能である。動作モードに学習モードが設定されている場合、学習データ記憶エリア384を更新する処理が実行される。動作モードに入力モードが設定されている場合、検出データに基づき、入力データを決定する処理が実行される。ウィンドウ情報記憶エリア383には、後述するメイン処理が実行される際のウィンドウを設定する条件が記憶されている。ウィンドウ情報記憶エリア383の詳細は後述する。学習データ記憶エリア384には、学習データが記憶されている。組合せ学習データ記憶エリア385には、組合せ学習データが記憶されている。学習データ及び組合せ学習データの詳細については後述する。その他の情報記憶エリア386には、メイン処理が実行される際に参照される条件などのその他の情報が記憶されている。   The flash memory 38 includes a detection data storage area 381, an operation mode storage area 382, a window information storage area 383, a learning data storage area 384, a combination learning data storage area 385, and other information storage areas 386. A plurality of storage areas are provided. In the detection data storage area 381, the electrical signal output from the sensor 21 and the time stamp given to the electrical signal are stored as detection data. The time stamp included in the detection data indicates a time stamp clock value when the electric signal output from the sensor 21 is acquired by the control unit 25. The detection data is stored for each detection condition in which the type of the hand and finger to which the sensor 21 is attached and the detection direction (axis) are combined. The operation mode storage area 382 stores the operation mode of the input device 1. In the present embodiment, either the learning mode or the input mode can be set as the operation mode. When the learning mode is set as the operation mode, processing for updating the learning data storage area 384 is executed. When the input mode is set as the operation mode, processing for determining the input data is executed based on the detection data. The window information storage area 383 stores a condition for setting a window when a main process described later is executed. Details of the window information storage area 383 will be described later. The learning data storage area 384 stores learning data. In the combination learning data storage area 385, combination learning data is stored. Details of the learning data and the combination learning data will be described later. The other information storage area 386 stores other information such as conditions that are referred to when the main process is executed.

アンテナ106は、データ決定装置4と外部装置との間で、無線でデータの送受信を行う。外部装置には、データ収集装置2と、データ収集装置3と、入力データの出力先となるPC等の外部装置とが含まれる。RFモジュール105は、CPU101とアンテナ106とに接続され、変復調制御を司る。表示部39は、CPU101と接続され、CPU101によって制御される。入力部40は、CPU101と接続されている。   The antenna 106 transmits and receives data wirelessly between the data determination device 4 and the external device. The external devices include a data collection device 2, a data collection device 3, and an external device such as a PC that is an output destination of input data. The RF module 105 is connected to the CPU 101 and the antenna 106 and manages modulation / demodulation control. The display unit 39 is connected to the CPU 101 and is controlled by the CPU 101. The input unit 40 is connected to the CPU 101.

次に、ウィンドウ情報記憶エリア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 information storage area 383 will be described with reference to FIGS. As shown in FIG. 4, window setting conditions are stored in the window information storage area 383 for each operation state. The window defines a detection data acquisition period set in a process of determining input data based on detection data acquired by the data determination device 4 over time in a main process described later. In the present embodiment, two types of windows, an input determination window 400 illustrated in FIG. 5 and an identification window 300, are set in the main process. The input determination window 400 defines a detection data acquisition period used for processing for detecting the input timing 221. As shown in FIG. 6, in this embodiment, when the difference between the maximum value and the minimum value of detection data in the input determination window 400 (shown by the arrow 226) is a predetermined value (for example, 1000 mg) or more, the input determination window The latest data acquisition time in 400 (the right end of the input determination window 400) is set as the input timing. The predetermined value is preferably determined in consideration of the change over time of the detection data when the input operation is executed and the change over time of the detection data when the input operation is not executed. The identification window 300 defines a detection data acquisition period (acquisition range) used for processing for determining input data. As shown in FIG. 5, the input timing 221 and the input determination window 400 are included in the range defined by the identification window 300.

本実施形態では、操作状態として、通常操作と、継続操作と、組合せ操作とが設定されている。通常操作とは、仮想的なキーを継続して押下する時間が閾値(例えば、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 input device 1 specifies the duration by detecting the start operation and the release operation. In addition, the said threshold value should just set suitably the value which distinguishes normal operation and continuation operation. When a virtual keyboard operation is detected as in the input device 1, the threshold value that defines the normal operation (keystroke) and the continuous operation is preferably set for each user because there are individual differences. Further, in the present embodiment, it is assumed that the key operation is performed with different hands for the continuation operation of the combination operation and the normal operation. In the present embodiment, the above operations are collectively referred to as an input operation.

一般に、識別ウィンドウの幅は、一定の範囲内であれば、幅が長いほど、すなわち、入力データを決定する処理に用いる検出データの数が多いほど、入力データの決定精度は高くなる。一方で、識別ウィンドウの幅が一定の範囲を超えた場合には、複数の入力操作に対応する検出データが同一の識別ウィンドウ内に含まれる可能性があり、このような場合には入力データの決定精度が悪化する。これに対し、図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 detection data 232 when the input operation is executed, the detection data 241 when the start operation is executed, and the detection data 242 when the release operation is executed. And the change patterns are different from each other. In particular, in the input timing 233 when the input operation is performed, the input timing 245 when the start operation is performed, and the input timing 246 when the release operation is performed, detection data before and after each input timing is detected. The time required to converge differs for each operation state.

このため、本実施形態では、通常操作と、開始操作と、解除操作とのそれぞれに識別ウィンドウ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 identification window 300 are defined for the normal operation, the start operation, and the release operation, respectively. As illustrated in FIG. 5, L1 represents a period from the start 222 of the identification window 300 to the input timing 221, and L2 represents a period from the input timing 221 to the end 223 of the identification window 300. L1 and L2 are preferably determined as follows. As shown in FIG. 7, the minimum time interval when the normal operation is continuously executed, that is, the minimum time interval between the input timing 233 and the input timing 234 detected when the normal operation is continuously executed. Is T1. As shown in FIG. 8, in the combination operation detection data 243, the minimum time interval from when the start operation input timing 245 is detected until the release operation input timing 246 is detected is T2. Let A be the width of the input determination window 400.

図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 input timing 224 outside the identification window 300 or fluctuations before and after the input timing 225. For example, in FIG. 7, it is more preferable that T1 ′ is used instead of T1 in the above relational expression so that the window used when detecting the input timing 234 does not include the fluctuation of the period 235. . If L1, L2, and A are set in this way, it is possible to more reliably avoid noise from being included in the identification window, so that the accuracy of determining the input timing can be further improved. it can. In the present embodiment, A is set to the same value of 25 msec regardless of the operation state. T1 and T2 are preferably set for each user because of individual differences, but may be set values common to a plurality of users. In this embodiment, T1 is 100 msec and T2 is 70 msec. As shown in FIG. 5, L1 and L2 in each operation state are values that satisfy the above relational expression.

次に、図9と、図10とを参照して、学習データ記憶エリア384及び組合せ学習データ記憶エリア385について説明する。学習データは、割当データと、割当データに対応するキーが操作された場合の検出データの特徴量とが対応付けられたデータである。検出データの特徴量は、識別ウィンドウ300内の検出データに基づき、以下の手順で算出された5つの平均値である。まず図5のように、識別ウィンドウ300の範囲が、矢印301で示す長さの5つの範囲に等分割される。次に分割された範囲毎に、検出データの平均値が算出される。図9のように、本実施形態の学習データは、操作状態毎に、且つ、検出条件毎に記憶されている。検出条件は、手の種類と、指の種類と、検出方向とを組み合わせた条件である。手の種類には、右手と左手とが含まれる。指の種類には、親指と、人差し指と、中指と、薬指と、小指とが含まれる。   Next, the learning data storage area 384 and the combination learning data storage area 385 will be described with reference to FIG. 9 and FIG. The learning data is data in which the allocation data is associated with the feature amount of the detection data when the key corresponding to the allocation data is operated. The feature amount of the detection data is five average values calculated by the following procedure based on the detection data in the identification window 300. First, as shown in FIG. 5, the range of the identification window 300 is equally divided into five ranges having a length indicated by an arrow 301. Next, an average value of the detection data is calculated for each divided range. As shown in FIG. 9, the learning data of this embodiment is stored for each operation state and for each detection condition. The detection condition is a condition in which the hand type, the finger type, and the detection direction are combined. The hand types include a right hand and a left hand. The finger types include thumb, index finger, middle finger, ring finger, and little finger.

本実施形態の入力装置1は、学習データを操作状態毎に記憶することで、検出データに基づき、操作状態と、割当データとを特定することが可能である。入力装置1は、後述するように、検出データに基づき特定された、操作状態と、割当データとを組み合わせて入力データを決定する。操作状態が通常操作である場合には、学習データに含まれる割当データが、入力データとして決定される。   The input device 1 of this embodiment can specify the operation state and the allocation data based on the detection data by storing learning data for each operation state. As will be described later, the input device 1 determines the input data by combining the operation state specified based on the detection data and the allocation data. When the operation state is a normal operation, allocation data included in the learning data is determined as input data.

一方、操作状態が組合せ操作である場合には、学習データに基づき割当データが特定され、さらに、特定された割当データの組合せに基づき組合せ学習データに含まれる割当データが、入力データとして決定される。このため、組合せ操作が実行された場合の割当データは、学習データ記憶エリア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 data storage area 385 provided separately from the learning data storage area 384. As shown in FIG. 10, in the combination learning data storage area 385, allocation data is associated with each combination operation. The key type when the combination operation is performed is specified based on the learning data stored in the learning data storage area 384 and the detection data.

次に、入力装置1で実行される処理について説明する。まず、データ収集装置2と、データ収集装置3とで実行される処理について説明する。データ収集装置2と、データ収集装置3とで実行される処理は、基本的に同様である。データ収集装置2とデータ収集装置3とでは、電源がONにされた場合に、データ決定装置4に開始指示が送信されるとともに、出力処理と、検出処理とを含む複数の処理が実行される。データ収集装置2とデータ収集装置3とでは、電源がOFFにされた場合に、データ決定装置4に終了指示が送信される。出力処理と、検出処理とは、それぞれ、図2のROM42に記憶されたプログラムに従って、CPU41によって実行される。   Next, processing executed by the input device 1 will be described. First, processing executed by the data collection device 2 and the data collection device 3 will be described. The processes executed by the data collection device 2 and the data collection device 3 are basically the same. In the data collection device 2 and the data collection device 3, when the power is turned on, a start instruction is transmitted to the data determination device 4, and a plurality of processes including an output process and a detection process are executed. . The data collection device 2 and the data collection device 3 transmit an end instruction to the data determination device 4 when the power is turned off. The output process and the detection process are each executed by the CPU 41 in accordance with a program stored in the ROM 42 of FIG.

出力処理では、データ収集装置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 sensor 21 during the period when the power of the data collection device 2 is turned on. Always output to the unit 25. In the detection process, the electrical signal output in the output process is detected at predetermined intervals by the CPU 41 (see FIG. 2) included in the control unit 25. The detection process will be described with reference to FIG. As shown in FIG. 11, in the detection process, first, a clock (not shown) is referred to and it is determined whether or not it is a detection time (S5). In S5, it is determined that it is the detection time when a predetermined period (for example, 1 msec) has elapsed since the previous detection. The predetermined period is stored in the other information storage area 386.

検出時間ではない場合(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 sensor 21 is acquired, and a time stamp is given to the acquired electrical signal (S10). The electrical signals acquired in S10 are 15 types of electrical signals obtained by combining five types of fingers and three types of detection directions. The time stamp given to each electric signal is, for example, a time stamp clock value when the electric signal is acquired. Next, the electrical signal acquired in S10 and the time stamp given to the electrical signal are output to the data determination device 4 as detection data (S15). The detection data transmitted in S15 includes information indicating detection conditions. Next, when the power of the data collection device 2 is ON (S20: No), the process returns to S5, and when the power is OFF (S20: Yes), the detection process ends.

次に、データ決定装置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 data collection device 2 or the data collection device 3 is acquired. The data determination device 4 starts a plurality of processes including an acquisition process and a main process after activation. The data determination device 4 performs various processes when an end instruction is transmitted from either the data collection device 2 or the data collection device 3 or when the data determination device 4 is powered off. The termination process is executed separately from the above process. The acquisition process and the main process are each executed by the CPU 101 in accordance with a program stored in the ROM 102 of FIG. In the acquisition process, the detection data output from the data collection device 2 or the data collection device 3 is received, and the received detection data is stored in the detection data storage area 381. The data determination device 4 stores detection data for each detection condition.

メイン処理では、入力装置1の動作モードに応じた処理が実行される。図12から図15を参照して、メイン処理を説明する。まずメイン処理の概要について説明する。本実施形態の入力装置1は、メイン処理において、データ収集装置2及びデータ収集装置3から送信された検出データに基づき、入力データを決定する。本実施形態の入力データは、仮想的なキーボードの各キーに予め対応付けられた文字又は記号である。   In the main process, a process according to the operation mode of the input device 1 is executed. The main process will be described with reference to FIGS. First, an outline of the main process will be described. The input device 1 of this embodiment determines input data based on the detection data transmitted from the data collection device 2 and the data collection device 3 in the main process. The input data of the present embodiment is a character or symbol associated with each key of the virtual keyboard in advance.

図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 ROM 102 or the flash memory 38 in FIG. 3. The read setting values are stored in the RAM 103. Next, the input mode is set as the operation mode, and the set operation mode is stored in the operation mode storage area 382 (S110).

次に、入力装置1の動作モードが学習モードであるか否かが判断される(S115)。学習モードでは、学習データ記憶エリア384の学習データに含まれる特徴量を更新する処理が実行される。ユーザが入力部40を操作して所定の指示を入力した場合に、動作モードに学習モードが設定される。動作モードが学習モードではない場合(S115:No)の処理は後述する。動作モードが学習モードである場合(S115:Yes)、学習モード時の処理が実行される。   Next, it is determined whether or not the operation mode of the input device 1 is a learning mode (S115). In the learning mode, processing for updating the feature amount included in the learning data in the learning data storage area 384 is executed. When the user operates the input unit 40 to input a predetermined instruction, the learning mode is set as the operation mode. The process when the operation mode is not the learning mode (S115: No) will be described later. When the operation mode is the learning mode (S115: Yes), processing in the learning mode is executed.

学習モード時の処理では、まず、操作状態が設定され、設定された操作状態は図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 RAM 103 of FIG. 3 (S120). S120 is a process for updating learning data for each operation state. In S120, either the normal operation or the continuous operation is set as the operation state. Next, the allocation data is displayed on the display unit 39 (S125). In S125, in this embodiment, the key type (for example, “a”) of the virtual keyboard is displayed as the allocation data. After confirming the display unit 39, the user performs an operation when pressing the key “a” shown on the display unit 39. Next, window conditions corresponding to the operation state set in S120 are set, and the set window conditions are stored in the RAM 103 (S130). A specific example 1 is a case where the normal operation is set as the operation state in S120. In the first specific example, the window information storage area 383 in FIG. 4 is referred to, 80 msec is set as L1, 80 msec is set as L2, and 25 msec is set as A. When a continuous operation is set as the operation state, a window condition for a start operation is first set in S130, and a window condition for a release operation is set in S130 executed after the process of S190.

次に、取得順序が新しい順に所定個の検出データが取得され、取得された検出データは図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 RAM 103 of FIG. 3 (S135). S135 is processing for setting an identification window. The number of detection data acquisitions in S135 is determined according to the width (L1 + L2) of the identification window set in S125 and the detection data acquisition frequency J in the acquisition process. In specific example 1, when the acquisition interval J is 1 msec, the number of detection data acquisitions is 160. Next, an input determination window is set in the detection data acquired in S135 (S140).

次に、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 flash memory 38. In this embodiment, 1000 mg is set as the threshold value. If the input operation has not been executed (S145: No), the process returns to S135. As shown in FIG. 6, the input determination window 400 is sequentially shifted from the left side to the right side by repeatedly executing S135 and S140.

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 identification window 300 is equally divided into five periods, and an average value is calculated as the feature amount of the detected data for each divided period. Next, the feature amount calculated in S155 and the allocation data displayed in S125 are associated with each other and stored as learning data in the learning data storage area 384 (S160).

次に、動作モード記憶エリア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 mode storage area 382 is referred to, and it is determined whether or not the operation mode is the input mode (S165). When the user operates the input unit 40 to input a predetermined instruction, the operation mode is changed from the learning mode to the input mode. In S165, when the operation mode is the input mode (S165: Yes), 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. When the operation mode is not the input mode (S165: No), the RAM 103 is referred to, and it is determined whether or not the operation state set in S120 is a continuous operation (S180). If it is a continuation operation (S180: Yes), it is determined whether learning data for the release operation has been acquired (S185). When the operation state is set to the continuous operation, first, the learning data of the key start operation displayed in S125 is updated, and then the learning data of the key release operation is updated. If learning data for the release operation has not been acquired (S185: No), an instruction for prompting the release operation is displayed on the display unit 39 (S190), and the process returns to S130. In S130 after S190, a window condition for the release operation is set.

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 information storage area 383 is referred to and the window information is read (S305). 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 (S310).
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 RAM 103. When the elapsed time is not equal to or longer than S_L2 (S330: No), the process returns to S320. When the elapsed time is equal to or longer than S_L2 (S330: Yes), a start operation identification window (hereinafter referred to as “window P”) is set, and the set window P is stored in the RAM 103 (S335). 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 (S340). It is defined by the width (L1 + L2) of the window P and the detection data acquisition interval J in the acquisition process. As shown in FIG. 4, when the width of the window P is 140 msec and the acquisition interval J is 1 msec, 140 detection data are acquired in S340.

次に、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 period 140 msec of the window P into five equal parts. Next, the learning data storage area 384 is referred to, and the detection data processed in S345 is compared with the learning data of the start operation (S350). Next, based on the comparison result in S350, it is determined whether or not the input operation detected in S315 is a start operation (S355). When the difference between the learning data of any start operation and the detection data processed in S345 is less than a predetermined value, it is determined that the start operation has been executed. The predetermined value in S355 is appropriately determined in consideration of conditions including variations in detected data when the same operation is executed and differences between the detected data when other operations are executed, and the flash memory 38 Is remembered.

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 RAM 103.

経過時間が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 data storage area 384 is referred to, and the detection data processed in S395 is compared with the learning data for normal operation (S400). Next, based on the comparison result in S400, it is determined whether or not the input operation detected in S315 is a normal operation (S405). When the difference between any of the normal operation learning data and the detection data processed in S395 is less than a predetermined value, it is determined that the normal operation has been executed.

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 antenna 106 to an external device (not shown) such as a PC (S415).

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 RAM 103.

次に、複合処理が実行される(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 RAM 103 of FIG. 3 (S520), and the read detection data is processed (S525). The process of S525 is the same as that of S155, and five average values are calculated based on the detection data acquired in S520.

次に、学習データ記憶エリア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 data storage area 384 is referred to, and the detection data processed in S525 is compared with the learning data of the normal operation and the release operation (S530). Next, as in S405, it is determined whether or not the input operation detected in S515 is a normal operation (S535). When the input operation detected in S515 is a normal operation (S535: Yes), a combination operation in which the continuous operation started from S315 and the normal operation detected in S515 are combined is combined learning data storage area 384. It is determined whether or not it is stored in (S550). The combination operation stored in the combination learning data storage area 385 is referred to as “effective combination”. When the combination operation is not an effective combination (S550: No), the process returns to S500. In this case, input data corresponding to the combination operation is not determined. In the second specific example, as shown in FIG. 14, the input timing of the normal operation of the “L key” is detected at the timing t3 during the continuous operation period of the “Shift key” (S535: Yes), and it is an effective combination. It is judged (S550: Yes). In this case, capital L, which is the allocation data included in the combination learning data that matches the combination operation “Shift + L”, is determined as input data (S555). The determined input data is stored in the RAM 103. Next, the input data determined in S555 is transmitted via the antenna 106 to an external device (not shown) such as a PC (S560). Next, the process returns to S500.

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 input device 1 determines the input data by detecting the movement of the user's hand. S15 in FIG. 11 corresponds to the output process of the present invention. In S15, the CPU 41 that outputs the detection data to the data determining device 4 functions as the output means of the present invention. S160 in FIG. 12 corresponds to the storage control step of the present invention, and the CPU 101 that executes the processing of S160 functions as the storage control means of the present invention. The flash memory 38 that stores learning data including combination learning data corresponds to the storage means of the present invention. S410 in FIG. 13 and S555 in FIG. 15 correspond to the determination step of the present invention, and the CPU 101 that executes the processes of S410 and S555 functions as the determination unit of the present invention. The CPU 101 that detects the input timing in S315 and S515 functions as the timing detection means of the present invention.

入力装置1によれば、検出データに基づき、通常操作と、開始操作と、解除操作とを的確に区別することができる。すなわち、入力装置1は、継続操作が通常操作と区別されなかったり、継続操作の開始操作と解除操作とが2つの異なる通常操作であると誤認識されたりことを回避することができる。したがって、入力装置1は、複数の操作状態が組み合わされた入力操作が実行される場合であっても、操作状態に応じて入力データを的確に決定することができる。すなわち、入力装置1は、検出データに基づき、どの仮想キーがどの操作状態で操作されたかを判別することができる。さらに、入力装置1は、検出データと、組合せ学習データとに基づき、組合せ操作が実行された場合の入力データを的確に決定することができる。例えば、上記具体例2のように、同じ通常操作(例えば、「A」の打鍵)が実行された場合でも、継続操作期間中に実行されたか否かに応じて、異なる入力データ(例えば、小文字の「A」と大文字の「A」)を決定することができる。   According to the input device 1, the normal operation, the start operation, and the release operation can be accurately distinguished based on the detection data. That is, the input device 1 can avoid that the continuous operation is not distinguished from the normal operation, or that the start operation and the release operation of the continuous operation are erroneously recognized as two different normal operations. Therefore, the input device 1 can accurately determine the input data according to the operation state even when an input operation in which a plurality of operation states are combined is executed. That is, the input device 1 can determine which virtual key is operated in which operation state based on the detection data. Furthermore, the input device 1 can accurately determine the input data when the combination operation is executed based on the detection data and the combination learning data. For example, even when the same normal operation (for example, “A” keystroke) is performed as in the above-described specific example 2, different input data (for example, lowercase letters) is used depending on whether or not it is performed during the continuous operation period. "A" and capital letter "A") can be determined.

また、入力装置1は、操作状態毎に識別ウィンドウの幅が適宜定められることによって、入力データの決定精度を向上させることができる。入力装置1は、メイン処理のS315及びS515において入力タイミングが検出された場合に、決定処理を実行する。このため、入力装置1は、入力タイミングが検出されたか否かによらず決定処理が実行される場合に比べ、入力装置1で実行される処理の負荷を軽減させることができる。入力装置1は、操作状態に応じて、識別ウィンドウの幅、及び識別ウィンドウと入力判断ウィンドウとの対応が的確に設定されるので、操作状態によらずウィンドウの条件が設定される場合に比べ、入力データの決定精度を向上させることができる。   Further, the input device 1 can improve the accuracy of determining input data by appropriately determining the width of the identification window for each operation state. The input device 1 executes the determination process when the input timing is detected in S315 and S515 of the main process. For this reason, the input apparatus 1 can reduce the load of the process performed by the input apparatus 1 compared with the case where the determination process is performed regardless of whether the input timing is detected. Since the input device 1 accurately sets the width of the identification window and the correspondence between the identification window and the input determination window according to the operation state, compared to the case where the window condition is set regardless of the operation state, The accuracy of determining input data can be improved.

なお、本発明は上記の実施の形態に限定されるものではなく、種々の変更が可能である。例えば、次の(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 input device 1 can be changed as appropriate. For example, the type of sensor provided in the input device 1, the mounting position of the sensor, and the number of sensors can be changed as appropriate. More specifically, the input device may install an acceleration sensor as a sensor at the fingertip of each finger and the third joint of each finger. For example, the input device 1 is separate from the data collection device 2, the data collection device 3, and the data determination device 4, but is not limited thereto. For example, at least one of the data collection device 2 and the data collection device 3 may have a function as the data determination device 4. Further, for example, the data collection device 2 and the data collection device 3 and the data determination device 4 are connected wirelessly, but may be connected by wire.

(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 SYMBOLS 1 Input device 2, 3 Data collection device 4 Data determination device 21 Sensor 22 Control part 38 Flash memory 41, 101 CPU
42,102 ROM
43,103 RAM
45 A / D converters 47 and 106 Antenna 383 Window information storage area 384 Learning data storage area 385 Combination learning data storage area

Claims (6)

手に取り付けられ、当該手の動きに応じた電気信号を発生するセンサと、前記センサによって発生された前記電気信号を含むデータを検出データとして出力する出力手段とを備え、前記出力手段によって出力された前記検出データに基づき、1つ以上の仮想的な操作部材を操作する前記手の動きに応じた入力データを決定する入力装置であって、
前記操作部材の操作が継続される時間が閾値以下である操作である通常操作と、前記操作部材の操作が継続される時間が閾値よりも長い操作である継続操作を開始する開始操作と、前記継続操作を止める解除操作とを含む操作状態毎に、前記手が前記操作部材をいずれかの前記操作状態で操作したタイミングである入力タイミングを含む前記取得期間であって、第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.
前記第1所定長さは、前記通常操作と、前記開始操作及び前記解除操作とで異なることを特徴とする請求項1又は2に記載の入力装置。   The input device according to claim 1, wherein the first predetermined length is different between the normal operation, the start operation, and the release operation. 前記出力手段によって出力された第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を満たすことを特徴とする請求項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つ以上の仮想的な操作部材を操作する前記手の動きに応じた入力データを決定する入力方法であって、
前記操作部材の操作が継続される時間が閾値以下である操作である通常操作と、前記操作部材の操作が継続される時間が閾値よりも長い操作である継続操作を開始する開始操作と、前記継続操作を止める解除操作とを含む操作状態毎に、前記手が前記操作部材をいずれかの前記操作状態で操作したタイミングである入力タイミングを含む取得期間であって、第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.
請求項1から4のいずれかに記載の入力装置の各種処理手段としてコンピュータを機能させるための入力プログラム。   An input program for causing a computer to function as various processing means of the input device according to claim 1.
JP2009271213A 2009-11-30 2009-11-30 Input device, input method, and input program Pending JP2011113439A (en)

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)

* Cited by examiner, † Cited by third party
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

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