The invention discloses a
humanoid robot gait control method and
system based on
simulation and
inverse reinforcement learning, and the method comprises the steps: collecting the walking data of a
human body or a
simulation robot to construct a high-quality training
data set, and calculating the similarity between the
robot and expert data through a graph
convolution structure; a multi-dimensional linear reward function is designed based on a task target, four types of indexes including stability,
gait periodicity, trajectory similarity and energy efficiency are integrated, and multi-target optimization is achieved through
weight distribution. A neural network is adopted to construct a strategy model, training is performed in combination with a near-end strategy optimization
algorithm, and a strategy ratio
cutting technology is utilized to constrain an update amplitude so as to improve learning stability. And meanwhile, a maximum
entropy principle is introduced to dynamically update a reward function, so that the adaptability to expert strategies is enhanced. Finally,
simulation verification is conducted through a MuJoCo physical engine, and visual analysis and performance evaluation of the highly-simulated human
gait are achieved. According to the method, the problem that the
robot gait self-adaptability and robustness are insufficient in a complex dynamic environment is solved.