Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loudspeaker model for Qucs-S #421

Closed
tomhajjar opened this issue Dec 29, 2023 · 9 comments · Fixed by #535
Closed

Loudspeaker model for Qucs-S #421

tomhajjar opened this issue Dec 29, 2023 · 9 comments · Fixed by #535
Assignees
Milestone

Comments

@tomhajjar
Copy link

tomhajjar commented Dec 29, 2023

I made a loudspeaker library for amplifier testing. It is based on an article popular at diyAudio.

First entry is a 2-way 8-Ohm. It presents a real-life reactive load to the amplifier.

2023-12-29_114654

2023-12-29_114707

Loudspeaker_prj.zip

@ra3xdh
Copy link
Owner

ra3xdh commented Dec 29, 2023

Thanks for the contribution! I am planning to add a loadspeaker library in the next release.

@tomhajjar
Copy link
Author

tomhajjar commented Dec 29, 2023

diyAudio has a number of models for "old school" loudspeakers from the 60s/70s.

Qucs also had a number of loudspeaker and enclosure projects.

There is also an RFEDD speaker model using Theil I converted from the S_diverse.lib from QucsStudio.

Loudspeakers_qucs.zip

@ra3xdh ra3xdh added the library label Jan 1, 2024
@ra3xdh ra3xdh added this to the 24.1.0 milestone Jan 1, 2024
@ra3xdh ra3xdh self-assigned this Jan 1, 2024
@tomhajjar
Copy link
Author

Holger modified an LTspice loudspeaker library to work with ngspice. The library has individual loudspeakers for use in designing crossover networks.

Loudspeaker_lib.zip

@csrabak
Copy link

csrabak commented Jan 25, 2024

Just a rambling, but perhaps could we have a "component" speaker, which would show with its distinctive symbol with two parameter resistance and inductance?

@tomhajjar
Copy link
Author

Your welcome to make submissions. In general a speaker model should either reflect a real life 2/3 way speaker or popular individual woofers/midranges/tweeters. Impedance should be nominally 4/8 Ohms.

Even a simple speaker cannot be modeled with an inductor and resistor. You need multiple resonances and realistic Impedance.

@csrabak
Copy link

csrabak commented Jan 26, 2024

Humm I'm affraid I could not communicate what I was thinking...

Whereas for big systems a "loudspeaker box" is more properly modeled by the crossover network plus the speakers as ultimate loads that dissipate the energy and convert it to sound waves, I was thinking in having these last ones becoming a specific component, wich could allow even to have a propor symbol in the schematic.

Otherwise not all circuits which use speakers come from the [passive] crossover networks in the power path, in fact, there is a trend where the frequency separation is done in low level and separate power amplifiers feed the different speakers1.

Also for other applications, say the audio part of a cell phone, a portable TV set, the speaker is the load of the audio amplifier.

I do agree that a more complete transducer model would require a modeling of the conversion to the mechanical sound waves and require an additional pin in the symbol which could be sampled for ploting, etc.

I was not thinking in this level of sophistication, as the sound pressure response would be dependent of the mounting of the transducer (that's why we put these objects in boxes, after of all!).

Footnotes

  1. One I can remember is described in the AN TIDU035 from TI.

@tomhajjar
Copy link
Author

tomhajjar commented Jan 26, 2024

If your really interested in amplifiers and speakers go to diyAudio.com. There are mountains of simulations of amplifiers and speakers. Amps are simulated with LTspice and speakers are mostly simulated with "speaker CAD" software using models. They also use sound cards with special software to measure the speakers they build.

In general amp designers are worried about performance and stability while connected to a "real life" load so they use speaker models that reflect Z versus frequency. Speaker "performance" is not an issue.

@ra3xdh
Copy link
Owner

ra3xdh commented Jan 29, 2024

I am planning to add a speaker model using this approach: https://circuitdigest.com/electronic-circuits/simulate-speaker-with-equivalent-rlc-circuit I will add a new library soon.

@ra3xdh ra3xdh linked a pull request Feb 8, 2024 that will close this issue
@ra3xdh
Copy link
Owner

ra3xdh commented Feb 8, 2024

#535 implements the loudspeaker library.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants