Calculation tool for loudspeaker design Written for Python 3.12.x
- Modelling of loudspeaker response in free-air and closed box.
- SPL, electrical impedance, displacements, net forces
- Automatic calculation of most appropriate coil winding for given user parameters.
- Wire properties are read from user editable "wire table.ods".
- Possible to calculate for different types of wire section (round, flat, etc.)
- Includes a second degree of freedom to observe the effects on parent structure.
- Possible to manipulate graph settings and export curves.
- Calculation of magnet system mechanical clearances.
- Save/load of state.
- Nonlinearities in the system
- Calculation of magnetic flux
- Calculation of mass of speaker components (with the exception of the windings)
- Electrical inductance
- Change of acoustical impedance at higher frequencies
The application uses a linear model with 3 degrees of freedom to do the calculations. To see how the model is built, see function _build_symbolic_ss_model
in electracoustical.py
.
Important
The third degree of freedom which represents the vented port or passive radiator is not included in this version.
Tip
Most parameters in the application include a tooltip. Hover your mouse on the parameter for a few seconds whenever you have doubts on what a parameter does.
The application will give you coil winding options based on the winding height and the coil resistance you input as requirement. To be able to do this, a separate table that has information on different wire types needs to be provided by the user. This table is stored in wire table.ods
which is located in subfolder data
in the installation folder.
Note
To see the location of wire table.ods
in your computer go to Help -> Show paths of assets.. from within the application.
This workbook contains Sheet1 which contains the following columns for each wire type.
- Unique name : Common name used to refer to this wire. Must be unique in this column.
- Type : Category for the wire
- Nominal size : Expected size of the conductor.
- Shape : Circular, square, rectangular etc.
- Average width : This is the expected physical width including all the coatings and glues on the wire.
- Average height : Similar to average width, but for height.
- Maximum width : This is the maximum expected physical width including all the coatings and glues on the wire.
- Resistance
- Mass density
- Notes : User notes for convenience. Not used by the application.
Warning
Make sure to not edit the first three rows of the wire table. They contain import information for the application.
Note
Average dimensions are used for electricity related calculations such as winding length. When it comes to mechanical clearances and e.g. airgap sizes, the maximum dimensions are used.