JP2011220825A - Attitude estimating device and method, attitude controlling device and method, and program - Google Patents

Attitude estimating device and method, attitude controlling device and method, and program Download PDF

Info

Publication number
JP2011220825A
JP2011220825A JP2010090270A JP2010090270A JP2011220825A JP 2011220825 A JP2011220825 A JP 2011220825A JP 2010090270 A JP2010090270 A JP 2010090270A JP 2010090270 A JP2010090270 A JP 2010090270A JP 2011220825 A JP2011220825 A JP 2011220825A
Authority
JP
Japan
Prior art keywords
posture
attitude
filter
quaternion
change rate
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.)
Granted
Application number
JP2010090270A
Other languages
Japanese (ja)
Other versions
JP5540850B2 (en
Inventor
Shin Oikawa
晋 及川
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2010090270A priority Critical patent/JP5540850B2/en
Publication of JP2011220825A publication Critical patent/JP2011220825A/en
Application granted granted Critical
Publication of JP5540850B2 publication Critical patent/JP5540850B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an attitude estimating device and method, an attitude controlling device and method, and a program that enable efficient calculation to obtain a three-dimensional attitude angle, shorten computing time and improve computing speed.SOLUTION: The attitude controlling device estimates the attitude of a moving object using state feedback. The attitude controlling device includes an input section 101 that receives input of attitude and attitude varying rates and converts the attitude and the attitude rates into a quaternion, a filter calculating section 102 that performs a filter calculation using the attitude and the attitude rates converted into the quaternion, and an attitude controlling section 104 that controls the attitude of the moving object based upon the attitude obtained by the filter calculation. The filter calculating section 102 uses spherical linear interpolation for filter calculation to estimate the attitude.

Description

本発明は、姿勢推定装置及び方法、姿勢制御装置及び方法、並びにプログラムに関し、特に、四元数を用いて姿勢制御する姿勢推定装置及び方法、姿勢制御装置及び方法、並びにプログラム関する。   The present invention relates to an attitude estimation apparatus and method, an attitude control apparatus and method, and a program, and more particularly, to an attitude estimation apparatus and method, an attitude control apparatus and method, and a program for attitude control using a quaternion.

ある空間において、ある物体がどのような姿勢にあるかを表現するために、3つの手法が編み出されている。3つの手法とは、オイラー角、姿勢行列、四元数である。オイラー角は、右手系の座標軸では、図6のように表わされる。すなわち、親指、人差し指、中指をそれぞれ90度ずつ離して指したとき、正面から水平方向に延びる方向がロール軸、左側に向く方向がピッチ軸、垂直方向上向きがヨー軸方向となる。オイラー角による表現は大変わかりやすいという長所を持つ半面、ジンバルロックが生じる等の欠点がある。   In order to express what kind of posture an object is in a certain space, three methods have been devised. The three methods are Euler angles, attitude matrices, and quaternions. The Euler angle is expressed as shown in FIG. 6 on the right-handed coordinate axis. That is, when the thumb, index finger, and middle finger are pointed 90 degrees apart, the direction extending horizontally from the front is the roll axis, the direction toward the left is the pitch axis, and the upward direction is the yaw axis. The Euler angle expression has the advantage that it is very easy to understand, but it has the disadvantages of gimbal lock.

姿勢行列による表現では、3×3の行列を用いて姿勢(回転)を表現する。姿勢行列による表現は、わかりにくい、演算誤差の蓄積で不正な形式になってしまう等の欠点があるが、ベクトルの回転が即座に利用できるというメリットがある。   In the expression by the attitude matrix, the attitude (rotation) is expressed by using a 3 × 3 matrix. The representation by the attitude matrix has the disadvantages that it is difficult to understand and that it becomes an illegal format due to accumulation of calculation errors, but it has the advantage that vector rotation can be used immediately.

四元数(クオタニオン:Quaternion)は、虚数を3D(3次元:three dimensions)に拡張するものであり、1843年に、アイルランドのウィリアム・ハミルトンによって発案された。四元数には、1つのスカラー要素と1つの3Dベクトル要素が含まれ、q=(ω,x,y,z)=ω+xi+yj+zkで表現される。
i2=j2=k2=−1
ij=k,ji=−k,kj=−i,ik=−j
Quaternion extends the imaginary number to 3D, and was invented in 1843 by William Hamilton, Ireland. The quaternion includes one scalar element and one 3D vector element, and is expressed as q = (ω, x, y, z) = ω + xi + yj + zk.
i2 = j2 = k2 = -1
ij = k, ji = -k, kj = -i, ik = -j

四元数は、回転を表わすので、あるベクトルnの周りの回転θを四元数で表わすと、下記の式となる。   Since the quaternion represents rotation, when the rotation θ around a certain vector n is represented by a quaternion, the following equation is obtained.

Figure 2011220825
Figure 2011220825

四元数は、わかりにくいという欠点があるものの、特異点がない、すなわち、ジンバルロックしない、高速演算ができる等の長所がある。   Although the quaternion has a drawback that it is difficult to understand, there are advantages such as no singularity, that is, no gimbal lock, high speed calculation.

移動ロボットの姿勢を計測し、これを表現するのに、オイラー角又はカルダン角と呼ばれる表現手法を用いると、ロール、ピッチ、ヨーという人間が感覚的に分かりやすい表現となるが、オイラー角表現は、上述のように数学的な特異点を有するため、ジンバルロックという問題が発生する。そこで、ジンバルロックを回避できる姿勢の表現手法として、上記の姿勢行列を用いる方法、四元数を用いる方法などが従来提案されている。   If an expression method called Euler angle or Cardan angle is used to measure and express the posture of a mobile robot, it becomes an expression that is easy to understand for humans such as roll, pitch, and yaw, but Euler angle expression is As described above, since it has a mathematical singularity, a problem of gimbal lock occurs. In view of this, as a posture expression method capable of avoiding gimbal lock, a method using the posture matrix and a method using a quaternion have been proposed.

例えば、四元数を使用した姿勢制御として特許文献1が公知である。特許文献1における姿勢推定では、ジャイロ及びチルトセンサから出力された信号に基づいて傾動可能な物体の姿勢を追跡して制御する。ジャイロから出力された信号を変換し統合し、それにより、推定位置情報をヨー成分が値0に拘束される変形四元数の形態で得る。また、同一形態の変形四元数情報をチルトセンサから出力された信号から生成し、これを利用して推定位置情報中の誤差成分を検出してこれを補正する。   For example, Patent Document 1 is known as attitude control using a quaternion. In posture estimation in Patent Document 1, the posture of a tiltable object is tracked and controlled based on signals output from a gyroscope and a tilt sensor. The signals output from the gyro are converted and integrated, thereby obtaining estimated position information in the form of a modified quaternion in which the yaw component is constrained to a value of zero. In addition, the deformed quaternion information of the same form is generated from the signal output from the tilt sensor, and the error component in the estimated position information is detected and corrected using this.

特表2003−521697号公報Special table 2003-521697 gazette

ところで、移動ロボットの姿勢を計測するときに、十分な精度を有する高価なセンサ、例えば光ファイバジャイロを使用することができない場合がある。コストやサイズが大きな理由となる。この問題を解決するため、安価で小型のMEMSセンサを複数種類使用し、これをディジタルフィルタで処理して合成を行い、単独のMEMSセンサでは得られない高精度での姿勢計測を実現する手法が従来提案されている。   By the way, when measuring the posture of the mobile robot, there are cases where an expensive sensor having sufficient accuracy, such as an optical fiber gyroscope, cannot be used. Cost and size are the main reasons. In order to solve this problem, there is a technique that uses multiple types of inexpensive and small MEMS sensors, processes them with a digital filter, synthesizes them, and realizes posture measurement with high accuracy that cannot be obtained with a single MEMS sensor. Conventionally proposed.

しかし、これまでのフィルタ手法は、オイラー角による姿勢角表現をもとに考えられたもので、原理的にジンバルロックが発生してしまう、回避のために、ジンバルロックが発生する特異点付近では、一旦姿勢計測をやめ、特異点から遠ざかった姿勢になってから姿勢計測を再開するなどの手法をとるしかなく、計測できない姿勢が存在するという問題点もある。   However, the conventional filtering method was based on the expression of the posture angle by Euler angles. In principle, a gimbal lock is generated. However, there is a problem in that there are postures that cannot be measured because there is only a method of once stopping posture measurement and resuming posture measurement after reaching a posture away from a singular point.

すなわち、上述したように、移動ロボットの姿勢を表現する手法としてオイラー角による表現を行うと、必ず、ジンバルロックという問題が付随する、ジンバルロックは数学的には、特異点と呼ばれる非連続なポイントが存在することが原因である。また、安価で小型のMEMSセンサを複数種類使用する場合に、姿勢角度を直接計測できる傾斜センサ(通常は、3軸加速度センサを用いられることが多い)と、姿勢角度の変化である姿勢角速度を計測するジャイロセンサをフィルタ処理によって合成を行うが、特異点を有する非連続な姿勢角度と、特異点を持たない連続な姿勢角速度を合成することは、当然ながら無理があり、合成の際に複雑な条件分岐を行う必要があるという問題点がある。   In other words, as described above, when the Euler angle is expressed as a method for expressing the posture of the mobile robot, the problem of gimbal lock always accompanies, and gimbal lock is mathematically a discontinuous point called a singular point. Is due to the existence of In addition, when using multiple types of inexpensive and small MEMS sensors, an inclination sensor that can directly measure the attitude angle (usually a triaxial acceleration sensor is often used) and an attitude angular velocity that is a change in attitude angle. Although the gyro sensor to be measured is synthesized by filtering, it is naturally impossible to synthesize a non-continuous posture angle with singular points and a continuous posture angular velocity without singular points, and it is complicated at the time of synthesis. There is a problem that it is necessary to perform conditional branching.

本発明は、このような問題点を解決するためになされたものであり、3次元の姿勢角を求めるための計算を効率よく行うことができ、演算時間を短縮でき、かつ演算速度を向上することができる姿勢推定装置及び方法、姿勢制御装置及び方法、並びにプログラムを提供することを目的とする。   The present invention has been made to solve such problems, and can efficiently perform calculation for obtaining a three-dimensional attitude angle, can reduce calculation time, and improve calculation speed. It is an object to provide an attitude estimation apparatus and method, an attitude control apparatus and method, and a program that can be used.

本発明に係る姿勢推定装置は、状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定装置であって、姿勢及び姿勢変化率が入力され、これらを四元数に変換する入力部と、前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算部とを有し、前記フィルタ演算部は、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用するものである。   An attitude estimation apparatus according to the present invention is an attitude estimation apparatus that estimates the attitude of a moving object using state feedback, and inputs an attitude and an attitude change rate, and converts them into a quaternion; A filter operation unit that performs a filter operation using the posture converted to the quaternion and a posture change rate, and the filter operation unit uses spherical linear interpolation for the filter operation for estimating the posture. Is.

本発明においては、姿勢推定を行うためのフィルタ演算にslerp(球面線形補間:spherical linear interpolation)を利用するため、ジンバルロックが生じることなく、効率よく演算を行うことができる。   In the present invention, slerp (spherical linear interpolation) is used for the filter calculation for estimating the posture, so that the calculation can be performed efficiently without causing gimbal lock.

また、前記フィルタ演算部は、前記四元数に変換された姿勢及び姿勢変化率の合成を行うことができる。更に、前記フィルタ演算部は、前記四元数に変換された姿勢及び姿勢変化率の積分値の合成を行うことができる。これにより、姿勢及び姿勢変化率の合成にslerpを使用することができ、演算時間を短縮することができる。   Further, the filter calculation unit can synthesize the posture converted into the quaternion and the posture change rate. Furthermore, the filter operation unit can synthesize the posture and the integral value of the posture change rate converted into the quaternion. Thereby, slerp can be used for composition of posture and posture change rate, and calculation time can be shortened.

更にまた、前記フィルタ演算後の四元数で表現された姿勢をオイラー変換するオイラー変換部を更に有することができ、姿勢制御の際には、四元数を一旦オイラー角に変換することができる。   Furthermore, it is possible to further include an Euler conversion unit that performs Euler conversion on the posture expressed by the quaternion after the filter operation, and in the case of posture control, the quaternion can be once converted into Euler angles. .

また、前記フィルタ演算前の姿勢角は傾斜センサの値であって、前記姿勢変化率は、ロール角速度、ピッチ角速度、及びヨー角速度とすることができる。   The posture angle before the filter calculation is a value of a tilt sensor, and the posture change rate can be a roll angular velocity, a pitch angular velocity, and a yaw angular velocity.

更に、前記入力部には、前記姿勢及び姿勢変化率と、方角の情報とが入力するものとすることができる。なお、方角情報を使用せずに演算することも可能である。   Furthermore, the posture, the posture change rate, and direction information may be input to the input unit. It is also possible to calculate without using the direction information.

更にまた、前記方角の情報は、方位角センサの値、又は移動体がタイヤを有する場合はそのタイヤの向きを示す情報とすることができる。方位角センセを使用せず、移動体のタイヤの方向を使用することも可能である。   Furthermore, the direction information can be information indicating the value of the azimuth sensor or the direction of the tire when the moving body has a tire. It is also possible to use the tire direction of the moving body without using the azimuth angle sensor.

また、フィルタとしては、カルマンフィルタ又は周波数フィルタを使用することができる。   Further, a Kalman filter or a frequency filter can be used as the filter.

本発明にかかる姿勢制御装置は、状態フィードバックを用いて移動体の姿勢の推定を行う姿勢制御装置であって、姿勢及び姿勢変化率が入力され、これらを四元数に変換する入力部と、前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算部と、前記フィルタ演算により得られた姿勢に基づき前記移動体の姿勢制御を行う姿勢制御部とを有し、前記フィルタ演算部は、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用するものである。   An attitude control apparatus according to the present invention is an attitude control apparatus that estimates the attitude of a moving object using state feedback, and inputs an attitude and an attitude change rate, and converts these into a quaternion; A filter calculation unit that performs a filter operation using the posture converted into the quaternion and a posture change rate; and a posture control unit that performs posture control of the moving body based on the posture obtained by the filter calculation. The filter calculation unit uses spherical linear interpolation for filter calculation for estimating the posture.

本発明に係る姿勢推定方法は、状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定方法であって、姿勢及び姿勢変化率が入力され、これらを四元数に変換する変換工程と、前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算工程とを有し、前記フィルタ演算工程では、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用するものである。   The posture estimation method according to the present invention is a posture estimation method for estimating the posture of a moving object using state feedback, and a conversion step of inputting posture and posture change rate and converting them into a quaternion, A filter calculation step of performing a filter operation using the posture converted into the quaternion and a posture change rate, and in the filter calculation step, spherical linear interpolation is used for the filter operation for estimating the posture. Is.

本発明にかかる姿勢制御方法は、状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定方法であって、姿勢及び姿勢変化率が入力され、これらを四元数に変換する変換工程と、前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算工程と、前記フィルタ演算により得られた姿勢に基づき前記移動体の姿勢制御を行う姿勢制御工程とを有し、前記フィルタ演算工程では、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用するものである。   The posture control method according to the present invention is a posture estimation method for estimating the posture of a moving object using state feedback, and a conversion step of inputting posture and posture change rate and converting them into a quaternion, A filter calculation step of performing a filter operation using the posture and the posture change rate converted into the quaternion, and a posture control step of performing posture control of the moving body based on the posture obtained by the filter calculation. In the filter calculation step, spherical linear interpolation is used for the filter calculation for estimating the posture.

本発明においては、四元数を用いて姿勢推定を行うため、フィルタ演算に、球面線形補間を利用することができる。四元数を用いるため、オイラー角表現を用いた場合に生じるジンバルロックの問題を回避でき、また姿勢行列を用いる場合のように、演算誤差の蓄積で不正な形式となってしまうような問題が生じにくい。   In the present invention, since pose estimation is performed using a quaternion, spherical linear interpolation can be used for filter calculation. Since quaternions are used, the problem of gimbal lock that occurs when Euler angle representation is used can be avoided, and there is a problem that it becomes an illegal form due to accumulation of calculation errors, such as when using an attitude matrix. Hard to occur.

また、本発明に係るプログラムは、上述した姿勢制御をコンピュータに実行させるものである。   A program according to the present invention causes a computer to execute the attitude control described above.

本発明によれば、3次元の姿勢角を求めるための計算を効率よく行うことができ、演算時間を短縮でき、かつ演算速度を向上することができる姿勢推定装置及び方法、姿勢制御装置及び方法、並びにプログラムを提供することができる。   According to the present invention, a posture estimation device and method, a posture control device and a method capable of efficiently performing calculation for obtaining a three-dimensional posture angle, reducing the calculation time, and improving the calculation speed. As well as programs.

本発明の実施の形態に係る倒立二輪車の構成を示す図である。It is a figure which shows the structure of the inverted motorcycle which concerns on embodiment of this invention. 本発明の実施の形態に係る制御装置を説明するための図である。It is a figure for demonstrating the control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る姿勢制御装置を示す模式図である。It is a schematic diagram which shows the attitude | position control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る姿勢制御装置の詳細を示すブロック図、The block diagram which shows the detail of the attitude | position control apparatus which concerns on embodiment of this invention, 本発明の実施の形態における姿勢角度と姿勢角速度の合成を行う際のフィルタリング手法を示すフローチャートである。It is a flowchart which shows the filtering method at the time of performing the synthesis | combination of the attitude | position angle and attitude | position angular velocity in embodiment of this invention. オイラー角表現の右手座標軸を示す模式図である。It is a schematic diagram which shows the right-handed coordinate axis of Euler angle expression.

以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。この実施の形態は、本発明を、四元数を用いて移動ロボットの姿勢の推定を行い、推定した姿勢を使用して移動ロボットの姿勢を安定化制御する代表例として同軸二輪車の倒立制御に適用したものである。なお、本実施の形態においては、同軸二輪車として説明するが、その他脚型又は車輪型ロボット等に本発明を適用することができることはいうまでもない。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In this embodiment, the present invention is applied to an inverted control of a coaxial two-wheeled vehicle as a representative example in which the posture of a mobile robot is estimated using a quaternion, and the posture of the mobile robot is stabilized using the estimated posture. It is applied. Although the present embodiment will be described as a coaxial two-wheeled vehicle, it goes without saying that the present invention can be applied to other leg-type or wheel-type robots.

図1は、本発明に係る実施の形態として、本発明に係る倒立二輪車の一実施形態の構成を示す図である。尚、図1(a)は正面図を示し、図1(b)は側面図を示す。図1において、本実施の形態に係る走行装置は、乗員が立つ部分である本体1に対して、同軸芯線上に平行に車輪3A、3Bを有する同軸二輪車である。   FIG. 1 is a diagram showing a configuration of an embodiment of an inverted motorcycle according to the present invention as an embodiment according to the present invention. FIG. 1A shows a front view, and FIG. 1B shows a side view. In FIG. 1, the traveling device according to the present embodiment is a coaxial two-wheeled vehicle having wheels 3A and 3B in parallel on a coaxial core line with respect to a main body 1 where a passenger stands.

尚、以下の説明で用いる同軸二輪車の車両の全体に対する各座標系を、図中に記載のように、車軸に対して垂直方向をX軸、車軸方向をY軸、鉛直方向をZ軸、車軸周り(Y軸周り)をピッチ軸、車両上面視においてX−Y平面上の回転方向をヨー軸とする。   As shown in the figure, the coordinate system for the entire coaxial two-wheeled vehicle used in the following description is as follows. The vertical direction with respect to the axle is the X axis, the axle direction is the Y axis, the vertical direction is the Z axis, and the axle. The periphery (around the Y axis) is the pitch axis, and the rotation direction on the XY plane in the vehicle top view is the yaw axis.

本実施の形態に係る走行装置は、本体1と、本体1に同軸上に取り付けられた1対の駆動ユニット2A及び2Bと、駆動ユニット2A及び2Bによりそれぞれ回転駆動される車輪3A及び3Bと、乗員がつかまるT字型のハンドル4と、本体1の前後(Y軸周り)の傾きを検出する姿勢検出装置4と、旋回操作を指示するための旋回操作装置6と、を備えている。また、本体1には、図示しないが、後述する車両の制御を行う制御装置が設けられている。尚、本体1には乗員の乗車を識別するセンサ、或いはスイッチ(図示せず)を内蔵していてもよい。   The traveling device according to the present embodiment includes a main body 1, a pair of drive units 2A and 2B that are coaxially attached to the main body 1, and wheels 3A and 3B that are rotationally driven by the drive units 2A and 2B, respectively. A T-shaped handle 4 for holding the occupant, a posture detecting device 4 for detecting the front / rear inclination (around the Y axis) of the main body 1, and a turning operation device 6 for instructing a turning operation are provided. The main body 1 is provided with a control device (not shown) that controls the vehicle, which will be described later. The main body 1 may incorporate a sensor or a switch (not shown) for identifying the occupant's boarding.

この倒立二輪車は、状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定装置を搭載する。姿勢制御装置は、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用する。これについての詳細は後述する。   This inverted two-wheeled vehicle is equipped with a posture estimation device that estimates the posture of a moving body using state feedback. The attitude control device uses spherical linear interpolation for filter calculation for estimating the attitude. Details of this will be described later.

次に、本実施の形態にかかる倒立二輪車の制御装置について説明する。図2は、本実施の形態にかかる制御装置を説明するための図である。図2に示すように、制御装置10は、例えば、マイクロコンピュータ(CPU(Central Processing Unit))を有する演算回路11と、プログラムメモリやデータメモリその他のRAM(Random Access Memory)やROM(Read Only Memory等を有する記憶装置12等を備えている。制御装置10には、バッテリー26と一対の駆動回路28L,28Rが接続されていて、それらは非常停止スイッチ27を介しても接続されている。一対の駆動回路28L,28Rは、一対の車輪の回転速度や回転方向等を個別に制御するもので、これらに一対の車輪駆動ユニット29L,29Rが個別に接続されている。   Next, the control apparatus for an inverted motorcycle according to the present embodiment will be described. FIG. 2 is a diagram for explaining the control device according to the present embodiment. As shown in FIG. 2, the control device 10 includes, for example, an arithmetic circuit 11 having a microcomputer (CPU (Central Processing Unit)), a program memory, a data memory, other RAM (Random Access Memory), and a ROM (Read Only Memory). The control device 10 is connected to a battery 26 and a pair of drive circuits 28L and 28R, which are also connected via an emergency stop switch 27. The drive circuits 28L and 28R individually control the rotational speed and direction of the pair of wheels, and the pair of wheel drive units 29L and 29R are individually connected to them.

この制御装置10には、15の傾斜角度を検出する角度検出センサ23からの検出信号と、姿勢センサユニット22からの検出信号と、降車スイッチ24からの降車補助開始トリガ信号、ステップセンサ25から足検出信号が供給される。制御装置10は、通常の姿勢制御に加えて、降車補助開始トリガ信号や足検出信号に基づいて降車補助制御を実行する。   The control device 10 includes a detection signal from an angle detection sensor 23 that detects an inclination angle of 15, a detection signal from an attitude sensor unit 22, a getting-off assistance start trigger signal from a getting-off switch 24, and a foot sensor from a step sensor 25. A detection signal is supplied. In addition to the normal posture control, the control device 10 executes the dismount assistance control based on the dismount assistance start trigger signal and the foot detection signal.

姿勢センサユニット21は、同軸二輪車の走行時における角速度や加速度を検出してその角速度や走行加速度を制御するために用いられるもので、例えば、ジャイロセンサと、加速度センサとから構成される。ハンドルを前方または後方に傾けると、ステップ部が同方向に傾くことになるが、この姿勢センサユニット22は、かかる傾斜に対応した角速度や加速度を検出する。そして、制御装置10は、姿勢センサユニット22によって検出された角速度や加速度に基づいて、ハンドル23の傾斜方向に車両が移動するように、車輪駆動ユニット29L,29Rを駆動制御する。   The attitude sensor unit 21 is used to detect angular velocity and acceleration during traveling of the coaxial two-wheeled vehicle and control the angular velocity and traveling acceleration, and includes, for example, a gyro sensor and an acceleration sensor. When the handle is tilted forward or backward, the step portion tilts in the same direction. This posture sensor unit 22 detects angular velocity and acceleration corresponding to the tilt. Then, the control device 10 drives and controls the wheel drive units 29L and 29R so that the vehicle moves in the inclination direction of the handle 23 based on the angular velocity and acceleration detected by the attitude sensor unit 22.

次に、制御装置10に搭載される姿勢制御装置について説明する。図3は、姿勢制御装置を示す模式図である。姿勢推定装置は、状態フィードバックを用いて移動体の姿勢の推定を行う。この姿勢推定装置は、姿勢及び姿勢変化率が入力され、これらを四元数に変換する入力部101と、四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算部102と、フィルタ演算後の四元数で表現された姿勢をオイラー変換するオイラー変換部103と、フィルタ演算により得られた姿勢に基づき移動体の姿勢制御を行う姿勢制御部104とを有する。   Next, the attitude control device mounted on the control device 10 will be described. FIG. 3 is a schematic diagram showing the attitude control device. The posture estimation device estimates the posture of the moving object using state feedback. This posture estimation device is inputted with posture and posture change rate and converts them into a quaternion, and a filter calculation portion that performs filter calculation using the posture and posture change rate converted into a quaternion. 102, an Euler conversion unit 103 that performs Euler conversion of the posture expressed by the quaternion after the filter calculation, and a posture control unit 104 that performs posture control of the moving body based on the posture obtained by the filter calculation.

フィルタ演算部102は、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用する。フィルタ演算部102は、四元数に変換された姿勢及び姿勢変化率の積分値の合成を行う。ここで、姿勢は、角速度センサの値であり、姿勢変化率は、ロール角速度、ピッチ角速度、ヨー角速度等である。また、入力部101には、姿勢及び姿勢変化率の他、方角の情報も入力される。   The filter calculation unit 102 uses spherical linear interpolation for filter calculation for estimating the posture. The filter calculation unit 102 synthesizes the integrated value of the posture converted into the quaternion and the posture change rate. Here, the posture is a value of the angular velocity sensor, and the posture change rate is a roll angular velocity, a pitch angular velocity, a yaw angular velocity, or the like. In addition to the posture and the posture change rate, direction information is also input to the input unit 101.

次に、姿勢制御装置の具体例について説明する。図4は、姿勢制御装置の詳細を示すブロック図、図5は、オイラー各表現による1つの軸についての姿勢角度と姿勢角速度の合成を行う際のフィルタリング手法を示すフローチャートである。   Next, a specific example of the attitude control device will be described. FIG. 4 is a block diagram showing details of the attitude control device, and FIG. 5 is a flowchart showing a filtering method when synthesizing attitude angles and attitude angular velocities about one axis by each Euler expression.

図4に示すように、姿勢制御装置は、角速度センサ22a、加速度センサ22b、方位角センサ22c、バイアス修正部31、姿勢角算出部32、積分演算部33、フィルタ34、35、バイアス推定値算出部36及び姿勢角推定値算出部37を有する。   As shown in FIG. 4, the attitude control device includes an angular velocity sensor 22a, an acceleration sensor 22b, an azimuth angle sensor 22c, a bias correction unit 31, an attitude angle calculation unit 32, an integration calculation unit 33, filters 34 and 35, and a bias estimation value calculation. And a posture angle estimated value calculation unit 37.

角速度センサ22a、加速度センサ22b及び方位角センサ22cは、姿勢検出センサユニット22に含まれる。角速度センサ22aは、ロール、ピッチ、ヨーのそれぞれの角速度を検出して出力する(ステップS104)。加速度センサ22bは、x、y、z方向の加速度を検出して出力する(ステップS101)。方位角センサ22cは、方角を検出して出力する。なお、方位角の代わりに、タイヤの向きなどを利用することも可能である。また、特許文献1に記載されているように、方位角を使用しない方法も適用可能である。   The angular velocity sensor 22a, the acceleration sensor 22b, and the azimuth angle sensor 22c are included in the posture detection sensor unit 22. The angular velocity sensor 22a detects and outputs each angular velocity of roll, pitch, and yaw (step S104). The acceleration sensor 22b detects and outputs accelerations in the x, y, and z directions (step S101). The azimuth sensor 22c detects and outputs a direction. It is also possible to use the direction of the tire instead of the azimuth. Further, as described in Patent Document 1, a method that does not use an azimuth angle is also applicable.

バイアス修正部31は、角度センサ22aからの角速度が入力され、ジャイロセンサのずれ量(バイアス)をバイアス推定値に基づき修正する(ステップS105、式(2))。具体的には、角速度計測値から前回のバイアス推定値を引く。前回のバイアス推定値は、前回の周期のバイアス推定値演算部36の値である。これに、サンプリング時間をかけて微小な変化率を求める(ステップS106)。そして、ジャイロセンサで計測した角速度を、3軸微小速度を微小回転四元数に変換することで、四元数に変換する(ステップS107)。次に、ジャイロの初期取り付け角度の補正(回転)を行う。これにより、ジャイロセンサによって観測した角速度をボディ基準座標系の各変位に変換することができる。   The bias correction unit 31 receives the angular velocity from the angle sensor 22a and corrects the deviation amount (bias) of the gyro sensor based on the estimated bias value (step S105, equation (2)). Specifically, the previous estimated bias value is subtracted from the angular velocity measurement value. The previous bias estimated value is the value of the bias estimated value calculation unit 36 of the previous cycle. This takes a sampling time to obtain a minute change rate (step S106). Then, the angular velocity measured by the gyro sensor is converted into a quaternion by converting the triaxial minute velocity into a minute rotation quaternion (step S107). Next, the initial attachment angle of the gyro is corrected (rotated). Thereby, the angular velocity observed by the gyro sensor can be converted into each displacement of the body reference coordinate system.

姿勢角算出部32は、加速度センサ22b及び方位角センサ22cからの加速度及び方位角に基づき、姿勢角を算出する。先ず、加速度センサの値から自身の加速度ベクトルをキャンセルする。次に、加速度センサベクトルに方位角を加えた回転を姿勢行列に変換する(ステップS102)。そして、この姿勢行列を四元数に変換する(ステップS103)。   The attitude angle calculation unit 32 calculates an attitude angle based on the acceleration and the azimuth angle from the acceleration sensor 22b and the azimuth angle sensor 22c. First, its own acceleration vector is canceled from the value of the acceleration sensor. Next, the rotation obtained by adding the azimuth angle to the acceleration sensor vector is converted into an attitude matrix (step S102). Then, this posture matrix is converted into a quaternion (step S103).

積分演算部33では、ジャイロ計測値を積分することで、バイアス値を予測する(ステップS108、式(2))。すなわち、前回の周期の姿勢を表わす四元数に今回の周期で観測した角変位を積分することで、今回の周期の姿勢を表わす四元数を予測する。今回の周期の予測値αpredictとすると、下記により求まる。 The integration calculation unit 33 predicts the bias value by integrating the gyro measurement value (step S108, equation (2)). That is, the quaternion representing the posture of the current cycle is predicted by integrating the angular displacement observed in the current cycle into the quaternion representing the posture of the previous cycle. Assuming that the predicted value α predict of the current cycle is obtained as follows.

Figure 2011220825
Figure 2011220825

フィルタ34、35は、四元数を使用してカルマンフィルタ演算を実施する(ステップS109)。オイラー角による3次元姿勢角度表現を用いる場合は、上記の演算を3つ直交する軸(代表的なのは、ロール、ピッチ、ヨー軸)についいて繰り返すことになる。このとき、角速度は、バイアスを取り除いた後にセンサが取り付けられているボディ座標系と重力を基準として水平基準座標系の間で回転変換を行い、水平基準座標系の角度で積分を行う必要がある。   The filters 34 and 35 perform the Kalman filter operation using the quaternion (step S109). When using the three-dimensional posture angle expression by Euler angles, the above calculation is repeated for three orthogonal axes (typically, roll, pitch, and yaw axes). At this time, the angular velocity needs to be rotationally converted between the body reference system to which the sensor is attached after removing the bias and the horizontal reference coordinate system with reference to gravity, and integrated at the angle of the horizontal reference coordinate system. .

これに対し、実施の形態においては、この演算を、オイラー角を使用して3つの軸に対して3回のフィルタ演算を行うのではなく、四元数を使用して一度に行う。オイラー角で1つの軸に対して足し算を行う、ということは、その軸に関する回転を行うことであり、3つの軸に対して同時に足し算を行うということは、四元数に対して回転の演算を行うことになる。
この時、角度の推定を行う下記の式に注目する。
On the other hand, in the embodiment, this calculation is performed at once using a quaternion, rather than performing the filter calculation three times for three axes using Euler angles. To add to one axis at Euler angle means to rotate about that axis, and to add at the same time to three axes means to calculate rotation for quaternion Will do.
At this time, attention is paid to the following formula for estimating the angle.

Figure 2011220825
この式を変形すると、
Figure 2011220825
If this equation is transformed,

Figure 2011220825
αは、αpredictとαmeasuredという2つの角度を、(1−K):Kの比率で補間する角度という意味となる。別の表現では、αpredictを始点として、αmeasuredとαpredictの差分のK倍を加えるということになる。αをオイラー角により1つの軸の角度ではなく、四元数と考えると、この演算は、slerp(球面線形補間:spherical linear interpolation)と呼ばれる演算手法と同一となる。すなわち、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用することができる。
Figure 2011220825
α n means an angle for interpolating two angles of α predict and α measured at a ratio of (1−K 0 ): K. In other words, starting at an alpha predict, it comes to adding K 0 times difference alpha Measured and alpha predict. If α is regarded as a quaternion rather than an angle of one axis by Euler angles, this calculation is the same as a calculation method called slerp (spherical linear interpolation). That is, spherical linear interpolation can be used for the filter calculation for estimating the posture.

とqの2つの四元数の間を変数tで補間する関数slerp(q0,q1,t)は、理論上は下記の式によって定義される。 The function slerp (q0, q1, t) that interpolates between the two quaternions q 0 and q 1 with a variable t is theoretically defined by the following equation.

Figure 2011220825
計算機で実際に演算を行う際には、qとqとの間の弧の長さであるωを使用して、更に効率のよい下記のテクニックを利用することができる。
Figure 2011220825
When the calculation is actually performed by the computer, the following technique that is more efficient can be used by using ω that is the length of the arc between q 0 and q 1 .

Figure 2011220825
2つの四元数間の角度のサインとコサインは、下記の式で簡単に求めることができる。
=(w,x,y,z)=(w,x,y,z)とした時、
cosω=w・w+x・x+y・y+z・z
sinω=sqrt(1−cosω)
したがって、slerpの答えをq=(w,x,y,z)とすると下記のような演算を行うことができる。
ω=αtan2(sinω,cosω)
=sin((1.0−t)ω)/sinω
=sin(tω)/sinω
w=w・k+w・k
x=x・k+x・k
y=y・k+y・k
z=z・k+z+k
なお、最後に、浮動小数点演算の誤差が蓄積しないように、正規化を行う(ステップS111)。
Figure 2011220825
The sine and cosine of the angle between two quaternions can be easily obtained by the following formula.
When q 0 = (w 0 , x 0 , y 0 , z 0 ) = (w 1 , x 1 , y 1 , z 1 ),
cos ω = w 0 · w 1 + x 0 · x 1 + y 0 · y 1 + z 0 · z 1
sin ω = sqrt (1-cos 2 ω)
Therefore, if the answer of slerp is q = (w, x, y, z), the following calculation can be performed.
ω = α tan2 (sin ω, cos ω)
k 0 = sin ((1.0−t) ω) / sinω
k 1 = sin (tω) / sinω
w = w 0 · k 0 + w 1 · k 1
x = x 0 · k 0 + x 1 · k 1
y = y 0 · k 0 + y 1 · k 1
z = z 0 · k 0 + z 1 + k 1
Finally, normalization is performed so as not to accumulate errors in floating point arithmetic (step S111).

バイアス推定値36は、バイアスにフィードバックする(ステップS112)ために、四元数を一旦オイラー角に戻す。なお、バイアスをオイラー角でなく四元数で保持するようにすれば、slerpを使用することができ、演算効率を向上することができる。   The bias estimated value 36 temporarily returns the quaternion to the Euler angle in order to feed back to the bias (step S112). Note that if the bias is held in the quaternion instead of the Euler angle, slerp can be used and the calculation efficiency can be improved.

姿勢角推定値算出部37は、次回周期の演算と姿勢制御演算のために値を保存しておく。一定時間が経過すると、加速度センサとジャイロセンサの想定から次の周期が開始する(ステップS113)。   The posture angle estimated value calculation unit 37 stores values for the next cycle calculation and posture control calculation. When a certain time has elapsed, the next cycle starts from the assumption of the acceleration sensor and the gyro sensor (step S113).

以上のようにして、ノイズの大きな角度センサ(加速度センサ)と、ドリフトの大きな角速度センサ(ジャイロ)の信号を適切なフィルタにより、合成し、ノイズの少ない姿勢角とバイアス(ドリフト)の推定値を得る。適用可能なフィルタの種類としては、周波数フィルタ(LPF(low pass filter)にHPF(high pass filter)を組み合わせたもの)や、カルマンフィルタを利用することができる。本実施の形態においては、四元数をカルマンフィルタにてフィルタ処理する際に、球面線形補間(slerp)を使用することで、フィルタ処理の精度とフィルタ演算の効率を向上させることができる。   As described above, the signals of the angle sensor (acceleration sensor) with a large noise and the angular velocity sensor (gyro) with a large drift are combined with an appropriate filter, and the estimated values of the posture angle and the bias (drift) with less noise are obtained. obtain. Applicable filter types include frequency filters (LPF (low pass filter) combined with HPF (high pass filter)) and Kalman filters. In this embodiment, the accuracy of the filter processing and the efficiency of the filter operation can be improved by using spherical linear interpolation (slerp) when the quaternion is filtered by the Kalman filter.

なお、本発明は上述した実施の形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。   It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.

例えば、上述の実施の形態では、ハードウェアの構成として説明したが、これに限定されるものではなく、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。この場合、コンピュータプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   For example, in the above-described embodiment, the hardware configuration has been described. However, the present invention is not limited to this, and arbitrary processing may be realized by causing a CPU (Central Processing Unit) to execute a computer program. Is possible. In this case, the computer program can be stored using various types of non-transitory computer readable media and supplied to the computer. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W and semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)) are included. The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

