JP2011161524A - Bipedal walking robot and method of generating gait data for the same - Google Patents

Bipedal walking robot and method of generating gait data for the same Download PDF

Info

Publication number
JP2011161524A
JP2011161524A JP2010023703A JP2010023703A JP2011161524A JP 2011161524 A JP2011161524 A JP 2011161524A JP 2010023703 A JP2010023703 A JP 2010023703A JP 2010023703 A JP2010023703 A JP 2010023703A JP 2011161524 A JP2011161524 A JP 2011161524A
Authority
JP
Japan
Prior art keywords
time
center
gravity
trajectory
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010023703A
Other languages
Japanese (ja)
Other versions
JP5392125B2 (en
Inventor
Masahiro Doi
将弘 土井
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 JP2010023703A priority Critical patent/JP5392125B2/en
Publication of JP2011161524A publication Critical patent/JP2011161524A/en
Application granted granted Critical
Publication of JP5392125B2 publication Critical patent/JP5392125B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique for efficiently computing gait data of a bipedal walking robot. <P>SOLUTION: A method for generating gait data includes a step of computing a track and a step of computing a goal angle. The step of computing a track computes time-series data of a position of the center of gravity based on the ZMP equation every predetermined cycle of track computation. The step of computing a goal angle computes a goal angle of a leg joint from the position of the center of gravity at each time point in time-series data. Further, the step of computing a track computes time-series data of the position of the center of gravity at a first time-period intervals equivalent to a servo control cycle of a joint during an initial period TS1 equivalent to the period that is from the current time TO to at least the cycle of track computation, and after the initial period TS1, computes time-series data of the position of the center of gravity at a second time-period intervals that is longer than the first time-period intervals. The step of computing a goal angle computes the goal angle of the leg joint from the position of the center of gravity at each time point in the initial period. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、2脚歩行ロボット(Biped Robot)に関する。特に、ロボット動作中のリアルタイム処理に適した歩容データを効率的に生成する技術に関する。   The present invention relates to a biped robot. In particular, the present invention relates to a technique for efficiently generating gait data suitable for real-time processing during robot operation.

歩行のための脚関節の目標角の時系列データは歩容データと呼ばれる。2脚歩行ロボットは、適切な歩容データを用いないと転倒してしまう。転倒するか否かは、ロボットが現実に歩行して初めて確認できる事項であるので、本明細書では、理論上転倒せずに歩行できることを便宜上、「安定に歩行することができる」と表現する。さらに、理論上、安定な歩行を実現することができる歩容データを便宜上「安定な歩容データ」と称する。また、以下では簡単のため「2脚歩行ロボット」を単に「ロボット」と称する。   The time series data of the target angle of the leg joint for walking is called gait data. A biped robot would fall over without proper gait data. Whether or not the robot falls is a matter that can be confirmed only when the robot actually walks. Therefore, in this specification, for the sake of convenience, the robot can walk without falling down. . Further, the gait data that can realize a stable walking in theory is referred to as “stable gait data” for convenience. In the following, for the sake of simplicity, the “biped walking robot” is simply referred to as “robot”.

安定な歩容データを生成する一つの手法は、ZMP方程式に基づいてロボットの重心軌道を生成し、重心軌道から脚各関節の目標角を求めることである。転倒するか否かは、ロボットの重心軌道が支配的な要素であるからである。なお、重心軌道は、重心位置の時系列データの別称である。以下、本明細書では、「軌道」という用語を「時系列データ」と等価の意味で用いる。   One method for generating stable gait data is to generate a center of gravity trajectory of the robot based on the ZMP equation, and obtain a target angle of each leg joint from the center of gravity trajectory. Whether or not the robot falls is because the center of gravity trajectory of the robot is the dominant factor. The center-of-gravity trajectory is another name for time-series data of the center-of-gravity position. Hereinafter, in this specification, the term “orbit” is used in the same meaning as “time-series data”.

「重心ヤコビアン」と呼ばれるに変換式を用いることによって、各時刻における重心位置から脚各関節の目標角を求めることができる。このことは良く知られているので説明は省略する。脚各関節の目標角の時系列データは重心軌道、重心周りのロボットの角運動量、および、足先の軌道から算出される。即ち、「重心軌道」は、「歩容データ」の主要な要素である。特に、安定に歩行するためには重心軌道が重要である。そのため、本明細書では、「歩容データ」との用語を、重心軌道と同等のものとして扱う。ZMP方程式に基づく歩容データ生成方法は、例えば特許文献1〜3に開示されている。なお、本明細書の最後にも、ZMP方程式に基づく歩容データ生成方法に関する説明を掲載するので参照されたい。   By using a conversion formula called “center of gravity Jacobian”, the target angle of each leg joint can be obtained from the position of the center of gravity at each time. Since this is well known, description is omitted. The time-series data of the target angle of each leg joint is calculated from the center of gravity trajectory, the angular momentum of the robot around the center of gravity, and the foot tip trajectory. That is, the “center of gravity trajectory” is a main element of “gait data”. In particular, the center of gravity trajectory is important for stable walking. Therefore, in this specification, the term “gait data” is treated as equivalent to the center of gravity trajectory. Gait data generation methods based on the ZMP equation are disclosed in, for example, Patent Documents 1 to 3. It should be noted that an explanation regarding a gait data generation method based on the ZMP equation is also provided at the end of this specification.

歩容データは、安定して歩行するための条件を満たすことが求められるため、その算出には高い計算負荷が必要とされる。そのため、歩容データを効率よく求める技術が望まれている。歩容データを効率よく求める一つの手法が特許文献1〜3に開示されている。その方法は、ZMP方程式に現れる重心加速度を連続する3つの時刻の重心位置の変数によって近似した3項方程式を用いる。ZMP方程式の3項方程式近似による重心位置の求解法も本明細書の最後に掲載するので参照されたい。   Since the gait data is required to satisfy the conditions for stable walking, a high calculation load is required for the calculation. Therefore, a technique for efficiently obtaining gait data is desired. One method for efficiently obtaining gait data is disclosed in Patent Documents 1 to 3. The method uses a ternary equation that approximates the acceleration of the center of gravity appearing in the ZMP equation by the variable of the center of gravity position at three consecutive times. A method of solving the center of gravity position by approximating the ternary equation of the ZMP equation is also described at the end of this specification, so please refer to it.

特開2009−066698号公報JP 2009-066668 A 特開2009−195999号公報JP 2009-195999 A 特開2009−214255号公報JP 2009-214255 A

本明細書は、特許文献1〜3とは別のアプローチで歩容データを効率よく求める技術を提供する。さらに、本明細書が開示する技術は、特許文献1〜3に開示される3項方程式による歩容データ生成方法に適用することで、さらなる計算効率化を図ることができる。   The present specification provides a technique for efficiently obtaining gait data by an approach different from Patent Documents 1 to 3. Furthermore, the technique disclosed in this specification can be applied to the gait data generation method based on the ternary equation disclosed in Patent Documents 1 to 3, thereby further improving the calculation efficiency.

前述したように、歩容データの計算負荷を増大させる主要な一因は、安定した歩行のための条件を満たす歩容データを求めることである。ここで、「安定した歩行のための条件」について考察する。例えば、現在時刻における遊脚が着地できることを(理論上)保証する歩容データであっても、その時点で体幹が大きく傾いていては、歩行を継続することができない。逆に、10分後まで歩行を継続できることを(理論上)保証した上で現在時刻から1分後までの歩容データを生成するのは無駄である。そこで、「安定した歩行のための条件」の一つの目安として、2歩進めることを(理論上)保証して歩容データを作成することが妥当であるという考え方がある。ここで、「2歩」とは次の事象を意味する。即ち、現在時刻における遊脚が着地するタイミングが「1歩目」に相当し、現在時刻における立脚が遊脚に移行し次いで着地するタイミングが「2歩目」に相当する。即ち、「安定な歩容データ」とは、現在時刻における立脚が離床し、次いで遊脚から立脚に切り換わる予定の時刻まで歩行が継続できることを(理論上)保証する歩容データに相当する。より詳しくは、前記した予定時刻においてロボット重心が適切な範囲内に存在すること、及び予定時刻における重心速度が適切な大きさ以下であることを(理論上)保証する歩容データが「安定な歩容データ」に相当する。以下では、安定な歩容データであることを保証する予定時刻におけるロボット重心位置と重心速度の範囲を予定時刻における境界条件と称することがある。   As described above, the main factor that increases the calculation load of gait data is to obtain gait data that satisfies the conditions for stable walking. Here, “conditions for stable walking” will be considered. For example, even if the gait data guarantees (theoretically) that the free leg can be landed at the current time, walking cannot be continued if the trunk is tilted at that time. Conversely, it is useless to generate gait data from the current time to 1 minute after guaranteeing that (in theory) it is possible to continue walking until 10 minutes later. Therefore, there is an idea that it is appropriate to create gait data with (in theory) guaranteeing that two steps are taken as one guideline of “conditions for stable walking”. Here, “two steps” means the next event. That is, the timing at which the free leg lands at the current time corresponds to “first step”, and the timing at which the stance at the current time shifts to the free leg and then lands corresponds to “second step”. That is, the “stable gait data” corresponds to gait data that (theoretically) guarantees that walking can be continued until the time when the standing leg at the current time leaves the floor and then the scheduled transition from the free leg to the standing leg is performed. More specifically, gait data that guarantees (theoretical) that the center of gravity of the robot is within an appropriate range at the scheduled time and that the center of gravity speed at the scheduled time is less than or equal to an appropriate magnitude is “stable. It corresponds to “gait data”. In the following, the range of the robot center of gravity position and the center of gravity speed at the scheduled time for guaranteeing stable gait data may be referred to as a boundary condition at the scheduled time.

なお、「安定した歩行のための条件」の一つの目安は、「2歩」でなく、「3歩」であることが明らかに好ましい。従って別言すれば、「安定な歩容データ」とは、少なくとも現在時刻における立脚が遊脚に移行し次に遊脚から立脚に切り換わる予定時刻において重心位置が予め定められた範囲に存在することが保証できる重心軌道に相当する。以下では、「現在時刻における立脚が遊脚に移行し次に遊脚から立脚に切り換わる予定時刻」を「2歩目着地予定時刻」と称する。   Note that it is clearly preferable that one guideline of “conditions for stable walking” is not “2 steps” but “3 steps”. Therefore, in other words, the “stable gait data” means that the position of the center of gravity exists in a predetermined range at least at the scheduled time when the stance at the current time shifts to the free leg and then switches from the free leg to the stance. This corresponds to the center of gravity trajectory that can be guaranteed. Hereinafter, the “scheduled time when the standing leg at the current time shifts to the swinging leg and then switches from the swinging leg to the standing leg” is referred to as “second landing scheduled time”.

一歩行周期TWよりも短い軌道計算周期で、2歩目着地予定時刻までの「安定な歩容データ」を繰り返し算出すれば、常に2歩目まで歩行できることが(理論上)保証され、結果的に、2歩以上歩行を継続できることになる(理論的には無限に歩行を継続できる)。なお、2歩目着地予定時刻は、一歩行周期TWを予め定めておくことによって、現在時刻における歩行周期内のポジションと一歩行周期TWから決定することができる。以下では、現在時刻から2歩目着地予定時刻までの期間を、軌道算出期間と称する。   By repeatedly calculating “stable gait data” up to the scheduled landing time for the second step with a trajectory calculation cycle shorter than one walking cycle TW, it is guaranteed (theoretically) that you can always walk to the second step, and as a result In addition, it is possible to continue walking for two or more steps (theoretically, walking can be continued indefinitely). The scheduled landing time for the second step can be determined from a position in the walking cycle at the current time and the one walking cycle TW by setting one walking cycle TW in advance. Hereinafter, a period from the current time to the scheduled landing time for the second step is referred to as a trajectory calculation period.

ここで、一歩行周期TWは概ね1秒である。従って、軌道算出期間は概ね2秒となる。他方、関節のサーボ制御周期は、概ね5msec以下であり好ましくは2msec以下である。これは以下の理由による。サーボ制御周期をシステム全体のサンプリング周期と仮定すると、シャノンのサンプリング定理より、サーボ制御周期が5msecの場合はシステムのダイナミックレンジが理論上100Hzであり、サーボ制御周期が2msecの場合はシステムのダイナミックレンジが理論上250Hzとなる。人間の応答速度が概ね0.1秒(即ち100Hz)であるから、人間と同等のダイナミックレンジを有する2脚歩行ロボットを実現するためには、サーボ制御周期は5msec以下が必要ということになる。   Here, one walking cycle TW is approximately 1 second. Therefore, the trajectory calculation period is approximately 2 seconds. On the other hand, the servo control cycle of the joint is approximately 5 msec or less, preferably 2 msec or less. This is due to the following reason. Assuming that the servo control period is the sampling period of the entire system, according to Shannon's sampling theorem, the dynamic range of the system is theoretically 100 Hz when the servo control period is 5 msec, and the dynamic range of the system when the servo control period is 2 msec. Is theoretically 250 Hz. Since the response speed of a human is approximately 0.1 seconds (that is, 100 Hz), in order to realize a biped walking robot having a dynamic range equivalent to that of a human, the servo control cycle is required to be 5 msec or less.

サーボ制御周期に合わせて関節目標角を順次変更していく必要がある。即ち、サーボ制御周期に相当する第1時間間隔で関節目標角の時系列データが必要となる。そのためには、第1時間間隔で重心位置の時系列データが必要となる。前述したように軌道算出期間は概ね2秒であるから、サーボ制御周期を仮に2msecとすると1回の軌道計算で1000点の重心位置のデータを算出しなければならず、高い計算能力が要求される。   It is necessary to sequentially change the joint target angle according to the servo control cycle. That is, time series data of the joint target angle is required at the first time interval corresponding to the servo control cycle. For this purpose, time-series data of the center of gravity position is required at the first time interval. As described above, the trajectory calculation period is approximately 2 seconds. Therefore, assuming that the servo control cycle is 2 msec, it is necessary to calculate the data of the center of gravity position of 1000 points in one trajectory calculation, and high calculation ability is required. The

発明者は、サーボ制御周期(5msec以下)、2歩目までの軌道算出期間(約2秒)、及び、軌道計算周期の差に着目した。ここで、軌道計算周期は、一歩行周期TW(約1秒)よりも小さいことが必要であるが、サーボ制御周期ほどには小さくなくてよい。現在時刻から少なくとも軌道計算周期に相当する期間(この期間を初期期間と称する)の間は、サーボ制御周期に相当する第1時間間隔で重心軌道(重心位置の時系列データ)を求める必要があるが、初期期間以降は、安定であることが保証できればよいので第1時間間隔で重心軌道を求める必要はない。なぜならば、軌道計算周期毎に重心軌道を再計算するのであれば、初期期間以降の重心軌道はサーボ制御には利用されないからである。   The inventor paid attention to the difference between the servo control period (5 msec or less), the trajectory calculation period up to the second step (about 2 seconds), and the trajectory calculation period. Here, the trajectory calculation period needs to be smaller than one walking period TW (about 1 second), but may not be as small as the servo control period. At least during the period corresponding to the trajectory calculation period from the current time (this period is referred to as the initial period), it is necessary to obtain the center of gravity trajectory (time series data of the center of gravity position) at the first time interval corresponding to the servo control period. However, after the initial period, it is only necessary to ensure that it is stable, so there is no need to obtain the center of gravity trajectory at the first time interval. This is because if the center-of-gravity trajectory is recalculated for each trajectory calculation period, the center-of-gravity trajectory after the initial period is not used for servo control.

即ち、初期期間以降の重心軌道は第1時間間隔より長い第2時間間隔で求めればよい。そうすることによって、サーボ制御に影響を与えることなく、2歩目着地予定時刻までの重心軌道を従来よりも少ない点数の時系列データで表すことができる。求める時系列データの点数が少なくなれば計算負荷を低減できる。例えば、サーボ制御周期(第1時間間隔)を2msec、軌道算出期間を2秒とすると、従来は1000点の時系列データを計算する必要があった。初期期間(軌道計算周期)を500msec、第2時間間隔を10msecとすると、2秒の重心算出期間は、500/2+1500/10=400、即ち、400点の時系列データに短縮することができる。この場合、データ点数が半分以下となるので、計算負荷も概算で半分以下となることが期待できる。即ち、初期期間以降の重心軌道をサーボ制御周期よりも長い時間間隔で求めることによって、安定な歩容データを算出する際の効率を格段に向上することができる。なお、実際には計算オーバーヘッド等を要するために計算時間は単純にデータ点数の比とはならないことに留意されたい。   That is, the center of gravity trajectory after the initial period may be obtained at a second time interval longer than the first time interval. By doing so, the center-of-gravity trajectory up to the scheduled time for landing at the second step can be represented by time-series data with a smaller number of points than before without affecting the servo control. If the number of required time series data is reduced, the calculation load can be reduced. For example, assuming that the servo control period (first time interval) is 2 msec and the trajectory calculation period is 2 seconds, it has been conventionally necessary to calculate 1000 time-series data. If the initial period (orbit calculation cycle) is 500 msec and the second time interval is 10 msec, the center-of-gravity calculation period of 2 seconds can be reduced to 500/2 + 1500/10 = 400, that is, 400 points of time-series data. In this case, since the number of data points is less than half, it can be expected that the calculation load is also roughly less than half. That is, by obtaining the center of gravity trajectory after the initial period at a time interval longer than the servo control cycle, the efficiency in calculating stable gait data can be significantly improved. It should be noted that the calculation time is not simply the ratio of the number of data points because the calculation overhead is actually required.

上記した手法の一実施形態は、2脚歩行ロボットの歩容データ生成方法として具現化できる。その方法は、軌道算出ステップと目標角算出ステップを含む。軌道算出ステップは、予め定められた軌道計算周期毎にZMP方程式に基づいて重心位置の時系列データを算出する。目標角算出ステップは、時系列データの各時刻における重心位置に基づいて(重心ヤコビアンを使って)脚関節の目標角を算出する。ここで、軌道算出ステップは、現在時刻から少なくとも軌道計算周期に相当する初期期間の間は関節のサーボ制御周期に相当する第1時間間隔で重心位置の時系列データを算出する。さらに軌道算出ステップは、初期期間以降は第1時間間隔よりも長い第2時間間隔で重心位置の時系列データを算出する。なお、軌道計算周期は、一歩行周期TWよりも短い。また、目標角算出ステップは、初期期間における各時刻の重心位置から脚関節の目標角を算出する。   One embodiment of the above-described technique can be embodied as a gait data generation method for a biped walking robot. The method includes a trajectory calculation step and a target angle calculation step. The trajectory calculation step calculates time series data of the center of gravity based on the ZMP equation for each predetermined trajectory calculation period. The target angle calculation step calculates the target angle of the leg joint based on the position of the center of gravity at each time of the time series data (using the center of gravity Jacobian). Here, the trajectory calculation step calculates time-series data of the center of gravity position at a first time interval corresponding to the joint servo control cycle for at least an initial period corresponding to the trajectory calculation cycle from the current time. Furthermore, the trajectory calculation step calculates time series data of the center of gravity position at a second time interval longer than the first time interval after the initial period. The trajectory calculation cycle is shorter than one walking cycle TW. In the target angle calculation step, the target angle of the leg joint is calculated from the barycentric position at each time in the initial period.

通常、重心軌道の上下方向成分は予め与えられることが多い。従って軌道算出ステップにおいて算出する重心軌道は、歩行面に平行な面における重心軌道でよい。ここで「歩行面に平行な面」は、ロボットの進行方向を表すx軸と体側方向を表すy軸が張る平面を意味する。以下、「歩行面に平行な面」を、本明細書では床平行面と称する。なお、「サジタル面」は、ロボットの進行方向を表すx軸を含み、床平行面と直交する面を意味する。安定か否かは、床平行面内における重心軌道が重要である。安定か否かは、重心軌道が歩行面上に描かれる歩行経路から発散しないことが重要だからである。通常、安定した歩行では、床平行面内の重心軌道は、歩行経路を中心に体側方向に振れながら進んでいく。なお、重心軌道の鉛直方向成分は体幹の上下動に相当し、通常は既定の軌道が予め準備される。   Usually, the vertical component of the center of gravity trajectory is often given in advance. Therefore, the center-of-gravity trajectory calculated in the trajectory calculation step may be a center-of-gravity trajectory in a plane parallel to the walking surface. Here, the “plane parallel to the walking surface” means a plane extending by the x axis representing the traveling direction of the robot and the y axis representing the body side direction. Hereinafter, the “surface parallel to the walking surface” is referred to as a floor parallel surface in this specification. The “sagittal plane” means a plane that includes the x-axis that represents the traveling direction of the robot and is orthogonal to the floor parallel plane. The center of gravity trajectory in the plane parallel to the floor is important for the stability. This is because it is important that the center of gravity trajectory does not diverge from the walking route drawn on the walking surface. Normally, in stable walking, the center-of-gravity trajectory in the floor parallel plane advances while swinging in the body side direction around the walking path. The vertical component of the center of gravity trajectory corresponds to the vertical movement of the trunk, and a predetermined trajectory is usually prepared in advance.

前述したように、安定した歩行を実現するためには、軌道算出ステップは、軌道計算周期毎に、少なくとも現在時刻における立脚が遊脚に移り次いで遊脚から立脚に切り換わる予定時刻(2歩目着地予定時刻)までの期間(軌道算出期間)について、重心位置の時系列データを算出する。前述したように、2歩目着地予定時刻は、予め与えられる一歩行周期TWによって定められる。   As described above, in order to realize stable walking, the trajectory calculation step includes at least a scheduled time (second step) at which the stance at the current time moves to the free leg and then switches from the free leg to the stance at every trajectory calculation period. The time series data of the center of gravity position is calculated for the period (orbit calculation period) until the scheduled landing time). As described above, the scheduled landing time for the second step is determined by a predetermined walking cycle TW.

