Material removal in electrochemical discharge machining is caused by sparks generated in a tool immersed in an electrolytic solution. Being the primary machining agent in this non-contact machining process, mapping the locations of microscopic sparks is of great interest. The distribution of sparks around the tool surface could give insights into the machined hole properties like the size, surface finish, and depth as compared to the machining parameters such as applied voltage, tool size, rotation speed, and feed rate. This paper is focused on detecting sparks in photographs of the ECDM process captured using a high-speed camera. A novel approach of using a tri-planar reflective surface for capturing the location of sparks in 3D space using a 2D camera output is attempted. Traditional spark detection methods use neural network classifiers that need labeled data for training. This labeled data often comes from human intervention and contains inherent biases that could lead to misclassification. In this paper, an unsupervised spark detection methodology is demonstrated, which eliminates the need for human intervention and relies on the number of neighboring pixels detected in regions of interest (ROIs). The feasibility of using adaptive background modeling to classify thousands of images and identify the ones with sparks is demonstrated in this work. The masking technique combining effects of erosion followed by dilation is used to determine the exact boundaries of the spark contours in every image. Centroids for each of these contours are then transformed from the skewed coordinate system as observed in camera images, to a three-dimensional orthogonal coordinates system centered around the tool. The same procedure is repeated for various voltages to benchmark the distribution of sparks around a tool tip in an ECDM process.
Read full abstract