In a chirped pulse amplification device, tiled grating is a key component for compressing ultrashort pulse laser. The control system of the grating tiling device is essential for maintaining the stability of the array grating. In this study, a proportional-integral-derivative algorithm based on the latch compensation method and four-point center difference method is proposed for a truss-type 2 × 1 grating tiling device. Numerical analyses show that this method avoids the saturation loss in the stability control process of the array grating, effectively suppresses noise interference, and ensures the stability of the array grating. The prototype experiment shows that the use of this control algorithm can significantly improve the convergence speed and stability of the grating tiling device. Specifically, compared with a mechanism without a control algorithm, the time to reach the reference position for the first time is reduced by 39.1%, and the stability of the grating device is improved by 58.5%.