上記した方法は、ZMP方程式を、床平行面内の重心加速度を連続する3つの時刻の重心位置の変数によって近似した3項方程式で表し、その3項方程式を解いて重心軌道を算出する手法と組み合わせるとさらに計算効率が向上する。3項方程式近似によって、ZMP方程式から床平行面内の重心加速度項を消去することができ、それによってZMP方程式を重心位置とZMPとの関係式として表すことができる。詳細は実施例の後に付した「歩容データ算出方法についての説明」を参照されたい。ここでは、要点だけを説明する。3項方程式近似によって、離散時間系で順次に並ぶn時刻分のZMP方程式(時刻毎のZMP方程式を、微小時刻Δtごとにn時刻分並べた方程式群)は、[A][X]=[Q]のマトリクス形式で表現できる。なお、重心軌道のx軸方向(ロボット進行方向)成分とy軸方向(ロボット体側方向)成分の夫々についてマトリクス表現ができる。両者は基本的に同じであるので、以下ではx軸方向成分に関して説明する。ここで、[A]はn次のマトリクスであり、[X]は重心位置のx座標のn次列ベクトルであり、[Q]はZMPのx座標のn次列ベクトルである。従って、重心位置のx座標ベクトル[X]は、[A]−1[Q]で求められる。次数nは、重心位置の時系列データの時間間隔が短いほど大きくなる。従って、上記方法により初期期間以降の時間間隔(第2時間間隔)を長くすることによって、次数nを顕著に減らすことができ、行列演算に要する計算負荷を格段に低減することができる。上記したマトリクス方程式は、初期時刻と終端時刻の境界条件を与えることによって、重心軌道[X]について解くことができる(詳しくは「歩容データ算出方法についての説明」を参照されたい)。 The method described above represents the ZMP equation as a ternary equation that approximates the acceleration of the center of gravity in the floor parallel plane by the variable of the center of gravity position at three consecutive times, and calculates the center of gravity trajectory by solving the ternary equation. When combined, calculation efficiency is further improved. By ternary equation approximation, the center-of-gravity acceleration term in the floor parallel plane can be eliminated from the ZMP equation, whereby the ZMP equation can be expressed as a relational expression between the center-of-gravity position and ZMP. For details, refer to “Description of Gait Data Calculation Method” attached to the end of the example. Only the main points will be described here. By ternary equation approximation, ZMP equations for n times sequentially arranged in a discrete time system (a group of equations in which ZMP equations for each time are arranged for n times every minute time Δt) are expressed as [A] [X] = [ Q] matrix form. It should be noted that a matrix representation can be made for each of the x-axis direction (robot traveling direction) component and the y-axis direction (robot body side direction) component of the center of gravity trajectory. Since both are basically the same, the x-axis direction component will be described below. Here, [A] is an n-order matrix, [X] is an n-order column vector of the x-coordinate of the centroid position, and [Q] is an n-order column vector of the x-coordinate of ZMP. Therefore, the x-coordinate vector [X] of the centroid position is obtained by [A] −1 [Q]. The order n increases as the time interval of the time series data of the center of gravity position is shorter. Therefore, by increasing the time interval (second time interval) after the initial period by the above method, the order n can be remarkably reduced, and the calculation load required for the matrix operation can be significantly reduced. The matrix equation described above can be solved for the center-of-gravity trajectory [X] by giving a boundary condition between the initial time and the end time (for details, see “Description of Gait Data Calculation Method”).

