Log in
Find a journal Publish with us Track your research Search
Machine learning-based inverse design framework for mechanical springs - Progress in Artificial Intelligence

Machine learning-based inverse design framework for mechanical springs

Regular Paper | Published: 26 November 2026

Abstract

Helical springs look simple, but finding the right design for them is not easy. The designer must find a wire diameter, a coil diameter and a number of coils that give the required forces and deflections. At the same time, the stresses, the safety factors and the geometry must stay within limits. This study develops a simple machine learning (ML)-based inverse design framework that directly proposes feasible designs for compression, extension and torsion springs. A dataset of 150,000 spring designs was generated with Latin hypercube sampling. Every design was evaluated with the calculation engine of the open source Open Design Optimization Platform (ODOP) spring design software. The dataset covers 17 materials, several end types and the default ODOP design constraints. First, three forward models were compared: linear regression, random forest and an artificial neural network (ANN). Then, four inverse design methods were tested on 2,713 unseen design requirements. The first method used an ANN to predict all design variables directly. The second and third methods took the wire diameter and the spring index from a k-nearest neighbors (kNN) search or from an ANN. A physics based correction then computed the number of coils and the free length or the initial tension from the spring rate equations. The proposed framework combined the ANN proposal, eight local variants and five kNN proposals. All candidates were checked with ODOP, and the lightest feasible design was selected. The ANN predicted the static safety factors with R2 values of at least 0.996 on a logarithmic scale. In contrast, the direct inverse ANN failed in almost all cases, with median spring rate errors between 6.7% and 14.3%. The physics based correction reduced the median error to the level of numerical precision. The proposed framework found a feasible design that met the requirement within 1% for 89.8% of the compression, 90.3% of the extension and 100% of the torsion spring requirements. The ANN with correction alone reached 44.7%, 50.5% and 98.8%, respectively. In median terms, the selected designs were 9% to 26% lighter than the reference designs, and each requirement was solved in only 1.2 to 1.6 ms. These results show that combining a learned proposal with simple spring physics and a verification step gives fast and reliable inverse design. The framework is simple, transparent and easy to reproduce, and it can support designers in the early design stage.

Keywords

Inverse design helical springs machine learning artificial neural network k-nearest neighbors physics-based correction genetic algorithm ODOP
📄 Download Full Article (PDF)

Access this article

Log in via an institution → Institutional subscriptions →

Article PDF