Design, Modeling and Analysis of Bipedal Walking Robot by Using Fuzzy Logic Controller

DOI : 10.17577/IJERTV2IS120359

Download Full-Text PDF Cite this Publication

Text Only Version

Design, Modeling and Analysis of Bipedal Walking Robot by Using Fuzzy Logic Controller

D. Mojeswararao1, Dr. Y. Sesha rao2

1QIS College of Engineering and Technology affiliated to JNTUK, ongole, A.P, India

2Dr.Y.Sesha rao2, Prof. in Dept. of Mechanical Engineering, QISCET, ongole, A.P, India

  1. ABSTRACTThis paper describes the design, solid modeling and kinematic analysis of bipedal walking robot, which is developed through a strategy of balance control and movement of bipedal robot during its walk, it will also use fuzzy logic algorithm. The assumed motion for the bipedal robot is horizontal walking on a flat surface. The actuated joints are hip, knee and ankle joints which are driven by DC servomotors. The control signals produced by the fuzzy controllers are applied to the servomotors and then the response of the servomotors will led to the walking of the robot.

    Keywordscentre of mass (COM), degrees of freedom (DOF), RC servo motor, fuzzylogic

  2. INTRODUCTIONA bipedal robot can be generally described as the types of

    autonomous system which can imitate human waling motion with maintaining postural stability during the motion. To obtain human-like robotic walking has been a long standing, if not always explicitly stated, goal of robotic locomotion. Achieving this goal promises to result in robots able to navigate the myriad of terrains that humans can handle with ease for example, important applications to space exploration, walking up on a stair etc. Moreover, if one can understand how to make robots walk like humans, this understanding can be used to build robotic assistive and prosthetic devices to aid people with walking impairments and lower extremity amputations walk more efficiently and naturally. Thus, the ability to obtain human-like robotic walking has important and far-reaching ramifications.

    The main idea behind this project work is that regardless of the complexity present in human walking hundreds of degrees of freedom coupled with highly Non linear dynamics and forcing the essential information needed to understand walking is encoded in simple output functions.

    Design of Bipedal robot involves equal amount of mechanical and electronics considerations. There are many factors which are to be considered are cost, actuator, size, weight and controlling of actuators. All these factors have been considered and designed. The robot has six degrees of freedom, with three degrees of freedom per leg. Each leg has Hip, Knee and Ankle.With advances in science and technology, the interest to study the human walking has developed the demand for building the Bipedal robots.

  3. MECHANICAL DESIGN OF BIPEDAL ROBOT

    The mechanical design forms the basis for developing of this type of walking robots. The mechanical design contains following two stages.

    1. Determination of mechanical constraints.

    2. Conceptual design

        1. Determination of mechanical constraints:-

          There are various design considerations when designing a Bipedal robot. Among them, the major factors that have to be considered are Robots size selection, Degrees of freedom (D.O.F) selection, Link Design, Stability and Foot Pad design.

          1. Robots Size Selection

            Robots size plays a major role. Based on this the cost of the project, materials required for fabrication and the no of actuators required can be determined. In this project miniature size of the robot is preferred so a height of 300mm is decided which includes mounting of the control circuits, but the actual size of the robot is 230mm without mounting of controlling circuits.

          2. Degrees of Freedom (D.O.F)

            Human leg has Six Degrees of freedom (Hip 3 D.O.F, Knee 1 D.O.F, Ankle 2 D.O.F), but implementing all the Six D.O.F is difficult due to increase in cost of the project and complexity of controlling of the actuators. Therefore 3 D.O.F per leg has been used. With these six degrees of freedom (both legs) the robot is capable of walking.

          3. Link Design

            In this project U-shaped bracket like arrangement is used for joints formation. The bracket consists of two parts namely Servomotor bracket A and B. Servomotor will be fixed in the bracket A and the bracket B is used to transmit the output of the servomotor. Bracket B and servomotor are coupled using servomotor horn. By using the brackets there is a greater flexibility and individual joint can be actuated without disturbing the other joints. The Servomotor brackets are designed in accordance with the motor size as shown in Fig 3.1.

            Figure 3.1 U-shaped servo brackets

          4. Stability

            With Biped mechanism, only two points will be in contact with the ground surface. In order to achieve effective balance, actuator will be made to rotate in sequence and the robot structure will try to

            balance. If the balancing is not proper, in order to maintain the Centre of Mass, dead weight would be placed in inverted pendulum configuration with 1 D.O.F. This dead weight will be shifted from one side to the other according to the balance requirement. But in this project no such configuration is used.

          5. Foot Pad Design

      The stability of the robot is determined by the foot pad. Generally there is a concept that oversized and heavy foot pad will have more stability due to more contact area. But there is a disadvantage in using the oversized and heavy foot pad, because the torque requirement of the motor is more and lifting the leg against the gravity becomes difficult. By considering this disadvantage an optimal sized foot pad which is neither too oversized nor too heavy was used.

      3.2 CONCEPTUAL DESIGN

      Initially the Bipedal robot was conceived with ten degrees of freedom with four degrees of freedom per leg and two passive degrees of freedom. Generally greater number of degrees of freedom increases the complexity of controlling the actuators and also increases the cost of the project, while the projects aim is to achieve the task at low cost. Due to these constraints,

      bipedal model is redesigned with eight degrees of freedom with three degrees of freedom per leg and two passive degrees of freedom. In this design all the joints are actuated in pitch orientation. On analysis of the model, drawback that all the joints are actuated in pitch orientation was brought into light. If all the joints are actuated in pitch orientation, shifting of center of gravity from one foot to another becomes impossible. Passive degrees of freedom that are used were abandoned because passive degrees of freedom dont help the robot to move and make it very difficult or impossible to lift the swing leg of the ground. In general passive degrees of freedom always compensate and precise engineering has to be done to achieve it. Finally, a new design was arrived with the knowledge gathered from developing previous Bipedal models. The new design has got Six degrees of freedom with three degrees of freedom per leg. Hip and Knee are actuated in Pitch orientation and Ankle joint is actuated in Roll orientation. This design has more stability with equal weight distribution on both the legs. Passive Degrees of Freedom considered in the previous models have been removed and both legs are connected by a link.

  4. ANALYSIS OF BIPEDAL ROBOT