22a 角速度センサ
22b 加速度センサ
22c 方位角センサ
31 バイアス修正部
32 姿勢角算出部
33 積分演算部
34 フィルタ
35 フィルタ
36 バイアス推定値算出部
37 姿勢角推定値算出部
22a Angular velocity sensor 22b Acceleration sensor 22c Azimuth angle sensor 31 Bias correction unit 32 Attitude angle calculation unit 33 Integration calculation unit 34 Filter 35 Filter 36 Bias estimation value calculation unit 37 Attitude angle estimation value calculation unit

Claims (18)

状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定装置であって、
姿勢及び姿勢変化率が入力され、これらを四元数に変換する入力部と、
前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算部とを有し、
前記フィルタ演算部は、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用する、姿勢推定装置。
A posture estimation device that estimates the posture of a moving object using state feedback,
An input unit that inputs posture and posture change rate and converts them into a quaternion;
A filter operation unit that performs a filter operation using the posture converted into the quaternion and the posture change rate;
The said filter calculating part is an attitude | position estimation apparatus which uses spherical linear interpolation for the filter calculation for estimating an attitude | position.
前記フィルタ演算部は、前記四元数に変換された姿勢及び姿勢変化率の合成を行う、請求項1記載の姿勢推定装置。   The posture estimation apparatus according to claim 1, wherein the filter calculation unit synthesizes the posture converted into the quaternion and a posture change rate. 前記フィルタ演算部は、前記四元数に変換された姿勢及び姿勢変化率の積分値の合成を行う、請求項1又は2記載の姿勢推定装置。   The posture estimation device according to claim 1, wherein the filter calculation unit synthesizes an integrated value of the posture and the posture change rate converted into the quaternion. 前記フィルタ演算後の四元数で表現された姿勢をオイラー変換するオイラー変換部を更に有する、請求項1乃至3のいずれか1項記載の姿勢推定装置。   The posture estimation apparatus according to claim 1, further comprising an Euler conversion unit configured to perform Euler conversion on the posture expressed by the quaternion after the filter operation. 前記フィルタ演算前の姿勢角は傾斜センサの値であって、前記姿勢変化率は、ロール角速度、ピッチ角速度、及びヨー角速度である、請求項1乃至4のいずれか1項記載の姿勢推定装置。   The posture estimation device according to any one of claims 1 to 4, wherein the posture angle before the filter calculation is a value of a tilt sensor, and the posture change rate is a roll angular velocity, a pitch angular velocity, and a yaw angular velocity. 前記入力部には、前記姿勢及び姿勢変化率と、方角の情報とが入力される、請求項1乃至5のいずれか1項記載の姿勢推定装置。   The posture estimation apparatus according to claim 1, wherein the posture and posture change rate, and direction information are input to the input unit. 前記方角の情報は、方位角センサの値、又は移動体がタイヤを有する場合はそのタイヤの向きを示す情報である、請求項6に記載の姿勢推定装置。   The posture estimation apparatus according to claim 6, wherein the direction information is information indicating a value of an azimuth angle sensor or a direction of a tire when the moving body has a tire. 状態フィードバックを用いて移動体の姿勢の推定を行う姿勢制御装置であって、
姿勢及び姿勢変化率が入力され、これらを四元数に変換する入力部と、
前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算部と、
前記フィルタ演算により得られた姿勢に基づき前記移動体の姿勢制御を行う姿勢制御部とを有し、
前記フィルタ演算部は、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用する、姿勢制御装置。
An attitude control device that estimates the attitude of a moving object using state feedback,
An input unit that inputs posture and posture change rate and converts them into a quaternion;
A filter operation unit that performs a filter operation using the posture converted into the quaternion and the posture change rate;
A posture control unit that performs posture control of the moving body based on the posture obtained by the filter operation;
The said filter calculating part is an attitude | position control apparatus which uses spherical linear interpolation for the filter calculation for estimating an attitude | position.
前記フィルタ演算後の四元数で表現された姿勢をオイラー変換するオイラー変換部を更に有する、請求項8記載の姿勢推定装置。   The posture estimation apparatus according to claim 8, further comprising an Euler conversion unit that performs Euler conversion on the posture expressed by the quaternion after the filter operation. 前記フィルタ演算前の姿勢角は傾斜センサの値であって、前記姿勢変化率は、ロール角速度、ピッチ角速、及びヨー角速度である、請求項8又は9項記載の姿勢制御装置。   The posture control apparatus according to claim 8 or 9, wherein the posture angle before the filter calculation is a value of a tilt sensor, and the posture change rate is a roll angular velocity, a pitch angular velocity, and a yaw angular velocity. 前記入力部には、前記姿勢及び姿勢変化率と、方角の情報とが入力される、請求項8乃至10のいずれか1項記載の姿勢推定装置。   The posture estimation apparatus according to claim 8, wherein the posture and posture change rate and direction information are input to the input unit. 前記フィルタは、カルマンフィルタ又は周波数フィルタである、請求項1乃至11のいずれか1項記載の姿勢推定装置。   The posture estimation apparatus according to any one of claims 1 to 11, wherein the filter is a Kalman filter or a frequency filter. 状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定方法であって、
姿勢及び姿勢変化率が入力され、これらを四元数に変換する変換工程と、
前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算工程とを有し、
前記フィルタ演算工程では、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用する、姿勢推定方法。
A posture estimation method for estimating the posture of a moving object using state feedback,
A conversion process in which the posture and the posture change rate are input and convert them into a quaternion;
A filter operation step of performing a filter operation using the posture converted into the quaternion and the posture change rate,
A posture estimation method in which spherical linear interpolation is used for filter calculation for estimating a posture in the filter calculation step.
前記フィルタ演算工程後に四元数で表現された姿勢をオイラー変換するオイラー変換工程を更に有する、請求項13項記載の姿勢推定方法。   The posture estimation method according to claim 13, further comprising an Euler conversion step of performing Euler conversion on a posture expressed by a quaternion after the filter calculation step. 前記フィルタ演算前の姿勢角は傾斜センサの値であって、前記姿勢変化率は、ロール角速度、ピッチ角速、及びヨー角速度である、請求項13又は14記載の姿勢推定方法。   The posture estimation method according to claim 13 or 14, wherein the posture angle before the filter calculation is a value of a tilt sensor, and the posture change rate is a roll angular velocity, a pitch angular velocity, and a yaw angular velocity. 前記姿勢及び姿勢変化率と共に、方角の情報とが入力される、請求項13乃至15のいずれか1項記載の姿勢推定方法。   The posture estimation method according to claim 13, wherein direction information is input together with the posture and the posture change rate. 状態フィードバックを用いて移動体の姿勢の推定を行う姿勢推定方法であって、
姿勢及び姿勢変化率が入力され、これらを四元数に変換する変換工程と、
前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算工程と、
前記フィルタ演算により得られた姿勢に基づき前記移動体の姿勢制御を行う姿勢制御工程とを有し、
前記フィルタ演算工程では、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用する、姿勢制御方法。
A posture estimation method for estimating the posture of a moving object using state feedback,
A conversion process in which the posture and the posture change rate are input and convert them into a quaternion;
A filter operation step of performing a filter operation using the posture converted into the quaternion and the posture change rate;
A posture control step of performing posture control of the moving body based on the posture obtained by the filter calculation,
A posture control method in which spherical linear interpolation is used for filter calculation for estimating a posture in the filter computation step.
状態フィードバックを用いて移動体の姿勢の推定処理をコンピュータに実行させるためのプログラムであって、
を行う姿勢推定方法であって、
姿勢及び姿勢変化率が入力され、これらを四元数に変換する変換工程と、
前記四元数に変換された姿勢及び姿勢変化率を使用してフィルタ演算するフィルタ演算工程とを有し、
前記フィルタ演算工程では、姿勢の推定を行うためのフィルタ演算に球面線形補間を使用するプログラム。
A program for causing a computer to execute a posture estimation process for a moving object using state feedback,
A posture estimation method for performing
A conversion process in which the posture and the posture change rate are input and convert them into a quaternion;
A filter operation step of performing a filter operation using the posture converted into the quaternion and the posture change rate,
In the filter calculation step, a program that uses spherical linear interpolation for filter calculation for estimating a posture.
JP2010090270A 2010-04-09 2010-04-09 Attitude estimation apparatus, method and program Expired - Fee Related JP5540850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010090270A JP5540850B2 (en) 2010-04-09 2010-04-09 Attitude estimation apparatus, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010090270A JP5540850B2 (en) 2010-04-09 2010-04-09 Attitude estimation apparatus, method and program