3項方程式近似を採用する場合、第2時間間隔は、一歩行周期TWを時分割するための予め定められた次数nで一歩行周期TWを除した値で定めるとよい。予め定められた次数nは、上記した行列の次数に相当する。即ち、そのように定めると、行列の次数nを一定にすることができる。重心軌道を求めるための行列演算に要する計算時間を一定にすることができる。   When the ternary equation approximation is adopted, the second time interval may be determined by a value obtained by dividing the one walking cycle TW by a predetermined order n for time-sharing the one walking cycle TW. The predetermined order n corresponds to the order of the matrix described above. In other words, if so determined, the order n of the matrix can be made constant. The calculation time required for the matrix calculation for obtaining the center of gravity trajectory can be made constant.

重心軌道を求める手法は、上記したマトリクス法に限られない。ZMP方程式は、重心の運動方程式に相当する。即ち、ZMP方程式では、各時刻における重心の加速度が重心の位置とZMPで表される。従ってZMP方程式で表される重心加速度を数値積分していくことによっても重心軌道を求めることができる。数値積分の際の時間ステップが時系列データの時間間隔に相当する。従って、数値積分によってZMP方程式から重心軌道を求める場合であっても、上記した手法は計算負荷を低減することができる。数値積分法は、ルンゲクッタ法や予測子修正子法など、良く知られた様々な手法を採用してよい。なお、上記した3項方程式近似は、オイラー法による近似に基本的に対応する。   The method for obtaining the center of gravity trajectory is not limited to the matrix method described above. The ZMP equation corresponds to the equation of motion of the center of gravity. That is, in the ZMP equation, the acceleration of the center of gravity at each time is expressed by the position of the center of gravity and ZMP. Therefore, the center of gravity trajectory can also be obtained by numerically integrating the center of gravity acceleration represented by the ZMP equation. A time step in numerical integration corresponds to a time interval of time series data. Therefore, even when the center of gravity trajectory is obtained from the ZMP equation by numerical integration, the above-described method can reduce the calculation load. For the numerical integration method, various well-known methods such as the Runge-Kutta method and the predictor corrector method may be employed. The ternary equation approximation described above basically corresponds to the approximation by the Euler method.

上記した手法の他の一実施形態は、2脚歩行ロボットに具現化することも好適である。その2脚歩行ロボットは、軌道算出部、目標角算出部、サーボ制御部を備える。軌道算出部は、予め定められた軌道計算周期毎にZMP方程式に基づいて床平行面における重心位置の時系列データを算出する。目標角算出部は、時系列データの各時刻における重心位置から脚関節の目標角を算出する。サーボ制御部は、サーボ制御周期毎に脚の計測関節角を目標角に追従するように制御する。軌道算出部は、現在時刻から少なくとも軌道計算周期に相当する初期期間の間はサーボ制御周期に相当する第1時間間隔で重心位置の時系列データを算出する。さらに軌道算出部は、初期期間以降は第1時間間隔よりも長い第2時間間隔で重心位置の時系列データを算出する。目標角算出部は、初期期間における各時刻の重心位置から脚関節の目標角を算出する。サーボ制御部は、サーボ制御周期毎に脚の実際の関節角(計測関節角)を目標角に追従するように制御する。なお、軌道算出部は、軌道計算周期毎に、少なくとも2歩目着地予定時刻までの重心位置の時系列データを算出する。そのような2脚歩行ロボットは、上記した歩容データ生成方法をリアルタイムに実行しながら安定に歩行することができる。   Another embodiment of the method described above is also preferably embodied in a biped robot. The biped robot includes a trajectory calculation unit, a target angle calculation unit, and a servo control unit. The trajectory calculation unit calculates time series data of the center of gravity position on the floor parallel plane based on the ZMP equation for each predetermined trajectory calculation period. The target angle calculation unit calculates the target angle of the leg joint from the position of the center of gravity at each time of the time series data. The servo control unit performs control so that the measurement joint angle of the leg follows the target angle every servo control period. The trajectory calculation unit calculates time series data of the center of gravity position at a first time interval corresponding to the servo control period for at least an initial period corresponding to the trajectory calculation period from the current time. Further, the trajectory calculation unit calculates time series data of the center of gravity position at a second time interval longer than the first time interval after the initial period. The target angle calculation unit calculates the target angle of the leg joint from the position of the center of gravity at each time in the initial period. The servo control unit performs control so that the actual joint angle (measured joint angle) of the leg follows the target angle every servo control period. Note that the trajectory calculation unit calculates time-series data of the center of gravity position at least up to the second landing scheduled time for each trajectory calculation period. Such a biped robot can stably walk while executing the above-described gait data generation method in real time.

実施例の2脚歩行ロボットを示す。The biped walking robot of an Example is shown. 図1の一部拡大図を示す。FIG. 2 shows a partially enlarged view of FIG. 1. コントローラのブロック図を示す。A block diagram of the controller is shown. コントローラが実行する処理のフローチャートを示す。The flowchart of the process which a controller performs is shown. ZMP方程式を説明する模式図である。It is a schematic diagram explaining a ZMP equation.

図1に、歩行中の2脚歩行ロボット100の側面図を示す。以下、2脚歩行ロボット100を単にロボット100と称する。夫々の脚(右脚12Rと左脚12L)は、股関節がロール軸、ピッチ軸、ヨー軸周り回転の3自由度を有し、膝関節がピッチ軸周り回転の1自由度を有し、足首関節がロール軸周り回転とピッチ軸周り回転の2自由度を有する。ロボット100はさらに、足平にピッチ軸回りの関節を備えている。この関節は足指付け根の関節に相当する。足指付け根の関節を有すると、人間の歩行動作と同じ様に、足指の底面(及び母趾球)で接地しつつ踵を上げることができ、円滑な歩行動作を達成することができる。各関節はモータ14とセンサ16(エンコーダ)を搭載している。センサ16は関節角を検出する。体幹10にはコントローラ20が内蔵されている。コントローラ20が、センサ16のセンサデータに基づいてモータ14を制御する。コントローラ20が各モータを適切に制御することによって、ロボット100は歩行する。本明細書が開示する技術は、脚の幾何学的な構造、各関節のサーボ制御ルールに依存しないことに留意されたい。従って、脚の構造、及び、関節サーボ制御ルールの詳しい説明は省略する。上記した7自由度の脚は一例であり、本明細書が開示する技術は、当然、他の自由度を有する脚、或いは他の幾何学的構造を有する脚を備えた2脚歩行ロボットに適用することができる。また、2脚歩行ロボットは腕や頭を備えていてもよい。   FIG. 1 shows a side view of a biped walking robot 100 during walking. Hereinafter, the biped walking robot 100 is simply referred to as a robot 100. Each leg (right leg 12R and left leg 12L) has three degrees of freedom in which the hip joint rotates around the roll axis, the pitch axis, and the yaw axis, and the knee joint has one degree of freedom in rotation around the pitch axis. The joint has two degrees of freedom: rotation about the roll axis and rotation about the pitch axis. The robot 100 further includes a joint around the pitch axis on the foot. This joint corresponds to the joint at the base of the toes. Having a joint at the base of the toes can raise the heel while touching the bottom of the toes (and the baseball) in the same way as a human walking action, thereby achieving a smooth walking action. Each joint is equipped with a motor 14 and a sensor 16 (encoder). The sensor 16 detects the joint angle. The trunk 10 incorporates a controller 20. The controller 20 controls the motor 14 based on the sensor data of the sensor 16. When the controller 20 appropriately controls each motor, the robot 100 walks. It should be noted that the technique disclosed in this specification does not depend on the leg geometric structure and the servo control rule of each joint. Therefore, detailed description of the leg structure and the joint servo control rules is omitted. The above-described 7-degree-of-freedom leg is an example, and the technology disclosed in this specification is naturally applied to a biped robot having legs with other degrees of freedom or legs having other geometric structures. can do. Further, the biped walking robot may have an arm or a head.

