<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Application of Position Sensors for an Adaptive Algorithm for the Movement of a Biped Walking Robot</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lebedev Philipp Sergeevich</string-name>
          <email>Lebedev.phil@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chudakova Milena Alekseevna</string-name>
          <email>mila.97@mail.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Orlov Alexander Vladimirovich</string-name>
          <email>A.V.Orlov@mail.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Ural Federal University</institution>
          ,
          <addr-line>Ekaterinburg</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper is devoted to the algorithm of biped robot walking process which based on transfer of center of mass and algorithm adaptation to changing dynamic characteristics by making corrections from position sensors (accelerometer and gyroscope) with measuring a zero moment point in the walking process.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>1. Introduction</p>
    </sec>
    <sec id="sec-2">
      <title>Phase 1</title>
    </sec>
    <sec id="sec-3">
      <title>Phase 2</title>
    </sec>
    <sec id="sec-4">
      <title>Phase 1</title>
    </sec>
    <sec id="sec-5">
      <title>Phase 2</title>
      <p>For this process of movement, a mathematical model has been developed, based on the movement of the center
of mass of the robot along two axes, taking into account the following principles:
1. The mass and dimensions of each part of the robot are known and do not change during movement;</p>
    </sec>
    <sec id="sec-6">
      <title>2. The surface on which the robot moves is horizontal and has no obstacles;</title>
    </sec>
    <sec id="sec-7">
      <title>3. There are not the external impacts on the robot in the process of movement.</title>
      <p>The main requirements for the walking algorithm:
1. The horizontal projection of center of mass must pass through the surface of the support. It needs for to keep of
the stable position.
2. The cycle of a single step should consist of two phases – transfer the center of mass from the back foot to the
front (two-support) and moving the swing foot forward to the step (single-support).
3. To avoid jerks in both phases of motion, horizontal velocity of the massive torso must be constant.
4. It is not allowed to straighten the flight foot before separation and when touching the surface in order to avoid
the ambiguity of working out the trajectories.
5. The torso should not have a vertical movement. So it weakens the stability of the gait and increases energy
consumption.</p>
      <p>y6
q3
y4
y5
q6
q4
y3
q5</p>
      <p>y1</p>
      <p>Using task-oriented coordinates contains: deviations:܍ ൌ ܍ሼ ܑ ሽ , i = 1, k and paths ܛ ൌ ܛሼ ࢏ ǡሽ ࢏ ൌ ૚ǡ ࢒ ത ത ത ത ; qi is the
angles of robot joints rotation.</p>
      <p>The total number of conditions for each phase of the movement should be equal to the number of links of the biped
(the number of degrees of freedom). k + l = n, in this case n = 3 + 3 = 6.</p>
    </sec>
    <sec id="sec-8">
      <title>Two-support phase:</title>
      <p>Single-support phase:
h(α) = y′ + T T ή z
்
ۍ ݕ ଵ ் ې
ێ ݕ ଶ ۑ ൌ ൦
ێ ǥ ۑ
ۏ ݕ ௡ ் ے
݄ ଵ
݄ ଶ ൪ ൌ
ǥ
݄ ௡
ێ ǥ
ۏ ݕ ௡ଵି்
ۑ
ے
ۍێ ݕݕ ଴଴ ் ېۑ ൅ ێۍ ݖݖ ଵଶ்் ήή ܶܶ ்் ήή ሺሺ ߙߙ ଵଶ ሻሻ ېۑ
்
ێ ǥ ۑ
ۏ ݖ ௡் ή ܶ ் ή ߙሺ ௡ ሻ ے
(2.5)</p>
      <p>Here, c1 is the vertical coordinate of the foot; Vk is the horizontal velocity of the torso; с2 is the horizontal
coordinate of the front foot edge; с3 is the vertical coordinate of the front foot edge; Q is the total angle of the
positions of biped; А is the height of the front foot edge lifting; ࣓ is the frequency of a single step; k, b are the angle
of inclination and the height of the downward trajectory.</p>
      <p>The basic model in its general form is a kinematic control object of n links that is described by the following
system of vector-matrix equations:</p>
      <p>Here, control vector is u [n×1]; q [n×1] is the vector of drives rotation angles; α [n×1] is the vector of absolute
