Design and Implementation of Sorting System based on Machine Vision

Authors:

Abstract
In order to achieve the goal that the manipulator can automatically obtain any position within its working range, and can adjust the end actuator for grasping, a machine vision sorting system is designed. The system passes through image processing, target recognition and positioning, and finally realizes the sorting effect through end control. The collected image information is processed by MATLAB. The image preprocessing adopts median filtering, image enhancement, binarization and edge detection. For the detection of workpiece surface defects, the improved segmentation network method of convolution neural network is adopted. In the algorithm of identifying workpiece type, the template matching method of log polar coordinate and Fourier transform is adopted. In the algorithm of workpiece position, the centroid of the workpiece is extracted as the positioning reference coordinate, combined with the three degree manipulator, the kinematics model of the manipulator is established. In the algorithm of workpiece grasping, the joint angle of each manipulator is obtained by inverse operation according to the position coordinates of the workpiece, and sent to STM32 through the serial port. Then the STM32 completes the control command to grasp and place the workpiece and complete the sorting task. The experimental results show that the system meets the design requirements.