JP5240365B2 - Moving direction control device and computer program - Google Patents
Moving direction control device and computer program Download PDFInfo
- Publication number
- JP5240365B2 JP5240365B2 JP2011529845A JP2011529845A JP5240365B2 JP 5240365 B2 JP5240365 B2 JP 5240365B2 JP 2011529845 A JP2011529845 A JP 2011529845A JP 2011529845 A JP2011529845 A JP 2011529845A JP 5240365 B2 JP5240365 B2 JP 5240365B2
- Authority
- JP
- Japan
- Prior art keywords
- torque
- yaw
- friction torque
- angle
- yaw direction
- 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
- 238000004590 computer program Methods 0.000 title claims description 14
- 230000001133 acceleration Effects 0.000 claims description 36
- 238000004364 calculation method Methods 0.000 claims description 31
- 230000003068 static effect Effects 0.000 claims description 29
- 230000006870 function Effects 0.000 claims description 7
- 238000000034 method Methods 0.000 description 30
- 238000001514 detection method Methods 0.000 description 20
- 238000006243 chemical reaction Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 230000007423 decrease Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000005484 gravity Effects 0.000 description 2
- 230000002265 prevention Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005381 potential energy Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62K—CYCLES; CYCLE FRAMES; CYCLE STEERING DEVICES; RIDER-OPERATED TERMINAL CONTROLS SPECIALLY ADAPTED FOR CYCLES; CYCLE AXLE SUSPENSIONS; CYCLE SIDE-CARS, FORECARS, OR THE LIKE
- B62K11/00—Motorcycles, engine-assisted cycles or motor scooters with one or two wheels
- B62K11/007—Automatic balancing machines with single main ground engaging wheel or coaxial wheels supporting a rider
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62K—CYCLES; CYCLE FRAMES; CYCLE STEERING DEVICES; RIDER-OPERATED TERMINAL CONTROLS SPECIALLY ADAPTED FOR CYCLES; CYCLE AXLE SUSPENSIONS; CYCLE SIDE-CARS, FORECARS, OR THE LIKE
- B62K1/00—Unicycles
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/08—Control of attitude, i.e. control of roll, pitch, or yaw
- G05D1/0891—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for land vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Description
本発明は、一輪車であってもヨー方向へ自在に方向転換することができる移動方向制御装置及びコンピュータプログラムに関する。 The present invention relates to a moving direction control device and a computer program that can freely change the direction in the yaw direction even in a unicycle.
一輪車を移動させる場合、本体が略前後方向を軸とする回転方向(以下、ロール方向)及び略左右方向を軸とする回転方向(以下、ピッチ方向)に揺動することから、ロール方向及びピッチ方向の釣合いを制御することにより、本体が転倒することなく移動又は停止するよう動作を制御する必要がある。ロール方向及びピッチ方向の釣合いを制御するためには本体の傾きを正しく検出する必要があり、例えば角速度センサを用いて角速度を検出し、検出した角速度を積分することによって傾きを推定する方法等が採用されている(特許文献1参照)。 When the unicycle is moved, the main body swings in a rotation direction (hereinafter referred to as roll direction) whose axis is approximately the front-rear direction and in a rotation direction (hereinafter referred to as pitch direction) whose axis is approximately the left-right direction. By controlling the balance of directions, it is necessary to control the operation so that the main body moves or stops without falling down. In order to control the balance in the roll direction and the pitch direction, it is necessary to correctly detect the inclination of the main body. For example, there is a method of estimating the inclination by detecting the angular velocity using an angular velocity sensor and integrating the detected angular velocity. It is adopted (see Patent Document 1).
また、一輪車の場合、二輪車のように前輪の角度を変更することで容易に方向転換することができず、例えば本体をロール方向及びピッチ方向に揺動させることにより、略鉛直方向を軸とする回転方向(以下、ヨー方向)に回転させて、方向転換することが多い。すなわち、非特許文献1に開示しているように、ロール方向及びピッチ方向に正弦波入力を付与し、両正弦波入力の位相を変動させることによりヨー角変化量を変動させ、所望の方向へ方向転換するように車輪のヨー角をフィードバック制御する。
Further, in the case of a unicycle, the direction cannot be easily changed by changing the angle of the front wheels as in a two-wheel vehicle. For example, by swinging the main body in the roll direction and the pitch direction, the substantially vertical direction is used as an axis. The direction is often changed by rotating in the rotation direction (hereinafter referred to as the yaw direction). That is, as disclosed in
しかし、非特許文献1に開示されている一輪車では、加速度センサによって重力方向(鉛直方向)に対する傾きを検出して釣合い状態に補正しているが、本体部分の傾斜による慣性ロータ回転軸の傾斜、慣性ロータ取り付け位置と本体のロール中心及び/又はピッチ中心とのズレ等により、釣合い状態に正しく補正することができない場合も生じるという問題点があった。
However, in the unicycle disclosed in
また、二輪車の場合には、本体の前部に設けてある操舵することが可能な前輪を操舵するアクチュエータの動作を制御することで方向転換することができる。しかし、一輪車では、操舵輪と駆動輪とが一致しており、慣性ロータを別途設けること等によりヨー方向のトルクを発生させなければ、方向転換することが困難であるという問題点があった。 Further, in the case of a two-wheeled vehicle, the direction can be changed by controlling the operation of an actuator that steers a front wheel that can be steered provided at the front of the main body. However, in the unicycle, the steering wheel and the drive wheel coincide with each other, and there is a problem that it is difficult to change the direction unless torque in the yaw direction is generated by separately providing an inertia rotor.
本発明は斯かる事情に鑑みてなされたものであり、ヨー方向のトルクを発生させる慣性ロータを別途設けることなく、本体のピッチ方向の傾斜によって発生するトルクにより一輪車の移動方向を精度良く制御することができる移動方向制御装置及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and accurately controls the direction of movement of a unicycle by the torque generated by the inclination of the pitch direction of the main body without separately providing an inertia rotor for generating torque in the yaw direction. It is an object of the present invention to provide a moving direction control device and a computer program.
上記目的を達成するために第1発明に係る移動方向制御装置は、前後方向に回転して移動する車輪と、該車輪の回転軸に連結されて該車輪の上方でピッチ方向及びロール方向に揺動する本体とで構成され、該本体に、本体の略前後方向を回転中心軸とした慣性ロータと、該慣性ロータを回転させるモータとを備え、ピッチ方向の所定の傾斜角度であるピッチ角に応じて生じる、前記慣性ロータの回転によるヨー方向のトルクにより前記本体のヨー方向の回転角を制御することを特徴とする。 In order to achieve the above object, a moving direction control device according to a first aspect of the present invention includes a wheel that rotates and moves in the front-rear direction, and is connected to a rotating shaft of the wheel and swings in a pitch direction and a roll direction above the wheel. A main body that moves. The main body includes an inertia rotor having a rotation center axis in a substantially longitudinal direction of the main body, and a motor that rotates the inertia rotor. The main body has a pitch angle that is a predetermined inclination angle in the pitch direction. The rotation angle of the main body in the yaw direction is controlled by the torque in the yaw direction generated by the rotation of the inertia rotor.
また、第2発明に係る移動方向制御装置は、第1発明において、移動方向の目標とする前記車輪のヨー角の指定を受け付けるヨー角指定受付部と、摩擦トルクの大きさ及び方向を含む摩擦トルクに関する情報を取得する摩擦トルク情報取得部と、指定を受け付けたヨー角に基づいて、ヨー方向の回転角加速度を算出するヨー方向角加速度算出部と、算出したヨー方向の回転角加速度に基づいて、ヨー方向のトルクを算出するヨー方向トルク算出部と、算出したヨー方向のトルクと取得した摩擦トルクに関する情報とに基づいて、ヨー方向の必要トルクを算出するヨー方向必要トルク算出部と、算出したヨー方向の必要トルクを生じさせる前記モータの回転指令を、前記ピッチ角に応じて生成するモータ回転指令生成部とを備えることを特徴とする。 The movement direction control device according to a second aspect of the present invention is the first aspect of the present invention, wherein the first aspect includes a yaw angle designation receiving unit that receives designation of the yaw angle of the wheel that is the target of the movement direction, and friction that includes the magnitude and direction of the friction torque. Friction torque information acquisition unit for acquiring information on torque, yaw direction angular acceleration calculation unit for calculating rotational angular acceleration in the yaw direction based on the specified yaw angle, and based on the calculated rotational angular acceleration in the yaw direction A yaw direction torque calculation unit that calculates a torque in the yaw direction, a yaw direction required torque calculation unit that calculates a necessary torque in the yaw direction based on the calculated yaw direction torque and information on the acquired friction torque, A motor rotation command generation unit that generates a rotation command for the motor that generates the necessary torque in the calculated yaw direction according to the pitch angle; That.
また、第3発明に係る移動方向制御装置は、第2発明において、前記摩擦トルク情報取得部は、摩擦トルクの大きさ及び方向の指定を受け付ける摩擦トルク受付部を備えることを特徴とする。 According to a third aspect of the present invention, there is provided the moving direction control device according to the second aspect, wherein the friction torque information acquiring unit includes a friction torque receiving unit that receives designation of the magnitude and direction of the friction torque.
また、第4発明に係る移動方向制御装置は、第2発明において、前記摩擦トルク情報取得部は、前記車輪のヨー方向の回転角を検出するヨー回転角検出部と、ヨー方向の回転角が変動を開始する時刻におけるヨー方向のトルクを検出する変動トルク検出部と、検出したヨー方向のトルクに基づいて、静摩擦トルクを算出する静摩擦トルク算出部とを備え、算出した静摩擦トルクを前記摩擦トルクとして取得するようにしてあることを特徴とする。 According to a fourth aspect of the present invention, in the second aspect, the friction torque information acquisition unit includes a yaw rotation angle detection unit that detects a rotation angle of the wheel in the yaw direction, and a rotation angle in the yaw direction. A fluctuation torque detector that detects a torque in the yaw direction at a time when the fluctuation starts, and a static friction torque calculator that calculates a static friction torque based on the detected torque in the yaw direction, the calculated static friction torque being the friction torque It is characterized by being acquired as.
また、第5発明に係る移動方向制御装置は、第2発明において、前記摩擦トルク情報取得部は、前記車輪のヨー方向の回転角を検出するヨー回転角検出部と、ヨー方向の回転角が収束する時刻におけるヨー方向のトルクを検出する収束トルク検出部と、検出したヨー方向のトルクに基づいて、動摩擦トルクを算出する動摩擦トルク算出部とを備え、算出した動摩擦トルクを前記摩擦トルクとして取得するようにしてあることを特徴とする。 In the movement direction control device according to a fifth aspect based on the second aspect, the friction torque information acquisition unit includes a yaw rotation angle detection unit that detects a rotation angle of the wheel in the yaw direction, and a rotation angle in the yaw direction. A convergence torque detection unit that detects torque in the yaw direction at the time of convergence and a dynamic friction torque calculation unit that calculates dynamic friction torque based on the detected torque in the yaw direction, and obtains the calculated dynamic friction torque as the friction torque It is made to do so.
次に、上記目的を達成するために第6発明に係るコンピュータプログラムは、前後方向に回転して移動する車輪と、該車輪の回転軸に連結されて該車輪の上方でピッチ方向及びロール方向に揺動する本体とで構成され、該本体に、本体の略前後方向を回転中心軸とした慣性ロータと、該慣性ロータを回転させるモータとを備えた移動方向制御装置に搭載してあり、ピッチ方向の所定の傾斜角度であるピッチ角に応じて生じる、前記慣性ロータの回転によるヨー方向のトルクにより前記本体のヨー方向の回転角を制御するコンピュータで実行することが可能なコンピュータプログラムであって、前記コンピュータを、移動方向の目標とする前記車輪のヨー角の指定を受け付けるヨー角指定受付手段、摩擦トルクの大きさ及び方向を含む摩擦トルクに関する情報を取得する摩擦トルク情報取得手段、指定を受け付けたヨー角に基づいて、ヨー方向の回転角加速度を算出するヨー方向角加速度算出手段、算出したヨー方向の回転角加速度に基づいて、ヨー方向のトルクを算出するヨー方向トルク算出手段、算出したヨー方向のトルクと取得した摩擦トルクに関する情報とに基づいて、ヨー方向の必要トルクを算出するヨー方向必要トルク算出手段、及び算出したヨー方向の必要トルクを生じさせる前記モータの回転指令を、前記ピッチ角に応じて生成するモータ回転指令生成手段として機能させることを特徴とする。 Next, in order to achieve the above object, a computer program according to a sixth aspect of the present invention includes a wheel that rotates and moves in the front-rear direction, and is connected to the rotation shaft of the wheel in the pitch direction and the roll direction above the wheel. It is composed of a swinging main body, and is mounted on a moving direction control device including an inertia rotor having a rotation center axis in a substantially front-rear direction of the main body and a motor for rotating the inertia rotor. A computer program that can be executed by a computer that controls the rotation angle of the main body in the yaw direction by the torque in the yaw direction caused by the rotation of the inertia rotor, which is generated according to a pitch angle that is a predetermined inclination angle of the direction. , A yaw angle designation accepting means for accepting designation of the yaw angle of the wheel as a target of the moving direction, a friction torque including the magnitude and direction of the friction torque Friction torque information acquisition means for acquiring information on, yaw direction angular acceleration calculation means for calculating rotational angular acceleration in the yaw direction based on the specified yaw angle, yaw based on the calculated rotational angular acceleration in the yaw direction Yaw direction torque calculating means for calculating the torque in the direction, yaw direction required torque calculating means for calculating the required torque in the yaw direction based on the calculated torque in the yaw direction and the acquired friction torque, and the calculated yaw direction The motor rotation command generating means for generating the motor rotation command for generating the required torque is generated according to the pitch angle.
また、第7発明に係るコンピュータプログラムは、第6発明において、前記摩擦トルク情報取得手段を、摩擦トルクの大きさ及び方向の指定を受け付ける摩擦トルク受付手段として機能させることを特徴とする。 According to a seventh aspect of the present invention, in the sixth aspect, the computer program causes the friction torque information acquiring unit to function as a friction torque receiving unit that receives designation of the magnitude and direction of the friction torque.
また、第8発明に係るコンピュータプログラムは、第6発明において、前記摩擦トルク情報取得手段を、前記車輪のヨー方向の回転角を検出するヨー回転角検出手段、ヨー方向の回転角が変動を開始する時刻におけるヨー方向のトルクを検出する変動トルク検出手段、及び検出したヨー方向のトルクに基づく静摩擦トルクを、前記摩擦トルクとして算出する静摩擦トルク算出手段として機能させることを特徴とする。 The computer program according to an eighth aspect of the present invention is the computer program according to the sixth aspect, wherein the friction torque information acquisition means is a yaw rotation angle detection means for detecting a rotation angle of the wheel in the yaw direction, and the rotation angle in the yaw direction starts to fluctuate. Fluctuating torque detection means for detecting the torque in the yaw direction at the time to be performed, and static friction torque calculation means for calculating the static friction torque based on the detected torque in the yaw direction as the friction torque.
また、第9発明に係るコンピュータプログラムは、第6発明において、前記摩擦トルク情報取得手段を、前記車輪のヨー方向の回転角を検出するヨー回転角検出手段、ヨー方向の回転角が収束する時刻におけるヨー方向のトルクを検出する収束トルク検出手段、及び検出したヨー方向のトルクに基づく動摩擦トルクを、前記摩擦トルクとして算出する動摩擦トルク算出手段として機能させることを特徴とする。 According to a ninth aspect of the present invention, in the sixth aspect, the friction torque information acquisition means includes a yaw rotation angle detection means for detecting a rotation angle in the yaw direction of the wheel, and a time at which the rotation angle in the yaw direction converges. A convergence torque detecting means for detecting the torque in the yaw direction and a dynamic friction torque calculating means for calculating the dynamic friction torque based on the detected torque in the yaw direction as the friction torque.
第1発明では、前後方向に回転して移動する車輪と、該車輪の回転軸に連結されて該車輪の上方でピッチ方向及びロール方向に揺動する本体とで構成してある。本体に、本体の略前後方向を回転中心軸とした慣性ロータと、該慣性ロータを回転させるモータとを備えている。ピッチ方向の所定の傾斜角度であるピッチ角に応じて生じる、慣性ロータの回転によるヨー方向のトルクにより本体のヨー方向の回転角を制御する。これにより、ピッチ方向に傾斜していない場合にはロール方向の傾斜角制御にしか用いることができない慣性ロータを、ピッチ方向に傾斜させることによりヨー方向のトルクを発生させることができ、別個にヨー方向制御用の慣性ロータを設けることなく方向転換することが可能となる。 In the first aspect of the present invention, the vehicle is constituted by a wheel that rotates and moves in the front-rear direction, and a main body that is connected to the rotation shaft of the wheel and swings in the pitch direction and the roll direction above the wheel. The main body includes an inertia rotor having a rotation center axis in a substantially front-rear direction of the main body and a motor for rotating the inertia rotor. The rotation angle in the yaw direction of the main body is controlled by the torque in the yaw direction caused by the rotation of the inertia rotor, which occurs according to the pitch angle that is a predetermined inclination angle in the pitch direction. As a result, the inertial rotor, which can only be used for controlling the tilt angle in the roll direction when not tilted in the pitch direction, can generate torque in the yaw direction by tilting in the pitch direction. The direction can be changed without providing an inertial rotor for controlling the direction.
第2発明及び第6発明では、移動方向の目標とする車輪のヨー角の指定を受け付ける。摩擦トルクの大きさ及び方向を含む摩擦トルクに関する情報を取得しておき、指定を受け付けたヨー角に基づいて、ヨー方向の回転角加速度を算出する。算出したヨー方向の回転角加速度に基づいて、ヨー方向のトルクを算出し、算出したヨー方向のトルクと取得した摩擦トルクに関する情報とに基づいて、ヨー方向の必要トルクを算出する。算出したヨー方向の必要トルクを生じさせるモータの回転指令を、ピッチ方向の所定の傾斜角度であるピッチ角に応じて生成することにより、指定を受け付けたヨー角だけ回転させるために必要な慣性ロータの回転数を、ピッチ角に応じて変動させることができ、確実に所望の方向へ方向転換することが可能となる。 In the second and sixth inventions, the designation of the yaw angle of the target wheel in the moving direction is accepted. Information on the friction torque including the magnitude and direction of the friction torque is acquired, and the rotational angular acceleration in the yaw direction is calculated based on the yaw angle that has been designated. Based on the calculated rotational angular acceleration in the yaw direction, the yaw direction torque is calculated, and the necessary torque in the yaw direction is calculated based on the calculated yaw direction torque and the acquired information on the friction torque. Inertia rotor required to rotate the specified yaw angle by generating a motor rotation command that generates the necessary torque in the yaw direction according to the pitch angle that is a predetermined tilt angle in the pitch direction The number of rotations can be varied according to the pitch angle, and the direction can be reliably changed to a desired direction.
第3発明及び第7発明では、摩擦トルクの大きさ及び方向の指定を受け付けることにより、車輪と路面との接触による摩擦トルクを考慮に入れて慣性ロータの回転数及び回転方向をより精度良く算出することが可能となる。 In the third and seventh aspects of the invention, by accepting designation of the magnitude and direction of the friction torque, the number of rotations and the direction of rotation of the inertia rotor can be calculated with higher accuracy in consideration of the friction torque caused by the contact between the wheels and the road surface. It becomes possible to do.
第4発明及び第8発明では、車輪のヨー方向の回転角を検出し、ヨー方向の回転角が変動を開始する時刻におけるヨー方向のトルクを検出する。検出したヨー方向のトルクに基づいて、静摩擦トルクを算出し、算出した静摩擦トルクを摩擦トルクとして取得する。これにより、方向転換の開始時に比較的大きい静摩擦トルクを考慮に入れて慣性ロータの回転数及び回転方向をより精度良く算出することが可能となる。 In the fourth and eighth inventions, the rotation angle of the wheel in the yaw direction is detected, and the torque in the yaw direction at the time when the rotation angle in the yaw direction starts to change is detected. A static friction torque is calculated based on the detected torque in the yaw direction, and the calculated static friction torque is acquired as the friction torque. Accordingly, it is possible to calculate the rotation speed and rotation direction of the inertia rotor with higher accuracy in consideration of a relatively large static friction torque at the start of the direction change.
第5発明及び第9発明では、車輪のヨー方向の回転角を検出し、ヨー方向の回転角が収束する時刻におけるヨー方向のトルクを検出する。検出したヨー方向のトルクに基づいて、動摩擦トルクを算出し、算出した動摩擦トルクを摩擦トルクとして取得する。これにより、方向転換時に生じる動摩擦トルクを考慮に入れて慣性ロータの回転数及び回転方向を算出することができ、本体を所望の方向へと精度良く方向転換させることが可能となる。 In the fifth and ninth inventions, the rotation angle of the wheel in the yaw direction is detected, and the torque in the yaw direction at the time when the rotation angle in the yaw direction converges is detected. A dynamic friction torque is calculated based on the detected torque in the yaw direction, and the calculated dynamic friction torque is acquired as the friction torque. As a result, the rotational speed and direction of the inertial rotor can be calculated in consideration of the dynamic friction torque generated at the time of turning, and the main body can be turned to a desired direction with high accuracy.
上記構成によれば、ピッチ方向に傾斜していない場合にはロール方向の傾斜角制御にしか用いることができない慣性ロータを、ピッチ方向に傾斜させることによりヨー方向のトルクを発生させることができ、別個にヨー方向制御用の慣性ロータを設けることなく方向転換させることが可能となる。すなわち、算出したヨー方向の必要トルクを生じさせるモータの回転指令を、ピッチ角に応じて生成することにより、指定を受け付けたヨー角だけ回転させるために必要な慣性ロータの回転数を、ピッチ角に応じて変動させることができ、確実に所望の方向へ方向転換することが可能となる。 According to the above configuration, if the inertial rotor that can only be used for tilt angle control in the roll direction when not tilted in the pitch direction, the torque in the yaw direction can be generated by tilting in the pitch direction, The direction can be changed without separately providing an inertia rotor for controlling the yaw direction. That is, by generating a rotation command of the motor that generates the necessary torque in the calculated yaw direction according to the pitch angle, the number of rotations of the inertia rotor required to rotate the specified yaw angle is determined by the pitch angle. Therefore, the direction can be reliably changed to a desired direction.
以下、本発明の実施の形態に係る移動方向制御装置について、一輪車の上方に搭載してある本体が揺動しつつ車輪の回転により転倒することなく前後に移動する一輪車ロボットに適用した例を図面に基づいて具体的に説明する。 Hereinafter, an example in which a moving direction control device according to an embodiment of the present invention is applied to a unicycle robot that moves forward and backward without falling due to rotation of a wheel while a main body mounted on the upper side of the unicycle swings is illustrated. This will be described in detail.
図1は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボットの構成を模式的に示す正面図及び側面図である。図1(a)は正面図、図1(b)は右側面図を示している。本実施の形態に係る移動方向制御装置は、一輪車ロボット本体のピッチ方向及びロール方向への転倒を防止しつつ、ヨー方向の方向転換を制御する。 FIG. 1 is a front view and a side view schematically showing a configuration of a unicycle robot to which a moving direction control device according to an embodiment of the present invention is applied. 1A is a front view, and FIG. 1B is a right side view. The movement direction control device according to the present embodiment controls the direction change in the yaw direction while preventing the unicycle robot body from falling in the pitch direction and the roll direction.
図1(a)、(b)に示すように、一輪車ロボット1は、前後方向に回転して移動する車輪2と、車輪2の回転軸に連結されて車輪2の上方でピッチ方向及びロール方向に揺動する本体3とで構成されている。図1(a)、(b)の例では、一輪車ロボット1を人型ロボットとしているが、これに限定されるものではない。
As shown in FIGS. 1A and 1B, the
ここで、ピッチ方向、ロール方向及びヨー方向を明確にしておく。図2は、ピッチ方向、ロール方向及びヨー方向を説明する模式図である。図2に示すように、一輪車ロボット1がxy面上をx軸の(+)方向へ前進又はx軸の(−)方向へ後退するように移動する場合、y軸周りの回転方向がピッチ方向である。y軸の(+)方向を向いて反時計回りに回転した場合には本体3がx軸の(+)方向へ傾斜し、y軸の(+)方向を向いて時計回りに回転した場合には本体3がx軸の(−)方向へ傾斜する。また、x軸周りの回転方向がロール方向であり、本体3が左右方向へ揺動する場合の回転方向である。さらに、z軸周りの回転方向がヨー方向であり、車輪2の向きをx軸方向から変更する場合の回転方向である。
Here, the pitch direction, the roll direction, and the yaw direction are clarified. FIG. 2 is a schematic diagram illustrating the pitch direction, the roll direction, and the yaw direction. As shown in FIG. 2, when the
図1(a)、(b)に示すように、本体3には、ピッチ方向の傾斜角度の角速度であるピッチ角速度を検出するピッチ用ジャイロセンサ(ピッチ用角速度センサ)31、車輪2の回転と連動し、車輪2を回転させるピッチ用モータ32、及びピッチ用モータ32の回転位置又は回転速度を検出するピッチ用エンコーダ(ピッチ用回転センサ)33を備える。ピッチ用ジャイロセンサ31は、ピッチ角速度を検出する図示しない検出軸を略左右方向に向けて本体3に取り付けられている。ここで、略左右方向とは、厳密な左右方向に対して若干の角度ずれがあっても良いことを意味する。本体3と車輪2とは、車輪2を回転自在に支持するフレーム4で連結され、ピッチ用モータ32の回転が、本体3に備えたかさ歯車5とベルト6とを介して車輪2へ伝わる。フレーム4は、本体3の一部分であり、図1(a)、(b)の例では、フレーム4は一輪車ロボット1である人型ロボットの足になっている。なお、ピッチ用角速度センサ31は、ピッチ角速度を検出することができれば良く、ジャイロセンサに限定されるものではない。ピッチ用ジャイロセンサ(ピッチ用角速度センサ)31、及びピッチ用モータ32のトルクに基づいて、ピッチ角を計算する。
As shown in FIGS. 1A and 1B, the
また、本体3には、ロール方向の傾斜角度の角速度であるロール角速度を検出するロール用ジャイロセンサ(ロール用角速度センサ)61、ロール方向に回転する慣性ロータ64、慣性ロータ64を回転させるロール用モータ62、及びロール用モータ62の回転位置又は回転速度を検出するロール用エンコーダ(ロール用回転センサ)63を備える。ロール用ジャイロセンサ61は、ロール角速度を検出する図示しない検出軸を略前後方向に向けて本体3に取り付けられている。ここで、略前後方向とは、厳密な前後方向に対して若干の角度ずれがあっても良いことを意味する。なお、ロール用角速度センサ61は、ロール角速度を検出することができれば良く、ジャイロセンサに限定されるものではない。
Further, the
さらに本体3の背中に相当する部分には、ピッチ用モータ32、ロール用モータ62の回転を制御する制御基板35及び電池36が装備されている。制御基板35には、ピッチ用モータ32及びロール用モータ62を回転駆動するドライバ、A/Dコンバータ、D/Aコンバータ、カウンタ、コントローラ等が搭載されている。コントローラは、具体的にはマイクロプロセッサ、CPU、LSI等である。
Further, a
ここまでの構成は、従来のヨー方向のトルクを発生させる慣性ロータを設けていない一輪車の構成と同様である。本発明では、ピッチ方向に前傾角度θ1 だけ傾斜している場合に慣性ロータ64を回転させたとき、ロール方向の傾斜角を変動させるだけではなく、ヨー方向の回転角であるヨー角を変動させるヨー方向のトルクが生じることに着目し、車輪2の方向転換に利用している。図3は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1のヨー方向への方向転換動作の制御の一例を示す制御ブロック図である。The configuration up to this point is the same as the configuration of a conventional unicycle that does not include an inertia rotor that generates torque in the yaw direction. In the present invention, when the
図3に示すように、目標ヨー角指定受付部301は、移動方向の目標とする車輪2のヨー角を目標ヨー角θt として、目標ヨー角θt の指定を受け付ける。すなわち、目標ヨー角θt とは、現在車輪2が向いている進行方向からの偏差角を意味する。目標ヨー角θt の指定の受付方法は特に限定されるものではなく、ブルートゥース(Bluetooth)(登録商標)等の無線通信を介して外部から指定するべき目標ヨー角θt を受信しても良いし、制御基板35のコントローラにメモリを内蔵し、該メモリ内に事前に目標ヨー角θt を記憶させておいても良い。また、メモリカード等を挿入することが可能なスロットを設けておき、目標ヨー角θt が記憶されているメモリカード等を、都度挿入することで目標ヨー角θt を読み込ませても良い。なお、ヨー方向の回転角であるヨー角θが目標ヨー角θt に到達するまでの到達時間t、例えば1秒で到達する旨の指定も受け付けることが好ましい。ヨー方向の回転角加速度であるヨー角加速度ω’を到達時間tの中間で正負反転させた一定値であると仮定している場合、ヨー角速度ω及びヨー角θの変化を近似的に算出しやすくなるからである。As shown in FIG. 3, the target yaw angle
ヨー用角加速度算出部302は、指定を受け付けた目標ヨー角θt 及びヨー角θが目標ヨー角θt に到達するまでの到達時間tに基づいて、ヨー角θを時間微分することによりヨー角速度ωを算出し、算出したヨー角速度ωを時間微分することにより、ヨー角加速度ω’を算出する。ヨー角速度ωは、ヨー角加速度ω’を到達時間tの中間で正負反転させた一定値であると仮定している場合、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過するまでは一定の割合で単調増加し、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過した後は一定の割合で単調減少する。Yaw angular
上述の例では、ヨー角加速度ω’は、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過するまでは正の一定値として、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過した後は負の一定値として、それぞれ算出することができる。In the above example, the yaw angular acceleration omega ', until up to one half of the reaching time t to reach the target yaw angle theta t elapses as a positive constant value, reaches the target yaw angle theta t Can be calculated as a negative constant value after half of the arrival time t has elapsed.
反動トルク算出部(ヨー方向トルク算出部)303では、ヨー用角加速度算出部302で算出されたヨー角加速度ω’に基づいて、本体3を目標ヨー角θt まで回転させるために必要な回転トルクT2を算出する。本実施の形態では、算出した回転トルクT2と同一のトルクを、ピッチ方向に傾斜させた慣性ロータ64の回転により生じる反動トルクとして加えることで、本体3のヨー角θを制御する。In the reaction torque calculation unit (yaw direction torque calculation unit) 303, the rotation necessary for rotating the
摩擦トルク受付部304は、摩擦トルクTrとして車輪2と路面との摩擦係数に応じた摩擦トルクの大きさ及び方向の指定を受け付ける。摩擦トルクTrの指定の受付は、少なくとも摩擦トルクTrの大きさ及び方向の指定を含む。また、摩擦トルクTrの指定の受付方法は特に限定されるものではなく、ブルートゥース(Bluetooth)(登録商標)等の無線通信を介して外部から摩擦トルクTrの大きさ及び方向を受信しても良い。また、摩擦トルク受付部304の代わりに摩擦トルク情報取得部として、制御基板35のコントローラにて摩擦トルクTrの大きさ及び方向を算出しても良いし、定数として制御基板35のコントローラのメモリに記憶させておいても良い。また、メモリカード等を挿入することが可能なスロットを設けておき、摩擦トルクTrの大きさ及び方向が記憶されているメモリカード等を、都度挿入することで読み込ませても良い。
The friction
ここで、摩擦トルクTr分だけ余分に反動トルクを加えなければ、本体3は指定を受け付けた目標ヨー角θt まで回転することができない。したがって、図示しないヨー方向必要トルク算出部では、慣性ロータ64により加えるべき回転トルク(必要トルク)T1を、(式1)にて求める。Here, unless the reaction torque is applied by an amount corresponding to the friction torque Tr, the
T1=T2+Tr ・・・ (式1) T1 = T2 + Tr (Expression 1)
慣性ロータ角加速度算出部305は、(式1)により算出した回転トルクT1を用いて、(式2)により慣性ロータ64の角加速度ωR ’を算出する。すなわち慣性ロータ64の慣性モーメントをJ1とした場合、本体3が前傾していることから、慣性ロータ64の回転中心軸が傾いており、同じ回転数であれば慣性ロータ64の回転により発生するトルクが傾いている分だけ減少するので、必要なトルクを発生させるためには、減少する分だけ必要とされる慣性ロータ64の角加速度ωR ’を大きくしておく必要がある。The inertial rotor angular
ωR ’=T1/J1/sinθ1 ・・・ (式2)
ただし、θ1 は本体3の前傾角度ω R '= T1 / J1 / sin θ 1 (Formula 2)
Where θ 1 is the forward tilt angle of the
慣性ロータ角度算出部306は、(式2)により算出した慣性ロータ64の角加速度ωR ’を2回積分することにより、慣性ロータ64の回転角度ΘR をヨー方向の回転指令として算出して、算出した回転角度ΘR をロール方向のフィードバック制御ループへ入力する。The inertia rotor
図4は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1のロール方向の転倒を防止する制御の一例を示す制御ブロック図である。図4に示すように、ロール用カウンタ部401では、ロール用エンコーダ63の出力パルスのパルス数が計数される。ロール用回転速度算出部402では、ロール用カウンタ部401で計数されたパルス数を回転角度に変換したあと、微分してロール用モータ62の回転速度を求める。ノイズ除去のためのLPF(ローパスフィルタ)を装備しても良い。
FIG. 4 is a control block diagram showing an example of control for preventing the roll-down of the
目標ロール角算出部403では、ロール用モータ62の回転が一輪車ロボット1の正面から見て左回転の場合は、目標ロール角を一輪車ロボット1の正面から見て右方向に、ロール用モータ62の回転が一輪車ロボット1の正面から見て右回転の場合は、目標ロール角を一輪車ロボット1の正面から見て左方向になるように、ロール用モータ62の回転速度に比例係数を乗算して求める。なお、積分器を追加して、慣性ロータ64に定常回転が残留しないようにすることが好ましい。
In the target roll
一方、ロール用ADコンバータ部404では、ロール用ジャイロセンサ61のロール角速度をA/D変換して取得する。ロール角速度算出部405では、取得したロール角速度に変換係数を乗算して、ロール角速度ω1rを算出する。On the other hand, the
ロール傾斜角推定部406では、ロール角速度ω1rと、後述のロール用トルク指令τ2rとから、本体3(慣性ロータ64以外の部分)と慣性ロータ64とを含んだ運動系での傾斜角方向(ロール方向)の運動方程式に基づき導出された、後述の(式22)で表されるロール傾斜角の推定値を算出する。さらに適切な推定速度を持たせてループを安定化させるための一次遅れ要素を直列に加えて、ロール傾斜角の推定値を算出している。具体的には、(式22)を用いて算出した計算値に、一次遅れ要素として例えば1/(0.1S+1)を直列に加えることになるが、これらに限られるものではなく、適切な推定速度となるような任意の遅れ要素を加えることができる。In the roll inclination
ロール方向外部トルク推定部411では、ロール傾斜角の推定値に変換係数を乗算して、本体3に働いているロール方向外部トルクの推定値を算出し、ロール用補正トルク(ロール方向外部トルクの推定値に相当)τ3rを推定する。The roll direction external
目標ロール角速度算出部407では、目標ロール角からロール傾斜角の推定値を減じたロール角度偏差に回転角度ΘR をヨー方向の回転指令として加算する。加算した値に比例ゲインを乗算して、目標ロール角速度ω2rを算出する。ロール用トルク指令生成部(モータ回転指令生成部)408では、目標ロール角速度ω2rとロール角速度ω1rとの偏差に対して、例えばPI制御によりロール用トルク指令τ0rを生成する。The target roll angular
本実施の形態では、目標ヨー角θt の指定を受け付けた場合、比較的短時間の慣性ロータ64の回転により、摩擦トルクTrを考慮した反動トルクを算出する。したがって、実際にはロール方向の傾斜に対しては、慣性ロータ64の回転によるトルクがほとんど影響することがなく、ロール方向の転倒を防止する制御ルーチンに対してロール方向に傾ける過大なトルクが入力される等の異常入力が発生することがない。よって、ロール方向の転倒を防止する制御ルーチンを正常に続行することができる。In the present embodiment, when receiving a specification of the target yaw angle theta t, by the rotation of a relatively short period of the
ロール用モータトルク指令電圧算出部409では、ロール用トルク指令τ0rとロール用補正トルクτ3rとを加えたロール用トルク指令τ2rに対して、変換係数を乗算して、指令電圧を算出する。最後に、ロール用DAコンバータ部410では、ドライバに指令電圧を出力し、ロール用モータ62の回転を制御する。The roll motor torque command
本実施の形態では、本体3を所定の前傾角度θ1 だけピッチ方向に傾いた状態で目標ヨー角θt の指定を受け付ける。すなわち、前傾角度θ1 が存在しなければ、慣性ロータ64の回転により本体3をヨー方向へ回転させるトルクが発生せず、方向転換することができないからである。図5は、一輪車ロボット1を側面から見た模式図である。In the present embodiment, the designation of the target yaw angle θ t is accepted with the
図5に示すように、本体3が前傾角度θ1 だけピッチ方向に傾くことにより、慣性ロータ64の回転中心軸も前傾角度θ1 だけ傾斜する。したがって、慣性ロータ64の回転により生じる力FR
は、慣性ロータ64の回転中心から前傾角度θ1 と平行な方向に生じる。As shown in FIG. 5, when the
Is generated in a direction parallel to the forward tilt angle θ 1 from the rotation center of the
したがって、慣性ロータ64の回転により生じる水平方向の力Fyaw1は、(式3)にて求めることができる。Accordingly, the horizontal force F yaw1 generated by the rotation of the
Fyaw1=FR ・sinθ1 ・・・ (式3)F yaw1 = F R · sin θ 1 (Formula 3)
生じた水平方向の力Fyaw1により、本体3に生じるヨー方向のトルクTyaw1は、慣性ロータ64の半径をRとした場合、(式4)にて算出することができる。The torque T yaw1 in the yaw direction generated in the
Tyaw1=FR ・R・sinθ1
=TR ・sinθ1 ・・・ (式4)
ただし、TR は、慣性ロータ64の回転により生じるトルクT yaw1 = F R・ R ・ sinθ 1
= T R · sin θ 1 (Formula 4)
T R is the torque generated by the rotation of the
本体3の前傾角度θ1 が12(deg)であった場合、sinθ1 は0.207であるので、(式4)から本体3に生じるヨー方向のトルクTyaw1は0.207×TR で求めることができる。また、一輪車ロボット1がヨー方向に回転する方向は、算出したヨー方向のトルクTyaw1を反動トルクとして回転するのでヨー方向のトルクTyaw1とは反対方向になる。例えば慣性ロータ64が一輪車ロボット1の正面から見て時計回りに回転した場合には、一輪車ロボット1は、上から見て時計回りに回転することになる。When the forward tilt angle θ 1 of the
なお、実際には車輪2と路面との接地面での粘性摩擦係数μに基づく静摩擦トルクは無視することができる大きさではなく、摩擦トルクTrとして静摩擦分だけ余分に回転トルクを加えなければ、本体3は指定を受け付けた目標ヨー角θt まで回転することはできない。したがって、慣性ロータ64により加えるべき回転トルクT1は、(式1)に示すようにT1=T2+Tr=Tyaw1+Trとなる。Actually, the static friction torque based on the viscous friction coefficient μ at the contact surface between the
摩擦トルクTrは、車輪2と路面とが接触する接地面における粘性摩擦係数μにより大きさが変動する。図6は、指定するべき摩擦トルクTrを特定する方法を説明するグラフである。図6(a)は、慣性ロータ64が回転を開始してからのヨー角θ(rad)の実際の時間変化を示すグラフであり、図6(b)は、慣性ロータ64が回転を開始してからのヨー方向トルクτ(N・m)の時間変化を示すグラフである。
The magnitude of the friction torque Tr varies depending on the viscous friction coefficient μ at the contact surface where the
図6(b)に示すように、ヨー方向トルクτ(N・m)は慣性ロータ64が回転を開始してから一定の割合で増加するのに対し、図6(a)に示すように、ヨー角θは慣性ロータ64が回転を開始してから一定時間後である時刻t1までは変化しない。これは、慣性ロータ64の回転により生じるトルクが接地面での静摩擦トルクを超えるまでは回転を開始せず、接地面での静摩擦トルクを超えた時点、すなわち時刻t1から本体3がヨー方向の回転を開始するからである。
As shown in FIG. 6B, the yaw direction torque τ (N · m) increases at a constant rate after the
したがって、時刻t1でのヨー方向トルクτ1(N・m)に対応する回転トルクを指定するべき摩擦トルクTrと特定することができる。よって、摩擦トルク受付部304において、摩擦トルクTrとしてヨー方向トルクτ1(N・m)に対応する回転トルクの指定を受け付けた場合、指定を受け付けた目標ヨー角θt へ方向転換するよう精度良く制御することができる。Therefore, the rotational torque corresponding to the yaw direction torque τ1 (N · m) at time t1 can be specified as the friction torque Tr to be designated. Therefore, when the friction
摩擦トルクTrとして静摩擦トルクの指定を受け付ける場合、摩擦トルク受付部304は、図7に示す摩擦トルク情報取得部として機能する。図7は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1の摩擦トルク情報取得部304aの機能ブロック図である。摩擦トルク情報取得部304aは、ヨー回転角検出部701、変動トルク検出部702、及び静摩擦トルク算出部703を備えている。
When the designation of the static friction torque is accepted as the friction torque Tr, the friction
ヨー回転角検出部701は、車輪2のヨー方向の回転角を検出する。変動トルク検出部702は、ヨー回転角検出部701で検出されるヨー方向の回転角を監視し、ヨー方向の回転角の変動開始を検知した時点、すなわちヨー方向の回転角が変動を開始した時刻(図6の時刻t1)におけるヨー方向のトルクを検出する。静摩擦トルク算出部703は、検出したヨー方向のトルクに基づく静摩擦トルクを、指定を受け付ける摩擦トルクTrとして算出する。
The yaw rotation
一方、一旦本体3がヨー方向に回転を開始した場合には、粘性摩擦係数μは大きく減少する。したがって、摩擦トルク受付部304において、摩擦トルクTrとしてヨー方向トルクτ1(N・m)に基づく静摩擦トルクの指定を受け付けた場合、加える回転トルクが過大となる傾向が生じやすい。したがって、本体3がヨー方向に回転している状態での動摩擦トルクを摩擦トルクTrとして指定を受け付けても良い。
On the other hand, once the
この場合、図6(a)に示すように、慣性ロータ64が回転を開始して、到達時間tの中間時刻tmを経過した後、時刻t2では目標ヨー角θt に収束する。これは、動摩擦トルクが、慣性ロータ64の回転による回転トルクと釣り合ったからである。したがって、図6(b)に示すように、時刻t2におけるヨー方向トルクτ2(N・m)に対応する回転トルクを指定するべき摩擦トルクTrと特定することができる。よって、摩擦トルク受付部304において、摩擦トルクTrとしてヨー方向トルクτ2(N・m)に対応する回転トルクの指定を受け付けた場合、指定を受け付けた目標ヨー角θt へ方向転換するよう、より精度良く制御することができる。In this case, as shown in FIG. 6 (a), the
摩擦トルクTrとして動摩擦トルクの指定を受け付ける場合、摩擦トルク受付部304は、図8に示す摩擦トルク情報取得部として機能する。図8は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1の摩擦トルク情報取得部304bの機能ブロック図である。摩擦トルク情報取得部304bは、ヨー回転角検出部801、収束トルク検出部802、及び動摩擦トルク算出部803を備えている。
When the designation of the dynamic friction torque is accepted as the friction torque Tr, the friction
ヨー回転角検出部801は、車輪2のヨー方向の回転角を検出する。収束トルク検出部802は、ヨー回転角検出部801で検出されるヨー方向の回転角を監視し、ヨー方向の回転角が収束する時刻、すなわち図6の時刻t2におけるヨー方向のトルクを検出する。動摩擦トルク算出部803は、検出したヨー方向のトルクに基づく動摩擦トルクを、指定を受け付ける摩擦トルクTrとして算出する。
The yaw rotation
図9は、本発明の実施の形態に係る移動方向制御装置の制御基板35のコントローラによる方向転換処理の手順を示すフローチャートである。制御基板35のコントローラは、目標ヨー角θt の指定を受け付ける(ステップS901)。目標ヨー角θt の指定の受付方法は特に限定されるものではなく、ブルートゥース(Bluetooth)(登録商標)等の無線通信を介して外部から指定するべき目標ヨー角θt を受信しても良いし、制御基板35のコントローラにメモリを内蔵し、該メモリ内に事前に目標ヨー角θt を記憶させておいても良い。また、メモリカード等を挿入することが可能なスロットを設けておき、目標ヨー角θt が記憶されているメモリカード等を、都度挿入することで目標ヨー角θt を読み込ませても良い。なお、ヨー方向の回転角であるヨー角θが目標ヨー角θt に到達するまでの到達時間tについては、目標ヨー角θt の指定を受け付けると同時に受け付けても良いし、一定時間として事前にコントローラのメモリに記憶しておいても良い。FIG. 9 is a flowchart showing the procedure of the direction changing process by the controller of the
コントローラは、指定を受け付けた目標ヨー角θt 及びヨー角θが目標ヨー角θt に到達するまでの到達時間tに基づいて、ヨー角θを2回時間微分することによりヨー角加速度ω’を算出する(ステップS902)。ヨー角速度ωは、ヨー角加速度ω’を到達時間tの中間で正負反転させた一定値であると仮定している場合、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過するまでは一定の割合で単調増加し、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過した後は一定の割合で単調減少する。The controller, based on the arrival time t to the target yaw angle theta t and the yaw angle theta accepts the designation reaches the target yaw angle theta t, yaw angular acceleration ω by the yaw angle theta differentiating twice the time ' Is calculated (step S902). When it is assumed that the yaw angular velocity ω is a constant value obtained by reversing the yaw angular acceleration ω ′ between positive and negative in the middle of the arrival time t, the half of the arrival time t until the target yaw angle θ t is reached. Until the target yaw angle θ t is reached, and after a half of the arrival time t until the target yaw angle θ t is reached, it decreases monotonously at a constant rate.
上述の例では、ヨー角加速度ω’は、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過するまでは正の一定値として、目標ヨー角θt に到達するまでの到達時間tの2分の1が経過した後は負の一定値として、それぞれ算出することができる。In the above example, the yaw angular acceleration omega ', until up to one half of the reaching time t to reach the target yaw angle theta t elapses as a positive constant value, reaches the target yaw angle theta t Can be calculated as a negative constant value after half of the arrival time t has elapsed.
コントローラは、算出されたヨー角加速度ω’に基づいて、本体3を目標ヨー角θt まで回転させるために必要な回転トルクT2を算出する(ステップS903)。コントローラは、摩擦トルクTrとして車輪2と路面との粘性摩擦係数μに応じた静摩擦トルクの指定を受け付ける(ステップS904)。コントローラは、算出した回転トルクT2と指定を受け付けた摩擦トルクTrとを加算して、慣性ロータ64により加えるべき回転トルクT1を算出する(ステップS905)。The controller, based on the calculated yaw angular acceleration omega ', calculates the rotational torque T2 required for rotating the
コントローラは、本体3の前傾角度θ1 を取得する(ステップS906)。取得する方法は、傾斜角を検出する傾斜角センサを設けても良いし、特に限定されるものではない。例えば簡便な方法として、鉛直方向と慣性ロータ64の回転中心軸に直交する方向とのなす角度を、三角法等を用いて導出すれば良い。コントローラは、(式2)に基づいて、本体3の前傾角度θ1 で回転トルクT1を補正することにより、慣性ロータ64の角加速度ωR ’を算出する(ステップS907)。すなわち本体3が前傾しているので、慣性ロータ64の回転中心軸が傾いており、同じ回転数であれば慣性ロータ64の回転により発生するトルクが傾いている分だけ減少する。したがって、必要なトルクを発生させるためには、減少する分だけ必要とされる慣性ロータ64の角加速度ωR ’を大きく算出する必要がある。The controller acquires the forward tilt angle θ 1 of the main body 3 (step S906). The acquisition method may be provided with an inclination angle sensor for detecting the inclination angle, and is not particularly limited. For example, as a simple method, the angle formed by the vertical direction and the direction perpendicular to the rotation center axis of the
コントローラは、算出した慣性ロータ64の角加速度ωR ’を2回積分することにより、慣性ロータ64の回転数(回転角)及び回転方向を算出して(ステップS908)、算出した回転数(回転角)及び回転方向にてロール用モータ62が回転するようにロール用モータ62の回転指令を生成する(ステップS909)。なお、ステップS907乃至ステップS909は、ステップS905にて算出したT1に変換係数を乗算することにより、慣性ロータ64の回転数(回転角)及び回転方向を算出して、算出した回転数(回転角)及び回転方向にてロール用モータ62が回転するようにロール用モータ62の回転指令を生成するようにしても良い。コントローラは、生成したロール用モータ62の回転指令に対して、変換係数を乗算して、指令電圧を算出して、ドライバに指令電圧を出力する(ステップS910)。The controller integrates the calculated angular acceleration ω R ′ of the
コントローラは、到達時間tが経過したか否かを判断し(ステップS911)、コントローラが、到達時間tが経過していないと判断した場合(ステップS911:NO)、コントローラは、経過待ち状態となる。コントローラが、到達時間tが経過したと判断した場合(ステップS911:YES)、コントローラは、現在のヨー角を取得し(ステップS912)、目標ヨー角θt との差分角を算出する(ステップS913)。The controller determines whether or not the arrival time t has elapsed (step S911). If the controller determines that the arrival time t has not elapsed (step S911: NO), the controller enters a state of waiting for progress. . Controller, if it is determined that the arrival time t has elapsed (step S911: YES), the controller obtains the current yaw angle (step S912), calculates the difference angle between the target yaw angle theta t (step S913 ).
コントローラは、算出した差分角が所定値より小さいか否かを判断し(ステップS914)、コントローラが、差分角が所定値以上であると判断した場合(ステップS914:NO)、コントローラは、算出した差分角を新たな目標ヨー角θt に設定し(ステップS915)、処理をステップS902に戻して上述した処理を繰り返す。コントローラが、算出した差分角が所定値より小さいと判断した場合(ステップS914:YES)、コントローラは、方向転換が完了したと判断して処理を終了する。The controller determines whether or not the calculated difference angle is smaller than a predetermined value (step S914). If the controller determines that the difference angle is equal to or larger than the predetermined value (step S914: NO), the controller calculates set difference angle to a new target yaw angle theta t (step S915), processing returns to step S902 to repeat the processing described above. When the controller determines that the calculated difference angle is smaller than the predetermined value (step S914: YES), the controller determines that the direction change is completed and ends the process.
ロール方向の傾斜を制御する慣性ロータ64を用いて方向転換することから、ロール方向の釣り合いも維持する必要がある。図10は、一輪車ロボット1を正面から見た模式図である。図10では、本体3及び本体3に取り付けられた慣性ロータ64のみを模式的に示している。ロール方向の傾斜角を求めるために、まずラグランジュ方程式により運動方程式を導出する。本体3(慣性ロータ64以外の部分)と慣性ロータ64とを合わせた、全体の運動エネルギーT及び位置エネルギーUは以下の(式5)及び(式6)のようになる。
Since the direction is changed using the
一般化座標と一般化速度による微分量は、以下の(式7)〜(式12)のようになる。 A differential amount based on the generalized coordinates and the generalized speed is expressed by the following (Expression 7) to (Expression 12).
ラグランジュ方程式(式13)、(式14)に(式7)〜(式12)を代入する。 (Expression 7) to (Expression 12) are substituted into the Lagrangian equations (Expression 13) and (Expression 14).
この結果、運動方程式として、次の(式15)、(式16)を得る。 As a result, the following (Expression 15) and (Expression 16) are obtained as equations of motion.
(式16)を変形すると、(式17)となる。 When (Expression 16) is transformed, (Expression 17) is obtained.
(式17)を(式15)に代入して、ロール方向の傾斜角θ1rが微小であると仮定した場合、sinθ1rをθ1rで近似することができ、(式18)を得る。(式18)より、本体3の運動は、慣性ロータ64の角度及び角速度には無関係となる。By substituting (equation 17) to (Equation 15), if the inclination angle theta 1r in the roll direction is assumed to be small, it is possible to approximate the sin [theta 1r in theta 1r, obtain (Equation 18). From (Equation 18), the movement of the
−ロール傾斜角の推定−
ロール傾斜角は、ロール用ジャイロセンサ61が出力するロール角速度ω1rを積分することにより求めることも可能であるが、偏差が累積して不正確になるため、別の方法で求める必要がある。そこで、図10から導いた運動方程式を用いて、ロール用ジャイロセンサ61が出力するロール角速度ω1rと、ロール用トルク指令τ2rとから、ロール傾斜角を推定する。運動方程式(式18)を変形すると、(式19)となる。−Estimation of roll inclination angle−
The roll tilt angle can be obtained by integrating the roll angular velocity ω 1r output from the
一方、ロール用ジャイロセンサ61が出力するロール角速度の微分値であるω1rドットは、(式20)で表わされる。On the other hand, the ω 1r dot, which is a differential value of the roll angular velocity output from the
また、ロール方向の外乱トルクτ1rが発生した場合、見かけの釣合い傾斜角θ0rは(式21)となる。When the disturbance torque τ 1r in the roll direction is generated, the apparent balance inclination angle θ 0r is expressed by (Equation 21).
したがって、見かけの釣合い傾斜角θ0rに対する現在のロール方向の傾斜角θ1rの偏差角(ロール傾斜角)は、上記(式19)、(式20)、(式21)より、(式22)を導出して算出することによって推定することができる。ただし、適切な推定速度を持たせてループを安定化させるために、一次遅れ要素を直列に加えておく方が良い。なお、(式22)はロール傾斜角を推定する計算式の一例であり、推定対象となる運動系によってロール傾斜角を推定する計算式は異なる場合がある。Accordingly, the deviation angle (roll inclination angle) of the current roll direction inclination angle θ 1r with respect to the apparent balance inclination angle θ 0r is expressed by (Expression 22) from the above (Expression 19), (Expression 20), and (Expression 21). It can be estimated by deriving and calculating. However, in order to stabilize the loop with an appropriate estimated speed, it is better to add a first-order lag element in series. In addition, (Formula 22) is an example of a calculation formula for estimating the roll tilt angle, and the calculation formula for estimating the roll tilt angle may be different depending on the motion system to be estimated.
ロール用ジャイロセンサ61で出力されたロール角速度ω1rと、目標ロール角に基づいて生成されるロール用モータ62に与えるロール用トルク指令τ2rとから、釣合い状態に対して本体3がロール方向へ傾斜している角度であるロール傾斜角を推定することにより、ピッチ傾斜角と同様に、ロール傾斜角を精度良く推定することができる。また、ロール用ジャイロセンサ61が出力するロール角速度ω1rを積分することがないので、ノイズ、オフセット等の累積による目標ロール角の計算誤差が生じることがなく、慣性ロータ64の回転により生じる反動トルクを利用し、釣合い状態からのロール方向の傾斜を精度良く補正して、ロール方向への転倒を防止することができる。From the roll angular velocity ω 1r output from the
−ロール方向外部トルクフィードフォワード−
(式22)で推定された偏差角(ロール傾斜角)によって、ロール方向外部トルクを補償する。-Roll direction external torque feed forward-
The roll direction external torque is compensated by the deviation angle (roll inclination angle) estimated by (Equation 22).
(式23)のロール方向外部トルクを、トルクに加えておく。 The external torque in the roll direction of (Equation 23) is added to the torque.
(式24)とすれば、運動方程式(式18)は、(式25)となるから、ロール方向外部トルクを補償することができる。釣合い状態から本体3がロール方向へ傾斜している角度であるロール傾斜角を推定した(式22)によって、釣合い状態からのロール方向への傾斜角度によって生じるロール方向外部トルクを推定することができるので、推定したロール方向外部トルクを相殺する補正トルクを算出することができる。したがって、ロール方向外部トルクによる影響を加味してロール用モータ62の回転をより適正に制御することができるので、釣合い状態からのロール方向の傾斜をより精度良く補正してロール方向の転倒を防止することができる。特に、傾斜角ループ、傾斜角速度ループの応答周波数が低い場合でも、ロール方向外部トルクをフィードフォワード制御で補償することにより、ロール方向の転倒を防止する制御ルーチンを正常に実行することができるため、安定した制御が可能となる。
If (Equation 24) is used, the equation of motion (Equation 18) becomes (Equation 25), so that the external torque in the roll direction can be compensated. By estimating the roll inclination angle, which is the angle at which the
図11は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1の制御基板35のコントローラによるロール方向の転倒防止処理手順を示すフローチャートである。図11に示すように制御基板35のコントローラは、ロール用モータ62の回転速度を検出したロール用エンコーダ63の出力パルス(パルス信号)のパルス数を計数する(ステップS1101)。
FIG. 11 is a flowchart showing a roll direction overturn prevention processing procedure by the controller of the
コントローラは、計数したパルス数からロール方向の回転速度を算出する(ステップS1102)。具体的には、計数したパルス数を回転角度に変換したあと、微分して回転速度を算出する。コントローラは、ロール方向の回転速度に基づいて目標とするロール方向の傾斜角度である目標ロール角を算出する(ステップS1103)。 The controller calculates the rotational speed in the roll direction from the counted number of pulses (step S1102). Specifically, after converting the counted number of pulses into a rotation angle, the rotation speed is calculated by differentiating. The controller calculates a target roll angle, which is a target tilt angle in the roll direction, based on the rotational speed in the roll direction (step S1103).
コントローラは、算出した目標ロール角から後述するステップS1111で推定したロール傾斜角を減じてロール角度偏差を算出し(ステップS1104)、算出したロール角度偏差に比例ゲインを乗算して目標ロール角速度ω2rを算出する(ステップS1105)。The controller calculates a roll angle deviation by subtracting a roll inclination angle estimated in step S1111 described later from the calculated target roll angle (step S1104), and multiplies the calculated roll angle deviation by a proportional gain to obtain a target roll angular velocity ω 2r. Is calculated (step S1105).
コントローラは、目標ロール角速度ω2rと、後述するステップS1110で算出したロール角速度ω1rとのロール角速度偏差を算出し(ステップS1106)、算出したロール角速度偏差に対してPI制御等によりロール用トルク指令τ0rを生成する(ステップS1107)。The controller calculates a roll angular velocity deviation between a target roll angular velocity ω 2r and a roll angular velocity ω 1r calculated in step S1110 described later (step S1106), and a roll torque command by PI control or the like for the calculated roll angular velocity deviation. τ 0r is generated (step S1107).
コントローラは、生成したロール用トルク指令τ0rを後述するステップS1112で推定したロール方向外部トルクτ3rで補正し、ロール用トルク指令τ2rを生成する(ステップS1108)。The controller corrects the generated roll torque command τ 0r with a roll direction external torque τ 3r estimated in step S1112 described later, and generates a roll torque command τ 2r (step S1108).
コントローラは、ロール用ジャイロセンサ61が出力したロール角速度をA/D変換して取得する(ステップS1109)。コントローラは、取得したロール角速度に変換係数を乗算してロール角速度ω1rを算出する(ステップS1110)。The controller acquires the roll angular velocity output from the
コントローラは、(式22)を用いて、算出したロール角加速度ω1rドットと、上述したステップS1108で生成したロール用トルク指令τ2rとから、釣合い状態に対して本体3がロール方向に傾斜している角度であるロール傾斜角を推定する(ステップS1111)。コントローラは、推定したロール傾斜角に基づいて、本体3をロール方向に傾斜させるロール方向外部トルクを推定する(ステップS1112)。Using (Equation 22), the controller uses the calculated roll angular acceleration ω 1r dot and the roll torque command τ 2r generated in step S1108 described above to tilt the
コントローラは、ステップS1108でロール用トルク指令τ2rを生成したか否かを判断する(ステップS1113)。The controller determines whether or not a roll torque command τ 2r has been generated in step S1108 (step S1113).
コントローラが、ロール用トルク指令τ2rを生成したと判断した場合(ステップS1113:YES)、コントローラは、生成したロール用トルク指令τ2rに変換係数を乗算して指令電圧を算出する(ステップS1114)。コントローラは、算出した指令電圧をD/A変換し、ロール用モータ62を回転駆動するドライバに出力する(ステップS1115)。コントローラは、処理をステップS1101及びステップS1109に戻し、上述した処理を繰り返す。When the controller determines that the roll torque command τ 2r has been generated (step S1113: YES), the controller multiplies the generated roll torque command τ 2r by a conversion coefficient to calculate a command voltage (step S1114). . The controller performs D / A conversion on the calculated command voltage, and outputs it to the driver that rotationally drives the roll motor 62 (step S1115). The controller returns the process to step S1101 and step S1109, and repeats the above-described process.
一方、コントローラが、ロール用トルク指令τ2rを生成していないと判断した場合(ステップS1113:NO)、本体3は釣合い状態であり、コントローラは、処理を終了する。On the other hand, when the controller determines that the roll torque command τ 2r is not generated (step S1113: NO), the
このようにすることで、ヨー方向の回転制御のためにロール用の慣性ロータ64を回転させた場合であっても、ロール方向制御によりロール方向の釣り合いを維持した状態で一輪車ロボット1は方向転換することが可能となる。
In this way, even when the
なお、静摩擦トルクを摩擦トルクTrとして用いる場合、制御基板35のコントローラは、摩擦トルク情報取得部304aとして機能する。図12は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1の制御基板35のコントローラによる静摩擦トルクの算出処理の手順を示すフローチャートである。
When the static friction torque is used as the friction torque Tr, the controller of the
図12において、制御基板35のコントローラは、図9のステップS903の処理を実行した後、車輪2のヨー方向の回転角を検出する(ステップS1201)。コントローラは、ヨー方向の回転角が変動を開始したか否かを判断し(ステップS1202)、コントローラが、ヨー方向の回転角が変動を開始していないと判断した場合(ステップS1202:NO)、コントローラは、ヨー方向の回転角の変動開始の検知待ち状態となる。
In FIG. 12, the controller of the
コントローラが、ヨー方向の回転角が変動を開始したと判断した場合(ステップS1202:YES)、コントローラは、ヨー方向の回転角の変動開始を検知した時点、すなわちヨー方向の回転角が変動を開始した時刻(図6の時刻t1)におけるヨー方向のトルクを検出し(ステップS1203)、検出したヨー方向のトルクに基づく静摩擦トルクを、指定を受け付ける摩擦トルクTrとして算出して(ステップS1204)、処理を図9のステップS905へ進める。 When the controller determines that the rotation angle in the yaw direction has started to change (step S1202: YES), the controller detects the start of change in the rotation angle in the yaw direction, that is, the rotation angle in the yaw direction starts to change. The torque in the yaw direction at the time (time t1 in FIG. 6) is detected (step S1203), and the static friction torque based on the detected yaw direction torque is calculated as the friction torque Tr that accepts the designation (step S1204). Advances to step S905 in FIG.
また、動摩擦トルクを摩擦トルクTrとして用いる場合、制御基板35のコントローラは、摩擦トルク情報取得部304bとして機能する。図13は、本発明の実施の形態に係る移動方向制御装置を適用した一輪車ロボット1の制御基板35のコントローラによる動摩擦トルクの算出処理の手順を示すフローチャートである。
Further, when the dynamic friction torque is used as the friction torque Tr, the controller of the
図13において、制御基板35のコントローラは、図9のステップS903の処理を実行した後、車輪2のヨー方向の回転角を検出する(ステップS1301)。コントローラは、ヨー方向の回転角が収束したか否かを判断し(ステップS1302)、コントローラが、ヨー方向の回転角が収束していないと判断した場合(ステップS1302:NO)、コントローラは、ヨー方向の回転角の収束の検知待ち状態となる。
In FIG. 13, the controller of the
コントローラが、ヨー方向の回転角が収束したと判断した場合(ステップS1302:YES)、コントローラは、ヨー方向の回転角が収束した時刻、すなわち図6の時刻t2におけるヨー方向のトルクを検出する(ステップS1303)。コントローラは、検出したヨー方向のトルクに基づく動摩擦トルクを、指定を受け付ける摩擦トルクTrとして算出する(ステップS1304)。 When the controller determines that the rotation angle in the yaw direction has converged (step S1302: YES), the controller detects the torque in the yaw direction at the time when the rotation angle in the yaw direction has converged, that is, at time t2 in FIG. Step S1303). The controller calculates a dynamic friction torque based on the detected torque in the yaw direction as the friction torque Tr that accepts the designation (step S1304).
以上のように、本実施の形態によれば、ピッチ方向に傾斜していない場合にはロール方向の傾斜角制御にしか用いることができない慣性ロータ64を、ピッチ方向に傾斜させることによりヨー方向のトルクを発生させることができ、別個にヨー方向制御用の慣性ロータを設けることなく方向転換することが可能となる。すなわち、算出したヨー方向の必要トルクを生じさせるモータの回転指令を、ピッチ角に応じて生成することにより、指定を受け付けたヨー角を生じさせるために必要な慣性ロータ64の回転数を、ピッチ角に応じて変動させることができ、確実に所望の方向へ方向転換することが可能となる。
As described above, according to the present embodiment, the
なお、上述した実施の形態は、本発明の趣旨を逸脱しない範囲で変更することができることは言うまでもない。例えば摩擦トルクTrとして、粘性摩擦係数μに基づく静摩擦トルク、動摩擦トルクの指定を受け付けることに限定されるものではなく、例えば図6に示す時刻t1までは静摩擦トルクを、時刻t1経過後は動摩擦トルクを、というように指定を受け付ける摩擦トルクTrを可変としても良い。 In addition, it cannot be overemphasized that embodiment mentioned above can be changed in the range which does not deviate from the meaning of this invention. For example, the friction torque Tr is not limited to accepting designation of the static friction torque and the dynamic friction torque based on the viscous friction coefficient μ. For example, the static friction torque is displayed until the time t1 shown in FIG. Thus, the friction torque Tr that receives the designation may be variable.
1 一輪車ロボット(移動方向制御装置)
2 車輪
3 本体
35 制御基板
36 電池
61 ロール用ジャイロセンサ(ロール用角速度センサ)
62 ロール用モータ
63 ロール用エンコーダ(ロール用回転センサ)
64 慣性ロータ
O1 、O2 回転中心
m1 本体質量
m2 慣性ロータ質量
I1r O1 まわりの本体の慣性モーメント
I2r O2 まわりの慣性ロータの慣性モーメント
θ1 垂直軸に対する本体のピッチ方向の傾斜角度
θ1r 垂直軸に対する本体のロール方向の傾斜角度
θ2r 本体に対する慣性ロータの回転角度
lr O1 からO2 までの距離
lGr O1 から本体重心位置までの距離
g 重力加速度1 Unicycle robot (movement direction control device)
2
62
64 Inertia rotor O 1 , O 2 rotation center m 1 body mass m 2 inertia rotor mass I 1r O 1 body inertia moment around I 1r O 1 inertia rotor inertia moment around I 2r O 2 θ 1 distance g gravitational acceleration from the distance l Gr O 1 from the rotation angle l r O 1 of the inertia rotor with respect to the inclination angle theta 2r body in the roll direction of the main body with respect to the inclination angle theta 1r vertical axis to O 2 to the main body gravity center position
Claims (9)
該本体に、
本体の略前後方向を回転中心軸とした慣性ロータと、
該慣性ロータを回転させるモータと
を備え、
ピッチ方向の所定の傾斜角度であるピッチ角に応じて生じる、前記慣性ロータの回転によるヨー方向のトルクにより前記本体のヨー方向の回転角を制御することを特徴とする移動方向制御装置。It is composed of a wheel that rotates and moves in the front-rear direction, and a main body that is connected to the rotation shaft of the wheel and swings in the pitch direction and the roll direction above the wheel.
In the main body,
An inertia rotor having a rotation center axis in a substantially longitudinal direction of the main body;
A motor for rotating the inertial rotor,
A movement direction control device that controls a rotation angle in a yaw direction of the main body by a torque in a yaw direction caused by rotation of the inertia rotor, which is generated according to a pitch angle that is a predetermined inclination angle in the pitch direction.
摩擦トルクの大きさ及び方向を含む摩擦トルクに関する情報を取得する摩擦トルク情報取得部と、
指定を受け付けたヨー角に基づいて、ヨー方向の回転角加速度を算出するヨー方向角加速度算出部と、
算出したヨー方向の回転角加速度に基づいて、ヨー方向のトルクを算出するヨー方向トルク算出部と、
算出したヨー方向のトルクと取得した摩擦トルクに関する情報とに基づいて、ヨー方向の必要トルクを算出するヨー方向必要トルク算出部と、
算出したヨー方向の必要トルクを生じさせる前記モータの回転指令を、前記ピッチ角に応じて生成するモータ回転指令生成部と
を備えることを特徴とする請求項1記載の移動方向制御装置。A yaw angle designation accepting unit that accepts designation of the yaw angle of the wheel as a target in the moving direction;
A friction torque information acquisition unit for acquiring information on the friction torque including the magnitude and direction of the friction torque;
A yaw direction angular acceleration calculation unit that calculates a rotational angular acceleration in the yaw direction based on the yaw angle for which the designation is received;
Based on the calculated rotational angular acceleration in the yaw direction, a yaw direction torque calculation unit that calculates the torque in the yaw direction;
Based on the calculated yaw direction torque and the acquired information on the friction torque, the yaw direction required torque calculation unit that calculates the necessary torque in the yaw direction;
The movement direction control device according to claim 1, further comprising: a motor rotation command generation unit that generates a rotation command of the motor that generates the necessary torque in the calculated yaw direction according to the pitch angle.
摩擦トルクの大きさ及び方向の指定を受け付ける摩擦トルク受付部を備えることを特徴とする請求項2記載の移動方向制御装置。The friction torque information acquisition unit
The moving direction control device according to claim 2, further comprising a friction torque receiving unit that receives designation of the magnitude and direction of the friction torque.
前記車輪のヨー方向の回転角を検出するヨー回転角検出部と、
ヨー方向の回転角が変動を開始する時刻におけるヨー方向のトルクを検出する変動トルク検出部と、
検出したヨー方向のトルクに基づいて、静摩擦トルクを算出する静摩擦トルク算出部と
を備え、
算出した静摩擦トルクを前記摩擦トルクとして取得するようにしてあることを特徴とする請求項2記載の移動方向制御装置。The friction torque information acquisition unit
A yaw rotation angle detector that detects a rotation angle of the wheel in the yaw direction;
A fluctuating torque detector for detecting a torque in the yaw direction at a time when the rotation angle in the yaw direction starts fluctuating;
A static friction torque calculating unit that calculates a static friction torque based on the detected torque in the yaw direction,
3. The moving direction control device according to claim 2, wherein the calculated static friction torque is acquired as the friction torque.
前記車輪のヨー方向の回転角を検出するヨー回転角検出部と、
ヨー方向の回転角が収束する時刻におけるヨー方向のトルクを検出する収束トルク検出部と、
検出したヨー方向のトルクに基づいて、動摩擦トルクを算出する動摩擦トルク算出部と
を備え、
算出した動摩擦トルクを前記摩擦トルクとして取得するようにしてあることを特徴とする請求項2記載の移動方向制御装置。The friction torque information acquisition unit
A yaw rotation angle detector that detects a rotation angle of the wheel in the yaw direction;
A convergence torque detector for detecting the torque in the yaw direction at the time when the rotation angle in the yaw direction converges;
A dynamic friction torque calculating unit for calculating a dynamic friction torque based on the detected torque in the yaw direction,
3. The moving direction control device according to claim 2, wherein the calculated dynamic friction torque is acquired as the friction torque.
該本体に、
本体の略前後方向を回転中心軸とした慣性ロータと、
該慣性ロータを回転させるモータと
を備えた移動方向制御装置に搭載してあり、
ピッチ方向の所定の傾斜角度であるピッチ角に応じて生じる、前記慣性ロータの回転によるヨー方向のトルクにより前記本体のヨー方向の回転角を制御するコンピュータで実行することが可能なコンピュータプログラムであって、
前記コンピュータを、
移動方向の目標とする前記車輪のヨー角の指定を受け付けるヨー角指定受付手段、
摩擦トルクの大きさ及び方向を含む摩擦トルクに関する情報を取得する摩擦トルク情報取得手段、
指定を受け付けたヨー角に基づいて、ヨー方向の回転角加速度を算出するヨー方向角加速度算出手段、
算出したヨー方向の回転角加速度に基づいて、ヨー方向のトルクを算出するヨー方向トルク算出手段、
算出したヨー方向のトルクと取得した摩擦トルクに関する情報とに基づいて、ヨー方向の必要トルクを算出するヨー方向必要トルク算出手段、及び
算出したヨー方向の必要トルクを生じさせる前記モータの回転指令を、前記ピッチ角に応じて生成するモータ回転指令生成手段
として機能させることを特徴とするコンピュータプログラム。It is composed of a wheel that rotates and moves in the front-rear direction, and a main body that is connected to the rotation shaft of the wheel and swings in the pitch direction and the roll direction above the wheel.
In the main body,
An inertia rotor having a rotation center axis in a substantially longitudinal direction of the main body;
Mounted on a moving direction control device having a motor for rotating the inertial rotor,
A computer program that can be executed by a computer that controls a rotation angle in a yaw direction of the main body by a torque in a yaw direction caused by rotation of the inertia rotor, which is generated according to a pitch angle that is a predetermined inclination angle in the pitch direction. And
The computer,
A yaw angle designation accepting means for accepting designation of a yaw angle of the wheel as a target in the moving direction;
Friction torque information acquisition means for acquiring information on the friction torque including the magnitude and direction of the friction torque;
Yaw direction angular acceleration calculating means for calculating the rotational angular acceleration in the yaw direction based on the yaw angle that has received the designation;
A yaw direction torque calculating means for calculating a torque in the yaw direction based on the calculated rotational angular acceleration in the yaw direction;
Based on the calculated torque in the yaw direction and the acquired information on the friction torque, the yaw direction required torque calculating means for calculating the required torque in the yaw direction, and the rotation command of the motor for generating the calculated necessary torque in the yaw direction A computer program that functions as a motor rotation command generation unit that generates the pitch according to the pitch angle.
摩擦トルクの大きさ及び方向の指定を受け付ける摩擦トルク受付手段として機能させることを特徴とする請求項6記載のコンピュータプログラム。The friction torque information acquisition means,
7. The computer program according to claim 6, wherein the computer program functions as a friction torque receiving means for receiving designation of the magnitude and direction of the friction torque.
前記車輪のヨー方向の回転角を検出するヨー回転角検出手段、
ヨー方向の回転角が変動を開始する時刻におけるヨー方向のトルクを検出する変動トルク検出手段、及び
検出したヨー方向のトルクに基づく静摩擦トルクを、前記摩擦トルクとして算出する静摩擦トルク算出手段
として機能させることを特徴とする請求項6記載のコンピュータプログラム。The friction torque information acquisition means,
A yaw rotation angle detecting means for detecting a rotation angle of the wheel in the yaw direction;
Fluctuation torque detecting means for detecting the torque in the yaw direction at the time when the rotation angle in the yaw direction starts to fluctuate, and a static friction torque calculating means for calculating the static friction torque based on the detected torque in the yaw direction as the friction torque The computer program according to claim 6.
前記車輪のヨー方向の回転角を検出するヨー回転角検出手段、
ヨー方向の回転角が収束する時刻におけるヨー方向のトルクを検出する収束トルク検出手段、及び
検出したヨー方向のトルクに基づく動摩擦トルクを、前記摩擦トルクとして算出する動摩擦トルク算出手段
として機能させることを特徴とする請求項6記載のコンピュータプログラム。The friction torque information acquisition means,
A yaw rotation angle detecting means for detecting a rotation angle of the wheel in the yaw direction;
A convergence torque detecting means for detecting a torque in the yaw direction at a time when a rotation angle in the yaw direction converges, and a dynamic friction torque calculating means for calculating a dynamic friction torque based on the detected torque in the yaw direction as the friction torque. The computer program according to claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011529845A JP5240365B2 (en) | 2009-09-04 | 2010-07-07 | Moving direction control device and computer program |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009204456 | 2009-09-04 | ||
JP2009204456 | 2009-09-04 | ||
PCT/JP2010/061509 WO2011027615A1 (en) | 2009-09-04 | 2010-07-07 | Moving-direction control device and computer program |
JP2011529845A JP5240365B2 (en) | 2009-09-04 | 2010-07-07 | Moving direction control device and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2011027615A1 JPWO2011027615A1 (en) | 2013-02-04 |
JP5240365B2 true JP5240365B2 (en) | 2013-07-17 |
Family
ID=43649163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011529845A Expired - Fee Related JP5240365B2 (en) | 2009-09-04 | 2010-07-07 | Moving direction control device and computer program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5240365B2 (en) |
WO (1) | WO2011027615A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7435533B2 (en) | 2021-04-21 | 2024-02-21 | 株式会社デンソー | valve device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012201254A (en) * | 2011-03-25 | 2012-10-22 | Osamu Furukawa | Attitude control system of two-wheel vehicle |
CN103645735B (en) * | 2013-12-04 | 2016-01-20 | 桂林电子科技大学 | A kind of wheelbarrow robot realizing self-equilibrating |
CN114248804B (en) * | 2021-12-08 | 2023-11-10 | 深圳市优必选科技股份有限公司 | Gait planning method and device, electronic equipment and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10268904A (en) * | 1997-03-21 | 1998-10-09 | V Uliyanov Sergei | Method and device for self-organizing for optimally control nonlinear physical controlled system |
WO2007063665A1 (en) * | 2005-12-01 | 2007-06-07 | Murata Manufacturing Co., Ltd. | Fall-prevention control device |
WO2007086176A1 (en) * | 2006-01-27 | 2007-08-02 | Murata Manufacturing Co., Ltd. | Overturn prevention controller for two-wheeled vehicle |
-
2010
- 2010-07-07 JP JP2011529845A patent/JP5240365B2/en not_active Expired - Fee Related
- 2010-07-07 WO PCT/JP2010/061509 patent/WO2011027615A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10268904A (en) * | 1997-03-21 | 1998-10-09 | V Uliyanov Sergei | Method and device for self-organizing for optimally control nonlinear physical controlled system |
WO2007063665A1 (en) * | 2005-12-01 | 2007-06-07 | Murata Manufacturing Co., Ltd. | Fall-prevention control device |
WO2007086176A1 (en) * | 2006-01-27 | 2007-08-02 | Murata Manufacturing Co., Ltd. | Overturn prevention controller for two-wheeled vehicle |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7435533B2 (en) | 2021-04-21 | 2024-02-21 | 株式会社デンソー | valve device |
Also Published As
Publication number | Publication date |
---|---|
WO2011027615A1 (en) | 2011-03-10 |
JPWO2011027615A1 (en) | 2013-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4743347B2 (en) | Fall prevention control device and computer program | |
US8050837B2 (en) | Mobile unit and control method of mobile unit | |
JP5321681B2 (en) | Moving direction control device and computer program | |
CN101443628B (en) | Moving body with tilt angle estimating mechanism | |
EP1955936B1 (en) | Fall-prevention control device | |
EP2664528B1 (en) | Inverted pendulum type vehicle | |
US9321498B2 (en) | Method of estimating mounting angle error of gyroscopes by using a turning device, and corresponding turning device | |
JP2011500423A (en) | Apparatus and method for controlling vehicle motion | |
US8577577B2 (en) | Moving body, method of controlling the same, and program | |
JP5240365B2 (en) | Moving direction control device and computer program | |
JP6058221B2 (en) | Steering control device | |
JP5907037B2 (en) | Moving body | |
JP5336955B2 (en) | Inverted pendulum type moving body and control method thereof | |
US8678124B2 (en) | Inverted pendulum type vehicle | |
JP2015158390A (en) | control object model and attitude control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20130305 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130318 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160412 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5240365 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |