Contenu principal

Ported Speaker Enclosure

R2026b

Model of speaker enclosure with up to three ports

Since R2026b

  • Ported Speaker Enclosure block

Libraries:
Simscape Acoustics / Applications / Cavities and Enclosures

Description

Add-On Required: This feature requires the Simscape Acoustics add-on.

The Ported Speaker Enclosure block models a speaker enclosure with one, two, or three port tubes. The block assumes the dimensions of the enclosure are smaller than the acoustic wavelength at any frequency included in the analysis.

The model implements an equivalent circuit of an Acoustic Inertance block, which models the air mass at the rear side of the diaphragm, an Acoustic Compliance block, which models the air volume of the enclosure, and Acoustic Inertance and Cylindrical Tube With Thermoviscous Losses Using Foster Network blocks for each port. Each port connects internally to an Acoustic Reference block. The figure shows the equivalent circuit for an enclosure with two port tubes.

Equivalent circuit to the Ported Speaker Enclosure block as a Simscape model. The circuit has two ports.

The compliance value of the block is

C=V0γP0,

where:

  • V0 is the physical volume of the enclosure.

  • γ is the ratio of specific heats of the medium.

  • P0 is the ambient pressure of the medium.

The inertance value of the air mass behind the diaphragm is

L=0.85ρrA,

where:

  • ρ is the density of the medium.

  • r is the radius of the speaker diaphragm.

  • A is the cross sectional area of the speaker diaphragm.

The inertance value of the air mass at each port entrance is

LP=0.61ρrPπrP2,

where rP is the radius of the port.

The Number of tube segments parameter sets the Number of differential tube lengths parameter of the internal Cylindrical Tube With Thermoviscous Losses Using Foster Network block in each port. The Tube length and Tube radius parameters of each internal Cylindrical Tube With Thermoviscous Losses Using Foster Network block are set by the corresponding port length and port radius parameters in the Ported Speaker Enclosure block.

Examples

Ports

Conserving

expand all

Input acoustic terminal of the enclosure.

Terminal associated with the first port of the enclosure.

Terminal associated with the second port of the enclosure.

Dependencies

To enable this port, set Number of ports to Two or Three.

Terminal associated with the third port of the enclosure.

Dependencies

To enable this port, set Number of ports to Three.

Parameters

expand all

Volume of the enclosure in meters cubed.

Area of the speaker diaphragm in centimeters squared.

Number of ports in the enclosure, specified as One, Two, or Three. Increasing the number of ports adds additional parameters for the length and radius of each port.

Length of the first port in the enclosure in centimeters.

Radius of the first port in the enclosure in centimeters.

Length of the second port in the enclosure in centimeters.

Dependencies

To enable this parameter, set Number of ports to Two or Three.

Radius of the second port in the enclosure in centimeters.

Dependencies

To enable this parameter, set Number of ports to Two or Three.

Length of the third port in the enclosure in centimeters.

Dependencies

To enable this parameter, set Number of ports to Three.

Radius of the third port in the enclosure in centimeters.

Dependencies

To enable this parameter, set Number of ports to Three.

Number of lossy tube segments in the port models.

Version History

Introduced in R2026b