John White: Accelerating Iterative Loudspeaker Design with Boundary Lab — Transcript
Full transcript
- 0:00So, we're here at the University of
- 0:01Salford in the UK. Um, John White is
- 0:05presenting from Chattanooga in
- 0:06Tennessee, I believe. So, we've we've
- 0:08gone transatlantic here.
- 0:09And really nice to have him talk today
- 0:11on some of the work he's been doing
- 0:12recently on loudspeaker design
- 0:15optimization based on his new Boundary
- 0:17Lab software which uses the boundary
- 0:19element method. My name's Dr. Jonathan
- 0:21Hargreaves. I did a PhD in this area. I
- 0:23still do quite a lot of research in this
- 0:24area too. Um, and just give a bit
- 0:27background. So, John has originally come
- 0:29from okay, data analysis kind of
- 0:31background but got into audio kind of
- 0:34through these audio sound system scene.
- 0:37So, I do quite a lot of co-entrant horn
- 0:38designs which are which are really
- 0:40popular. It's obviously like could be
- 0:42like Dan Lee been there for a long time
- 0:44but
- 0:45increasingly
- 0:46that's something people do it for
- 0:47themselves. Quite a lot of optimization
- 0:49required to get those things to work
- 0:51nicely. And John's been doing that and
- 0:54been looking into more simulation tools
- 0:56along with a really vibrant online
- 0:58community and has put together this
- 1:00fantastic software called Boundary Lab.
- 1:02So, he's going to tell us more about
- 1:03that now.
- 1:04Over to you, John. Thank you very much.
- 1:06>> Cool. Yeah, so today we'll kind of cover
- 1:10a bit about the the background of the
- 1:13software, a little bit of just the
- 1:15general numerical methods and
- 1:19ways there are to simulate loudspeakers
- 1:21and then
- 1:24just a little bit of the tool and
- 1:25hopefully a demo if it if it cooperates
- 1:27today.
- 1:28So, a little bit of a background.
- 1:31I run JW Sound.
- 1:34I got started about four years ago with
- 1:37this.
- 1:38It's more of like a a personal project
- 1:41with this idea of
- 1:44kind of getting into my local sound
- 1:45system scene and
- 1:47kind of documenting that that progress
- 1:49along and
- 1:51got into kind of making DIY loudspeakers
- 1:53and
- 1:55eventually kind of
- 1:56the popularity of those loudspeakers
- 1:59kind of ballooned a bit
- 2:01which kind prompted me to start
- 2:03releasing plans for them and kind of
- 2:07pivoting what JW sound was more from
- 2:09like a personal project over to
- 2:11um a way to uh make high performance
- 2:15loud speakers more accessible for DIY.
- 2:17Um so a lot of that really comes down to
- 2:19both make making and releasing designs
- 2:22uh that you know anybody can download
- 2:24the plans for and and construct
- 2:25themselves
- 2:26um such as like the the J mod, the saw
- 2:29mod, the Solana to to name the the three
- 2:31that are here visible.
- 2:33Um but then also kind of more recently
- 2:35focusing on maybe the education side of
- 2:38it and and you know getting people
- 2:40interested and designing loud speakers
- 2:42and um measuring and and tuning and
- 2:45system alignments and um all that kind
- 2:48of part which is uh which is oftentimes
- 2:50is overlooked at least uh in in the
- 2:52sound system world.
- 2:54Um but to kind of get into just the
- 2:58idea of loud speaker modeling and what
- 3:00it is we're trying to predict um we can
- 3:02start kind of at a basic level is uh
- 3:04just defining what a loud speaker does
- 3:06is it's got one or more transducers. You
- 3:09have an enclosure that they sit inside
- 3:11of
- 3:12um that basically transforms electrical
- 3:14input signals into acoustic output. Um
- 3:17that's probably the simplest most
- 3:19condensed level you can define it as. Um
- 3:21of course it gets very complex from here
- 3:24um as you go out. So I'll kind of give a
- 3:27perspective of
- 3:29as a DIYer um what tools are typically
- 3:32available to us. Um
- 3:35oftentimes you know these these these
- 3:36projects have very little budget so um
- 3:39you have to kind of put together
- 3:41different answers from multiple
- 3:42different tools that are out there um to
- 3:44kind of to kind of get the answer you
- 3:46need before you start actually cutting
- 3:47wood.
- 3:48Um but the by far the most the most
- 3:51popular method um at least in DIY for
- 3:54designing loud speakers is is something
- 3:56called uh the lumped element approach.
- 3:58So um if you're familiar with tools like
- 4:00Hornresp or WinISD or VituixCAD. Um, all
- 4:04of these are really popular in the DIY
- 4:06space and they're basically a way for
- 4:08you to put a number in to define your
- 4:11box, your your drivers, and then it kind
- 4:13of spits out um some information like
- 4:16your your magnitude response, your
- 4:18frequency um response, phase, uh things
- 4:21like that.
- 4:22Um, but acoustically uh these models are
- 4:25kind of like this um reduced uh
- 4:27condensed version of of what's happening
- 4:29at um inside the loudspeaker. So you
- 4:32represent each element um of the
- 4:35loudspeaker as kind of these parts of an
- 4:38acoustic circuit. So those parts can be
- 4:39a transducer, it can be a port, can be a
- 4:42chamber, can be a horn. Um, this
- 4:44screenshot is from Hornresp um kind of
- 4:47showing this acoustic circuit diagram um
- 4:50where each of those squares represents
- 4:52uh a distinct part of of this acoustic
- 4:54system. Um, and again, these are these
- 4:57are pretty widely used um especially for
- 4:59DIY um largely because they're
- 5:02accessible, they're fast, they're
- 5:04reasonably uh easy to pick up. Um, it
- 5:07takes a a few months to learn Hornresp,
- 5:09but once you're once you're handy with
- 5:11it uh you can iterate pretty quickly on
- 5:13designs.
- 5:15Um,
- 5:16so let's talk a little bit about where
- 5:20you can run into limitations with that.
- 5:22So um what the kind of design that
- 5:26prompted me to uh start working on my
- 5:28own tools was this design called the Sol
- 5:30Mod, which is a uh a pretty compact
- 5:34three-way design. Um, there's one behind
- 5:36me actually over there.
- 5:38Um,
- 5:39but the
- 5:40idea with this project was to kind of
- 5:42combine different simulation methods
- 5:44together uh using DIY software um to
- 5:48kind of get me an answer before I
- 5:49started cutting wood. So
- 5:51I uh I did some of the simulation in
- 5:53Hornresp where uh I was simulating like
- 5:56the low frequency uh drivers response um
- 5:59given that they're kind of in this slot
- 6:01loading um band pass arrangement on the
- 6:04sides
- 6:05um and then a very basic BEM model of
- 6:08the of the waveguide using Akabak.
- 6:12So the idea with this was that you can
- 6:15take different answers from different
- 6:17tools and then kind of combine them
- 6:19together. You have to rely on a few
- 6:20assumptions because you're not getting
- 6:22like a total system response. You're
- 6:24kind of simulating each part in
- 6:25isolation.
- 6:27So then you can, for instance, with this
- 6:29design,
- 6:30take all these different answers and
- 6:32combine them together in something like
- 6:34like VituixCAD
- 6:36to get your predicted response.
- 6:38The problem that this design
- 6:41that this approach has is that a lot of
- 6:43speakers are this sort of
- 6:46interdependent system of of different
- 6:48components working together.
- 6:50So even though you can get a reasonably
- 6:53good answer of how one part of the
- 6:55system works quite well,
- 6:57as soon as you start to combine those
- 6:59things together, if you don't account
- 7:00for how those physics couple and
- 7:02interact with each other, it can give
- 7:04you a very different answer from
- 7:05reality. So that's kind of showing what
- 7:07this polar isobar
- 7:09was with the first measurements I took
- 7:11versus the first simulation. So the
- 7:14simulation, this is the response I
- 7:16expected in the top,
- 7:17had this sort of dipole pattern
- 7:20where you have this side rejection at
- 7:22around 300 Hz.
- 7:24And we actually point that out. So
- 7:26that's kind of represented by these
- 7:28blue dips here.
- 7:30And then typically with this kind of
- 7:33arrangement of drivers with one on
- 7:34either side of the enclosure, you get
- 7:36the that kind of rearward lobe. So as
- 7:38you go back behind the cabinet, that
- 7:40energy kind of fills back in.
- 7:43And when I actually measured it, I
- 7:44didn't get that answer. So that was I
- 7:46was very much a puzzling moment of okay,
- 7:49well, why did that happen?
- 7:51So
- 7:53answering the question of why did that
- 7:55happen is is actually a little bit more
- 7:59involved than than you might think
- 8:00sometimes,
- 8:01especially if you're relying on methods
- 8:04and
- 8:05approaches that are available for DIY.
- 8:08So, typically for design like this, my
- 8:11approach was if something measured not
- 8:14in the way I expected it to, if I wanted
- 8:16to understand why,
- 8:18I could look somewhat in the simulation
- 8:19to figure it out, but with the actual
- 8:23approach I used for the simulation for
- 8:24this design,
- 8:26I didn't really have any way to couple
- 8:27these models together. So, that pretty
- 8:30much meant okay, I got to start breaking
- 8:33out the the table saw and and making
- 8:35cuts and see what what changes. So,
- 8:38with typical kind of what was available
- 8:40to me in terms of ground plane and gated
- 8:42measurements,
- 8:44I could take a a hole saw to the
- 8:45cabinet, I could stuff the side force
- 8:47with rags, I could move the mics in in
- 8:49various positions to kind of try to
- 8:51isolate
- 8:53what was happening there.
- 8:55But ultimately what it comes down to is
- 8:59it turned out to be a pretty complex
- 9:01interaction between two different
- 9:02radiating sources and when you have
- 9:05limited resources and tools available to
- 9:07actually measure and probe that
- 9:10behavior,
- 9:12it it kind of creates a little bit of a
- 9:14challenge and that's what really
- 9:15prompted the
- 9:18kind of decision to start digging into
- 9:20creating Boundary Lab
- 9:22because I don't think it was really a
- 9:24good
- 9:25design practice to create a design that
- 9:28has a favorable effect acoustically that
- 9:30I don't didn't really understand.
- 9:33So, as far as how you can design a
- 9:36software that that does take into this
- 9:38kind of coupled physics approach,
- 9:42the kind of architecture I settled on
- 9:44that I called the physical model is uses
- 9:47three different kind of components to
- 9:49it.
- 9:50So,
- 9:52we tie together
- 9:54these this first numerical method which
- 9:56is BEM which stands for the boundary
- 9:58element method and essentially what this
- 10:00does is it kind of looks at the exterior
- 10:02of the cabinet and how sound behaves in
- 10:05terms of scattering and radiation.
- 10:07And then we take the uh the finite
- 10:10element method or FEM to simulate the
- 10:12inside of the cabinet. Um and then both
- 10:15of these models are kind of tied
- 10:16together by this uh patch here called an
- 10:18interface. So
- 10:20um that way we can kind of get the same
- 10:22answer for two different kind of uh
- 10:24representation of of the physics inside
- 10:26inside and outside the speaker.
- 10:28Um and then lastly you have your uh
- 10:31lumped element model for the transducer.
- 10:33Um there are more sophisticated ways to
- 10:37kind of simulate transducers. Um I kind
- 10:39of get into
- 10:40the uh the drawbacks and pros and cons
- 10:43of that in a later slide.
- 10:44Um but for now we can kind of dip just a
- 10:47little bit into what we're actually
- 10:49doing with with BEM and FEM. Um I won't
- 10:52get too deep into the math into in in
- 10:54the interest of time and and not getting
- 10:56too deep into the weeds, but um
- 10:58basically
- 11:00uh BEM allows us to discretize
- 11:02the exterior of a cabinet. So
- 11:05the way we can kind of think of that is
- 11:06we have a rigid enclosure
- 11:08um and then
- 11:10we turn it into a bunch of triangles and
- 11:12then we can define a relationship
- 11:15between uh every pair of triangles on
- 11:19that cabinet. So the way to kind of
- 11:21think about that is if I look at um you
- 11:24know a a triangle on the front of the
- 11:25cabinet here,
- 11:26it has an acoustic relationship or it's
- 11:29acoustically aware with this triangle
- 11:31over here. And we can actually use some
- 11:34some cool mathematical formulas to
- 11:36define that relationship
- 11:38um and how they interact on each other.
- 11:40And we can build that for every triangle
- 11:43against every other triangle. So that's
- 11:45a that kind of a test and trial pair.
- 11:47And when we have that kind of um
- 11:49relationship built of all these pairs,
- 11:52uh we end up with something called a
- 11:53dense matrix
- 11:55um
- 11:55versus uh FEM which has uh is a little
- 11:59bit different. So instead of the
- 12:00triangles just being kind of flat pizza
- 12:02slices, um they're actually
- 12:04three-dimensional. So um in this
- 12:06instance they're tetrahedra.
- 12:08Um and the idea here is that
- 12:10um instead of kind of making this
- 12:12relationship of of every single one of
- 12:14these 3D shapes versus every other in
- 12:16the cabinet,
- 12:17we only look at its neighboring pairs.
- 12:19So, we're able to kind of build these
- 12:22formulas out
- 12:23for each of these little tetrahedra and
- 12:25its neighbors to kind of
- 12:27predict how sound's going to propagate
- 12:29through that through that medium.
- 12:31The cool thing about these kind of two
- 12:33methods, even though they're very
- 12:34different in how they're structured, BEM
- 12:37being a dense matrix, FEM being a sparse
- 12:39matrix,
- 12:41they kind of work on this this shared
- 12:43physics model, which is the linear time
- 12:46harmonic acoustics and homogeneous
- 12:47fluid, or it's just the the Helmholtz
- 12:49equation. So,
- 12:51even though we've kind of discretized
- 12:54the two different
- 12:56domains in very different ways,
- 12:59we can still connect them together at
- 13:01this interface. So, in this example
- 13:03here, we have just a basic
- 13:05ported box, and we have this port circle
- 13:08here on the BEM model, we have it on the
- 13:11FEM model.
- 13:13And we can actually calculate the same
- 13:15kind of pressures and velocities across
- 13:17this interface,
- 13:19and then kind of
- 13:21when the
- 13:22interior and exterior agree on the same
- 13:24solution, we can consider that system
- 13:26solved. So, that's kind of like how
- 13:28those two models get coupled together.
- 13:31And then the last part is kind of this
- 13:33lumped transducer model.
- 13:36It's really not too complicated, but the
- 13:39basic idea, and this is a pretty
- 13:40[snorts] well-established model,
- 13:43is that you can take kind of a
- 13:45a simplified moving coil model
- 13:49where you have like an electrical domain
- 13:52where you would apply voltage from like
- 13:54a imaginary like
- 13:56perfect amplifier
- 13:58which feeds force or BL into a
- 14:01mechanical domain.
- 14:03And then that in turn feeds the velocity
- 14:06into the acoustic domain.
- 14:08Now, one really cool thing about this is
- 14:11we can actually connect this domain
- 14:13directly to our FEM or BEM meshes.
- 14:17Um, so these kind of screenshots here
- 14:18show show a couple
- 14:20designs and boundary labs. So, these
- 14:22blue surfaces here are the are the
- 14:24driver cones.
- 14:25And um we can basically just connect our
- 14:28lumped element models to the actual
- 14:30triangles on these cones
- 14:32um to kind of put the velocity across
- 14:35all those elements.
- 14:36Um, and the cool thing about this model
- 14:38is it can be it can work
- 14:40bidirectionally. So, we can use voltage
- 14:42to drive the velocity of these of these
- 14:45these elements. Um, but then we can
- 14:47actually feed back the uh acoustic
- 14:50reaction force through the system the
- 14:51other way. So, the way that works is,
- 14:54you know, say we have like uh like a
- 14:56driver operating in free air, um we can
- 14:58do we can model some uh like a BEM horn
- 15:01around it
- 15:03and then um
- 15:04kind of predict the the impedance or
- 15:06load that places on that transducer and
- 15:08feed that back through the system. Um,
- 15:11and that can kind of even go back to the
- 15:12electrical domain as as back EMF.
- 15:15Um, so as far as, you know, this is
- 15:18being a pretty simplified model, um
- 15:21where does it kind of fall apart?
- 15:23Well, uh you have to kind of make a
- 15:24trade-off, um I found with uh your model
- 15:28fidelity and the speed and and
- 15:29complexity. So,
- 15:32um as far as predicting what a
- 15:34transducer does, especially when the
- 15:36physics become a little nonlinear, um
- 15:39gets very complicated fast. So, um I
- 15:42found that a linear model was a way to
- 15:45kind of keep it simple enough so that uh
- 15:49a DIYer could both understand it. Um,
- 15:51and they weren't going to spend, you
- 15:53know, all this time setting up uh a
- 15:55multi-physics model um where they're
- 15:57actually you know predicting things like
- 15:59the magnetic flux or or heat dissipation
- 16:02or suspension nonlinearity.
- 16:04Um,
- 16:05but a few different ways where this kind
- 16:07of
- 16:08linear model can fall apart. Um,
- 16:10one is kind of in predicting ports and
- 16:13and resonators um
- 16:15where as you increase the input drive
- 16:19um on a system um you're
- 16:22uh you need more air velocity through
- 16:23your ports um and as that air velocity
- 16:26starts to increase uh you start to get
- 16:29port turbulence with shear and vertical
- 16:31motion especially around um corners
- 16:34and that's something where it's possible
- 16:37to predict there are numerical methods
- 16:39um like CFD that that let you do that um
- 16:42but the model setup is is considerably
- 16:44more expensive in terms of that um and
- 16:46then structural FEM so you can predict
- 16:49how like the enclosure might vibrate or
- 16:51flex in in certain uh regions um you can
- 16:55predict how like diaphragms might break
- 16:57up on compression drivers but again
- 16:59that's kind of um a different layer of
- 17:02the physics that I found was
- 17:06um really not necessary for what this
- 17:08tool was intended for um that's kind of
- 17:11a
- 17:12more approachable way to to do this type
- 17:15of modeling.
- 17:17Um so yeah at this point I'll kind of
- 17:19dim uh dip into the demo um which let's
- 17:22hope it works today um but yeah we'll be
- 17:25kind of like looking at the the Saw Mod
- 17:27speaker inside Boundary Lab
- 17:30um
- 17:31so a little bit about what we're looking
- 17:33at here so this is the um model as it
- 17:36sits in the tool.
- 17:38So right now what we're looking at is
- 17:39the exterior of the cabinet um with the
- 17:42interfaces in green so these kind of
- 17:45gray triangles here are just the the
- 17:47rigid uh outsides of the box and then
- 17:50these green patches are kind of the you
- 17:54can think of them as like the window
- 17:55into the interior FEM regions um and if
- 17:59I actually
- 18:01um hide the exterior you can see what's
- 18:03modeled in the in these interior FEM
- 18:05regions so it's kind of a reduced model
- 18:07of it um we don't have this sealed uh
- 18:10chamber in the in the middle here um but
- 18:12the low frequency drivers occupy uh
- 18:14we're just using like a reduced lumped
- 18:17element model for that
- 18:19but we have these um
- 18:21excuse me, side slots here um that the
- 18:23tens occupy. So these have a some
- 18:25behavior that we want
- 18:26to diamond understand.
- 18:27And then we have this um central kind of
- 18:30wave guide module here that has our two
- 18:32mid-range drivers
- 18:33and uh and our compression driver.
- 18:36So when I hit solve um right now I have
- 18:39it set to run 20 to 20,000 Hz which is
- 18:42probably a bit ambitious for this mesh
- 18:44resolution. But um as I click that it's
- 18:48going to run through 200 different
- 18:49frequencies um between that range
- 18:52and kind of predict the response of the
- 18:54system.
- 18:55Now currently I have like some crossover
- 18:57filters simulated so it's going to give
- 18:59me the the full polars
- 19:01um and we can kind of check to see how
- 19:03that stacks up against the measurements.
- 19:06So
- 19:07it's almost there.
- 19:12And
- 19:16let's see.
- 19:18Here we go. Um so yeah these two plots
- 19:20is kind of showing right away are just
- 19:22the the horizontal and and vertical
- 19:24polars. Um if I actually go ahead and
- 19:26pull up the measurement for the
- 19:28horizontal um we can see that there's
- 19:31some discrepancy um just because you
- 19:34know this is a kind of a reduced
- 19:36complexity model. There's always little
- 19:38details that you can improve and get
- 19:40right but the overall kind of shape and
- 19:42especially what we're interested in to
- 19:44make like well informed decisions about
- 19:46the design is there.
- 19:47Um there are some features that that
- 19:49we're kind of correctly predicting in
- 19:51the model which we would want to see um
- 19:53like this kind of flare out at 700 Hz
- 19:56um where it's predicting that as well.
- 19:58But the kind of main feature that I want
- 20:00to focus on
- 20:01is this um side and rear rejection. So
- 20:05this is something where the model is
- 20:07actually predicting here um how that
- 20:10kind of that pattern for the dipole is
- 20:13actually providing us a little bit of
- 20:14rear rejection um which is exactly what
- 20:17we do want to see because that's the
- 20:18that's the thing that are are kind of
- 20:20disjointed separate models didn't give
- 20:22us.
- 20:23Um and then we can check the the
- 20:24vertical as well.
- 20:25Um,
- 20:26which is I think a little bit closer
- 20:28even. Um, with my vertical measurement,
- 20:30it was not in an ideal environment, so
- 20:33some of the off-axis angles got a little
- 20:34noisy. But, um, you know, again, it kind
- 20:37of comes down to does this give me an
- 20:39enough confidence that I can make an
- 20:41actionable decision off of this design?
- 20:43And in this case, I think that that
- 20:44answer is probably yeah.
- 20:47Um, but yeah, like as far as kind of
- 20:49investigating what that what that um
- 20:52kind of rear rejection mechanism looks
- 20:54like. Um,
- 20:56first off, obviously we can see it in
- 20:58the polar here, so that's kind of like
- 20:59the evidence in the far field that that
- 21:01we are getting that effect. Um, but we
- 21:03can use this thing called an observation
- 21:05plane, which is what's in view here to
- 21:07actually kind of visualize it and see
- 21:09what what's happening there.
- 21:11Um, so right now I'm kind of showing
- 21:13just uh just like this map of SPL that
- 21:16slices through the cabinet.
- 21:18Um, so we can see at any given frequency
- 21:21what that looks like.
- 21:22So I'm going to go ahead and kind of
- 21:24roll up to
- 21:25uh near the crossover region.
- 21:27And what we can see is on this kind of
- 21:30heat map here uh
- 21:32the there is more energy concentrated
- 21:34around the front of the cabinet
- 21:35projecting forward. And then we have
- 21:37this kind of cancellation developing
- 21:39behind the cabinet.
- 21:40And you can actually see a little bit
- 21:42too as I change frequency
- 21:44how that kind of develops um in regards
- 21:47to frequency.
- 21:48And
- 21:50um another way to kind of look at this
- 21:52is uh using the pressure maps. So with
- 21:55this, we can show uh real or imaginary
- 21:58pressure kind of on this plane.
- 22:01Um, and we can actually animate that
- 22:02through a full cycle
- 22:04to
- 22:05get an idea of how the sound pressure
- 22:08field looks around the cabinet.
- 22:09Now, one caveat with this view um it
- 22:13might look like kind of at a at a glance
- 22:15you're looking at how
- 22:17sound is uh propagating over time. And
- 22:20while that's sort of the case, what it's
- 22:22really doing is just rotating the fit
- 22:24acoustic the phase through one cycle. So
- 22:27um time domain kind of BEM is is a
- 22:29little bit different. Um we're we're
- 22:31using frequency domain BEM here. So it's
- 22:33kind of solving the the system as it
- 22:37kind of settles instead of just actually
- 22:39predicting like sound is traveling out
- 22:41and then bouncing.
- 22:43Um but yeah we can see uh right now if
- 22:45we go to actually I'm going to go back
- 22:48to the SPL view here. Um right now we're
- 22:51looking at the system response. So that
- 22:53is like the mids, the lows, the highs,
- 22:55everything playing at the crossover.
- 22:57Um if I only go to just the mids um we
- 23:01can see how that that changes the
- 23:03pattern. So
- 23:05if I'm only playing the mids which are
- 23:06here um we don't really see that that
- 23:09projection pattern developing back here.
- 23:12Um
- 23:13and similarly if we go only show the
- 23:16response of the lows um we can see a
- 23:18little bit of a pattern but it's not as
- 23:21extreme as if we combine the response
- 23:23and get this kind of um rear rejection
- 23:26pattern here.
- 23:27Uh so yeah kind of going back to the the
- 23:29pressure view um it's a different way to
- 23:32kind of kind of examine that feature. So
- 23:34I'm going to start by just looking at
- 23:35the um pressure cycle for for the lows
- 23:40so we can kind of see how that um
- 23:43rear inside pattern is developing there
- 23:45um as well as the the forward forward
- 23:48lobe as well.
- 23:49And then we can do the same for the
- 23:50mids.
- 23:54And then we can do the same for the
- 23:55system response. So the main thing to
- 23:58note with the system response is just
- 24:00the
- 24:01ratio of forward energy to rear energy
- 24:03is greater with the combined system um
- 24:06because of this kind of interaction that
- 24:08these mids are having with these lows
- 24:10here to create that um pressure field
- 24:12behind the cabinet.
- 24:14Um another way that we can kind of use
- 24:16this to audit a system um
- 24:20is kind of looking at different features
- 24:22in the design. So
- 24:25I'm going to go ahead and turn off my
- 24:27crossover filters
- 24:30which is going to look messy for a
- 24:31second.
- 24:34And we're going to look at the on-axis
- 24:37uh response prediction for each set of
- 24:39drivers.
- 24:40So we're going to focus more on the the
- 24:42highs here. So we're using just a very
- 24:45basic model of a compression driver. So
- 24:47um we're not really getting a
- 24:49particularly accurate response,
- 24:50especially above 8K, but I want to kind
- 24:53of focus on one resonant feature of this
- 24:55design, which is this dip right here at
- 24:57at around 3.5 K.
- 25:00Um
- 25:01there's been uh a little bit of research
- 25:04in the DIY
- 25:05I say research a lot of trial and error
- 25:07in the DIY space to figure out why
- 25:09multiple entry horns can have these dips
- 25:10here.
- 25:11Um but ultimately what it came down to
- 25:13is um this is the uh wavefront from the
- 25:17high frequency compression driver
- 25:18exciting the the chambers and the kind
- 25:21of uh throat passage that the the mids
- 25:23occupy. Um so if I want to actually see
- 25:27the um how that mechanism actually
- 25:30works, we can take this observation
- 25:32plane
- 25:33and we can kind of scale it down to
- 25:36where we want to look at a little bit
- 25:38closer.
- 25:41And I'm going to change it to just look
- 25:43at the high frequency channel.
- 25:45I'm going to increase the
- 25:48uh excuse me resolution of the plane to
- 25:51kind of get a little bit more of a finer
- 25:53view.
- 25:54Um and then we're going to kind of
- 25:55scroll over to
- 25:573.5 K.
- 26:00So right now we're looking at SPL.
- 26:02Doesn't really show us a whole lot of
- 26:03anything useful here. Um what I'm going
- 26:06to check now is the pressure.
- 26:09Um so we'll kind of look at the one
- 26:11acoustic cycle here.
- 26:13And I'm going to change the scale so
- 26:15it's a little bit easier to see. Um but
- 26:17we can actually see as this wavefront
- 26:20leaves the compression driver source, it
- 26:22is exciting these modes um along these
- 26:26kind of side branch chambers here um
- 26:28which will actually have an effect on
- 26:30the the directivity as it's uh
- 26:32creating a less than ideal propagation.
- 26:36The other kind of way I like to look at
- 26:38this stuff,
- 26:39especially is one thing you'll notice if
- 26:41you look at the just the pressure field
- 26:43alone, is I can go to different
- 26:44frequencies and I can kind of see that
- 26:46effect to varying degrees,
- 26:49but it might not have quite a dramatic
- 26:51effect in the far field. It's really
- 26:53kind of hard to nail down
- 26:56exactly what we're looking at here at
- 26:573.5 K. So one view I like to use is
- 27:00something called
- 27:02acoustic flow arrows, which is really
- 27:04just showing the
- 27:06intensity,
- 27:07acoustic intensity vectors across this
- 27:10plane. So it's kind of showing us two
- 27:12parts. We have
- 27:13a real acoustic flow that we can view as
- 27:15kind of arrows, and then we have an
- 27:17imaginary or reactive flow that we can
- 27:19also view as arrows. So one thing if I
- 27:22kind of switch to imaginary, it's a
- 27:24really good way to to look for where
- 27:26there might be standing waves. So if I
- 27:28sweep through the frequency range here,
- 27:30we can see that there's not a lot
- 27:31happening up to 2 K, 3 K.
- 27:35Let me change that to interior.
- 27:39And right around there, if I look at 3.5
- 27:43K, we can see these kind of side
- 27:45branches light up a bit.
- 27:47And if I sweep through, you know, from
- 27:49the low all the way up to the top end of
- 27:51the response, we don't really see that
- 27:54light up until it's right there at 3.5
- 27:56K. So it really helps us isolate
- 27:59something that we're looking at in the
- 28:01far field that we kind of see evidence
- 28:02of, and we want to understand what
- 28:04geometry is causing it. So in here we
- 28:06can kind of see how these acoustic flow
- 28:09or the imaginary component is has these
- 28:11arrows that diverge
- 28:14kind of here around these branches,
- 28:16which tells us that there's probably
- 28:18some kind of standing wave effect here.
- 28:20And the other kind of part of this is
- 28:22just to confirm it's probably real, we
- 28:24can look at the
- 28:26the real component,
- 28:28and we can see that there's very little
- 28:29real acoustic flow through these side
- 28:31branches at that frequency. So by
- 28:33flipping back and we can kind of like
- 28:34inform a decision on maybe there is like
- 28:37a standing wave there that we could
- 28:38investigate with the geometry.
- 28:41And one of the cool things about
- 28:42Boundary Lab that is you can kind of use
- 28:45it as a tool to rapidly iterate. So, if
- 28:48I want to go over
- 28:50here to the model that is feeding um
- 28:53this in my CAD tool,
- 28:55um this is what this looks like. So, um
- 28:58we model in kind of quarter symmetry.
- 29:01Um it's a way for us to save a little
- 29:03bit of computational power, but
- 29:04essentially it's just um mirrored out on
- 29:07on the X and Y plane so what to send
- 29:09Boundary Lab. Um but we can actually
- 29:11look at
- 29:12our kind of volume here that we've
- 29:14modeled for the throat. And then say we
- 29:17wanted to
- 29:18see what an obstruction would look like
- 29:20if we modeled it in the um
- 29:22in this side branch. So, we can kind of
- 29:24go here
- 29:26and we can insert a
- 29:30Let's see if that works.
- 29:35Here we go. Um so we've kind of added
- 29:37this just um spherical obstruction in
- 29:40the throat um just to see what effect
- 29:42that would have.
- 29:43And then I can go ahead and export this
- 29:47really quick.
- 29:50And as soon as that's done, we'll flip
- 29:53back into Boundary Lab and then it
- 29:55should pick up the new mesh.
- 29:57And then we'll go ahead and solve again.
- 30:01And give it about 30 seconds.
- 30:04And as soon as it finishes the solve,
- 30:06we'll be able to kind of look inside in
- 30:07that plane and and see what effect it
- 30:09had.
- 30:11Um but the first thing we'll kind of
- 30:12look at here
- 30:13is this um just kind of far-field uh
- 30:16on-axis frequency response.
- 30:18Uh as it fills in, we can start to see
- 30:21that that dip at 3.5 K uh is not
- 30:24entirely gone, but it has lessened uh
- 30:27quite a bit.
- 30:28And once it finishes solving,
- 30:33yeah, um we can kind of look at the
- 30:35before and then after. And I realized
- 30:38now that the before had the crossover
- 30:40filters, so we can ignore how the slopes
- 30:42change. But this feature right here is
- 30:44mainly the main focus where we can see
- 30:46how that dip has gone from pretty sharp
- 30:48to less.
- 30:50And
- 30:51obviously there's a lot of things that
- 30:53can happen when you when you insert an
- 30:55obstruction in a port, but so this is
- 30:57mainly just an illustration to show how
- 31:00something in that changes the geometry
- 31:03can kind of change
- 31:04the response and kind of change how that
- 31:07mode
- 31:09or standing wave
- 31:10behaves in in this throat area here. And
- 31:12we can actually go ahead and
- 31:15change this to
- 31:17pressure yeah, where you can actually
- 31:18see
- 31:19that a little bit better.
- 31:21But yeah, it's kind of just changed how
- 31:23that wave front is propagating through
- 31:25the wave guide just because the
- 31:28entrance into this
- 31:30side branches here has has kind of
- 31:32changed. That's the compression driver
- 31:33wave front sees a different impedance.
- 31:37And I'm not going to I'm not going to go
- 31:38ahead and say it's better or worse, but
- 31:40we can kind of observe a change in the
- 31:42system and then kind of compare that
- 31:44back and forth.
- 31:46So
- 31:47as far as kind of how to digest and
- 31:51interpret that, one thing I found that's
- 31:53really kind of helpful is to kind of
- 31:55think of it as building a mental model.
- 31:58So
- 31:59as I kind of build designs, I've found
- 32:02that you kind of settle into this loop
- 32:04of you form a hypothesis of maybe you
- 32:08want to change the chamber geometry,
- 32:09maybe you want to like change the way a
- 32:11horn shape looks or
- 32:14how your port
- 32:15is is constructed.
- 32:17Then you manipulate that geometry and
- 32:20you observe the effects, try to figure
- 32:22out what changed, why it changed,
- 32:24and then kind of repeat that loop. So as
- 32:27you repeat this loop, you start to kind
- 32:29of put together this
- 32:32kind of internal model of the system
- 32:34that you're optimizing. So as you change
- 32:36your geometries, as you tweak parameters
- 32:38and you watch the data,
- 32:40um you start to kind of perceive these
- 32:41relationships between these variables.
- 32:44Um it's very similar to kind in
- 32:45Horn-Resp, as you as you move a slider,
- 32:47you can kind of see the effects and um
- 32:49you can kind of start to even
- 32:51subconsciously build that that
- 32:53uh that model of the system. Um
- 32:56the cool part about this is
- 32:58um if you're using a a physical design
- 33:00workflow, this this loop can take often
- 33:02pretty long
- 33:03um because you're going from creating an
- 33:05idea, actually cutting the design,
- 33:08assembling it, measuring it, and then
- 33:10observing those effects before you can
- 33:12repeat that loop. So that cycle can be,
- 33:14you know, days, weeks sometimes. Um
- 33:17versus what what I want really want to
- 33:18do with Boundary Lab was collapse that
- 33:20cycle down to just a few seconds.
- 33:22Um and this kind of helps us understand
- 33:24a system better through observation. So
- 33:27um kind of one of the the main things
- 33:30that's really helpful to think about,
- 33:31I've found, is
- 33:33um when you're kind of looking at this
- 33:35systems level approach with with all
- 33:37these components interacting to create
- 33:38this combined um
- 33:41response, um the idea is that you can
- 33:44interrogate different parts of it to
- 33:45build a story of what's happening. So if
- 33:47I see an anomaly in the response, um
- 33:50let's say I see it in the far field, um
- 33:52the idea with Boundary Lab is that um I
- 33:54can kind of look at that from different
- 33:56perspectives in the physics to
- 33:58understand exactly what's happening and
- 34:00form a better idea of um you know, is it
- 34:03is it a mode that's happening? Is it
- 34:05cancellation? Um and then really feel
- 34:08good that I've I've formed a
- 34:10um a good good understanding of of how
- 34:12the problem might have occurred and then
- 34:14of course how to address it in the end.
- 34:16Um
- 34:17and that kind of goes into the role of
- 34:19responsive simulations. So um when I
- 34:23kind of started doing loudspeaker
- 34:24design, um it was a very slow process,
- 34:27um especially with the tools available.
- 34:29Um so I had to make changes with my
- 34:31designs as very deliberately. Um you
- 34:34know, because if I wanted to change um
- 34:37the geometry of a box, then oftentimes
- 34:39that would come down to actually having
- 34:41to cut and assemble the box.
- 34:43Um so I had to be very kind of
- 34:45conservative with those changes.
- 34:46Um whereas with Boundary Lab I can be a
- 34:48lot more kind of experimental um and
- 34:51maybe less constrained just because I
- 34:53can get an answer in a few seconds
- 34:54rather than having to spend the time and
- 34:56money to wait to get an answer. Yeah,
- 34:58this is kind of uh an example of of what
- 35:01a responsive kind of interaction would
- 35:03look like um using one of the plugins in
- 35:05Boundary Lab. So this is just a basic
- 35:07horn generator where you can kind of
- 35:08change these sliders that manipulate the
- 35:11geometry and then as soon as you release
- 35:13the slider it it kicks off a BEM solve
- 35:16and predicts what the the
- 35:18the directivity looks like.
- 35:20Um and again that kind of goes back to
- 35:22as you manipulate these sliders you're
- 35:25kind of understanding what variables
- 35:27they change, you're watching the
- 35:28geometry change and then you're seeing
- 35:30how that affects um the actual
- 35:33directivity of the system.
- 35:34Um
- 35:35and of course looking at this you kind
- 35:39of the natural segue is all right this
- 35:41is very much the um monkey on the
- 35:43typewriter approach to optimization
- 35:46um where
- 35:48you might get a good result based on you
- 35:50know some level of understanding or
- 35:53expertise um and some you might get a
- 35:55result because you're lucky. Um the kind
- 35:58of natural segue out of that is of
- 36:00course getting into automated
- 36:02optimization
- 36:03um which unfortunately I don't have a
- 36:05ton of time to cover today but um that's
- 36:08kind of one of the the the foundations
- 36:10that Boundary Lab has kind of allowed
- 36:11for is now that you have this um fairly
- 36:14fast way to iterate on geometry and and
- 36:16predict its behavior. Um we can actually
- 36:19just go ahead and automate that whole
- 36:20process and instead of me clicking and
- 36:23dragging a slider it's a computer um
- 36:25dragging that slider a little bit more
- 36:26intelligently.
- 36:29Um
- 36:30yeah and at that this point that kind of
- 36:32ends the presentation so I will switch
- 36:35it over to Q and A.
- 36:42>> Uh just just before we move on to open Q
- 36:44and A John I was just wondering if you
- 36:45could elaborate briefly on on some of
- 36:47the the role that other open source
- 36:50resources have played in this because I
- 36:52mean, for those of you who either
- 36:54unfamiliar with what John's showing or
- 36:56have come from the research sphere, I
- 36:58mean, you get these sort of plots in
- 37:00commercial software, but you can be
- 37:02expecting to pay tens of thousands of
- 37:04pounds for most of that sort of stuff.
- 37:05And and frankly, your solve times are as
- 37:08quick as anything I've frankly seen in
- 37:09anything. So, you know, there's there's
- 37:11some really impressive
- 37:13deployment and and packaging into the
- 37:15GUI and and the workflows and the solve
- 37:17times are say are really impressive. You
- 37:19know, the idea of moving a fader and a
- 37:20and a BEM simulation update is is pretty
- 37:23much almost unheard of. I mean, I'm
- 37:25still running ones on on one of our
- 37:26workstations downstairs that will sit
- 37:28there and churn away for several hours
- 37:30before doing what what's happening
- 37:32there. So,
- 37:33I don't if you want to just comment on
- 37:35I mean, I
- 37:36I'd like to hear about how some of the
- 37:38because I know you have leveraged
- 37:40some open source things in the past. I
- 37:42think you've now moved to an sort of
- 37:43core solver that you've written, but
- 37:45you're still using good mesh, I think,
- 37:46for meshing. Um
- 37:48and it just be interested how those
- 37:49platforms have have have helped or how
- 37:51they're still being used or anything
- 37:53because there's a lot of
- 37:54>> Well,
- 37:55yeah. I mean, I think it'd be fair to
- 37:56say that this wouldn't be possible if it
- 37:58weren't for open source software. I'm
- 38:00I'm a big proponent of of free open
- 38:02source software. So, when I started
- 38:04building Boundary Lab,
- 38:06I really
- 38:08had to pick up the the numerical methods
- 38:11like BEM, and I was using BEMPP, which
- 38:14is one of those open source libraries.
- 38:16And that really gave me a strong footing
- 38:18like kind of working with that library
- 38:20and kind of implementing that code to
- 38:22give me
- 38:23a good foundation for kind of writing my
- 38:25own solver.
- 38:27And then kind of from the community
- 38:29side, at least on on DIY audio, which is
- 38:32where a lot of this kind of work lives,
- 38:34I've had, you know, different individual
- 38:36contributors and people who are
- 38:38more familiar with various aspects of it
- 38:40kind of contribute to this project. One
- 38:42example is
- 38:44somebody put a lot of time and effort
- 38:47into kind of porting the solver over to
- 38:49Apple metal. So if you have like a Mac,
- 38:52you can use the GPUs on board to solve
- 38:55these just as quick as you can with like
- 38:57a a desktop GPU, which which I think is
- 38:59pretty cool.
- 39:00It's pretty neat to see like a a little
- 39:02laptop run these simulations pretty
- 39:04quickly.
- 39:05But yeah, I mean open source has been
- 39:07been a core part of it and I definitely
- 39:08see that continuing to be the case.
- 39:11>> Cool. Thank you very much.
- 39:13Hi John. Thank you so much. That was
- 39:14fascinating.
- 39:16I wanted to just ask if you could
- 39:17elaborate a tiny bit further on the
- 39:20automated iterative processing,
- 39:21automated design
- 39:23that you worked on. This is built into
- 39:24Boundary Lab.
- 39:25It's all of your
- 39:27>> Um
- 39:27>> variants and Solana variants and what
- 39:29not those are
- 39:31>> Yeah, so the
- 39:34um that's a good question.
- 39:35So I kind of
- 39:38when when I was optimizing the Solana,
- 39:39it did use the underlying solver, like
- 39:42the the kind of back end.
- 39:44But Boundary Lab is more of like a GUI
- 39:45for kind of
- 39:47I guess human driven design workflows.
- 39:50So I didn't actually build it in
- 39:51Boundary Lab.
- 39:52You can build it into plugins, which
- 39:55I've experimented with a bit.
- 39:57But that's kind of
- 39:59the idea with with the optimization is
- 40:00it's
- 40:02more something that's meant to be
- 40:03deployed on like a like a compute node,
- 40:06which I am working to release kind of
- 40:08that code.
- 40:10But basically the idea
- 40:12is that
- 40:13you can use like an evolutionary
- 40:15algorithm, like a like a genetic
- 40:16algorithm or other various types of
- 40:19optimization to
- 40:22kind of change those variables and and
- 40:24iterate.
- 40:25So the the idea is like rather than kind
- 40:26of doing that directly in Boundary Lab
- 40:28where the computer has to render all the
- 40:30GUI, it has to kind of keep this
- 40:32application going,
- 40:33you can make it run much much faster
- 40:37if it's just command line only. So just
- 40:39to give an idea like with the like the
- 40:42latest solver code,
- 40:44if it's just relatively simple geometry
- 40:46like I think like the one in the video,
- 40:48Um, on even just my desktop, I'm able to
- 40:51do about 40,000 iterations a day, which
- 40:53is pretty great throughput because the
- 40:55the more
- 40:57um
- 40:58I guess the the more accelerated you can
- 40:59make the solver, the more that allows
- 41:01you to kind of expand your your um
- 41:04I guess fences that that kind of define
- 41:06your search space. Um, so let's you
- 41:08explore more kind of exotic geometry,
- 41:10maybe um try to add more complex
- 41:13simulations where you're not just
- 41:14simulating one component, but maybe
- 41:15you're actually optimizing two together.
- 41:18Um, so it really does kind of let you uh
- 41:20expand that search space out.
- 41:22>> It's fantastic. I mean, it's like you're
- 41:25you're creating a robotic Robert Lang.
- 41:26It's glorious. I think that it's the
- 41:28future of uh
- 41:30of any enclosure design. So thank you.
- 41:32Appreciate it.
- 41:34>> I'll just I'll just add that I found it
- 41:35quite a nice quote in a in a thesis from
- 41:37a uh
- 41:38So I I won't name them, but the CTO of a
- 41:40certain audio company that makes a
- 41:42remark about um optimization speed and
- 41:45and that even if you're doing the kind
- 41:47of manual sort of monkey controls, the
- 41:49optimization approach you're doing
- 41:50yourself, if it's taking you
- 41:53half a day to wait for that simulation,
- 41:55you can't even remember what you're
- 41:56doing. Like it's um There's just a kind
- 41:59Even if you're not automating it makes a
- 42:00massive massive difference.
- 42:02>> Yep.
- 42:03>> Um
- 42:03Benny, who's one of our technicians uh
- 42:06here has just
- 42:07uh asked have you tried simulating
- 42:08acoustic lenses like high freaky fins or
- 42:11multi-cell horns?
- 42:14>> Uh yes. Um I'd pull up I'd pull up one
- 42:17of those projects if I if I could
- 42:19remember where I saved it. Uh yeah, I
- 42:20did a I did one that was a fun little
- 42:22exercise on um on like a JBL acoustic
- 42:25lens. Um
- 42:27Let me see if actually
- 42:29probably
- 42:30this would be a little bit better than
- 42:31explaining it. Um one of these devices.
- 42:33So the idea with this is to kind of um
- 42:37create this uh varying path links from
- 42:39your the mouth of your horn um that kind
- 42:42of in in effect bend the wave guide to
- 42:44to give it a wider directivity. Um but
- 42:46yeah, I've uh I've simulated that and it
- 42:48works quite well. Um it's probably good
- 42:50to mention that
- 42:52as you do start simulating high
- 42:54frequency devices, it wasn't a huge
- 42:56factor with this, but with certain
- 42:58compression drivers,
- 43:00you have to start incorporating
- 43:02thermoviscous boundary losses,
- 43:04which is was a fun exercise in its own
- 43:07right. But yeah, I found that this kind
- 43:09of
- 43:10reduced complexity model to account for
- 43:13that got me
- 43:14enough accuracy to be to be happy enough
- 43:17for a DIY tool.
- 43:23>> Hi there. Thank you so much for putting
- 43:24this this talk on. It's been really
- 43:26really interesting and really valuable.
- 43:29And I just think the software is
- 43:30incredible. I was going to ask John,
- 43:32have you used boundary lab to optimize
- 43:36like wave wave
- 43:38wavefront shaping devices for like line
- 43:40arrays like let's say a DOS style
- 43:42parallel line style or
- 43:44multi multi track style
- 43:47like high frequency wave shaping
- 43:48devices. Cuz I think the the boundary
- 43:51using those boundaries to separate
- 43:53between
- 43:54the actual wave guide providing you know
- 43:56a lot of the directivity and
- 44:00you know let's say the DOS which
- 44:02controls the wave shape. I feel like
- 44:03this could be a really really valuable
- 44:05tool especially for the DIY community
- 44:08as optimizing those style of complex
- 44:11high frequency wave guides has been out
- 44:13of reach unless you're going to use a
- 44:15very expensive software.
- 44:17>> Yeah.
- 44:19Yeah, I mean
- 44:20I've experimented a little bit with it.
- 44:23The part that gets tricky with that is
- 44:24writing the right objective function
- 44:26because as you mentioned if you're
- 44:28optimizing wavefront shape, you need to
- 44:29kind of establish
- 44:31what shape you're optimizing for and
- 44:33then where you're kind of putting your
- 44:34receiver points and the the pressure
- 44:36pattern you're expecting.
- 44:38But yeah, I mean there's no reason why
- 44:39you couldn't take this
- 44:41and build that out. Like all the pieces
- 44:44are there.
- 44:46The kind of optimization I've done has
- 44:48not been exactly that. I am working on
- 44:51more recently some some kind of wave
- 44:53guide optimizations that that dig into
- 44:55that.
- 44:56Um, yeah, all the pieces are there. And
- 44:58just a little bit of a plug. Um, I'm
- 45:00working on a project through a Dutch
- 45:03program called Stichting FOMS
- 45:05um where we're working on a tool called
- 45:06FERMA. Uh, and I think a couple of
- 45:08people involved in that project have
- 45:10actually just called in here. Um, but
- 45:12that's kind of like this larger project
- 45:14where we're going to try to
- 45:16um make these actual optimization um
- 45:19tools and methods available. Um, and
- 45:21that uses the same kind of underlying
- 45:23physics models that Boundary Lab has.
- 45:27>> Oh, that's really interesting. Thank
- 45:28you.
- 45:29>> Thank you so much, John, for the the
- 45:31presentation and for Boundary Lab. Um,
- 45:35my question is about meshing. Um, so we
- 45:38use GMSH to do all the meshing.
- 45:42Uh, and everybody from the FEA side that
- 45:44I've ever talked to says that meshing
- 45:46[clears throat] is the difficult part.
- 45:48So how do you make sure that GMSH always
- 45:51outputs a mesh that's that converges,
- 45:54whether the solution converges? And then
- 45:56the second half of more or less the same
- 45:58question is what's your meshing strategy
- 46:03uh for kind of multiple entry horn
- 46:05optimization problems?
- 46:07Um, cuz I usually get stuck on that part
- 46:10when I mess around. So yeah, I'm I'm
- 46:12interested in that. Thank you.
- 46:14>> No, it's it's a great point and I I was
- 46:15hoping somebody would ask that. Um, I
- 46:17found out that meshing is the hard part
- 46:19the long way. Um, [laughter]
- 46:21yeah, it was when I first started this
- 46:23project it wasn't something that really
- 46:24came to mind as like oh, that's going to
- 46:26be a challenge. Um,
- 46:28but yeah, like meshing is probably the
- 46:31most important way to control
- 46:34the quality of results you get and then
- 46:36how fast a simulation runs. Um, some of
- 46:40that can come down to rules of thumb.
- 46:42Um, I don't
- 46:43care for them too much because they
- 46:45always have caveats. Like there's a big
- 46:46rule of thumb that's like okay, your BEM
- 46:49element like sizes should be 1/6 the
- 46:52highest wavelength that you're
- 46:53simulating for.
- 46:54Um, but there's like there can be
- 46:57exceptions, especially you do like a
- 46:59like a high frequency wave guide in an
- 47:00enclosure where your elements can get
- 47:01coarser on the back and it can be kind
- 47:03of denser at the mouth and doing that
- 47:05doesn't really degrade the solution
- 47:06quality by much.
- 47:08But as far as finding out about mesh
- 47:10convergence and you know what the right
- 47:13density is,
- 47:15generally kind of I do start with a rule
- 47:17of thumb based on like experience of
- 47:20this is what's probably right and then
- 47:22it's fast enough in boundary lab to
- 47:24where you can just export another mesh
- 47:26pretty quickly. So one thing I've done
- 47:29is
- 47:30in Fusion the CAD tool that I that I use
- 47:33I've created some add-ins that that
- 47:35automate that
- 47:36mesh
- 47:37export. So normally if you've if you've
- 47:40used that program you're used to kind of
- 47:42opening it up, dropping in a step file,
- 47:44tagging your surfaces, setting the
- 47:45export quality which is a very
- 47:47time-consuming effort.
- 47:48But this is basically a way to automate
- 47:51it. So like say I want to export this
- 47:53interior mesh right here,
- 47:56I can select it and then I have my
- 47:59surfaces here so I've selected the mid,
- 48:01I've selected my compression driver
- 48:03surface and I've selected my interface
- 48:06and then it has these kind of sizes here
- 48:08and then when I actually export the mesh
- 48:10it'll export those regions at that
- 48:12density
- 48:13and if I want to say like mesh an area
- 48:16coarser like say my interface I want to
- 48:18mesh at eight,
- 48:19it will actually kind of intelligently
- 48:21blend those element sizes there which is
- 48:23a very helpful thing
- 48:25in terms of meshing. So in that regard
- 48:27like this would export this as like a
- 48:29volumetric FEM mesh
- 48:32and then I can do the same for exterior
- 48:34meshes. So like
- 48:36say I have
- 48:39yeah, so say I have like this exterior
- 48:41face here,
- 48:42I can also go ahead and export it and
- 48:44then here's all those bodies and the the
- 48:46resolution I can export it at. So a lot
- 48:49of work has been kind of put into this
- 48:51plugin that helps out a lot
- 48:54and it makes it easy enough and fast
- 48:56enough to where I can say all right
- 48:58we're going to try a 12 millimeter
- 48:59resolution here. We're going to export
- 49:01it, simulate it, and then I can try
- 49:04eight or I can try 16 on another export
- 49:06and then see what changed. Um and then
- 49:08you'll kind of very quickly find out
- 49:10where that kind of um that balance is
- 49:13between fidelity and like what the the
- 49:15solve results you get are.
- 49:18>> Thank you so much. And once again,
- 49:20thanks for Boundary Lab.
- 49:23>> I'll just add that um yeah, so the
- 49:25lambda over six rules are really useful,
- 49:27but as you probably discovered yourself,
- 49:28John, if you actually in the wave guide,
- 49:30you can get these kind of sub wavelength
- 49:32features that mean that
- 49:34you actually sometimes yeah, so around
- 49:35the back you can get away with being a
- 49:37bit coarse or inside you sometimes have
- 49:38to
- 49:39push it a little bit finer as well,
- 49:40don't you?
- 49:41>> Yeah.
- 49:43>> This is regarding psychoacoustics. So
- 49:45you know how it feels. I'm curious if
- 49:47this if have you have you dug into this
- 49:49realm at all in any sort of uh have you
- 49:52ever uh
- 49:53I'm curious [snorts] with regards to
- 49:54some of the other
- 49:56rather popular boutique speakers that
- 49:57are all over the place. You got uh
- 50:00I don't even know how you pronounce this
- 50:01N N N N N. I don't even know how many
- 50:04Ns. And a variety of other
- 50:07You got all the void stuff, etc.
- 50:09Those are rather
- 50:11exotic looking speakers. I'm not sure if
- 50:13you've ever
- 50:14modeled any of these to see
- 50:17something that uh you know is known by
- 50:19the wide public to be rather exotic.
- 50:23But from a
- 50:24acoustic standpoint, I can never imagine
- 50:26that those necessarily couple the way
- 50:28that we want to in the same regard or
- 50:29the same design goals that you're
- 50:31looking for with your MEHs.
- 50:34>> Yeah, I
- 50:35>> this?
- 50:36>> There's two different things here, I
- 50:37think. Um one is
- 50:41the
- 50:42way a system might look visually and the
- 50:44way that can affect our interpretation
- 50:46of a system. So if I walk into a room
- 50:48and I see a crazy looking sound system,
- 50:50I'm going to form a subconscious opinion
- 50:52about how that's going to sound before
- 50:53I've even listened to it. And that's a
- 50:55real effect that you can take advantage
- 50:57of it as as a designer. I don't think
- 50:58that's like
- 50:59um personally, like ethically, you know,
- 51:02the wrong thing to do, I think it's, you
- 51:03know, in in the spirit of sound systems
- 51:06is like people want to see cool looking
- 51:07speakers.
- 51:09As far as the actual psychoacoustics and
- 51:12what, you know, how our brain interprets
- 51:13what we're hearing,
- 51:16my level of kind of research into that's
- 51:20pretty light. I mean, I've read Floyd
- 51:22Toole's book.
- 51:23I've read a few others and it's a topic
- 51:26I'm very careful around to step around
- 51:29because getting into it can be
- 51:32a very touchy subject.
- 51:34For that reason, I normally kind of
- 51:35focus on
- 51:37more the objective parts of a design is
- 51:39like
- 51:40there are certain things that you can
- 51:41look at as you're developing a design.
- 51:43Like it's better
- 51:45often to have a smoother directivity.
- 51:47It's better to get more sensitivity.
- 51:48It's better to have higher output with
- 51:49lower distortion. And those are very
- 51:51easy to kind of assign objective values
- 51:53to as you design.
- 51:55Optimizing for it sounds good is of
- 51:58course like maybe the ultimate goal if
- 52:00we could say,
- 52:01but doing that in practice is very very
- 52:03very difficult as the research is
- 52:07on one hand very sparse, but also just
- 52:09there's a lot of nuance involved in it.
- 52:12But yeah, like
- 52:14yeah, I would say that's where where my
- 52:15stance is on it.
- 52:18>> I appreciate it. Thank you very much.
- 52:20>> I think that's very true. We we do a lot
- 52:22of psychoacoustics research here on kind
- 52:23of multimodal perception sort of audio
- 52:26visual stuff. I don't think anyone's
- 52:27done sound systems, so maybe that's an
- 52:29opening for
- 52:31an MSC project or PhD or
- 52:34Cool. Or just some Or just some some
- 52:36nice community research.
- 52:38>> Hey John, how's it going? Yeah, thank
- 52:39you for the presentation. Yeah, very
- 52:41cool stuff. So yeah, I just had a quick
- 52:44question. Yeah, I've been following your
- 52:45Instagram and the development of the Sol
- 52:48Mod
- 52:49and I noticed that you posted something.
- 52:53It was like the throat region of the
- 52:54mid-range and you kind of outputted this
- 52:57very organic kind of [snorts] ear canal
- 53:00type structure.
- 53:01So with my current workflow, I kind of
- 53:03have my own standalone wave guide
- 53:05builder that uses either a GA or
- 53:08Bayesian optimization to output the
- 53:10designs, but it's bounded by obviously
- 53:12parameters.
- 53:14Um in the case of that ear canal style
- 53:17um geometry, are you using like a
- 53:19topology style iterative design to kind
- 53:23of form that unique shape or is that
- 53:24still bounded by
- 53:26parameters and formulas?
- 53:28>> Um no, I've had not great luck with
- 53:31topology acoustic topology optimization
- 53:33just yet. I've had a few different
- 53:34experiments where it's kind of ended in
- 53:36like
- 53:37not controlling the right things I
- 53:38wanted. Um it's very hard to get
- 53:40topology optimization to work in a
- 53:41throat. It's not impossible. I think I
- 53:43think it's probably going to happen very
- 53:44soon, but um for that model it's more of
- 53:47a parametric design. So um the way that
- 53:49was built was just a series of like
- 53:52lofted geometry and then those lofts
- 53:55were defined by these um these
- 53:58polynomial lines um that kind of
- 54:00followed that contour. So you can
- 54:02basically give the optimizer like the
- 54:04ability to to kind of drag those those
- 54:06handles um which gives you a decent
- 54:08degree of freedom in terms of like uh
- 54:10the shapes that you're allowed um
- 54:12without like bogging down on hundreds of
- 54:14different um control variables.
- 54:17>> Oh I see. So you just had
- 54:19uh various control points along that
- 54:21pol- okay. I see.
- 54:23>> Yeah, so that way I could get kind of
- 54:24smooth geometry too, which was
- 54:25important. Um the problem that I keep
- 54:27running into with topology optimization
- 54:29is it wants to generate very
- 54:31um abrupt geometry and kind of um jagged
- 54:36uh which isn't great for this kind of
- 54:38stuff. Um there are ways around it, but
- 54:39again it's
- 54:40>> Yeah.
- 54:41>> it gets a little bit complicated.
- 54:42>> Okay.
- 54:43Yeah, I just saw that look very organic,
- 54:45unique, so just had to ask. So thank
- 54:48you. Mhm.
- 54:48>> [clears throat]
- 54:50>> Yeah, I think I think most of the
- 54:51systems I've seen with topology
- 54:52optimization have been based on spline
- 54:54points or formulae of some type. Yes,
- 54:56you got reduced parameter space.
- 54:58Um there was two very similar things
- 54:59actually. Sorry, there's one in Q and A.
- 55:01Apologies, I'd set it up when they'd not
- 55:02been looking at it.
- 55:04It asks if the exterior solver is pure
- 55:06purely BAM while there's no PML? Uh
- 55:08yeah, so so in boundary element method
- 55:10you don't need a PML. It's just if you
- 55:12don't put an outer boundary and it's
- 55:13like the air goes on forever. So I can I
- 55:15can answer that one quickly. That's
- 55:16that's my that's my area. And then
- 55:18asks
- 55:20how are the solve times so fast using
- 55:22COMSOL? It takes a few hours to do BEM
- 55:24simulation 20K, which I can test too as
- 55:26well.
- 55:27>> Oh man, that's a that's fun. Um
- 55:30this uh with this solver what I wanted
- 55:32to do was kind of build it from the
- 55:33ground up for optimized for G
About this transcript
This page contains the full transcript of John White: Accelerating Iterative Loudspeaker Design with Boundary Lab by Salford Acoustics, generated from the public captions YouTube serves with the video. The transcript has 9,853 words across 1,571 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.