The invention discloses an AD key adaptive compensation
correction method and device,
computer equipment and a storage medium, and relates to the technical field of
intelligent control and
signal processing, and the method comprises the steps: collecting a key
signal in real time, converting the key
signal into a
digital signal, and carrying out the preprocessing; a PID control loop is used for preliminarily and dynamically adjusting a target threshold value, and parameters of a
PID controller are optimized through combination of a PSO particle swarm and improved ITAE; outputting an error correction value by using the long short-
term memory network to carry out final correction on the target threshold value; and performing signal decoupling on the
digital signal by using SOGI-FLL, and constructing a key
state model to obtain a real-time key state. A PID control loop and a PSO
particle swarm optimization PID parameter are utilized, a target threshold value can be dynamically adjusted, the stability and accuracy of a
system in various environments are ensured, the target threshold value is corrected through an LSTM neural network, the defects of a traditional method are effectively overcome, an SOGI-FLL is adopted to decouple digital signals, higher
harmonic components are accurately analyzed, and the accuracy of the
system is improved. And the reliability and the response precision of key identification are obviously improved.