In view of the characteristics of deuterium pellet rows,a dynamic pellet row measurement model is established,and the automatic detection system for deuterium pellet row is designed.Setting up measurement platform and using HMI for controlling the 18 rows of pellets loading,compaction,relaxation,transportation and other actions,and 2-D dynamic measure the length through laser triangulation between the ring end plane of moving pellet row and the datum plane by non-contract way.The system achieved pellet row length dynamic detection.It obtains the resolution over 10μm,the accuracy over 100μm,and the speed 18 rows/sec;moreover,it also has such function as data display in real time,system state detection,security alarm,and emergency shutdown.The actual operation results show that the system poses security,rapid,stable and reliable characteristics,and well meets the needs of pellet control and detection in industrial automation.