[go: up one dir, main page]

JP4377863B2 - Exercise trajectory information processing method and portable information device - Google Patents

Exercise trajectory information processing method and portable information device Download PDF

Info

Publication number
JP4377863B2
JP4377863B2 JP2005253687A JP2005253687A JP4377863B2 JP 4377863 B2 JP4377863 B2 JP 4377863B2 JP 2005253687 A JP2005253687 A JP 2005253687A JP 2005253687 A JP2005253687 A JP 2005253687A JP 4377863 B2 JP4377863 B2 JP 4377863B2
Authority
JP
Japan
Prior art keywords
acceleration
motion trajectory
motion
trajectory
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005253687A
Other languages
Japanese (ja)
Other versions
JP2007066180A (en
Inventor
大輔 辻野
康弘 西出
純 山崎
洋久 楠田
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.)
SoftBank Corp
Original Assignee
SoftBank Mobile Corp
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 SoftBank Mobile Corp filed Critical SoftBank Mobile Corp
Priority to JP2005253687A priority Critical patent/JP4377863B2/en
Publication of JP2007066180A publication Critical patent/JP2007066180A/en
Application granted granted Critical
Publication of JP4377863B2 publication Critical patent/JP4377863B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)

Description

本発明は、運動軌跡情報処理方法及び携帯情報装置に係り、より詳しくは、携帯情報装置の運動軌跡を求めて、当該運動軌跡の情報を出力する運動軌跡情報処理方法及び当該方法を使用する携帯情報装置に関するものである。   The present invention relates to a motion trajectory information processing method and a portable information device. More specifically, the present invention relates to a motion trajectory information processing method for obtaining a motion trajectory of a portable information device and outputting information of the motion trajectory, and a portable device using the method. The present invention relates to an information device.

従来から、携帯電話装置を代表とする移動しつつ動作可能な携帯情報装置が、広く普及している。かかる携帯情報装置、特に携帯電話装置に関する技術の進歩は目覚しいものがあり、必須機能である移動通信網を介した通信機能に加えて、様々な種類のゲーム等のアプリケーションも実装されるようになっている。   2. Description of the Related Art Conventionally, portable information devices that can be operated while moving, typified by mobile phone devices, have been widely used. Advances in technology related to such portable information devices, particularly mobile phone devices, have been remarkable, and various types of applications such as games have been implemented in addition to the communication function via the mobile communication network, which is an essential function. ing.

また、携帯情報装置においては、自身に作用している加速度を計測するためのセンサを実装し、当該センサによる計測データをアプリケーションで利用することが提案されている。例えば、当該センサによって計測された加速度のデータを用いて、携帯電話装置の運動軌跡を求め、その運動軌跡を入力文字として認識することができる携帯電話装置が提案されている(特許文献1参照:以下、「従来例」と呼ぶ)。
特開2002−169645号公報
Moreover, in a portable information device, it is proposed to mount a sensor for measuring acceleration acting on itself and to use measurement data from the sensor in an application. For example, a mobile phone device has been proposed that can determine the motion trajectory of a mobile phone device using acceleration data measured by the sensor and recognize the motion trajectory as an input character (see Patent Document 1). Hereinafter, it is referred to as “conventional example”).
JP 2002-169645 A

上述した従来例の技術は、携帯電話装置等におけるセンサによる計測結果の利用技術としては優れたものである。しかし、この従来例では、文字軌跡を描く場合には、利用者が、携帯電話装置等をほぼ2次元平面上でほぼ姿勢変化を伴わずに並進運動させることが必要であり、利用者にとって操作しずらさを伴うものであった。   The above-described conventional technique is excellent as a technique for using a measurement result by a sensor in a mobile phone device or the like. However, in this conventional example, when drawing a character trajectory, it is necessary for the user to translate the mobile phone device etc. on a substantially two-dimensional plane with almost no change in posture. It was annoying.

ところで、地表近辺で使用される携帯電話等に装備される加速度センサは、運動加速度に重力加速度が重ね合わされた加速度を検出することになる。このため、静止状態とされた初期状態における加速度センサによる検出結果により重力方向(鉛直下方)を推定し、その後における加速度センサによる検出結果から、推定重力方向に基づいて求められる推定重力加速度成分を除去することが考えられる。   By the way, an acceleration sensor equipped in a mobile phone or the like used in the vicinity of the ground surface detects an acceleration in which a gravitational acceleration is superimposed on a motion acceleration. Therefore, the gravitational direction (vertically below) is estimated based on the detection result of the acceleration sensor in the initial state in the stationary state, and the estimated gravitational acceleration component obtained based on the estimated gravitational direction is removed from the subsequent detection result of the acceleration sensor. It is possible to do.

しかしながら、手動により携帯電話装置等を運動させた場合には、ある程度の携帯電話装置等の姿勢変化が発生してしまう。こうした姿勢変化は、加速度センサの検出結果のみからは検出できない。このため、上記の推定重力方向に基づいて求められる推定重力加速度成分の除去を、手動により運動している携帯電話装置等に適用すると、運動加速度が精度良く求められないことがしばしば発生する。この結果、携帯電話装置等の運動軌跡が精度良く求めることができない。   However, when the mobile phone device or the like is manually moved, a certain amount of posture change of the mobile phone device or the like occurs. Such a posture change cannot be detected only from the detection result of the acceleration sensor. For this reason, when the removal of the estimated gravitational acceleration component obtained based on the estimated gravitational direction is applied to a mobile phone device or the like that is moving manually, the motion acceleration is often not obtained with high accuracy. As a result, the movement locus of the mobile phone device or the like cannot be obtained with high accuracy.

こうした事態は、幅をもった認識がなされる文字形状の入力や描画については許容可能な場合が多い。しかし、自己の趣味感に適合する図形等の入力や描画を行う場合等には、許容できない誤差が発生することが多々ある。   Such a situation is often acceptable for input and drawing of a character shape that is recognized with a width. However, an unacceptable error often occurs when inputting or drawing a graphic or the like that matches the taste of the user.

また、姿勢変化が発生した場合には姿勢変化に寄与する回転加速度も発生する。運動軌跡をより精度良く求めるためには、この回転加速度を更に考慮することが必要になると考えられる。   Further, when a posture change occurs, a rotational acceleration that contributes to the posture change also occurs. In order to obtain the motion trajectory with higher accuracy, it is considered that this rotational acceleration needs to be further considered.

本発明は、上記の事情を鑑みてなされたものであり、携帯情報装置に搭載されたセンサによる検出結果に基づいて、携帯情報装置の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力することができる運動軌跡情報処理方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and based on the detection result of a sensor mounted on a portable information device, the movement locus of the portable information device is obtained with high accuracy, and the obtained high-precision movement locus is obtained. It is an object to provide a motion trajectory information processing method capable of outputting information corresponding to the above.

また、本発明は、自身の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力することができる携帯情報装置を提供することを目的とする。   It is another object of the present invention to provide a portable information device that can accurately determine its own motion trajectory and output information corresponding to the obtained highly accurate motion trajectory.

本発明は、第1の観点からすると、携帯情報装置において固有に定義される第1軸、前記第1軸と直交する第2軸、並びに前記第1軸及び前記第2軸と直交する第3軸のうちの少なくとも2つの軸方向に沿った加速度と、前記携帯情報装置の基準姿勢からの回転角を検出するセンサによる検出結果に基づいて、前記携帯情報装置の運動軌跡を求め、前記運動軌跡に対応する情報を出力する運動軌跡情報処理方法であって、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った並進運動加速度成分を算出する並進運動加速度算出工程と;前記並進運動加速度算出工程において算出された並進運動加速度成分に基づいて、前記携帯情報装置の運動軌跡を算出する運動軌跡算出工程と;前記運動軌跡算出工程において算出された運動軌跡に対応する情報を出力する運動軌跡情報出力工程と;を備え、前記並進運動加速度算出工程は、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った加速度の変化の低周波成分を算出することにより、前記少なくとも2つの軸方向に沿った重力加速度の成分を推定するとともに、鉛直方向を推定する重力加速度推定工程と;前記重力加速度推定工程における推定結果を使用して、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果を補正し、前記並進運動加速度を算出する加速度補正工程と;を備えることを特徴とする運動軌跡情報処理方法である。ここで、「低周波成分」とは、直流成分と評価できる成分をいう。以下、本明細書においては、この意味で「低周波成分」の用語を用いる。 From a first viewpoint, the present invention provides a first axis that is uniquely defined in the portable information device, a second axis that is orthogonal to the first axis, and a third axis that is orthogonal to the first axis and the second axis. Based on the acceleration along at least two of the axes and a detection result by a sensor that detects a rotation angle from a reference posture of the portable information device, a movement locus of the portable information device is obtained, and the movement locus A motion trajectory information processing method for outputting information corresponding to the at least two axial directions based on detection results of acceleration along the at least two axial directions by the sensor. A translational motion acceleration calculation step for calculating; a motion trajectory calculation for calculating a motion trajectory of the portable information device based on the translational motion acceleration component calculated in the translational motion acceleration calculation step Extent and; wherein the motion trajectory information output step of outputting information corresponding to the motion trajectory calculated in the motion trajectory calculation step; wherein the translational motion acceleration calculation step, along said at least two axially by said sensor By calculating a low frequency component of acceleration change along the at least two axial directions based on the detection result of the acceleration, the gravitational acceleration component along the at least two axial directions is estimated, and the vertical A gravitational acceleration estimating step for estimating a direction; and using the estimation result in the gravitational acceleration estimating step, the acceleration detection result along the at least two axial directions by the sensor is corrected, and the translational motion acceleration is calculated. And a motion trajectory information processing method comprising: an acceleration correction step . Here, the “low frequency component” means a component that can be evaluated as a direct current component. Hereinafter, in this specification, the term “low frequency component” is used in this sense.

この運動軌跡情報処理方法では、並進運動加速度算出工程において、センサによる基準姿勢からの回転角の検出結果及び少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、少なくとも2つの軸方向に沿った並進運動加速度成分が算出される。この並進運動加速度算出工程では、重力加速度推定工程において、センサによる少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、少なくとも2つの軸方向に沿った加速度の変化の低周波成分を算出することにより、少なくとも2つの軸方向に沿った重力加速度の成分を推定するとともに、鉛直方向を推定する。これは、手動による携帯情報装置の運動の場合、通常、その運動に寄与する加速度は刻々変化し、直流成分と評価できる成分は含まず、直流成分と評価できる成分が、一定の信頼性で重力加速度と推定することができることを利用した推定である。
そして、加速度補正工程において、重力加速度推定工程における推定結果を使用して、センサによる少なくとも2つの軸方向に沿った加速度の検出結果を補正し、並進運動加速度を算出する。この結果、重力加速度の成分が的確に除去された加速度を、並進加速度として得ることができる。
In this motion trajectory information processing method, in the translational motion acceleration calculation step, along the at least two axial directions based on the detection result of the rotation angle from the reference posture by the sensor and the detection result of the acceleration along at least two axial directions. The translational acceleration component obtained is calculated. In this translational motion acceleration calculation step, in the gravitational acceleration estimation step, a low-frequency component of acceleration change along at least two axial directions is calculated based on the detection result of acceleration along at least two axial directions by the sensor. Thus, the gravity acceleration component along at least two axial directions is estimated and the vertical direction is estimated. This is because, in the case of manual movement of a portable information device, the acceleration that contributes to the movement is constantly changing and does not include a component that can be evaluated as a direct current component. This is an estimation that can be estimated as acceleration.
Then, in the acceleration correction step, the detection result of the acceleration along the at least two axial directions by the sensor is corrected using the estimation result in the gravity acceleration estimation step, and the translational motion acceleration is calculated. As a result, the acceleration from which the gravitational acceleration component is accurately removed can be obtained as the translational acceleration.

