The invention specifically discloses a compliance control method and device for a
power transmission tower operation and maintenance
robot and a medium, and the method comprises the steps: determining an
impedance control model of a
robot impedance controller, carrying out the
adaptive optimization of
impedance control parameters based on an improved
firefly algorithm, and enabling the improved
firefly algorithm to be based on a standard
firefly algorithm, and a self-adaptive step length factor is adopted for fusion, meanwhile, an
improved algorithm of an annealing mechanism is introduced, and finally, the
robot is controlled based on optimized parameters. The dynamic response characteristic of the mechanical arm is continuously tracked, the improved firefly
algorithm is used for updating impedance parameter configuration in real time, the improved firefly
algorithm improves the global search capability and the convergence speed, the
optimal control effect is achieved, the
adaptive capacity of the
system to diversified operation scenes is improved, and the
system performance is improved. A parameter optimization strategy based on real-
time data analysis successfully overcomes the adaptability problem caused by parameter solidification in conventional
impedance control, and the stability and safety of the
power transmission tower operation and maintenance robot in the movement process are improved.