This project focuses on predicting surface roughness of metals machined by Electrical Discharge Machining (EDM) using non-contact inspection methods and machine learning. Traditional inspection techniques are often contact-based, slow, and risk damaging the surface. Our research introduces an intelligent, data-driven alternative that leverages regression algorithms on an experimentally collected and augmented dataset.
Electrical Discharge Machining (EDM) is a widely used non-conventional manufacturing process especially suited for hard-to-machine materials. However, surface roughness (Ra) — a critical quality metric — is traditionally measured using physical probes. These contact-based inspections are not only time-intensive but also pose a risk to the integrity of high-precision surfaces.
Our goal was to eliminate this need by building a predictive model that estimates surface roughness using only input process parameters — enabling instant, accurate, and safe evaluation.
We collected experimental data using a real EDM machine setup at our university. Key process parameters such as:
To overcome the limited sample size (31 data points), we applied extensive data augmentation using techniques like:
We explored and compared the performance of three regression algorithms:
Each model was trained on an 80:20 split of the dataset and evaluated using standard metrics like R² score and Mean Squared Error (MSE).
Among all models, K-Nearest Neighbors (KNN) consistently outperformed the others with:
This suggests that for this dataset, local similarity-based methods like KNN are highly effective in capturing the relationship between EDM parameters and surface roughness.
We also visualized:
We reviewed several other approaches used in industry and academia — including neural networks, W-ELM, SinGAN, Taguchi-ANN hybrids, and fuzzy logic systems. Surprisingly, our simpler KNN-based approach either matched or exceeded their performance while being computationally efficient and easier to deploy.
I was actively involved in:
This research showcases how simple but well-prepared machine learning models can effectively replace traditional, invasive inspection techniques — enabling smarter, faster, and safer manufacturing practices.