座標系について説明する。図1において、x軸はロボット進行方向に相当し、y軸はロボット体側方向に相当する。z軸はx軸及びy軸に直交する。本明細書では、x軸とy軸が張る平面を「床平行面」と称する。x軸とz軸が張る平面はサジタル面と呼ばれている。図1の上側の側面図がサジタル面に相当する。図1の下側は、床平行面を示している。床平行面は歩行面に相当する。図1下側の床平行面は、足の着地位置を示している。なお、図1下側の床平行面の図は、後述の「歩容データ算出についての補足事項」の項にて説明する際に用いる。   The coordinate system will be described. In FIG. 1, the x-axis corresponds to the robot traveling direction, and the y-axis corresponds to the robot body side direction. The z axis is orthogonal to the x axis and the y axis. In this specification, a plane formed by the x-axis and the y-axis is referred to as a “floor parallel plane”. A plane extending between the x-axis and the z-axis is called a sagittal plane. The upper side view of FIG. 1 corresponds to the sagittal plane. The lower side of FIG. 1 shows a floor parallel plane. The floor parallel plane corresponds to the walking plane. The floor parallel plane on the lower side of FIG. 1 indicates the landing position of the foot. In addition, the figure of the floor parallel plane on the lower side of FIG. 1 is used in the description of “Additional items for gait data calculation” described later.

ロボット100は、安定した歩行を実現するための歩容データを高速に求めることができる点に特徴がある。なお、「安定した歩行」とは、前述したように、少なくとも2歩進むことが理論上保証される歩容データを意味する。まず、歩容データについて概説する。歩容データは、実質的には重心軌道(重心位置の時系列データ)で決まる。歩容データは、ロボットが安定に歩行できなれば意味が無く、安定に歩行できるか否かは重心軌道に依存するからである。また、最終的には歩容データは各関節の目標角の時系列データで表現されるが、重心ヤコビアンによって重心軌道から目標角の時系列データが算出できるので、「歩容データ」は実質的には「重心軌道」に相当するとみなしてよい。「重心ヤコビアン」については脚式ロボットの技術分野では良く知られているので詳しい説明は省略する。   The robot 100 is characterized in that gait data for realizing stable walking can be obtained at high speed. Note that “stable walking” means gait data that is theoretically guaranteed to advance at least two steps, as described above. First, gait data will be outlined. Gait data is substantially determined by the center of gravity trajectory (time-series data of the center of gravity position). Gait data is meaningless if the robot can walk stably, and whether or not it can walk stably depends on the center of gravity trajectory. In addition, although the gait data is ultimately expressed as time-series data of target angles of each joint, the time-series data of the target angles can be calculated from the center-of-gravity trajectory by the center of gravity Jacobian. May be considered to correspond to a “center of gravity trajectory”. The “center of gravity Jacobian” is well known in the technical field of legged robots, and will not be described in detail.

前述したように安定した歩容データは、実質的には、床平行面における重心軌道で定まる。なぜならば、床平行面における重心軌道が歩行経路から大きく離れないことが即ち「安定した歩行」に相当するからである。本実施例のロボット100は、現在時刻T0から2歩目着地予定時刻T2までの重心軌道が歩行経路から大きくずれないことを理論上保証する歩容データを算出する。そのような安定な歩容データの算出方法は、ZMP方程式に基づいて算出できることが知られている。2歩目着地予定時刻T2までの重心軌道の具体的な算出方法は、後の「歩容データ算出方法についての説明」の項にて説明するのでそちらを参照されたい。なお、本明細書が開示する新規な歩容データ算出技術は、物理現象的な観点からは従来の算出技術と同じ技術を用いるが、計算の仕方に工夫があり、従来よりも効率よく歩容データを算出することを可能にする。   As described above, stable gait data is substantially determined by the center-of-gravity trajectory in the floor parallel plane. This is because the center of gravity trajectory on the floor parallel plane does not greatly deviate from the walking path, that is, it corresponds to “stable walking”. The robot 100 according to the present embodiment calculates gait data that theoretically guarantees that the center-of-gravity trajectory from the current time T0 to the scheduled landing time T2 for the second step does not greatly deviate from the walking route. It is known that such a stable gait data calculation method can be calculated based on the ZMP equation. A specific method for calculating the center of gravity trajectory up to the second landing scheduled time T2 will be described later in the “Description of Gait Data Calculation Method” section, so please refer to it. Note that the new gait data calculation technology disclosed in this specification uses the same technology as the conventional calculation technology from the viewpoint of physical phenomena, but the method of calculation is devised and the gait is more efficient than before. Allows data to be calculated.

図1の各符号について説明する。図1の(A)は、現在時刻T0におけるロボット100の姿勢を示している。現在時刻T0では、ロボット100の左脚12Lが立脚となっており、右脚12Rが遊脚となっている。(B)は1歩目着地予定時刻T1における姿勢(予定値)を示し、(C)は2歩目着地予定時刻T2における姿勢(予定値)を示している。「1歩目着地予定時刻T1」とは、現在時刻T0における遊脚(右脚12R)が着地する予定の時刻に相当する。2歩目着地予定時刻T2は、現在時刻T0における立脚(左脚12L)が離床し、次いで遊脚から立脚に切り換わる予定(着地予定)の時刻に相当する。なお、一歩行周期TWは予め与えられる。現在の歩行周期の開始時刻は既に特定されているので、与えられた一歩行周期TWから時刻T1とT2が定まる。   Each symbol in FIG. 1 will be described. FIG. 1A shows the posture of the robot 100 at the current time T0. At the current time T0, the left leg 12L of the robot 100 is a standing leg, and the right leg 12R is a free leg. (B) shows the posture (scheduled value) at the first-step scheduled landing time T1, and (C) shows the posture (scheduled value) at the second-step scheduled landing time T2. The “first step landing scheduled time T1” corresponds to the time when the free leg (right leg 12R) is scheduled to land at the current time T0. The scheduled second landing time T2 corresponds to the time (planned landing) at which the stance (left leg 12L) at the current time T0 leaves the floor and then switches from the free leg to the stance. One walking cycle TW is given in advance. Since the start time of the current walking cycle has already been specified, times T1 and T2 are determined from a given walking cycle TW.

(i)、y(i)、及び、z(i)は、それぞれ、時刻iにおける重心Gのx座標、y座標、及び、z座標を表している。ここで、「座標」は、「位置」に相当する。x(T0)は、現在時刻T0における重心Gのx座標(x軸方向の重心位置)を表している。x(T1)、x(T2)、は夫々、1歩目着地予定時刻T1、2歩目着地予定時刻T2における重心Gのx座標(予定値)を表している。v(T0)は、現在時刻T0における重心Gの速度のx軸方向成分を表している。v(T0)は、脚の各関節が備えるセンサ16のセンサデータから求められる。v(T1)、v(T2)、は夫々、1歩目着地予定時刻T1、2歩目着地予定時刻T2における重心Gの速度のx軸方向成分を表している。v(T1)、v(T2)、は予め与えられる値である。例えば、ロボット100が一定速度V0で直線歩行する場合、「v(T1)=v(T2)=V0」となる。 x g (i), y g (i), and z g (i) represent the x, y, and z coordinates of the center of gravity G at time i, respectively. Here, “coordinates” correspond to “positions”. x g (T0) represents the x coordinate (the position of the center of gravity in the x-axis direction) of the center of gravity G at the current time T0. x g (T1) and x g (T2) represent the x coordinate (scheduled value) of the center of gravity G at the first step landing scheduled time T1 and the second step landing scheduled time T2, respectively. v g (T0) represents the x-axis direction component of the velocity of the center of gravity G at the current time T0. v g (T0) is obtained from the sensor data of the sensor 16 included in each joint of the leg. v g (T1), v g (T2), are each, represent the x-axis direction component of the velocity of the center of gravity G in the first step and the expected landing time T1,2 step th expected landing time T2. v g (T1) and v g (T2) are values given in advance. For example, when the robot 100 walks linearly at a constant speed V0, “v g (T1) = v g (T2) = V0”.

(i)は、現在時刻における遊脚(右脚12R)の足の軌道を表している。本実施例では、足の軌道は、足のつま先に固定された点の軌道で現される。x(T0)は、現在時刻T0における遊脚足のx座標(左足位置)を表している。x(T1)は、着地予定時刻T1における遊脚足のx座標、即ち、遊脚の着地予定位置を示している。 x p (i) represents the trajectory of the free leg (right leg 12R) at the current time. In this embodiment, the foot trajectory is represented by a trajectory of a point fixed on the toe of the foot. x p (T0) represents the x coordinate (left foot position) of the free leg foot at the current time T0. x p (T1) indicates the x coordinate of the free leg at the planned landing time T1, that is, the planned landing position of the free leg.

図1の下側の床平行面について簡単に説明する。詳しくは、後の「歩容データ算出方法についての説明」の項で述べる。F0は、現在時刻における立脚(左脚)足の位置を示している。F1、F2は、右脚足の着地予定位置、左脚足の次の着地予定位置を表している。符号LPathが示す直線は歩行経路を表している。符号LZMPが示す破線はZMP軌道を表しており、符号Lが示す実線は床平行面における重心軌道を表している。本明細書においてZMPとは、接地している足の裏面に分布している床圧力の中心(圧力中心)を意味する。この定義は、ZMPの概念を始めて提唱したユーゴスラビアのブコブラトビッチの定義に相当する。なお、図1の一点鎖線は、時刻T1において左足が位置F0で接地しており右足が位置F1で接地している両脚支持期間における支持多角形を示している。「支持多角形」もブコブラトビッチの定義に準ずる。支持多角形は、片脚立脚期間では接地している足の足裏面に等しい。両脚接地期間では上記したように接地している両足位置によって支持多角形が画定される。 The floor parallel surface on the lower side of FIG. 1 will be briefly described. Details will be described later in the section “Description of Gait Data Calculation Method”. F0 indicates the position of the standing leg (left leg) at the current time. F1 and F2 represent the planned landing position of the right leg foot and the next planned landing position of the left leg foot. The straight line indicated by the symbol L Path represents the walking route. The broken line indicated by the symbol L ZMP represents the ZMP trajectory, and the solid line indicated by the symbol L g represents the center of gravity trajectory on the floor parallel plane. In this specification, ZMP means the center of the bed pressure (center of pressure) distributed on the back surface of the grounded foot. This definition corresponds to the definition of Yugoslavia's Bukobratovic, which first proposed the concept of ZMP. 1 indicates a support polygon in a both-leg support period in which the left foot is in contact with the position F0 and the right foot is in contact with the position F1 at time T1. "Supporting polygon" also follows the definition of Bukobratovic. The support polygon is equal to the sole of the foot that is in contact with the ground during the one-leg stand. In the both-leg contact period, the support polygon is defined by the positions of both feet that are in contact as described above.

