JP2007007796A - Walking robot - Google Patents
Walking robot Download PDFInfo
- Publication number
- JP2007007796A JP2007007796A JP2005193272A JP2005193272A JP2007007796A JP 2007007796 A JP2007007796 A JP 2007007796A JP 2005193272 A JP2005193272 A JP 2005193272A JP 2005193272 A JP2005193272 A JP 2005193272A JP 2007007796 A JP2007007796 A JP 2007007796A
- Authority
- JP
- Japan
- Prior art keywords
- acceleration
- sensor
- robot
- trunk
- acceleration sensor
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、体幹と脚リンク群を備える歩行ロボットの制御技術に関する。詳しくは、体幹に固定された加速度センサが出力する加速度を利用して、その姿勢を変化させるロボットの制御技術に関する。 The present invention relates to a control technology for a walking robot having a trunk and a leg link group. More specifically, the present invention relates to a robot control technique that changes the posture using acceleration output from an acceleration sensor fixed to the trunk.
体幹と脚リンク群を有する歩行ロボット(以下単にロボットと称する)が開発されている。このロボットは体幹と脚リンク群の相対的姿勢を変化させることによって歩行する。
体幹に加速度センサを固定し、体幹に生じる加速度を検出し、加速度センサから出力される加速度を利用して、体幹と脚リンク群の姿勢を変化させる歩行ロボットが開発されている。体幹の位置や姿勢を意図したものに制御するためには、加速度センサによって体幹に作用する加速度を正確に取得しなければならない。
A walking robot (hereinafter simply referred to as a robot) having a trunk and a leg link group has been developed. This robot walks by changing the relative posture of the trunk and leg links.
A walking robot has been developed in which an acceleration sensor is fixed to the trunk, the acceleration generated in the trunk is detected, and the posture of the trunk and the leg link group is changed using the acceleration output from the acceleration sensor. In order to control the position and posture of the trunk to the intended one, the acceleration acting on the trunk must be accurately acquired by the acceleration sensor.
特許文献1に、加速度センサを体幹に固定したロボットが開示されている。この技術では、体幹に固定した加速度センサの出力に基づいて、体幹が横になった状態にあるのか縦になった状態にあるのかを判断する。 Patent Document 1 discloses a robot in which an acceleration sensor is fixed to a trunk. In this technique, based on the output of the acceleration sensor fixed to the trunk, it is determined whether the trunk is in a lying state or a longitudinal state.
体幹が横になった状態にあるのか縦になった状態にあるのかを判断する程度であれば、加速度センサの出力値に多少の誤差があっても制御に影響はない。しかしながら、体幹の位置や姿勢を意図したものに制御するためには、体幹に作用する加速度の方向とその大きさを正確に取得しなければならない。 As long as it is sufficient to determine whether the trunk is in a horizontal state or a vertical state, even if there is a slight error in the output value of the acceleration sensor, the control is not affected. However, in order to control the position and posture of the trunk so as to be intended, it is necessary to accurately acquire the direction and magnitude of acceleration acting on the trunk.
加速度センサは、電圧や電流や静電容量といった電気量で出力する。そこで、加速度センサは、電気量を加速度に換算する関係を必要とする。例えば出力電圧が1mVであるから10mm/sec2の加速度であり、2mVであるから20mm/sec2の加速度であるという換算関係を必要とする。この換算関係は、加速度センサ毎に予め算出されている。
予め換算関係が判明している加速度センサをロボットに搭載してみると、予め計測しておいた換算関係からずれてしまう事象が頻繁に発生することがわかってきた。例えば、上記の関係であることが判明している加速度センサをロボットに搭載してみると、10mm/sec2の加速度であるときに1.2mVが出力され、20mm/sec2の加速度であるときに2.2mVが出力されるといった事象が頻発する。
予め判明している換算関係からずれる事象を研究した結果、電気量と加速度の間に成立するゲイン(比例定数)がずれることよりも、電気量に存在するバイアス値がずれることの影響が大きいことがわかってきた。上記に例示した場合では、ロボットに搭載すると、加速度センサの出力電圧が0.2 mVだけ高くなり、そのまま換算すると実際の加速度よりも2mm/sec2だけ大きな加速度を検出してしまうことが判明してきた。
ずれが発生する原因としては、例えば、加速度センサに加える駆動電圧が、換算関係を測定したときの電圧からずれることが考えられる。また、センサ出力をデジタル信号に変換するADコンバータが換算関係を測定したときのADコンバータと異なることが原因のひとつとして考えられる。いずれにしても加速度センサが出力する電気量に存在するバイアス値が換算関係を測定したときの値からずれる現象がよく発生する。
The acceleration sensor outputs an electrical quantity such as voltage, current, or capacitance. Therefore, the acceleration sensor requires a relationship for converting the amount of electricity into acceleration. For example, since the output voltage is 1 mV, an acceleration of 10 mm / sec 2 is required, and since the output voltage is 2 mV, a conversion relationship of 20 mm / sec 2 is required. This conversion relationship is calculated in advance for each acceleration sensor.
It has been found that when an acceleration sensor whose conversion relationship is known in advance is mounted on the robot, an event that deviates from the conversion relationship measured in advance frequently occurs. For example, when an acceleration sensor that has been found to have the above relationship is mounted on a robot, 1.2 mV is output when the acceleration is 10 mm / sec 2 and the acceleration is 20 mm / sec 2. Events such as 2.2mV are frequent.
As a result of investigating an event that deviates from the conversion relationship that has been clarified in advance, the effect of deviation of the bias value existing in the electric quantity is greater than the deviation of the gain (proportional constant) established between the electric quantity and acceleration. I understand. In the case illustrated above, it has been found that when mounted on a robot, the output voltage of the acceleration sensor is increased by 0.2 mV, and if converted as it is, an acceleration larger by 2 mm / sec 2 than the actual acceleration is detected.
As a cause of the deviation, for example, it is conceivable that the drive voltage applied to the acceleration sensor deviates from the voltage when the conversion relationship is measured. Another possible cause is that the AD converter that converts the sensor output into a digital signal is different from the AD converter when the conversion relationship is measured. In any case, a phenomenon in which the bias value existing in the electric quantity output from the acceleration sensor deviates from the value when the conversion relationship is measured often occurs.
そこで、加速度センサをロボットに搭載した後に、加速度センサが出力する電気量を加速度に換算するための換算関係を改めで計測し直す必要がある。
通常の加速度センサは特定の方向に生じている加速度成分を検出する。以後本明細書では、加速度センサが加速度成分を検出する際の「特定の方向」を加速度検出方向と称する。加速度センサをロボットに搭載した後に、前記換算関係を計測するためには、ロボットに搭載した加速度センサの加速度検出方向を正確に特定する必要がある。また加速度センサから本来得られるべき加速度の真の大きさも正確に特定する必要がある。即ち前記換算関係を計測するためには、加速度検出方向と、その方向に実際に生じている加速度の真の大きさをともに正確に特定する必要がある。両者が特定できないことには、換算関係を確立することができない。
ロボットは、体幹の姿勢角を指令するデータを用い、その指令データに一致するように体幹の姿勢角を変化させる。従って、体幹の姿勢角は、指令値に等しいはずである。体幹の姿勢角が判明すれば、体幹に固定されている加速度センサの加速度検出方向も特定できるはずである。
従来は、体幹の姿勢角を指令するデータから加速度センサの加速度検出方向を算出している。しかしながら、脚リンク群の剛性(脚部各関節の角度偏差も含む剛性)を高くすることは困難であり、体幹の姿勢角が指令値からずれることが避けられない。加速度センサの加速度検出方向を、体幹の姿勢角の指令値から算出する限り、加速度センサの加速度検出方向を正確に特定することはできない。さらにその加速度センサから本来得られるべき加速度の真の大きさも特定することができない。よって加速度センサの出力値と加速度の間に成立する換算関係を正確に特定することができない。
本発明は、加速度センサをロボットに搭載した後に、加速度センサが出力する電気量を加速度に換算するための換算関係を改めて計測し直すことによって、正確な換算関係に修正できる技術を提案する。
Therefore, after the acceleration sensor is mounted on the robot, it is necessary to measure again the conversion relationship for converting the amount of electricity output from the acceleration sensor into acceleration.
A normal acceleration sensor detects an acceleration component generated in a specific direction. Hereinafter, in this specification, the “specific direction” when the acceleration sensor detects the acceleration component is referred to as an acceleration detection direction. In order to measure the conversion relationship after the acceleration sensor is mounted on the robot, it is necessary to accurately specify the acceleration detection direction of the acceleration sensor mounted on the robot. It is also necessary to accurately specify the true magnitude of acceleration that should be originally obtained from the acceleration sensor. That is, in order to measure the conversion relationship, it is necessary to accurately specify both the acceleration detection direction and the true magnitude of the acceleration actually generated in that direction. If both cannot be specified, a conversion relationship cannot be established.
The robot uses data for commanding the posture angle of the trunk, and changes the posture angle of the trunk so as to match the command data. Therefore, the posture angle of the trunk should be equal to the command value. If the posture angle of the trunk is known, the acceleration detection direction of the acceleration sensor fixed to the trunk should be specified.
Conventionally, the acceleration detection direction of the acceleration sensor is calculated from data that commands the posture angle of the trunk. However, it is difficult to increase the rigidity of the leg link group (the rigidity including the angle deviation of each leg joint), and it is inevitable that the posture angle of the trunk deviates from the command value. As long as the acceleration detection direction of the acceleration sensor is calculated from the command value of the posture angle of the trunk, the acceleration detection direction of the acceleration sensor cannot be accurately specified. Furthermore, the true magnitude of the acceleration that should be originally obtained from the acceleration sensor cannot be specified. Therefore, the conversion relation established between the output value of the acceleration sensor and the acceleration cannot be accurately specified.
The present invention proposes a technique that can be corrected to an accurate conversion relationship by measuring again the conversion relationship for converting the amount of electricity output from the acceleration sensor into acceleration after the acceleration sensor is mounted on the robot.
本発明の換算関係の修正技術では、ロボットを静止させ、ロボットの運動に起因して生じる加速度をゼロとする。すなわち、重力加速度だけが作用する環境を実現し、実際に生じている加速度を既知量とできる環境を整える。
また本発明では、姿勢角センサを利用し、加速度センサの加速度検出方向が鉛直方向に対してなす姿勢角を直接に検出する。
このことによって加速度検出方向が特定できる。さらに鉛直方向には9.8m/sec2の重力加速度が作用している。従って加速度センサの加速度検出方向に作用している真の加速度の大きさは重力加速度の加速度選出方向成分となる。加速度センサから得るべき加速度の真の大きさも重力加速度の加速度選出方向成分として得られる。即ち加速度センサの加速度検出方向が鉛直方向に対してなす姿勢角を直接に検出することによって、加速度検出方向と、その方向に実際に生じている加速度の真の大きさをともに正確に特定することができる。
加速度検出方向が既知となり、加速度検出方向に生じている加速度の真の大きさが既知となり、その時の加速度センサの出力値が既知となっても、それだけでは、加速度センサが出力する電気量を加速度に換算するための換算関係を特定することができない。電気量に存在するバイアス値が変動したのか、電気量と加速度の間に成立するゲインが変動したのかが特定できないからである。
本発明では、実際的にはゲインの変動を考慮する必要はなく、バイアス値の変動を考慮すれば、実用上は十分に正確な換算関係に修正できるという知見を活用する。
In the conversion relationship correction technique of the present invention, the robot is stopped, and the acceleration caused by the movement of the robot is set to zero. In other words, an environment in which only gravitational acceleration acts is realized, and an environment in which the actual acceleration can be set to a known amount is prepared.
In the present invention, a posture angle sensor is used to directly detect a posture angle formed by the acceleration detection direction of the acceleration sensor with respect to the vertical direction.
As a result, the acceleration detection direction can be specified. Furthermore, a gravitational acceleration of 9.8 m / sec 2 acts in the vertical direction. Therefore, the magnitude of the true acceleration acting in the acceleration detection direction of the acceleration sensor becomes the acceleration selection direction component of the gravitational acceleration. The true magnitude of the acceleration to be obtained from the acceleration sensor is also obtained as the acceleration selection direction component of the gravitational acceleration. That is, by directly detecting the posture angle that the acceleration detection direction of the acceleration sensor makes with respect to the vertical direction, both the acceleration detection direction and the true magnitude of the acceleration actually generated in that direction can be accurately specified. Can do.
Even if the acceleration detection direction is known, the true magnitude of the acceleration generated in the acceleration detection direction is known, and the output value of the acceleration sensor at that time is already known, the amount of electricity output by the acceleration sensor can It is not possible to specify the conversion relationship for converting to. This is because it cannot be determined whether the bias value existing in the electric quantity has changed or whether the gain established between the electric quantity and the acceleration has changed.
In the present invention, it is not actually necessary to consider the fluctuation of the gain, and the knowledge that the conversion relationship can be corrected to a sufficiently accurate practical value by taking the fluctuation of the bias value into consideration is utilized.
本発明は、体幹と脚リンク群を備え、体幹に生じる加速度を検出することによって、体幹と脚リンク群の姿勢を変化させる歩行ロボットに具現化することができる。
本発明の歩行ロボットは、体幹に固定され、特定の方向(以下、加速度検出方向という)に生じている加速度成分を検出する加速度センサと、加速度センサに直接的または間接的に固定されているとともに加速度検出方向が鉛直方向に対してなす姿勢角を検出する姿勢角センサと、ロボットが所定の静止姿勢に静止している間に、加速度センサが出力する電気量と姿勢角センサが出力する姿勢角を取得する手段と、前記取得手段で取得した電気量を既知の関係で換算して加速度に換算する手段と、前記取得手段で取得した姿勢角から加速度検出方向の重力加速度成分を算出する手段と、前記換算手段で換算した加速度から前記算出手段で算出した重力加速度成分を減算した値を、加速度センサが出力する電気量を前記換算手段で換算した加速度から減算するオフセット値に記憶する手段を備えている。
The present invention can be embodied in a walking robot that includes a trunk and a leg link group and detects the acceleration generated in the trunk and changes the posture of the trunk and the leg link group.
The walking robot of the present invention is fixed to the trunk and is directly or indirectly fixed to the acceleration sensor for detecting an acceleration component generated in a specific direction (hereinafter referred to as acceleration detection direction). At the same time, a posture angle sensor that detects the posture angle that the acceleration detection direction makes with respect to the vertical direction, and the amount of electricity that the acceleration sensor outputs and the posture that the posture angle sensor outputs while the robot is stationary in a predetermined stationary posture Means for obtaining an angle; means for converting the amount of electricity obtained by the obtaining means into a known relationship and converting the acceleration; and means for calculating a gravitational acceleration component in an acceleration detection direction from an attitude angle obtained by the obtaining means And an acceleration obtained by subtracting the gravitational acceleration component calculated by the calculation means from the acceleration converted by the conversion means and converting the electric quantity output by the acceleration sensor by the conversion means. And a means for storing the offset value is subtracted from.
本発明では、ロボットを所定の静止姿勢に静止させ、ロボットの運動に起因して生じる加速度はゼロであり、重力加速度だけが作用する測定環境を実現する。
本発明では、ロボットの体幹に固定された加速度センサに直接的または間接的に固定されている姿勢角センサを利用して、加速度センサの加速度検出方向が鉛直方向に対してなす姿勢角を検出する。なお、「間接的に固定される」とは同一の部材に対して加速度センサと姿勢角センサが固定されており、その位置関係がロボットに組み込む前に(事前に)既知であるという意味である。
以上によって、加速度センサが検出しているはずの加速度の大きさを既知量とすることができる。
本発明の加速度センサは、加速度センサが出力する電気量を予め測定されている換算関係を利用して加速度に換算する。このとき、加速度センサが検出している加速度の真の大きさと、換算された加速度の間に、ずれが生じることが多い。
本発明では、そのずれが、加速度センサが出力する電気量と加速度の間に成立するゲインが変動したためではなく、電気量に加わるバイアス値が変動したものとする。その場合には、予め測定されている換算関係自体を作り直す必要がなく、予め測定されている換算関係を利用して換算した加速度から、バイアス値の変動による分を増減修正すればよいという考え方を採用する。
本発明では、加速度センサが出力する電気量を予め計測しておいた既知の換算関係で換算した加速度から、実際の加速度(重力加速度成分)を減算することによって、増減修正することによって真の加速度に修正するオフセット値を求め、これを記憶し、それを以後の換算結果に利用する。
本発明によると、加速度センサが出力する電気量を予め計測しておいた換算関係で加速度に換算し、次いでオフセット値を減算することによって、方向と大きさがともに正確である加速度を検出することを可能となる。
In the present invention, the robot is stopped in a predetermined stationary posture, and the acceleration caused by the movement of the robot is zero, and a measurement environment in which only the gravitational acceleration acts is realized.
In the present invention, a posture angle formed by the acceleration detection direction of the acceleration sensor with respect to the vertical direction is detected by using a posture angle sensor fixed directly or indirectly to the acceleration sensor fixed to the trunk of the robot. To do. Note that “indirectly fixed” means that the acceleration sensor and the attitude angle sensor are fixed to the same member, and the positional relationship is known (in advance) before being incorporated into the robot. .
As described above, the magnitude of the acceleration that should be detected by the acceleration sensor can be set to a known amount.
The acceleration sensor of the present invention converts the amount of electricity output from the acceleration sensor into acceleration using a conversion relationship measured in advance. At this time, there is often a difference between the true magnitude of the acceleration detected by the acceleration sensor and the converted acceleration.
In the present invention, it is assumed that the deviation is not because the gain established between the electric quantity output by the acceleration sensor and the acceleration fluctuates, but the bias value applied to the electric quantity fluctuates. In that case, there is no need to re-create the pre-measured conversion relationship itself, and the idea that it is sufficient to increase / decrease the amount due to the fluctuation of the bias value from the acceleration converted using the pre-measured conversion relationship. adopt.
In the present invention, the true acceleration is obtained by subtracting the actual acceleration (gravity acceleration component) from the acceleration converted by a known conversion relationship in which the amount of electricity output from the acceleration sensor is measured in advance, thereby correcting the increase / decrease. The offset value to be corrected is obtained, stored, and used for the subsequent conversion result.
According to the present invention, the amount of electricity output from the acceleration sensor is converted into acceleration according to a conversion relationship that has been measured in advance, and then the acceleration that is accurate in both direction and size is detected by subtracting the offset value. Is possible.
ロボットには、前記加速度センサが複数備えられており、これらの加速度センサには、体幹の上下方向に加速度検出方向が定められた第1の加速度センサと、体幹の前後方向に加速度検出方向が定められた第2の加速度センサが含まれていることが好ましい。これらの加速度センサにより、歩行中のロボットを側方から観測したときの体幹の姿勢を意図したものに調整することが可能となる。
この場合、各々の加速度センサに対して各々のオフセット値を求め、各々の加速度センサに対して各々のオフセット値を記憶していることが好ましい。
上記によると、ロボットの上下方向に生じる加速度と前後方向に生じる加速度の双方を正確に検出することができる。
The robot includes a plurality of acceleration sensors. The acceleration sensors include a first acceleration sensor in which an acceleration detection direction is defined in the vertical direction of the trunk and an acceleration detection direction in the longitudinal direction of the trunk. It is preferable that a second acceleration sensor for which is defined is included. With these acceleration sensors, it becomes possible to adjust the posture of the trunk when the walking robot is observed from the side to the intended one.
In this case, it is preferable to obtain each offset value for each acceleration sensor and store each offset value for each acceleration sensor.
Based on the above, it is possible to accurately detect both the acceleration generated in the vertical direction of the robot and the acceleration generated in the front-rear direction.
同様に、ロボットが、体幹の上下方向に加速度検出方向が定められた第1の加速度センサと、体幹の左右方向に加速度検出方向が定められた第2の加速度センサが含まれていてもよい。これらの加速度センサにより、歩行中のロボットを正面から観測したときの体幹の姿勢を意図したものに調整することが可能となる。
この場合も、各々の加速度センサに対して各々のオフセット値を求め、各々の加速度センサに対して各々のオフセット値を記憶していることが好ましい。
上記によると、ロボットの上下方向に生じる加速度と左右方向に生じる加速度の双方を正確に検出することができる。
Similarly, even if the robot includes a first acceleration sensor whose acceleration detection direction is defined in the vertical direction of the trunk and a second acceleration sensor whose acceleration detection direction is defined in the horizontal direction of the trunk. Good. With these acceleration sensors, it is possible to adjust the trunk posture when the walking robot is observed from the front.
Also in this case, it is preferable to obtain each offset value for each acceleration sensor and store each offset value for each acceleration sensor.
Based on the above, it is possible to accurately detect both the acceleration generated in the vertical direction and the acceleration generated in the horizontal direction of the robot.
もちろん、ロボットが、体幹の上下方向に加速度検出方向が定められた第1の加速度センサと、体幹の前後方向に加速度検出方向が定められた第2の加速度センサと、体幹の左右方向に加速度検出方向が定められた第3の加速度センサが含まれていてもよい。この場合は、歩行中のロボットをいずれの方向から観測しても、体幹の姿勢を意図したものに調整することが可能となる。
この場合も、各々の加速度センサに対して各々のオフセット値を求め、各々の加速度センサに対して各々のオフセット値を記憶していることが好ましい。
上記によると、ロボットの上下方向に生じる加速度と前後後方に生じる加速度と左右方向に生じる加速度のいずれをも正確に検出することができる。
Of course, the robot has a first acceleration sensor whose acceleration detection direction is defined in the vertical direction of the trunk, a second acceleration sensor whose acceleration detection direction is defined in the longitudinal direction of the trunk, and the horizontal direction of the trunk. May include a third acceleration sensor in which an acceleration detection direction is determined. In this case, even if the walking robot is observed from any direction, it is possible to adjust the trunk posture to the intended one.
Also in this case, it is preferable to obtain each offset value for each acceleration sensor and store each offset value for each acceleration sensor.
According to the above, it is possible to accurately detect any acceleration generated in the vertical direction of the robot, acceleration generated in the front / rear direction, and acceleration generated in the left / right direction.
加速度センサで本当に検出したいのは、ロボットの運動であり、運動に起因して生じる加速度である。そのためには、ロボットの動作中に、加速度センサが出力する電気量と姿勢角センサが出力する姿勢角を取得する手段と、その取得手段で取得した姿勢角から取得タイミングにおける加速度検出方向の重力加速度成分を算出する手段と、その取得手段で取得した電気量を前記既知の関係で換算した加速度から、前記の取得タイミングにおける加速度検出方向の重力加速度成分と前記したオフセット値を減算する手段を備えていればよい。
上記の場合、オフセット値を減算するために正確な加速度が検出され、加速度検出方向の重力加速度成分を減算するために重力加速度の影響を排除することができる。ロボットの運動に起因して生じる加速度のみを正確に検出することができる。
What the acceleration sensor really wants to detect is the motion of the robot, and the acceleration caused by the motion. For that purpose, during the operation of the robot, means for acquiring the electrical quantity output by the acceleration sensor and the attitude angle output by the attitude angle sensor, and the gravitational acceleration in the acceleration detection direction at the acquisition timing from the attitude angle acquired by the acquisition means Means for calculating a component, and means for subtracting the gravitational acceleration component in the acceleration detection direction at the acquisition timing and the offset value from the acceleration obtained by converting the amount of electricity acquired by the acquisition unit according to the known relationship. Just do it.
In the above case, accurate acceleration is detected to subtract the offset value, and the influence of gravitational acceleration can be eliminated to subtract the gravitational acceleration component in the acceleration detection direction. Only the acceleration caused by the movement of the robot can be accurately detected.
上記技術を利用すると、加速度センサの出力を利用してロボットを制御する場合に、重力加速度を考慮しない制御ロジックを採用することが可能となる。制御ロジックを簡略化することができる。
特にロボットのコンプライアンス制御では、ロボットがバランスを失いかけた場合、ロボットがバランスを回復する側に体幹の位置を修正する制御を行う。このとき、重力加速度成分を除外した加速度が検出できれば、ロボットの動作に起因する加速度のみを考慮した制御ロジックを構築すればよい。コンプライアンス制御ロジックを簡略化することができる。
When the above technique is used, it is possible to employ a control logic that does not take gravity acceleration into account when controlling the robot using the output of the acceleration sensor. The control logic can be simplified.
Particularly in the robot compliance control, when the robot is about to lose balance, control is performed to correct the position of the trunk so that the robot recovers the balance. At this time, if an acceleration excluding the gravitational acceleration component can be detected, a control logic that considers only the acceleration caused by the operation of the robot may be constructed. Compliance control logic can be simplified.
加速度センサと姿勢角センサは一体化したユニットに構成することが好ましい。この場合、ユニット内部に加速度センサと角速度センサを内蔵し、それらの出力値に基づいて、加速度検出方向が鉛直方向に対してなす姿勢角を演算する手段を備えていることが好ましい。
加速度センサと姿勢角センサが一つのユニットに構成されているために、姿勢角センサが、加速度検出方向が鉛直方向に対してなす姿勢角の正確な値を出力することが可能となる。さらにセンサユニットに内蔵された加速度センサと角速度センサの出力値をユニットの内部で演算して姿勢角を求めるように構成することで、体幹に固定する前に姿勢角センサの校正と加速度センサの校正とを同時に正確に行うことができる。
The acceleration sensor and the attitude angle sensor are preferably configured as an integrated unit. In this case, it is preferable that the unit includes an acceleration sensor and an angular velocity sensor, and includes means for calculating a posture angle that the acceleration detection direction forms with respect to the vertical direction based on the output values thereof.
Since the acceleration sensor and the posture angle sensor are configured in one unit, the posture angle sensor can output an accurate value of the posture angle that the acceleration detection direction forms with respect to the vertical direction. Furthermore, by calculating the output values of the acceleration sensor and angular velocity sensor built in the sensor unit to obtain the posture angle inside the unit, calibration of the posture angle sensor and acceleration sensor are fixed before fixing to the trunk. Calibration can be performed accurately at the same time.
本願発明によれば、加速度センサをロボットの体幹に固定した状態で、加速度センサの出力値を加速度に換算する際に加わる、バイアス値による誤差をキャンセルするために必要なオフセット値を、正確に設定することができる。 According to the present invention, in the state where the acceleration sensor is fixed to the trunk of the robot, the offset value necessary for canceling the error due to the bias value, which is added when the output value of the acceleration sensor is converted into the acceleration, is accurately calculated. Can be set.
実施例の主要な特徴を列記する。
(第1形態) ロボットを所定の静止姿勢に保持する際、本来の加速度フィードバック制御はオフとしておくことが好ましい。加速度センサの出力値に関係なくロボットを所定の静止姿勢に保持することができるからである。加速度フィードバック制御を行うと場合によってはロボットが微妙に振動することがある。フィードバック回路をオフしておくことで加速度センサに余計な加速度成分が加わることを防止することができる。
(第3形態) 所定の静止姿勢は、体幹の上下方向が歩行面に対して垂直な姿勢となる静止姿勢(いわゆる直立姿勢)が好ましい。体幹が歩行面に対して垂直となった姿勢でオフセット値を設定することで、加速度センサから取得した加速度の値からオフセット値を減算した値が最も正確となるのがオフセット値設定時の姿勢、すなわち直立姿勢のときとなる。加速度フィードバック制御時に歩容データとして体幹が歩行面に対して垂直となるような姿勢を与えたときに、ロボットの実際の姿勢もその歩容データに極めて近い姿勢となるよう制御することが可能となる。
(第3形態) 加速度センサの姿勢角を検出する検出手段として、加速度センサに傾斜角センサを固定することも好ましい。
The main features of the examples are listed.
(First Mode) When the robot is held in a predetermined stationary posture, it is preferable to turn off the original acceleration feedback control. This is because the robot can be held in a predetermined stationary posture regardless of the output value of the acceleration sensor. When acceleration feedback control is performed, the robot may vibrate slightly in some cases. By turning off the feedback circuit, it is possible to prevent an unnecessary acceleration component from being added to the acceleration sensor.
(Third embodiment) The predetermined stationary posture is preferably a stationary posture (so-called upright posture) in which the vertical direction of the trunk is perpendicular to the walking surface. By setting the offset value in a posture in which the trunk is perpendicular to the walking surface, the value obtained by subtracting the offset value from the acceleration value acquired from the acceleration sensor is the most accurate posture at the time of offset value setting. That is, it becomes the time of an upright posture. When giving a posture that causes the trunk to be perpendicular to the walking surface as gait data during acceleration feedback control, the actual posture of the robot can be controlled to be very close to the gait data. It becomes.
(3rd form) It is also preferable to fix an inclination-angle sensor to an acceleration sensor as a detection means to detect the attitude | position angle of an acceleration sensor.
図面を参照して実施例を詳細に説明する。
まず図7により、加速度センサの出力をロボット制御装置が取り込む際にバイアス値の存在による、ロボット100の姿勢変化について例示する。
図7(A)はロボット100が直立姿勢をとったときの側面図である。符号80は体幹を示す。符号110は脚リンク群を示す。体幹80には加速度センサ30が基準点Pに固定されている。加速度センサの加速度検出方向は図8(A)に示すX軸の方向とする。
Embodiments will be described in detail with reference to the drawings.
First, FIG. 7 illustrates the posture change of the
FIG. 7A is a side view when the
今、ロボット100はX軸方向にコンプライアンス制御されている。即ちロボット100の体幹80の基準点Pは仮想的な壁200と仮想的なバネ202及び仮想的なダンパ204で連結されている。仮想的な壁200と仮想的なバネ202及び仮想的なダンパ204はあくまで仮想的な存在であってロボット100の制御ロジック内で構築されたものである。この体幹80は、体幹80に外力が加わると仮想的なバネ202と仮想的なダンパ204の作用によってX軸方向に振動する(但しダンパ204の減衰力が大きければ振動しない)。そして仮想的なダンパ204の減衰力により、所定時間後に仮想的なバネ204による復元力と外力とが釣り合う位置で体幹80は静止する。上記のように体幹80は、外見上、仮想的な壁200と仮想的なバネ202及び仮想的なダンパ204で連結されつつ動作しているかのように制御される。
Now, the
図8(A)は外力が作用していない状態のロボット100の姿勢を示している。仮想的なバネ202の自然長はLである。従って体幹80は仮想的なバネ202からも力を受けていないものとして静止状態に制御されている。
FIG. 8A shows the posture of the
ここでロボット100が静止状態であれば本来加速度センサ30からの出力はゼロであるべきである。ところが前述したオフセット値が既知のオフセット値からずれていると、ロボット100の制御装置が加速度センサ30からの出力を取り込む際に、ずれたバイアス値の存在により、X軸方向の加速度がゼロでなくdGXであると換算されてしまう。ロボット100の制御装置は体幹リンク80のX軸方向に加速度dGXが作用しているものとして制御が実行される。今、体幹80の質量をMとする。制御装置内では加速度dGXにより体幹80にM×dGXの外力が作用しているものと判断する。この外力(M×dGX)を図7に符号210で示す。そこで制御装置内のコンプライアンス制御ロジックでは、この外力と仮想的なバネ202の復元力が釣り合うように体幹80のX軸方向の位置を制御する。具体的には仮想的なバネ202のバネ定数をKとすると復元力(K×dL)の大きさが外力(M×dGX)の大きさと釣り合うように長さdLを決定する。そして長さdLだけ体幹80をX軸方向に移動させる。このときのロボット100の姿勢を図7(B)に示す。体幹80はX軸方向にdLだけ移動した位置に制御される。体幹80をX軸方向にdLだけ移動させるために、図7(B)に示す脚リンク群110bの姿勢となるようにその各関節の角度が制御される。
このときコンプライアンス制御ロジック内では、外力(M×dGX)(図7に矢印210で示す)と仮想的なバネ202の復元力(K×dL)(図7(B)に矢印220で示す)が釣り合っているものと判断されている。ところが加速度dGXは実際に体幹80に作用している加速度ではなく、加速度センサ30の出力を取り込む際のずれたバイアス値の存在により発生したものである。結果体幹80にはなんら外力が作用していないにも関わらずその姿勢がずれてしまう。特に静止しているときのロボット100の姿勢がずれると見かけ上そのずれがはっきり認識できる。ずれたバイアス値の存在はロボットの姿勢制御に与える影響は大きい。
ずれたバイアス値をキャンセルするオフセット値が正確に求まっていれば上記例のようなロボットの姿勢のずれは発生しない。バイアス値をキャンセルするオフセット値を求めることは重要である。
Here, if the
At this time, in the compliance control logic, an external force (M × dGX) (indicated by an
If the offset value for canceling the shifted bias value is accurately obtained, the robot posture shift as in the above example does not occur. It is important to obtain an offset value that cancels the bias value.
なお、図7(B)に示した姿勢ではロボットは前方へ倒れる可能性があるように見える。図7(B)はバイアス値のずれを説明するためにロボットの姿勢の変化を誇張して描いたもので、実際にロボットが倒れる可能性は少ない。また、仮想的な壁200と仮想的なバネ202及び仮想的なダンパ204は実在するものではなくコンプライアンス制御ロジック内で演算上のものであるが図7にはわかりやすいように実線で描いた。
また体幹80が図7(B)に示すようにX軸方向前方へ移動するには脚リンク群の姿勢が図7(B)の符号110bで示すように変化する。その際に脚リンク群110の幾何学的拘束条件から体幹80は鉛直下方へずれるが図7ではそのずれは無視して描いてある。
In the posture shown in FIG. 7B, it seems that the robot may fall forward. FIG. 7B is an exaggerated illustration of the change in the posture of the robot in order to explain the deviation of the bias value, and there is little possibility that the robot will actually fall. Further, the
Further, in order for the
次に図1から図4を用いて本発明の実施例によるロボットの制御を説明する。
図1は本実施例のロボット制御装置10とロボット本体100のブロック図である。ロボット制御部10とロボット本体100を合わせたものが「ロボット」である。ロボット制御装置10には、ロボットへ指示する歩容データ20(ロボット本体100の各所に設けられている基準点の目標位置の経時的データ)が入力される加速度演算部22を備える。この加速度演算部22は、歩容データ20からロボット各所の基準点の目標加速度を算出する。減算部23では、加速度演算部22で算出されたロボット本体100の各基準点の目標加速度から、ロボット本体100に設置された加速度センサ30から得られるロボット本体100の基準点の加速度が減算される。減算部23で減算されるロボット本体100の基準点の加速度は、加速度センサ30から取得した加速度からオフセット値を減算し、さらに重力成分を除去した加速度である。オフセット値および、重力成分の除去については後述する。
ロボット制御部10はまた、減算部23で算出された加速度が入力されるフィードバック制御部24を備える。フィードバック制御部24では、図7でロボット100の姿勢変化について例示した際に説明したコンプライアンス制御が実行される。そしてフィードバック制御部24からはコンプライアンス制御ロジックにより求められたロボットの各基準点のサンプリング毎の目標位置が出力される。
さらにフィードバック制御部24の出力をロボット各関節に備えられたアクチュエータ28(以下、関節アクチュエータと称す)へ指示する目標関節角度に変換する目標値変換部26を備える。変換された関節アクチュエータへ指示する目標関節角度は、各関節のアクチュエータ28に送られ、ロボット本体100が動作する。
ロボット制御装置10はまた、ロボット本体100の体幹に固定された加速度センサ30から出力される電気量を加速度に換算する換算部31を備える。換算部31は加速度センサ30が出力する電気量に対してゲイン(比例定数)を乗じ、バイアス値を加える。このときのゲインとバイアス値は、加速度センサ30をロボットに固定する前に校正した際に測定された値である。
ロボット制御装置10はさらに、換算部31から出力される加速度と、姿勢角センサ32の値から加速度のオフセット値を設定するオフセット設定部34と、設定されたオフセット値を記憶するオフセット記憶部36を備える。記憶されたオフセット値は減算部37において、加速度フィードバック制御の際に、換算部31から出力される体幹の加速度から減算される。この減算処理により、加速度センサ30が出力する校正時のバイアス値からずれたバイアス値を含む電気量を換算部31で変換した加速度から、ずれたバイアス分の加速度を除去した加速度(ロボット100に生じる真の加速度)を得ることができる。そして加速度制御フィードバック制御を容易にするため、オフセット値(ずれたバイアス分の加速度)を減算したロボットに生じる真の加速度値から重力加速度成分を除去する重力加速度成分除去部38を備える。
なおスイッチ40および42は、オフセット値を設定するときとロボットを実際に制御するときに応じて制御回路を切り替えるためのスイッチである。
Next, the control of the robot according to the embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a block diagram of a
The
Furthermore, a target
The
The
The
次にロボット制御装置10の主要な構成要素について説明を加える。
歩容データ20には、ロボットの各所に設定された基準点の経時的な目標位置のデータが記述されている。加速度演算部22ではこの経時的な目標位置データからロボットの基準点の目標加速度が算出される。
一方ロボットに生じている加速度は加速度センサ30で検出される。加速度センサ30が出力する電気量が変換部31で加速度に変換され、減算部37でオフセット値が減算される(この時点で真の加速度の値となる)。減算部37でオフセット値が減算された値から、さらに重力加速度成分除去部38で重力加速度成分が除去される(この時点でロボットの動作によって生じる真の加速度の値となる)。
減算部23は、加速度演算部22で算出された目標加速度から、ロボットの動作によって生じている真の加速度を減算し、目標加速度からの偏差をフィードバック制御部24へ送る。このフィードバック制御部24内には前述したコンプライアンス制御ロジックの他にPID制御ロジックなどの制御回路が組まれている。フィードバック制御部24からはロボットの基準点のサンプリング毎の目標位置が出力される。この出力は目標値変換部26に入力され、各関節アクチュエータのサンプリング毎の目標関節角度に変換されロボット本体100の各関節アクチュエータ28が駆動される。
Next, a description will be given of main components of the
The
On the other hand, the acceleration generated in the robot is detected by the
The subtracting
ロボット本体100に備えられた加速度センサ30は体幹に固定されている。加速度センサ30の例としては、体幹上下方向、前後方向、体側方向の加速度を検出できるよう3軸の加速度センサもしくは3軸ごとに独立した1軸加速度センサが3個用いられる。姿勢角センサ32は、加速度センサ30の鉛直方向に対する姿勢角を検出する。姿勢角センサ32は加速度センサ30に直接的または間接的に固定されている。ここで間接的に固定される、とは同一の部材に対して加速度センサと姿勢角センサが固定されており、その位置関係がロボットに組み込む前に既知であるという意味である。
傾斜角センサとしては、鉛直方向に対する姿勢角を直接検出する傾斜角センサを用いることができる。また、加速度センサと角速度センサを内蔵するセンサユニットであって、それら2種類のセンサの出力値に基づいて、加速度検出方向が鉛直方向に対してなす姿勢角をセンサユニット内部で演算して出力するものであってもよい。
The
As the inclination angle sensor, an inclination angle sensor that directly detects a posture angle with respect to the vertical direction can be used. In addition, the sensor unit includes an acceleration sensor and an angular velocity sensor, and based on the output values of these two types of sensors, the attitude angle formed by the acceleration detection direction with respect to the vertical direction is calculated and output inside the sensor unit. It may be a thing.
加速度センサ30の出力値は、電圧や電流などの電気量である。この電気量を加速度に変換するのが換算部31である。加速度センサ30自体はロボットに組み込む前に校正されているので換算値は既知である。例えば加速度センサ30の出力が電圧値で、1.0[V]の出力が9.8[m/sec2]に相当する場合は、加速度センサ30からの出力値に対する換算定数は9.8[m/sec2/V]である。換算部31では、加速度センサ30の出力する電気量に対して上述した既知の換算定数を乗じて加速度の単位に変換して出力する。
The output value of the
加速度センサ30のオフセット値を設定する場合は、スイッチ40を接続状態に、スイッチ42を切断状態とする。そして加速度センサ30の出力と姿勢角センサ32の出力からオフセット設定部34でオフセット値が設定される。設定されたオフセット値はオフセット記憶部36に記憶される。ここでスイッチ42を切断状態としてフィードバック回路を切り離すのは、制御系の安定性の問題からロボットが振動しないようにするためである。
When setting the offset value of the
オフセット値を設定した後は、スイッチ40を切断状態に、スイッチ42を接続状態とする。オフセット値を設定した後はオフセット設定部34を実行する必要はなく、またロボット制御時には加速度フィードバックが必要となるからである。
After setting the offset value, the
重力加速度成分除去部38は、特にロボットにコンプライアンス制御を行わせるときに有効である。コンプライアンス制御では、ロボットに外力が加えられた際、その外力によってロボットが見かけ上マス/ダンパ系、あるいはバネ/マス/ダンパ系として運動するよう制御するものである。そこで加速度センサ30の出力値から重力加速度成分を除去することでフィードバック制御部24内においては重力加速度を無視してロボットに加えられた外力だけを考慮した制御系を構成すればよいことになる。従ってフィードバック制御ロジックを簡略化できる。
The gravitational acceleration component removing unit 38 is particularly effective when causing the robot to perform compliance control. In compliance control, when an external force is applied to the robot, control is performed so that the robot apparently moves as a mass / damper system or a spring / mass / damper system by the external force. Therefore, by removing the gravitational acceleration component from the output value of the
なお、ロボット制御装置10が加速度センサ30の出力の取得する際にセンサの出力値に誤差(バイアス値)が加わる。この誤差は、センサ校正時には現れなかった誤差である。その要因は例えばセンサ校正時とロボット制御装置が備えるA/Dコンバータの違いなどによる。
When the
次に図2に基づいてオフセット設定部34内部の各モジュールについて説明する。
加速度検出方向算出部56では、姿勢角センサ32から入力された姿勢角データ50に基づいて加速度センサ30の加速度検出方向を算出する。加速度センサ30の鉛直方向に対する姿勢角は、加速度センサの所定方向に固定された基準線と、鉛直方向のなす角度で表される。所定方向に固定された基準線が、加速度検出方向に一致しているなら、姿勢角そのものが加速度センサ30の加速度検出方向に相当する。また所定方向に固定された基準線が、加速度検出方向に一致していないなら、基準線と加速度検出方向の位置関係と姿勢角から加速度センサ30の加速度検出方向を算出できる。次に重力加速度ベクトル成分算出部58では、重力加速度のうち、加速度センサ30の加速度検出の方向の成分を算出する。そして加速度検出方向算出部56で求めた鉛直方向に対する加速度検出方向の、重力加速度の成分を算出する。
オフセット算出部60には、変換部31によって加速度センサ30から出力された電気量から変換された加速度のデータ52が入力される。このオフセット算出部60で、取得した加速度のデータ52から算出された重力加速度の加速度検出方向の成分を減算してオフセット値が設定される。設定されたオフセト値はオフセット記憶部36に記憶される。
Next, each module in the offset setting
The acceleration detection
The offset
上記装置では、姿勢角センサ32によって加速度センサ30の鉛直方向に対する姿勢角を直接検出するので、体幹がどのような姿勢であってもかまわない。
この加速度センサ30の姿勢角を基準にして、鉛直方向に対する加速度センサ30の加速度検出方向および重力加速度の方向を求めることができる。これにより加速度センサ30の出力を取得した値から重力加速度の加速度検出方向成分を減算することが可能となる。またロボットには所定の静止姿勢を保持させているので重力加速度以外にロボットには加速度は作用していない。従って加速度センサ30の出力を加速度に変換した値から重力加速度の加速度検出方向成分を減算したものがバイアス値による誤差(以下、この加速度の単位での誤差を取得誤差と称す)となる。この取得誤差をオフセット値として設定し、ロボット制御時には加速度センサ30から取得した電気量を変換部31で変換した加速度の値からこのオフセット値を減算することで、加速度センサの出力をロボット制御装置10に取り込む際に加わった取得誤差を相殺することが可能となる。
In the above apparatus, since the
With reference to the posture angle of the
次に図3のフローチャート図によりオフセット値設定処理の流れを説明する。まずステップS100でロボット本体100に対して所定の静止姿勢を保持するよう目標位置の指令値(歩容データ)が出力される。この指令値は図1では符号20で示した線で表されている。所定の静止姿勢は任意の姿勢でよいが、ロボット制御中、体幹は歩行面に対して垂直な姿勢と保持するよう制御されることが多い。例えばいわゆる直立姿勢である。そこで体幹の上下方向が歩行面に対して垂直な姿勢となる静止姿勢が好ましい。体幹が歩行面に対して垂直となった姿勢でオフセット値を設定することで、加速度センサから取得した加速度の値からオフセット値を減算した値が最も正確となるのがオフセット値設定時の姿勢、すなわち直立姿勢のときとなる。加速度フィードバック制御時に歩容データとして体幹が歩行面に対して垂直となるような姿勢を与えたときに、ロボットの実際の姿勢もその歩容データに極めて近い姿勢となるよう制御することが可能となる。
Next, the flow of the offset value setting process will be described with reference to the flowchart of FIG. First, in step S100, a command value (gait data) of the target position is output so as to maintain a predetermined stationary posture with respect to the
次にステップS102では、姿勢角センサ32の出力および加速度センサ30の出力値を取得する。このときセンサからの出力にノイズなどの高周波成分が含まれる場合はローパスフィルタを通すことも好ましい。
次にステップS104では加速度センサ30から取得した電気量を加速度の単位に換算する換算定数を乗じる。こうして加速度センサ30から出力された値は加速度の次元で扱うことが可能となる。
次にステップS106では、加速度センサ30の加速度検出方向を算出する。この処理はステップS102で取得した姿勢角データ(加速度センサの鉛直方向に対する姿勢角)における加速度センサの基準線と加速度検出方向との位置関係からから算出することができる。
次にステップS108では、重力加速度のうち、加速度検出方向の成分を算出する。重力加速度は鉛直下方を向くベクトルであり、また加速度検出方向もステップS106で算出されているのでこれらより重力加速度の加速度検出方向の成分を算出することができる。
次にステップS110では、ステップS106で換算された加速度の値からステップS108で算出された値を減算する。減算した結果がオフセット値となる。最後にステップS112で算出されたオフセット値をオフセット記憶部36に記憶する。こうして加速度センサ30のオフセット値が設定される。
Next, in step S102, the output of the
Next, in step S104, the electric quantity acquired from the
Next, in step S106, the acceleration detection direction of the
Next, in step S108, a component in the acceleration detection direction of the gravitational acceleration is calculated. Since the gravitational acceleration is a vector pointing vertically downward, and the acceleration detection direction is also calculated in step S106, the component of the gravitational acceleration in the acceleration detection direction can be calculated from these.
Next, in step S110, the value calculated in step S108 is subtracted from the acceleration value converted in step S106. The result of subtraction is the offset value. Finally, the offset value calculated in step S112 is stored in the offset
姿勢角センサ32が出力する姿勢角に対してもロボットの制御装置に取り込む際にバイアス(誤差)が付加される可能性はある。しかし制御装置への取り込み時に付加される、加速度に対する誤差と姿勢角に対する誤差の要因が同じであるならば、取り込んだ姿勢角を正確な値であると仮定して加速度の誤差を特定することには物理的に有益な意味がある。加速度と姿勢角では動力学的次元が異なるからである。加速度を2回積分した値が位置となる。従ってロボットに生じる加速度を検出し、検出された加速度を制御装置に取り込んでロボットの運動を推定するとき、制御装置に取り込む際に加速度の値に加わる誤差は、2回の積分により累積されて位置に反映される。一方姿勢角はそれ以上積分することはないので制御装置に取り込まれる際に加わった誤差はそのままである。2回の積分により累積される誤差は、姿勢角の次元(即ち位置の次元)で加わる誤差よりも大きくなる。換言すれば位置の次元で加わる誤差は加速度の次元で加わる誤差と比較して、ロボットの運動に与える影響は小さい。影響の小さい誤差を含む値(姿勢角)に基づいて影響の大きい誤差を含む値(加速度)を修正すれば、影響の大きい誤差を含む値(加速度)の誤差は小さくすることができる。
There is a possibility that a bias (error) is added to the posture angle output from the
また、加速度センサ30が複数あるときは図3のフローチャートの処理を各加速度センサごとに繰り返す。加速度センサ30は体幹の上下方向を向く第1の加速度センサと体幹の前後方向に向く第2の加速度センサを備えていることが好ましい。特に第2のセンサは、ロボットが歩行する際に、ロボットの前後方向の加速度を検出するのに適している。ロボットが前後方向バランスを失わずに歩行するには、ロボットの前後方向の加速度を直接検知する方が有利だからである。
さらに一つの加速度センサ30に対して、ロボットに複数の静止姿勢を保持させ図3の処理を繰り返す。そして複数の静止姿勢に対して求まったオフセット値を平均化して最終的なオフセット値とすることも好適である。
When there are a plurality of
Further, with respect to one
次に図4を用いてオフセット値設定の具体例を示す。図4にはロボット本体100の体幹80のみを示し、他のリンク部品は省略してある。体幹80には加速度センサ30が点線に示すように取り付けられている。説明を簡単にするため、2次元平面におけるオフセット値の設定方法について説明する。また以後は加速度センサ30の出力である電気量から加速度に変換された後の値を加速度センサ30からの出力値として扱って説明する。
体幹80には加速度センサ30が点線に示すように取り付けられている。ここで加速度センサ30の中心を原点とし、X,Z軸を図4に示す座標系を仮定する。なお、X軸は体幹前方を向き、Z軸は体幹下方に向いている。ここで重力加速度は符号gで表してある。従ってgが示す矢印の方向が鉛直下方となる。このとき加速度センサ30の姿勢角は符号82で示す角度となる。この姿勢角は姿勢角センサから取得される。なお今は2次元平面内に限定しているので加速度センサ30の姿勢角は角度82のみで決定される。また加速度センサ30の加速度検出方向はX軸の方向である。この場合、重力加速度のX軸成分、すなわち加速度検出方向成分はベクトルgの大きさに、角度82の正弦を乗じた値となる。図4に符号84に示す矢印が重力加速度の加速度検出方向成分である。このとき、加速度センサ30の出力値が符号86で示す矢印であったとする。ロボットには静止姿勢を保持させているので体幹80には重力加速度以外の加速度は生じていない。従って加速度センサ30の出力値86から重力加速度の加速度検出方向成分84を減じた値、即ち図4に88で示す矢印の大きさがバイアス値に対する加速度の単位でのオフセット値として設定される。以上は2次元平面に限定して説明したが3次元空間状でも同様にオフセット値を設定することができる。
Next, a specific example of offset value setting will be described with reference to FIG. FIG. 4 shows only the
The
なお、オフセット値を算出する間、ロボットを任意の静止姿勢とさせるが、この静止姿勢として、直立姿勢で静止させておくことも好ましい。ロボットは動作の前後の静止期間、あるいは直進歩行中など、体幹の上下方向を鉛直方向に向けている場合が多い。従ってそのような姿勢においてオフセット値を算出することによって、動作中によく取る姿勢のときにオフセット値を減じた値がより正確となるようにすることができる。
また、図1のブロック図では加速度センサ30と、姿勢角センサ32は独立のものとして描いた。姿勢角センサとしては例えば傾斜角センサ等がある。また加速度センサ30と姿勢角センサ32を合わせたユニットとして、加速度センサと角速度センサを一つの筐体に収め、鉛直方向に対する姿勢角は加速度センサと角速度センサの出力から算出して出力するものを用いてもよい。
While the offset value is calculated, the robot is in an arbitrary stationary posture. It is also preferable that the robot is stationary in an upright posture as this stationary posture. Robots often have their trunks oriented vertically, such as during stationary periods before and after movement, or during straight forward movements. Therefore, by calculating the offset value in such a posture, the value obtained by subtracting the offset value in the posture often taken during the operation can be made more accurate.
In the block diagram of FIG. 1, the
次に図5および図6を用いて、オフセット値設定後のロボットの制御について説明する。この制御はロボットに取り付けられた加速度センサの値からオフセット値と重力加速度成分を除去した値を用いてロボットに加速度フィードバック制御を行うものである。 Next, the control of the robot after setting the offset value will be described with reference to FIGS. This control performs acceleration feedback control on the robot using a value obtained by removing the offset value and the gravitational acceleration component from the value of the acceleration sensor attached to the robot.
図5はロボット制御中に行われる、加速度フィードバックループ中の重力加速度成分除去の流れを示すフローチャート図である。図5とともに図1を参照しながら処理の流れを説明する。以下の処理は図1の重力成分除去部38で処理される。
ステップS102bでは、ロボット動作中の各サンプリング周期毎にロボット本体100に備えられた加速度センサ30と姿勢角センサ32の出力値を取得する。なお、ステップS102bでは加速度センサの出力する電気量に対して既知の換算定数を乗じる処理も行う。従ってステップS102b以降では加速度センサからの出力は加速度の次元を有する物理量として扱う。次にステップS106bでは加速度センサの加速度検出方向を算出する。ステップS108bでは重力加速度のうち、加速度検出方向の成分を算出する。ステップS110bでは加速度センサ30の出力からステップS108bで算出された重力加速度の加速度検出方向成分を減算する。ここまでの処理において、サンプリング毎に各ステップで行われる処理は図3のフローチャートに示した処理と同じである。具体的にはステップS102bの処理は図3のステップS102およびS104の処理と、ステップS106bはステップS106と、ステップS108bはステップS108と、ステップS110bはステップS110と同じ処理を行っている。
FIG. 5 is a flowchart showing a flow of gravity acceleration component removal in the acceleration feedback loop performed during robot control. The flow of processing will be described with reference to FIG. 1 together with FIG. The following processing is processed by the gravity component removal unit 38 of FIG.
In step S102b, output values of the
ここで、ステップS110bの加速度センサ30の出力値から重力加速度の加速度検出方向成分を減算する処理が重力加速度成分を除去する処理である。
最後にステップS114では、オフセット記憶部36に記憶されているオフセット値を重力加速度成分が除去された後の加速度センサ出力値から減算する。こうして得られた結果が重力加速度成分除去部38の出力となる。そして図1に示すように加速度演算部22から出力される加速度目標値とともにフィードバックループを形成する。
Here, the process of subtracting the acceleration detection direction component of the gravitational acceleration from the output value of the
Finally, in step S114, the offset value stored in the offset
次に図6を用いて重力加速度成分の除去の処理を例示する。図4と同様に2次元平面に限定して説明する。
今、所定のサンプリング時点(所定のタイミング時点)において、体幹80には矢印98で示す加速度が生じているものとする。このときX軸方向を加速度検出方向とする加速度センサ30の出力値は96で示す矢印であるとする。このセンサ出力値96には重力加速度gと体幹80に加わっている加速度ベクトル98の加速度検出方向成分が含まれる。また同時にセンサ誤差(オフセット値)も含まれる。従って加速度センサ30の出力値96から、重力加速度gの加速度検出方向成分とオフセット値を減算すれば体幹80に加わっている加速度の加速度検出方向成分だけが取り出せる。このことを図6の矢印を用いて説明すると以下の通りとなる。
体幹80の姿勢角は符号92で示す角度である。従って重力加速度gの加速度検出方向成分は94となる。また体幹80に加わった加速度98の加速度検出方向成分は98aに示す矢印となる。矢印98aは理解を容易にするためにX軸上ではなくX軸に対して平行移動させて示した。この98aと同じ大きさのベクトルとして矢印98bをX軸上に描いた。また矢印88の大きさは図4で例示した加速度センサ30のオフセット値の大きさである。即ち加速度センサ30の出力96は、重力加速度gの加速度検出方向成分94、オフセット値88、および体幹80に加わっている加速度ベクトル98の加速度検出方向成分98bが加算されたものである。従って加速度センサ30の出力値96から重力加速度gの加速度検出方向成分94とオフセット値88を減算すれば、体幹80に加わっている加速度ベクトル98の加速度検出方向成分98bを求めることができる。
Next, the process of removing the gravitational acceleration component will be illustrated using FIG. Similar to FIG. 4, the description will be limited to a two-dimensional plane.
Now, it is assumed that an acceleration indicated by an
The posture angle of the
こうして加速度センサ30から出力される電気量のバイアス値により生じる誤差に対するオフセット値と、重力加速度の加速度検出方向成分を減算することで重力加速度以外に体幹80に加わっている加速度の正確な値を求めることが可能となる。
この加速度値を用いてロボットを制御することで、バイアス値をキャンセルした、正確な加速度値でかつ簡単な加速度フィードバック制御系によりロボットを制御することができる。
以上の実施例では加速度センサが一つの場合を例示したが加速度センサが複数あっても同様の処理を適用することが可能である。
Thus, by subtracting the offset value for the error caused by the bias value of the electric quantity output from the
By controlling the robot using this acceleration value, the robot can be controlled by a simple acceleration feedback control system with an accurate acceleration value with the bias value canceled.
In the above embodiment, the case where there is one acceleration sensor is illustrated, but the same processing can be applied even when there are a plurality of acceleration sensors.
なお上記実施例では加速度センサの加速度検出方向を特定するために加速度センサに直接的または間接的に固定されている姿勢角センサを利用した。ここで「間接的に固定される」とは同一の部材に対して加速度センサと姿勢角センサが固定されており、その位置関係がロボットに組み込む前に(事前に)既知であるという意味である。体幹の姿勢を特定するためには脚リンク群の各関節に備えられたエンコーダの値と脚の各リンクの形状からいわゆる順変換によって体幹の姿勢を求めることもできる。しかしながらエンコーダの値にも誤差が含まれる。さらには複数の関節がリンクを介して直列に連結された脚リンク群の構造から順変換を行うと各エンコーダの誤差が累積する。さらに順変換にはリンク自体の剛性は考慮されない。以上の理由からエンコーダの値に基づいて体幹の姿勢角、さらには加速度センサの加速度検出方向を特定するよりも、姿勢角センサから加速度センサの加速度検出方向を特定する際の精度の方が顕著に高精度となる。姿勢角センサを用いることにより加速度センサのオフセット値を高精度に求めることが可能となる。 In the above embodiment, an attitude angle sensor fixed directly or indirectly to the acceleration sensor is used to specify the acceleration detection direction of the acceleration sensor. Here, “indirectly fixed” means that the acceleration sensor and the attitude angle sensor are fixed to the same member, and the positional relationship is known (in advance) before being incorporated into the robot. . In order to specify the posture of the trunk, the posture of the trunk can also be obtained by so-called forward conversion from the value of the encoder provided in each joint of the leg link group and the shape of each link of the leg. However, the encoder value also includes errors. Furthermore, if forward conversion is performed from the structure of a leg link group in which a plurality of joints are connected in series via a link, errors of the encoders accumulate. Further, the rigidity of the link itself is not considered in the forward conversion. For the above reasons, the accuracy in identifying the acceleration detection direction of the acceleration sensor from the posture angle sensor is more prominent than specifying the posture angle of the trunk and the acceleration detection direction of the acceleration sensor based on the encoder value. High accuracy. By using the attitude angle sensor, the offset value of the acceleration sensor can be obtained with high accuracy.
また上記実施例では加速度センサの加速度検出方向(請求項に記載の「特定の方向」に相当する)として体幹の前後方向を例とした。しかし加速度検出方向は体幹の前後方向に限られるものではない。さらに加速度検出方向もひとつに限られるものではない。
ロボットには、前記加速度センサが複数備えられており、これらの加速度センサには、体幹の上下方向に加速度検出方向が定められた第1の加速度センサと、体幹の前後方向に加速度検出方向が定められた第2の加速度センサが含まれていてもよい。夫々の加速度センサに対してオフセット値を求めて記憶する。記憶したオフセット値を用いてロボットを制御する。これにより、歩行中のロボットを側方から観測したときの体幹の姿勢を意図したものに調整することが可能となる。
同様に、ロボットが、体幹の上下方向に加速度検出方向が定められた第1の加速度センサと、体幹の左右方向に加速度検出方向が定められた第2の加速度センサが含まれていてもよい。これらの加速度センサのオフセット値を求めて記憶する。記憶されたオフセット値を用いてロボットを制御することにより、歩行中のロボットを正面から観測したときの体幹の姿勢を意図したものに調整することが可能となる。
もちろん、ロボットが、体幹の上下方向に加速度検出方向が定められた第1の加速度センサと、体幹の前後方向に加速度検出方向が定められた第2の加速度センサと、体幹の左右方向に加速度検出方向が定められた第3の加速度センサが含まれていても同様の効果を奏することができる。
In the above embodiment, the front-rear direction of the trunk is taken as an example as the acceleration detection direction of the acceleration sensor (corresponding to the “specific direction” recited in the claims). However, the acceleration detection direction is not limited to the longitudinal direction of the trunk. Furthermore, the acceleration detection direction is not limited to one.
The robot includes a plurality of acceleration sensors. The acceleration sensors include a first acceleration sensor in which an acceleration detection direction is defined in the vertical direction of the trunk and an acceleration detection direction in the longitudinal direction of the trunk. May be included. An offset value is obtained and stored for each acceleration sensor. The robot is controlled using the stored offset value. This makes it possible to adjust the trunk posture when the walking robot is observed from the side to the intended posture.
Similarly, even if the robot includes a first acceleration sensor whose acceleration detection direction is defined in the vertical direction of the trunk and a second acceleration sensor whose acceleration detection direction is defined in the horizontal direction of the trunk. Good. The offset values of these acceleration sensors are obtained and stored. By controlling the robot using the stored offset value, it becomes possible to adjust the trunk posture when the walking robot is observed from the front.
Of course, the robot has a first acceleration sensor whose acceleration detection direction is defined in the vertical direction of the trunk, a second acceleration sensor whose acceleration detection direction is defined in the longitudinal direction of the trunk, and the horizontal direction of the trunk. Even if the third acceleration sensor in which the acceleration detection direction is determined is included, the same effect can be obtained.
以上、本発明の具体例を詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above.
The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology exemplified in this specification or the drawings can achieve a plurality of objects at the same time, and has technical usefulness by achieving one of the objects.
10:ロボット制御装置
22:加速度演算部
23、37:減算部
24:フィードバック制御部
26:目標値変換部
28:関節アクチュエータ
30:加速度センサ
31:換算部
32:姿勢角センサ
34:オフセット設定部
36:オフセット記憶部
38:重力加速度成分除去部
40、42:スイッチ
56:加速度検出方向算出部
58:重力加速度ベクトル成分算出部
60:オフセット算出部
100:ロボット
g、G:重力加速度ベクトル
10: Robot control device 22:
Claims (4)
体幹に固定され、特定の方向(以下、加速度検出方向という)に生じている加速度成分を検出する加速度センサと、
加速度センサに直接的または間接的に固定され、前記加速度検出方向が鉛直方向に対してなす姿勢角を検出する姿勢角センサと、
ロボットが所定静止姿勢に静止している間に、加速度センサが出力する電気量と、姿勢角センサが出力する姿勢角を取得する手段と、
前記取得手段で取得した電気量を、既知の関係で換算して加速度に換算する手段と、
前記取得手段で取得した姿勢角から、加速度検出方向の重力加速度成分を算出する手段と、
前記換算手段で換算した加速度から前記算出手段で算出した重力加速度成分を減算した値を、加速度センサが出力する電気量を前記換算手段で換算した加速度から減算するオフセット値に記憶する手段と、
を有することを特徴とする歩行ロボット。 A walking robot that includes a trunk and a leg link group, and detects the acceleration generated in the trunk, thereby changing the posture of the trunk and leg link group.
An acceleration sensor that is fixed to the trunk and detects an acceleration component generated in a specific direction (hereinafter referred to as an acceleration detection direction);
An attitude angle sensor that is directly or indirectly fixed to an acceleration sensor and detects an attitude angle that the acceleration detection direction forms with respect to a vertical direction;
Means for obtaining an electrical quantity output by the acceleration sensor and a posture angle output by the posture angle sensor while the robot is stationary in a predetermined stationary posture;
Means for converting the amount of electricity acquired by the acquisition means into a known relationship and converting to acceleration;
Means for calculating a gravitational acceleration component in the acceleration detection direction from the posture angle acquired by the acquisition means;
Means for storing a value obtained by subtracting the gravitational acceleration component calculated by the calculation means from the acceleration converted by the conversion means, as an offset value for subtracting the electric quantity output by the acceleration sensor from the acceleration converted by the conversion means;
A walking robot characterized by comprising:
前記取得手段で取得した姿勢角から、取得タイミングにおける加速度検出方向の重力加速度成分を算出する手段と、
前記取得手段で取得した電気量を前記既知の関係で換算した加速度から、前記取得タイミングにおける加速度検出方向の重力加速度成分と前記オフセット値を減算する手段と、
をさらに有していることを特徴とする請求項1又は2に記載の歩行ロボット。 Means for acquiring an electrical quantity output by the acceleration sensor and a posture angle output by the posture angle sensor during operation of the robot;
Means for calculating the gravitational acceleration component in the acceleration detection direction at the acquisition timing from the posture angle acquired by the acquisition means;
Means for subtracting the gravitational acceleration component in the acceleration detection direction at the acquisition timing and the offset value from the acceleration obtained by converting the amount of electricity acquired by the acquisition unit according to the known relationship;
The walking robot according to claim 1, further comprising:
前記姿勢角センサは、ユニット内部に内蔵された加速度センサと、ユニット内部に内蔵された角速度センサと、それらの出力値に基づいて、加速度検出方向が鉛直方向に対してなす姿勢角を演算する手段を有することを特徴とする請求項1から3のいずれか1項に記載の歩行ロボット。 The acceleration sensor and the attitude angle sensor are configured as an integrated unit,
The posture angle sensor is an acceleration sensor built in the unit, an angular velocity sensor built in the unit, and a means for calculating a posture angle formed by the acceleration detection direction with respect to the vertical direction based on output values thereof. The walking robot according to claim 1, further comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005193272A JP2007007796A (en) | 2005-07-01 | 2005-07-01 | Walking robot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005193272A JP2007007796A (en) | 2005-07-01 | 2005-07-01 | Walking robot |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007007796A true JP2007007796A (en) | 2007-01-18 |
Family
ID=37746918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005193272A Pending JP2007007796A (en) | 2005-07-01 | 2005-07-01 | Walking robot |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007007796A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100922494B1 (en) | 2007-07-19 | 2009-10-20 | 삼성전자주식회사 | Method for measuring pose of a mobile robot and method and apparatus for measuring position of the mobile robot using the method |
JP4860697B2 (en) * | 2005-08-01 | 2012-01-25 | トヨタ自動車株式会社 | Acceleration sensor correction apparatus and acceleration sensor output value correction method |
JP2012196749A (en) * | 2011-03-23 | 2012-10-18 | Seiko Epson Corp | Robot device |
JP2014128868A (en) * | 2012-12-27 | 2014-07-10 | Hyundai Motor Company Co Ltd | Method for controlling gait of robot |
JP2015036657A (en) * | 2013-08-14 | 2015-02-23 | セイコーエプソン株式会社 | Bias calculation method and bias calculation device |
CN114161402A (en) * | 2021-12-17 | 2022-03-11 | 深圳市优必选科技股份有限公司 | Robot stability control method, model construction method and device and robot |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08297033A (en) * | 1995-04-27 | 1996-11-12 | Omron Corp | Navigation system |
JPH09292248A (en) * | 1996-04-30 | 1997-11-11 | Matsushita Electric Ind Co Ltd | Navigation system |
JP2002277266A (en) * | 2001-03-19 | 2002-09-25 | Matsushita Electric Ind Co Ltd | Navigation apparatus |
WO2003090981A1 (en) * | 2002-04-26 | 2003-11-06 | Honda Giken Kogyo Kabushiki Kaisha | System for estimating attitude of leg type moving robot itself |
JP2004354214A (en) * | 2003-05-29 | 2004-12-16 | Sony Corp | Acceleration detection device and acceleration detection method |
-
2005
- 2005-07-01 JP JP2005193272A patent/JP2007007796A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08297033A (en) * | 1995-04-27 | 1996-11-12 | Omron Corp | Navigation system |
JPH09292248A (en) * | 1996-04-30 | 1997-11-11 | Matsushita Electric Ind Co Ltd | Navigation system |
JP2002277266A (en) * | 2001-03-19 | 2002-09-25 | Matsushita Electric Ind Co Ltd | Navigation apparatus |
WO2003090981A1 (en) * | 2002-04-26 | 2003-11-06 | Honda Giken Kogyo Kabushiki Kaisha | System for estimating attitude of leg type moving robot itself |
JP2004354214A (en) * | 2003-05-29 | 2004-12-16 | Sony Corp | Acceleration detection device and acceleration detection method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4860697B2 (en) * | 2005-08-01 | 2012-01-25 | トヨタ自動車株式会社 | Acceleration sensor correction apparatus and acceleration sensor output value correction method |
KR100922494B1 (en) | 2007-07-19 | 2009-10-20 | 삼성전자주식회사 | Method for measuring pose of a mobile robot and method and apparatus for measuring position of the mobile robot using the method |
JP2012196749A (en) * | 2011-03-23 | 2012-10-18 | Seiko Epson Corp | Robot device |
JP2014128868A (en) * | 2012-12-27 | 2014-07-10 | Hyundai Motor Company Co Ltd | Method for controlling gait of robot |
DE102013111210B4 (en) | 2012-12-27 | 2020-06-10 | Hyundai Motor Company | Robot gear control method |
JP2015036657A (en) * | 2013-08-14 | 2015-02-23 | セイコーエプソン株式会社 | Bias calculation method and bias calculation device |
CN114161402A (en) * | 2021-12-17 | 2022-03-11 | 深圳市优必选科技股份有限公司 | Robot stability control method, model construction method and device and robot |
CN114161402B (en) * | 2021-12-17 | 2023-11-10 | 深圳市优必选科技股份有限公司 | Robot stability control method, model construction method, device and robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007007796A (en) | Walking robot | |
US7835878B2 (en) | Travel angle detection system for mobile object | |
EP1770362B1 (en) | Angular velocity measuring device and leg-moving robot | |
Flayols et al. | Experimental evaluation of simple estimators for humanoid robots | |
US11077553B2 (en) | Robot and offset correction device for force sensor | |
US10737384B2 (en) | Robot system | |
JP2004053530A (en) | Highly-accurate attitude detection method of moving body and its device | |
JP2011017688A (en) | Angle measuring method and angle measuring gyro system for executing the same | |
US11780515B2 (en) | Mitigating sensor noise in legged robots | |
KR20220034145A (en) | Method and apparatus for dynamic optical flow sensor calibration by IMU in planar robotic system | |
JP2011059020A (en) | Apparatus, method and program for estimating three-dimensional attitude | |
Kim et al. | A walking motion imitation framework of a humanoid robot by human walking recognition from IMU motion data | |
JP2009276242A (en) | Angular velocity detector and angular velocity detection method | |
JPH08304448A (en) | Apparatus and method for detection of dynamic amount | |
CN211696377U (en) | Platform device for measurement | |
Janocha et al. | Requirements for inertial sensor systems for measuring robot positions | |
JP7404124B2 (en) | Azimuth angle attitude measurement device | |
JP4163824B2 (en) | Weighing device | |
WO2023175751A1 (en) | Control device, control method, and program | |
KR101068838B1 (en) | Apparatus and method for processing output signal error in accelerometer | |
JP2018033070A (en) | Signal processing apparatus for acceleration sensor | |
JP2006153662A (en) | Detection method and detector for inclination angle and translational acceleration | |
Li et al. | Real-time foot attitude estimation for a humanoid robot based on inertial sensors and force sensor | |
Takahashi et al. | Development and evaluation of an attitude measuring system that uses acceleration information of walking for biped robots | |
KR101068837B1 (en) | Apparatus and method for correcting output signal error in accelerometer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20071207 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A131 | Notification of reasons for refusal |
Effective date: 20101214 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110412 |