引き続き、運動軌跡算出工程において、並進運動加速度算出工程で算出された並進運動加速度成分に基づいて、携帯情報装置の運動軌跡が算出される。そして、運動軌跡情報出力工程において、運動軌跡算出工程で算出された運動軌跡に対応した情報が出力される。   Subsequently, in the motion trajectory calculation step, the motion trajectory of the portable information device is calculated based on the translational motion acceleration component calculated in the translational motion acceleration calculation step. Then, in the motion trajectory information output step, information corresponding to the motion trajectory calculated in the motion trajectory calculation step is output.

したがって、本発明の運動軌跡情報処理方法によれば、携帯情報装置の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力することができる。   Therefore, according to the motion trajectory information processing method of the present invention, the motion trajectory of the portable information device can be obtained with high accuracy, and information corresponding to the obtained highly accurate motion trajectory can be output.

ここで、前記加速度補正工程においては、前記センサによる前記回転角の検出結果の変化を更に考慮して、前記並進運動加速度を算出するようにすることができる。この場合には、基準姿勢に対する回転角の変化によって生じる回転加速度の大きさを考慮するので、更に精度良く並進加速度を得ることができる。   Here, in the acceleration correction step, the translational acceleration can be calculated in consideration of a change in the detection result of the rotation angle by the sensor. In this case, since the magnitude of the rotational acceleration caused by the change in the rotational angle with respect to the reference posture is taken into account, the translational acceleration can be obtained with higher accuracy.

本発明の運動軌跡情報処理方法では、運動軌跡情報出力工程において、前記運動軌跡に対応した情報に基づいて、前記運動軌跡に対応する図形を前記表示手段の画面に描画出力するようにすることができる。この場合には、携帯情報装置の表示手段の画面に、携帯情報装置の並進運動による運動軌跡を精度良く反映した図形を描画出力することができる。   In the motion trajectory information processing method of the present invention, in the motion trajectory information output step, based on the information corresponding to the motion trajectory, a graphic corresponding to the motion trajectory may be drawn and output on the screen of the display means. it can. In this case, it is possible to draw and output a graphic that accurately reflects the motion trajectory due to the translational motion of the portable information device on the screen of the display means of the portable information device.

また、本発明の運動軌跡情報処理方法では、運動軌跡情報出力工程において、前記運動軌跡に対応した情報を、他の情報装置へ向けて出力するようにすることができる。この場合には、他の情報装置に対して、携帯情報装置の並進運動による運動軌跡を精度良く反映した精度を通知することができるので、他の情報装置のポインティングデバイスとして、携帯情報装置を使用することができる。   In the motion trajectory information processing method of the present invention, in the motion trajectory information output step, information corresponding to the motion trajectory can be output to another information device. In this case, since the accuracy that accurately reflects the motion trajectory due to the translational movement of the portable information device can be notified to the other information device, the portable information device is used as a pointing device of the other information device. can do.

本発明は、第2の観点からすると、自身において固有に定義される第1軸、前記第1軸と直交する第2軸、並びに前記第1軸及び前記第2軸と直交する第3軸のうちの少なくとも2つの軸方向に沿った加速度と、基準姿勢からの回転角を検出するセンサと;前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った並進運動加速度を算出する並進運動加速度算出手段と;前記並進運動加速度に基づいて、運動軌跡を算出する運動軌跡算出手段と;前記運動軌跡に対応する情報を出力する運動軌跡情報出力手段と;を備え、前記並進運動加速度算出手段は、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った加速度の変化の低周波成分を算出することにより、前記少なくとも2つの軸方向に沿った重力加速度の成分を推定するとともに、鉛直方向を推定する重力加速度推定手段と;前記重力加速度推定手段による推定結果を使用して、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果を補正し、前記並進運動加速度を算出する加速度補正手段と;を備えることを特徴とする携帯情報装置である。
From a second viewpoint, the present invention includes a first axis that is uniquely defined in itself, a second axis that is orthogonal to the first axis, and a third axis that is orthogonal to the first axis and the second axis. A sensor for detecting an acceleration along at least two axial directions and a rotation angle from a reference posture; and at least two axes based on a detection result of the acceleration along the at least two axial directions by the sensor. Translational motion acceleration calculating means for calculating translational motion acceleration along the direction; motion trajectory calculating means for calculating a motion trajectory based on the translational motion acceleration; motion trajectory information output for outputting information corresponding to the motion trajectory means and; wherein the translational motion acceleration calculation means, along the basis of the at least two acceleration along the axial direction detection result of the sensor, the at least two axially A gravitational acceleration estimating means for estimating a vertical direction along with the gravity acceleration component along the at least two axial directions by calculating a low frequency component of the acceleration change; and an estimation by the gravitational acceleration estimating means And a correction means for correcting the acceleration detected by the sensor along the at least two axial directions using the result, and calculating the translational motion acceleration. .

この携帯情報装置では、並進運動加速度算出手段が、センサによる少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、少なくとも2つの軸方向に沿った並進運動加速度成分を算出する。この並進運動加速度算出手段では、重力加速度推定手段が、センサによる少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、少なくとも2つの軸方向に沿った加速度の変化の低周波成分を算出することにより、少なくとも2つの軸方向に沿った重力加速度の成分を推定するとともに、鉛直方向を推定する。そして、加速度補正手段が、重力加速度推定手段による推定結果を使用して、センサによる少なくとも2つの軸方向に沿った加速度の検出結果を補正し、並進運動加速度を算出する。この結果、重力加速度の成分が的確に除去された加速度を、並進加速度として得ることができる。
引き続き、運動軌跡算出手段が、並進運動加速度算出手段により算出された並進運動加速度成分に基づいて、携帯情報装置の運動軌跡を算出する。そして、運動軌跡情報出力手段が、運動軌跡算出手段により算出された運動軌跡に対応した情報を出力する。
In this portable information device, the translational motion acceleration calculating means calculates translational motion acceleration components along at least two axial directions based on the detection results of acceleration along at least two axial directions by the sensor . In this translational motion acceleration calculating means, the gravitational acceleration estimating means calculates a low-frequency component of acceleration change along at least two axial directions based on the detection result of acceleration along at least two axial directions by the sensor. Thus, the gravity acceleration component along at least two axial directions is estimated and the vertical direction is estimated. Then, the acceleration correction means corrects the detection results of acceleration along at least two axial directions by the sensor using the estimation result by the gravitational acceleration estimation means, and calculates the translational motion acceleration. As a result, the acceleration from which the gravitational acceleration component is accurately removed can be obtained as the translational acceleration.
Subsequently, the motion trajectory calculating means calculates the motion trajectory of the portable information device based on the translational motion acceleration component calculated by the translational motion acceleration calculating means. Then, the motion trajectory information output means outputs information corresponding to the motion trajectory calculated by the motion trajectory calculation means.

すなわち、本発明の携帯情報装置は、上述した本発明の運動軌跡情報処理方法を使用して、携帯情報装置の運動軌跡情報を処理することができる。したがって、本発明の携帯情報装置によれば、携帯情報装置の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力することができる。   That is, the mobile information device of the present invention can process the motion trajectory information of the mobile information device using the motion trajectory information processing method of the present invention described above. Therefore, according to the portable information device of the present invention, the motion trajectory of the mobile information device can be obtained with high accuracy, and information corresponding to the obtained highly accurate motion trajectory can be output.

ここで、前記加速度補正手段が、前記センサによる前記回転角の検出結果の変化を更に考慮して、前記並進運動加速度を算出するようにすることができる。この場合には、基準姿勢に対する回転角の変化によって生じる回転加速度の大きさを考慮するので、更に精度良く並進加速度を得ることができる。   Here, the acceleration correction unit may calculate the translational acceleration by further considering a change in the detection result of the rotation angle by the sensor. In this case, since the magnitude of the rotational acceleration caused by the change in the rotational angle with respect to the reference posture is taken into account, the translational acceleration can be obtained with higher accuracy.

本発明の携帯情報装置では、画面表示を行う表示手段を更に備え、運動軌跡情報出力手段が、前記運動軌跡に対応した情報に基づいて、前記運動軌跡に対応する図形を前記表示手段の画面に描画出力するようにすることができる。この場合には、携帯情報装置の表示手段の画面に、携帯情報装置の並進運動による運動軌跡を精度良く反映した図形を描画出力することができる。   The portable information device of the present invention further includes display means for performing screen display, and the motion trajectory information output means displays a graphic corresponding to the motion trajectory on the screen of the display means based on information corresponding to the motion trajectory. It can be rendered. In this case, it is possible to draw and output a graphic that accurately reflects the motion trajectory due to the translational motion of the portable information device on the screen of the display means of the portable information device.

また、本発明の携帯情報装置では、運動軌跡情報出力手段が、前記運動軌跡に対応した情報を、他の情報装置へ向けて出力する用にすることができる。この場合には、他の情報装置に対して、携帯情報装置の並進運動による運動軌跡を精度良く反映した精度を通知することができるので、他の情報装置のポインティングデバイスとして、携帯情報装置を使用することができる。   In the portable information device of the present invention, the motion trajectory information output means can output information corresponding to the motion trajectory toward another information device. In this case, since the accuracy that accurately reflects the motion trajectory due to the translational movement of the portable information device can be notified to the other information device, the portable information device is used as a pointing device of the other information device. can do.

また、本発明の携帯情報装置では、移動通信網の基地局と無線通信を行うための無線通信手段を更に備えるようにすることができる。すなわち、本発明の携帯情報装置を、携帯電話装置等の移動通信端末装置とすることができる。   In addition, the portable information device of the present invention can further include wireless communication means for performing wireless communication with a base station of a mobile communication network. That is, the mobile information device of the present invention can be a mobile communication terminal device such as a mobile phone device.

以上説明したように、本発明の運動軌道情報処理装置によれば、携帯情報装置に搭載されたセンサによる検出結果に基づいて、携帯情報装置の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力することができるという効果を奏する。   As described above, according to the motion trajectory information processing device of the present invention, the motion trajectory of the mobile information device is accurately obtained based on the detection result by the sensor mounted on the mobile information device, and the obtained high accuracy There is an effect that information corresponding to the motion trajectory can be output.

また、本発明の携帯情報装置によれば、自身の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力することができる。   In addition, according to the portable information device of the present invention, it is possible to accurately determine its own motion trajectory and output information corresponding to the determined highly accurate motion trajectory.

<第1実施形態>
以下、本発明の第1実施形態を、図1〜図7を参照して説明する。
<First Embodiment>
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.