図1下側の床平行面の図は、安定した歩容データ、即ち安定した重心軌道Lを示している。重心軌道Lは歩行経路LPathに対して左右に振れながらも歩行経路LPathに沿っているからである。安定な重心軌道の算出方法については「歩容データ算出方法についての説明」を参照されたい。 FIG floor parallel surfaces of Figure 1 the lower shows a steady gait data, i.e. stable trajectory of the center of gravity L g. Trajectory of the center of gravity L g is because also along the walking path L Path while swung to the right and left with respect to the walking path L Path. Refer to “Explanation of Gait Data Calculation Method” for the calculation method of stable center of gravity trajectory.

ロボット100は、現在時刻T0において、2歩目着地予定時刻T2までの重心軌道を算出する。なお、以下では、重心位置のx成分x(i)について説明し、y成分y(i)についてはx成分と同様であるので説明は省略する。ロボット100は、現在時刻T0において、重心位置のx成分x(i)、(ただしi=0からT2)を算出する。 The robot 100 calculates the center-of-gravity trajectory up to the scheduled landing time T2 for the second step at the current time T0. In the following, the x component x g (i) of the center of gravity position will be described, and the y component y g (i) will be omitted since it is the same as the x component. The robot 100 calculates the x component x g (i) (where i = 0 to T2) of the center of gravity position at the current time T0.

図2を用いてロボット100の歩容データ生成処理をさらに説明する。図2は、図1の一部を拡大した図である。図2は、現在時刻T0から1歩目着地予定時刻T1までの期間を拡大した図である。重心軌道Lは、重心位置の時系列データであり、現在時刻T0から2歩目着地予定時刻T2までの重心位置の点列として求められる。ロボット100は、予め定められた軌道計算周期(例えば20msec)毎に、2歩目着地予定時刻T2までの重心軌道を算出する。このとき、ロボット100は、現在時刻T0から、軌道計算周期に相当する初期期間TS1の間は、関節サーボ制御周期に相当する第1時間間隔ΔT1で重心位置の時系列データを算出する。初期期間TS1以降、2歩目着地予定時刻T2までの期間TS2は、第1時間間隔ΔT1よりも長い第2時間間隔ΔT2で重心軌道を算出する。図2では、初期期間TS1の間の重心軌道L−1が第1時間間隔ΔT1で算出され、初期期間TS1以降の重心軌道L−2が第2時間間隔ΔT2で算出される。 The gait data generation process of the robot 100 will be further described with reference to FIG. FIG. 2 is an enlarged view of a part of FIG. FIG. 2 is an enlarged view of the period from the current time T0 to the first landing scheduled time T1. The center-of-gravity trajectory Lg is time-series data of the center-of-gravity position, and is obtained as a point sequence of the center-of-gravity position from the current time T0 to the second landing scheduled time T2. The robot 100 calculates the center-of-gravity trajectory up to the second-step scheduled landing time T2 at a predetermined trajectory calculation period (for example, 20 msec). At this time, the robot 100 calculates time-series data of the center of gravity position at the first time interval ΔT1 corresponding to the joint servo control period from the current time T0 during the initial period TS1 corresponding to the trajectory calculation period. After the initial period TS1, during the period TS2 up to the second step landing scheduled time T2, the center of gravity trajectory is calculated at a second time interval ΔT2 longer than the first time interval ΔT1. In FIG. 2, the center of gravity trajectory L g -1 during the initial period TS1 is calculated at the first time interval ΔT1, and the center of gravity trajectory L g -2 after the initial period TS1 is calculated at the second time interval ΔT2.

ロボット100は、初期期間TS1の各時刻における重心位置(重心位置はΔT1間隔で求められている)から、各関節の目標角L−1を算出する。各時刻の関節目標角は、対応する時刻の重心位置を重心ヤコビアンに代入することによって得られる。こうして、ロボット100は、現在時刻から初期期間TS1までの間、サーボ制御周期毎の関節目標角を得る。なお、初期期間TS1以降に相当する足軌道L−2は、現在時刻では求める必要がない。L−2は、現在時刻T0から軌道計算周期に相当する時間後に改めて、第1時間間隔ΔT1ごとの時系列データとして算出される。 The robot 100 calculates the target angle L p −1 of each joint from the barycentric position at each time in the initial period TS1 (the barycentric position is obtained at ΔT1 intervals). The joint target angle at each time can be obtained by substituting the barycentric position at the corresponding time into the barycentric Jacobian. Thus, the robot 100 obtains a joint target angle for each servo control period from the current time to the initial period TS1. Note that the foot trajectory L p -2 corresponding to the initial period TS1 and after does not need to be obtained at the current time. L p -2 is calculated as time series data for each first time interval ΔT1 after a time corresponding to the trajectory calculation period from the current time T0.

上記説明したアルゴリズムを実行するコントローラ20のブロック図を図3に示し、制御フローチャートを図4に示す。コントローラ20は、軌道算出部21、目標角算出部22、メモリ23、タスク管理部24、サーボ制御部25、サーボアンプ26、及びリアルタイムクロック(RTC)27を備える。軌道算出部21と目標角算出部22によって、軌道算出タスクが実行され、サーボ制御部25によってサーボ制御タスクが実行される(図4参照)。タスク管理部24は、リアルタイムクロック27の信号に基づいて、軌道計算周期毎に軌道算出タスクを起動し、サーボ制御周期毎にサーボ制御タスクを起動する。なお、前述したように、軌道計算周期は例えば20msecでありサーボ制御周期は2msecである。軌道算出タスクとサーボ制御タスクは並列に実行される。   A block diagram of the controller 20 that executes the algorithm described above is shown in FIG. 3, and a control flowchart is shown in FIG. The controller 20 includes a trajectory calculation unit 21, a target angle calculation unit 22, a memory 23, a task management unit 24, a servo control unit 25, a servo amplifier 26, and a real time clock (RTC) 27. A trajectory calculation task is executed by the trajectory calculation unit 21 and the target angle calculation unit 22, and a servo control task is executed by the servo control unit 25 (see FIG. 4). Based on the signal of the real-time clock 27, the task management unit 24 activates a trajectory calculation task for each trajectory calculation period and activates a servo control task for each servo control period. As described above, the trajectory calculation period is, for example, 20 msec, and the servo control period is 2 msec. The trajectory calculation task and the servo control task are executed in parallel.

歩行経路は上位コントローラ90からロボットのコントローラ20に与えられる。上位コントローラ90は、ロボット100と接続されたコンピュータでよい。   The walking route is given from the host controller 90 to the robot controller 20. The host controller 90 may be a computer connected to the robot 100.

軌道算出タスクを説明する。軌道算出部21は、センサ16のデータを読み込むとともに、2歩目着地予定時刻T2までの重心軌道を算出する(S12)。次に目標角算出部22が目標角を算出する(S14)。ここで、重心軌道は2歩目着地予定時刻T2まで算出されるが、目標角は現在時刻から初期期間TS1までの間の各時刻の重心軌道に対応する分だけが算出される。算出された目標角の時系列データはメモリ23に格納される。ステップS12の処理が軌道算出ステップに相当し、ステップS14の処理が目標角算出ステップに相当する。後に「歩容データ算出方法についての説明」で述べる、軌道算出ステップでは、現在時刻T0から2歩目着地予定時刻T2まで(即ち軌道算出期間の間)の重心軌道が、2歩目着地予定時刻T2(終端時刻)における既定の重心速度と重心位置範囲を境界条件として算出される。   The trajectory calculation task will be described. The trajectory calculation unit 21 reads the data of the sensor 16 and calculates the center-of-gravity trajectory up to the second step landing scheduled time T2 (S12). Next, the target angle calculation unit 22 calculates the target angle (S14). Here, the center of gravity trajectory is calculated until the second landing scheduled time T2, but the target angle is calculated only corresponding to the center of gravity trajectory at each time from the current time to the initial period TS1. The calculated target angle time-series data is stored in the memory 23. The process of step S12 corresponds to a trajectory calculation step, and the process of step S14 corresponds to a target angle calculation step. In the trajectory calculation step described later in “Description of Gait Data Calculation Method”, the center of gravity trajectory from the current time T0 to the second step landing scheduled time T2 (that is, during the trajectory calculation period) is the second step landing scheduled time. The predetermined gravity center speed and the gravity center position range at T2 (end time) are calculated as boundary conditions.

サーボ制御タスクについて説明する、サーボ制御タスクは、軌道算出タスクと並列に、サーボ制御周期毎に起動される。サーボ制御部25は、まずセンサデータを取得する(S22)。次に、メモリ23から、記憶されている目標角の時系列データの中から、現在のサーボ制御時刻に対応する目標角を読み出す(S24)。コントローラ20は、センサデータと読み出した目標角との偏差に基づいて、各関節のモータ14への指令値を算出する(S26)。ステップS26では、例えば、PID制御ルールに基づいて指令値が算出される。算出された指令値はサーボアンプ26へ出力される(S28)。サーボアンプ26は、入力された指令値に基づいて各モータ14を制御する。   The servo control task will be described. The servo control task is started for each servo control period in parallel with the trajectory calculation task. The servo control unit 25 first acquires sensor data (S22). Next, the target angle corresponding to the current servo control time is read from the time series data of the target angle stored in the memory 23 (S24). The controller 20 calculates a command value to the motor 14 of each joint based on the deviation between the sensor data and the read target angle (S26). In step S26, for example, the command value is calculated based on the PID control rule. The calculated command value is output to the servo amplifier 26 (S28). The servo amplifier 26 controls each motor 14 based on the input command value.

ロボット100の各関節は、サーボ制御周期(即ち第1時間間隔ΔT1)毎の目標角に追従する。その結果、ロボット100はその重心が算出された重心軌道に追従するように動作する。すなわちロボット100は安定に歩行する。軌道計算周期毎に軌道算出タスクが軌道され、その都度、現在時刻から初期期間分の目標角データが算出される。毎回の目標角データは常に2歩目まで安定に歩行することが(理論上)保証されている。そのため、ロボット100は、(理論上)無限に安定に歩行し続けることができる。   Each joint of the robot 100 follows a target angle for each servo control cycle (that is, the first time interval ΔT1). As a result, the robot 100 operates so as to follow the center of gravity trajectory for which the center of gravity is calculated. That is, the robot 100 walks stably. The trajectory calculation task is trajected for each trajectory calculation period, and each time target angle data for the initial period is calculated from the current time. The target angle data for each time is guaranteed (theoretically) to always walk stably up to the second step. Therefore, the robot 100 can keep walking infinitely (in theory).