The analysis of bipedal robot is done by determination of Centre of mass and kinematic parameters used in the balancing of the bipedal robot.

    1. Centre of mass

      In physics, the center of mass, of a dstribution of mass in space is the unique point where the weighted relative position of the distributed mass sums to zero. In this paper we are calculating the COM of bipedal robot in form of the variable form because dont know the exact dimensions. This model will be good example to calculate the COM using x, y, z variables as each link having 3 DOF movements. The following Table 4.2 will explain how to calculate the COM for each link of the bipedal walking robot.

      And the centroid will be (Xt,Yt,Z) which is defined from the product of centroid in respective axis and area of total elements in the model .

      Hence the centroid of the total model is (Xt,Yt,Zt)

      Xt =

      Yt = Zt=

    2. KINEMATIC PARAMETERS ANALYSIS

      The D-H method allows the step from a link to the following link by 4 basic transformations that depends only on the robot's constructive characteristics. These are basic transformations that relate the reference system of the element n+1 with the reference system of the element n

      (Fig4.1)

      Figure 4.1 Basic transformations that relate the reference system of the element n+1 with the reference system of the element n.

      1. A rotation n+i about the Zn axis (to bring Xn parallel with Xn+1)

      2. A translation dn+i along the Zn axis (to make the x-axes collinear)

      3. A translation an+i along the X axis (to make the z-axes coincide)

      4. A rotation n+i about the Xn axis (to bring Zn parallel with Zn+1)

      Together, these four transformations in the above order lead to an unique homogeneous transformation matrix with four variables

      representing the relationship between these two links. Since the matrix product is not commutative, the operation should be made in that order.

      nLn+1 = Rot(z,n+1) * Trn(0,0,dn+1) *Trn(an+1,0,0) * Rot(x,n+1)

      NOTE:-

      Rot = rotation, Trn = translation

      Following is the homogenous transformation matrix nLn+1 =

      Where n+1, dn+1, an+1, n+1 are the D-H parameters for the i link. Thus, is enough to identify the n+1, dn+1, an+1, n+1 parameters

      to obtain the nLn+1 matrices and relate each

      robot's link.

      LINK

      ai

      i

      di

      Øi

      1.

      0

      900

      0

      ø1

      2.

      0

      0

      d1

      ø2

      3.

      0

      -900

      d2

      ø3

      4.

      L3

      900

      0

      0

      5.

      L5

      0

      0

      ø5

      6.

      0

      900

      0

      ø6

      Table. 4.1 D-H parameters of the bipedal robot

      Now substitute the values in the table. 4.1 in nLn+1 to get the homogenous transformation matrix for each link in the robot. So six matrixes will be obtain because having six links. By the product of six matrixes total homogenous transformation matrix will

      obtain.

      [ 0L6 ] = [ 0L1] x [ 1L2] x [2L3] x [3L4] x [4L5] x [5L6] [0L1]=

      [1L2] =

      [2L3] =

      [3L4] =

      [4L5] =

      [5L6] =

      The total transformation matrix is product of above all six matrix that is shown below as

      [0L6] 4×4 =

    3. INVERSE KINEMATIC ANALYSIS