図1には、移動端末装置である携帯電話装置10の外観構成が概略的に示されている。ここで、図1(A)には、携帯電話装置10の外観の正面図が示され、図1(B)には、携帯電話装置10の外観の背面図が示されている。   FIG. 1 schematically shows an external configuration of a mobile phone device 10 that is a mobile terminal device. Here, FIG. 1A shows a front view of the appearance of the mobile phone device 10, and FIG. 1B shows a rear view of the appearance of the mobile phone device 10.

図1(A)、図1(B)に総合的に示されるように、携帯電話装置10は、(a)携帯電話本体11と、(b)電話番号を入力するためのテンキー、及び、動作モードの切替等の各種指令を、後述する制御部21(図2参照)に入力するためのファンクションキーを有する操作部12と、(c)操作案内、動作状況、受信メッセージ等を表示する液晶表示装置を有する表示部13とを備えている。また、携帯電話装置10は、(d)通話時に通信相手から送られてきた音声信号を再生する通話用スピーカ14と、(e)集音時に音を入力したり、通話時に音声を入力したりするためのマイクロフォン15と、(f)着信音や案内音を発生するための案内用スピーカ16と、(g)基地局との間で無線信号を授受するためのアンテナ17とを備えている。   As comprehensively shown in FIGS. 1A and 1B, the mobile phone device 10 includes: (a) a mobile phone main body 11; (b) a numeric keypad for inputting a telephone number; An operation unit 12 having function keys for inputting various commands such as mode switching to a control unit 21 (see FIG. 2) described later, and (c) a liquid crystal display for displaying operation guidance, operation status, received message, and the like. And a display unit 13 having a device. In addition, the cellular phone device 10 includes (d) a call speaker 14 that reproduces an audio signal transmitted from a communication partner during a call, and (e) a sound input during sound collection or a sound input during a call. And (f) a guidance speaker 16 for generating ringtones and guidance sounds, and (g) an antenna 17 for transmitting and receiving radio signals to and from the base station.

携帯電話本体11の内部には、図2に示されるように、(i)携帯電話装置10全体の動作を統括制御する制御部21と、(ii)アンテナ17を介して、基地局との間で無線信号の送受信を行う送受信部22と、(iii)制御部21で実行されるプログラムや各種データを格納する、読出専用メモリ(ROM)素子やランダムアクセスメモリ(RAM)素子を有する記憶部23とを備えている。また、携帯電話本体11の内部には、(iv)携帯電話装置10の姿勢角及び携帯電話装置10に作用する加速度を計測するためのセンサユニット25を備えている。   As shown in FIG. 2, the mobile phone body 11 includes (i) a control unit 21 that controls the overall operation of the mobile phone device 10, and (ii) a base station via an antenna 17. And (iii) a storage unit 23 having a read-only memory (ROM) element and a random access memory (RAM) element for storing a program executed by the control unit 21 and various data. And. The mobile phone main body 11 includes a sensor unit 25 for measuring (iv) an attitude angle of the mobile phone device 10 and acceleration acting on the mobile phone device 10.

記憶部23は、その内部に、収集した計測データを一時的に記憶する一時記憶領域24を含んでいる。   The storage unit 23 includes a temporary storage area 24 for temporarily storing the collected measurement data.

センサユニット25は、携帯電話装置10の姿勢角及び携帯電話装置10に作用する加速度を検出し、アナログ電圧信号として出力するセンサ部26と、センサ部26から電圧信号の電圧値をデジタル値に変換するアナログデジタル(A/D)変換器27とを備えている。そして、A/D変換器27から出力されるデジタルデータが、計測データとして制御部21へ通知される。また、センサユニット25は、制御部21からの計測開始指令により動作を開始し、制御部21からの計測停止指令により動作を停止するようになっている。   The sensor unit 25 detects the attitude angle of the mobile phone device 10 and the acceleration acting on the mobile phone device 10 and outputs it as an analog voltage signal, and converts the voltage value of the voltage signal from the sensor unit 26 into a digital value. And an analog / digital (A / D) converter 27. Then, the digital data output from the A / D converter 27 is notified to the control unit 21 as measurement data. In addition, the sensor unit 25 starts to operate in response to a measurement start command from the control unit 21 and stops operating in response to a measurement stop command from the control unit 21.

センサ部26は、操作部12のマトリクス状のキー配列における行方向をX軸とし、列方向をY軸方向とするとともに、地磁気方向がY軸方向と平行であり、かつ、鉛直方向がYZ面と平行となる基準姿勢に対するピッチ角θX、ロール角θY及びヨー角θZに対応する地磁気に由来するX軸方向成分、Y軸方向成分及びZ軸方向成分の磁気量を検出する。また、センサ部26は、X方向の加速度(αX)、Y方向の加速度(αY)及びZ方向の加速度(αZ)に対応する電磁気量を検出する。そして、センサユニット25は、各計測時点において検出されたピッチ角θX、ロール角θY、ヨー角θZ、X方向加速度αX、Y方向加速度αY及びZ方向加速度αZに対応する検出結果を1組にし、計測生データとして制御部21へ通知するようになっている。なお、鉛直方向の特定については、後述する。 The sensor unit 26 has the row direction in the matrix key arrangement of the operation unit 12 as the X axis, the column direction as the Y axis direction, the geomagnetic direction parallel to the Y axis direction, and the vertical direction as the YZ plane. The magnetic quantities of the X-axis direction component, the Y-axis direction component, and the Z-axis direction component derived from the geomagnetism corresponding to the pitch angle θ X , the roll angle θ Y and the yaw angle θ Z with respect to the reference posture parallel to the axis are detected. The sensor unit 26 detects an electromagnetic quantity corresponding to the acceleration in the X direction (α X ), the acceleration in the Y direction (α Y ), and the acceleration in the Z direction (α Z ). The sensor unit 25 detects the pitch angle θ X , roll angle θ Y , yaw angle θ Z , X-direction acceleration α X , Y-direction acceleration α Y, and Z-direction acceleration α Z detected at each measurement time. The results are set as one set and notified to the control unit 21 as measurement raw data. The specification of the vertical direction will be described later.

制御部21は、中央処理装置(CPU)、デジタル信号処理装置(DSP)等を備えており、一般的な携帯電話機能を実現するために、様々なデータ処理を行うとともに、上述した他の構成要素の動作制御を行うようになっている。この制御部21において実行されるソフトウエアの構成は、図3に示されるようになっている。   The control unit 21 includes a central processing unit (CPU), a digital signal processing unit (DSP), and the like, performs various data processing to realize a general mobile phone function, and other configurations described above. It is designed to control the operation of elements. The configuration of software executed in the control unit 21 is as shown in FIG.

すなわち、制御部21におけるソフトウエアは、(i)携帯電話としての基本機能である通話機能、メール機能、文字入力機能等を実現するとともに、上述した各種のハードウエア資源の制御を行う基本処理部31Aと、(ii)利用者による携帯電話装置10の運動の軌跡に対応する図形を手書図形として表示部13の画面に表示出力する手書描画アプリケーション33Aとから構成されている。   That is, the software in the control unit 21 (i) realizes a call function, a mail function, a character input function, etc., which are basic functions as a mobile phone, and also controls the above-described various hardware resources. 31A, and (ii) a handwriting drawing application 33A that displays and outputs on the screen of the display unit 13 a figure corresponding to the movement locus of the mobile phone device 10 by the user as a handwritten figure.

基本処理部31Aは、計測データ処理プログラム35Aを備えている。この計測データ処理プログラム35Aは、アプリケーション33からの計測データ処理指令に応じて、センサユニット25からの計測生データを収集し、携帯電話装置10の並進運動加速度を算出する等の処理して、記憶部23内の一時記憶領域24に格納する。そして、計測データ処理プログラム35Aは、手書描画アプリケーション33Aからの計測データ要求に応じて、記憶部23内の一時記憶領域24に記憶された処理済計測データを手書描画アプリケーション33Aへ送る。   The basic processing unit 31A includes a measurement data processing program 35A. This measurement data processing program 35A collects measurement raw data from the sensor unit 25 in response to a measurement data processing command from the application 33, performs processing such as calculating translational acceleration of the mobile phone device 10, and stores it. The data is stored in the temporary storage area 24 in the unit 23. Then, the measurement data processing program 35A sends the processed measurement data stored in the temporary storage area 24 in the storage unit 23 to the handwriting drawing application 33A in response to the measurement data request from the handwriting drawing application 33A.

計測データ処理プログラム35Aは、図4に示されるように、(i)計測データ処理プログラム35Aの全体及びセンサユニット25の動作を統括制御する計測データ処理制御部49と、(ii)センサユニット25からの計測生データを受け、加速度や基準姿勢からの回転角(以下、「姿勢角」ともいう)という物理量データに変換し、計測物理量データとして、一時記憶領域24に格納するデータ収集部41とを備えている。また、計測データ処理プログラム35Aは、(iii)静止された初期姿勢において得られた計測物理量データに基づいて、鉛直下方を特定する鉛直方向特定部42と、(iv)計測物理量データ内の姿勢角データそれぞれにおける時間変化率を導出する姿勢角変化率導出部43とを備えている。   As shown in FIG. 4, the measurement data processing program 35 </ b> A includes (i) a measurement data processing control unit 49 that controls the entire measurement data processing program 35 </ b> A and the operation of the sensor unit 25, and (ii) from the sensor unit 25. A data collection unit 41 that receives the measured raw data and converts it into physical quantity data such as acceleration and a rotation angle from the reference attitude (hereinafter also referred to as “attitude angle”), and stores the measured physical quantity data in the temporary storage area 24; I have. In addition, the measurement data processing program 35A includes (iii) a vertical direction specifying unit 42 that specifies a vertical downward direction based on measurement physical quantity data obtained in a stationary initial attitude, and (iv) an attitude angle in the measurement physical quantity data. An attitude angle change rate deriving unit 43 for deriving a time change rate in each data is provided.

また、計測データ処理プログラム35Aは、(v)計測物理量データ、特定された鉛直方向。既知の重力加速度の大きさ及び姿勢角の時間変化率に基づいて、回転角速度及び並進加速度を算出する並進加速度算出部45Aと、(vi)手書描画アプリケーション33Aからの計測データ要求に応じて、最新の並進加速度、回転加速度及び姿勢角を手書描画アプリケーション33Aへ通知するデータ通知部46とを備える。   In addition, the measurement data processing program 35A includes (v) measured physical quantity data and the specified vertical direction. Based on the known gravitational acceleration magnitude and the time rate of change of the posture angle, the translational acceleration calculation unit 45A that calculates the rotational angular velocity and the translational acceleration, and (vi) in response to a measurement data request from the handwriting drawing application 33A, A data notification unit 46 that notifies the handwriting drawing application 33A of the latest translational acceleration, rotational acceleration, and posture angle.

次に、上記のように構成された携帯電話装置10における計測データの処理について、主に図5〜図7を参照し、適宜他の図面を参照して説明する。   Next, measurement data processing in the mobile phone device 10 configured as described above will be described mainly with reference to FIGS. 5 to 7 and other drawings as appropriate.