後の「歩容データ算出方法についての説明」の項にて述べるように、ロボット100は、各時刻におけるZMP方程式を、床平行面内の重心加速度を連続する3つの時刻の重心位置の変数によって近似した3項方程式で表し、現在時刻と終端時刻の境界条件を与えることによって各時刻の3項方程式を解いて重心位置の時系列データを算出する。現在時刻の境界条件は、現在時刻の重心速度v(T0)と位置x(T0)である。終端時刻の境界条件は、2歩目着地予定時刻T2における重心速度v(T2)と予め決められた2歩目安定保証領域である。2歩目安定保証領域は、後の「歩容データ算出方法についての説明」の項にて説明する。さらにロボット100は、第2時間間隔ΔT2を次のルールによって決定する。コントローラ20は、一歩行周期TWを、予め定められた次数nで除した値でΔT2を定める。次数nは、後述する行列[A]の次数である。 As will be described later in the section “Explanation of Gait Data Calculation Method”, the robot 100 determines the ZMP equation at each time according to the variable of the center of gravity position at three times of continuous center of gravity acceleration in the floor parallel plane. Expressed by an approximate ternary equation, the time series data of the center of gravity position is calculated by solving the ternary equation at each time by giving boundary conditions between the current time and the end time. The boundary conditions of the current time are the center-of-gravity velocity v g (T0) and the position x g (T0) at the current time. The boundary conditions of the end time are the center of gravity speed v g (T2) at the second step landing scheduled time T2 and a predetermined second step stability guarantee region. The second-step stability guarantee area will be described later in the “Description of Gait Data Calculation Method” section. Furthermore, the robot 100 determines the second time interval ΔT2 according to the following rule. The controller 20 determines ΔT2 by a value obtained by dividing one walking cycle TW by a predetermined order n. The order n is the order of the matrix [A] described later.

実施例のロボット100の利点を説明する。ロボット100は、リアルタイムに2歩目着地予定時刻T2までの重心軌道を算出する。別言すれば、ロボット100は、2歩目まで安定して歩行できることが理論上保証される重心軌道を算出する。ロボット100は、2歩目までの重心軌道のうち、関節目標角を算出するための初期期間TS1の重心軌道を、サーボ制御周期と同じ第1時間間隔ΔT1で求める。初期期間TS1以降、2歩目着地予定時間T2までの後期間TS2は、第1時間間隔ΔT1より長い第2時間間隔ΔT2で重心軌道を求める。第2時間間隔ΔT2を長くすることによって、2歩目着地予定時刻T2まで重心軌道を求めるための計算負荷を軽減できる。   Advantages of the robot 100 according to the embodiment will be described. The robot 100 calculates the center-of-gravity trajectory up to the second step landing scheduled time T2 in real time. In other words, the robot 100 calculates the center of gravity trajectory that is theoretically guaranteed to be able to walk stably up to the second step. The robot 100 obtains the center of gravity trajectory of the initial period TS1 for calculating the joint target angle among the center of gravity trajectories up to the second step at the same first time interval ΔT1 as the servo control cycle. After the initial period TS1, in the subsequent period TS2 until the second step landing scheduled time T2, the center of gravity trajectory is obtained at the second time interval ΔT2 longer than the first time interval ΔT1. By increasing the second time interval ΔT2, it is possible to reduce the calculation load for obtaining the center of gravity trajectory until the second step landing scheduled time T2.

後期間TS2の重心軌道を求める際、第2時間間隔ΔT2は、3項方程式で近似したZMP方程式の係数行列[A]の次数nが一定となるように決定される。従って、2歩目着地予定時刻T2までの重心軌道算出に要する演算時間を一定にすることができる。   When obtaining the center of gravity trajectory of the later period TS2, the second time interval ΔT2 is determined so that the order n of the coefficient matrix [A] of the ZMP equation approximated by the ternary equation is constant. Accordingly, the calculation time required for calculating the center of gravity trajectory up to the second landing scheduled time T2 can be made constant.

(歩容データ算出方法についての説明)ZMP方程式に基づく重心軌道の算出方法について説明する。ここでは説明のため、ロボット全体を一つの剛体で表す。また、ここでは、重心軌道のx軸成分x(i)について説明する。以下の議論はy軸成分についても成立する。図5に、時刻(i)における、ロボットを模式化した図(サジタル面における側面図)を示す。図5において、q(i)は、ZMPのx座標を表す。図5のFrは、足裏に加わる圧力分布(反力分布)に等価な集中反力を示す。ZMPは、足裏に分布する圧力(反力)に等価な集中反力が床面と交差する点で定義されるので、Frの起点がZMPの位置を示す。gは重力加速度を表す。r(i)は重心Gに作用するy軸周りのモーメントを示す。モーメントr(i)は、ロボットy軸周りの角運動量の時間微分に相当する。時刻(i)における重心Gを中心とするy軸回りの釣り合い方程式は次の(数1)で与えられる。 (Description of Gait Data Calculation Method) A method of calculating the center of gravity trajectory based on the ZMP equation will be described. Here, for the sake of explanation, the entire robot is represented by one rigid body. Here, the x-axis component x g (i) of the gravity center trajectory will be described. The following discussion also holds for the y-axis component. FIG. 5 shows a schematic diagram (side view on the sagittal plane) of the robot at time (i). In FIG. 5, q x (i) represents the x-coordinate of ZMP. Fr in FIG. 5 indicates a concentrated reaction force equivalent to a pressure distribution (reaction force distribution) applied to the sole. Since ZMP is defined by a point where a concentrated reaction force equivalent to the pressure (reaction force) distributed on the sole intersects the floor surface, the starting point of Fr indicates the position of ZMP. g represents gravitational acceleration. r y (i) represents a moment around the y axis acting on the center of gravity G. The moment r y (i) corresponds to the time derivative of the angular momentum about the robot y axis. The balance equation around the y axis centered on the center of gravity G at time (i) is given by the following (Equation 1).

Figure 2011161524
Figure 2011161524

ここで、mはロボット全体の質量を表す。z(i)は重心Gのz座標を表す。上付き文字の(2)は時間2回微分を表す。即ち、x (2)(i)は、重心Gの加速度のx軸成分を表す。 Here, m represents the mass of the entire robot. z g (i) represents the z coordinate of the center of gravity G. The superscript (2) represents twice the time differentiation. That is, x g (2) (i) represents the x-axis component of the acceleration of the center of gravity G.

重心Gの加速度のz軸成分、即ち、z (2)(i)は予め与えられる。z (2)(i)は、歩行時の腰の上下動にほぼ相当する。重心Gの加速度のx軸成分、即ち、x (2)(i)、及び、重心Gの速度のx軸成分x (1)(i)は、微小時間間隔Δtを用いたオイラー近似によると次の(数2)で表される。 The z-axis component of the acceleration of the center of gravity G, that is, z g (2) (i) is given in advance. z g (2) (i) substantially corresponds to the vertical movement of the waist during walking. The x-axis component of the acceleration of the center of gravity G, that is, x g (2) (i), and the x-axis component x g (1) (i) of the velocity of the center of gravity G are based on Euler approximation using a minute time interval Δt. And the following (Equation 2).

Figure 2011161524
Figure 2011161524

(数2)より、重心Gの加速度のx軸成分x (2)(i)は重心Gの連続する3つの時刻の位置、x(i)、x(i+1)、x(i+2)によって次の(数3)で近似できる。 From (Equation 2), the x-axis component x g (2) (i) of the acceleration of the center of gravity G is the position of three consecutive times of the center of gravity G, x g (i), x g (i + 1), x g (i + 2). ) Can be approximated by the following (Equation 3).

Figure 2011161524
Figure 2011161524

(数3)を(数1)に代入し、r(i)=0とおくと次の(数4)が得られる。 Substituting (Equation 3) into (Equation 1) and setting r y (i) = 0, the following (Equation 4) is obtained.

Figure 2011161524
Figure 2011161524

(数4)は、(数1)のZMP方程式において、床平行面内の重心加速度x (2)(i)を連続する3つの時刻の重心位置の変数、即ち、x(i+1)、x(i)及び、x(i−1)によって近似した3項方程式である。i=1からnまでについて、(数4)をマトリクス表現すると次の(数5)が得られる。 (Equation 4) is a variable of the gravity center position at three consecutive times of the gravity acceleration x g (2) (i) in the floor parallel plane in the ZMP equation of (Equation 1), that is, x g (i + 1), It is a ternary equation approximated by x g (i) and x g (i−1). When (Equation 4) is expressed in matrix for i = 1 to n, the following (Equation 5) is obtained.

Figure 2011161524
Figure 2011161524

なお、(数5)のq(1)とq(n)は、他のq(i)すなわち、ZMPの位置とは別の意味を有している。(数5)の第1行は、初期速度が現在時刻の重心速度に一致することを保証し、第n行は、2歩目着地予定時刻T2における重心速度が予定された速度に一致することを保証する境界条件に相当する。(数2)の定義から、q(1)=v(T0)Δt、q(n)=v(T2)Δtである。v(T0)とv(T2)は、第1図に示した通り、現在時刻T0と2歩目着地予定時刻T2における重心Gの速度のx軸成分である。(数5)より、重心軌道のx軸成分[Xg](即ち、x(i),i=1〜n)は、次の(数6)で求めることができる。 Note that q x (1) and q x (n) in (Expression 5) have different meanings from the other q x (i), that is, the position of ZMP. The first line of (Equation 5) ensures that the initial speed matches the center of gravity speed at the current time, and the nth line is that the center of gravity speed at the second landing scheduled time T2 matches the planned speed. This corresponds to a boundary condition that guarantees From the definition of (Equation 2), q x (1) = v (T0) Δt and q x (n) = v (T2) Δt. As shown in FIG. 1, v (T0) and v (T2) are x-axis components of the velocity of the center of gravity G at the current time T0 and the scheduled second step landing time T2. From (Equation 5), the x-axis component [Xg] (that is, x g (i), i = 1 to n) of the gravity center trajectory can be obtained by the following (Equation 6).

Figure 2011161524
Figure 2011161524

(数6)は、ZMP軌道[Qx]を与えると重心軌道[Xg]が求まることを表している。再び図1を参照して、(数6)を用いた重心軌道演算を説明する。図1下側の床平行面を参照されたい。今、歩行速度V0=v(T0)=v(T1)=v(T2)は与えられている。また、一歩行周期TWのZMP軌道も与えられている。一歩行周期のZMP軌道が与えられているということは、1歩目と2歩目の足着地位置(図1の足位置F1とF2)が与えられていることを意味する。即ち、1歩目と2歩目の足位置F1とF2によって支持多角形が定まり、ZMP軌道はその支持多角形内を移動するように予め定められている。なお、与えられたZMP軌道は、仮の値であり、後述する演算によって、安定性が保証されるZMP軌道(即ち1歩目と2歩目の足着地位置)が改めて求まる。(数5)、(数6)における[Qx]がZMP軌道に相当し、[Xg]が重心軌道(但しx軸方向成分)に相当する。   (Expression 6) represents that the center-of-gravity trajectory [Xg] is obtained when the ZMP trajectory [Qx] is given. Referring to FIG. 1 again, the gravity center trajectory calculation using (Equation 6) will be described. See the floor parallel plane at the bottom of FIG. Now, the walking speed V0 = v (T0) = v (T1) = v (T2) is given. A ZMP trajectory with one walking cycle TW is also given. The fact that a ZMP trajectory having one walking cycle is given means that the first and second foot landing positions (foot positions F1 and F2 in FIG. 1) are given. That is, the support polygon is determined by the foot positions F1 and F2 of the first step and the second step, and the ZMP trajectory is determined in advance so as to move within the support polygon. The given ZMP trajectory is a tentative value, and the ZMP trajectory (that is, the foot landing position of the first step and the second step) for which stability is guaranteed is obtained again by an operation described later. [Qx] in (Equation 5) and (Equation 6) corresponds to the ZMP trajectory, and [Xg] corresponds to the gravity center trajectory (however, the x-axis direction component).