The purpose of solving the inverse kinematics is to find the angle of each joint for a known foot position. The equation provides the solution for the forward kinematics with matrix P being the result. The translation vector {Px, Py, Pz} gives the position of the foot and the orientation matrix shows the direction of the foot in the space of the motion. Based on the assumption that the values in P are known, the joint angles can be calculated.

The orientation matrix is given as

O=

General transformation matrix as

T=

Hence the orientation and position will be determined by the comparison of above two matrixes with the total transformation matrix [ 0L6 ]4×4. So, the angular position of the hip

joint, knee joint and ankle joints are given as below.

1 = tan-1 ( sin1/ cos1);

Where cos1 = -( ax/az), sin1 = (1-cos12) 2 = tan-1( r31/r32),

3 = tan-1(sin3/cos3);

Where cos3 = ( [r31+r32]/ 2[r32-r31] ) 5=tan-1(sin5/cos5);

Where cos5= {dx2+dy2+dz2+(d1+d2)2- [L42+L32]}/ 2L4L3

6 = tan-1 (sin6/cos6); where cos6 = [r11+1]-cos5

Above angles are defined by considering both legs in bipedal robot. So, this is the kinematic parameters analysis to the bipedal robot. It may vary according to the movement and rotation of the robot.

LIST OF COMPONENTS

5.1 Microcontroller

The ATmega16A provides the following features: 16K bytes of in-system programmable flash program memory with read while write capabilities, 512 bytes EPROM, 1K byte SRAM, 32 general purpose I/O lines, 32 general purpose working registers, an interface for boundary scan, on chip debugging support and programming, three flexible timer/counters

with compare modes, internal and external interrupts, a serial programmable USART, a byte oriented two wired serial interface, an 8-channel, 10-bit ADC with optional differential input stage with programmable gain, a programmable watchdog timer with internal oscillator, an SPI serial port, and six software selectable power saving modes.

The ADC noise reduction mode stops the CPU and all I/O modules except asynchronous timer and ADC, to minimize switching noise during ADC conversions. In standby mode, the crystal/resonator oscillator is running while the rest of the device is sleeping as shown in Fig 3.3.This allows very fast start up combined with low- power consumption. The device is manufactured using Atmels high density nonvolatile memory technology. The on chip ISP flash allows the program memory to be reprogrammed in system through an SPI serial interface, by a conventional memory programmer, or by an on chip boot program running on the AVR core. By combining an 8-bit RISC CPU within system self-programmable flash on monolithic chip, the Atmel ATmega16A is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega16A AVR is supported with a full

suite of program and system development tools including: C compilers, macro assemblers, program debuggers/simulators, in-circuit emulators, and evaluation kits

Figure 5.1.1: Top and Bottom side of Controller Board

5.2. RC Servomotor

RC Servomotors are basically geared DC motors with positional feedback control, which can accurately position the shaft. The motor shaft of RC Servomotor is positioned by Pulse Width Modulation (PWM). Generally Angles are coded as pulse width, so based on the pulse width duration the motor rotates as shown in Fig 5.1 and 5.2. The motor can rotate from 0 to 180 and it can be rotated in a second. In this project RC Servomotor is used which has a torque of 14 Kg-cm. It is the maximum rated torque available in the market. Based on the availability the robot has been designed. In general 14 Kg-cm torque is sufficient for static walking robots.

Figure .1 RC Servomotor image

