The invention discloses a photoelectric
turret visual axis stability control method based on self-adaptive disturbance prediction compensation and a computer product, and the method comprises the following steps: S1, establishing a gyro
speed loop discrete model, calculating the deviation between the output of the model and the
angular velocity of a
visual axis measured by a gyro, and obtaining a disturbance
estimation value through an inverse model and a low-pass filter; s2, constructing a
mathematical model of disturbance based on a recursive least square method, and performing multi-step forward prediction on equivalent disturbance by using the model; and S3, carrying out weighted fusion on the predicted equivalent disturbance and the real-time disturbance
estimation value, and finally feeding a fused compensation
signal forward to the input end of the
control system to counteract the influence of the actual disturbance on the
system. According to the method, real-
time estimation and
dynamic prediction are fused, the learning-prediction capacity is added on the basis of
perception-compensation of a traditional DOB, the method is suitable for a photoelectric
turret control system which is remarkable in periodic disturbance or sensitive to
delay, phase
lag of the traditional DOB is reduced, and the stable control bandwidth and disturbance rejection capacity of a
visual axis are greatly improved.