angles of links rotation; y [n×2] is the vector of coordinates of the end points of the links; B [n×n] is the matrix of
the system inputs; R [n×n] is the matrix of transition from relative angles to absolute; h [n×2] is the matrix of
recalculation of angular coordinates into linear.</p>
    </sec>
    <sec id="sec-9">
      <title>The coordinate conversion matrix h is defined by the expression: The detailed form of the recurrent procedure for calculating the elements of the matrix h is written like this:</title>
      <p>Here, T(ߙ ௜ ሻ ൌ
ሺߙ
൤ ሺߙ
௜ ሻ ߙሺെ
௜ ሻ
ߙሺ
௜ ሻ ൨ – rotation matrix.</p>
      <p>௜ ሻ
Expressions (2.1) for variables of the i-th link written as:
ቐ
ݕ ௜ ் ൌ ݕ</p>
      <p>ݍ ప ሶ ൌ ܤ
ߙ ௜ ൌ σ ௝௜ୀଵ
௜ିଵ் ൅ ݖ
௜ ݑ ௜</p>
      <p>ݍ ௜
௜் ή ܶ ் ሺߙ ௜ ሻ</p>
      <p>The control task is to minimize the vector of deviations e (task a). Stabilize the vector of the path traveled s per
time - holding the vector of required velocities V * = s ̇ (task b). The synthesis procedure involves obtaining a
motion model in Cartesian coordinates, converting to task-oriented coordinates, and then synthesizing controls that
solve tasks (a) and (b).</p>
      <p>After differentiation of the direct kinematics equation (2.3) was obtained:
పିଵ ሶ
் ൅ ߙ
ሶప ݖ ௜் ܶ ሺ ߙ ௜ ሻ ܧ ൌ ݕ
పିଵ ሶ ் ൅ ݎ ௜ ் ݍ ሶ ή ݖ ௜் ܶ ሺ ߙ ௜ ሻ ܧ ൌ ݕ
పିଵ ሶ
் ൅ ݖ
Here, Е = ቂ Ͳ ͳ ቃ</p>
      <p>ͳെ Ͳ</p>
    </sec>
    <sec id="sec-10">
      <title>After simplification obtained:</title>
      <p>Task oriented bipedal robot model:
ݕ ሶ ൌ ܩ
௬ ሺߙሻ ή ܤݑ
, ܩ ௬ ሺ ߙ ሻ ൌ</p>
      <p>ή ݍ ሶ
డʣ
డ௬
ή ܩ ௬ ሺ ߙ ሻ ή ܴ ൅
డʣ
డ௤</p>
      <p>Adaptation of the movement model.</p>
      <p>Movement mode from previous part is valid only for ideal conditions. The parameters of the robot, such as
body mass, hand position, external moments can change, and the model needs to be adjusted for external forces. To
solve this problem is used method of determining of the zero moment point. External moments will reject the
position of the robot. And changing of position can be measured by sensors. Based on the measurement results,
robot controller is change of the drives of robot joints and generates adjusts for the movement model. It allows
adapting the movement algorithm to the surrounding environment.</p>
      <p>The external influence is a random variable, for its assessment was restricted to the following conditions:
1. External impacts are relatively small and do not exceed 15% of the main impact according to the movement
algorithm;
2. External influences are constant within the time interval spent by the robot one step.</p>
      <p>MEMS gyro and accelerometer MPU6050 is using for measurements. Information from sensors after
processing the Kalman filter is used to correct the current position of the robot for x deviation, and also taking into
account the scale factor m, are introduced into the dynamic equations of the motion process.</p>
      <p>4
(2.6)
(2.7)
(2.8)
(2.9)
(2.10)</p>
      <p>The mathematical model of the process of movement with adaptations will take the form:
పିଵ ሶ
் ൅ ݇
ሶ ்
ప ݖ ௜ ܶ ሺ ݇ ௜ ሻ ܧ ൌ ݕ
పିଵ ሶ ் ൅ ݎ ௜ ் ݍ ሶ ή ݖ ௜் ܶ ሺ ݇ ௜ ሻ ܧ ൌ ݕ</p>
      <p>௜் ܶ ሺ ݇ ௜ ሻ ܧ
పିଵ ሶ
் ൅ ݖ</p>
      <p>௜ ் ܶ ሺ ݇ ௜ ሻ ܧ
Here k = ࢻ ൅ ࢞ ή ࢓ is the required angle with corrections.</p>
      <p>After simplification obtained the task oriented bipedal robot model with adaptation to the external
influences:
4. Conclusion</p>
      <p>The calculation of the robot joints drives rotation angles is made according to the developed mathematical
model, which is based on the movement of the center of mass of the robot. At the same time, at each step, the value
of external influences on the robot is estimated along two axes. It’s used to calculate corrections of the robot joints
drives rotation angles, and also corrects the motion model. The continuous introduction of adjustments to the motion
model allows one to get closer to the actual conditions in which the robot moves. It can increase of the accuracy of
the next step of the robot.</p>
      <p>This algorithm will be use as part of the control program of the STM32F4 microcontroller which used as a
controller for a bipedal walking robot developed by the Institute of Radio Electronics and Information Technology.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Analysis</surname>
          </string-name>
          ,
          <source>Control and Design of Walking Robots. Gijs van Oort. ISBN 978-90-365-3264-8. DOI 10.3990/1</source>
          .9789036532648. Copyright c 2011 by G. van Oort,
          <string-name>
            <surname>Enschede</surname>
          </string-name>
          , The Netherlands.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Eric R. Westervelt</surname>
          </string-name>
          , Jessy W. Grizzle,
          <article-title>Christine Chevallereau and oth</article-title>
          .
          <source>Feedback Control of Dynamic Bipedal Robot Lovomotion</source>
          . - CRC Press. - London- New York,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Formal'skij A.M.</surname>
          </string-name>
          <article-title>Moving anthropomorphic mechanisms</article-title>
          . - M.:
          <string-name>
            <surname>Nauka</surname>
          </string-name>
          ,
          <year>1982</year>
          . - 368 p.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Vukobratovic</surname>
            <given-names>M.</given-names>
          </string-name>
          <article-title>Walking robots and anthropomorphic mechanisms</article-title>
          . - M.:
          <string-name>
            <surname>Mir</surname>
          </string-name>
          ,
          <year>1976</year>
          . - 539 p.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Vukobratovic</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borovac</surname>
            <given-names>B</given-names>
          </string-name>
          .
          <article-title>Zero-moment point-thirty five years of its life //</article-title>
          <source>International Journal of Humanoid Robotics. - 2004</source>
          . -
          <fpage>№</fpage>
          1. -
          <fpage>РР</fpage>
          .
          <fpage>157</fpage>
          -
          <lpage>173</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>