歩行経路LPathが与えられると、ロボット100のコントローラ20は、与えられた歩行経路に沿って、1歩目と2歩目の足着地位置(図1の足位置F1とF2)及び、ZMP軌道、即ち(数6)の[Qx]を仮決定する。また、前述したとおり。重心軌道のz軸成分(z(i)、z (2)(i))も予め与えられており、行列[A]の各要素(a、b、及びc)が(数4)から算出される。[A]と[Qx]が与えられるので、[A]の逆行列を演算し、(数6)から重心軌道(ここでは、重心軌道のx軸成分x(i))が求められる。このときのx(i)はまだ仮の値である。次に、i=n−1における重心位置x(n−1)が所定の範囲内であるか否かを確認する。なお、前述したとおり、(数5)の第n行はZMP位置とは異なる別の意味を有しているので、n−1における重心位置x(n−1)を使う。また、所定の範囲とは、1歩目着地予定位置F1と2歩目着地予定位置F2の中間やや前方の領域(2歩目安定保証領域と称する)に設定されている。そのような2歩目安定保証領域は、2歩目が着地したときに重心位置が両足のラテラル方向略中央に位置することを保証し、安定歩行を(理論上)保証する。 When the walking path L Path is given, the controller 20 of the robot 100 moves along the given walking path to the first and second foot landing positions (foot positions F1 and F2 in FIG. 1) and the ZMP trajectory. That is, [Qx] in (Equation 6) is provisionally determined. In addition, as described above. A z-axis component (z g (i), z g (2) (i)) of the gravity center trajectory is also given in advance, and each element (a i , b i , and c i ) of the matrix [A] is expressed as (number 4). Since [A] and [Qx] are given, the inverse matrix of [A] is calculated, and the centroid trajectory (here, the x-axis component x g (i) of the centroid trajectory) is obtained from (Equation 6). X g (i) at this time is still a temporary value. Next, it is confirmed whether or not the center-of-gravity position x g (n−1) at i = n−1 is within a predetermined range. Note that, as described above, the n-th row of (Equation 5) has a different meaning from the ZMP position, and therefore, the gravity center position x g (n−1) at n−1 is used. Further, the predetermined range is set to an area slightly in front of the first-step planned landing position F1 and the second-step planned landing position F2 (referred to as a second-step stability guarantee area). Such a second-step stability guarantee region ensures that the center of gravity position is located at approximately the center in the lateral direction of both feet when the second step lands, and guarantees stable walking (theoretically).

重心位置x(n−1)が2歩目安定保証領域外である場合は、仮決定したZMP軌道が不適切であることを示している。この場合は、仮決定したZMP軌道を何らかのルールに基づいて修正して上記演算を繰り返す。そのような繰り返し演算(いわば収束演算)を重心位置x(n−1)が2歩目安定保証領域内となるまで行う。上記アルゴリズムは、重心軌道のy軸成分についても当てはまる。こうして、安定な重心軌道(即ち歩容データ)が求まる。 If the center-of-gravity position x g (n−1) is outside the second-step stability guarantee region, it indicates that the temporarily determined ZMP trajectory is inappropriate. In this case, the tentatively determined ZMP trajectory is corrected based on some rule and the above calculation is repeated. Such repeated calculation (so-called convergence calculation) is performed until the gravity center position x g (n−1) is within the second-step stability guarantee region. The above algorithm also applies to the y-axis component of the centroid trajectory. In this way, a stable center of gravity trajectory (ie, gait data) is obtained.

i=0とnにおける重心速度v(T0)、v(T2)と、i=n−1における重心位置x(n−1)が2歩目安定保証領域内に存在することが、(数6)を解くときの境界条件に相当する。 The center-of-gravity speeds v g (T0) and v g (T2) at i = 0 and n and the center-of-gravity position x g (n−1) at i = n−1 exist in the second-step stability guarantee region. This corresponds to the boundary condition when solving (Equation 6).

上記の歩容データ(重心軌道)求解手法では、重心Gに作用するy軸周りのモーメントr(i)をゼロと仮定した。モーメントr(i)を考慮した歩容データ求解手法は、例えば、本願の発明者による特許出願(特願2009−291257)で提唱されている。 In the above gait data (trajectory of the center of gravity) solving approach, assuming moment r y (i) around the y-axis acting on the center of gravity G to zero. The gait data solving method considering the moment r y (i) is proposed in, for example, a patent application (Japanese Patent Application No. 2009-291257) by the inventor of the present application.

上記の求解手法では、現在時刻T0から2歩目着地予定時刻T2までの重心軌道を一つの行列[A]でまとめて求めた。その場合、重心軌道を求めるためのZMP軌道[Qx]の点列(時系列データ)は、現在時刻から少なくとも初期期間の間は第1時間間隔ΔT1で構成され、初期期間以降は第2時間間隔ΔT2で構成される。そのような手法に変えて、現在時刻T0から1歩目着地予定時刻T1までを1歩目着地予定時刻T1における境界条件を与えて解き、その後、1歩目着地予定時刻T1から2歩目着地予定時刻T2までの重心軌道を別途求めることも好適である。その場合、時刻T0から時刻T1までのZMP軌道を第1時間間隔ΔT1で準備し、時刻T1から時刻T2までのZMP軌道を第2時間間隔ΔT2で準備するとよい。   In the above solution finding method, the center-of-gravity trajectories from the current time T0 to the second-step scheduled landing time T2 are obtained together with one matrix [A]. In that case, the point sequence (time-series data) of the ZMP trajectory [Qx] for obtaining the center-of-gravity trajectory is composed of the first time interval ΔT1 during at least the initial period from the current time, and the second time interval after the initial period. It is comprised by (DELTA) T2. Instead of such a technique, the boundary condition at the first step landing scheduled time T1 is solved from the current time T0 to the first step landing scheduled time T1, and then the second step landing from the first step landing scheduled time T1. It is also preferable to separately obtain the center of gravity trajectory up to the scheduled time T2. In that case, a ZMP trajectory from time T0 to time T1 may be prepared at a first time interval ΔT1, and a ZMP trajectory from time T1 to time T2 may be prepared at a second time interval ΔT2.

上記の求解手法は、3項方程式で近似したZMP方程式を用いた。その手法は、加速度をオイラー法で近似することを含む。オイラー法は数値積分としては簡単であるが精度が低い。上記求解手法に変えて、例えばルンゲクッタ法等の数値積分法によって(数1)から、重心軌道を求めてもよい。具体的には、(数1)を変形し、重心加速度のx軸方向成分x (2)(i)に関する式に変形する(数7)。(数7)を逐次積分することによって重心軌道、即ちx(i)が求まる。 In the above solution method, a ZMP equation approximated by a ternary equation was used. The technique includes approximating acceleration with Euler's method. Euler's method is simple as numerical integration but has low accuracy. Instead of the above solution method, the center of gravity trajectory may be obtained from (Equation 1) by a numerical integration method such as the Runge-Kutta method. Specifically, (Equation 1) is transformed into an equation relating to the x-axis direction component x g (2) (i) of the center-of-gravity acceleration ( Equation 7). The center-of-gravity trajectory, that is, x g (i) is obtained by sequentially integrating (Equation 7).

Figure 2011161524
Figure 2011161524

前述した境界条件を満たすまで、ZMP軌道を修正しながら数値積分による重心軌道の求解を繰り返す。境界条件を満たすときの重心軌道が、2歩目着地予定時刻T2まで(理論上)安定な歩容データに相当する。   Until the boundary condition described above is satisfied, the solution of the center of gravity trajectory by numerical integration is repeated while correcting the ZMP trajectory. The center-of-gravity trajectory when the boundary condition is satisfied corresponds to stable gait data until the second landing scheduled time T2 (theoretically).

本明細書が開示する技術について留意点を述べる。本明細書における「歩行」は、「走行」も含む。「歩行」は、いずれかの足が常に接地している移動形態を意味するが、「走行」は両足ともに浮いている期間を有する移動形態を意味する。「走行」の場合であっても、一方の脚が接地している期間においては、本明細書が開示する歩容データ生成手法が適用できる。   Points to be noted about the technology disclosed in this specification. “Walk” in this specification includes “running”. “Walk” means a moving form in which one of the feet is always in contact with the ground, whereas “running” means a moving form having a period in which both feet are floating. Even in the case of “running”, the gait data generation method disclosed in this specification can be applied during a period in which one leg is in contact with the ground.

上記の実施例では、1回の重心軌道演算において、2歩目着地予定時刻T2までの軌道を算出した。これに代えて、1回の重心軌道演算において、3歩目着地予定時刻までの重心軌道を算出することも好適である。1回の重心軌道演算において何歩目までの重心軌道を算出するかは、安定歩行の確実性と演算負荷のトレードオフである。発明者らの知見によると、1回の軌道演算において、2歩目まで、或いは3歩目まで安定して歩行することが保証される重心軌道を算出すれば実用上十分である。   In the above-described embodiment, the trajectory up to the second step scheduled landing time T2 is calculated in one gravity center trajectory calculation. Instead of this, it is also preferable to calculate the center-of-gravity trajectory up to the scheduled landing time of the third step in one center-of-gravity trajectory calculation. The number of steps to calculate the center-of-gravity trajectory in one center-of-gravity trajectory calculation is a trade-off between the certainty of stable walking and the calculation load. According to the inventors' knowledge, it is practically sufficient to calculate the center of gravity trajectory that guarantees stable walking up to the second step or the third step in one trajectory calculation.

以上、本発明の具体例を詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology exemplified in this specification or the drawings can achieve a plurality of objects at the same time, and has technical usefulness by achieving one of the objects.

10:体幹
12L:左脚
12R:右脚
14:モータ
16:センサ
20:コントローラ
21:軌道算出部
22:目標角算出部
23:メモリ
24:タスク管理部
25:サーボ制御部
26:サーボアンプ
27:リアルタイムクロック
100:脚歩行ロボット
10: trunk 12L: left leg 12R: right leg 14: motor 16: sensor 20: controller 21: trajectory calculation unit 22: target angle calculation unit 23: memory 24: task management unit 25: servo control unit 26: servo amplifier 27 : Real-time clock 100: Leg walking robot

Claims (6)

