The invention relates to the field of
robot balance control, and discloses a control parameter optimization method of a second-order balance
robot. According to the method, for a second-order balance
system formed by connecting a vehicle body and a swing rod in series, a dynamic model and a
linearization discrete
state space model are established, and a
linear quadratic regulator control framework is constructed; taking
diagonal elements of the state weight matrix as to-be-optimized parameters, mapping the to-be-optimized parameters to a
logarithmic scale search space after left-right symmetry constraint
dimensionality reduction processing, and performing optimization by adopting a
particle swarm optimization algorithm; and a composite cost function including a core error term, a
control saturation term and a control stability term is constructed based on vehicle body inclination angle response, swing rod inclination angle response, control input and closed-loop poles, and an optimal state weight matrix and a corresponding control
gain are output to serve as
optimal control parameters of the second-order balance
robot. The second-order balance
robot control parameter setting method can improve pertinence and stability of second-order balance
robot control parameter setting.