With excellent development prospects, wind power generation is one of the most important parts of new energy. Because it has a lot of advantages over traditional energy forms energy, such as availability, free pollution and renewability, etc, many researchers of different countries have concentrated on such field. As an important part of fan foundation, anchor bolt assembly realizes the transfer and dispersion of complex loads such as horizontal load, bending moment and torsion of wind turbine through anchoring, self-locking and synergistic action with concrete. In order to further promote the application of wind power generation, the cost reduction of equipment production involved in this field has attracted extensive attention; therefore, the automatic production of anchor bolt assembly has also become an important research direction in the production field. In the traditional production process of wind turbine foundation anchor bolt, manual screening method is adopted in this paper, and there is only one specification (diameter and length) of anchor bolt raw material on a production line at the same time. In this case, the efficiency of multi-task processing in the production line will be greatly reduced. Therefore, it is extremely important to develop control equipment that can realize automatic raw material screening and distribution.