摘要

In the process of low pressure casting production of the aluminum alloy water-cooled casings for electric vehicles, when a spiral sand core is set into the mold cavity at high temperature by a robot, it is difficult to determine whether the sand core is damaged and the positioning is accurate. This work explores how to improve the clarity of image components by using Matlab image enhancement, image sharpening and image segmentation, so that the image becomes conducive to visual control software processing. The gray threshold segmentation method can determine the edge geometry of the spiral sand core, and can register it as a template for rapid detection and judgment. Therefore, the spiral sand core that is not accurately placed or partially damaged can be identified in the shortest time, which achieves fine quality control before the casting is formed.