With the development of the industrialization of buildings, the demand for wallboard is increasing. The development of wallboard automatic production lines can solve the problems of low efficiency and low automation in the production process of wallboard. In the paper, the insufficient of the method that wall panel length detection in JGT169-2016 is considered, the automatic measurement system and cutting surface flatness analysis experiment is designed. Using MATLAB to filter and fit data. Optimize the cutting speed of wallboard based on LJQB-JX-600-QGJ.01 cutting machine. Through experimental analysis, better control parameters are selected for production control, and the quality of production wallboard is further improved, thereby improving the quality of the production line.