JP2016198873A - Optimum control device, optimum control method, and optimum control program - Google Patents

Optimum control device, optimum control method, and optimum control program Download PDF

Info

Publication number
JP2016198873A
JP2016198873A JP2015082637A JP2015082637A JP2016198873A JP 2016198873 A JP2016198873 A JP 2016198873A JP 2015082637 A JP2015082637 A JP 2015082637A JP 2015082637 A JP2015082637 A JP 2015082637A JP 2016198873 A JP2016198873 A JP 2016198873A
Authority
JP
Japan
Prior art keywords
equation
gravity
center
contact point
optimization problem
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
JP2015082637A
Other languages
Japanese (ja)
Other versions
JP6421683B2 (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 JP2015082637A priority Critical patent/JP6421683B2/en
Publication of JP2016198873A publication Critical patent/JP2016198873A/en
Application granted granted Critical
Publication of JP6421683B2 publication Critical patent/JP6421683B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly determine an optimum solution to an optimization problem in a model prediction control.SOLUTION: An optimum control device comprises: contact point planning means setting a contact point plan of moving means of a moving robot; and trajectory generation means. The trajectory generation means performs a model prediction control of calculating a state variable of a center of gravity using an evaluation criterion in a prediction zone, and generating a gravity trajectory on the basis of the calculated state variable of the center of gravity. The evaluation criterion minimizes an evaluation function including a square of a quantity based on a contact force at each contact point in the prediction zone. An equation constraint conditional optimization problem including the evaluation criterion, a state equation, and an equation constraint condition expressed by a moving robot linear equation is converted into a non-constraint conditional optimization problem that does not include the equation constraint condition using an orthogonal complementary space. The trajectory generation means determines an optimum solution to this non-constraint conditional optimization problem using a recursive calculation method, and calculates the state variable of the center of gravity on the basis of the determined optimum solution.SELECTED DRAWING: Figure 1

Description

本発明は、移動ロボットのモデル予測制御を行う最適制御装置、最適制御方法及び制御プログラムに関するものである。   The present invention relates to an optimal control apparatus, an optimal control method, and a control program for performing model predictive control of a mobile robot.

例えば、ロボットの機械的リンク系に対してモデル予測制御(リシーディングホライゾン制御)を行う最適制御装置が知られている(特許文献1参照)。   For example, an optimal control device that performs model predictive control (seeding horizon control) on a mechanical link system of a robot is known (see Patent Document 1).

特開2000−330609号公報JP 2000-330609 A

上記モデル予測制御では、ロボットの物理的な制約条件が設定される。そして、制御周期毎にこの制約条件付き最適化問題を求解し、その求解した最適解に基づいてロボットの重心軌道を生成することとなる。しかし、この最適解の求解において、従来、多大な時間を要するという、問題が生じていた。   In the model predictive control, a physical constraint condition of the robot is set. Then, the optimization problem with constraints is solved for each control cycle, and the center of gravity trajectory of the robot is generated based on the obtained optimum solution. However, conventionally, there has been a problem that much time is required for finding the optimum solution.

本発明は、このような問題点を解決するためになされたものであり、モデル予測制御において最適化問題の最適解を高速に求解し重心軌道を生成できる最適制御装置、最適制御方法及び制御プログラムを提供することを主たる目的とする。   The present invention has been made to solve such problems, and an optimal control apparatus, an optimal control method, and a control program capable of generating an optimal solution of an optimization problem in model predictive control at high speed and generating a center-of-gravity trajectory. The main purpose is to provide

上記目的を達成するための本発明の一態様は、二以上の移動手段を交互に接地しながら移動する移動ロボットの該移動手段が接地する接触点の位置と、接地するときの前記移動手段の姿勢と、を時系列のデータとした接触点計画を設定する接触点計画手段と、前記接触点計画設定手段により設定された接触点計画に基づいて、前記移動手段が接触点に接地しながら前記移動ロボットが移動するための重心軌道を生成する軌道生成手段と、を備える最適制御装置であって、前記軌道生成手段は、前記移動手段を接地するときの接触力に基づく量を入力とする予測モデルを構築して、該予測モデルによって所定時間幅の予測区間における前記移動ロボットの重心の状態変数を表わし、前記予測区間において、所定の評価基準を用いて前記重心の状態変数を算出し、該算出した重心の状態変数に基づいて、前記移動ロボットの重心軌道を生成するモデル予測制御を行ない、前記評価基準は、各接触点における前記接触力に基づく量の二乗が含まれる評価関数を予測区間内において最小化するものであり、前記評価基準と、前記接触力に基づく入力と前記重心の状態変数と関係を示す線形な状態方程式と、前記移動ロボットの線形等式で表現される等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換され、前記軌道生成手段は、前記予測区間において、該変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数を算出する、ことを特徴とする最適制御装置である。
この一態様において、前記軌道生成手段は、前記移動手段を接地するときの接触力の微分値を入力とする予測モデルを構築し、前記評価基準は、前記各接触点に対応して設定された重みに基づいて前記各接触点に前記接触力と、前記接触力の微分値とを配分するという基準が含まれ、前記接触力および接触力の微分値の二乗和を含む評価関数を予測区間内において最小化するものであり、前記評価基準と、前記接触力の微分値の入力と前記重心の状態変数と関係を示す状態方程式と、前記移動ロボットの力の釣合いの拘束を示す等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換されてもよい。
この一態様において、前記等式制約条件を示す式に対してQR分解を行って状態変数の変換式が導出され、前記接触力の微分値の入力と重心の状態変数との関係を示す状態方程式から導出した式に対してQR分解を行って入力の変換式が導出され、前記状態方程式と、前記状態変数の変換式と、前記入力の変換式と、前記状態変数の変換式と、に基づいて状態方程式の変換式が導出され、前記導出した状態変数の変換式と、入力の変換式と、等式制約条件付き最適化問題の評価関数と、に基づいて、評価関数の変換式が導出され、
前記無制約条件の最適化問題は、前記導出された評価関数の変換式と、前記状態方程式の変換式と、を含んでいてもよい。
この一態様において、前記軌道生成手段は、前記無制約条件の最適化問題を行列表現した式の最適解条件に対して、再帰的計算法を用いて最適解を求解し、前記求解した最適解と、前記等式制約条件を示す式をQR分解して導出した状態変数の変換式と、に基づいて前記重心の状態変数の時系列データを算出してもよい。
この一態様において、前記等式制約条件は、所定の区間内だけ前記接触力が変化しないように設定した入力を含んでいてもよい。
この一態様において、前記軌道生成手段は、前記等式制約条件と前記接触点の安定性の拘束を示す不等式制約条件とを含む等式制約条件及び不等式制約条件付き最適化問題を直交補空間を用いて変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数の時系列データを算出してもよい。
この一態様において、前記軌道生成手段は、前記無制約条件の最適化問題を行列表現した式の最適解条件に対してニュートン法を適用し、該ニュートン法の収束演算の中で前記再帰的計算法を用いてニュートン方向を算出し、該算出したニュートン方向に基づいて、最適解を算出してもよい。
この一態様において、前記軌道生成手段は、前記無制約条件の最適化問題を行列表現した式の最適解条件に対して内点法又はアクティブセット法を適用してもよい。
この一態様において、前記不等式制約条件は、所定の区間内だけ前記接触力に制限をかけるように設定した入力を含んでいてもよい。
この一態様において、前記最適化問題の状態方程式は、線形時変の制御パラメータを含んでいてもよい。
この一態様において、前記軌道生成手段により生成された重心軌道に基づいて前記移動手段を制御する制御手段を更に備えていてもよい。
上記目的を達成するための本発明の一態様は、二以上の移動手段を交互に接地しながら移動する移動ロボットの該移動手段が接地する接触点の位置と、接地するときの前記移動手段の姿勢と、を時系列のデータとした接触点計画を設定するステップと、前記設定された接触点計画に基づいて、前記移動手段が接触点に接地しながら前記移動ロボットが移動するための重心軌道を生成するステップと、を含む最適制御方法であって、前記移動手段を接地するときの接触力に基づく量を入力とする予測モデルを構築して、該予測モデルによって所定時間幅の予測区間における前記移動ロボットの重心の状態変数を表わし、前記予測区間において、所定の評価基準を用いて前記重心の状態変数を算出し、該算出した重心の状態変数に基づいて、前記移動ロボットの重心軌道を生成するモデル予測制御を行ない、前記評価基準は、各接触点における前記接触力に基づく量の二乗が含まれる評価関数を予測区間内において最小化するものであり、前記評価基準と、前記接触力に基づく入力と前記重心の状態変数と関係を示す線形な状態方程式と、前記移動ロボットの線形等式で表現される等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換され、前記予測区間において、該変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数を算出する、ことを特徴とする最適制御方法であってもよい。
上記目的を達成するための本発明の一態様は、二以上の移動手段を交互に接地しながら移動する移動ロボットの該移動手段が接地する接触点の位置と、接地するときの前記移動手段の姿勢と、を時系列のデータとした接触点計画を設定する処理と、前記設定された接触点計画に基づいて、前記移動手段が接触点に接地しながら前記移動ロボットが移動するための重心軌道を生成する処理と、をコンピュータに実行させる最適制御プログラムであって、前記移動手段を接地するときの接触力に基づく量を入力とする予測モデルを構築して、該予測モデルによって所定時間幅の予測区間における前記移動ロボットの重心の状態変数を表わし、前記予測区間において、所定の評価基準を用いて前記重心の状態変数を算出し、該算出した重心の状態変数に基づいて、前記移動ロボットの重心軌道を生成するモデル予測制御を行ない、前記評価基準は、各接触点における前記接触力に基づく量の二乗が含まれる評価関数を予測区間内において最小化するものであり、前記評価基準と、前記接触力に基づく入力と前記重心の状態変数と関係を示す線形な状態方程式と、前記移動ロボットの線形等式で表現される等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換され、 前記予測区間において、該変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数を算出する、ことを特徴とする最適制御プログラムであってもよい。
One aspect of the present invention for achieving the above object is that a position of a contact point where the moving means of the mobile robot that moves while alternately grounding two or more moving means contacts the position of the moving means when contacting the ground. Contact point planning means for setting a contact point plan with posture as time series data, and based on the contact point plan set by the contact point plan setting means, the moving means contacts the contact point while A trajectory generating means for generating a center-of-gravity trajectory for moving the mobile robot, wherein the trajectory generating means is configured to input an amount based on a contact force when the moving means is grounded A model is constructed to represent the state variable of the center of gravity of the mobile robot in the prediction interval of a predetermined time width by the prediction model, and the state of the center of gravity is determined using a predetermined evaluation criterion in the prediction interval. The model is subjected to model predictive control for generating a center-of-gravity trajectory of the mobile robot based on the calculated center-of-gravity state variable, and the evaluation criterion includes the square of the amount based on the contact force at each contact point The evaluation function is minimized within the prediction interval, and the evaluation criterion, the linear state equation indicating the relationship between the input based on the contact force and the state variable of the center of gravity, and the linear equation of the mobile robot An equality constraint optimization problem including an equality constraint expressed is converted into an unconstrained optimization problem that does not include the equality constraint using orthogonal complement space, and the trajectory generation The means solves the converted unconstrained optimization problem using the recursive calculation method in the prediction interval, and calculates a state variable of the center of gravity based on the obtained optimal solution. That It is optimal controller for the symptoms.
In this aspect, the trajectory generating means constructs a prediction model that receives a differential value of a contact force when the moving means is grounded, and the evaluation criterion is set corresponding to each contact point. A criterion for allocating the contact force and a differential value of the contact force to each contact point based on a weight is included, and an evaluation function including a sum of squares of the contact force and the differential value of the contact force is included in a prediction interval. In the equation, the evaluation criterion, the state equation indicating the relationship between the input of the differential value of the contact force and the state variable of the center of gravity, and the equation constraint indicating the constraint of the balance of the force of the mobile robot And an equality constraint optimization problem including the above may be converted into an unconstrained optimization problem that does not include the equality constraint condition using orthogonal complement space.
In this aspect, a state equation showing the relation between the input of the differential value of the contact force and the state variable of the center of gravity is derived by performing QR decomposition on the equation showing the equation constraint QR conversion is performed on the expression derived from the above, and an input conversion expression is derived. Based on the state equation, the state variable conversion expression, the input conversion expression, and the state variable conversion expression The state equation conversion formula is derived, and the evaluation function conversion formula is derived based on the derived state variable conversion formula, the input conversion formula, and the evaluation function of the optimization problem with equality constraints. And
The unconstrained optimization problem may include a conversion equation for the derived evaluation function and a conversion equation for the state equation.
In this aspect, the trajectory generating means solves an optimal solution using a recursive calculation method with respect to an optimal solution condition of an expression expressing the unconstrained optimization problem as a matrix, and the calculated optimal solution Further, the time series data of the state variable of the center of gravity may be calculated based on a state variable conversion expression derived by QR decomposition of an equation indicating the equation constraint.
In this aspect, the equality constraint condition may include an input set so that the contact force does not change only within a predetermined interval.
In this aspect, the trajectory generating means performs an equality constraint including the equality constraint and an inequality constraint indicating a stability constraint of the contact point and an optimization problem with an inequality constraint in an orthogonal complement space. An unconstrained optimization problem that has been converted by using an optimal solution may be obtained using a recursive calculation method, and time series data of the state variable of the center of gravity may be calculated based on the obtained optimal solution.
In this aspect, the trajectory generating means applies a Newton method to an optimal solution condition of an expression expressing the unconstrained optimization problem as a matrix, and the recursive calculation is performed in a convergence operation of the Newton method. A Newton direction may be calculated using a method, and an optimal solution may be calculated based on the calculated Newton direction.
In this aspect, the trajectory generating means may apply an interior point method or an active set method to an optimal solution condition of an expression expressing the unconstrained optimization problem as a matrix.
In this aspect, the inequality constraint condition may include an input set to limit the contact force only within a predetermined interval.
In this aspect, the state equation of the optimization problem may include a linear time-varying control parameter.
In this aspect, the apparatus may further include a control unit that controls the moving unit based on the center of gravity trajectory generated by the trajectory generating unit.
One aspect of the present invention for achieving the above object is that a position of a contact point where the moving means of the mobile robot that moves while alternately grounding two or more moving means contacts the position of the moving means when contacting the ground. A step of setting a contact point plan in which the posture is time-series data, and a center of gravity trajectory for moving the mobile robot while the moving means contacts the contact point based on the set contact point plan Generating a prediction model having an input based on a contact force when the moving means is grounded, and using the prediction model in a prediction section having a predetermined time width. The state variable of the center of gravity of the mobile robot is represented, and the state variable of the center of gravity is calculated using a predetermined evaluation criterion in the prediction section, and the state variable of the center of gravity is calculated based on the calculated state variable of the center of gravity. The model predictive control for generating the center of gravity trajectory of the mobile robot is performed, and the evaluation criterion is to minimize an evaluation function including a square of an amount based on the contact force at each contact point within the prediction interval, and the evaluation Optimal with equality constraints including a criterion, a linear state equation indicating a relationship between the input based on the contact force and the state variable of the center of gravity, and an equality constraint expressed by a linear equation of the mobile robot The conversion problem is converted into an unconstrained optimization problem that does not include the equality constraint condition using orthogonal complement space, and the converted unconstrained optimization problem is recursively calculated in the prediction interval. The optimal control method may be characterized in that an optimal solution is obtained using a method and a state variable of the center of gravity is calculated based on the obtained optimal solution.
One aspect of the present invention for achieving the above object is that a position of a contact point where the moving means of the mobile robot that moves while alternately grounding two or more moving means contacts the position of the moving means when contacting the ground. A process for setting a contact point plan with the posture as time-series data, and a center-of-gravity trajectory for moving the mobile robot while the moving means contacts the contact point based on the set contact point plan An optimal control program for causing a computer to execute a process of generating a prediction model that inputs an amount based on a contact force when the moving means is grounded, and has a predetermined time width by the prediction model. The state variable of the center of gravity of the mobile robot in the prediction section is represented, the state variable of the center of gravity is calculated using a predetermined evaluation criterion in the prediction section, and the state change of the calculated center of gravity is calculated. The model predictive control for generating the center-of-gravity trajectory of the mobile robot is performed based on the evaluation criteria. And including the evaluation criteria, a linear state equation indicating the relationship between the input based on the contact force and the state variable of the center of gravity, and an equation constraint expressed by a linear equation of the mobile robot, etc. An optimization problem with an expression constraint is converted into an unconstraint optimization problem that does not include the equality constraint using an orthogonal complement space, and the converted unconstraint optimization problem in the prediction interval May be an optimal control program that calculates an optimal solution using a recursive calculation method and calculates the state variable of the center of gravity based on the determined optimal solution.

本発明によれば、モデル予測制御において最適化問題の最適解を高速に求解し重心軌道を生成できる最適制御装置、最適制御方法及び制御プログラムを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the optimal control apparatus, the optimal control method, and control program which can obtain | require the optimal solution of the optimization problem in model predictive control at high speed, and can produce | generate a gravity center locus | trajectory can be provided.

移動ロボットの動作の一例を示す図。である。The figure which shows an example of operation | movement of a mobile robot. It is. 移動ロボットの機械構成の一例を示す図である。It is a figure which shows an example of the machine structure of a mobile robot. 移動ロボットの機能ブロック図である。It is a functional block diagram of a mobile robot. 6軸力を示す図である。It is a figure which shows 6 axial force. 最適制御装置の機能ブロック図である。It is a functional block diagram of an optimal control apparatus. 接触点計画の概要の一例を示す図である。It is a figure which shows an example of the outline | summary of a contact point plan. 接触点計画の一例を示す図である。It is a figure which shows an example of a contact point plan. 予測区間の例を示す図である。It is a figure which shows the example of a prediction area. 予測区間での動きを表わした図である。It is a figure showing the motion in a prediction area. 予測区間のシフトを説明するための図である。It is a figure for demonstrating the shift of a prediction area. 予測に用いる移動ロボットのモデルを示す図である。It is a figure which shows the model of the mobile robot used for prediction. 予測区間の離散化を説明するための図である。It is a figure for demonstrating the discretization of a prediction area. 直交補空間のイメージ図である。It is an image figure of orthogonal complement space. 無制約条件のLQ最適化問題に変換する際のフローを示す図である。It is a figure which shows the flow at the time of converting into the LQ optimization problem of an unconstrained condition. 最適制御方法を示すフローチャートである。It is a flowchart which shows the optimal control method. 接触点の座標系と接触多角形とを示す図である。It is a figure which shows the coordinate system and contact polygon of a contact point. 接触点が不安定化する場合を例示した図である。It is the figure which illustrated the case where a contact point became unstable. 等式制約条件及び不等式制約条件付きLQ最適化問題の最適解の求解フローを示すフローチャートである。It is a flowchart which shows the solution flow of the optimal solution of an LQ optimization problem with an equality constraint condition and an inequality constraint condition.

本発明の実施形態を図示するとともに図中の各要素に付した符号を参照して説明する。
(第1実施形態)
本実施形態は移動ロボットの最適制御装置に特徴があり、具体的には、移動ロボットの移動動作(図1)を制御するための軌道生成に特徴を有するのであるが、具体的な制御(軌道生成)を説明する前に、制御対象となる移動ロボットのハードウェア構成について予め説明しておく。
An embodiment of the present invention will be illustrated and described with reference to reference numerals attached to elements in the drawing.
(First embodiment)
This embodiment is characterized by an optimal control device for a mobile robot. Specifically, the present embodiment has a feature in generating a trajectory for controlling the movement operation (FIG. 1) of the mobile robot. Before describing (generation), the hardware configuration of the mobile robot to be controlled will be described in advance.

図2は、移動ロボットの機械構成の一例を示した図である。
移動ロボット100は、股関節が3軸、膝関節が1軸、足首関節が2軸、さらに、肩関節が3軸(肩ピッチ、肩ロール、肩ヨー)、肘関節が1軸(肘ピッチ)、および、手首関節が3軸(手首ヨー、手首ピッチ、手首ロール)、で夫々構成されている。
FIG. 2 is a diagram illustrating an example of the mechanical configuration of the mobile robot.
The mobile robot 100 has three axes for the hip joint, one axis for the knee joint, two axes for the ankle joint, three axes for the shoulder joint (shoulder pitch, shoulder roll, shoulder yaw), one axis for the elbow joint (elbow pitch), The wrist joint is composed of three axes (wrist yaw, wrist pitch, wrist roll).

(移動ロボットの機械構成はこれに限定されないが、手(腕)の自由度は6以上、足(脚)の自由度も6以上は必要である。)
移動ロボット100は、各関節にエンコーダ付きモータ1、2、・・・、28を有している。
各関節のモータ1a、2a、・・・、28a(図3)は、各関節の関節角度θ1、θ2、・・・、θ28を調整できる。
一方、各関節のエンコーダ1b、2b、・・・、28bは、各関節の関節角度θ1、θ2・・・、θ28を計測することができる。
(The mechanical configuration of the mobile robot is not limited to this, but the degree of freedom of the hand (arm) is 6 or more and the degree of freedom of the foot (leg) is 6 or more.)
The mobile robot 100 has motors 1, 2,..., 28 with encoders at each joint.
The joint motors 1a, 2a,..., 28a (FIG. 3) can adjust the joint angles θ1, θ2,.
On the other hand, the encoders 1b, 2b,..., 28b of each joint can measure the joint angles θ1, θ2,.

また、移動ロボット100は、足先部(足平部)および手先部(手の平部)に接触力センサ25を有している。
ここで接触力とは6軸力であり、図4に示すように、x軸、y軸およびz軸方向の力fの組(f、f、fと、x軸回り、y軸回りおよびz軸回りの力τの組(τ、τ、τと、である。
(なお、x軸およびy軸は、鉛直方向であるz軸に垂直な面内で互いに直交する軸とする。)
In addition, the mobile robot 100 has a contact force sensor 25 at a foot tip (foot portion) and a hand tip (palm portion).
Here, the contact force is a six-axis force. As shown in FIG. 4, a set of forces f in the x-axis, y-axis, and z-axis directions (f x , f y , f z ) T , A set of forces τ around the y-axis and the z-axis (τ x , τ y , τ z ) T.
(The x-axis and the y-axis are axes orthogonal to each other in a plane perpendicular to the z-axis, which is the vertical direction.)

この移動ロボットは、移動時に、右足、左足、右手および左手のうちの一つ以上を床、壁、あるいはテーブルなどに接触させながら移動する。
そこで、本明細書の以下の説明では、右足、左足、右手および左手を接触点候補と称することがある。また、手先、足先というのは、移動手段の一具体例である。
The mobile robot moves while contacting one or more of the right foot, left foot, right hand, and left hand with the floor, wall, table, or the like.
Therefore, in the following description of the present specification, the right foot, the left foot, the right hand, and the left hand may be referred to as contact point candidates. The hand and foot are specific examples of the moving means.

図3は、移動ロボット100の機能ブロック図である。
移動ロボット100は、各関節のモータ1a〜24a及びエンコーダ1b〜24bと、接触力センサ25と、最適制御装置210と、を備えている。
FIG. 3 is a functional block diagram of the mobile robot 100.
The mobile robot 100 includes motors 1 a to 24 a and encoders 1 b to 24 b of each joint, a contact force sensor 25, and an optimal control device 210.

最適制御装置210には、各関節のエンコーダ1b〜24b及び接触力センサ25から、センサ検出値が入力される。また、最適制御装置210は、各関節のモータ1a〜24aに対して駆動信号を出力する。   Sensor detection values are input to the optimal control device 210 from the encoders 1b to 24b and the contact force sensor 25 of each joint. Moreover, the optimal control apparatus 210 outputs a drive signal with respect to the motors 1a-24a of each joint.

最適制御装置210は、主要なハードウェア構成として、制御処理、演算処理等を行うCPU(Central Processing Unit)210aと、CPU210aによって実行される制御プログラム、演算プログラム等が記憶されたROM(Read Only Memory)210bと、処理データ等を一時的に記憶するRAM(Random Access Memory)210cと、を有するマイクロコンピュータにより構成されている。また、これらCPU210a、ROM210b、及びRAM210cは、データバス210dによって相互に接続されている。必要なプログラムを不揮発性記録媒体に記録しておき、必要に応じてインストールするようにしてもよい。   The optimal control device 210 includes a CPU (Central Processing Unit) 210a that performs control processing, arithmetic processing, and the like as a main hardware configuration, and a ROM (Read Only Memory) that stores control programs, arithmetic programs, and the like executed by the CPU 210a. ) 210b and a microcomputer having RAM (Random Access Memory) 210c for temporarily storing processing data and the like. The CPU 210a, ROM 210b, and RAM 210c are connected to each other by a data bus 210d. Necessary programs may be recorded on a non-volatile recording medium and installed as necessary.

図5は、本発明の一実施形態に係る最適制御装置210の機能ブロック図である。本実施形態に係る最適制御装置210は、移動ロボット100の接触点計画を設定する接触点計画設定部(接触点計画手段の一具体例)221と、安定に実行できる移動ロボット100の重心軌道を生成する軌道生成部(軌道生成手段の一具体例)222と、生成された重心軌道に従って移動ロボット100の全身動作を実行させる動作制御部(制御手段の一具体例)223と、を有する。   FIG. 5 is a functional block diagram of the optimal control apparatus 210 according to an embodiment of the present invention. The optimal control apparatus 210 according to the present embodiment includes a contact point plan setting unit (one specific example of contact point planning means) 221 that sets a contact point plan of the mobile robot 100 and a center of gravity trajectory of the mobile robot 100 that can be stably executed. A trajectory generation unit (a specific example of the trajectory generation unit) 222 to be generated, and an operation control unit (a specific example of the control unit) 223 that executes the whole body motion of the mobile robot 100 according to the generated center-of-gravity trajectory.

ここで、軌道生成部222は、接触点計画に従った動作を実行できる重心軌道を生成するのであるが、この重心軌道生成には必要に応じた接触点変更を含む。
これら機能部の具体的な処理動作については後述する。
Here, the trajectory generation unit 222 generates a center of gravity trajectory that can execute an operation according to the contact point plan, and this center of gravity trajectory generation includes a change of the contact point as necessary.
Specific processing operations of these functional units will be described later.

(多点接触移動のための軌道生成方法)
本実施形態に係る軌道生成部222は、(1)多点接触移動を実現できる重心軌道を生成し、かつ、(2)必要に応じて接触点の変更を行っている。ここで、(1)多点接触移動を実現できる重心軌道を生成するための方法を説明する。なお、本出願人は、特願2013−254989(平成25年12月10日出願)においてこの方法を出願している。
(Orbit generation method for multi-point contact movement)
The trajectory generation unit 222 according to the present embodiment generates (1) a center-of-gravity trajectory that can realize multipoint contact movement, and (2) changes the contact point as necessary. Here, (1) a method for generating a center of gravity trajectory capable of realizing multipoint contact movement will be described. The present applicant has applied for this method in Japanese Patent Application No. 2013-254989 (filed on Dec. 10, 2013).

そもそも、将来の目標重心位置を予め知ることはできないのであり、制御目標値として未知であるはずの将来の重心位置をユーザが設定するというのは無理がある。ユーザとしてはロボットに接触点の計画情報だけを与え、あとは、移動ロボットが設定された接触点の計画情報に基づいて自動的に安定な重心軌道を生成して自律的に移動してくれることが望ましい。   In the first place, the future target center-of-gravity position cannot be known in advance, and it is impossible for the user to set the future center-of-gravity position that should be unknown as the control target value. The user gives the robot only the contact point plan information, and then the mobile robot automatically generates a stable center of gravity trajectory based on the set contact point plan information and moves autonomously. Is desirable.

さて、移動ロボットに多点接触移動を安定して行わせるためには、時々刻々と移り変わっていく接触点に応じて接触力を滑らかに適切に分配し、なおかつ、安定な重心軌道を生成する技術が必要である。   Now, in order to make the mobile robot perform multi-point contact movements stably, a technology that distributes contact force smoothly and appropriately according to contact points that change from moment to moment, and generates a stable center of gravity trajectory. is necessary.

このために本実施形態に係る軌道生成部222は、モデル予測制御(所謂リシーディングホライゾン制御:Receding Horizon Control)を用いて重心軌道を生成する。
最初にモデル予測制御の概要を説明しておく。
For this purpose, the trajectory generation unit 222 according to the present embodiment generates a barycentric trajectory using model predictive control (so-called receiving horizon control).
First, an outline of model predictive control will be described.

(モデル予測制御の概要説明)
例えば、図1に図示したような移動動作を移動ロボットに行わせたいとする。
ここでは、2本の腕と2本の脚とを有する人型の移動ロボットに、テーブルの奥側にあるボトルを掴ませるという一連の動作を想定する。
(Overview of model predictive control)
For example, assume that the mobile robot wants to perform a moving operation as illustrated in FIG.
Here, a series of operations is assumed in which a humanoid mobile robot having two arms and two legs grips a bottle on the back side of the table.

この場合、接触点計画設定部221は、ユーザから指令される接触点の計画情報に基づいて、この一連動作(タスク)を実行できるような接触点計画を作成する。
つまり、接触点計画設定部221は、例えば、図6のように、手先および足先を、どの順番で、どこに、どのように、着くか、という計画を作成する。
図6においては、床、壁およびテーブルにおいて足先および手先を接触させる箇所にマークを付けている。
In this case, the contact point plan setting unit 221 creates a contact point plan that can execute this series of operations (tasks) based on the contact point plan information instructed by the user.
In other words, the contact point plan setting unit 221 creates a plan as to, for example, as shown in FIG. 6, in which order, where and how to get the hands and feet.
In FIG. 6, the floor, the wall, and the table are marked at locations where the feet and the hands are brought into contact.

この接触点計画は、具体的には図7のようになる。
接触点計画は、左手(LH)、右手(RH)、左足(LF)および右足(RF)に関し、どの順番で、どこに、どのように、着いていくか、という時系列のデータである。
This contact point plan is specifically as shown in FIG.
The contact point plan is time-series data regarding which order, where, and how to arrive for the left hand (LH), right hand (RH), left foot (LF), and right foot (RF).

図1、図6および図7の対応関係を簡単に説明する。
当初(t0)左足1本だけで立ち、遊脚である右足を前に振り出し、そして、右足を着地させる(t1)。
この動きに従った接触点計画を移動ロボット100に実行させるためには、左足が最初に着地している床上の接触点の座標PLF1、そのときの左足の姿勢rLF1、そして、右足が着地する床上の接触点の座標PRF1、そのときの右足の姿勢rRF1、を指定することが必要である。
The correspondence between FIGS. 1, 6 and 7 will be briefly described.
Initially (t0) Stand with only one left foot, swing out the right foot, which is a free leg, and land the right foot (t1).
In order to cause the mobile robot 100 to execute the contact point plan according to this movement, the coordinates P LF1 of the contact point on the floor on which the left foot first lands, the posture r LF1 of the left foot at that time, and the right foot landing It is necessary to specify the coordinates P RF1 of the contact point on the floor to be performed and the posture r RF1 of the right foot at that time.

ここで、接触点の座標は、空間座標としてP=(P、P、P)の組で表わされる。
また、姿勢というのは、接触点に着地したときの足の裏面の向きであり、例えばオイラー角の組としてr=(r、r、r)として表わされる。
(すなわち、r、rおよびrは、ロール、ピッチおよびヨー角をそれぞれ表わす。)
足に関する接触点の座標およびそのときの姿勢を指令する形式は今後の説明でも同様なので、以後は適宜説明を省略する。
Here, the coordinates of the contact point are represented as a set of P = (P x , P y , P z ) as spatial coordinates.
Further, the posture is the direction of the back surface of the foot when landing on the contact point, and is represented as, for example, r = (r x , r y , r z ) as a set of Euler angles.
(Ie, r x , r y and r z represent roll, pitch and yaw angles, respectively)
Since the format for instructing the coordinates of the contact point on the foot and the posture at that time will be the same in the following description, the description will be omitted as appropriate.

両足で立った後、左足を振り出し(t)、左足を前方に着地する(t)。
その間に、左手を壁に着くようにする(t)。
ここで、左手を着く壁上の接触点の座標PLH1、および、そのときの左手の姿勢rLH1を指定する。
After standing with both feet, swing out the left foot (t 2 ) and land the left foot forward (t 4 ).
In the meantime, the left hand is put on the wall (t 3 ).
Here, the coordinates P LH1 of the contact point on the wall that wears the left hand and the posture r LH1 of the left hand at that time are designated.

この接触点の座標は空間座標としてP=(P、P、P)の組で表わされ、姿勢は接触点に着いたときの手の平の向きとしてオイラー角の組としてr=(r、r、r)として表わされる。 The coordinates of the contact point are expressed as a set of space coordinates P = (P x , P y , P z ), and the posture is set as a set of Euler angles as a set of Euler angles when reaching the contact point. x, r y, expressed as r z).

これ以降の接触点計画は図1、図6および図7を対比して頂ければ自明と思われるので省略する。
このようにして、接触点計画設定部221は、接触点計画を時系列のデータとして作成する。
Subsequent contact point plans will be omitted if they can be understood by comparing FIGS. 1, 6 and 7. FIG.
In this way, the contact point plan setting unit 221 creates the contact point plan as time series data.

軌道生成部222は、上記のように接触点計画設定部221により設定された接触点計画を実現するように重心軌道を生成する。動作制御部223は、軌道生成部222により生成された重心軌道に従って移動ロボット100の全身動作させるように、各関節のモータ1a〜24aを制御する。これにより、移動ロボット100は、設定された接触点計画に基づいて安定な重心軌道に従って、自律的に移動できる。   The trajectory generation unit 222 generates a center of gravity trajectory so as to realize the contact point plan set by the contact point plan setting unit 221 as described above. The motion control unit 223 controls the motors 1a to 24a of the joints so that the mobile robot 100 operates in the whole body according to the center of gravity trajectory generated by the trajectory generation unit 222. Thereby, the mobile robot 100 can move autonomously according to a stable center of gravity trajectory based on the set contact point plan.

このとき、軌道生成部222は、軌道生成にあたってモデル予測制御を行う。
すなわち、軌道生成部222は、ある時間幅を持った予測区間内で移動ロボット100が安定移動できる軌道を生成し、予測区間を微小時間(Δt)ずつシフトさせながら安定動作を行える軌道を順次更新していくようにする。
At this time, the trajectory generation unit 222 performs model prediction control when generating the trajectory.
That is, the trajectory generation unit 222 generates a trajectory that the mobile robot 100 can stably move within a prediction interval having a certain time width, and sequentially updates the trajectory that can perform a stable operation while shifting the prediction interval by a minute time (Δt). Try to do.

例えば、図8に予測区間の例を示す。
軌道生成部222は、現在から所定時間(例えば1.6秒)先の未来までを予測区間として設定する。
For example, FIG. 8 shows an example of a prediction interval.
The trajectory generation unit 222 sets the future interval ahead of a predetermined time (for example, 1.6 seconds) from the present time as the prediction interval.

そして、軌道生成部222は、この予測区間の間で発散しないように安定な軌道を生成する。
この予測区間での動きをイメージしたものが図9である。
このように、軌道生成部222は、ある時間幅を持つ予測区間で安定な軌道を生成した上で、最初の一点だけを現在の入力値として使用する。
Then, the trajectory generator 222 generates a stable trajectory so as not to diverge between the prediction intervals.
FIG. 9 is an image of the motion in the prediction interval.
As described above, the trajectory generation unit 222 generates a stable trajectory in a prediction interval having a certain time width, and uses only the first point as the current input value.

軌道生成部222は、次の軌道更新周期(Δt秒後)には予測区間をシフトさせ、新たな予測区間において同様に安定な軌道を生成する(図10参照)。   The trajectory generation unit 222 shifts the prediction interval in the next trajectory update period (after Δt seconds), and similarly generates a stable trajectory in the new prediction interval (see FIG. 10).

現在だけ、あるいは、現在から次ぎの制御周期(Δt秒)まで、だけを見るのではなく、上記のように、ある程度の未来までを予測区間とし、この予測区間内で発散しない軌道が生成されるようにする。
これを繰り返すことで移動ロボットは安定に移動することができる。
Instead of looking only at the present time or only from the present to the next control cycle (Δt seconds), as described above, a certain future is set as the prediction interval, and a trajectory that does not diverge within this prediction interval is generated. Like that.
By repeating this, the mobile robot can move stably.

さて、ここで問題なのは、ある時間幅を持った予測区間のなかで時々刻々と移り変わっていく接触点に応じて接触力を滑らかに適切に分配し、なおかつ、安定な重心軌道を生成するにはどのようにすればよいか、ということである。   Now, the problem here is to generate a stable center of gravity trajectory that distributes the contact force smoothly and appropriately according to the contact points that change from moment to moment in the prediction interval with a certain time width. What should I do?

本発明者らは、ある予測区間における安定軌道の生成問題をLQ(Linear Quadratic)最適化問題(凸二次計画問題:Quadratic Programming: QP)に帰着させるという着想を得た。
具体的には、軌道生成部222は、各接触点における接触力の二乗和と、前記6軸力(接触力)の微分値の二乗和と、を含む評価関数Jを最小化するというLQ最適化問題を解くことで、多点接触移動の安定軌道を求める。
The present inventors have come up with the idea of reducing the problem of generating stable trajectories in a certain prediction interval to an LQ (Linear Quadratic) optimization problem (Quadratic Programming Problem: QP).
Specifically, the trajectory generation unit 222 minimizes the evaluation function J including the sum of squares of the contact force at each contact point and the sum of squares of the differential values of the six-axis forces (contact forces). The stable trajectory of multipoint contact movement is obtained by solving the optimization problem.

そこで、次に、この評価関数Jの導出およびその解法(LQ最適化問題への帰着)を説明する。
この解法により、ある予測区間内で安定な多点接触移動を実現するための、重心位置、重心速度、接触力および接触力の微分値の時系列データが得られることを示す。(ここからの説明では、まず、接触点計画で指示された通りの位置(接触点)に手足を着くことだけを考える。なお、必要に応じて、スラック変数などを導入し条件式や評価式を緩和するなどの処置を行って接触点を変更してもよい。
Therefore, next, the derivation of the evaluation function J and its solution (reduction to the LQ optimization problem) will be described.
This solution shows that time series data of the center of gravity position, the center of gravity speed, the contact force, and the differential value of the contact force can be obtained in order to realize stable multipoint contact movement within a certain prediction section. (In the following explanation, first consider only putting your limbs on the position (contact point) as instructed in the contact point plan. In addition, if necessary, introduce slack variables, etc. The contact point may be changed by performing a treatment such as relieving.

予測に用いる移動ロボットのモデルを改めて図11に示す。
移動ロボット全体の慣性を一つの重心Gで表わす。各接触点には6軸力を定義する。
A model of the mobile robot used for the prediction is shown again in FIG.
The inertia of the entire mobile robot is represented by one center of gravity G. A 6-axis force is defined for each contact point.

この時、重心Gの並進運動量をP、重心回りの回転運動量(角運動量)をL、接触点の数をnとすると、運動方程式は次のように書ける。   At this time, if the translational momentum of the center of gravity G is P, the rotational momentum (angular momentum) around the center of gravity is L, and the number of contact points is n, the equation of motion can be written as follows.

Figure 2016198873
Figure 2016198873

添え字iは接触点のインデックスを表す。
例えば接触点の候補が左手、右手、左足、右足の4点であれば、n=4(左手:LH=1、右手:RH=2、左足:LF=3、右足:RF=4)とすればよい。ただし、床や壁に接触していない接触点候補については接触力を0にするように拘束条件を設定しておく。例えば図11の例であれば次のようにする。
The subscript i represents the index of the contact point.
For example, if the contact point candidates are four points of the left hand, right hand, left foot, and right foot, n = 4 (left hand: LH = 1, right hand: RH = 2, left foot: LF = 3, right foot: RF = 4). That's fine. However, for the contact point candidates that are not in contact with the floor or wall, the constraint condition is set so that the contact force is zero. For example, in the example of FIG.

Figure 2016198873
Figure 2016198873

(1)式の第1式、第2式を微分すると次の式が得られる。((1)式はベクトルで表現しているが、これをx、y、zに分解した上で、上から順に第1式、第2式・・・第6式と称する。)   Differentiating the first expression and the second expression of the expression (1) yields the following expression. (Equation (1) is expressed as a vector, but after decomposing it into x, y, and z, they are called the first equation, the second equation,...

Figure 2016198873
Figure 2016198873

本実施形態では、この2式をシステムとして用いる。そして、(1)式の第3から第5式を拘束条件として定式化する。   In this embodiment, these two types are used as a system. Then, Formulas 3 to 5 of Formula (1) are formulated as constraint conditions.

Figure 2016198873
Figure 2016198873

さらに、予測区間内を図12のように、N個の区間に分割し、(3)式、(4)式を離散化する。(3)式を離散化すると次のようになる。   Further, the prediction interval is divided into N intervals as shown in FIG. 12, and equations (3) and (4) are discretized. The equation (3) is discretized as follows.

Figure 2016198873
Figure 2016198873

また、サンプリング点で常に(4)式の拘束が成り立つとすると、(4)式は次のように離散化される。   Further, if the constraint of equation (4) always holds at the sampling point, equation (4) is discretized as follows.

Figure 2016198873
Figure 2016198873

ここで、パラメータを次ぎのように置く。   Here, the parameters are set as follows.

Figure 2016198873
Figure 2016198873

θは、6軸力としての接触力を並べたベクトルである。そして、xは、重心Gのx座標、重心Gのx軸方向速度、重心Gのy座標、重心Gのy軸方向速度、および、各接触点における接触力(6軸力)、を並べたベクトルである。このxを、重心の状態変数xと称する。さらに、uは、接触力(6軸力)の微分値を並べたベクトルである。 θ i is a vector in which contact forces as six-axis forces are arranged. X is an x coordinate of the center of gravity G, an x-axis direction speed of the center of gravity G, a y-coordinate of the center of gravity G, a y-axis direction speed of the center of gravity G, and a contact force (six-axis force) at each contact point. Is a vector. This x is referred to as the state variable x of the center of gravity. Furthermore, u is a vector in which the differential values of the contact force (six-axis force) are arranged.

このようにパラメータを設定すると、(5)式を次ぎの状態方程式として記述することができる。   When parameters are set in this way, equation (5) can be described as the next state equation.

Figure 2016198873
Figure 2016198873

この(8)式は、(j+1)のときの状態変数xを、その一つ前の状態で記述できる。(8)式を用いて予測区間内の状態変数xを順に計算していくと次のようになる。   This equation (8) can describe the state variable x at the time of (j + 1) in the previous state. When the state variable x in the prediction interval is calculated in order using the equation (8), it is as follows.

Figure 2016198873
Figure 2016198873

したがって、時系列的に求められる状態変数xを並べて大文字のXで表わすと、状態変数の時系列データXを次のように表わすことができる。   Therefore, when the state variables x obtained in time series are arranged and represented by capital letters X, the time series data X of the state variables can be represented as follows.

Figure 2016198873
Figure 2016198873

この(10)式は、接触力の微分値(u[k])を入力として、ある予測区間内における移動ロボットの状態遷移を表わす予測モデルとなる。なお、上記(10)式において、接触力を入力してもよい。この場合、状態変数xは、重心位置と重心速度のみを含むこととなる。また、上記(3)式は、G(2ドット)(2階微分)とfとの関係式となり、この関係式と、上記(5)式のf(ドット)の項を0にした式とから、上記(8)式のような線形の状態方程式が導出できる。
さて、ここで、本発明者らは、予測区間内において安定な軌道を生成するために次ぎのような評価関数Jの評価基準を導入した。
This equation (10) is a prediction model that represents the state transition of the mobile robot within a certain prediction interval with the differential value (u [k]) of the contact force as an input. In the above equation (10), the contact force may be input. In this case, the state variable x includes only the gravity center position and the gravity center speed. Further, the above equation (3) is a relational expression between G (2 dots) (second order differential) and f, and this relational expression is an expression in which the term of f (dot) in the above expression (5) is zero. From this, a linear equation of state like the above equation (8) can be derived.
Now, the present inventors have introduced the following evaluation criteria for the evaluation function J in order to generate a stable trajectory within the prediction interval.

Figure 2016198873
Figure 2016198873

なお、Q、Rは、適宜設定した重みである。例えば、接触点候補すべてに力を均等配分した場合、Qはすべて1となり、Rはすべて1×10−6と設定できる。 Q i and R i are weights set as appropriate. For example, when the force is evenly distributed to all the contact point candidates, Q i is all 1 and R i can be set to 1 × 10 −6 .

ここで、θは、6軸力としての接触力の成分を並べたベクトルであった。したがって、上記(11)式は、「予測区間内で、接触力(6軸力)と接触力の微分値との2乗和を最小化する」という意味の式である。上記(11)式の第1項は、接触力(6軸力)の2乗和を最小化することを意味する。 Here, θ i is a vector in which components of contact force as 6-axis force are arranged. Therefore, the above expression (11) is an expression that means “minimize the sum of squares of the contact force (6-axis force) and the differential value of the contact force within the prediction interval”. The first term of the equation (11) means minimizing the sum of squares of the contact force (six-axis force).

この第1項には、次の作用が含まれている。
(1)各接触点への接触力を均等分配すること。これにより、重心をできる限り安定な位置に動かすという効果がある。
(2)不必要な内力を打ち消すこと。
(3)接触点の接地安定性を高めること。すなわち、接触面内の反力中心点を接触面の中心に設定するという効果がある。
This first term includes the following actions.
(1) Distribute the contact force to each contact point evenly. This has the effect of moving the center of gravity to the most stable position possible.
(2) To cancel unnecessary internal forces.
(3) To improve the grounding stability of the contact point. That is, there is an effect that the reaction force center point in the contact surface is set to the center of the contact surface.

また、上記(11)式の第2項は、接触力(6軸力)微分値(6軸力の時間変化率)の2乗和を最小化することを意味する。   The second term of the above equation (11) means minimizing the sum of squares of the contact force (6-axis force) differential value (time change rate of 6-axis force).

この第2項には次の作用が含まれている。
(1)重心の発散を抑制すること。
(2)滑らかに接触力を切り替えていくこと。
This second term includes the following actions.
(1) To suppress the divergence of the center of gravity.
(2) Switching contact force smoothly.

これらをQ、Rという重みによって適切に足し合わせることによって、この評価関数Jを最小化するということは、
「高い接触安定性、滑らかな接触力遷移、最低限の内力、といった条件を満たしながら、安定な重心軌道と各接触点の接触力とを出力する」
ということを意味することとなる。
Minimizing this evaluation function J by adding these appropriately by the weights of Q and R means that
"Stable center of gravity trajectory and contact force at each contact point are output while satisfying conditions such as high contact stability, smooth contact force transition, and minimum internal force"
It means that.

上記(11)式を離散化し一般的な形式に書き換えると、次の評価関数(12)式が得られる。

Figure 2016198873
When the above equation (11) is discretized and rewritten into a general form, the following evaluation function (12) is obtained.
Figure 2016198873

次に、移動ロボットの力の釣合いの拘束を示す等式制約条件(拘束制約条件)について考える。
等式制約条件としては、
(1)移動ロボットの非接触の接触点候補に対して6軸力が0という拘束、
(2)移動ロボットの鉛直方向の力の釣り合いの拘束、および、
(3)移動ロボットのxy軸回りのモーメント力の釣り合いの拘束、
が予測区間の全サンプリング点に渡って成り立つ必要がある。
Next, an equation constraint condition (constraint constraint condition) indicating a constraint of balance of force of the mobile robot is considered.
As an equation constraint,
(1) Constraint that the 6-axis force is 0 with respect to the non-contact contact point candidate of the mobile robot,
(2) Vertical force balance constraint of the mobile robot, and
(3) Constraint on balance of moment force around xy axis of mobile robot,
Must hold over all sampling points in the prediction interval.

ここで、例えば、あるサンプリング点kにおいて、i番目とi+2番目の接触点が非接触であったとする。
この時、上記等式制約条件(1)乃至(3)は、下記(13)式のように記述できる。

Figure 2016198873
Here, for example, it is assumed that the i-th and i + 2th contact points are non-contact at a certain sampling point k.
At this time, the equality constraints (1) to (3) can be described as the following equation (13).
Figure 2016198873

なお、係数行列C、dの成分はサンプリング点によって異なり、接触点候補の接触/非接触といった情報や接触点位置は接触点計画設定部221によって設定される。例えば、上記(13)式のpix[k]、piy[k]、piz[k]は、接触点計画設定部221によって設定される。 Note that the components of the coefficient matrices C k and d k differ depending on the sampling points, and information such as contact / non-contact of contact point candidates and contact point positions are set by the contact point plan setting unit 221. For example, p ix [k], p iy [k], and p iz [k] in the above equation (13) are set by the contact point plan setting unit 221.

以上から、現在の状態量(状態変数の初期値)をxとすると、上記(8)式、(12)式、及び(13)式より、最適制御装置210の軌道生成部222は、下記(14)式に示す等式制約条件付きLQ最適化問題を求解し、重心軌道を生成することとなる。

Figure 2016198873
なお、上記(14)式において、1行目の式(minJ=・・)は、上述の如く、予測区間内において、接触力と接触力の微分値との2乗和を最小化するという意味の式である。2行目の式(x[k+1]=・・)は、接触力の微分値の入力と重心の状態変数と関係を示す状態方程式である。3行目の式(Cx[k]=d)は、移動ロボットの力の釣合いの拘束を示す等式制約条件である。 From the above, when the amount present state (initial value of the state variable) and x 0, equation (8) and (12), and (13), the trajectory generating unit 222 of the optimal controller 210, the following The LQ optimization problem with equality constraints shown in the equation (14) is solved to generate the center of gravity trajectory.
Figure 2016198873
In the above formula (14), the formula (minJ = ...) in the first row means that the sum of squares of the contact force and the differential value of the contact force is minimized within the prediction interval as described above. It is a formula. The expression (x [k + 1] =...) In the second row is a state equation indicating the relationship between the input of the differential value of the contact force and the state variable of the center of gravity. The expression (C k x [k] = d k ) in the third row is an equality constraint condition indicating the constraint of the balance of forces of the mobile robot.

ところで、上述のように移動ロボットの最適制御装置は、多点接触で安定的な動作軌道を生成するためにモデル予測制御を行っている。このモデル予測制御では、移動ロボットの物理的な制約条件(上述の等式制約条件)が設定される。そして、最適制御装置は、制御周期毎にLQ最適化問題を求解し、その求解した最適解に基づいて制御を行なっている。しかし、この最適解の求解において、従来、多大な時間を要し、モデル予測制御の周期(軌道更新の周期)に遅延が生じ、制御性能を上げることができないという問題が生じていた。   By the way, as described above, the optimal control device for a mobile robot performs model predictive control in order to generate a stable motion trajectory with multipoint contact. In this model predictive control, a physical constraint condition (the above-described equality constraint condition) of the mobile robot is set. Then, the optimal control device solves the LQ optimization problem for each control cycle, and performs control based on the obtained optimal solution. However, the solution of the optimum solution has conventionally required a lot of time, causing a delay in the cycle of model predictive control (orbit update cycle), resulting in a problem that the control performance cannot be improved.

これに対し本実施形態においては、直交補空間を用いて等式制約条件付きのLQ最適化問題を無制約条件のLQ最適化問題に変換する。そして、最適制御装置210の軌道生成部222は、この変換した無制約条件のLQ最適化問題をリカッチ型再帰的計算法(Riccati recursion)を用いて解き、最適解を求解する。そして、軌道生成部222は、求解した最適解に基づいて重心の状態変数を算出し、該算出した重心の状態変数に基づいて重心軌道を生成する。
直交補空間を用いて無制約条件のLQ最適化問題に変換することで、その求解に高速かつ安定的なリカッチ型再帰的計算法を用いることができる。これにより、モデル予測制御においてLQ最適化問題の最適解を高速に求解し重心軌道を生成できる。
In contrast, in the present embodiment, an LQ optimization problem with equality constraints is converted into an unconstrained LQ optimization problem using orthogonal complement space. Then, the trajectory generation unit 222 of the optimal controller 210 solves the converted unconstrained LQ optimization problem using the Riccati recursive calculation method (Riccati recursion) to find the optimal solution. Then, the trajectory generation unit 222 calculates the state variable of the center of gravity based on the obtained optimal solution, and generates the center of gravity trajectory based on the calculated state variable of the center of gravity.
By converting to an unconstrained LQ optimization problem using the orthogonal complement space, a fast and stable riccat type recursive calculation method can be used for the solution. As a result, the optimal solution of the LQ optimization problem can be obtained at high speed in model predictive control, and the center of gravity trajectory can be generated.

なお、上記Riccati recursionは、最適化問題を行列表現した式に変換し、その変換した行列表現の式の最適解条件(KKT(Karush-Kuhn- Tucker) 条件)を示す式に対して再帰的計算を行うことにより、最適化問題の最適解を高速に求解するものである。詳細な計算方法については、既に、非特許文献(Parallel Implementation of Riccati Recursion for Solving Linear-Quadratic, Gianluca Frison John Bagterp Jorgensen)などに開示されており、これを援用できるものとする。   The above Riccati recursion is a recursive calculation for an expression that shows the optimal solution condition (KKT (Karush-Kuhn-Tucker) condition) of the converted matrix expression. By doing this, the optimal solution of the optimization problem is obtained at high speed. The detailed calculation method has already been disclosed in a non-patent document (Parallel Implementation of Riccati Recursion for Solving Linear-Quadratic, Gianluca Frison John Bagterp Jorgensen) and the like, and this can be used.

ここで、最初に、上述した直交補空間について詳細に説明する。直交補空間は、以下(1)−(3)のように定義される。
(1)2つの部分空間V及びUの基底{v i=1および{u} i=1に含まれるベクトルが線形独立であるとき、基底{v∈R i=1∪で張られる部分空間をVとUの直和(direct sum)といい、U(+)Vと表記する。以下、○の中に+を(+)と表記する。特に、R=Rk+m=V(+)Uが成立するとき、UをVの補空間(complement)という。
(2)部分空間V⊂Rと部分空間U⊂Rとが、=0 for all v ∈ V、all u ∈ U を満たすとき、2つの部分空間は直交するという。
(3)部分空間Vとその補空間Uが直交するとき、UをVの直交補空間(orthogonal complement)といい、Vと表記する。
上記定義に基づいて下記命題(4)−(5)が成立する。
(4)線形独立なm(<n)個のベクトル{y i=1と直交するベクトル集合α={x∈R|y x=y x=・・・=y x=0}は、n−m次元部分空間である。
(5)非直交基底{u∈R i=1からm個選択された基底ベクトルによって張られる部分空間V=<u、u、・・・、u>の直交補空間は、その双直交基底{v∈R i=1によって、V=<vm+1、vm+2、・・・、v>で表される。
Here, first, the above-described orthogonal complement space will be described in detail. The orthogonal complementary space is defined as (1)-(3) below.
(1) When the vectors included in the bases {v i } k i = 1 and {u} m i = 1 of the two subspaces V and U are linearly independent, the base {v i εR n } k i = 1 The subspace spanned by ∪ is called the direct sum of V and U, and is expressed as U (+) V. Hereinafter, + is described as (+) in ○. In particular, when R n = R k + m = V (+) U holds, U is referred to as a V complement space.
(2) a subspace V⊂R n and subspace U⊂R n is, v T u = 0 for all v ∈ V, when satisfying all u ∈ U, 2 two subspace that is orthogonal.
(3) When the subspace V and its complement space U are orthogonal, U is referred to as an orthogonal complement space of V and denoted as V .
The following propositions (4) to (5) are established based on the above definition.
(4) Vector set α = {xεR n | y T 1 x = y T 2 x =... = Y orthogonal to m (<n) linearly independent vectors {y i } m i = 1 T m x = 0} is an nm dimension subspace.
(5) Non-orthogonal basis {u i ∈ R n } n i = 1 orthogonal subspace of subspace V = <u 1 , u 2 ,..., U m > spanned by m basis vectors selected from 1 by its biorthogonal basis {v i ∈R n} n i = 1, V ⊥ = <v m + 1, v m + 2, ···, v n> represented by.

上記命題を簡略して説明すると、C∈Rmk×nxの直交補空間C ∈Rnx×(nx−mk)とは、n×nの線形空間のうち、Cの残りの空間(補空間)でCに直交する空間である。この直交補空間を用いて上記(14)式のLQ最適化問題を変換することで、図13に示す如く、等式制約条件Cx=d上に存在するxを、Cに平行なベクトルζと直交しCに終端する定数ベクトルσで表すことができる。換言すると、直交補空間を用いて、xをζに変数変換することで、ζをどのように動かしても必ず等式制約条件Cx=dは満たされることとなる。このため、この等式制約条件を考慮することなく無制約条件でLQ最適化問題を求解できる。 By way simply the proposition, C k The ∈R mk × nx orthogonal complement C k ∈R nx × of (nx-mk), among the linear space of n x × n x, the remaining C k in space (complement) of a space orthogonal to C k. By converting the (14) equation LQ optimization problem using the orthogonal complement, as shown in FIG. 13, the x present on equality constraints C k x = d k, parallel to the C k Can be represented by a constant vector σ that is orthogonal to the vector ζ and terminates at C k . In other words, the equation constraint condition C k x = d k is always satisfied by changing the variable x to ζ using the orthogonal complement space, no matter how ζ is moved. Therefore, the LQ optimization problem can be solved under unconstrained conditions without considering this equality constraint condition.

次に、上述した直交補空間を用いた変換方法(以下、直交補空間変換と称す)について詳細に説明する。
本実施形態において、例えば、下記(15)式に示すQR分解(直交行列Qと上三角形行列Rの積に分解)を用いて直交補空間変換を行うことができる。

Figure 2016198873
Next, a conversion method using the above-described orthogonal complementary space (hereinafter referred to as orthogonal complementary space conversion) will be described in detail.
In the present embodiment, for example, orthogonal complementary space transformation can be performed using QR decomposition (decomposition into the product of the orthogonal matrix Q and the upper triangular matrix R) shown in the following equation (15).
Figure 2016198873

以上から、等式制約条件付きLQ最適化問題を直交補空間に投影することで、直交補空間変換を行い無制約条件のLQ最適化問題を次のように導出する。
まず、等式制約条件を示す上記(13)式(Cx[k]=d)をQR分解することで、状態変数xの変換式である下記(16)式が導出される。

Figure 2016198873
From the above, by projecting the LQ optimization problem with equality constraints onto the orthogonal complement space, the orthogonal complement space transformation is performed and the unconstrained LQ optimization problem is derived as follows.
First, the following equation (16), which is a conversion equation for the state variable x, is derived by performing QR decomposition on the above equation (13) (C k x [k] = d k ) indicating the equality constraint condition.
Figure 2016198873

次に上記状態方程式(8)式の左からCk+1を掛けると下記(17)式が導出される。
k+1x[k+1]=Ck+1Ax[k]+Ck+1Bu[k] ・・・(17)
さらに、上記(17)式に上記(13)式を代入して下記(18)式を導出する。
k+1Ax[k]+Ck+1Bu[k]=dk+1 ・・・(18)
(k=0、1、・・・、N−1)
Next, when the state equation (8) is multiplied by C k + 1 from the left, the following equation (17) is derived.
C k + 1 x [k + 1] = C k + 1 Ax [k] + C k + 1 Bu [k] (17)
Further, the following equation (18) is derived by substituting the above equation (13) into the above equation (17).
C k + 1 Ax [k] + C k + 1 Bu [k] = d k + 1 (18)
(K = 0, 1, ..., N-1)

上記変換と同様に、Ck+1Bの直交補空間を用いて変数変換を行う。
k+1Bを下記(19)式に示すようにQR分解する。

Figure 2016198873
Similar to the above transformation, variable transformation is performed using an orthogonal complementary space of C k + 1 B.
QR decomposition is performed on C k + 1 B as shown in the following equation (19).
Figure 2016198873

上記(19)式を用いて上記(18)式を変換し(QR分解を行い)、入力uの変換式である下記(20)式を導出する。

Figure 2016198873
但し、上記(20)式における各パラメータを下記(21)式に示すように設定する。
Figure 2016198873
k=0のときは、上記(20)式における各パラメータを下記(22)式に示すように設定する。
Figure 2016198873
The above equation (18) is converted using the above equation (19) (QR decomposition is performed), and the following equation (20), which is a conversion equation for the input u, is derived.
Figure 2016198873
However, each parameter in the above equation (20) is set as shown in the following equation (21).
Figure 2016198873
When k = 0, each parameter in the above equation (20) is set as shown in the following equation (22).
Figure 2016198873

上記(16)式の左からD を掛けて下記(23)式を導出する。

Figure 2016198873
但し、上記(23)式において、正規直交性から下記(24)式が成立する。
Figure 2016198873
The following equation (23) is derived by multiplying D T k from the left of the above equation (16).
Figure 2016198873
However, in the above equation (23), the following equation (24) is established from orthonormality.
Figure 2016198873

以上より、上記(8)式を上記(16)式、(20)式、及び(23)式を用いて変形し、状態方程式の変換式である下記(25)式を導出する。

Figure 2016198873
但し、上記(25)式における各パラメータを下記(26)式に示すように設定する。
Figure 2016198873
k=0のときは、上記(25)式における各パラメータを下記(27)式に示すように設定する。
Figure 2016198873
From the above, the above equation (8) is transformed using the above equations (16), (20), and (23), and the following equation (25), which is a conversion equation of the state equation, is derived.
Figure 2016198873
However, each parameter in the above equation (25) is set as shown in the following equation (26).
Figure 2016198873
When k = 0, each parameter in the above equation (25) is set as shown in the following equation (27).
Figure 2016198873

また、上記(16)式及び(20)式を用いて、上記(12)式に示す評価関数JのΣの項は、下記(28)式に示すように変形できる。

Figure 2016198873
但し、k=0のときは、下記(29)式が成立する。
Figure 2016198873
また、k=Nのときは、下記(30)式が成立する。
Figure 2016198873
In addition, using the above equations (16) and (20), the Σ term of the evaluation function J shown in the above equation (12) can be modified as shown in the following equation (28).
Figure 2016198873
However, when k = 0, the following equation (29) is established.
Figure 2016198873
When k = N, the following equation (30) is established.
Figure 2016198873

上記(16)式及び(20)式を用いて上記(12)式に示す評価関数Jを変形し、評価関数の変換式である下記(31)式を導出する。

Figure 2016198873
但し、上記(31)式における各パラメータを下記(32)式に示すように設定する。
Figure 2016198873
The evaluation function J shown in the above equation (12) is transformed using the above equations (16) and (20), and the following equation (31), which is a conversion equation of the evaluation function, is derived.
Figure 2016198873
However, each parameter in the above equation (31) is set as shown in the following equation (32).
Figure 2016198873

以上のように、等式制約条件付きLQ最適化問題に対して直交補空間変換を行い、下記(33)式に示す無制約条件のLQ最適化問題を導出できる。すなわち、直交補空間変換を行うことで、上記(14)式に示す等式制約条件付きLQ最適化問題を、下記(33)式に示す無制約条件のLQ最適化問題に変換できる。本実施形態に係る軌道生成部222は、下記(33)式に示す無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて最適解を高速に求解できる。

Figure 2016198873
As described above, the orthogonal complementary space transformation is performed on the LQ optimization problem with equality constraints, and the unconstrained LQ optimization problem expressed by the following equation (33) can be derived. That is, by performing orthogonal complementary space transformation, the LQ optimization problem with equality constraints shown in the above equation (14) can be converted into an unconstrained LQ optimization problem shown in the following equation (33). The trajectory generation unit 222 according to the present embodiment can find an optimal solution for the unconstrained LQ optimization problem expressed by the following equation (33) at high speed using the Riccati-type recursive calculation method.
Figure 2016198873

次に、上記直交補空間変換により変換した無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて求解する方法を説明する。
まず、上記(33)式を行列表現すると、下記(34)式及び(35)式のように表現できる。

Figure 2016198873
Next, a method for solving the unconstrained LQ optimization problem converted by the orthogonal complementary space transform using the Riccati-type recursive calculation method will be described.
First, when the above equation (33) is expressed as a matrix, it can be expressed as the following equations (34) and (35).
Figure 2016198873

上記(34)式及び(35)式の最適解条件(KKT条件)は、下記(36)式となる。但し、下記(37)式は、上記(35)式のラグランジュ乗数である。

Figure 2016198873
The optimum solution condition (KKT condition) of the above equations (34) and (35) is the following equation (36). However, the following equation (37) is a Lagrange multiplier of the above equation (35).
Figure 2016198873

軌道生成部222は、上記(36)式に示す式に対して、次のように、再帰的計算を行うことで、上記無制約条件のLQ最適化問題を高速かつ安定的に求解する。
まず、軌道生成部222は、上記(36)式の行列内の各パラメータの順番を入れ替えることで、下記(38)式のように表現する。

Figure 2016198873
The trajectory generation unit 222 solves the unconstrained LQ optimization problem at high speed and stably by performing recursive calculation on the expression shown in the above expression (36) as follows.
First, the trajectory generation unit 222 represents the following equation (38) by changing the order of the parameters in the matrix of the equation (36).
Figure 2016198873

そして、軌道生成部222は、上記(38)式に対して、下記(39)式に示す再帰計算を繰り返す。

Figure 2016198873
Then, the trajectory generation unit 222 repeats the recursive calculation shown in the following equation (39) with respect to the above equation (38).
Figure 2016198873

上記再帰計算を繰り返すことで、上記(38)式は、下記(40)式のように変形される。

Figure 2016198873
By repeating the recursive calculation, the equation (38) is transformed into the following equation (40).
Figure 2016198873

さらに、軌道生成部222は、上記(40)式に対して、下記(41)式に示す再帰計算を行うことで、上記(33)式に示すLQ最適化問題の最適解ζを高速で求解する。

Figure 2016198873
Furthermore, the trajectory generation unit 222 performs a recursive calculation shown in the following equation (41) on the above equation (40), thereby obtaining the optimum solution ζ of the LQ optimization problem shown in the above equation (33) at high speed. To do.
Figure 2016198873

最後に、軌道生成部222は、上記求解した最適解ζと、上記(16)式及び(20)式(下記2式)と、を用いて、上記(14)式に示す等式制約条件付きLQ最適化問題のパラメータを復元し、x[k]及びu[k]を算出する。
x[k]=Dζ[k]+e
u[k]=Nζ[k]+Mv[k]+l
Finally, the trajectory generation unit 222 uses the calculated optimal solution ζ and the above-described equations (16) and (20) (the following two equations) with the equation constraint condition shown in the above-mentioned equation (14). The parameters of the LQ optimization problem are restored, and x [k] and u [k] are calculated.
x [k] = D k ζ [k] + e k
u [k] = N k ζ [k] + M k v [k] + l k

軌道生成部222は、算出したx[k](重心Gのx座標、重心Gのx軸方向速度、重心Gのy座標、重心Gのy軸方向速度、および、各接触点における接触力(6軸力) )の時系列データに基づいて、重心軌道を生成する。このようにして、予測区間内において、等式制約条件を満たし、かつ評価関数Jを最小化する重心軌道が高速に生成される。すなわち、予測区間内において移動ロボットの安定な移動を実現する重心軌道を高速に生成することができる。   The trajectory generation unit 222 calculates the calculated x [k] (the x coordinate of the center of gravity G, the x-axis direction speed of the center of gravity G, the y-coordinate of the center of gravity G, the y-axis direction speed of the center of gravity G, and the contact force at each contact point ( A center-of-gravity trajectory is generated based on time-series data of 6-axis force))). In this way, the center-of-gravity trajectory that satisfies the equality constraint condition and minimizes the evaluation function J is generated at high speed within the prediction interval. That is, it is possible to generate a center-of-gravity trajectory that realizes stable movement of the mobile robot within the prediction interval at high speed.

図14は、上述した直交補空間変換を行った上記(33)式に示す無制約条件のLQ最適化問題に変換する際のフローを示す図である。
等式制約条件の上記(13)式に対してQR分解を行って、状態変数の変換式である上記(16)式が導出される(ステップS101)。
FIG. 14 is a diagram showing a flow when converting to the unconstrained LQ optimization problem shown in the above equation (33), which is obtained by performing the above-described orthogonal complementary space conversion.
QR decomposition is performed on the above equation (13) of the equation constraint, and the above equation (16), which is a state variable conversion equation, is derived (step S101).

上記入力(接触力(6軸力)の微分値)uと重心の状態変数xとの関係を示す状態方程式(8)式から導出した(18)式に対してQR分解を行って、入力uの変換式である上記(20)式が導出される(ステップS102)。   QR decomposition is performed on the equation (18) derived from the equation of state (8) indicating the relationship between the input (differential value of the contact force (6-axis force)) u and the state variable x of the center of gravity, and the input u The above equation (20) which is a conversion equation is derived (step S102).

状態方程式(8)式を、導出された状態変数xの変換式(16)式、入力uの変換式(20)式、及び、状態変数xの変換式(16)式から導出した(23)式を用いて変形し、状態方程式の変換式である(25)式が導出される(ステップS103)。   The state equation (8) is derived from the derived equation (16) for the state variable x, equation (20) for the input u, and equation (16) for the state variable x (23). The equation (25), which is a transformation equation of the state equation, is derived using the equation (step S103).

上記導出した状態変数xの変換式(16)式と、入力uの変換式(20)式に基づいて、上記(12)式に示す評価関数を変形し、評価関数の変換式である上記(31)式が導出される(ステップS104)。変換後の無制約条件のLQ最適化問題は、上述の如く、上記導出された評価関数の変換式(31)式と、状態方程式の変換式(25)式と、を含むこととなる。   Based on the derived conversion equation (16) of the state variable x and the conversion equation (20) of the input u, the evaluation function shown in the above equation (12) is modified to convert the evaluation function ( 31) is derived (step S104). As described above, the unconstrained LQ optimization problem after conversion includes the equation (31) for the derived evaluation function and the equation (25) for the state equation.

図15は、本実施形態に係る最適制御装置による最適制御方法を示すフローチャートである。
接触点計画設定部221は接触点計画(等式制約条件のC及びd)を設定する(ステップS201)。
FIG. 15 is a flowchart showing an optimal control method by the optimal control apparatus according to the present embodiment.
The contact point plan setting unit 221 sets a contact point plan (equals constraint conditions C k and d k ) (step S201).

軌道生成部222は、接触点計画設定部221により設定された接触点計画に基づいて、上記(33)式のLQ最適化問題を行列表現し、その最適解条件に対して再帰的計算を行うことで、LQ最適化問題の最適解ζを求解する(ステップS202)。   Based on the contact point plan set by the contact point plan setting unit 221, the trajectory generation unit 222 represents the LQ optimization problem of the above equation (33) as a matrix and performs recursive calculation on the optimal solution condition. Thus, the optimum solution ζ of the LQ optimization problem is obtained (step S202).

軌道生成部222は、求解した最適解ζと、上記(16)式及び(20)式と、を用いて、上記(14)式に示す等式制約条件付きLQ最適化問題のパラメータを復元し、重心の状態変数x[k]及び入力u[k]を算出する(ステップS203)。
軌道生成部222は、算出したx[k]の時系列データに基づいて、重心軌道を生成する(ステップS204)。
The trajectory generation unit 222 restores the parameters of the LQ optimization problem with the equation constraint shown in the above equation (14) using the obtained optimal solution ζ and the above equations (16) and (20). The state variable x [k] and the input u [k] of the center of gravity are calculated (step S203).
The trajectory generation unit 222 generates a gravity center trajectory based on the calculated time series data of x [k] (step S204).

動作制御部223は、軌道生成部222により生成された重心軌道に従って移動ロボット100の全身動作させるように、各関節のモータ1a〜24aを制御する(ステップS205)。   The motion control unit 223 controls the motors 1a to 24a of the respective joints so that the mobile robot 100 operates in the whole body according to the gravity center trajectory generated by the trajectory generation unit 222 (step S205).

以上、本実施形態において、軌道生成部222は、等式制約条件付き最適化問題を直交補空間を用いて変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて重心の状態変数を算出し、算出した重心の状態変数に基づいて重心軌道を生成する。これにより、モデル予測制御において最適化問題の最適解を高速に求解し重心軌道を生成できる。   As described above, in the present embodiment, the trajectory generation unit 222 solves the unconstrained optimization problem obtained by converting the optimization problem with equality constraints using the orthogonal complement space, and finds the optimal solution using the recursive calculation method. Then, a state variable of the center of gravity is calculated based on the obtained optimum solution, and a center of gravity trajectory is generated based on the calculated state variable of the center of gravity. As a result, the optimal solution of the optimization problem can be obtained at high speed in model predictive control, and the center of gravity trajectory can be generated.

(第2実施形態)
本実施形態において、軌道生成部222は、上記等式制約条件に加えて不等式制約条件を加えたLQ最適化問題を求解する。ここで、接触点の安定性の拘束を示す不等式制約条件について説明する。
(Second Embodiment)
In this embodiment, the trajectory generation unit 222 finds an LQ optimization problem in which an inequality constraint is added to the above equation constraint. Here, the inequality constraint condition indicating the constraint on the stability of the contact point will be described.

移動ロボットの接触点が安定して接触を保つ為の不等式制約条件を導入する。
図16に接触点の座標系(上添え字l(エル)がついている)と、接触多角形(接触点の支持多角形)と、を示した。
Introducing inequality constraints to keep the contact points of mobile robots stable.
FIG. 16 shows the coordinate system of the contact point (with the superscript l (el)) and the contact polygon (support polygon of the contact point).

接触点の座標系は、接触点を原点とし、かつ、接触面の姿勢rに合わせて定義されているとする。
ここで、接触点の座標系で定義される接触力(6軸力)θ を次のように表わす。
θ =[fix 、fiy 、fiz 、τix 、τiy 、τiz
Coordinate system of the touch point, the contact point as the origin, and a are defined in accordance with the orientation r i of the contact surface.
Here, the contact force (six-axis force) θ i l defined in the coordinate system of the contact point is expressed as follows.
θ i l = [f ix l , f iy l, f iz l, τ ix l, τ iy l, τ iz l] T

すると、接触力(6軸力)θ は、接触面の姿勢行列Φ=rot(r)を用いて下記(42)式のように表現できる。
なお、rotは、オイラー角を姿勢行列に変換する関数である。

Figure 2016198873
Then, the contact force (six-axis force) θ i l can be expressed by the following equation (42) using the contact surface posture matrix Φ i = rot (r i ).
Note that rot is a function that converts Euler angles into a posture matrix.
Figure 2016198873

接触点が安定して接触を保つ為には、
(1)接触点が離れないこと、
(2)接触点が滑らないこと、
(3)接触点が剥がれないこと、
という3つの制約条件を満たす必要がある。
上記3つの制約条件が理解しやすいように、図17に、接触点が不安定化する場合を例示した。
In order for the contact point to maintain stable contact,
(1) The contact point must not be separated,
(2) The contact point does not slip,
(3) The contact point does not peel off,
It is necessary to satisfy the following three constraint conditions.
In order to facilitate understanding of the above three constraints, FIG. 17 illustrates a case where the contact point becomes unstable.

(1)接触点が離れない為には、接触面の鉛直力が正であれば良い。即ち、下記(43)式を満たす必要がある。

Figure 2016198873
(1) In order not to leave the contact point, the vertical force on the contact surface may be positive. That is, it is necessary to satisfy the following formula (43).
Figure 2016198873

(2)接触点が滑らない為には、接触面に平行な2軸力が摩擦力以下であれば良い。即ち下記(44)式がその条件である。ただし接触面の摩擦係数をμとする。

Figure 2016198873
(2) To prevent the contact point from slipping, the biaxial force parallel to the contact surface may be equal to or less than the friction force. That is, the following equation (44) is the condition. However, the friction coefficient of the contact surface is μ i .
Figure 2016198873

(3)接触点が剥がれない為の条件は、接触多角形のh個の頂点座標
(xi1 , yi1 ),・・・・・(xih , yih
を用いて下記(45)式のように表される。
(ただし接触多角形の頂点は反時計回りに順に与えられているとする)。

Figure 2016198873
(3) The condition for the contact point not to be peeled off is that the vertex coordinates (x i1 l , y i1 l ) of the contact polygon (x ih l , y ih l )
Is expressed as the following equation (45).
(However, the vertices of the contact polygon are given in order counterclockwise).
Figure 2016198873

以上、(43)、(44)、(45)式をまとめると次のようになる。

Figure 2016198873
The expressions (43), (44), and (45) are summarized as follows.
Figure 2016198873

(46)式に(42)式を代入し、k番目のサンプリング点としてインデックスを付け加える。すなわち、下記(47)式は、k番目の接触点が安定な接触を維持するための条件式である。したがって、安定な多点接触動作を実現するためには、全サンプリング点の全接触点において下記(47)式が成立する必要がある。

Figure 2016198873
Substituting equation (42) into equation (46), an index is added as the kth sampling point. That is, the following expression (47) is a conditional expression for maintaining a stable contact at the k-th contact point. Therefore, in order to realize a stable multipoint contact operation, the following equation (47) needs to be satisfied at all contact points of all sampling points.
Figure 2016198873

k番目のサンプリング点において全接触点が上記(47)式を満足する為の条件は、下記(48)式のように表現できる。

Figure 2016198873
The condition for all the contact points to satisfy the equation (47) at the k-th sampling point can be expressed as the following equation (48).
Figure 2016198873

(不等式制約条件)
(Px[x]≦q)・・・(49)
なお、上記不等式制約条件の一般式(49)式の右辺qをq=Oと置けば、上記導出した(48)式と一致する。上記(14)式に示す等式制約条件付きLQ最適化問題に上記(48)を加えることで、下記(50)式に示す等式制約条件及び不等式制約条件付きLQ最適化問題が導出される。

Figure 2016198873
(Inequality constraints)
(P k x [x] ≦ q k ) (49)
If the right side q k of the general formula (49) of the inequality constraint condition is set as q k = O, it matches the derived formula (48). By adding the above (48) to the LQ optimization problem with equality constraints shown in the above equation (14), the LQ optimization problem with equality constraints and inequality constraints shown in the following equation (50) is derived. .
Figure 2016198873

本実施形態において、上記実施形態1で行った直交補空間変換に加えて、さらに、上記(49)式に示す不等式制約条件の変換を行う。具体的には、上記(16)式を上記(49)式に代入することで、下記(51)式を導出する。

Figure 2016198873
In the present embodiment, in addition to the orthogonal complementary space transformation performed in the first embodiment, the inequality constraint condition shown in the above equation (49) is further transformed. Specifically, the following equation (51) is derived by substituting the above equation (16) into the above equation (49).
Figure 2016198873

以上から、本実施形態において、直交補空間変換を行うことで、上記(50)式に示す等式制約条件及び不等式制約条件付きLQ最適化問題を、下記(52)式に示す無制約条件のLQ最適化問題に変換できる。本実施形態に係る軌道生成部222は、下記(52)式に示す無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて最適解を求解する。

Figure 2016198873
From the above, in the present embodiment, by performing orthogonal complementary space transformation, the LQ optimization problem with the equality constraint condition and the inequality constraint condition shown in the above equation (50) can be solved by the unconstraint condition shown in the following equation (52). It can be converted into an LQ optimization problem. The trajectory generation unit 222 according to the present embodiment finds an optimal solution for the unconstrained LQ optimization problem expressed by the following equation (52) using the Riccati-type recursive calculation method.
Figure 2016198873

次に、上記直交補空間変換により変換した無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて求解する方法を説明する。
まず、上記実施形態1と同様に、上記(52)式を行列表現すると、下記(53)式乃至(55)式のように表現できる。

Figure 2016198873
Next, a method for solving the unconstrained LQ optimization problem converted by the orthogonal complementary space transform using the Riccati-type recursive calculation method will be described.
First, as in the first embodiment, when the above equation (52) is expressed in a matrix, it can be expressed as the following equations (53) to (55).
Figure 2016198873

下記(56)式に示す、上記(54)式及び(55)式のラグランジュ乗数を導入する。

Figure 2016198873
The Lagrange multipliers of the above equations (54) and (55) shown in the following equation (56) are introduced.
Figure 2016198873

続いて、下記(57)式に示すように、上記(55)式にスラック変数を導入する。

Figure 2016198873
Subsequently, as shown in the following formula (57), slack variables are introduced into the formula (55).
Figure 2016198873

上記(56)式及び(57)式の導入により、上記(53)式乃至(55)式に示すLQ最適化問題の最適解条件(KKT)は、下記(58)式で表現できる。

Figure 2016198873
By introducing the above formulas (56) and (57), the optimal solution condition (KKT) for the LQ optimization problem shown in the above formulas (53) to (55) can be expressed by the following formula (58).
Figure 2016198873

上記(53)式乃至(55)式は、凸2次計画問題と称されるLQ最適化問題であり。内点法やアクティブセット法などの既知の求解法(収束演算)を用いて効率的に求解できる。これら求解法はニュートン法をベースにした求解法であり、ニュートン法の収束演算中でニュートンの方向計算を行い、リカッチ型再帰的計算法による連立一次方程式の求解を行うこととなる。また、凸2次計画問題の計算量の大部分は、この連立一方程式の計算が占めているため、この計算の高速化が非常に有効となる。   The above formulas (53) to (55) are LQ optimization problems called convex quadratic programming problems. An efficient solution can be obtained by using a known solution method (convergence calculation) such as an interior point method or an active set method. These solution methods are solution methods based on the Newton method, in which Newton's direction is calculated during the convergence operation of the Newton method, and simultaneous linear equations are solved by the Riccati-type recursive calculation method. Further, since the calculation of the simultaneous one equation accounts for most of the calculation amount of the convex quadratic programming problem, it is very effective to speed up the calculation.

上述の如く、直交補空間変換を行うことで、上記(50)式に示す等式制約条件及び不等式制約条件付きLQ最適化問題を、上記(52)式に示す無制約条件のLQ最適化問題に変換する。これにより、このLQ最適化問題の連立一次方程式の求解に、安定かつ高速のリカッチ型再帰的計算法を用いることができる。したがって、LQ最適化問題の最適解を高速に求解できる。   As described above, by performing orthogonal complementary space transformation, the LQ optimization problem with equality and inequality constraints shown in the above equation (50) is changed into the unconstrained LQ optimization problem shown in the above equation (52). Convert to As a result, a stable and high-speed Riccati-type recursive calculation method can be used to solve the simultaneous linear equations of the LQ optimization problem. Therefore, the optimal solution of the LQ optimization problem can be obtained at high speed.

本実施形態において、軌道生成部222は、リカッチ型再帰的計算法による連立一次方程式の求解を、例えば、内点法やアクティブセット法などの収束演算の中で行う。以下、本実施形態において、内点法を用いた求解法を説明するがこれに限定されない。アクティブセット法を用いた求解法も、内点法と同様の手法で求解できる。   In the present embodiment, the trajectory generation unit 222 performs the solution of the simultaneous linear equations by the Riccati-type recursive calculation method in, for example, a convergence operation such as an interior point method or an active set method. Hereinafter, in the present embodiment, a solution method using the interior point method will be described, but the present invention is not limited to this. The solution method using the active set method can also be solved by the same method as the interior point method.

内点法は、上記(58)式をニュートン法とラインサーチにより効率的に解くことにより、最適解を求解する手法である。なお、本実施形態においては、内点法の中で、最もスタンダードな主双対内点法を用いる場合について説明するが、これに限定されない。   The interior point method is a method for finding an optimal solution by efficiently solving the above equation (58) by Newton's method and line search. In the present embodiment, the case of using the most standard principal dual interior point method among interior point methods will be described, but the present invention is not limited to this.

まず、上記(58)式にニュートン法を適用すると、下記(59)式及び(60)式が導出される。但し、下記(60)式において、(○の中に×)は要素同志の積を意味し、Λ≒diag(λ)、Z≒diag(z)とする。

Figure 2016198873
First, when the Newton method is applied to the above equation (58), the following equations (59) and (60) are derived. However, in the following equation (60), (× in ○) means a product of elements, and Λ≈diag (λ) and Z≈diag (z).
Figure 2016198873

次に、下記(61)式及び(62)式に示すようにcomplementary measure μとステップ幅αを導入する。

Figure 2016198873
Then it introduced Complementary its measure mu and step size alpha p as shown in the following (61) and (62) below.
Figure 2016198873

ここで、complementary measure μは収束演算の残差の総計、ステップ幅αはλ≧0、z≧0を満足する範囲でニュートン方向への最大のスッテップ幅を求めていると理解すると分かり易い。 Here, it is easy to understand that complementary measure μ is the total of the residuals of the convergence calculation, and step width α p is the maximum step width in the Newton direction within a range satisfying λ ≧ 0 and z ≧ 0.

なお、主双対内点法のアルゴリズムを簡略して記載すると以下のようになる。

Figure 2016198873
The algorithm for the principal dual interior point method is simply described as follows.
Figure 2016198873

軌道生成部222は、上記主双対内点法を用いて収束演算を行い、最適解ζを求解する。軌道生成部222は、上記実施形態1と同様に、上記求解した最適解ζと、上記(16)式及び(20)式と、を用いて、上記(50)式に示す等式制約条件及び不等式条件付きLQ最適化問題のパラメータを復元し、その最適解であるx[k]及びu[k]を得る。   The trajectory generation unit 222 performs a convergence operation using the main dual interior point method to find an optimal solution ζ. Similar to the first embodiment, the trajectory generating unit 222 uses the calculated optimal solution ζ and the above equations (16) and (20), and the equation constraints and The parameters of the inequality conditional LQ optimization problem are restored, and the optimal solutions x [k] and u [k] are obtained.

ここで、主双対内点法のアルゴリズム内に示した上記(59)式の求解について詳細に説明する。まず、下記(63)式が成立する。

Figure 2016198873
Here, the solution of the equation (59) shown in the algorithm of the main dual interior point method will be described in detail. First, the following equation (63) is established.
Figure 2016198873

上記(63)式を用いて、上記(59)式は、下記(64)式のように表現できる。

Figure 2016198873
Using the above equation (63), the above equation (59) can be expressed as the following equation (64).
Figure 2016198873

ここで、Θ≒Z−1Λ及びr′≒r−Z−1λと置くと、上記(64)式は、下記(65)式のように表現できる。

Figure 2016198873
さらに、上記行列(65)式の各係数を並べ替えると、下記(66)式のように表現できる。
Figure 2016198873
Here, when Θ≈Z −1 Λ and r z ′ ≈r z −Z −1 r λ , the above expression (64) can be expressed as the following expression (65).
Figure 2016198873
Further, by rearranging the coefficients of the matrix (65), the coefficients can be expressed as the following (66).
Figure 2016198873

ここで、下記(67)式が成立する。

Figure 2016198873
Here, the following equation (67) is established.
Figure 2016198873

上記(67)式を用いて、上記(66)式は、下記(68)式のように表現できる。

Figure 2016198873
但し、上記(68)式において、パラメータを下記(69)式のように設定している。
Figure 2016198873
Using the above expression (67), the above expression (66) can be expressed as the following expression (68).
Figure 2016198873
However, in the above equation (68), the parameters are set as in the following equation (69).
Figure 2016198873

上記(68)式は、上述した実施形態1のリカッチ型再帰的計算法で示した(38)式と同様の形となっている。したがって、軌道生成部222は、上記(68)式に示す連立1次方程式についても、上記実施形態1と同様に、リカッチ型再帰的計算法を用いて高速かつ安定的に求解できる。   The above equation (68) has the same form as the equation (38) shown in the Riccati-type recursive calculation method of the first embodiment described above. Therefore, the trajectory generating unit 222 can solve the simultaneous linear equations shown in the above equation (68) at high speed and stably using the Riccati-type recursive calculation method as in the first embodiment.

すなわち、軌道生成部222は、上記(68)式に対して、下記(70)式に示す再帰計算を繰り返す。

Figure 2016198873
That is, the trajectory generation unit 222 repeats the recursive calculation shown in the following equation (70) with respect to the above equation (68).
Figure 2016198873

さらに、軌道生成部222は、下記(71)式に示す再帰計算を行うことで、(Δv、Δζ、Δy)を算出する。

Figure 2016198873
軌道生成部222は、算出したΔζを上記(67)式に代入することで、Δzを算出する。軌道生成部222は、算出したΔz=[Δz 、Δz 、・・・Δz ]を上記(63)式に代入することで、Δλを算出する。以上により、上記(59)式の求解が完了する。 Further, the trajectory generation unit 222 calculates (Δv k , Δζ k , Δy k ) by performing a recursive calculation shown in the following equation (71).
Figure 2016198873
The trajectory generation unit 222 calculates Δz k by substituting the calculated Δζ k into the above equation (67). The trajectory generation unit 222 calculates Δλ by substituting the calculated Δz k = [Δz 1 T , Δz 2 T ,... Δz N T ] T into the equation (63). Thus, the solution of the above equation (59) is completed.

図18は、上述した等式制約条件及び不等式制約条件付きLQ最適化問題の最適解の求解フローを示すフローチャートである。
まず、軌道生成部222は、解ベクトルの初期解(η=η、y=y、z=z、λ=λ)を行う(ステップS301)。
FIG. 18 is a flowchart showing a solution flow of an optimal solution of the LQ optimization problem with equality constraints and inequality constraints described above.
First, the trajectory generation unit 222 performs an initial solution (η = η 0 , y = y 0 , z = z 0 , λ = λ 0 ) of the solution vector (step S301).

軌道生成部222は、繰返パラメータn=0を設定する(ステップS302)。
軌道生成部222は、上記(60)式を用いて、残差[rη、r、r、rλ]を算出する(ステップS303)。
The trajectory generation unit 222 sets the repetition parameter n = 0 (step S302).
The trajectory generation unit 222 calculates residuals [r η , r y , r z , r λ ] using the above equation (60) (step S303).

軌道生成部222は、リカッチ型再帰的計算法によるニュートン方向[Δη、Δy、Δz、Δλ]の計算を行う(ステップS304)。
軌道生成部222は、上記(62)式を用いて、ステップ幅αを算出する(ステップS305)。
The trajectory generation unit 222 calculates the Newton directions [Δη, Δy, Δz, Δλ] by the Riccati-type recursive calculation method (step S304).
The trajectory generation unit 222 calculates the step width α p using the above equation (62) (step S305).

軌道生成部222は、上記算出したニュートン方向[Δη、Δy、Δz、Δλ]とステップ幅αとに基づいて、下記式を用いて解ベクトルの更新を行う(ステップS306)。
[η、y、z、λ]=[η、y、z、λ]+βα[Δη、Δy、Δz、Δλ]
Trajectory generation unit 222, the calculated Newtonian direction [Δη, Δy, Δz, Δλ ] and based on the step size alpha p, and updates the solution vector using the following equation (step S306).
[Η, y, z, λ] = [η, y, z, λ] + βα p [Δη, Δy, Δz, Δλ]

軌道生成部222は、上記(61)式を用いて、complementary measure μを算出する(ステップS307)。
軌道生成部222は、条件(μ>μmin and n<nmax)を満足するか否かを判定する(ステップS308)。
The trajectory generation unit 222 calculates complementary measure μ using the above equation (61) (step S307).
The trajectory generation unit 222 determines whether or not the condition (μ> μ min and n <n max ) is satisfied (step S308).

軌道生成部222は、条件(μ>μmin and n<nmax)を満足すると判定したとき( ステップS308のYES)、n=n+1を設定し、上記(ステップS303)の処理に戻る。 When the trajectory generation unit 222 determines that the conditions (μ> μ min and n <n max ) are satisfied (YES in step S308), n = n + 1 is set, and the process returns to the above (step S303).

軌道生成部222は、条件(μ>μmin and n<nmax)を満足しないと判定したとき(ステップS308のNO)、上記収束したときのηに基づいて、上記(53)乃至(55)式からの最適解ζを算出する。そして、軌道生成部222は、この最適解ζと、上記(16)式及び(20)式と、を用いて、上記(52)式に示す等式制約条件及び不等式制約条件付きLQ最適化問題のパラメータを復元し、x[k]及びu[k]を算出する(ステップS309)。 When the trajectory generation unit 222 determines that the conditions (μ> μ min and n <n max ) are not satisfied (NO in step S308), the trajectory generation unit 222 performs the above (53) to (55) based on η when converged The optimal solution ζ is calculated from the equation. Then, the trajectory generation unit 222 uses this optimal solution ζ and the above equations (16) and (20) to solve the LQ optimization problem with the equality and inequality constraints shown in the above equation (52). Are restored, and x [k] and u [k] are calculated (step S309).

(第3実施形態)
上記実施形態1に係る軌道生成部222は、線形不変な等式制約条件付き最適化問題を求解しているが、本実施形態3に係る軌道生成部222は、線形時変な等式制約条件付き最適化問題を求解する。
(Third embodiment)
The trajectory generation unit 222 according to the first embodiment solves an optimization problem with linear invariant equality constraints, but the trajectory generation unit 222 according to the third embodiment has linear time-varying equality constraints. Solve a problem with optimization.

例えば、サンプリング間隔が変化するような場合を考えると、Δtは固定ではなく、Δtのようにサンプリング点毎に変化することとなる。この場合、上記(8)式は、下記(72)式のように線形時変の制御システムとして表現できる。

Figure 2016198873
For example, considering the case where the sampling interval is such as to change, Delta] t is not fixed, so that the changes for each sampling point as Delta] t k. In this case, the above equation (8) can be expressed as a linear time-varying control system as the following equation (72).
Figure 2016198873

ここで、線形時変の最適化問題の状態方程式は、例えば、下記(73)式に示す関係が成立する。すなわち、(73)式に示す状態方程式は、線形時変の制御パラメータA、Bを含むこととなる。

Figure 2016198873
Here, the state equation of the linear time-varying optimization problem holds, for example, the relationship shown in the following equation (73). That is, the state equation shown in the equation (73) includes linear time-varying control parameters A k and B k .
Figure 2016198873

上記(73)式、(12)式、及び(13)式より、軌道生成部222は、下記(74)式に示す等式制約条件付きLQ最適化問題を求解し、重心軌道を生成することとなる。

Figure 2016198873
但し、上記(74)式において、下記(75)式が成立するものとする。
Figure 2016198873
From the above equations (73), (12), and (13), the trajectory generator 222 solves the LQ optimization problem with equality constraints shown in the following equation (74) and generates the center of gravity trajectory. It becomes.
Figure 2016198873
However, in the above equation (74), the following equation (75) is assumed to hold.
Figure 2016198873

以上から、実施形態1と同様に、等式制約条件付きLQ最適化問題を直交補空間に投影することで、直交補空間変換を行い無制約条件のLQ最適化問題を導出する。
まず、上記(13)式(等式制約条件:Cx[k]=d)より、状態変数xの変換式である下記(76)式が上記実施形態1と同様に導出される。

Figure 2016198873
From the above, as in the first embodiment, by projecting the LQ optimization problem with equality constraints onto the orthogonal complement space, the orthogonal complement space transformation is performed to derive the unconstrained LQ optimization problem.
First, from the above equation (13) (equal constraint: C k x [k] = d k ), the following equation (76), which is a conversion equation for the state variable x, is derived in the same manner as in the first embodiment.
Figure 2016198873

k+1Bの直交補空間を用いて変数変換を行う。Ck+1Bを下記(77)式に示すようにQR分解する。

Figure 2016198873
Variable transformation is performed using the orthogonal complement space of C k + 1 B. QR decomposition is performed on C k + 1 B as shown in the following equation (77).
Figure 2016198873

上記(77)式を用いて上記(20)式と同様に、入力uの変換式である下記(78)式を導出する。

Figure 2016198873
但し、上記(78)式における各パラメータを下記(79)式に示すように設定する。
Figure 2016198873
k=0のときは、上記(78)式における各パラメータを下記(80)式に示すように設定する。
Figure 2016198873
The following equation (78), which is a conversion equation for the input u, is derived using the above equation (77) in the same manner as the above equation (20).
Figure 2016198873
However, each parameter in the above equation (78) is set as shown in the following equation (79).
Figure 2016198873
When k = 0, each parameter in the above equation (78) is set as shown in the following equation (80).
Figure 2016198873

以上より、上記(8)式を上記(73)式、(76)式、及び(78)式を用いて変形し、状態方程式の変換式である下記(81)式を導出する。

Figure 2016198873
但し、上記(81)式における各パラメータを下記(82)式に示すように設定する。
Figure 2016198873
k=0のときは、上記(81)式における各パラメータを下記(83)式に示すように設定する。
Figure 2016198873
From the above, the above equation (8) is transformed using the above equations (73), (76), and (78), and the following equation (81), which is a conversion equation of the state equation, is derived.
Figure 2016198873
However, each parameter in the above equation (81) is set as shown in the following equation (82).
Figure 2016198873
When k = 0, each parameter in the above equation (81) is set as shown in the following equation (83).
Figure 2016198873

上記実施形態1と同様に、上記(12)式に示す評価関数Jを変形し、評価関数の変換式である下記(84)式を導出する。

Figure 2016198873
但し、上記(84)式における各パラメータを下記(85)式に示すように設定する。
Figure 2016198873
As in the first embodiment, the evaluation function J shown in the above equation (12) is modified to derive the following equation (84) that is a conversion equation of the evaluation function.
Figure 2016198873
However, each parameter in the above equation (84) is set as shown in the following equation (85).
Figure 2016198873

以上から、本実施形態に係る軌道生成部222は、実施形態1と同様に、上記直交補空間を用いて変換した下記(86)式に示す無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて最適解ζを高速に求解できる。

Figure 2016198873
As described above, the trajectory generation unit 222 according to the present embodiment, as in the first embodiment, converts the unconstrained LQ optimization problem expressed by the following equation (86) converted using the orthogonal complement space into the Riccati-type recursion. The optimal solution ζ can be obtained at high speed using a genetic calculation method.
Figure 2016198873

最後に、軌道生成部222は、上記求解した最適解ζと、上記(16)式及び(20)式と、を用いて、上記(74)式に示す等式制約条件付きLQ最適化問題のパラメータを復元し、x[k]及びu[k]を算出する。   Finally, the trajectory generation unit 222 uses the optimum solution ζ obtained above and the above equations (16) and (20) to solve the LQ optimization problem with the equation constraint shown in the above equation (74). The parameters are restored and x [k] and u [k] are calculated.

(第4実施形態)
本実施形態4に係る軌道生成部222は、線形時変な、所定の区間内だけ接触力が変化しないように設定した、入力を含む等式制約条件付き最適化問題を求解する。
(Fourth embodiment)
The trajectory generation unit 222 according to the fourth embodiment solves an optimization problem with equality constraints including input, which is set so that the contact force does not change only within a predetermined interval, which is linear and time-varying.

例えば、未来のサンプリング区間において、移動ロボットが一定の力で物体を押して動かす等の、接触力を変動させたくない区間が存在する場合を想定する。より具体的には、2番目の接触点と最後から2番目の接触点をある区間内だけ接触力を変化しないようにした場合、当該区間における等式制約条件を下記(87)式に示すように入力E(u)を含むこととなる。

Figure 2016198873
For example, assume that there is a section in the future sampling section where the mobile robot does not want to change the contact force, such as pushing and moving an object with a constant force. More specifically, when the contact force is not changed only within a certain section between the second contact point and the second contact point from the end, the equality constraint condition in the section is expressed by the following equation (87). Will include the input E k (u).
Figure 2016198873

なお、上記接触力を変動させたくない区間以外の区間においては、Cは下記(88)式のように設定できる。

Figure 2016198873
Note that C k can be set as in the following equation (88) in a section other than the section where the contact force is not desired to be varied.
Figure 2016198873

上記式より、軌道生成部222は、下記(89)式に示す入力を含む等式制約条件付きLQ最適化問題を求解し、重心軌道を生成することとなる。

Figure 2016198873
但し、下記(90)式が成立する。
Figure 2016198873
From the above formula, the trajectory generation unit 222 solves the LQ optimization problem with an equality constraint including the input shown in the following formula (89), and generates a barycentric trajectory.
Figure 2016198873
However, the following equation (90) is established.
Figure 2016198873

まず、等式制約条件内の入力uに対する係数Eの転置行列をQR分解すると下記(91)式が導出される。

Figure 2016198873
First, when the transposed matrix of the coefficient E k with respect to the input u within the equality constraint condition is subjected to QR decomposition, the following equation (91) is derived.
Figure 2016198873

上記(91)式を用いて、上記入力を含む等式制約条件の(87)式を、下記(92)式に示すように変換できる。

Figure 2016198873
Using the above equation (91), the equation (87) of the equation constraint including the above input can be converted as shown in the following equation (92).
Figure 2016198873

上記(92)式を上記状態方程式(8)式に代入することで、下記(93)式が導出される。

Figure 2016198873
以降の式変換の方法は、上記実施形態3と同一であるため、省略して説明する。以上から、線形時変な、入力を含む等式制約条件付き最適化問題を直交補空間変換を行い、下記(94)に示す無制約条件のLQ最適化問題を導出する。
Figure 2016198873
By substituting the equation (92) into the equation (8), the following equation (93) is derived.
Figure 2016198873
Since the subsequent formula conversion method is the same as that of the third embodiment, the description will be omitted. From the above, the linear time-varying optimization problem with equality constraints including input is subjected to orthogonal complementary space transformation to derive the unconstrained LQ optimization problem shown in (94) below.
Figure 2016198873

軌道生成部222は、導出した上記(94)式に示す無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて最適解ζを高速に求解できる。最後に、軌道生成部222は、上記求解した最適解ζと、上記(16)式及び(20)式と、を用いて、上記(89)式に示す入力を含む等式制約条件付きLQ最適化問題のパラメータを復元し、x[k]及びu[k]を算出する。なお、軌道生成部222は、上記同様に、線形不変な、入力を含む等式制約条件付き最適化問題を求解してもよい。   The trajectory generation unit 222 can solve the unconstrained LQ optimization problem shown in the derived equation (94) at high speed using the Riccati-type recursive calculation method. Finally, the trajectory generation unit 222 uses the optimum solution ζ obtained above and the above equations (16) and (20) to perform LQ optimum with equality constraints including the input shown in the above equation (89). The parameters of the conversion problem are restored, and x [k] and u [k] are calculated. As described above, the trajectory generation unit 222 may solve an optimization problem with an equation constraint including an input that is linear invariant.

(第5実施形態)
本実施形態4に係る軌道生成部222は、線形時変な、所定の区間内だけ接触力が変化しないように設定した入力を含む等式制約条件、及び、所定の区間内だけ接触力に制限をかけるように設定した入力を含む不等式制約条件付き最適化問題を求解する。
(Fifth embodiment)
The trajectory generation unit 222 according to the fourth embodiment is linear time-varying, an equality constraint condition including an input set so that the contact force does not change only within a predetermined section, and the contact force is limited only within the predetermined section. Solve an inequality-constrained optimization problem that includes inputs set to apply.

例えば、移動ロボットの手先や足先の急激な接触力の変動を防ぐように、接触力の変化に制限をかけたい場合を想定する。例えば、2番目の接触点の接触力の増加量と、最後から2番目の接触点の接触力の減少量と、をある区間内だけ、制限したい場合、制限をかけたい区間における不等式制約条件は、下記(95)式のように入力Γu[k]を含むこととなる。

Figure 2016198873
For example, a case is assumed where it is desired to limit the change in contact force so as to prevent a sudden change in contact force of the hand or foot of the mobile robot. For example, if you want to limit the amount of increase in contact force at the second contact point and the amount of decrease in contact force at the penultimate contact point only within a certain section, the inequality constraint condition in the section you want to limit is As shown in the following equation (95), the input Γ k u [k] is included.
Figure 2016198873

但し、上記(95)式において、Δflmは各接触点の6軸力の制限値を縦に並べたベクトルである。また、上記制限をかけたい区間以外の区間においては、Pは下記(96)式のように設定できる。

Figure 2016198873
However, in the above equation (95), Δf lm is a vector in which limit values of the six-axis forces at each contact point are arranged vertically. In addition, P k can be set as in the following equation (96) in a section other than the section where the restriction is desired.
Figure 2016198873

上記式より、軌道生成部222は、下記(97)式に示す入力を含む等式制約条件付きLQ最適化問題を求解し、重心軌道を生成することとなる。

Figure 2016198873
但し、下記(98)式が成立する。
Figure 2016198873
From the above equation, the trajectory generation unit 222 solves the LQ optimization problem with equality constraints including the input shown in the following equation (97), and generates a centroid trajectory.
Figure 2016198873
However, the following equation (98) is established.
Figure 2016198873

不等式制約条件を示す上記(95)式に上記(92)式を代入することで、不等式制約条件を下記(99)式に変換する。

Figure 2016198873
但し、上記(99)式のパラメータを下記(100)式のように設定する。
Figure 2016198873
By substituting the above equation (92) into the above equation (95) indicating the inequality constraint condition, the inequality constraint condition is converted into the following equation (99).
Figure 2016198873
However, the parameter of the above equation (99) is set as the following equation (100).
Figure 2016198873

上記(33)式と上記(99)式から、軌道生成部222は、下記(101)式に示す無制約条件のLQ最適化問題を、リカッチ型再帰的計算法を用いて最適解ζを求解することとなる。

Figure 2016198873
以降に示す、上記無制約条件のLQ最適化問題に対するリカッチ型再帰的計算法による最適解ζの求解方法は、上記実施形態2において説明した求解方法と略同一であるため、相違点のみを説明する。 From the above equation (33) and the above equation (99), the trajectory generator 222 solves the unconstrained LQ optimization problem shown in the following equation (101) using the Riccati-type recursive calculation method. Will be.
Figure 2016198873
Since the solution method of the optimal solution ζ by the Riccati-type recursive calculation method for the unconstrained LQ optimization problem described below is substantially the same as the solution method described in the second embodiment, only the differences will be described. To do.

上記(53)式乃至(55)式の係数行列Pが下記(102)式に置き換わる。

Figure 2016198873
The coefficient matrix P in the equations (53) to (55) is replaced with the following equation (102).
Figure 2016198873

したがって、上記(66)式は、下記(103)式に置き換わる。

Figure 2016198873
Therefore, the above equation (66) is replaced with the following equation (103).
Figure 2016198873

ここで、下記(104)式が成立する。

Figure 2016198873
Here, the following equation (104) is established.
Figure 2016198873

上記(104)式を用いて、上記(103)式を下記(105)式のように変形できる。

Figure 2016198873
Using the above equation (104), the above equation (103) can be transformed into the following equation (105).
Figure 2016198873

但し、上記(105)式の各パラメータを下記(106)式のように設定する。

Figure 2016198873
実施形態2の上記(68)式と上記(105)式との相違は、S(ハット)がS′(ハット)となっているだけで、その他のパラメータは同一である。したがって、軌道生成部222は、以降の計算について、上記実施形態2と同一の計算を行い、最適解ζを高速に求解できる。最後に、軌道生成部222は、上記求解した最適解ζと、上記(16)式及び(20)式と、を用いて、入力を含む等式制約条件及び不等式制約条件付きLQ最適化問題のパラメータを復元し、x[k]及びu[k]を算出する。なお、軌道生成部222は、上記同様に、線形不変な、入力を含む等式制約条件及び不等式制約条件付き最適化問題を求解してもよい。また、軌道生成部222は、線形不変あるいは線形時変な、等式制約条件及び入力を含む不等式制約条件付き最適化問題を求解してもよい。 However, each parameter of the above equation (105) is set as the following equation (106).
Figure 2016198873
The difference between the expression (68) and the expression (105) in the second embodiment is that S k (hat) is S ′ k (hat), and other parameters are the same. Therefore, the trajectory generation unit 222 performs the same calculation as that in the second embodiment for the subsequent calculations, and can obtain the optimum solution ζ at high speed. Finally, the trajectory generation unit 222 uses the optimum solution ζ obtained above and the above equations (16) and (20) to solve the LQ optimization problem with equality constraints and inequality constraints including input. The parameters are restored and x [k] and u [k] are calculated. As described above, the trajectory generation unit 222 may solve linearly invariant equality constraints including inputs and optimization problems with inequality constraints. Further, the trajectory generation unit 222 may solve an optimization problem with an inequality constraint condition including an equation constraint condition and an input that is linear invariant or linear time varying.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。
本発明は、例えば、図15や図18に示す処理を、CPU210aにコンピュータプログラムを実行させることにより実現することも可能である。
Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
For example, the present invention can be realized by causing the CPU 210a to execute the processing shown in FIG. 15 and FIG. 18.

プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(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))を含む。   The program may be stored using various types of non-transitory computer readable media and supplied to a 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.

また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   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.

1a-28a…モータ、1b-28b…エンコーダ、25…接触力センサ、100…移動ロボット、210…最適制御装置、221…接触点計画設定部、222…軌道生成部、223…動作制御部。   DESCRIPTION OF SYMBOLS 1a-28a ... Motor, 1b-28b ... Encoder, 25 ... Contact force sensor, 100 ... Mobile robot, 210 ... Optimal control apparatus, 221 ... Contact point plan setting part, 222 ... Trajectory generation part, 223 ... Operation control part.

Claims (13)

二以上の移動手段を交互に接地しながら移動する移動ロボットの該移動手段が接地する接触点の位置と、接地するときの前記移動手段の姿勢と、を時系列のデータとした接触点計画を設定する接触点計画手段と、
前記接触点計画設定手段により設定された接触点計画に基づいて、前記移動手段が接触点に接地しながら前記移動ロボットが移動するための重心軌道を生成する軌道生成手段と、
を備える最適制御装置であって、
前記軌道生成手段は、前記移動手段を接地するときの接触力に基づく量を入力とする予測モデルを構築して、該予測モデルによって所定時間幅の予測区間における前記移動ロボットの重心の状態変数を表わし、前記予測区間において、所定の評価基準を用いて前記重心の状態変数を算出し、該算出した重心の状態変数に基づいて、前記移動ロボットの重心軌道を生成するモデル予測制御を行ない、
前記評価基準は、各接触点における前記接触力に基づく量の二乗が含まれる評価関数を予測区間内において最小化するものであり、
前記評価基準と、前記接触力に基づく入力と前記重心の状態変数と関係を示す線形な状態方程式と、前記移動ロボットの線形等式で表現される等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換され、
前記軌道生成手段は、前記予測区間において、該変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数を算出する、
ことを特徴とする最適制御装置。
A contact point plan in which the position of the contact point where the moving means touches the moving robot that moves while grounding two or more moving means alternately and the attitude of the moving means when touching the ground is time-series data. Contact point planning means to be set;
Based on the contact point plan set by the contact point plan setting means, a trajectory generating means for generating a center of gravity trajectory for the mobile robot to move while the moving means contacts the contact point;
An optimal control device comprising:
The trajectory generating means constructs a prediction model that receives an amount based on a contact force when the moving means is grounded, and uses the prediction model to calculate a state variable of the center of gravity of the mobile robot in a prediction section having a predetermined time width. Representing the state variable of the center of gravity using a predetermined evaluation criterion in the prediction section, and performing model prediction control for generating the center of gravity trajectory of the mobile robot based on the calculated state variable of the center of gravity.
The evaluation criterion is to minimize an evaluation function including a square of an amount based on the contact force at each contact point within a prediction interval,
An equation constraint including the evaluation criteria, a linear state equation indicating a relationship between the input based on the contact force and the state variable of the center of gravity, and an equation constraint expressed by a linear equation of the mobile robot With the orthogonal complement space is converted into an unconstrained optimization problem that does not include the equality constraints,
The trajectory generating means solves the converted unconstrained optimization problem in the prediction interval by using a recursive calculation method to find an optimal solution, and determines the state variable of the center of gravity based on the calculated optimal solution. calculate,
An optimal control device characterized by that.
請求項1記載の最適制御装置であって、
前記軌道生成手段は、前記移動手段を接地するときの接触力の微分値を入力とする予測モデルを構築し、
前記評価基準は、前記各接触点に対応して設定された重みに基づいて前記各接触点に前記接触力と、前記接触力の微分値とを配分するという基準が含まれ、前記接触力および接触力の微分値の二乗和を含む評価関数を予測区間内において最小化するものであり、
前記評価基準と、前記接触力の微分値の入力と前記重心の状態変数と関係を示す状態方程式と、前記移動ロボットの力の釣合いの拘束を示す等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換される、
ことを特徴とする最適制御装置。
The optimal control device according to claim 1,
The trajectory generating means constructs a prediction model that receives a differential value of contact force when the moving means is grounded,
The evaluation criterion includes a criterion of allocating the contact force and a differential value of the contact force to each contact point based on a weight set corresponding to each contact point, and the contact force and An evaluation function including the sum of squares of the derivative of the contact force is minimized within the prediction interval,
An equation constraint including the evaluation criteria, a state equation indicating the relationship between the input of the differential value of the contact force and the state variable of the center of gravity, and an equation constraint indicating a constraint of the balance of force of the mobile robot The constrained optimization problem is converted into an unconstrained optimization problem that does not include the equality constraint condition using orthogonal complement space.
An optimal control device characterized by that.
請求項1又は2記載の最適制御装置であって、
前記等式制約条件を示す式に対してQR分解を行って状態変数の変換式が導出され、前記接触力の微分値の入力と重心の状態変数との関係を示す状態方程式から導出した式に対してQR分解を行って入力の変換式が導出され、前記状態方程式と、前記状態変数の変換式と、前記入力の変換式と、前記状態変数の変換式と、に基づいて状態方程式の変換式が導出され、前記導出した状態変数の変換式と、入力の変換式と、等式制約条件付き最適化問題の評価関数と、に基づいて、評価関数の変換式が導出され、
前記無制約条件の最適化問題は、前記導出された評価関数の変換式と、前記状態方程式の変換式と、を含む、
ことを特徴する最適制御装置。
The optimal control device according to claim 1 or 2,
A QR variable decomposition is performed on the equation representing the equation constraint to derive a state variable conversion equation, and the equation derived from the state equation indicating the relationship between the input of the differential value of the contact force and the state variable of the center of gravity is obtained. QR conversion is performed on the input, and an input conversion equation is derived, and the state equation is converted based on the state equation, the state variable conversion equation, the input conversion equation, and the state variable conversion equation. An expression is derived, and an evaluation function conversion expression is derived based on the derived state variable conversion expression, the input conversion expression, and the evaluation function of the optimization problem with equality constraints,
The unconstrained optimization problem includes a conversion equation of the derived evaluation function and a conversion equation of the state equation,
Optimal control device characterized by that.
請求項1乃至3のうちのいずれか1項記載の最適制御装置であって、
前記軌道生成手段は、
前記無制約条件の最適化問題を行列表現した式の最適解条件に対して、再帰的計算法を用いて最適解を求解し、前記求解した最適解と、前記等式制約条件を示す式をQR分解して導出した状態変数の変換式と、に基づいて前記重心の状態変数の時系列データを算出する、
ことを特徴とする最適制御装置。
The optimal control device according to any one of claims 1 to 3,
The trajectory generating means includes
For the optimal solution condition of the expression expressing the unconstrained optimization problem in a matrix form, the optimal solution is solved using a recursive calculation method, and the calculated optimal solution and the equation indicating the equality constraint condition are Calculating time series data of the state variable of the center of gravity based on a state variable conversion formula derived by QR decomposition;
An optimal control device characterized by that.
請求項1乃至4のうちいずれか1項記載の最適制御装置であって、
前記等式制約条件は、所定の区間内だけ前記接触力が変化しないように設定した入力を含む、
ことを特徴とする最適制御装置。
The optimal control device according to any one of claims 1 to 4,
The equation constraint includes an input set so that the contact force does not change only within a predetermined interval.
An optimal control device characterized by that.
請求項1乃至5のうちいずれか1項記載の最適制御装置であって、
前記軌道生成手段は、
前記等式制約条件と前記接触点の安定性の拘束を示す不等式制約条件とを含む等式制約条件及び不等式制約条件付き最適化問題を直交補空間を用いて変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数の時系列データを算出する、
ことを特徴とする最適制御装置。
The optimal control device according to any one of claims 1 to 5,
The trajectory generating means includes
An unconstrained optimization problem obtained by transforming an equality constraint condition including the equality constraint condition and an inequality constraint condition indicating the stability constraint of the contact point and an optimization problem with the inequality constraint condition using an orthogonal complement space A recursive calculation method to find an optimal solution, and calculate time series data of the state variable of the center of gravity based on the obtained optimal solution,
An optimal control device characterized by that.
請求項6記載の最適制御装置であって、
前記軌道生成手段は、
前記無制約条件の最適化問題を行列表現した式の最適解条件に対してニュートン法を適用し、該ニュートン法の収束演算の中で前記再帰的計算法を用いてニュートン方向を算出し、該算出したニュートン方向に基づいて、最適解を算出する、
ことを特徴とする最適制御装置。
The optimal control device according to claim 6,
The trajectory generating means includes
Applying Newton's method to the optimal solution condition of the expression expressing the unconstrained optimization problem as a matrix, calculating the Newton direction using the recursive calculation method in the convergence operation of the Newton method, Calculate the optimal solution based on the calculated Newton direction.
An optimal control device characterized by that.
請求項7記載の最適制御装置であって、
前記軌道生成手段は、前記無制約条件の最適化問題を行列表現した式の最適解条件に対して内点法又はアクティブセット法を適用する、ことを特徴する最適制御装置。
The optimal control device according to claim 7,
The trajectory generating means applies an interior point method or an active set method to an optimal solution condition of an expression that represents the optimization problem of the unconstrained condition in a matrix form.
請求項6乃至8のうちいずれか1項記載の最適制御装置であって、
前記不等式制約条件は、所定の区間内だけ前記接触力に制限をかけるように設定した入力を含む、
ことを特徴とする最適制御装置。
The optimal control device according to any one of claims 6 to 8,
The inequality constraint condition includes an input set to limit the contact force only within a predetermined interval.
An optimal control device characterized by that.
請求項1乃至9のうちいずれか1項記載の最適制御装置であって、
前記最適化問題の状態方程式は、線形時変の制御パラメータを含む、ことを特徴とする最適制御装置。
The optimal control device according to any one of claims 1 to 9,
The optimization control apparatus, wherein the state equation of the optimization problem includes a linear time-varying control parameter.
請求項1乃至10のうちいずれか1項記載の最適制御装置であって、
前記軌道生成手段により生成された重心軌道に基づいて前記移動手段を制御する制御手段を更に備える、ことを特徴とする最適制御装置。
The optimal control device according to any one of claims 1 to 10,
An optimum control apparatus, further comprising: a control unit that controls the moving unit based on the center-of-gravity trajectory generated by the trajectory generating unit.
二以上の移動手段を交互に接地しながら移動する移動ロボットの該移動手段が接地する接触点の位置と、接地するときの前記移動手段の姿勢と、を時系列のデータとした接触点計画を設定するステップと、
前記設定された接触点計画に基づいて、前記移動手段が接触点に接地しながら前記移動ロボットが移動するための重心軌道を生成するステップと、
を含む最適制御方法であって、
前記移動手段を接地するときの接触力に基づく量を入力とする予測モデルを構築して、該予測モデルによって所定時間幅の予測区間における前記移動ロボットの重心の状態変数を表わし、前記予測区間において、所定の評価基準を用いて前記重心の状態変数を算出し、該算出した重心の状態変数に基づいて、前記移動ロボットの重心軌道を生成するモデル予測制御を行ない、
前記評価基準は、各接触点における前記接触力に基づく量の二乗が含まれる評価関数を予測区間内において最小化するものであり、
前記評価基準と、前記接触力に基づく入力と前記重心の状態変数と関係を示す線形な状態方程式と、前記移動ロボットの線形等式で表現される等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換され、
前記予測区間において、該変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数を算出する、
ことを特徴とする最適制御方法。
A contact point plan in which the position of the contact point where the moving means touches the moving robot that moves while grounding two or more moving means alternately and the attitude of the moving means when touching the ground is time-series data. Steps to set,
Based on the set contact point plan, generating a center of gravity trajectory for the mobile robot to move while the moving means contacts the contact point;
An optimal control method including
By constructing a prediction model that receives an amount based on contact force when the moving means is grounded, the prediction model represents a state variable of the center of gravity of the mobile robot in a prediction interval of a predetermined time width, and in the prediction interval Calculating a state variable of the center of gravity using a predetermined evaluation criterion, and performing model predictive control for generating a center of gravity trajectory of the mobile robot based on the calculated state variable of the center of gravity,
The evaluation criterion is to minimize an evaluation function including a square of an amount based on the contact force at each contact point within a prediction interval,
An equation constraint including the evaluation criteria, a linear state equation indicating a relationship between the input based on the contact force and the state variable of the center of gravity, and an equation constraint expressed by a linear equation of the mobile robot With the orthogonal complement space is converted into an unconstrained optimization problem that does not include the equality constraints,
In the prediction interval, the converted unconstrained optimization problem is solved by using a recursive calculation method to find an optimal solution, and the state variable of the center of gravity is calculated based on the obtained optimal solution.
An optimal control method characterized by that.
二以上の移動手段を交互に接地しながら移動する移動ロボットの該移動手段が接地する接触点の位置と、接地するときの前記移動手段の姿勢と、を時系列のデータとした接触点計画を設定する処理と、
前記設定された接触点計画に基づいて、前記移動手段が接触点に接地しながら前記移動ロボットが移動するための重心軌道を生成する処理と、
をコンピュータに実行させる最適制御プログラムであって、
前記移動手段を接地するときの接触力に基づく量を入力とする予測モデルを構築して、該予測モデルによって所定時間幅の予測区間における前記移動ロボットの重心の状態変数を表わし、前記予測区間において、所定の評価基準を用いて前記重心の状態変数を算出し、該算出した重心の状態変数に基づいて、前記移動ロボットの重心軌道を生成するモデル予測制御を行ない、
前記評価基準は、各接触点における前記接触力に基づく量の二乗が含まれる評価関数を予測区間内において最小化するものであり、
前記評価基準と、前記接触力に基づく入力と前記重心の状態変数と関係を示す線形な状態方程式と、前記移動ロボットの線形等式で表現される等式制約条件と、を含む等式制約条件付き最適化問題は、直交補空間を用いて、前記等式制約条件を含まない無制約条件の最適化問題に変換され、
前記予測区間において、該変換した無制約条件の最適化問題を、再帰的計算法を用いて最適解を求解し、該求解した最適解に基づいて前記重心の状態変数を算出する、
ことを特徴とする最適制御プログラム。
A contact point plan in which the position of the contact point where the moving means touches the moving robot that moves while grounding two or more moving means alternately and the attitude of the moving means when touching the ground is time-series data. Process to set,
Based on the set contact point plan, a process of generating a center-of-gravity trajectory for the mobile robot to move while the moving means contacts the contact point;
An optimal control program for causing a computer to execute
By constructing a prediction model that receives an amount based on contact force when the moving means is grounded, the prediction model represents a state variable of the center of gravity of the mobile robot in a prediction interval of a predetermined time width, and in the prediction interval Calculating a state variable of the center of gravity using a predetermined evaluation criterion, and performing model predictive control for generating a center of gravity trajectory of the mobile robot based on the calculated state variable of the center of gravity,
The evaluation criterion is to minimize an evaluation function including a square of an amount based on the contact force at each contact point within a prediction interval,
An equation constraint including the evaluation criteria, a linear state equation indicating a relationship between the input based on the contact force and the state variable of the center of gravity, and an equation constraint expressed by a linear equation of the mobile robot With the orthogonal complement space is converted into an unconstrained optimization problem that does not include the equality constraints,
In the prediction interval, the converted unconstrained optimization problem is solved by using a recursive calculation method to find an optimal solution, and the state variable of the center of gravity is calculated based on the obtained optimal solution.
An optimal control program characterized by that.
JP2015082637A 2015-04-14 2015-04-14 Optimal control device, optimal control method, and optimal control program Active JP6421683B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015082637A JP6421683B2 (en) 2015-04-14 2015-04-14 Optimal control device, optimal control method, and optimal control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015082637A JP6421683B2 (en) 2015-04-14 2015-04-14 Optimal control device, optimal control method, and optimal control program

Publications (2)

Publication Number Publication Date
JP2016198873A true JP2016198873A (en) 2016-12-01
JP6421683B2 JP6421683B2 (en) 2018-11-14

Family

ID=57422113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015082637A Active JP6421683B2 (en) 2015-04-14 2015-04-14 Optimal control device, optimal control method, and optimal control program

Country Status (1)

Country Link
JP (1) JP6421683B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549321A (en) * 2018-04-10 2018-09-18 广州启帆工业机器人有限公司 Industrial robot track generation method and system integrating time energy jump degree
CN110462684A (en) * 2017-04-10 2019-11-15 赫尔实验室有限公司 Utilize the system of the movement of self-encoding encoder prediction object of interest
CN111914411A (en) * 2020-07-20 2020-11-10 哈尔滨工大航博科技有限公司 Full-attitude four-axis turntable frame angle instruction resolving method
JP2021036390A (en) * 2019-08-30 2021-03-04 国立大学法人京都大学 Nonlinear model prediction control device
CN113260928A (en) * 2019-01-11 2021-08-13 欧姆龙株式会社 Control device
JP7459372B2 (en) 2020-05-29 2024-04-01 三菱電機株式会社 Apparatus and method for planning contact interaction trajectories - Patents.com

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007185756A (en) * 2006-01-16 2007-07-26 Sony Corp Control system, control method and computer/program
WO2007094451A1 (en) * 2006-02-16 2007-08-23 Japan Science And Technology Agency Method for analyzing motion, motion analyzer, computer program, and recording medium
JP2008254155A (en) * 2007-04-09 2008-10-23 National Institute Of Advanced Industrial & Technology Control device for legged mobile robot
JP2010137289A (en) * 2008-12-09 2010-06-24 Sony Corp Information processing apparatus, information processing method, and computer program
US20110106303A1 (en) * 2009-10-30 2011-05-05 Samsung Electronics Co., Ltd. Robot and control method of optimizing robot motion performance thereof
JP2013184248A (en) * 2012-03-07 2013-09-19 Toyota Motor Corp Center-of-gravity trajectory generation device, and generation method and program therefor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007185756A (en) * 2006-01-16 2007-07-26 Sony Corp Control system, control method and computer/program
US20070185618A1 (en) * 2006-01-16 2007-08-09 Kenichiro Nagasaka Control system, control method, and computer program
WO2007094451A1 (en) * 2006-02-16 2007-08-23 Japan Science And Technology Agency Method for analyzing motion, motion analyzer, computer program, and recording medium
JP2008254155A (en) * 2007-04-09 2008-10-23 National Institute Of Advanced Industrial & Technology Control device for legged mobile robot
JP2010137289A (en) * 2008-12-09 2010-06-24 Sony Corp Information processing apparatus, information processing method, and computer program
US20110106303A1 (en) * 2009-10-30 2011-05-05 Samsung Electronics Co., Ltd. Robot and control method of optimizing robot motion performance thereof
JP2013184248A (en) * 2012-03-07 2013-09-19 Toyota Motor Corp Center-of-gravity trajectory generation device, and generation method and program therefor

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110462684A (en) * 2017-04-10 2019-11-15 赫尔实验室有限公司 Utilize the system of the movement of self-encoding encoder prediction object of interest
CN110462684B (en) * 2017-04-10 2023-08-01 赫尔实验室有限公司 System, computer readable medium and method for implicit prediction of object movement
CN108549321A (en) * 2018-04-10 2018-09-18 广州启帆工业机器人有限公司 Industrial robot track generation method and system integrating time energy jump degree
CN113260928A (en) * 2019-01-11 2021-08-13 欧姆龙株式会社 Control device
JP2021036390A (en) * 2019-08-30 2021-03-04 国立大学法人京都大学 Nonlinear model prediction control device
JP7221833B2 (en) 2019-08-30 2023-02-14 国立大学法人京都大学 Nonlinear model predictive controller
JP7459372B2 (en) 2020-05-29 2024-04-01 三菱電機株式会社 Apparatus and method for planning contact interaction trajectories - Patents.com
CN111914411A (en) * 2020-07-20 2020-11-10 哈尔滨工大航博科技有限公司 Full-attitude four-axis turntable frame angle instruction resolving method
CN111914411B (en) * 2020-07-20 2022-11-11 哈尔滨工大航博科技有限公司 Full-attitude four-axis turntable frame angle instruction resolving method

Also Published As

Publication number Publication date
JP6421683B2 (en) 2018-11-14

Similar Documents

Publication Publication Date Title
JP6421683B2 (en) Optimal control device, optimal control method, and optimal control program
Erez et al. An integrated system for real-time model predictive control of humanoid robots
JP5910647B2 (en) Mobile robot movement control method
Saab et al. Dynamic whole-body motion generation under rigid contacts and other unilateral constraints
Feng et al. Optimization‐based full body control for the darpa robotics challenge
Flacco et al. A reverse priority approach to multi-task control of redundant robots
Ngo et al. Object transportation with force-sensorless control and event-triggered synchronization for networked uncertain manipulators
Ott et al. Kinesthetic teaching of humanoid motion based on whole-body compliance control with interaction-aware balancing
Shavit et al. Learning augmented joint-space task-oriented dynamical systems: A linear parameter varying and synergetic control approach
Ramos et al. Generalizations of the capture point to nonlinear center of mass paths and uneven terrain
JP2013520327A (en) Joint system control method, storage medium, and control system
JP6781101B2 (en) Non-linear system control method, biped robot control device, biped robot control method and its program
CN115666870A (en) Device and method for planning contact interaction trajectory
Pfeiffer et al. The hierarchical newton’s method for numerically stable prioritized dynamic control
Suleiman et al. On humanoid motion optimization
JP6168158B2 (en) Mobile robot movement control method and mobile robot
Qi et al. Proposal of helical wave propagate motion for a snake robot to across a branch on a pipe
JP7221833B2 (en) Nonlinear model predictive controller
Alikhani et al. Sliding mode control of a cable-driven robot via double-integrator sliding surface
Tiseo et al. Theoretical evidence supporting harmonic reaching trajectories
Savin Comparative analysis of control methods for walking robots with nonlinear sensors
Li et al. Kinodynamics-based pose optimization for humanoid loco-manipulation
Kobayashi et al. Mirror-Descent Inverse Kinematics with Box-constrained Joint Space⋆
Nakamura et al. A Study on Kicking Motion Strategy for a Legged Robot
JP6447278B2 (en) Multipoint contact robot, control method and program for multipoint contact robot

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170511

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180327

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180420

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181001

R151 Written notification of patent or utility model registration

Ref document number: 6421683

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151