JP5316336B2 - Inverted type moving body, its control method and control program - Google Patents
Inverted type moving body, its control method and control program Download PDFInfo
- Publication number
- JP5316336B2 JP5316336B2 JP2009215462A JP2009215462A JP5316336B2 JP 5316336 B2 JP5316336 B2 JP 5316336B2 JP 2009215462 A JP2009215462 A JP 2009215462A JP 2009215462 A JP2009215462 A JP 2009215462A JP 5316336 B2 JP5316336 B2 JP 5316336B2
- Authority
- JP
- Japan
- Prior art keywords
- wheel
- load
- gravity
- distance
- command value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000005484 gravity Effects 0.000 claims abstract description 60
- 238000001514 detection method Methods 0.000 claims abstract description 15
- 238000004364 calculation method Methods 0.000 claims description 113
- 230000001133 acceleration Effects 0.000 claims description 54
- 238000012545 processing Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000004088 simulation Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000005381 potential energy Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Manipulator (AREA)
- Motorcycle And Bicycle Frame (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
本発明は、倒立状態を維持して走行する倒立型移動体、その制御方法及び制御プログラムに関するものである。 The present invention relates to an inverted moving body that travels while maintaining an inverted state, a control method thereof, and a control program.
倒立状態を維持する倒立制御を行いつつ走行する倒立型移動体が知られている。例えば、倒立状態を維持する倒立制御を行いつつ、自立的に走行する倒立二輪走行ロボットが開示されている(特許文献1参照)。この倒立二輪走行ロボットにおいては、制御対象である倒立型ロボットを所望の姿勢の近傍で線形化した線形化モデルに基づいて、倒立型ロボットの動作を制御している。 2. Description of the Related Art An inverted moving body that travels while performing an inverted control that maintains an inverted state is known. For example, an inverted two-wheeled robot that travels autonomously while performing inverted control to maintain the inverted state is disclosed (see Patent Document 1). In this inverted two-wheeled robot, the operation of the inverted robot is controlled based on a linearized model obtained by linearizing an inverted robot to be controlled in the vicinity of a desired posture.
しかしながら、上記倒立二輪走行ロボットにおいては、例えば、倒立型ロボットに搭乗する搭乗者がしゃがんだり、或いは積載する荷物が荷崩れしたとき等の重心位置が大きく変化した場合に、倒立型ロボットが振動的な動作をしたり、不安定となり転倒するなどの問題が生じ得る。 However, in the above-described inverted two-wheeled robot, the inverted robot vibrates when the position of the center of gravity changes greatly, for example, when an occupant boarding the inverted robot squats down or when the load to be loaded collapses. Problems such as erratic movements and instability and falling.
本発明は、このような問題点に鑑みてなされたものであり、より安定的に走行することができる倒立型移動体、その制御方法及び制御プログラムを提供することを主たる目的とする。 The present invention has been made in view of such problems, and a main object of the present invention is to provide an inverted moving body that can travel more stably, a control method thereof, and a control program.
上記目的を達成するための本発明の一態様は、負荷体と該負荷体に回転可能に連結された車輪とを有する移動体本体を備え、前記車輪の駆動を制御して、前記負荷体の倒立制御を行う倒立型移動体であって、前記移動体本体の状態量を検出する検出手段と、前記移動体本体が所望の走行状態となる指令値を生成する指令手段と、前記検出手段により検出された状態量に基づいて、前記負荷体の重心と前記車輪の重心との距離である負荷車輪重心間距離を推定する推定手段と、前記検出手段により検出された状態量と、前記指令手段により生成された指令値と、前記推定手段により推定された負荷車輪重心間距離と、に基づいて、前記車輪を駆動するためのトルク指令値を生成し、前記倒立制御を行う制御手段と、を備えることを特徴とする倒立型移動体である。 One aspect of the present invention for achieving the above object includes a mobile body having a load body and a wheel rotatably connected to the load body, and controls driving of the wheel to control the load body. An inverted moving body that performs an inverted control, comprising: a detecting means for detecting a state quantity of the moving body main body; a command means for generating a command value for causing the moving body main body to enter a desired running state; and the detecting means. Based on the detected state quantity, an estimation means for estimating a distance between the load wheel center of gravity, which is a distance between the center of gravity of the load body and the center of gravity of the wheel, a state quantity detected by the detection means, and the command means Control means for generating a torque command value for driving the wheel based on the command value generated by the estimation means and the distance between the load wheel centers of gravity estimated by the estimation means, and performing the inversion control. Defeat characterized by providing It is the type mobile.
この一態様において、前記推定手段は、前記検出手段により検出された移動体本体の状態量に基づいて、前記車輪の水平方向への移動速度である車輪水平速度を算出する水平速度演算部と、前記検出手段により検出された移動体本体の状態量に基づいて、前記車輪の垂直方向への加速度である車輪垂直加速度を算出する垂直加速度演算部と、前記水平速度演算部により算出された車輪水平速度と、前記垂直加速度演算部により算出された車輪垂直加速度と、に基づいて、前記移動体本体の運動方程式を前記負荷車輪重心間距離の多項式として表し、該多項式の係数を算出する多項式係数演算部と、前記多項式係数演算部により算出された前記多項式の係数に基づいて、前記負荷車輪重心間距離を算出する重心間距離演算部と、を有していてもよい。 In this aspect, the estimating means calculates a wheel horizontal speed that is a moving speed in the horizontal direction of the wheel based on a state quantity of the moving body detected by the detecting means; Based on the state quantity of the moving body detected by the detection means, a vertical acceleration calculation unit that calculates a wheel vertical acceleration that is an acceleration in the vertical direction of the wheel, and a wheel horizontal calculated by the horizontal speed calculation unit. Based on the speed and the wheel vertical acceleration calculated by the vertical acceleration calculation unit, the equation of motion of the moving body is represented as a polynomial in the distance between the centers of gravity of the loaded wheels, and a polynomial coefficient calculation for calculating the coefficient of the polynomial A center-of-gravity distance calculation unit that calculates the distance between the load wheel centers of gravity based on the coefficients of the polynomial calculated by the polynomial coefficient calculation unit. There.
また、この一態様において、前記多項式係数演算部は、下記(14)式により前記多項式の係数a2、a1、a0を算出してもよい。さらに、この一態様において、前記重心間距離演算部は、前記検出手段により検出された負荷体の傾斜角加速度に応じて、前記負荷車輪重心間距離の算出方法を切換えてもよい。さらにまた、この一態様において、前記重心間距離推定部は、下記(15)式により負荷車輪重心間距離lを算出してもよい。なお、この一態様において、前記重心間距離演算部は、前記算出した負荷車輪重心間距離に対してローパスフィルタを適用してもよい。 In this aspect, the polynomial coefficient calculation unit may calculate the coefficients a 2 , a 1 , and a 0 of the polynomial according to the following equation (14). Further, in this aspect, the center-of-gravity distance calculation unit may switch the calculation method of the distance between the load wheel centers of gravity according to the inclination angular acceleration of the load body detected by the detection unit. Furthermore, in this one aspect, the center-of-gravity distance estimation unit may calculate the distance l between the load wheel centers of gravity by the following equation (15). In this aspect, the center-of-gravity distance calculation unit may apply a low-pass filter to the calculated load wheel center-of-gravity distance.
さらに、この一態様において、前記制御手段は、前記検出手段により検出された状態量と、前記指令手段により生成された指令値と、前記推定手段により推定された負荷車輪重心間距離と、に基づいて、前記移動体本体の車輪を駆動するためのトルク指令値を算出するトルク指令演算部と、前記推定手段により推定された負荷車輪重心間距離に基づいて、前記トルク指令演算部の制御を調整する制御調整部と、を有していてもよい。さらにまた、この一態様において、前記トルク指令演算部は、前記検出手段により検出された負荷体の傾斜角加速度に応じて、トルク指令値の算出方法を切換えてもよい。さらにまた、この一態様において、前記トルク指令演算部は、下記(18)又は(20)式により前記トルク指令値Trefを算出してもよい。 Furthermore, in this one aspect, the control means is based on the state quantity detected by the detection means, the command value generated by the command means, and the distance between the load wheel centers of gravity estimated by the estimation means. And adjusting the control of the torque command calculation unit based on the torque command calculation unit for calculating the torque command value for driving the wheels of the mobile body and the distance between the load wheel centers of gravity estimated by the estimation means And a control adjustment unit that performs. Furthermore, in this one aspect, the torque command calculation unit may switch the calculation method of the torque command value according to the inclination angular acceleration of the load body detected by the detection means. Furthermore, in this one aspect, the torque command calculation unit may calculate the torque command value T ref by the following equation (18) or (20).
なお、この一態様において、前記推定手段が前記負荷車輪重心間距離を推定する間、前記トルク指令演算部は、前記トルク指令値を一定値としてもよい。また、この一態様において、前記指令手段は、前記車輪の水平方向への移動速度である水平速度指令値を生成する水平速度指令生成部と、前記車輪水平速度が前記水平速度指令値に追従するような前記負荷体の傾斜角度である負荷角度指令値を算出する負荷角度指令演算部と、を有していてもよい。 In this aspect, the torque command calculation unit may set the torque command value as a constant value while the estimation unit estimates the distance between the load wheel centers of gravity. Further, in this aspect, the command means includes a horizontal speed command generation unit that generates a horizontal speed command value that is a moving speed of the wheel in the horizontal direction, and the wheel horizontal speed follows the horizontal speed command value. A load angle command calculation unit that calculates a load angle command value that is an inclination angle of the load body.
他方、上記目的を達成するための本発明の他の態様は、負荷体と該負荷体に回転可能に連結された車輪とを有する移動体本体を備え、前記車輪の駆動を制御して、前記負荷体の倒立制御を行う倒立型移動体の制御方法であって、前記移動体本体の状態量を検出する工程と、前記移動体本体が所望の走行状態となる指令値を生成する工程と、前記検出された状態量に基づいて、前記負荷体の重心と前記車輪の重心との距離である負荷車輪重心間距離を推定する工程と、前記検出された状態量と、前記生成された指令値と、前記推定された負荷車輪重心間距離と、に基づいて、前記車輪を駆動するためのトルク指令値を生成する工程と、を含むことを特徴とする倒立型移動体の制御方法であってもよい。 On the other hand, another aspect of the present invention for achieving the above object includes a mobile body having a load body and a wheel rotatably connected to the load body, and controls driving of the wheel, An inverted moving body control method for performing inversion control of a load body, the step of detecting a state quantity of the moving body main body, and the step of generating a command value for the moving body main body to be in a desired running state; Estimating a distance between the load wheel center of gravity, which is a distance between the center of gravity of the load body and the center of gravity of the wheel, based on the detected state quantity, the detected state quantity, and the generated command value And a step of generating a torque command value for driving the wheel based on the estimated distance between the load wheel centers of gravity, and a control method for an inverted moving body, comprising: Also good.
また、上記目的を達成するための本発明の他の態様は、負荷体と該負荷体に回転可能に連結された車輪とを有する移動体本体を備え、前記車輪の駆動を制御して、前記負荷体の倒立制御を行う倒立型移動体の制御プログラムであって、前記移動体本体が所望の走行状態となる指令値を生成する処理と、前記移動体本体の状態量に基づいて、前記負荷体の重心と前記車輪の重心との距離である負荷車輪重心間距離を推定する処理と、前記移動体本体の状態量と、前記生成された指令値と、前記推定された負荷車輪重心間距離と、に基づいて、前記車輪を駆動するためのトルク指令値を生成する処理と、をコンピュータに実行させる倒立型移動体の制御プログラムであってもよい。 Further, another aspect of the present invention for achieving the above object includes a moving body main body having a load body and a wheel rotatably connected to the load body, and controlling the driving of the wheel, An inverted moving body control program for performing inversion control of a load body, wherein the load body is based on a process for generating a command value for the mobile body body to enter a desired running state, and a state quantity of the mobile body body. A process of estimating the distance between the load wheel centers of gravity, which is the distance between the center of gravity of the body and the center of gravity of the wheels, the state quantity of the mobile body, the generated command value, and the estimated distance between the center of gravity of the load wheels And a program for generating a torque command value for driving the wheel based on the control program for causing the computer to execute the process.
本発明によれば、より安定的に走行することができる倒立型移動体、その制御方法及び制御プログラムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the inverted type mobile body which can drive | work more stably, its control method, and a control program can be provided.
以下、図面を参照して本発明の一実施形態について説明する。図1は、本発明の一実施形態に係る倒立型移動体の概略的なシステム構成を示すブロック図である。本実施形態に係る倒立型移動体100は、制御対象としての移動体本体140と、移動体本体140の状態量を検出する検出器150と、移動体本体140が所望の走行状態となる指令値を生成する指令器110と、移動体本体140における後述の負荷車輪重心間距離lを推定する推定器120と、負荷車輪重心間距離lに基づいて、移動体本体140の制御を実行する制御器130と、を備えている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a schematic system configuration of an inverted moving body according to an embodiment of the present invention. The inverted moving
移動体本体140は、単数又は複数の(例えば、二輪の)車輪を駆動して、任意の位置に移動可能な移動体であり、倒立状態を維持して走行を行う。移動体本体140としては、例えば、図5に示すように、搭乗者の重心移動によって走行操作を行う同軸二輪車や、図6に示すように、倒立状態を維持しつつ胴体を傾斜させて走行する倒立型自律走行ロボットなどが適用可能であるが、これに限らず、車輪を用いた走行手段と、走行手段に連結された負荷体とを備え、負荷体の倒立状態を維持する倒立制御を行う任意の車両に適用可能である。
The
例えば、移動体本体140は、図7に示すように、4輪の走行手段701上に揺動可能にリンク機構702が連結された構成であってもよい。また、リンク機構702の上部にカゴ状部材703を取付け、このカゴ状部材703上に物品等を載置して運搬してもよい。
For example, as shown in FIG. 7, the moving body
図2は、図7に示す倒立型の移動体本体140をモデル化したモデル図である。図2において、移動体本体140は路面203上を、倒立状態を維持して走行するものであり、車輪202と、車輪202に連結された負荷体201と、を有している。
FIG. 2 is a model diagram modeling the inverted
負荷体201は、例えば、ロボットのボディや、移動体本体140に乗車する人または積載する荷物等を含んでいる。また、車輪202は、負荷体201を乗せた状態で、回転することにより路面203との摩擦力を利用して移動することができる。さらに、移動体本体140は、例えば、負荷体201を前傾又は後傾させたときの負荷体201の傾斜角度θ1に応じて、前進又は後進するように構成されている。
The
図1に示すように、検出手段の一具体例である検出器150は、移動体本体140に設けられており、移動体本体140の状態量を検出することができる。検出器150は、例えば、負荷体201の傾斜角度θ1を検出する姿勢センサ、車輪202の回転角度θ2を検出する回転センサ、などの移動体本体140の状態量を検出できる任意のセンサを含んでいる。検出器150は、検出した負荷体201の傾斜角度θ1、車輪202の回転角度θ2等を、移動体本体140の状態量として推定器120及び制御器130に対して出力する。
As shown in FIG. 1, a
指令手段の一具体例である指令器110は、例えば、搭乗者による走行操作(ハンドル操作、スイッチ操作、重心移動操作等)に応じて、移動体本体140が所望の走行状態(前後進、加減速、左右旋回、停止等)となる指令値を生成する。また、指令器110は、水平速度指令生成部111と、負荷角度指令演算部112と、を有している。
The
水平速度指令生成部111は、例えば、搭乗者による走行操作に応じて、車輪202の水平方向への移動速度の指令値である水平速度指令値を生成する。水平速度指令生成部111は、生成した水平速度指令値を負荷角度指令演算部112に対して出力する。
For example, the horizontal speed
負荷角度指令演算部112は、例えば、移動体本体140が走行する路面203が水平である場合に、後述の水平速度演算部121により算出された車輪水平速度が水平速度指令生成部111により生成された水平速度指令値に追従するような負荷体201の傾斜角度θ1である負荷角度指令値を算出する。負荷角度指令演算部112は、算出した負荷角度指令値を制御器130に対して出力する。
For example, when the
推定手段の一具体例である推定器120は、検出器150からの移動体本体140の状態量に基づいて、移動体本体140の負荷車輪重心間距離lを推定する。ここで、負荷車輪重心間距離lとは、負荷体201の重心と車輪202の重心との間の距離を指す。また、推定器120は、水平速度演算部121と、垂直加速度演算部122と、多項式係数演算部123と、重心間距離演算部124と、を有している。
The
水平速度演算部121は、例えば、検出器150からの車輪202の回転角度θ2に基づいて、車輪202の水平方向への移動速度である車輪水平速度を算出する。水平速度演算部121は、算出した車輪水平速度を多項式係数演算部123に対して出力する。
For example, the horizontal
垂直加速度演算部122は、検出器150からの移動体本体140の状態量に基づいて、下記(12)式を用いて車輪202の垂直方向への加速度である車輪垂直加速度を算出する。このように、加速度センサを用いることなく車輪垂直加速度を算出することで、コスト低減に繋がる。なお、垂直加速度演算部122は、加速度センサにより検出された車輪202の加速度を用いて、車輪垂直加速度を求めてもよい。垂直加速度演算部122は、算出した車輪垂直加速度を多項式係数演算部123に対して出力する。
Based on the state quantity of the moving body
多項式係数演算部123は、水平速度演算部121からの車輪水平速度と、垂直加速度演算部122からの車輪垂直加速度と、に基づいて、移動体本体140の運動方程式を負荷車輪重心間距離lの多項式として表し、その多項式の係数である重心間距離係数を算出する。多項式係数演算部123は、算出した重心間距離係数を、重心間距離演算部124に対して出力する。
The polynomial
重心間距離演算部124は、多項式係数演算部123からの重心間距離係数を用いて、移動体本体140の運動方程式を負荷車輪重心間距離lについて解き、負荷車輪重心間距離lを算出する。重心間距離演算部124は、算出した負荷車輪重心間距離lを制御器130に対して出力する。
The center-of-gravity
制御手段の一具体例である制御器130は、検出器150からの状態量と、指令器110からの負荷角度指令値と、推定器120からの負荷車輪重心間距離lと、に基づいて、移動体本体140の駆動を制御する。制御器130は、制御調整部131と、トルク指令演算部132と、を有している。
Based on the state quantity from the
制御調整部131は、推定器120の重心間距離演算部124からの負荷車輪重心間距離lに基づいて、トルク指令演算部132の制御パラメータや制御則を調整する。
The
トルク指令演算部132は、検出器150からの移動体本体140の状態量と、指令器110からの負荷角度指令値と、推定器120からの負荷車輪重心間距離lと、に基づいて、例えば、移動体本体140が走行する路面203が水平な場合に、車輪水平速度が水平速度指令値に追従するようなトルク指令値Trefを算出する。制御器130は、トルク指令演算部132により算出されたトルク指令値Trefに基づいて、移動体本体140の車輪202の駆動を制御する。
Based on the state quantity of the moving
なお、指令器110、推定器120、及び制御器130は、例えば、制御処理、演算処理等を行うCPU(Central Processing Unit)、CPUによって実行される制御プログラム、演算プログラム等が記憶されたROM(Read Only Memory)、処理データ等を一時的に記憶するRAM(Random Access Memory)等からなるマイクロコンピュータを中心にしてハードウェア構成することができる。
The
次に、図2に示す倒立型の移動体本体140のモデルを用いて、本実施形態に係る倒立型移動体100の具体的な倒立制御について説明する。なお、図2において、負荷体201の質量をm1、負荷体201の慣性モーメントをJ1、車輪202の質量をm2、車輪202の慣性モーメントをJ2、負荷車輪重心間距離をl、車輪202の半径をr、負荷体201の傾斜角度をθ1、車輪202の回転角度をθ2、トルク指令演算部132が出力するトルク指令値をTref、とする。
Next, specific inversion control of the inverted
まず、移動体本体140の運動エネルギーT及びポテンシャルエネルギーVを、下記(1)及び(2)式を用いて、下記(3)及び(4)式のように表すことができる。ここで、下記(1)及び(2)式において、車輪202の水平位置をx2、車輪202の垂直位置をy2、負荷体201の水平位置をx1、負荷体201の垂直位置をy1とする。
First, the kinetic energy T and the potential energy V of the moving
また、上記(3)及び(4)式と、オイラーラグランジュ方程式とを用いて、移動体本体140の運動方程式を、下記(5)乃至(8)式のように求めることができる。但し、下記(8)式において、gは重力加速度である。
Further, using the above equations (3) and (4) and the Euler-Lagrange equation, the equation of motion of the moving
さらに、車輪202と路面203の間の粘性摩擦を考慮して、上記(6)及び(7)式を、下記(9)及び(10)式のように書き換えることができる。なお、下記(9)及び(10)式において、Dは粘性摩擦係数とする。
Further, considering the viscous friction between the
また、上記(9)及び(10)式を用いて、下記(11)式を求めることができる。
Moreover, the following (11) Formula can be calculated | required using said (9) and (10) Formula.
さらに、上記(5)式から上記(11)式を減算し、下記(12)式を得ることができる。
Further, the following equation (12) can be obtained by subtracting the above equation (11) from the above equation (5).
なお、上記(12)式において、Nxは車輪202の水平位置x2をパラメータとした非線形項であり、Nyは車輪202の垂直位置y2をパラメータとした非線形項である。また、負荷体201の慣性モーメントJ1は、負荷車輪重心間距離lの2乗に比例する部分とそれ以外の和として表すことができるので、負荷体201の慣性モーメント定数cJを用いて、下記(13)式のように表すことができる。
In the above equation (12), N x is a nonlinear term using the horizontal position x 2 of the
さらに、上記(13)式を上記(12)式に代入し、下記(14)式を得ることができる。ここで、トルク指令値Trefは、負荷車輪重心間距離lの関数でないものとする。
Furthermore, the following equation (14) can be obtained by substituting the above equation (13) into the above equation (12). Here, it is assumed that the torque command value T ref is not a function of the load wheel center-of-gravity distance l.
多項式係数演算部123は、検出器150からの負荷体201の傾斜角度θ1と、車輪202の回転角度θ2と、に基づいて、車輪202の水平位置x2及び垂直位置y2を算出する。そして、多項式係数演算部123は、検出器150からの負荷体201の傾斜角度θ1及び車輪202の回転角度θ2と、算出した車輪202の水平位置x2及び垂直位置y2と、に基づいて、上記(14)式を用いて、重心間距離係数a0、a1、a2を算出する。多項式係数演算部123は、算出した重心間距離係数a0、a1、a2を、重心間距離演算部124に対して出力する。
The polynomial
重心間距離演算部124は、多項式係数演算部123からの重心間距離係数a0、a1、a2を用いて、移動体本体140の運動方程式である上記(14)式を負荷車輪重心間距離lについて解き、下記(15)式を求め、この(15)式に基づいて、負荷車輪重心間距離lを算出する。
The center-of-gravity
なお、上記(15)式において、δ1は負荷車輪重心間距離lの算出方法(推定式)を切り替えるための、負荷体201の傾斜角加速度(傾斜角度θ1の2回時間微分)の閾値である負荷体加速度切替値である。上述したように、重心間距離演算部124は、上記(15)式において、負荷体201の傾斜角加速度(以下、負荷体加速度と称す)に応じて、負荷車輪重心間距離lの算出方法を切り替える。これにより、負荷体加速度が小さい場合でも精度よく負荷車輪重心間距離lを算出することができる。
In the above equation (15), δ 1 is a threshold value of the inclination angular acceleration (two-time differential of the inclination angle θ 1 ) of the
また、重心間距離演算部124は、下記(16)式に示すように、算出した負荷車輪重心間距離l0に対してローパスフィルタLPF()を適用することで、負荷車輪重心間距離lを算出してもよい。これにより、負荷体加速度が負荷体加速度切替値δ1を通過する時に、負荷車輪重心間距離lは滑らかに変化し、結果として制御調整部131によって制御パラメータが滑らかに変化する。したがって、例えば、移動体本体140に乗車した搭乗者がしゃがんだり、或いは積載した荷物が荷崩れした場合でも、移動体本体140が振動することなく滑らかに走行を継続することができる。すなわち、移動体本体140は、より安定的に走行することができる。
Further, as shown in the following equation (16), the center-of-gravity
なお、上記(16)式において、l0は負荷車輪重心間距離lの調整前の値であり、LPF()はローパスフィルタ関数である。このように、重心間距離演算部124は、負荷車輪重心間距離l0に対してローパスフィルタを適用することにより、上記(16)式の切替時においても負荷車輪重心間距離lが滑らかに変化するため、移動体本体140の動作をより滑らかに継続させることができる。
In the above equation (16), l 0 is a value before adjustment of the load wheel center-of-gravity distance l, and LPF () is a low-pass filter function. Thus, the distance between the centers of
重心間距離演算部124は、上述のようにして求めた負荷車輪重心間距離lを、制御器130に対して出力する。
The center-of-gravity
制御器130は、重心間距離演算部124からの負荷車輪重心間距離lを用いて、移動体本体140の駆動を制御する。ここで、上記(12)式を用いて、非線形トルクNx+Nyを下記(17)式のように表すことができる。なお、下記(17)及び(18)式において、d1及びd0は負荷体201の傾斜角度θ1及び車輪202の回転角度θ2の関数である。また、d1は、移動体本体140の運動方程式における非線形項のうち、負荷体201の傾斜角速度に比例する項の係数であり、d0は、移動体本体140の運動方程式における非線形項のうち、負荷体201の傾斜角速度に比例しない項の係数である。
The
トルク指令演算部132は、下記(18)式を用いて、移動体本体140の車輪202を駆動するためのトルク指令値Trefを算出する。
The torque
なお、上記(18)式において、δaは、上記算出式(算出方法)を切り替える際の負荷体加速度の閾値であり、dm0は、負荷体201の傾斜角度θ1と車輪202の回転角度θ2の関数である。また、σは、負荷体201の傾斜角度θ1が負荷角度指令演算部112により算出された負荷角度指令値に収束する速さを表す収束度であり、uは、移動体本体140の運動方程式の線形部分であり、下記(19)式を収束度σで安定化するための線形化トルク指令値である。
In the equation (18), δ a is a threshold value of the load body acceleration when the calculation equation (calculation method) is switched, and d m0 is the inclination angle θ 1 of the
制御調整部131は、上記(18)式においてδaの判定を行い、トルク指令値Trefを求めるための上記算出式の切替を指示する。また、制御調整部131は、重心間距離演算部124からの負荷車輪重心間距離lを用いて、トルク指令演算部132の比例制御等における制御ゲイン(負荷車輪重心間距離lの関数)の設定を行う。
The
このように、トルク指令演算部132は、上記(18)式を用いて、負荷体加速度の大きさに応じてトルク指令値Trefの上記算出式を切替える。これにより、例えば、移動体本体140が加減速していない時において、トルク指令値Trefの算出が簡単となり、CPUの負荷を軽減でき、電気ハードの発熱量等も低減することができる。
Thus, the torque
なお、トルク指令演算部132は、上記(18)式の代わりに下記(20)式を用いて、トルク指令値Trefを算出してもよい。
The torque
制御器130は、トルク指令演算部132により算出されたトルク指令値Trefに基づいて、移動体本体140に設けられたモータ等の駆動手段を制御することで、車輪202の駆動を制御する。
The
上述のように、制御器130は、(18)又は(20)式のように、負荷車輪重心間距離lを用いてトルク指令値Trefを算出することにより、例えば、移動体本体140の搭乗者がしゃがんだり立ったりして姿勢を変化させ、あるいは移動体本体140に積載した荷物等が荷崩れして、その重心位置が大きく変化した場合でも、負荷体201の傾斜角度θ1は常に収束度σで負荷角度指令値に収束する。したがって、移動体本体140を安定的に走行させることができる。
As described above, the
なお、推定器120が負荷車輪重心間距離lを推定する間、制御器130のトルク指令演算部132は、トルク指令値Trefを一定値として算出してもよい。これにより、負荷車輪重心間距離lがトルク指令値Trefに含まれるノイズによって影響を受けるのを低減でき、負荷車輪重心間距離lの推定精度を向上させることができる。例えは、トルク指令演算部132は、推定器120が負荷車輪重心間距離lの推定を開始したときのトルク指令値Trefを、上記一定値としてもよく、実質的に0を一定値としてもよい。
In addition, while the
次に、図2に示す倒立型の移動体本体140のモデルを用いて行ったシミュレーションについて、説明する。
Next, the simulation performed using the model of the inverted movable body
なお、本シミュレーションにおいて、m1=70[kg]、rl=0.6[m]、cJ=1/12*m1*4[kg]、c0=1/12*m1*3*rl 2[kg]、l0=0.9[m]、J1=(m1+cJ)*l2+c0、r=0.1[m]、m2=15[kg]、J2=m2*r2/2[kg*m2]、g=9.8[m/s2]、T=1×10−3[s]、Kp=10[s−1]、Kv=10*2*π[s−1]、Kvj=Kv*J1、とする。 In this simulation, m 1 = 70 [kg], r 1 = 0.6 [m], c J = 1/12 * m 1 * 4 [kg], c 0 = 1/12 * m 1 * 3 * R l 2 [kg], l 0 = 0.9 [m], J 1 = (m 1 + c J ) * l 2 + c 0 , r = 0.1 [m], m 2 = 15 [kg], J 2 = m 2 * r 2 /2 [kg * m 2], g = 9.8 [m / s 2], T = 1 × 10 -3 [s], K p = 10 [s -1], Let K v = 10 * 2 * π [s −1 ] and K vj = K v * J 1 .
また、m1は負荷体201の質量、rlは搭乗者の肩幅の半分、cJは搭乗者を円筒に近似したときの上記(13)式における負荷車輪重心間距離lの2乗に比例する項の係数、c0は搭乗者を円筒に近似したときの上記(13)式における負荷車輪重心間距離lによらない項、l0は初期状態での負荷車輪重心間距離l、J1は負荷体201の慣性モーメント、m2は車輪202の質量、rは車輪202の半径、J2は車輪202の慣性モーメント、gは重力加速度、Tは制御周期、Kpは位置比例制御ゲイン、Kvは正規化速度比例制御ゲイン、Kvjは速度比例制御ゲイン、である。
M 1 is the mass of the
さらに、本シミュレーションにおいて、トルク指令演算部132は、位置比例制御ゲインKpと速度比例制御ゲインKvjをパラメータとした位置比例/速度比例制御により、上記(19)式の線形化トルク指令値uを算出して、移動体本体140の車輪202を駆動制御する。以下、負荷車輪重心間距離lを下記(21)式のように変化させた場合において、本発明に係る倒立制御を適用した場合と適用しない場合との比較を示す。
Further, in this simulation, the torque
図3は、推定器により推定される負荷車輪重心間距離の推定値に関するシミュレーション結果の一例を示す図である。なお、図3において、実線は負荷車輪重心間距離lの真値を示し、破線は推定器120により推定された負荷車輪重心間距離lの推定値を示す。図3に示すように、負荷車輪重心間距離lの推定値は、負荷車輪重心間距離lの真値に対して追従し、これら推定値と真値は重複しており、良好な結果が得られていることが分かる。
FIG. 3 is a diagram illustrating an example of a simulation result regarding the estimated value of the distance between the centers of gravity of the loaded wheels estimated by the estimator. In FIG. 3, the solid line indicates the true value of the load wheel center-of-gravity distance l, and the broken line indicates the estimated value of the load wheel center-of-gravity distance l estimated by the
図4は、本実施形態に係る倒立型移動体100と従来技術とにおいて、負荷体201の傾斜角度θ1の時間変化を比較した図である。なお、図4において、実線(1)は本実施形態に係る負荷体201の傾斜角度θ1の時間変化を示し、一点鎖線(2)は従来技術に係る負荷体の傾斜角度θ1の時間変化を示し、点線(3)は指令器110の負荷角度指令値を示している。また、この従来技術においては、同一の制御ゲインを用いて位置比例/速度比例制御のみが実行されているものとする。
Figure 4 is the
図4に示すように、従来技術(一点鎖線(2))においては、約3[s]後に負荷体の傾斜角度θ1が発散し、移動体本体が転倒していることが分かる。一方で、本実施形態(実線(1))においては、負荷体201の傾斜角度θ1は0.1rad以下に抑えられおり、、移動体本体140は、指令器110からの負荷角度指令値に応じて、常時安定的に動作していることが分かる。このように、本実施形態に係る倒立型移動体100においては、移動体本体140の搭乗者や積載荷物等の重心位置が大きく変化した場合でも、振動的な動作をすることなく、また、不安定となり転倒することなく、安全に走行または停止の状態を継続させることができる。
As shown in FIG. 4, it can be seen that in the conventional technique (dashed line (2)), the inclination angle θ 1 of the load body diverges after about 3 [s], and the mobile body is overturned. Meanwhile, in the present embodiment (solid line (1)),
次に、本実施形態に係る倒立型移動体100の制御方法について、詳細に説明する。図8は、本実施形態に係る倒立型移動体の制御処理フローの一例を示すフローチャートである。
Next, a method for controlling the inverted moving
検出器150は、負荷体201の傾斜角度θ1、車輪202の回転角度θ2等の移動体本体140の状態量を検出し(ステップS101)、推定器120及び制御器130に対して出力する。
The
また、指令器110の水平速度指令生成部111は、搭乗者による走行操作に応じて、車輪202の水平方向への移動速度である水平速度指令値を生成し(ステップS102)、生成した水平速度指令値を負荷角度指令演算部112に対して出力する。
Further, the horizontal speed
次に、負荷角度指令演算部112は、水平速度指令生成部111からの水平速度指令値に基づいて、負荷角度指令値を算出し(ステップS103)、算出した負荷角度指令値を制御器130に対して出力する。
Next, the load angle
一方、推定器120の水平速度演算部121は、例えば、検出器150からの車輪202の回転角度θ2に基づいて車輪水平速度を算出し(ステップS104)、算出した車輪水平速度を多項式係数演算部123に対して出力する。
On the other hand, the horizontal
また、垂直加速度演算部122は、上記(12)式を用いて車輪垂直加速度を算出し(ステップS105)、算出した車輪垂直加速度を多項式係数演算部123に対して出力する。
Further, the vertical
その後、多項式係数演算部123は、水平速度演算部121からの車輪水平速度と、垂直加速度演算部122からの車輪垂直加速度と、に基づいて、重心間距離係数を算出し(ステップS106)、算出した重心間距離係数を、重心間距離演算部124に対して出力する。
Thereafter, the polynomial
そして、重心間距離演算部124は、多項式係数演算部123からの重心間距離係数に基づいて、負荷車輪重心間距離lを算出し(ステップS107)、算出した負荷車輪重心間距離lを制御器130に対して出力する。
The center-of-gravity
次に、制御器130の制御調整部131は、重心間距離演算部124からの負荷車輪重心間距離lに基づいて、トルク指令演算部132の制御パラメータや制御則を調整する(ステップS108)。
Next, the
トルク指令演算部132は、検出器150からの移動体本体140の状態量と、指令器110からの負荷角度指令値と、重心間距離演算部124からの負荷車輪重心間距離lと、に基づいて、上記(18)又は(20)式を用いて、トルク指令値Trefを算出する(ステップS109)。
The torque
制御器130は、トルク指令演算部132により算出されたトルク指令値Trefに基づいて、移動体本体140の車輪202の駆動を制御する(ステップS110)。
The
以上、本実施形態に係る倒立型移動体100において、推定器120は負荷車輪重心間距離lを推定し、制御器130はこの負荷車輪重心間距離lに基づいてトルク指令値Trefを算出し、倒立制御を行う。これにより、例えば、移動体本体140の搭乗者が姿勢を変更した場合や、積載荷物などが崩れた場合等の重心位置が大きく変化した場合でも、振動的な動作をすることなく、また不安定となり転倒することなく、安全に走行または停止の状態を継続させることができる。すなわち、倒立型移動体100はより安定的に走行することができる。
As described above, in the inverted
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。また、上述の実施形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。この場合、コンピュータプログラムは、記録媒体に記録して提供することも可能であり、また、インターネットその他の通信媒体を介して伝送することにより提供することも可能である。また、記憶媒体には、例えば、フレキシブルディスク、ハードディスク、磁気ディスク、光磁気ディスク、CD−ROM、DVD、ROMカートリッジ、バッテリバックアップ付きRAMメモリカートリッジ、フラッシュメモリカートリッジ、不揮発性RAMカートリッジ等が含まれる。また、通信媒体には、電話回線等の有線通信媒体、マイクロ波回線等の無線通信媒体等が含まれる。 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. In the above-described embodiment, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also realize arbitrary processing by causing a CPU (Central Processing Unit) to execute a computer program. In this case, the computer program can be provided by being recorded on a recording medium, or can be provided by being transmitted via the Internet or another communication medium. The storage medium includes, for example, a flexible disk, hard disk, magnetic disk, magneto-optical disk, CD-ROM, DVD, ROM cartridge, RAM memory cartridge with battery backup, flash memory cartridge, and nonvolatile RAM cartridge. The communication medium includes a wired communication medium such as a telephone line, a wireless communication medium such as a microwave line, and the like.
本発明は、例えば、2輪倒立で走行するロボット、電動車椅子、自動搬送装置、災害時の人命救助など狭い場所で作業するロボット、振動に弱い電子部品の組立装置などに広く適用できる。 The present invention can be widely applied to, for example, a robot that runs with two wheels inverted, an electric wheelchair, an automatic transfer device, a robot that works in a narrow place such as lifesaving in a disaster, and an assembly device for electronic components that are vulnerable to vibration.
100 倒立型移動体
110 指令器
111 水平速度指令生成部
112 負荷角度指令演算部
120 推定器
121 水平速度演算部
122 垂直加速度演算部
123 多項式係数演算部
124 重心間距離演算部
130 制御器
131 制御調整部
132 トルク指令演算部
140 移動体本体
150 検出器
201 負荷体
202 車輪
203 路面
DESCRIPTION OF
Claims (12)
前記移動体本体の状態量を検出する検出手段と、
前記移動体本体が所望の走行状態となる指令値を生成する指令手段と、
前記検出手段により検出された状態量に基づいて、前記負荷体の重心と前記車輪の重心との距離である負荷車輪重心間距離を推定する推定手段と、
前記検出手段により検出された状態量と、前記指令手段により生成された指令値と、前記推定手段により推定された負荷車輪重心間距離と、に基づいて、前記車輪を駆動するためのトルク指令値を生成し、前記倒立制御を行う制御手段と、
を備え、
前記推定手段は、
前記検出手段により検出された移動体本体の状態量に基づいて、前記車輪の水平方向への移動速度である車輪水平速度を算出する水平速度演算部と、
前記検出手段により検出された移動体本体の状態量に基づいて、前記車輪の垂直方向への加速度である車輪垂直加速度を算出する垂直加速度演算部と、
前記水平速度演算部により算出された車輪水平速度と、前記垂直加速度演算部により算出された車輪垂直加速度と、に基づいて、前記移動体本体の運動方程式を前記負荷車輪重心間距離の多項式として表し、該多項式の係数を算出する多項式係数演算部と、
前記多項式係数演算部により算出された前記多項式の係数に基づいて、前記負荷車輪重心間距離を算出する重心間距離演算部と、
を有することを特徴とする倒立型移動体。 A moving body having a load body and a wheel rotatably connected to the load body, an inverted moving body for controlling the driving of the wheel and performing an inversion control of the load body,
Detecting means for detecting a state quantity of the mobile body;
Command means for generating a command value at which the mobile body is in a desired running state;
Estimating means for estimating a distance between the load wheel center of gravity, which is a distance between the center of gravity of the load body and the center of gravity of the wheel, based on the state quantity detected by the detection unit;
Torque command value for driving the wheel based on the state quantity detected by the detection means, the command value generated by the command means, and the distance between the load wheel centers of gravity estimated by the estimation means And control means for performing the inversion control,
Equipped with a,
The estimation means includes
A horizontal speed calculation unit that calculates a wheel horizontal speed, which is a moving speed of the wheel in the horizontal direction, based on a state quantity of the movable body detected by the detection unit;
A vertical acceleration calculation unit that calculates a wheel vertical acceleration that is an acceleration in the vertical direction of the wheel, based on a state quantity of the moving body detected by the detection unit;
Based on the wheel horizontal speed calculated by the horizontal speed calculation unit and the wheel vertical acceleration calculated by the vertical acceleration calculation unit, the equation of motion of the mobile body is expressed as a polynomial in the distance between the load wheel centers of gravity. A polynomial coefficient calculation unit for calculating coefficients of the polynomial;
Based on the coefficient of the polynomial calculated by the polynomial coefficient calculation unit, the center-of-gravity distance calculation unit that calculates the load wheel center-of-gravity distance,
An inverted mobile body characterized by comprising:
前記多項式係数演算部は、次式により前記多項式の係数a2、a1、a0を算出することを特徴とする倒立型移動体。
但し、m1は前記負荷体の質量を表し、cJは前記負荷体の慣性モーメント定数を表し、m2は前記車輪の質量を表し、J2は前記車輪の慣性モーメントを表し、x2は前記車輪の水平位置を表し、y2は前記車輪の垂直位置を表し、rは前記車輪の半径を表し、θ1は前記負荷体の傾斜角度を表し、θ2は前記車輪の回転角度を表し、Trefは前記トルク指令値を表す。 The inverted mobile body according to claim 1 ,
The polynomial coefficient calculator calculates the coefficients a 2 , a 1 , a 0 of the polynomial according to the following equation, and is an inverted mobile body.
Where m 1 represents the mass of the load body, c J represents the moment of inertia constant of the load body, m 2 represents the mass of the wheel, J 2 represents the moment of inertia of the wheel, and x 2 represents the horizontal position of the wheel, y 2 represents the vertical position of the wheel, r is represents the radius of the wheel, theta 1 represents the inclination angle of the load body, theta 2 represents the rotation angle of the wheel , T ref represents the torque command value.
前記重心間距離演算部は、前記検出手段により検出された負荷体の傾斜角加速度に応じて、前記負荷車輪重心間距離の算出方法を切換える、ことを特徴とする倒立型移動体。 The inverted mobile body according to claim 1 or 2 ,
The center-of-gravity distance calculation unit switches the calculation method of the distance between the load wheel centers of gravity according to the inclination angular acceleration of the load body detected by the detection means.
前記重心間距離推定部は、次式により負荷車輪重心間距離lを算出することを特徴とする倒立型移動体。
但し、a2、a1、a0は前記多項式の係数を表し、δ1は負荷車輪重心間距離lの前記算出方法を切り替えるための前記負荷体の傾斜角加速度の閾値を表す。 An inverted mobile object according to claim 3 ,
The center-of-gravity distance estimation unit calculates the distance l between load wheel centers of gravity according to the following equation.
However, a 2, a 1, a 0 represents the coefficient of the polynomial, [delta] 1 represents the threshold of the tilt angular acceleration of the load member for switching the calculation method of the load wheel distance between center of gravity l.
前記重心間距離演算部は、前記算出した負荷車輪重心間距離に対してローパスフィルタを適用する、ことを特徴とする倒立型移動体。 The inverted mobile body according to any one of claims 1 to 4 ,
The center-of-gravity distance calculation unit applies a low-pass filter to the calculated load wheel center-of-gravity distance.
前記制御手段は、
前記検出手段により検出された状態量と、前記指令手段により生成された指令値と、前記推定手段により推定された負荷車輪重心間距離と、に基づいて、前記移動体本体の車輪を駆動するためのトルク指令値を算出するトルク指令演算部と、
前記推定手段により推定された負荷車輪重心間距離に基づいて、前記トルク指令演算部の制御を調整する制御調整部と、
を有することを特徴とする倒立型移動体。 The inverted mobile body according to any one of claims 1 to 5 ,
The control means includes
Based on the state quantity detected by the detection means, the command value generated by the command means, and the load wheel center-of-gravity distance estimated by the estimation means, to drive the wheels of the mobile body. A torque command calculation unit for calculating the torque command value of
A control adjustment unit for adjusting the control of the torque command calculation unit based on the distance between the load wheel centers of gravity estimated by the estimation unit;
An inverted mobile body characterized by comprising:
前記トルク指令演算部は、前記検出手段により検出された負荷体の傾斜角加速度に応じて、トルク指令値の算出方法を切換える、ことを特徴とする倒立型移動体。 An inverted mobile object according to claim 6 ,
The inverted moving body characterized in that the torque command calculation unit switches a calculation method of a torque command value according to the inclination angular acceleration of the load body detected by the detecting means.
前記トルク指令演算部は、次式により前記トルク指令値Trefを算出することを特徴とする倒立型移動体。
但し、d1は前記移動体本体の運動方程式における非線形項のうち、前記負荷体の傾斜角速度に比例する項の係数であり、d0は前記移動体本体の運動方程式における非線形項のうち、前記負荷体の傾斜角速度に比例しない項の係数であり、δaは前記算出方法を切り替える際の前記負荷体の傾斜角加速度の閾値であり、dm0は前記負荷体の傾斜角度θ1と前記車輪の回転角度θ2の関数であり、uは前記移動体本体の運動方程式の線形部分を安定化するための線形化トルク指令値であり、σは前記負荷体の傾斜角度θ1が前記指令値に収束する速さを表す収束度である。 The inverted moving body according to claim 7 ,
The torque command calculation unit calculates the torque command value T ref according to the following formula, and is an inverted moving body.
However, d 1 among the nonlinear terms in the equation of motion of said mobile body, a coefficient term proportional to the inclination angular speed of the load body, d 0 is out of the non-linear terms in the equation of motion of said mobile body, wherein Is a coefficient of a term that is not proportional to the inclination angle velocity of the load body, δ a is a threshold value of the inclination angle acceleration of the load body when switching the calculation method, and d m0 is the inclination angle θ 1 of the load body and the wheel of the rotation angle theta is the second function, u is the linearized torque command value to stabilize the linear part of the equation of motion of said mobile body, sigma is the inclination angle theta 1 is the command value of the load body Is the degree of convergence representing the speed of convergence.
前記推定手段が前記負荷車輪重心間距離を推定する間、前記トルク指令演算部は、前記トルク指令値を一定値とする、ことを特徴とする倒立型移動体。 The inverted mobile body according to any one of claims 6 to 8 ,
While the estimating means estimates the distance between the load wheel centers of gravity, the torque command calculation unit sets the torque command value to a constant value.
前記指令手段は、
前記車輪の水平方向への移動速度である水平速度指令値を生成する水平速度指令生成部と、
前記車輪水平速度が前記水平速度指令値に追従するような前記負荷体の傾斜角度である負荷角度指令値を算出する負荷角度指令演算部と、
を有することを特徴とする倒立型移動体。 The inverted mobile body according to any one of claims 1 to 9 ,
The command means includes
A horizontal speed command generating unit that generates a horizontal speed command value that is a moving speed of the wheel in the horizontal direction;
A load angle command calculation unit that calculates a load angle command value that is an inclination angle of the load body such that the wheel horizontal speed follows the horizontal speed command value;
An inverted mobile body characterized by comprising:
前記移動体本体の状態量を検出する工程と、
前記移動体本体が所望の走行状態となる指令値を生成する工程と、
前記検出された移動体本体の状態量に基づいて、前記車輪の水平方向への移動速度である車輪水平速度を算出する工程と、
前記検出された移動体本体の状態量に基づいて、前記車輪の垂直方向への加速度である車輪垂直加速度を算出する工程と、
前記算出された車輪水平速度と、前記算出された車輪垂直加速度と、に基づいて、前記移動体本体の運動方程式を前記負荷車輪重心間距離の多項式として表し、該多項式の係数を算出する工程と、
前記算出された前記多項式の係数に基づいて、前記負荷車輪重心間距離を算出する工程と、
前記検出された状態量と、前記生成された指令値と、前記推定された負荷車輪重心間距離と、に基づいて、前記車輪を駆動するためのトルク指令値を生成する工程と、
を含むことを特徴とする倒立型移動体の制御方法。 An inverted moving body control method comprising a moving body main body having a load body and a wheel rotatably connected to the load body, wherein the driving of the wheel is controlled to perform an inversion control of the load body. ,
Detecting a state quantity of the mobile body;
Generating a command value at which the mobile body is in a desired running state;
Calculating a wheel horizontal speed, which is a moving speed of the wheel in the horizontal direction, based on the detected state quantity of the moving body,
Calculating wheel vertical acceleration, which is acceleration in the vertical direction of the wheel, based on the detected state quantity of the mobile body;
Based on the calculated wheel horizontal speed and the calculated wheel vertical acceleration, expressing the equation of motion of the mobile body as a polynomial in the distance between the load wheel centers of gravity, and calculating the coefficient of the polynomial; ,
Calculating the load wheel center-of-gravity distance based on the calculated coefficient of the polynomial;
Generating a torque command value for driving the wheel based on the detected state quantity, the generated command value, and the estimated load wheel center-of-gravity distance;
A method for controlling an inverted moving body comprising:
前記移動体本体が所望の走行状態となる指令値を生成する処理と、
前記検出された移動体本体の状態量に基づいて、前記車輪の水平方向への移動速度である車輪水平速度を算出する処理と、
前記検出された移動体本体の状態量に基づいて、前記車輪の垂直方向への加速度である車輪垂直加速度を算出する処理と、
前記算出された車輪水平速度と、前記算出された車輪垂直加速度と、に基づいて、前記移動体本体の運動方程式を前記負荷車輪重心間距離の多項式として表し、該多項式の係数を算出する処理と、
前記算出された前記多項式の係数に基づいて、前記負荷車輪重心間距離を算出する処理と、
前記移動体本体の状態量と、前記生成された指令値と、前記推定された負荷車輪重心間距離と、に基づいて、前記車輪を駆動するためのトルク指令値を生成する処理と、
をコンピュータに実行させる倒立型移動体の制御プログラム。 A control program for an inverted mobile body comprising a mobile body having a load body and a wheel rotatably connected to the load body, wherein the drive of the wheel is controlled and the load body is inverted. ,
Processing for generating a command value for the mobile body to be in a desired running state;
Based on the detected state quantity of the moving body, a process of calculating a wheel horizontal speed that is a moving speed of the wheel in the horizontal direction;
Based on the detected state quantity of the moving body, a process of calculating a wheel vertical acceleration that is an acceleration in the vertical direction of the wheel;
Based on the calculated wheel horizontal speed and the calculated wheel vertical acceleration, the equation of motion of the mobile body is represented as a polynomial in the distance between the load wheel centers of gravity, and the coefficient of the polynomial is calculated. ,
Based on the calculated coefficient of the polynomial, a process of calculating the distance between the load wheel center of gravity,
A process of generating a torque command value for driving the wheel based on the state quantity of the mobile body, the generated command value, and the estimated distance between the load wheel centers of gravity.
A program for controlling an inverted moving body that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009215462A JP5316336B2 (en) | 2009-09-17 | 2009-09-17 | Inverted type moving body, its control method and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009215462A JP5316336B2 (en) | 2009-09-17 | 2009-09-17 | Inverted type moving body, its control method and control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011063120A JP2011063120A (en) | 2011-03-31 |
JP5316336B2 true JP5316336B2 (en) | 2013-10-16 |
Family
ID=43949838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009215462A Expired - Fee Related JP5316336B2 (en) | 2009-09-17 | 2009-09-17 | Inverted type moving body, its control method and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5316336B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7302554B2 (en) * | 2020-09-03 | 2023-07-04 | トヨタ自動車株式会社 | stand-up vehicle |
WO2023230777A1 (en) * | 2022-05-30 | 2023-12-07 | 北京小米机器人技术有限公司 | Balancing vehicle, control method and apparatus for robot, electronic device, and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4873305B2 (en) * | 2006-08-31 | 2012-02-08 | 株式会社エクォス・リサーチ | vehicle |
JP4793252B2 (en) * | 2006-12-21 | 2011-10-12 | 株式会社エクォス・リサーチ | vehicle |
JP5182123B2 (en) * | 2009-01-28 | 2013-04-10 | 株式会社エクォス・リサーチ | vehicle |
-
2009
- 2009-09-17 JP JP2009215462A patent/JP5316336B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011063120A (en) | 2011-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5761347B2 (en) | Inverted moving body control device, control method thereof, and program | |
JP4600539B2 (en) | TRAVEL DEVICE AND TRAVEL DEVICE CONTROL METHOD | |
JP4760162B2 (en) | Control method of mobile cart and mobile cart | |
JP4798181B2 (en) | MOBILE BODY, TRAVEL DEVICE, AND MOBILE BODY CONTROL METHOD | |
JP5790677B2 (en) | Movement control apparatus, moving body control method, and control program | |
JPWO2007013282A1 (en) | Inverted two-wheeled traveling robot and control method thereof | |
JP2008059497A (en) | MOBILE BODY AND METHOD FOR CONTROLLING MOBILE BODY | |
US11975787B2 (en) | Control device for mobile body | |
JP2013237324A (en) | Inverted pendulum type vehicle | |
JP2016120561A (en) | Transfer robot and transfer robot control method | |
JP5093185B2 (en) | Inverted moving body control device | |
JP5316336B2 (en) | Inverted type moving body, its control method and control program | |
US20140291044A1 (en) | Inverted pendulum type vehicle | |
JP5617595B2 (en) | Inverted moving body and control method thereof | |
JP2018184038A (en) | Inverted pendulum type vehicle | |
JP5772373B2 (en) | Inverted moving body control device and control method thereof | |
JP5652043B2 (en) | Inverted type moving body, its control method and control program | |
JP5786633B2 (en) | MOBILE BODY CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP5959927B2 (en) | Inverted pendulum type vehicle | |
JP5169989B2 (en) | Inverted moving body control device | |
JP5861651B2 (en) | MOBILE DEVICE, MOBILE DEVICE CONTROL METHOD, AND PROGRAM | |
JP5092683B2 (en) | Inverted wheel type moving body and control method thereof | |
JP6020386B2 (en) | MOBILE BODY, CONTROL METHOD, CONTROL PROGRAM | |
CN114604233A (en) | Control method and system of two-wheel drive independent steering motorcycle type robot | |
JP2013099972A (en) | Inverted mobile, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130205 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130327 |
|
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: 20130611 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130624 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5316336 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |