Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction
The design optimization of helical springs is of considerable engineering interest, and demands strong
solvers. While the number of constraints is small, the coil and wire diameters are raised to higher powers;
this makes the optimization difficult for gradient-based solvers working in standard floating-point precision;
a larger number of working digits is needed.
Maple lets you increase the number of digits used in calculations; hence numerically difficult problems, like
this, can be solved.
This application minimizes the mass of a helical spring. The constraints include the minimum deflection, the
minimum surge wave frequency, the maximum stress, and a loading condition.
The design variables are the diameter of the wire d, the outside diameter of the spring D, and the number
of coils N.
Engineering Relationships
Spring Constant
4 2
d $G
> Kd 3 :
8$D $N
Shear stress
8$k$P$D
> td 3 :
p$d
The inner surface is subject to a greater stress than the outer surface.
Wahl stress concentration factor
4 D Kd 0.615$d
> kd C :
4$ D Kd D
Frequency of surge waves
d G
> wd 2$ :
2$Pi$N$D 2$r
>
Constraints
Minimum deflection.
P
> cons1 d R D
K
3
0.000006956521739 D N
cons1 := 0.5 % 4
d
The outer diameter of the spring should smaller than or equal to D0
> cons2 d D Cd % D0
cons2 := D Cd % 1.5
Avoid resonance by making the requency of surge waves along as spring as greater than a minimum
defined value.
> cons3 d w R w0
14045.11425 d
cons3 := 100 % 2
ND
The shear stress cannot exceed the allowable shear stress.
> cons4 d t % ta
4 D Kd 0.615 d
80 C D
4 D K4 d D
cons4 := 3 % 80000
pd
Collect all the constraints
> cons d cons1, cons2, cons3, cons4
4 D Kd 0.615 d
3 80 C D
14045.11425 d 0.000006956521739 D N 4 D K4 d D
cons := 100 % 2 , 0.5 % 4 , 3 % 80000,
ND d pd
D Cd % 1.5
Objective function
Mass of spring
1 2 2
> mass d d, D, N / $ N CQ $p $D$d $r :
4
Optimization
> Digits d 20 :
> bounds d N = Q ..15, d = 0.05 ..2, D = 0.25 ..D0 :
Hence the optimized design variables are
3
> res d Optimization:-Minimize mass d, D, N , cons, bounds, iterationlimit = 10
res := 0.000023096520750490059915, D = 0.35700930780099051635, N = 11.285519806290295656, d
= 0.051700599812012345216
> plot eval w, N = 11, d = 0.05 , D = 0.02 ..0.1, title = "Surge Wave Frequency"
Surge Wave Frequency
140000
120000
100000
80000
60000
40000
20000