Publications (2)

Publication Number Publication Date
JP2011220825A true JP2011220825A (en) 2011-11-04
JP5540850B2 JP5540850B2 (en) 2014-07-02

Family

ID=45038002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010090270A Expired - Fee Related JP5540850B2 (en) 2010-04-09 2010-04-09 Attitude estimation apparatus, method and program

Country Status (1)

Country Link
JP (1) JP5540850B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013054009A (en) * 2011-09-06 2013-03-21 Toyota Motor Corp Posture estimation device, posture estimation method and posture estimation program
JP2013116684A (en) * 2011-12-02 2013-06-13 Toyota Motor Corp Inverted pendulum vehicle, and method for correcting output value of angle sensor
CN104237380A (en) * 2014-10-10 2014-12-24 北京理工大学 Composite component manipulator scanning pose quaternion converting method
JP2015208790A (en) * 2014-04-24 2015-11-24 トヨタ自動車株式会社 Device and method of estimating center of gravity
CN105806343A (en) * 2016-04-19 2016-07-27 武汉理工大学 Indoor 3D positioning system and method based on inertial sensor
JP2017224258A (en) * 2016-06-15 2017-12-21 正仁 櫨田 Method of calculating quaternion in real number by cpu of computer
CN108507527A (en) * 2018-03-07 2018-09-07 北京电子工程总体研究所 A kind of gimbaled nozzle solving of attitude method
JP2019509073A (en) * 2015-12-16 2019-04-04 マフホウズ,モハメド ラシュワン IMU calibration
JP2021504735A (en) * 2018-01-05 2021-02-15 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Gimbal control methods, gimbals, and computer programs

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521697A (en) * 2000-02-03 2003-07-15 インディペンデンス・テクノロジー・エルエルシー Posture estimation of tiltable object using modified quaternion data notation
JP2005107247A (en) * 2003-09-30 2005-04-21 Canon Inc Method and device for estimating positional attitude
WO2005076225A1 (en) * 2004-02-03 2005-08-18 British Telecommunications Public Limited Company Posture and motion analysis using quaternions
JP2006285789A (en) * 2005-04-01 2006-10-19 Canon Inc Image processing method and image processor
US20070139420A1 (en) * 2002-08-09 2007-06-21 Michael Isner Subdividing rotation in a character using quaternion interpolation for modeling and animation in three dimensions
JP2008246609A (en) * 2007-03-29 2008-10-16 Honda Motor Co Ltd Leg type mobile robot
WO2009008372A1 (en) * 2007-07-06 2009-01-15 Sony Corporation Input device, controller, control system, control method, and hand-held device
JP2009300265A (en) * 2008-06-13 2009-12-24 Hitachi-Ge Nuclear Energy Ltd Position detecting device of underwater mobile body

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521697A (en) * 2000-02-03 2003-07-15 インディペンデンス・テクノロジー・エルエルシー Posture estimation of tiltable object using modified quaternion data notation
US20070139420A1 (en) * 2002-08-09 2007-06-21 Michael Isner Subdividing rotation in a character using quaternion interpolation for modeling and animation in three dimensions
JP2005107247A (en) * 2003-09-30 2005-04-21 Canon Inc Method and device for estimating positional attitude
WO2005076225A1 (en) * 2004-02-03 2005-08-18 British Telecommunications Public Limited Company Posture and motion analysis using quaternions
JP2006285789A (en) * 2005-04-01 2006-10-19 Canon Inc Image processing method and image processor
JP2008246609A (en) * 2007-03-29 2008-10-16 Honda Motor Co Ltd Leg type mobile robot
WO2009008372A1 (en) * 2007-07-06 2009-01-15 Sony Corporation Input device, controller, control system, control method, and hand-held device
JP2009300265A (en) * 2008-06-13 2009-12-24 Hitachi-Ge Nuclear Energy Ltd Position detecting device of underwater mobile body

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013054009A (en) * 2011-09-06 2013-03-21 Toyota Motor Corp Posture estimation device, posture estimation method and posture estimation program
JP2013116684A (en) * 2011-12-02 2013-06-13 Toyota Motor Corp Inverted pendulum vehicle, and method for correcting output value of angle sensor
JP2015208790A (en) * 2014-04-24 2015-11-24 トヨタ自動車株式会社 Device and method of estimating center of gravity
CN104237380A (en) * 2014-10-10 2014-12-24 北京理工大学 Composite component manipulator scanning pose quaternion converting method
JP2019509073A (en) * 2015-12-16 2019-04-04 マフホウズ,モハメド ラシュワン IMU calibration
US11946995B2 (en) 2015-12-16 2024-04-02 Techmah Medical Llc IMU calibration
US11435425B2 (en) 2015-12-16 2022-09-06 Techmah Medical Llc IMU calibration
CN105806343A (en) * 2016-04-19 2016-07-27 武汉理工大学 Indoor 3D positioning system and method based on inertial sensor
CN105806343B (en) * 2016-04-19 2018-05-22 武汉理工大学 Indoor 3D alignment systems and method based on inertial sensor
JP2017224258A (en) * 2016-06-15 2017-12-21 正仁 櫨田 Method of calculating quaternion in real number by cpu of computer
JP2021504735A (en) * 2018-01-05 2021-02-15 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Gimbal control methods, gimbals, and computer programs
JP7024155B2 (en) 2018-01-05 2022-02-24 エスゼット ディージェイアイ テクノロジー カンパニー リミテッド Gimbal control methods, gimbals, and computer programs
US11280447B2 (en) 2018-01-05 2022-03-22 SZ DJI Technology Co., Ltd. Gimbal control method, gimbal and machine-readable storage medium
US11739881B2 (en) 2018-01-05 2023-08-29 SZ DJI Technology Co., Ltd. Gimbal control method, gimbal and machine-readable storage medium
CN108507527A (en) * 2018-03-07 2018-09-07 北京电子工程总体研究所 A kind of gimbaled nozzle solving of attitude method
CN108507527B (en) * 2018-03-07 2020-12-22 北京电子工程总体研究所 Method for calculating attitude angle of swing spray pipe

