Using REW and Design of Experiments to optimize performance for a 2-channel stereo system

scharfsj

New Member
Thread Starter
Joined
Aug 24, 2019
Messages
3
Hi Gang,
I'm back to using REW....and new to the newest versions. I haven't used REW since 2011, and I see John has added a lot of great new features since I last used REW back in 2011, which is way cool.

Back in 2011, I used REW to help integrate my REL R-305 sub-bass unit into my 2-channel stereo system which was comprised of Dynaudio Contour S3.4s, a fairly large floorstander loudspeaker.

To do this, I used REW in conjunction a very powerful statistical technique called Design of Experiments, aka DOE (John, you may have heard of DOEs)

Anyhoo, I had three "control factors" that impacted the in-room frequency response: two "continuous" factors from the REL: 1) Sub Gain and 2) Sub Crossover (XO), a third "discrete factor", whether or not the foam bung was in the rear bass port or not (the two levels for this was IN or OUT)

The power of the DOE is that it would allow me to use REW to measure the in-room response at the different factor settings and determine which setting on the sub and speakers would provide the best in-room response. The DOE design was a 3-factor, 2-level full factorial design (we usually we do DOEs at two levels, a Low level and a High level for each factor); each combination of factors is tested at all levels to create what is referred to as a "fully orthogonal" design.

Here are results of the DOE analyzed in JMP11 for just the 20 Hz response. In actuality, I did a more comprehensive DOE at a number of different requencies to correct for room peak and null modes. The DOE is telling me to set the Sub Gain to 12 and the XO point to 0 to optimize the 20Hz response (as shown in the leverage plots).

24443


You can also see from the Interaction Profiles plot there is an interaction between Sub Gain and Sub XO. With a p-value of 0.051, this interaction is just borderline statistically significant (using an alpha of 0.05 for the ANOVA that underpins DOE).

Just as an example, here is a pic using 1/3 smoothing of my right Dynaudio speaker w/o the REL sub and before and after doing the DOE to optimize the sub settings. Blue is the right speaker before optimization of the REL sub settings from the DOE and GREEN is the result after doing my DOE (reference SPL for the REW measurement was 72 dB). You can see I was able to raise both the bass response and correct & smooth out some room modes by using the DOE to tell me where to set the Sub Gain and XO values, etc.

24444


Now, I'm back with a new pair of Harbeth 30.2s and will be doing another DOE to optimize the 30.2s with the REL R-305 using the latest and great version of REW 5.0 Buld 22....so stay tuned!

Cheers, gang.
 

Attachments

  • left speaker, sub vs no sub.jpg
    left speaker, sub vs no sub.jpg
    44 KB · Views: 2
Last edited:
  • Like
Reactions: bmx

scharfsj

New Member
Thread Starter
Joined
Aug 24, 2019
Messages
3
As starting point before taking some base measurements in preparation for my new DOE for the 'Beths, today I did a soundcard calibration for the Soundcard in my 2015 Macbook Pro. My setup uses a NIST-traceable Dayton calibrated mic (with the mic calibration files for 0°, 45° and 90° provided) and an M-Audio MobilePre mic USB mic preamp.

I ran the Soundcard calibration routine and obtained this result. Welcome the gang's input on how this looks, as I've never done this before.
24451
 

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,289
Soundcard cal looks good. The DOE approach is interesting though I'm a little cautious of applying it to systems that have pretty complex optimisation surfaces with lots of local minima and maxima.
 

scharfsj

New Member
Thread Starter
Joined
Aug 24, 2019
Messages
3
Soundcard cal looks good. The DOE approach is interesting though I'm a little cautious of applying it to systems that have pretty complex optimisation surfaces with lots of local minima and maxima.
Thanks, John.

I used the transfer function from the DOE to fix what I could with the controls from the subwoofer, Gain and Crossover as well as the discrete variable, either the foam bung in the reflex port or not. I was able to "tune" peaks or nulls at 5 frequencies in the room modes, up to about 200 Hz.

I've used DOE on everything from molecular biology experiments (my profession before I retired) to DNA sample prep chemistries to setting up turmtable cartridges and all I can say is...it works. I don't know of any other method that lets one examine continuous data functional responses with multiple factors simultaneously and be able to determine which factors drive the response, by how much, whether that factor has statistical significance in driving the response as well as fully characterizing any statistically significant interactions between the factors. One simply can't do this with a One Factor At a Time approach (aka OFAT).

Cheers and thanks for the reply.
 
  • Like
Reactions: bmx
Top Bottom