Machine learning-based inverse design framework for mechanical springs
Designing a helical spring means finding a wire diameter, a coil diameter and a number of coils that give the required loads at the required lengths while keeping the stresses, the safety factors and the geometry within limits. Metaheuristic optimizers can solve this task, but they must be run again for every new requirement, and purely data-driven inverse models rarely guarantee feasible designs. This study proposes a Machine Learning (ML)-based inverse design framework for compression, extension and torsion springs that combines a learned proposal with closed-form spring physics and verification by the calculation engine of the open-source Open Design Optimization Platform (ODOP). A dataset of 150,000 designs covering 17 materials was generated with Latin hypercube sampling and evaluated with ODOP. An Artificial Neural Network (ANN) and a K-Nearest Neighbors (kNN) search propose the wire diameter and the spring index. A physics-based correction then computes the number of coils and the free length or the initial tension so that the required spring rate and load points are met exactly, and 14 candidates per requirement are checked against all default ODOP constraints. On 2,713 unseen requirements, the framework returned a design that met the requirement within 1% and satisfied all default constraints for 89.8%, 90.3% and 100% of the compression, extension and torsion cases, compared with at most 5.8% for a direct inverse ANN. It needed 14 design evaluations and about 1–2 ms per requirement. Over five independent runs, the standard deviation of its success rate was at most 2.1 percentage points, and the success rate stayed above 80% in 36 of 41 tests with a material that was excluded from training. A genetic algorithm with the same physics-based correction solved all requirements and found 21–32% lighter designs, but it needed about 1,900 evaluations per requirement; when it was started from the framework candidates, 182 evaluations were enough for 98–100% success. When fatigue, buckling and hook checks were added to the selection rule, the success rate fell to 34–82%, which shows that these checks must be part of the requirement in cyclic applications. The framework is therefore best used as a fast generator of verified starting designs that can be refined when weight or additional checks are critical.
Authors
- Mehmet Safa Bingöl (ORCID: https://orcid.org/0000-0002-4188-2025)
Institutions
- Niğde Ömer Halisdemir Üniversitesi (TR)
Publication Details
- Journal
- Journal of Progress in Artificial Intelligence
- Published
- 2026-11-26
- DOI
- https://doi.org/10.68152/2626
- Primary Topic
- Mechanical Engineering and Vibrations Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00