The invention belongs to the technical field of
automatic control, and discloses an anti-deviation positioning device for a
transplanting mechanism, which comprises a
data acquisition unit, a deviation prediction module, a self-adaptive PID control module and a deviation early warning module, the problems that in existing
transplanting mechanism positioning control, PID parameter self-
adaptive capacity is poor, neural
network error modeling is insufficient, deviation risk prejudgment lags behind and the like are solved, and high-precision
dynamic positioning and deviation risk active early warning in the
transplanting process are achieved. According to the device, a PID-timing attention fusion control framework is innovatively introduced, the real-time adjustment characteristic of a traditional PID is combined with the multi-dimensional error prediction capability of a timing attention neural network, and real-
time deviation correction and pre-judgment of positioning deviation are achieved through a double-
branch cooperation mechanism; on the deviation prediction level, a multi-scale
time sequence convolution-gating cycle unit (TCN-GRU) fusion model is constructed, multi-dimensional
time sequence feature extraction is carried out on motion parameters and
environmental perception data of the transplanting mechanism, and positioning deviation trends under different working conditions are accurately predicted.