携帯電話装置10における計測データの処理では、利用者が操作部12のキーを操作して、手書描画アプリケーション33Aの起動指令を入力すると、手書描画アプリケーション33Aが起動される。こうして、手書描画アプリケーション33Aが起動されると、図5に示されるように、手書描画アプリケーション33Aが、初期姿勢における鉛直方向特定を伴うことを指定した計測データ処理開始指令を、計測データ処理プログラム35Aへ向けて送る。計測データ処理プログラム35Aでは、計測データ処理制御部49が、この計測データ処理開始指令を受ける。そして、計測データ処理制御部49は、手書描画アプリケーション33Aからの指令を解析し、計測データ処理開始指令であることを認識する。引き続き、計測データ処理制御部49は、センサユニット25が動作中であるか否かを判定する。この判定が否定的であった場合には、計測データ処理制御部49は、センサユニット25へ向けて、センサ動作開始指令を送る。   In the processing of the measurement data in the mobile phone device 10, when the user operates the key of the operation unit 12 and inputs a start command for the handwriting drawing application 33A, the handwriting drawing application 33A is started. Thus, when the handwriting drawing application 33A is activated, as shown in FIG. 5, the handwriting drawing application 33A issues a measurement data processing start command specifying that the vertical direction specification in the initial posture is to be performed. Send to program 35A. In the measurement data processing program 35A, the measurement data processing control unit 49 receives this measurement data processing start command. Then, the measurement data processing control unit 49 analyzes a command from the handwriting drawing application 33A and recognizes that it is a measurement data processing start command. Subsequently, the measurement data processing control unit 49 determines whether or not the sensor unit 25 is operating. If this determination is negative, the measurement data processing control unit 49 sends a sensor operation start command to the sensor unit 25.

なお、センサ動作開始指令を受けると、センサユニット25は、センサ動作を開始し、センサ部26による検出結果をA/D変換器27によりデジタル化した後に、計測生データとして定期的(例えば、10msec周期)に制御部21(より詳しくは、データ収集部41)へ向けて出力する。   When receiving the sensor operation start command, the sensor unit 25 starts the sensor operation and digitizes the detection result by the sensor unit 26 by the A / D converter 27, and then periodically (for example, 10 msec) as measurement raw data. Output to the control unit 21 (more specifically, the data collection unit 41).

この後、手書描画アプリケーション33Aから鉛直方向特定指令を受けるまでは、計測データ処理プログラム35Aは、センサユニット25からの計測生データを受けても、物理量データへの変換等を行わないようになっている。そして、利用者が、携帯電話装置10を静止させたうえで、操作部12のキーを操作して、描画動作の開始を手書描画アプリケーション33Aに指令すると、手書描画アプリケーション33Aが、初期姿勢における鉛直方向特定指令を計測データ処理プログラム35Aへ向けて送る。計測データ処理プログラム35Aでは、計測データ処理制御部49が、この鉛直方向特定指令を受ける。そして、計測データ処理制御部49は、手書描画アプリケーション33Aからの指令を解析し、鉛直方向特定指令であることを認識する。引き続き、計測データ処理制御部49は、データ収集開始命令をデータ収集部41へ送る。   Thereafter, until the vertical direction specifying command is received from the handwriting drawing application 33A, even if the measurement data processing program 35A receives the measurement raw data from the sensor unit 25, the measurement data processing program 35A does not perform conversion to physical quantity data or the like. ing. Then, when the user operates the key of the operation unit 12 after the mobile phone device 10 is stopped, and instructs the handwriting drawing application 33A to start the drawing operation, the handwriting drawing application 33A has the initial posture. Is sent to the measurement data processing program 35A. In the measurement data processing program 35A, the measurement data processing control unit 49 receives this vertical direction specifying command. Then, the measurement data processing control unit 49 analyzes the command from the handwriting drawing application 33A and recognizes that it is a vertical direction specifying command. Subsequently, the measurement data processing control unit 49 sends a data collection start command to the data collection unit 41.

データ収集開始命令を受けると、データ収集部41は、データ収集動作を開始する。このデータ収集動作において、データ収集部41は、センサユニット25からの新たな計測生データを受ける度に、新たに受けた計測生データに基づいて、加速度や姿勢角の大きさを直接的に表す物理量データを算出する。そして、データ収集部41が、算出された物理量データを新たな計測物理量データとして一時記憶領域24に格納する。こうして新たな計測物理量データの一時記憶領域24への格納が完了すると、データ収集部41は、その旨を計測データ処理制御部49へ通知する。なお、一時記憶領域24は、いわゆるリングバッファとされている。   Upon receiving the data collection start command, the data collection unit 41 starts a data collection operation. In this data collection operation, the data collection unit 41 directly represents the magnitude of the acceleration and the posture angle based on the newly received measurement raw data each time new measurement raw data from the sensor unit 25 is received. Calculate physical quantity data. Then, the data collection unit 41 stores the calculated physical quantity data in the temporary storage area 24 as new measured physical quantity data. When the storage of new measured physical quantity data in the temporary storage area 24 is completed in this way, the data collection unit 41 notifies the measurement data processing control unit 49 to that effect. The temporary storage area 24 is a so-called ring buffer.

こうして、鉛直方向特定指令を受信後に新たな計測物理量データの一時記憶領域24への格納がされたことを認識した計測データ処理制御部49は、鉛直方向特定命令を鉛直方向特定部42へ送る。この鉛直方向特定命令を受けた鉛直方向特定部42は、ステップS19において、初期姿勢における鉛直方向の特定を行う。   In this way, the measurement data processing control unit 49 that has recognized that new measurement physical quantity data has been stored in the temporary storage area 24 after receiving the vertical direction specification command sends a vertical direction specification command to the vertical direction specification unit 42. Upon receiving this vertical direction specifying command, the vertical direction specifying unit 42 specifies the vertical direction in the initial posture in step S19.

ステップS19においては、鉛直方向特定部42は、まず、一時記憶領域24から鉛直方向特定指令を受信後における計測物理量データを読み出す。引き続き、読み出された計測物理量データにおけるX軸、Y軸及びZ軸方向の加速度データ、及び、重力加速度の大きさに基づいて、現段階において携帯電話装置10が静止していると考えてよいかを判定する。この判定結果が否定的であった場合には、次の計測物理量データを読み出す。   In step S <b> 19, the vertical direction specifying unit 42 first reads the measured physical quantity data after receiving the vertical direction specifying command from the temporary storage area 24. Subsequently, based on the acceleration data in the X-axis, Y-axis, and Z-axis directions in the read measurement physical quantity data, and the magnitude of gravitational acceleration, it may be considered that the mobile phone device 10 is stationary at this stage. Determine whether. If this determination result is negative, the next measured physical quantity data is read.

一方、判定結果が肯定的であった場合には、鉛直方向特定部42は、計測物理量データにおけるX軸、Y軸及びZ軸方向の加速度データに基づいて、鉛直方向を特定する。引き続き、鉛直方向特定部42は、初期状態におけるX軸、Y軸及びZ軸方向のそれぞれと鉛直方向とがなす角度を算出し、そのときの姿勢角データとともにを鉛直方向情報として、並進加速度算出部45Aへ送るとともに、鉛直方向が特定された旨を計測データ処理制御部49へ送る。   On the other hand, if the determination result is affirmative, the vertical direction specifying unit 42 specifies the vertical direction based on the acceleration data in the X-axis, Y-axis, and Z-axis directions in the measured physical quantity data. Subsequently, the vertical direction specifying unit 42 calculates the angle formed by each of the X-axis, Y-axis, and Z-axis directions in the initial state and the vertical direction, and calculates the translational acceleration using the posture angle data at that time as vertical direction information. The information is sent to the unit 45A, and the fact that the vertical direction is specified is sent to the measurement data processing control unit 49.

こうして鉛直方向が特定されると、計測データ処理プログラム35Aは、ステップS11Aの計測データ処理を開始する。このステップS11Aでは、図6に示されるように、まず、ステップS21において、データ収集部41が、センサユニット25からの新たな計測生データを受けたか否かを判定する。この判定が否定的であった場合には、ステップS21の処理が繰り返される。   When the vertical direction is specified in this way, the measurement data processing program 35A starts measurement data processing in step S11A. In step S <b> 11 </ b> A, as shown in FIG. 6, first, in step S <b> 21, it is determined whether or not the data collection unit 41 has received new measurement raw data from the sensor unit 25. If this determination is negative, the process of step S21 is repeated.

そして、データ収集部41がセンサユニット25からの新たな計測生データを受け、ステップS21において肯定的な判定がなされると、処理はステップS22へ移行する。このステップS22では、データ収集部41が、新たに受けた計測生データに基づいて、加速度や姿勢角の大きさを直接的に表す物理量データを算出する。こうして新たな計測物理量データの一時記憶領域24への格納が完了すると、データ収集部41は、その旨を計測データ処理制御部49へ通知する。   Then, when the data collection unit 41 receives new measurement raw data from the sensor unit 25 and a positive determination is made in step S21, the process proceeds to step S22. In step S22, the data collection unit 41 calculates physical quantity data that directly represents the magnitude of the acceleration and the posture angle based on the newly received measurement raw data. When the storage of new measured physical quantity data in the temporary storage area 24 is completed in this way, the data collection unit 41 notifies the measurement data processing control unit 49 to that effect.

次に、ステップS25Aにおいて、計測データ処理制御部49からの指令を受けた姿勢角変化率導出部43が、計測物理量データにおける姿勢角データに基づいて、最新の計測物理量データの収集時点とその前の計測物理量データの収集時点との間における姿勢角それぞれの時間変化率を導出する。姿勢角変化率導出部43は、以上のようにして導出された姿勢角の時間変化率を、最新の計測物理量データとともに、並進加速度算出部45Aへ送る。   Next, in step S25A, the posture angle change rate deriving unit 43, which has received a command from the measurement data processing control unit 49, collects the latest measured physical quantity data before and based on the attitude angle data in the measured physical quantity data. The time change rate of each attitude angle from the time when the measured physical quantity data is collected is derived. The posture angle change rate deriving unit 43 sends the time change rate of the posture angle derived as described above to the translational acceleration calculating unit 45A together with the latest measured physical quantity data.

次いで、ステップS26Aにおいて、並進加速度算出部45Aが、姿勢角の時間変化率を、最新の計測物理量データ、並びに鉛直方向情報に基づいて、並進加速度及び回転加速度を算出する。かかる算出に際しては、まず、並進加速度算出部45Aは、鉛直方向情報、最新の計測物理量データにおける姿勢角データ及び既知の重力加速度の大きさに基づいて、X軸方向、Y軸方向及びZ軸方向における重力加速度の成分を算出する。引き続き、並進加速度算出部45Aは、最新の計測物理量データにおける加速度データから、重力加速度の成分を除去する。次に、並進加速度算出部45Aは、姿勢角の時間変化率を考慮した補正を行うことにより、並進加速度を算出する。   Next, in step S26A, the translational acceleration calculation unit 45A calculates the translational acceleration and the rotational acceleration based on the time change rate of the posture angle based on the latest measured physical quantity data and the vertical direction information. In this calculation, first, the translational acceleration calculation unit 45A determines the X-axis direction, the Y-axis direction, and the Z-axis direction based on the vertical direction information, the attitude angle data in the latest measured physical quantity data, and the known magnitude of gravitational acceleration. Calculate the gravitational acceleration component at. Subsequently, the translational acceleration calculation unit 45A removes the gravitational acceleration component from the acceleration data in the latest measured physical quantity data. Next, the translational acceleration calculation unit 45A calculates the translational acceleration by performing correction in consideration of the time change rate of the posture angle.