Also Published As

Publication number Publication date
JP5540850B2 (en) 2014-07-02

Similar Documents

Publication Publication Date Title
JP5540850B2 (en) Attitude estimation apparatus, method and program
US10379613B2 (en) Tracking arm movements to generate inputs for computer systems
JP2019181692A (en) System and method for calculating orientation of device
JP5643334B2 (en) Angular velocity detection device, angular velocity detection method, moving state detection device, and navigation device
JP5570902B2 (en) Vehicle pitch angle estimation device
EP2472225A3 (en) Method and system for initial quaternion and attitude estimation
JP6255924B2 (en) IC for sensor, sensor device, electronic device and mobile object
JP2008089531A (en) Mobile object with inclined angle estimation mechanism
JP6191580B2 (en) Sensor calibration method for moving objects
JP6856742B2 (en) On-board unit, arithmetic unit and program
JP6383907B2 (en) Vehicle position measuring apparatus and method
JP5937137B2 (en) Geomagnetic detector
JP5267324B2 (en) Moving object, correction value calculation method, and program
JP7155562B2 (en) Attitude angle calculation device, movement device, attitude angle calculation method, and program
JP5747752B2 (en) Posture estimation device, posture estimation method, posture estimation program
JP2013104665A (en) Attitude angle calculation device, attitude angle calculation method, and program
JP6003146B2 (en) Acceleration bias estimation method and measurement apparatus
Park et al. High performance vision tracking system for mobile robot using sensor data fusion with kalman filter
JP6677576B2 (en) Method and apparatus for estimating position / posture of suspended moving object using acceleration signal
JP2010276562A (en) Position detector
US20200292316A1 (en) Movement information calculating device, movement information calculating method and movement information calculating program
JP5893254B2 (en) Portable device, program and method for correcting gravity vector used for autonomous positioning
JP6516332B2 (en) Mobile terminal, program and method for estimating forward direction of user using angular velocity sensor
JP6149791B2 (en) Center of gravity estimation device and center of gravity estimation method
JP2011064483A (en) Joint angle measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120528

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130514

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130712

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: 20140408

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140421

R151 Written notification of patent or utility model registration

Ref document number: 5540850

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees