Acoustical Domain for Simscape

This library is an Acoustical Domain for use with Simscape. It follows the conventions used for decades in analog circuit acoustical models.
432 Downloads
Updated 27 Aug 2024

View License

This library provides an Acoustical Domain for use with Simscape. This domain follows the conventions that have been used for decades with analog circuit models of acoustical systems. An early example of these methods is the book by Olsen (first edition published in 1943). A relevant current reference is Beranek and Mellow. These methods were initially used to model lumped parameter systems, systems that are analogous to simple RLC electrical circuits. Those lumped parameter components are included in the acoustical domain library. An example of the use of these simple components is a simple loudspeaker model. The current version of the acoustical library also includes components beyond the simple lumped elements. These include several kinds of acoustical transmission lines, piezoelectric pieces, and assemblies of simpler components such as approximate models radiation impedance and several models of moving coil speakers.
With version 1.2 of the library, several moving coil loudspeaker components are included, and several enclosures for to mount moving coil drivers have been added. Examples of the use of tehse components are described.
The Acoustical Domain uses the linear approximation for acoustic disturbances in the medium. It cannot deal with any phenomena that produce nonlinear behavior in the medium. For example, it cannot include effects such as
• turbulence,
• cavitation in liquid media,
• nonlinear propagation at high pressure amplitudes in tubes.
The user is currently responsible for recognizing when these effects may be present, and to refrain from linear modeling in those cases.

Cite As

Steve Thompson (2024). Acoustical Domain for Simscape (https://www.mathworks.com/matlabcentral/fileexchange/109029-acoustical-domain-for-simscape), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with R2020a to R2024a
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

+acoustical

+acoustical/+elements

+acoustical/+enclosures

+acoustical/+enum

+acoustical/+hidden

+acoustical/+moving_coil_speakers

+acoustical/+sensors

+acoustical/+sources

+acoustical/+t_lines

+acoustical/html

Version Published Release Notes
1.4.0

This update provides
1. mechanical mounting port in all components in the "Movingving Coil Speaker" directory.
2. an improved tube propagation component that follows the Thibault and Chabassier reference at https://doi.org/10.1121/10.0005537.

1.3.0

This version includes one additional component - a nonlinear moving coil speaker with nonlinearities and a a mechanical hard stop.

1.2.5

Added an enumeration file required by earlier changes.

1.2.4

Changes to "Radiation impedance - element in array on pulsing sphere" to allow the sphere to.be specified either by its radius or its area.

1.2.3

minor corrections to new components

1.2.2

Fix typo in new component

1.2.1

This version has three new components. Two are radiation impedances. The third is a tube model that follows the example in the T.B. Gabrielson transducer course notes.

1.2.0

Added the Enclosures subdirectory in the library, and some documentation.

1.1.6

Modify p_ff - a component that calculates the far field pressure. It originally alwasd used 1 m as the range. This version has 1 m default, but actual value set as parameter.

1.1.5

Updates and enhancements to the linear and nonlinear moving coil speaker models. Added thermal modeling to the speaker models.

1.1.4.1

The fix that was applied in v. 1.0.3 was repeated in the last update. This corrects (again) that problem.

1.1.4

The fix that was applied in v. 1.0.3 was repeated in the last update. This corrects (again) that problem.

1.1.3

This update corrects a problem with the library component "Zrad - circular piston." An error was introduced in an earlier update that removed the radiating area parameter, so the area always defaulted to 1 m^2. This version restores the parameter.

1.1.2

Added missing modules

1.1.1

This minor update includes speaker components that were left out in error.

1.1.0

Added new library component that models the nonlinear behavior of moving coil loudspeakers.

1.0.7

1. Fixes a bug that would occasionally occur in radiation impedance calculation
2. Far field pressure calculation was always re 1 meter.
this version allows specification of the range, with 1 m default.
3. Improved installation instructions.

1.0.6

This version includes low level blocks that may be used to model nonlinearities in moving coil loudspeakers. (More to come on this.)

1.0.5

This submission includes some explanation and documentation files that were deleted in error from previous versions. There are no changes to the code from version 1.0.4.

1.0.4

This version has one bug fix, and one small new feature.
The fix is to the tube_w_loss component. The original version did not handle losses correctly.
The added feature is the tube_tv_plates component that approximates a thin rectangular tube.

1.0.3

Changed default parameter values in +tlines/tube_tv.ssc

1.0.2

Correction to the enclosure component. Fix to correct the compliance value for the volume.

1.0.1

Fix error with ssc_build in tube_tv.ssc

1.0.0