こうして、並進加速度が算出されると、並進加速度算出部45Aは、一時記憶領域24に、算出された並進加速度及び姿勢角を1組の通知用データとして格納する。こうして、ステップS26Aが終了する。以後、計測データ処理の停止要求を手書描画アプリケーション33Aから受けるまで、計測データ処理プログラム35Aは、ステップS21〜S26Aを繰り返す。   When the translational acceleration is calculated in this way, the translational acceleration calculating unit 45A stores the calculated translational acceleration and posture angle in the temporary storage area 24 as a set of notification data. Thus, step S26A is completed. Thereafter, the measurement data processing program 35A repeats steps S21 to S26A until a measurement data processing stop request is received from the handwriting drawing application 33A.

図5に戻り、上記のステップS11Aの計測データ処理における所望の時点で、手書描画アプリケーション33Aが、データ要求を、計測データ処理プログラム35Aへ向けて送る。計測データ処理プログラム35Aでは、計測データ処理制御部49が、このデータ要求を受け、手書描画アプリケーション33Aからの指令を解析し、手書描画アプリケーション33Aからのデータ要求であることを認識する。そして、計測データ処理制御部49は、データ通知部46に対して、手書描画アプリケーション33Aへの通知用データの通知指令を行う。この指令を受けたデータ通知部46は、ステップS121のデータ通知処理を行う。 Returning to FIG. 5, at a desired time in the measurement data processing of step S11A, the handwriting drawing application 33A sends a data request to the measurement data processing program 35A. In the measurement data processing program 35A, the measurement data processing control unit 49 receives this data request, analyzes a command from the handwriting drawing application 33A, and recognizes that the data request is from the handwriting drawing application 33A. Then, the measurement data processing control unit 49 instructs the data notification unit 46 to notify the handwriting drawing application 33A of notification data. Data notification unit 46 which has received this instruction performs data notification process in step S12 1.

ステップS121では、まず、データ通知部46が、一時記憶領域24から通知用データを読み出す。引き続き、データ通知部46は、読み出された通知用データを手書描画アプリケーション33Aへ通知する。こうして、ステップS121の処理が終了する。 In step S12 1, first, data notifying unit 46 reads the notification data from the temporary storage area 24. Subsequently, the data notification unit 46 notifies the handwritten drawing application 33A of the read notification data. Thus, the process of step S12 1 is completed.

以上のようにして、計測データ処理が行われることにより、手書描画アプリケーション33Aは、所望の時点におけるデータ要求の発行により、最新の並進加速度及び姿勢角を取得することができる。   By performing measurement data processing as described above, the handwriting drawing application 33A can acquire the latest translational acceleration and posture angle by issuing a data request at a desired time.

なお、ステップS11Aの計測データ処理は、ステップS121のデータ通知処理の実行中も並行して実行されるし、ステップS121のデータ通知処理の実行終了後も継続して実行される。このため、手書描画アプリケーション33Aは、所望の時点で何度でもデータ要求を発行することにより、最新の並進加速度及び姿勢角を取得することができる。 The measurement data processing step S11A is to be running the data notification process in step S12 1 are performed in parallel, the step S12 1 after completion of execution of the data notification process is also performed continuously. Therefore, the handwriting drawing application 33A can acquire the latest translational acceleration and posture angle by issuing a data request as many times as desired.

また、ステップS11Aの計測データ処理は、手書描画アプリケーション33Aが、所望の時に、データ収集停止要求を発行することにより終了する。また、手書描画アプリケーション33Aがセンサ動作停止要求を発行すると、これを受けた計測データ処理プログラム35A(より詳しくは、計測データ処理制御部49)は、センサユニット25へ向けて、センサ動作停止指令を送る。この結果、センサユニット25の動作が停止する。   The measurement data processing in step S11A ends when the handwriting drawing application 33A issues a data collection stop request when desired. In addition, when the handwriting drawing application 33A issues a sensor operation stop request, the measurement data processing program 35A (more specifically, the measurement data processing control unit 49) that has received this request issues a sensor operation stop command to the sensor unit 25. Send. As a result, the operation of the sensor unit 25 is stopped.

以上のように行われるデータ処理の結果として得られる並進加速度及び姿勢角を利用して行われる、手書描画アプリケーション33Aによる描画出力処理について説明する。なお、手書描画アプリケーション33Aにおいては、利用者が操作部のキーの内における手書描画アプリケーション33Aの実行中に描画指定用のキーとして定義される描画指定キーが押下されていない期間は、携帯電話装置の運動に応じてカーソルのみが表示部13の画面上を移動し、描画指定キーが押下されている期間は、携帯電話装置10の運動軌跡に応じた線描画が表示部13の画面上においてなされるものとする。また、携帯電話装置の運動距離に対応する表示部13の画面上における移動距離は、手書描画アプリケーション33Aにおいて予め定められているものとする。   A drawing output process by the handwriting drawing application 33A performed using the translational acceleration and the posture angle obtained as a result of the data processing performed as described above will be described. In the handwriting drawing application 33A, during the period when the user does not press the drawing designation key defined as the drawing designation key during the execution of the handwriting drawing application 33A among the keys of the operation unit. Only the cursor moves on the screen of the display unit 13 according to the movement of the telephone device, and during the period when the drawing designation key is pressed, the line drawing corresponding to the movement locus of the mobile phone device 10 is displayed on the screen of the display unit 13. Shall be made in Further, it is assumed that the moving distance on the screen of the display unit 13 corresponding to the movement distance of the mobile phone device is predetermined in the handwriting drawing application 33A.

上述のステップS19(図5参照)において鉛直方向が特定され、その旨が通知されると、手書描画アプリケーション33Aは、図7(A)に示されるように、表示部13の画面上の中央位置にカーソルCSを表示させる。引き続き、利用者が所望の描画開始位置にカーソルCSを移動させるために、描画指定キーを押下しない状態で、携帯電話装置10を画面の左上方向に運動すると、カーソルCSが画面上を左上方向へ移動する。こうして、カーソルCSが描画開始位置に移動した場合の表示例が図7(B)に示されている。なお、本実施形態においては、手書描画アプリケーション33Aは、計測データ処理プログラムから受けたX軸方向、Y軸方向及びZ軸方向の成分を有する3次元加速度の初期姿勢時におけるXY平面への射影結果に基づいて、表示部13における画面上におけるカーソルCSの移動量及び移動方向を算出するようになっている。   When the vertical direction is specified in step S19 (see FIG. 5) and notified to that effect, the handwriting drawing application 33A displays the center on the screen of the display unit 13 as shown in FIG. The cursor CS is displayed at the position. Subsequently, when the user moves the mobile phone device 10 in the upper left direction of the screen without pressing the drawing designation key in order to move the cursor CS to a desired drawing start position, the cursor CS moves in the upper left direction on the screen. Moving. An example of display when the cursor CS is moved to the drawing start position is shown in FIG. In this embodiment, the handwriting drawing application 33A projects the three-dimensional acceleration having the components in the X-axis direction, the Y-axis direction, and the Z-axis direction received from the measurement data processing program onto the XY plane. Based on the result, the moving amount and moving direction of the cursor CS on the screen in the display unit 13 are calculated.

カーソルCSが画面上の描画開始位置に到達すると、利用者は、描画指定キーを押下する。そして、利用者は、描画したい図形に対応する運動軌跡を描くように、携帯電話装置10を運動させる。この結果、携帯電話装置10の運動軌跡に対応するカーソルCSの移動軌跡に沿って線が画面上に描画される。こうした描画の一例が、図7(C)に示されている。   When the cursor CS reaches the drawing start position on the screen, the user presses a drawing designation key. Then, the user moves the mobile phone device 10 so as to draw a motion trajectory corresponding to the figure to be drawn. As a result, a line is drawn on the screen along the movement locus of the cursor CS corresponding to the movement locus of the mobile phone device 10. An example of such drawing is shown in FIG.

利用者が、以上の描画指定キーを押下しない状態における携帯電話装置10の運動、及び、押下した状態における携帯電話装置10の運動を適宜組み合わせて行わせることにより、携帯電話装置の運動軌跡を精度良く反映した図形が表示部13の画面上に描画される。   By allowing the user to appropriately combine the movement of the mobile phone device 10 in a state where the drawing designation key is not pressed and the movement of the mobile phone device 10 in the pressed state, the movement trajectory of the mobile phone device is accurately obtained. A figure that is well reflected is drawn on the screen of the display unit 13.

こうして行われた描画結果をGIF(Graphic Interchange Format)、JPEG(Joint Photographic Experts Group)又はSVG(Scalable Vector Graphics)等の形式のファイルとし、電子メールに添付したり、HTTP(HyperText Transfer Protocol)等のプロトコルにより送信することにより、所望の相手に描画結果を送信することができる。   The drawing result thus made is a file in a format such as GIF (Graphic Interchange Format), JPEG (Joint Photographic Experts Group), or SVG (Scalable Vector Graphics), and is attached to an e-mail, HTTP (HyperText Transfer Protocol), etc. By transmitting by the protocol, the drawing result can be transmitted to a desired partner.

また、描画結果ではなく、描画に利用した画面上の始点位置及びその後の画面上における位置遷移情報を、描画指定キーの操作情報等とともに、電子メールに添付したり、HTTP等のプロトコルにより送信することにより、所望の相手に描画情報を送信することができる。   Also, instead of the drawing result, the starting point position on the screen used for drawing and the position transition information on the subsequent screen are attached to an e-mail or transmitted by a protocol such as HTTP together with operation information of the drawing designation key. Thus, the drawing information can be transmitted to a desired partner.

以上説明したように、本第1実施形態では、計測データ処理プログラム35Aのデータ収集部41が、携帯電話装置10において固有に定義される互いに直交するX軸、Y軸及びZ軸それぞれに沿った方向の加速度の計測結果、並びに姿勢角の計測結果を収集する。引き続き、計測データ処理プログラム35Aの並進加速度算出部45Aが、データ収集部41による収集結果に基づいて、並進加速度を算出する。そして、手書描画アプリケーション33Aのデータ要求に応答して、計測データ処理プログラム35Aのデータ通知部46が、最新の並進加速度及び姿勢角を手書描画アプリケーション33Aへ通知する。そして、手書描画アプリケーション33Aが、通知された並進加速度及び姿勢角に基づいて、携帯電話装置10の運動軌跡に対応する図形を表示部13の画面上に描画する。   As described above, in the first embodiment, the data collection unit 41 of the measurement data processing program 35A is along each of the X axis, the Y axis, and the Z axis that are uniquely defined in the mobile phone device 10 and are orthogonal to each other. Collect direction acceleration measurement results and attitude angle measurement results. Subsequently, the translational acceleration calculation unit 45A of the measurement data processing program 35A calculates the translational acceleration based on the collection result by the data collection unit 41. In response to the data request of the handwriting drawing application 33A, the data notification unit 46 of the measurement data processing program 35A notifies the handwriting drawing application 33A of the latest translational acceleration and posture angle. Then, the handwriting drawing application 33A draws a graphic corresponding to the movement locus of the mobile phone device 10 on the screen of the display unit 13 based on the notified translational acceleration and posture angle.

