主要内容

Microspeaker

R2026b

Model of microspeaker for headphones

Since R2026b

  • Microspeaker block

Libraries:
Simscape Acoustics / Applications / Moving Coil Speakers

Description

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

This block models the electrical, mechanical, and acoustic elements of a microspeaker. A microspeaker is a small moving coil speaker often used for headphones. The block has electrical conserving ports for the electrical signal that drives the voice coil and acoustic conserving ports for the front and rear of the microspeaker.

The Microspeaker block models the physical properties of a microspeaker by implementing an equivalent circuit using Simscape™ blocks from the electrical, mechanical translational, and acoustic domains. This block uses a similar circuit to the linear Moving Coil Speaker block, with parameters chosen to reflect the smaller size of the microspeaker. The block also models a rear enclosure and an optional front cover. The figure shows the equivalent circuit using the following Simscape blocks in each domain:

  • Electrical: The Microspeaker block models heating losses in the voice coil using a Resistor (Simscape) block. The block models magnetic energy stored from the coil turns using an Inductor (Simscape) block. The resistance and inductance values depend on wire material, diameter, length, turn radius, number of turns, and other physical properties of the modeled speaker.

  • Mechanical Translational: The Microspeaker block models the total mass of the moving speaker using a Mass (Simscape) block. The block models speaker stiffness using a Translational Spring (Simscape). Mechanical friction in the speaker is modeled using a Translational Damper (Simscape) block.

  • Acoustic: The Microspeaker block models the compliance of the air in the enclosure using an Acoustic Compliance block. The block uses a pair of Acoustic Inertance and Acoustic Resistance blocks to model the acoustic mass and resistance of the vent, and another pair to model the mass and resistance of the mesh. If you include the front cover, the block also models the compliance of air, acoustic mass, and resistance of the cover.

  • Transducers: Current through the voice coil creates a magnetic force that moves the speaker diaphragm. The Microspeaker block models this interaction using a Translational Electromechanical Converter (Simscape). Cone movement causes compression and rarefaction in air molecules. The block models this interaction using a Mechanical to Acoustic Converter.

Equivalent circuit to the Microspeaker block as a Simscape model. The circuit includes the optional front cover.

The block computes acoustic parameters for the front cover and the rear enclosure using equations from a previous microspeaker lumped-element model [1]. The equivalent circuit follows figure 14 of the reference but removes components modeling radiation impedances to accommodate different models of headphones or earbud enclosures.

Examples

Ports

Conserving

expand all

Electrical conserving port associated with the positive terminal of the microspeaker voice coil. Connect this port to the electrical signal driving the speaker.

Electrical conserving port associated with the negative terminal of the microspeaker voice coil. Connect this port to the electrical signal driving the speaker.

Acoustic conserving port associated with the front of the microspeaker. This port is typically connected to a radiation impedance, such as the Spherical Source Radiation Impedance block.

Acoustic conserving port associated with the rear of the microspeaker. This port is typically connected to a radiation impedance, such as the Spherical Source Radiation Impedance block.

Parameters

expand all

Parameters

Electrical resistance of the microspeaker voice coil.

Electrical inductance of the microspeaker voice coil.

Mass of the moving diaphragm assembly.

Mechanical damping modeling viscous friction in the microspeaker diaphragm.

Mechanical stiffness of the microspeaker diaphragm suspension.

Force factor (Bl product) of the microspeaker electromechanical transducer.

Effective radiating area of the microspeaker diaphragm.

Rear Vent

Volume of the rear acoustic cavity behind the diaphragm.

Thickness of the rear vent opening.

Radius of the rear vent opening.

Number of rear vent openings.

Thickness of the rear vent mesh.

Radius of the rear vent mesh openings.

Front Cover

Option to include acoustic elements related to the front cover of the microspeaker.

Volume of the front acoustic cavity between the diaphragm and the front cover.

Dependencies

To enable this parameter, select the Include front cover parameter.

Thickness of the holes in the front cover.

Dependencies

To enable this parameter, select the Include front cover parameter.

Radius of the holes in the front cover.

Dependencies

To enable this parameter, select the Include front cover parameter.

Number of holes in the front cover.

Dependencies

To enable this parameter, select the Include front cover parameter.

References

[1] Huang, Jin H., Hong-Ching Her, Y. C. Shiah, and Shaw-Jyh Shin. “Electroacoustic Simulation and Experiment on a Miniature Loudspeaker for Cellular Phones.” Journal of Applied Physics 103, no. 3 (2008): 033502. https://doi.org/10.1063/1.2837112.

Version History

Introduced in R2026b