The invention provides a method for rapidly switching the hot dip galvanized 
coating thickness based on knife distance dynamic compensation. The method comprises: S1: obtaining production process quantity information; S2: judging whether the working condition is required to be switched, if not, entering 
feedback control, and if so, entering a step S3; S3: obtaining a predicted 
coating thickness through a neural network prediction model, and carrying out iterative optimization on 
air knife parameters by using a specification optimization variable 
air knife parameter optimization method to obtain the 
air knife parameters (the air knife distance Df and the air knife pressure Pf) of the switching 
terminal point; S4: calculating the air knife pressure adjustment time length and the calculating the air knife pressure reference curve; S5: entering a switching 
control period, obtaining the current air knife pressure Pi, and calculating the current air knife distance Di adjusted through reverse compensation; S6: outputting Pi and Di, and executing the air knife parameter adjustment; and S7: detecting the 
weld seam position, judging whether the switching ends, if so, outputting the air knife distance Df and ending the switching, and otherwise, returning to the step S5. With the method of the present invention, the 
transition time of the 
system switching between the products having different specifications can be effectively reduced, and the number of transition products in the transition period can be reduced.