したがって、本第1実施形態によれば、携帯電話装置10に搭載されたセンサユニット25による検出結果に基づいて、携帯電話装置10の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した図形を表示部13の画面上に描画出力することができる。   Therefore, according to the first embodiment, the movement trajectory of the mobile phone device 10 is accurately obtained based on the detection result by the sensor unit 25 mounted on the mobile phone device 10, and the obtained high-precision motion trajectory is obtained. The corresponding figure can be drawn and output on the screen of the display unit 13.

また、鉛直方向特定部42が、静止された初期姿勢におけるセンサユニット25に検出結果に基づいて鉛直方向を特定する。そして、特定された鉛直方向を利用して、その後の加速度の検出結果からの重力加速度の除去を行う。このため、地球上の位置により水平面に対する傾きが異なる地磁気方向を検出する本実施形態の姿勢角センサを用いる場合であっても、動作中に地磁気方向の変化が無視できる程度の移動しかなされない範囲においてであれば、鉛直方向を精度良く特定することができる。   Further, the vertical direction specifying unit 42 specifies the vertical direction based on the detection result in the sensor unit 25 in the stationary initial posture. Then, using the specified vertical direction, gravity acceleration is removed from the subsequent acceleration detection result. For this reason, even in the case of using the attitude angle sensor of the present embodiment that detects the geomagnetic direction having a different inclination with respect to the horizontal plane depending on the position on the earth, a range in which the change in the geomagnetic direction is negligible during operation. In the case of, the vertical direction can be specified with high accuracy.

また、並進加速度算出部45Aが、その時点における姿勢角に基づいて、X軸方向、Y軸方向及びZ軸方向における重力加速度の成分を精度良く推定し、X軸方向、Y軸方向及びZ軸方向についての加速度の計測結果から重力加速度成分を除去する。したがって、重力加速度の成分が的確に除去された加速度を、並進加速度として得ることができる。   Further, the translational acceleration calculation unit 45A accurately estimates the components of gravitational acceleration in the X-axis direction, the Y-axis direction, and the Z-axis direction based on the posture angle at that time, and the X-axis direction, the Y-axis direction, and the Z-axis The gravitational acceleration component is removed from the measurement result of acceleration in the direction. Therefore, an acceleration from which the gravitational acceleration component is accurately removed can be obtained as a translational acceleration.

また、並進加速度算出部45Aは、姿勢角変化率導出部43により得られた姿勢角変化率を考慮した補正を行って、並進加速度を算出する。このため、姿勢変化によって生じる回転加速度の大きさを考慮された並進加速度を得ることができる。   Further, the translational acceleration calculating unit 45A performs a correction in consideration of the posture angle change rate obtained by the posture angle change rate deriving unit 43, and calculates the translational acceleration. For this reason, it is possible to obtain a translational acceleration in consideration of the magnitude of the rotational acceleration caused by the posture change.

なお、上記の第1実施形態では、地磁気方向を検出することにより、地磁気方向によって定まる基準姿勢からの回転角を検出することにしたが、位置や時間により変化することのない基準姿勢からの回転角を検出するようにすれば、鉛直方向特定部42が不要となる。   In the first embodiment, the rotation angle from the reference posture determined by the geomagnetic direction is detected by detecting the geomagnetic direction. However, the rotation from the reference posture that does not change depending on the position and time. If the corner is detected, the vertical direction specifying unit 42 becomes unnecessary.

また、上記の第1実施形態では、X軸方向、Y軸方向及びZ軸方向の加速度を検出するようにしたが、例えば、X軸方向及びY軸方向の2軸方向について加速度を検出するようにすることもできる。この場合には、上記の計測データ処理プログラム35Aに代えて、図8に示されるように、姿勢角変化率導出部43の代りに初期姿勢からの姿勢変化を監視する姿勢角変化監視部44を備えるとともに、並進加速度算出部45Aの代りにX軸方向及びY軸方向の並進加速度を算出する並進加速度算出部45Bを備える計測データ処理プログラム35Bを採用することが望ましい。こうした構成においては、姿勢角変化監視部44が、姿勢角変化が所望の描画精度を確保できる所定範囲の外になったときに、その旨を、計測データ処理制御部49を介して、手書描画アプリケーション33Aへ通知するようにする。   In the first embodiment, the acceleration in the X-axis direction, the Y-axis direction, and the Z-axis direction is detected. For example, the acceleration is detected in the two-axis directions of the X-axis direction and the Y-axis direction. It can also be. In this case, instead of the measurement data processing program 35A, as shown in FIG. 8, instead of the posture angle change rate deriving unit 43, a posture angle change monitoring unit 44 for monitoring the posture change from the initial posture is provided. It is desirable to employ a measurement data processing program 35B including a translation acceleration calculation unit 45B that calculates translation acceleration in the X-axis direction and the Y-axis direction instead of the translation acceleration calculation unit 45A. In such a configuration, when the posture angle change monitoring unit 44 falls outside the predetermined range in which the desired drawing accuracy can be ensured, the fact is notified via the measurement data processing control unit 49. The drawing application 33A is notified.

なお、図8においては、上記の第1実施形態の場合と同一又は同等の要素には、同一の符号を付し、重複する説明を省略した。   In FIG. 8, the same or equivalent elements as those in the case of the first embodiment are denoted by the same reference numerals, and redundant description is omitted.

また、上記の第1実施形態では、並進加速度算出部45Aが、鉛直方向情報、最新の計測物理量データにおける姿勢角データ及び既知の重力加速度の大きさに基づいて、X軸方向、Y軸方向及びZ軸方向における重力加速度の成分を算出するようにした。これに対して、並進加速度算出部45Aが、X軸方向、Y軸方向及びZ軸方向のそれぞれに関する加速度の計測結果の時間変化について低周波成分(直流成分を評価できる成分)を算出し、これらをX軸方向、Y軸方向及びZ軸方向に関する重力加速度の成分と推定するとともに、更に鉛直方向を推定するようにすることもできる。かかる推定は、手動による携帯電話装置10の運動の場合、通常、その運動に寄与する加速度は刻々変化し、直流成分と評価できる成分は含まず、直流成分と評価できる成分は、一定の信頼性で重力加速度と推定することができるとの発明者の知見に基づくものである。   In the first embodiment, the translational acceleration calculation unit 45A performs the X-axis direction, the Y-axis direction, and the vertical direction information, the attitude angle data in the latest measured physical quantity data, and the known magnitude of gravitational acceleration. The gravitational acceleration component in the Z-axis direction is calculated. On the other hand, the translational acceleration calculation unit 45A calculates a low frequency component (a component capable of evaluating a direct current component) with respect to a time change of an acceleration measurement result for each of the X axis direction, the Y axis direction, and the Z axis direction. Can be estimated as a component of gravitational acceleration in the X-axis direction, Y-axis direction, and Z-axis direction, and the vertical direction can also be estimated. In this estimation, in the case of manual movement of the mobile phone device 10, the acceleration that contributes to the movement usually changes every moment, does not include a component that can be evaluated as a DC component, and a component that can be evaluated as a DC component has a certain reliability. This is based on the inventor's knowledge that it can be estimated as gravitational acceleration.

この場合には、並進加速度算出部45Aが、上記のように推定された鉛直方向とその時点でのX軸方向、Y軸方向及びZ軸方向のそれぞれとのなす角度を算出するとともに、最新の計測物理量データにおける加速度データから、重力加速度の成分を除去した後、姿勢角の時間変化率を考慮した補正を行うことにより、並進加速度を算出する。これらの算出結果を手書描画アプリケーション33Aへ報告することにより、上記の第1実施形態の場合と同様に、携帯電話装置10の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した図形を表示部13の画面上に描画出力することができる。   In this case, the translational acceleration calculation unit 45A calculates the angle between the vertical direction estimated as described above and the X-axis direction, the Y-axis direction, and the Z-axis direction at that time, and the latest After removing the gravitational acceleration component from the acceleration data in the measured physical quantity data, the translational acceleration is calculated by performing correction in consideration of the time change rate of the posture angle. By reporting these calculation results to the handwriting drawing application 33A, as in the case of the first embodiment described above, the movement trajectory of the mobile phone device 10 can be obtained with high accuracy and the obtained high-precision movement trajectory can be handled. The drawn figure can be drawn and output on the screen of the display unit 13.

<第2実施形態>
以下、本発明の第2実施形態を、主に図9〜図12を参照して説明する。なお、本第2実施形態の説明に際して、上記の第1実施形態の場合と同一又は同等の要素には、同一の符号を付し、重複する説明を省略する。
Second Embodiment
Hereinafter, a second embodiment of the present invention will be described mainly with reference to FIGS. In the description of the second embodiment, the same or equivalent elements as those in the first embodiment are denoted by the same reference numerals, and redundant description is omitted.

本実施形態に係る携帯電話装置10Cは、図9に示されるように、情報処理装置50に対して、携帯電話装置10Cの運動軌跡情報を通知することができるものあり、情報処理装置50にとっては、マウスと同様のポインティングデバイスとして機能するものである。   As shown in FIG. 9, the mobile phone device 10 </ b> C according to the present embodiment can notify the information processing device 50 of the motion trajectory information of the mobile phone device 10 </ b> C. It functions as a pointing device similar to a mouse.

この携帯電話装置10Cは、図10に示されるように、操作部12が、上記の第1実施形態の場合と比べて、2ボタンマウスの左ボタン及び右ボタンに相当する左クリックキー12L及び右クリックキー12Rを更に備えている。また、携帯電話装置10Cは、図11に示されるように、上記の第1実施形態の場合と比べて、制御部21に接続され、情報処理装置50へ運動軌跡情報を送るための外部インターフェース29を更に備えている。また、携帯電話装置10Cの制御部21で実行されるソフトウエアは、図12に示されるように、第1実施形態における手書描画アプリケーションに代えて、各時点の運動軌跡情報である携帯電話装置10Cの移動情報、及び、左クリックキー12L又は右クリックキー12Rの押下を、外部インターフェース29を介して、情報処理装置50へ送るマウスアプリケーション33Cを備えている。   As shown in FIG. 10, in the mobile phone device 10 </ b> C, the operation unit 12 has a left click key 12 </ b> L corresponding to a left button and a right button of a two-button mouse and a right button as compared with the case of the first embodiment. A click key 12R is further provided. Further, as shown in FIG. 11, the mobile phone device 10 </ b> C is connected to the control unit 21 as compared with the case of the first embodiment, and an external interface 29 for sending motion trajectory information to the information processing device 50. Is further provided. Further, as shown in FIG. 12, the software executed by the control unit 21 of the mobile phone device 10C is a mobile phone device that is motion trajectory information at each time point, instead of the handwriting drawing application in the first embodiment. A mouse application 33 </ b> C is provided that sends the movement information of 10 </ b> C and the pressing of the left click key 12 </ b> L or the right click key 12 </ b> R to the information processing apparatus 50 via the external interface 29.

次に、上記のように構成された携帯電話装置10Cにおける計測データの処理について説明する。   Next, measurement data processing in the mobile phone device 10C configured as described above will be described.

