Skip to content

kbasaran/Speaker-Calculator

Repository files navigation

Speaker Calculator

Calculation tool for loudspeaker design Written for Python 3.12.x

Features

  • 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.

Out of scope

  • 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

Screenshots

Image Image

Manual

Underlying model

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.

Image

Important

The third degree of freedom which represents the vented port or passive radiator is not included in this version.

Coil windings

The application will give you options for different coil windings based on your required winding height and the coil resistance. To be able to do this, a separate table that has information on different wire types is provided by the user. This table is named wire table.ods and is located in the subfolder data in the installation folder.

Tip

To see the location of the wire table in your computer go to Help -> Show paths of assets.. from within the application.