|
|
|
Now close this dialog and go to the menu item Options | Preferences... and click on the Measurements tab. You should get a dialog that looks like this:
Here is an explanation of each control and how you should set it for now:
| Control | Description | Set To |
|---|---|---|
| Sample Rate | This slider sets the sample rate your soundcard will use for input and output. | Set it to the maximum your soundcard will support as per the documentation that came with it, and not the max as reported by the wizard. |
| Sample Size | This slider sets the length of the MLS signal and thus the duration. Larger numbers give you longer measurement periods, but the with improved frequency domain resolution. For calculation purposes, you can divide the sample size by the sample rate to get the sample duration in seconds. A 32.768k sample at 44.1kHz sample rate yields 32.768 / 44.1 = 0.743 seconds of sample time. Frequency domain resolution is the inverse of this number, or 1 / 0.743 sec = 1.346Hz, which is reported in the Precision Results section below this slider. | I usually use the 32,768 or 65,536 setting. |
| Volume | This entry area automatically sets the Wave slider on Window's Volume Control to whatever you enter here. This sets the output level. | Set this the same as whatever produced a 1W sine wave output when you determined the basic output level. |
| Reverse Channels | This checkbox will reverse the left and right input channels for impedance testing if checked. | Leave this unchecked for now, you will know soon enough if you need to check it. |
| Use Preemphasis | This checkbox will apply a low-pass filter to the MLS output signal, and will apply a similar high-boost filter to the input signal. Using preemphasis lowers the energy in the highest frequency ranges, giving the lower frequency ranges more relative power. | Leave this unchecked for now. |
| Repeat Count | This entry area allows you to repeat the MLS signal as many times as you like. The sample time will increase by whatever you set this to as a multiplicative factor. For example, if your sample time is 0.743 seconds and you set the repeat count to 5, the sample time will be 0.743 x 5 = 3.715 seconds. Be aware that lengthening the sample size this way will not increase the frequency domain resolution. But repeating the MLS multiple times can increase the SNR, and thus the accuracy, of your measurements.
Using repeated MLS signals with acoustic measuremnts like frequency response requires some additional consideration of the MLS length. Echos from a given section of the sequence should have time to die out before that section is repeated. We'll cover this in more depth later. |
Set this to '1' for now if it isn't already set to that. |
Click on the "Test" button in the "Channel Difference" section, then the "Next" button, then the "Next" button again, and finally the "Finish" button when it is not grayed out. This brings you back to the calibration dialog. Click on the "OK" button to close it.
Now inspect the VU meter in Speaker Workshop:
These are the readings I get after performing the channel difference calibration. As you can see, the min and max values are less than the clipping levels for my soundcard input (27.5K) which we measured earlier. So the inputs aren't clipping, which is a good thing, and we can move on to inspect the calibration data itself. Open the "System" folder on the design tree, and double click on the icon named "Measurement.Calib". A window named "Measurement.Calib (dataset)" should open.
To make this graph look neater, right-click in the chart area and select Chart Properties... from the pop-up dialog. Click on the X Axis tab and in the scale section set the Maximum to "20k" and the Minimum to "10". Next click on the Y Axis tab and put the numbers "12" and "-12" in the Maximum and Minimum entry areas, respectively. Set the Major gridlines distance to "3", and make sure all Auto Minmax boxes are unchecked. Finally, Click the click on the Y2 Axis tab and put the numbers "180" and "-180" in the Maximum and Minimum entry areas, respectively. Set the Major gridlines distance to "45", and make sure all Auto Minmax boxes are unchecked. Click the OK button. You should something like the figure above. Right-click again in the chart area and select Make Chart Default. This will force all future frequency domain graphs to use this format.
If the left and right inputs are perfectly matched, you should ideally get two straight lines at 0 dB and 0 degrees for the magnitude and phase response, respectively. How does my card look? The dark magnitude line on the graph above is almost ideal, with very little deviation from the 0 dB level above 20 Hz. This indicates no significant level differences between the left and right channels. So far so good.
The phase data on the graph above, which is the gray upwardly curving line, is another story. The phase error is minimal at the lower frequencies, but increases to around +180 degrees at 1/2 the sample frequency (also known as the Nyquist rate). Phase error like this is revealing evidence that the Ensoniq AudioPCI employs the trick of utilizing a single multiplexed analog to digital (A/D) converter to handle both of its stereo inputs. The single converter is switched quickly between the two inputs, first doing a conversion on the left channel, then on the right, and so on, performing two conversions within a single sample period. Since the conversion for both channels isn't happening simultaneously, the 1/2 sample delay between the left and right channels shows up as an increasing phase error with frequency. Soundcards are designed this way since a single 2x speed converter is usually cheaper than two separate 1x converters. The designer can eliminate almost half of the conversion hardware this way.
Is this 1/2 sample delay between the left and right channels bad? As the graph shows, since the same A/D converter is used for both channels we get identical magnitude response, which is a wonderful thing. And the phase error caused by the 1/2 sample delay can be effectively subtracted from our measurements by performing the channel difference calibration. Look at it this way: when given the choice when comparing two measurements, you always want to use the same equipment to make those measurements in order to minimize systematic measurement error. So I guess I'm actually happy that my soundcard uses the same A/D converter for both channels, even if this introduces some conversion delay between the channels.
If you know the input impedance of your soundcard, enter this here. If you don't know, use the defaults recommended in the SW help. After that, press the upper Test... button and then press the Next > button on the dialog that pops up. Enter the value of your 16 ohm calibration resistor and press the Next> button. Wait until the recording has stopped, then flick SW1 to the down position. Enter the value of your 4 ohm calibration resistor and press the Next > button. Now take a look at the ending dialog:
If you don't get something reasonable for the reference resistor (7 to 9 ohms) and something reasonable for the series resistance (less than 1/2 ohm, positive or negative) then you should check your jig connections and repeat the calibration. Note that you can hit the < Back button a couple of times to get to the beginning of the calibration procedure, and then you won't have to re-enter the resistor values again since SW remembers them for you. When your numbers are good, smash the Finish button then the OK button to close the preferenced dialog.
Go ahead and do these measurements several times and confirm that they are consistent. Next, measure a capacitor and an inductor. Put the jig in IMPMEAS mode (SW1 center, SW2 left, SW3 down) and install a capacitor across BP3 and BP4. Here is what I get when measuring a 1uF cap (which BTW measures 0.963uF with my Fluke meter in capacitance mode):