携帯電話装置10Cにおける計測データの処理では、利用者が操作部12のキーを操作して、マウスアプリケーション33Cの起動指令を入力すると、マウスアプリケーション33Cが起動される。こうして、マウスアプリケーション33Cが起動されると、第1実施形態の場合と同様に、マウスアプリケーション33Cが、初期姿勢における鉛直方向特定を伴うことを指定した計測データ処理開始指令を、計測データ処理プログラム35Aへ向けて送る。計測データ処理開始指令を受けた計測データ処理プログラム35Aでは、第1実施形態の場合と同様にして、計測データ処理制御部49が、センサユニット25が動作中でない場合には、センサユニット25へ向けて、センサ動作開始指令を送り、センサ動作を開始させる。   In the processing of the measurement data in the mobile phone device 10C, when the user operates the key of the operation unit 12 and inputs an activation command for the mouse application 33C, the mouse application 33C is activated. Thus, when the mouse application 33C is activated, as in the case of the first embodiment, the measurement data processing program 35A issues a measurement data processing start command that specifies that the mouse application 33C is accompanied by specifying the vertical direction in the initial posture. To send to. In the measurement data processing program 35A that has received the measurement data processing start instruction, as in the case of the first embodiment, the measurement data processing control unit 49 directs the sensor unit 25 to the sensor unit 25 when the sensor unit 25 is not operating. Then, a sensor operation start command is sent to start the sensor operation.

この後、マウスアプリケーション33Cから鉛直方向特定指令を受けると、計測データ処理制御部49による制御のもとで、データ収集部41は、データ収集動作を開始した後、鉛直方向特定部42が、初期姿勢における鉛直方向の特定を行う。   Thereafter, when a vertical direction specifying command is received from the mouse application 33C, under the control of the measurement data processing control unit 49, the data collecting unit 41 starts the data collecting operation, and then the vertical direction specifying unit 42 performs initial initialization. The vertical direction in the posture is specified.

こうして鉛直方向が特定されると、計測データ処理プログラム35Aが、第1実施形態の場合と同様にして、計測データ処理を開始する。この結果、マウスアプリケーション33Cは、所望の時点におけるデータ要求の発行により、最新の並進加速度及び姿勢角を取得することができる。   When the vertical direction is specified in this way, the measurement data processing program 35A starts measurement data processing in the same manner as in the first embodiment. As a result, the mouse application 33C can acquire the latest translational acceleration and posture angle by issuing a data request at a desired time.

また、計測データ処理プログラム35Aによる計測データ処理は、第1実施形態の場合と同様に、マウスアプリケーション33Cが、所望の時に、データ収集停止要求を発行することにより終了する。また、マウスアプリケーション33Cがセンサ動作停止要求を発行することにより、第1実施形態の場合と同様に、センサユニット25の動作が停止する。   The measurement data processing by the measurement data processing program 35A is terminated when the mouse application 33C issues a data collection stop request when desired, as in the case of the first embodiment. Further, when the mouse application 33C issues a sensor operation stop request, the operation of the sensor unit 25 is stopped as in the case of the first embodiment.

以上のように行われる計測データ処理の結果として得られる並進加速度及び姿勢角をマウスアプリケーション33Cが取得すると、マウスアプリケーション33Cは、並進加速度に基づいて、運動軌跡を求め、前回に運動軌跡を求めた時点からの携帯電話装置10Cの3次元移動量を算出する。そして、マウスアプリケーション33Cは、算出された3次元移動量を、外部インターフェース29を介して、情報処理装置50へ送る。   When the mouse application 33C obtains the translational acceleration and the posture angle obtained as a result of the measurement data processing performed as described above, the mouse application 33C obtains a motion trajectory based on the translational acceleration and obtains the motion trajectory last time. The three-dimensional movement amount of the mobile phone device 10C from the time is calculated. Then, the mouse application 33C sends the calculated three-dimensional movement amount to the information processing apparatus 50 via the external interface 29.

また、マウスアプリケーション33Cは、利用者が左クリックキー12L又は右クリックキー12Rを押下すると、直ちにその旨を、外部インターフェース29を介して、情報処理装置50へ送る。   Further, when the user presses the left click key 12L or the right click key 12R, the mouse application 33C immediately sends a message to that effect to the information processing apparatus 50 via the external interface 29.

こうした動作の結果、情報処理装置50には、2ボタンマウスの場合と同様の情報が、携帯電話装置10Cから提供される。   As a result of such an operation, the information processing device 50 is provided with the same information as in the case of the two-button mouse from the mobile phone device 10C.

以上説明したように、本第2実施形態では、第1実施形態の場合と同様にして精度良く得られた並進加速度に基づいて求められ、マウスアプリケーション33Cに通知される。そして、マウスアプリケーション33Cは、通知された並進加速度を利用して、携帯電話装置10Cの移動量を求め、情報処理装置50へ通知する。また、マウスアプリケーション33Cは、左クリックキー12L又は右クリックキー12Rの押下情報を、情報処理装置50へ通知する。   As described above, in the second embodiment, it is obtained based on the translation acceleration obtained with high accuracy as in the case of the first embodiment, and is notified to the mouse application 33C. Then, the mouse application 33C obtains the amount of movement of the mobile phone device 10C using the notified translational acceleration, and notifies the information processing device 50 of it. In addition, the mouse application 33C notifies the information processing apparatus 50 of pressing information of the left click key 12L or the right click key 12R.

したがって、本第2実施形態によれば、精度の良い携帯電話装置10Cの移動量の情報を、情報処理装置50に供給することができる。   Therefore, according to the second embodiment, it is possible to supply the information on the movement amount of the mobile phone device 10C with high accuracy to the information processing device 50.

なお、上記の第2実施形態では、3次元移動量の情報を情報処理装置50へ供給するようにしたが、初期状態におけるXY平面内の移動量という2次元移動量の情報を情報処理装置50へ供給するようにすることもできる。   In the second embodiment, information on the three-dimensional movement amount is supplied to the information processing apparatus 50. However, information on the two-dimensional movement amount, which is the movement amount in the XY plane in the initial state, is processed. It can also be made to supply.

また、上記の第2実施形態では、前回に運動軌跡を求めた時点からの携帯電話装置10Cの3次元移動量を情報処理装置50へ送るようにしたが、例えば、始点位置を基準位置(例えば、原点位置)とした場合における各時点の位置等といった運動軌跡を特定できる情報であれば、どのような形式の情報を送るようにしてもよい。   In the second embodiment, the three-dimensional movement amount of the mobile phone device 10C from the time when the motion trajectory is obtained last time is sent to the information processing device 50. For example, the start point position is set as a reference position (for example, As long as it is information that can specify the movement locus such as the position at each time point in the case of the origin position), any type of information may be sent.

また、上記の第2実施形態では、X軸方向、Y軸方向及びZ軸方向の加速度を検出するようにしたが、例えば、X軸方向及びY軸方向の2軸方向について加速度を検出するようにすることもできる。この場合には、図8を参照して説明した第1実施形態に対する変形と同様の変形を施すことが好ましい。   In the second embodiment, the acceleration in the X-axis direction, the Y-axis direction, and the Z-axis direction is detected. For example, the acceleration is detected in the two-axis directions of the X-axis direction and the Y-axis direction. It can also be. In this case, it is preferable to apply a modification similar to the modification of the first embodiment described with reference to FIG.

また、上記の第2実施形態においても、第1実施形態の場合と同様に、並進加速度の算出に関する変形をすることができる。   Also in the second embodiment, as in the case of the first embodiment, it is possible to make a modification related to the calculation of the translational acceleration.

外部インターフェース29は、無線仕様であってもよいし、有線仕様であってもよい。   The external interface 29 may be wireless or wired.

上記の第1及び第2実施形態では、本発明を携帯電話装置に適用したが、携帯電話装置以外の携帯情報装置に本発明を適用することができることは、勿論である。   In the first and second embodiments described above, the present invention is applied to a mobile phone device, but it is needless to say that the present invention can be applied to a portable information device other than the mobile phone device.

以上説明したように、本発明の運動軌跡情報処理方法及び携帯情報装置は、携帯情報装置の運動軌跡を精度良く求め、求められた高精度の運動軌跡に対応した情報を出力する際に適用することができる。   As described above, the motion trajectory information processing method and the portable information device of the present invention are applied when accurately obtaining the motion trajectory of the portable information device and outputting information corresponding to the obtained highly accurate motion trajectory. be able to.

本発明の第1実施形態に係る携帯電話装置の外観構成を概略的に示す図である。1 is a diagram schematically showing an external configuration of a mobile phone device according to a first embodiment of the present invention. 図1の携帯電話装置の構成を説明するための機能ブロック図である。It is a functional block diagram for demonstrating the structure of the mobile telephone apparatus of FIG. 図2の制御部で実行されるソフトウエアの構成を説明するための図である。It is a figure for demonstrating the structure of the software performed by the control part of FIG. 図3の計測データ処理プログラムの構成を説明するための機能ブロック図である。It is a functional block diagram for demonstrating the structure of the measurement data processing program of FIG. 図1の携帯電話装置における計測データ処理を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the measurement data process in the mobile telephone apparatus of FIG. 図5における計測データ処理ステップにおける処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process in the measurement data processing step in FIG. 表示部の画面における表示例を説明するための図である。It is a figure for demonstrating the example of a display in the screen of a display part. 計測データ処理プログラムの変形例を説明するための図である。It is a figure for demonstrating the modification of a measurement data processing program. 本発明の第2実施形態に係る携帯電話装置の利用法を説明するための図である。It is a figure for demonstrating the usage method of the mobile telephone apparatus which concerns on 2nd Embodiment of this invention. 図9の携帯電話装置の外観構成を概略的に示す図である。It is a figure which shows schematically the external appearance structure of the mobile telephone apparatus of FIG. 図9の携帯電話装置の構成を説明するための機能ブロック図である。It is a functional block diagram for demonstrating the structure of the mobile telephone apparatus of FIG. 図11の制御部で実行されるソフトウエアの構成を説明するための図である。It is a figure for demonstrating the structure of the software performed by the control part of FIG.

符号の説明Explanation of symbols

10,10C…携帯電話装置(携帯情報装置)、11…携帯電話本体、12…操作部、13…表示部、14…通話用スピーカ、15…マイクロフォン、16…案内用スピーカ、17…アンテナ、21…制御部、22…送受信部、23…記憶部、24…一時記憶領域、25…センサユニット、26…センサ部、27…A/D変換器、29…外部インターフェース、31A…基本処理部、33A…手書描画アプリケーション、33C…マウスアプリケーション、35A,35B…計測データ処理プログラム、41…データ収集部、42…鉛直方向特定部、43…姿勢角変化率導出部、45A,45B…並進加速度算出部、46…データ通知部、49…計測データ処理制御部、50…情報処理装置。

DESCRIPTION OF SYMBOLS 10,10C ... Cell-phone apparatus (portable information apparatus), 11 ... Cell-phone main body, 12 ... Operation part, 13 ... Display part, 14 ... Speaker for call, 15 ... Microphone, 16 ... Speaker for guidance, 17 ... Antenna, 21 Control unit, 22 Transmission / reception unit, 23 Storage unit, 24 Temporary storage area, 25 Sensor unit, 26 Sensor unit, 27 A / D converter, 29 External interface, 31A Basic processing unit, 33A ... hand drawing application, 33C ... mouse application, 35A, 35B ... measurement data processing program, 41 ... data collection unit, 42 ... vertical direction identification unit, 43 ... posture angle change rate derivation unit, 45A, 45B ... translation acceleration calculation unit , 46 ... Data notification unit, 49 ... Measurement data processing control unit, 50 ... Information processing device.

