Skip to main navigation Skip to search Skip to main content

Smooth Gait Generation for Quadrupedal Robots Based on Genetic Algorithm Optimization

  • Zainullah Khan
  • , Farhat Naseer
  • , Khawaja Fahad Iqbal
  • , Sara Ali
  • , Muhammad Sajid
  • , Yasar Ayaz

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearch

Abstract

Gait generation is the process of finding a sequence of robot leg movements, which propel the robot in the desired direction when executed in a certain order. It is an optimization problem where multiple parameters need to be tuned in order to generate an optimal gait. In this paper, we propose a novel technique to improve the gait quality of a quadrupedal robot. In our proposed technique, we create an optimal fitness function for a Genetic Algorithm (GA) optimizer and use a trapezoidal velocity profile for joint movements. Our quadrupedal robot consists of 8 joints, 2 per leg. All joints are actuated by servo motors. The robot joints are controlled using a single layer Artificial Neural Network (ANN) whose inputs are the current robot joint angles and outputs are the target joint angles. The ANN is called every time the joints reach their target positions. A GA is used to optimize the ANN weights. The GA runs for a total of 100 generations over a population size of 10. The fitness function is a combination of the total distance traveled by the robot, and a scaling factor for the fitness value based on the overall joint movements. This discourages the GA from optimizing gaits that tend to an idle state. The controllers are selected based on how well they maximize the fitness function. The simulation of the robot is carried out in Open Dynamics Engine (ODE). The results show that the proposed technique considerably improves the overall fitness of the gait and the total distance traveled by the robot. Moreover, the proposed technique converges to an optimal gait in under 20 generations whereas the existing method takes over 40 generations. Furthermore, the robot joint movement is much smoother in the proposed method hence reducing the jerking in the robot motion.

Original languageEnglish
Title of host publicationProceedings of 2022 International Conference on Artificial Intelligence
EditorsRaheel Nawaz
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages122-126
Number of pages5
ISBN (Electronic)9781665468961
ISBN (Print)9781665468978
DOIs
Publication statusPublished - 2022
Externally publishedYes
EventIEEE International Conference on Artificial Intelligence 2022 - Islamabad, Pakistan
Duration: 30 Mar 202231 Mar 2022
Conference number: 2nd
https://ieeexplore.ieee.org/xpl/conhome/9773362/proceeding (Proceedings)

Conference

ConferenceIEEE International Conference on Artificial Intelligence 2022
Abbreviated titleICAI 2022
Country/TerritoryPakistan
CityIslamabad
Period30/03/2231/03/22
Internet address

Keywords

  • Gait Evolution
  • Gait Generation
  • Genetic Algorithm
  • Neuro-evolution
  • Quadrupedal Robot

Cite this