The application relates to the technical field of unmanned plane control, and discloses a wind-resistant control method and
system for a flying
robot. According to the application, multi-dimensional sensing detection data are acquired in real time and combined with a
state prediction equation, so that a deviation caused by external
wind disturbance can be accurately separated; secondly, an adaptive law is used to estimate the prediction error, and a
wind disturbance torque matched with the current
wind disturbance is generated; thirdly, a filtering operation and a feedforward compensation calculation are performed on the wind disturbance torque, so that the compensation amount is converted into accurate target feedforward compensation amount, and the interference of measurement
noise and
estimation error is effectively inhibited; finally, the target feedforward compensation amount is fused with a baseline control amount and converted into a
motor speed instruction, feedforward-feedback compound control of wind disturbance is realized, the effectiveness of original trajectory and attitude correction functions is maintained, the active inhibition capability of wind disturbance is increased, and the
flight stability and wind resistance of the
robot are improved.