Claims (9)

携帯情報装置において固有に定義される第1軸、前記第1軸と直交する第2軸、並びに前記第1軸及び前記第2軸と直交する第3軸のうちの少なくとも2つの軸方向に沿った加速度と、前記携帯情報装置の基準姿勢からの回転角を検出するセンサによる検出結果に基づいて、前記携帯情報装置の運動軌跡を求め、前記運動軌跡に対応する情報を出力する運動軌跡情報処理方法であって、
前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った並進運動加速度成分を算出する並進運動加速度算出工程と;
前記並進運動加速度算出工程において算出された並進運動加速度成分に基づいて、前記携帯情報装置の運動軌跡を算出する運動軌跡算出工程と;
前記運動軌跡算出工程において算出された運動軌跡に対応する情報を出力する運動軌跡情報出力工程と;を備え
前記並進運動加速度算出工程は、
前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った加速度の変化の低周波成分を算出することにより、前記少なくとも2つの軸方向に沿った重力加速度の成分を推定するとともに、鉛直方向を推定する重力加速度推定工程と;
前記重力加速度推定工程における推定結果を使用して、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果を補正し、前記並進運動加速度を算出する加速度補正工程と;を備える
ことを特徴とする運動軌跡情報処理方法。
Along at least two axial directions of a first axis uniquely defined in the portable information device, a second axis orthogonal to the first axis, and a third axis orthogonal to the first axis and the second axis Motion trajectory information processing that obtains a motion trajectory of the mobile information device based on the detected acceleration and a detection result by a sensor that detects a rotation angle from a reference posture of the mobile information device, and outputs information corresponding to the motion trajectory A method,
A translational motion acceleration calculating step of calculating a translational acceleration component along the at least two axial directions based on the detection result of the acceleration along the at least two axial directions by the sensor ;
A motion trajectory calculating step of calculating a motion trajectory of the portable information device based on the translational motion acceleration component calculated in the translational motion acceleration calculating step;
An exercise trajectory information output step for outputting information corresponding to the exercise trajectory calculated in the exercise trajectory calculation step ,
The translational acceleration calculation step includes
Based on the detection result of the acceleration along the at least two axial directions by the sensor, the low frequency component of the change in the acceleration along the at least two axial directions is calculated, thereby along the at least two axial directions. A gravitational acceleration estimating step of estimating the vertical direction in addition to estimating the gravitational acceleration component;
Using an estimation result in the gravitational acceleration estimation step, correcting an acceleration detection result along the at least two axial directions by the sensor, and calculating an acceleration of translational motion.
A motion trajectory information processing method characterized by that .
前記加速度補正工程では、前記センサによる前記回転角の検出結果の変化を更に考慮して、前記並進運動加速度を算出する、ことを特徴とする請求項1に記載の運動軌跡情報処理方法。 2. The motion trajectory information processing method according to claim 1 , wherein in the acceleration correction step, the translational motion acceleration is calculated in consideration of a change in the detection result of the rotation angle by the sensor. 3. 運動軌跡情報出力工程では、前記運動軌跡に対応した情報に基づいて、前記運動軌跡に対応する図形を前記表示手段の画面に描画出力する、ことを特徴とする請求項1又は2に記載の運動軌跡情報処理方法。 3. The exercise according to claim 1 , wherein, in the exercise trajectory information output step, a graphic corresponding to the motion trajectory is drawn and output on a screen of the display unit based on information corresponding to the motion trajectory. Trajectory information processing method. 運動軌跡情報出力工程では、前記運動軌跡に対応した情報を、他の情報装置へ向けて出力する、ことを特徴とする請求項1又は2に記載の運動軌跡情報処理方法。 3. The motion trajectory information processing method according to claim 1 , wherein in the motion trajectory information output step, information corresponding to the motion trajectory is output to another information device. 自身において固有に定義される第1軸、前記第1軸と直交する第2軸、並びに前記第1軸及び前記第2軸と直交する第3軸のうちの少なくとも2つの軸方向に沿った加速度と、基準姿勢からの回転角を検出するセンサと;
前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った並進運動加速度を算出する並進運動加速度算出手段と;
前記並進運動加速度に基づいて、運動軌跡を算出する運動軌跡算出手段と;
前記運動軌跡に対応する情報を出力する運動軌跡情報出力手段と;を備え
前記並進運動加速度算出手段は、
前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果に基づいて、前記少なくとも2つの軸方向に沿った加速度の変化の低周波成分を算出することにより、前記少なくとも2つの軸方向に沿った重力加速度の成分を推定するとともに、鉛直方向を推定する重力加速度推定手段と;
前記重力加速度推定手段による推定結果を使用して、前記センサによる前記少なくとも2つの軸方向に沿った加速度の検出結果を補正し、前記並進運動加速度を算出する加速度補正手段と;を備える
ことを特徴とする携帯情報装置。
Acceleration along at least two axial directions of a first axis uniquely defined in itself, a second axis orthogonal to the first axis, and a third axis orthogonal to the first axis and the second axis And a sensor for detecting a rotation angle from the reference posture;
A translational motion acceleration calculating means for calculating a translational motion acceleration along the at least two axial directions based on a detection result of the acceleration along the at least two axial directions by the sensor ;
A motion trajectory calculating means for calculating a motion trajectory based on the translational motion acceleration;
An exercise trajectory information output means for outputting information corresponding to the exercise trajectory ,
The translational motion acceleration calculating means includes
Based on the detection result of the acceleration along the at least two axial directions by the sensor, the low frequency component of the change in the acceleration along the at least two axial directions is calculated, thereby along the at least two axial directions. A gravitational acceleration estimating means for estimating the component of the gravitational acceleration and estimating the vertical direction;
Acceleration correction means for correcting the acceleration detection results along the at least two axial directions by the sensor using the estimation result by the gravitational acceleration estimation means and calculating the translational acceleration.
A portable information device.
前記加速度補正工程では、前記センサによる前記回転角の検出結果の変化を更に考慮して、前記並進運動加速度を算出する、ことを特徴とする請求項5に記載の携帯情報装置。 6. The portable information device according to claim 5 , wherein, in the acceleration correction step, the translational motion acceleration is calculated in consideration of a change in the detection result of the rotation angle by the sensor. 画面表示を行う表示手段を更に備え、
運動軌跡情報出力手段は、前記運動軌跡に対応した情報に基づいて、前記運動軌跡に対応する図形を前記表示手段の画面に描画出力する、
ことを特徴とする請求項5又は6に記載の携帯情報装置。
It further comprises display means for performing screen display,
The motion trajectory information output means draws and outputs a graphic corresponding to the motion trajectory on the screen of the display means based on the information corresponding to the motion trajectory.
The portable information device according to claim 5 , wherein the portable information device is a portable information device.
運動軌跡情報出力手段は、前記運動軌跡に対応した情報を、他の情報装置へ向けて出力する、ことを特徴とする請求項5又は6に記載の携帯情報装置。 The portable information device according to claim 5 or 6 , wherein the movement trajectory information output means outputs information corresponding to the movement trajectory toward another information device. 移動通信網の基地局と無線通信を行うための無線通信手段を更に備える、ことを特徴とする請求項5〜8のいずれか一項に記載の携帯情報装置。 The portable information device according to any one of claims 5 to 8 , further comprising wireless communication means for performing wireless communication with a base station of a mobile communication network.
JP2005253687A 2005-09-01 2005-09-01 Exercise trajectory information processing method and portable information device Expired - Fee Related JP4377863B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005253687A JP4377863B2 (en) 2005-09-01 2005-09-01 Exercise trajectory information processing method and portable information device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005253687A JP4377863B2 (en) 2005-09-01 2005-09-01 Exercise trajectory information processing method and portable information device

Publications (2)

Publication Number Publication Date
JP2007066180A JP2007066180A (en) 2007-03-15
JP4377863B2 true JP4377863B2 (en) 2009-12-02

Family

ID=37928260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005253687A Expired - Fee Related JP4377863B2 (en) 2005-09-01 2005-09-01 Exercise trajectory information processing method and portable information device

Country Status (1)

Country Link
JP (1) JP4377863B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5053695B2 (en) * 2007-04-26 2012-10-17 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2008305108A (en) * 2007-06-06 2008-12-18 Sharp Corp Handwriting input device, control method thereof, handwriting input control program, and recording medium with the program recorded thereon
JP5160963B2 (en) * 2008-05-27 2013-03-13 日本電信電話株式会社 Posture / movement trajectory detection device, detection method, program, and recording medium
JP5200816B2 (en) * 2008-09-24 2013-06-05 カシオ計算機株式会社 Imaging device, image processing method of imaging device, and image processing program
JP5616622B2 (en) * 2009-12-18 2014-10-29 アプリックスIpホールディングス株式会社 Augmented reality providing method and augmented reality providing system
JP6222096B2 (en) * 2012-09-19 2017-11-01 株式会社ニコン Electronic device and program
JP5710809B2 (en) * 2014-02-03 2015-04-30 ビッグローブ株式会社 Dimension measurement terminal
EP3247092B1 (en) 2015-01-16 2019-11-27 Ntt Docomo, Inc. Communication terminal device, outgoing-call control method, and program
CN115057356A (en) * 2022-05-31 2022-09-16 上海应用技术大学 Method and system for detecting motion trail of automobile crane

Also Published As

Publication number Publication date
JP2007066180A (en) 2007-03-15

Similar Documents

Publication Publication Date Title
CN1863225B (en) Portable terminal having motion detection function and motion detection method therefor
JP5434591B2 (en) Control device, input device, control system, handheld information processing device, and control method
US10817072B2 (en) Method and apparatus for performing motion recognition using motion sensor fusion, and associated computer program product
WO2018223605A1 (en) Input method, apparatus and system
CN108846663B (en) Two-dimensional code adjusting method and device and mobile terminal
CN108257208B (en) Three-dimensional graph drawing method and mobile terminal
JP4377863B2 (en) Exercise trajectory information processing method and portable information device
JP5278460B2 (en) Portable device program, portable device, and portable device control method
WO2005039154A1 (en) Mobile communication terminal and application program
JP4485492B2 (en) Execution function selection method and mobile communication terminal device
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN111031246A (en) Shooting method and electronic equipment
JPWO2006028013A1 (en) Acceleration estimation method, acceleration estimation device, and mobile terminal device
CN108683812B (en) Volume adjusting method and device and mobile terminal
JP4011101B2 (en) Information processing method, information processing apparatus, and information processing program
JP4763507B2 (en) Sensor data correction method and movement information device
CN108494946B (en) Method and device for correcting electronic compass in mobile terminal
JP2008026798A (en) Display processing method and mobile communication terminal apparatus
JP4673250B2 (en) Sensor data collection method and mobile information device
CN110440825B (en) Distance display method and terminal
JP4845356B2 (en) Measurement data processing method, measurement data processing device, and mobile terminal device
CN108509124B (en) Multimedia application control method, flexible terminal and storage medium
JP4463737B2 (en) Program development system
JP4179607B2 (en) Mobile communication terminal
CN110262739A (en) Switching method, device and electronic equipment

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090625

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090819

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090911

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140918

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees