Optimization - Minimizing Loudspeaker Mass
Gallery spotlightLoudspeakers
This example demonstrates the use of OptiNet with MagNet for the optimization of a loudspeaker design based on its electromagnetic characteristics. MagNet is used to compute the electromagnetic fields, and OptiNet is used to find the optimum design as specified by the user's requirements. The loudspeaker model shown here is made of two iron pieces and a permanent magnet. The permanent magnet drives the flux through the iron and the air gap. The figure below displays the magnetic field in the loudspeaker structure. The goal of the optimization, in this example, is to minimize the mass of the loudspeaker while obtaining a flux density of 1.8 Tesla in the air gap. It should be noted that the initial design specified by the user does not satisfy this constraint.
METHODS and RESULTS
VARIABLES
The geometry of the loudspeaker is defined based on the parameters shown in this figure. Of the 17 parameters shown on the diagram, 14 of them can vary within a range specified by the user -- the remaining parameters do not change. In OptiNet, the user specifies a minimum and a maximum value for those variables that can change, and OptiNet searches within this range to find the optimum design.
Click to zoom
OBJECTIVE FUNCTION and CONSTRAINTS
The mass of the loudspeaker is defined as the objective function and the goal is to minimize this quantity. In OptiNet, basic quantities such as mass are available as pre-defined objectives. The mass is obtained from the volume and mass density of the iron and permanent magnet materials.
There are two constraints in this example. The first constraint is that the average flux density in the air gap should be 1.8 Tesla. The second constraint is used to make sure that while OptiNet changes the values of the geometric parameters, no two components end up overlapping. The constraints tab of OptiNet is shown on the right. Up to 100 constraints can be added with distinct priority weights.
Click to zoom
GRAPH of VARIABLES
As the optimization is progressing, OptiNet displays the changes in the goal, variables, objectives, and constraints, all in the form of graphs. In this example, each of the fourteen variables' graphs (in groups not exceeding five variables per window) is updated as OptiNet finds a new design. As can be seen, there is a significant change in the value of the variables during the initial steps as OptiNet tries to satisfy the constraint of 1.8 Tesla in the air gap. After this constraint is satisfied, OptiNet tries to find the dimensions that would minimize the mass.
Click to zoom
RESULTS
OptiNet produces a report for each optimization run. In this report, the designs that satisfy the constraints are shown in the order that they are improved. The user can view each design individually. The report also shows the time that it took to arrive at the improved design. The values of all the variables and the optimization function are displayed in this report for every iteration. The values of each parameter can be examined to determine the sensitivity of the design to that particular parameter.
Click to zoom
INITIAL DESIGN FIELD
As shown in the picture on the right, the initial design that the user supplied to OptiNet does not statisfy the constraint of 1.8 Tesla in the air gap (highlighted in the white box). Therefore, OptiNet had to search for designs that would satisfy this constraint.
Click to zoom
FINAL DESIGN FIELD
The final design that OptiNet found satisfies the constraints specified by the user and the mass is minimized. It took OptiNet 638 seconds (10 minutes and 38 seconds) to arrive at this design on an Intel Core i7-2600 (8x 3.4GHz processors).
Click to zoom
WEIGHT
The weight of the final design is greater than the initial design (63.97kg compared to the initial 26.02 kg). This is due to the fact that OptiNet fist tries to respect all the constraints before minimizing the objective. The graph shows how each component's weight has increased, as well as the overall weight of the design.
Click to zoom