Figure 5.2 Block diagram of RC Servomotor

  1. SOLID MODELLING OF BIPEDAL ROBOTThere are various design considerations when designing a bipedal robot. Among them, the major factors that have to be considered are robots size selection, degree of freedom selection, link design, stability and foot pad design. In this project U-shaped bracket like arrangement is used for joints formation. The bracket consists of two parts namely servomotor bracket A and B as shown in Fig 6.1 and 6.2.

    Figure 6.1 Upper bracket A

    Figure 6.2 Lower bracket B

    Now by placing the RC Servomotor between the two brackets A and B with revolving joints. Two brackets are connected each other in order to create a link of the bipedal walking robot. This link is considered as joint which can make 3 DOF moments fig6.3

    Figure 6.3 Joint of the robot

    By connecting same bracket each other robot leg will be obtained as shown in the (Fig 6.4)

    Figure 6.4 Total assembly of bipedal robot

    1. SIMULATION OF BIPEDAL WALKINGROBOT

      The biped locomotion consists of simultaneous movements of knee, hip and ankle joints in real time environment. Hence locomotion of the bipedal robot is simulated through MAT LAB programming. By using MAT LAB programming following movements will be obtained.

      1. Angular position and velocities

      2. Forces on end stance of the leg

      3. Control signals

      4. Linear displacement of each leg in biped robot

      5. Acceleration of hip, knee and ankle joints of right leg

      6. Acceleration of hip, knee and ankle joints of left leg

      7. Motion of biped robot and resultant forces acting on the robot

        1. .EXPERIMENTAL SETUP

          The successful working of the fabricated model requires the synchronized working of the mechanical structure, positioning of servo motor and the commands from the controller circuit which acts as the brain behind the biped robot prototype. The biped robot consists of four servo motors which makes the system as a multi input and multi output system.

          1. FUZZY CONTROLLER DESIGN

            A fuzzy controller consists of a set of rules, an interface engine, a fuzzifier and a de fuzzifier. Rules may be provided by an expert (i.e. a human) or can be extracted from numerical data. The fuzzifier maps crisp numbers into fuzzy sets. Its job is to activate tools associated (through linguistic

            variables) with fuzzy sets. Fuzzy interface is expressed in terms of fuzzy variables that are ambiguous or imprecise.

            1. BASIC FUZZY LOGIC BLOCK DIAGRAM

            2. INPUT OUTPUT VARIABLEThe first step in fuzzy controller defines the input and output variable so as to determine which parameters to be optimized in the control system.

        The input variables are defined as error in the system and derivative of error. The output variable is the motor rpm.

      8. CONCLUSION

        According to this paper DC servomotors can operate simultaneously one after one as fuzzy logic algorithm by the microcontroller to generate the walking motion of the robot. The angular velocities of the hip, knee and ankle joints are controlled through programming for walking of bipedal

        robot. Angular orientations and transformation of the links are determined by the kinematic analysis. Bipedal robot will walk by the balancing of the center of mass (COM) calculated above.

        It is clear that more complicated models of actual human lower limbs or the whole body with more degrees of freedom may be obtained and controlled utilizing the same approach. Observing the system performance by means of the included mechanics module will give a better understanding of the studied system and reduce the cost of the experimental setup of prototype of the system.

      9. SCOPE OF FUTURE WORK

        The present prototype can only generate simple walking motion up to four steps. The same prototype can be used for making motion like climbing up a stair or climbing up in a slope with maintaining postural stability. At this time the system becomes highly nonlinear and number of parameters to be controlled increases with complexity. Hence to analyze the system high level programming is required and in

        addition to it advanced controller algorithm to be used for maintaining walking stability in bipedal robot.

      10. REFERENCES

        1. Atsuo Takankhi, Design of Biped Walking Robots Having Antagonistic Driven Joints Using Nonlinear Spring Mechanism, Humanoid Research Laboratory, Advanced Research Institute for Science and Engineering, Wasedz University,pp. 56-60, 2007.

        2. Yuan Zheng, Design of Small Power Biped Robot by Load Sharing of Walking Gait, Dept.of Electrical Engineering The Ohio State university, pp. 69-26,2010.

        3. Lang Yuedong, Design, Simulation and Walking Experiments for a Humanoid and Gorilla Robot with Multiple Locomotion Modes. Proceeding of the IEEE, ICRA99, pp.368-374,1991.

        4. Masatsugu Iribe, A designing method ofthepassive dynamic walking robot via analogy with the Phase Locked Loop circuits, pp. 251-326.

        5. Adreff and Arias, Bipedal walking: from gait design to experimental

          analysis, Mechatronics pp. 639- 665,2007.

        6. Xiangyu Chen and ZexiangLi,

          Walking Pattern Design and Feedback Control for Humanoid Robot, pp. 191- 208,2009.

        7. Eunchul Jeon and Sungho Jo, Human Gait-Based Bipedal Walking Robot Design in Progress,International Conference on Control, Automation and Systems, pp. 199-206, 2010.

        8. Kohei Wakita and Jian Huang, Human-Walking-Intention-Based Motion Control of an Omnidirectional-Type Cane Robot, pp. 203-215, 2013.

        9. Chwan HsenChen and Jia Rong Chang, Design and Implementation of Humanoid Biped Walking Robot Mechanism towards Natural Walking, pp. 555-565, 2011.

        10. Xiaodong Zhang., Xiaojuan Wei and Peng Yi, Design of Control System for Elderly-assistant & Walking-assistant Robot Based on Fuzzy Adaptive Method, Proceedings of IEEE International Conference on Mechatronics and Automation A, pp. 326-329, 2012.

        11. Yamaguchi, Soga and Inoue, Takanishi, Development of a Biped Humanoid Robot: Control Method of Whole Body Cooperative Dynamic Biped Walking, Proceeding of the IEEE, ICRA, pp.368-374, 1999.

        12. Kanehiro, Inaba and Inoue,

Development Software Environment that is applicable to Small-size Humanoids and Life-size Humanoids, Proceedings of the IEEE ICRA, pp. 4084-4089, 2001.

Leave a Reply