The application provides a hip
exoskeleton control method and
system for reaction control and complementary constraint, and the method comprises the following steps: S1, constructing a hip
exoskeleton man-
machine system dynamics model, and establishing a coupled dynamics equation; S2, establishing a foot-
ground contact nonlinear complementary constraint model, and introducing a relaxation parameter for further
processing; S3, establishing a multi-objective reaction control cost function, comprehensively considering an
exoskeleton space, a human space, an environment space and a complementary constraint violation penalty term, and constructing a quadratic cost function; and S4, solving a quadratic
programming problem with a complementary constraint in real time, dynamically adjusting the relaxation parameter according to the real-time estimated stiffness of the ground and the
gait phase, and outputting a control instruction. The application is based on the online
estimation of the stiffness of the ground and the adaptive parameter adjustment mechanism of the
gait phase, can adapt to different ground characteristics and
gait stage changes in real time, dynamically adjusts the complementary relaxation parameter, and makes the
system show stronger adaptability and robustness in a complex walking environment.