2脚歩行ロボットの歩容データ生成方法であり、
予め定められた軌道計算周期毎にZMP方程式に基づいて重心位置の時系列データを算出する軌道算出ステップと、
前記時系列データの各時刻における重心位置から脚関節の目標角を算出する目標角算出ステップと、
を備えており、
前記軌道算出ステップは、現在時刻から少なくとも前記軌道計算周期に相当する初期期間の間は関節のサーボ制御周期に相当する第1時間間隔で重心位置の時系列データを算出するとともに、前記初期期間以降は第1時間間隔よりも長い第2時間間隔で重心位置の時系列データを算出し、
前記目標角算出ステップは、前記初期期間における各時刻の重心位置から脚関節の目標角を算出することを特徴とする歩容データ生成方法。
A gait data generation method for a biped robot,
A trajectory calculation step for calculating time-series data of the center of gravity position based on the ZMP equation for each predetermined trajectory calculation period;
A target angle calculation step of calculating a target angle of the leg joint from the position of the center of gravity at each time of the time series data;
With
The trajectory calculation step calculates time series data of the center of gravity position at a first time interval corresponding to a joint servo control period during at least an initial period corresponding to the trajectory calculation period from the current time, and after the initial period Calculates time series data of the center of gravity position at a second time interval longer than the first time interval,
The gait data generation method characterized in that the target angle calculation step calculates a target angle of a leg joint from a center of gravity position at each time in the initial period.
前記軌道算出ステップは、前記軌道計算周期毎に、少なくとも現在時刻における立脚が次に遊脚から立脚に切り換わる予定時刻までの重心位置の時系列データを算出することを特徴とする請求項1に記載の歩容データ生成方法。   2. The trajectory calculation step calculates time series data of a center of gravity position at least until a scheduled time at which the stance at the current time next switches from a free leg to a stance at every trajectory calculation period. The gait data generation method described. 軌道算出ステップは、各時刻におけるZMP方程式を、床平行面内の重心加速度を連続する3つの時刻の重心位置の変数によって近似した3項方程式で表し、初期時刻と終端時刻の境界条件を与えることによって各時刻の3項方程式を解いて重心位置の時系列データを算出することを特徴とする請求項1又は2に記載の歩容データ生成方法。   The trajectory calculation step represents the ZMP equation at each time as a ternary equation that approximates the acceleration of the center of gravity in the floor parallel plane by the variable of the center of gravity position at three consecutive times, and gives the boundary condition between the initial time and the end time 3. The gait data generation method according to claim 1, wherein the time series data of the center of gravity position is calculated by solving the ternary equation at each time. 前記第2時間間隔は、予め与えられた一歩行周期を時分割するための予め定められた次数nで前記一歩行周期を除した値であることを特徴とする請求項3に記載の歩容データ生成方法。   4. The gait according to claim 3, wherein the second time interval is a value obtained by dividing the one walking cycle by a predetermined order n for time-sharing a predetermined one walking cycle. 5. Data generation method. 予め定められた軌道計算周期毎にZMP方程式に基づいて重心位置の時系列データを算出する軌道算出部と、
前記時系列データの各時刻における重心位置から脚関節の目標角を算出する目標角算出部と、
サーボ制御周期毎に脚の計測関節角を目標角に追従するように制御するサーボ制御部と、を備えており、
前記軌道算出部は、現在時刻から少なくとも前記軌道計算周期に相当する初期期間の間は前記サーボ制御周期に相当する第1時間間隔で重心位置の時系列データを算出するとともに、前記初期期間以降は第1時間間隔よりも長い第2時間間隔で重心位置の時系列データを算出し、
前記目標角算出部は、前記初期期間における各時刻の重心位置から脚関節の目標角を算出し、
前記サーボ制御部は、サーボ制御周期毎に、前記初期期間における各時刻の脚関節の目標角に追従するように前記計測関節角を制御することを特徴とする2脚歩行ロボット。
A trajectory calculation unit that calculates time-series data of the center of gravity based on the ZMP equation for each predetermined trajectory calculation period;
A target angle calculation unit that calculates a target angle of the leg joint from the position of the center of gravity at each time of the time series data;
A servo control unit that controls the measurement joint angle of the leg to follow the target angle at each servo control cycle, and
The trajectory calculation unit calculates time series data of the center of gravity position at a first time interval corresponding to the servo control period during at least an initial period corresponding to the trajectory calculation period from a current time, and after the initial period Calculate time-series data of the center of gravity position at a second time interval longer than the first time interval,
The target angle calculation unit calculates a target angle of the leg joint from the center of gravity position at each time in the initial period,
The biped walking robot, wherein the servo control unit controls the measurement joint angle so as to follow a target angle of a leg joint at each time in the initial period for each servo control period.
前記軌道算出部は、前記軌道計算周期毎に、少なくとも現在時刻における立脚が次に遊脚から立脚に切り換わる予定時刻までの重心位置の時系列データを算出することを特徴とする請求項5に記載の2脚歩行ロボット。   The trajectory calculation unit calculates time-series data of the center of gravity position at least until the scheduled time when the stance at the current time next switches from the free leg to the stance at every trajectory calculation period. The biped walking robot described.
JP2010023703A 2010-02-05 2010-02-05 Biped walking robot and gait data generation method therefor Expired - Fee Related JP5392125B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010023703A JP5392125B2 (en) 2010-02-05 2010-02-05 Biped walking robot and gait data generation method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010023703A JP5392125B2 (en) 2010-02-05 2010-02-05 Biped walking robot and gait data generation method therefor

Publications (2)

Publication Number Publication Date
JP2011161524A true JP2011161524A (en) 2011-08-25
JP5392125B2 JP5392125B2 (en) 2014-01-22

Family

ID=44592827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010023703A Expired - Fee Related JP5392125B2 (en) 2010-02-05 2010-02-05 Biped walking robot and gait data generation method therefor

Country Status (1)

Country Link
JP (1) JP5392125B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570732A (en) * 2014-12-15 2015-04-29 浙江大学 Online generation method for walking mode of humanoid robot
JP2016172309A (en) * 2015-03-18 2016-09-29 トヨタ自動車株式会社 Multi-point contact robot, and method and program for controlling multi-point contact robot
JP2018527646A (en) * 2015-12-02 2018-09-20 ゴーアテック インコーポレイテッドGoertek Inc Biped robot walking control method and walking control device
CN108639183A (en) * 2018-06-07 2018-10-12 重庆邮电大学 A kind of device and control method improving biped robot's balance and the speed of travel
JP2019514713A (en) * 2016-04-29 2019-06-06 ソフトバンク・ロボティクス・ヨーロッパSoftbank Robotics Europe Mobile robot with well-balanced movement and behavioral skills
CN110764413A (en) * 2019-10-29 2020-02-07 中国科学院自动化研究所 Self-stabilization control method, system and device of wheel-leg robot
CN112572453A (en) * 2020-12-21 2021-03-30 广州大学 Gait planning method, device, equipment and medium for robot walking on slope

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108237532B (en) * 2016-12-23 2020-11-27 深圳光启合众科技有限公司 Gait control method and device of multi-legged robot and robot
CN110371213A (en) * 2019-07-12 2019-10-25 沈阳城市学院 A kind of biped robot's walking planning and control method
EP4043991A4 (en) 2020-04-14 2023-02-08 Tencent Technology (Shenzhen) Company Limited Method and device for determining barycenter position, legged robot, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006212736A (en) * 2005-02-03 2006-08-17 Toyota Motor Corp Legged robot and its control method
JP2006247769A (en) * 2005-03-09 2006-09-21 Toyota Motor Corp Legged robot and operation control method thereof
JP2009066697A (en) * 2007-09-12 2009-04-02 Toyota Motor Corp Legged robot, and control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006212736A (en) * 2005-02-03 2006-08-17 Toyota Motor Corp Legged robot and its control method
JP2006247769A (en) * 2005-03-09 2006-09-21 Toyota Motor Corp Legged robot and operation control method thereof
JP2009066697A (en) * 2007-09-12 2009-04-02 Toyota Motor Corp Legged robot, and control method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570732A (en) * 2014-12-15 2015-04-29 浙江大学 Online generation method for walking mode of humanoid robot
JP2016172309A (en) * 2015-03-18 2016-09-29 トヨタ自動車株式会社 Multi-point contact robot, and method and program for controlling multi-point contact robot
JP2018527646A (en) * 2015-12-02 2018-09-20 ゴーアテック インコーポレイテッドGoertek Inc Biped robot walking control method and walking control device
JP2019514713A (en) * 2016-04-29 2019-06-06 ソフトバンク・ロボティクス・ヨーロッパSoftbank Robotics Europe Mobile robot with well-balanced movement and behavioral skills
US11014247B2 (en) 2016-04-29 2021-05-25 Softbank Robotics Europe Mobile robot with enhanced balanced motion and behavior capabilities
CN108639183A (en) * 2018-06-07 2018-10-12 重庆邮电大学 A kind of device and control method improving biped robot's balance and the speed of travel
CN110764413A (en) * 2019-10-29 2020-02-07 中国科学院自动化研究所 Self-stabilization control method, system and device of wheel-leg robot
CN110764413B (en) * 2019-10-29 2020-09-29 中国科学院自动化研究所 Self-stabilization control method, system and device of wheel-leg robot
CN112572453A (en) * 2020-12-21 2021-03-30 广州大学 Gait planning method, device, equipment and medium for robot walking on slope
CN112572453B (en) * 2020-12-21 2022-02-18 广州大学 Gait planning method, device, equipment and medium for robot walking on slope

Also Published As

Publication number Publication date
JP5392125B2 (en) 2014-01-22

Similar Documents

Publication Publication Date Title
JP5392125B2 (en) Biped walking robot and gait data generation method therefor
US8825213B2 (en) Gait generating device for legged mobile robot and operational target generating device for robot
KR101029228B1 (en) Robot, and its control method
US10836040B2 (en) Desired ZMP trajectory generating device
KR101985790B1 (en) Walking robot and control method thereof
US7805218B2 (en) Robot device and control method of robot device
JP3599244B2 (en) Robot device, motion control device of robot device, and motion control method
US7664572B2 (en) Control device of legged mobile robot
US20120316682A1 (en) Balance control apparatus of robot and control method thereof
US9533415B2 (en) Control device for mobile robot
JP4392037B2 (en) Legged robot and control method thereof
US20050151497A1 (en) Robot and motion control method of robot
US9682474B2 (en) Control device for mobile body
US7765030B2 (en) Gait generator for mobile robot
JP4492395B2 (en) Legged robot and its motion control method
US7801643B2 (en) Legged mobile robot and control program for the robot
JP5463991B2 (en) Biped walking robot
Sari et al. Implementation and integration of fuzzy algorithms for descending stair of KMEI humanoid robot
JP2011131301A (en) Legged robot and method of generating gait data for the same
Scholz et al. Fast, robust and versatile humanoid robot locomotion with minimal sensor input
JP2007007802A (en) Legged robot and control method thereof
JP4848686B2 (en) Legged robot and its motion adjustment method
JP6311153B2 (en) Biped robot control system
Vukobratović et al. How to Generate and Realize Bipedal Gait in Unstructured Environments?
Vukobratovic et al. Generation of bipedal gait suitable for use in unstructured environments

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130930

R151 Written notification of patent or utility model registration

Ref document number: 5392125

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees