Professional Documents
Culture Documents
Student Guide
1.2 Equipment
Loudspeaker [EmersonAlpha8Aspeaker]
Speaker Box
HP/Agilent 54602B digital oscilloscope [OPTIONAL]
HP/Agilent 33120A function generator
HP/Agilent 34401A digital multimeter
Techron 7520 power supply amplifier
(2X) BNC cable 48 (4) length
(1X) BNC Splitter (Tee)
(1X) Adapter: Double-banana socket to BNC jack
(2X) Adapter: Double-banana plug to BNC plug
(2X) Patch cable with banana plug at both ends, RED, 48
(1X) Patch cable with banana plug at both ends, BLK, 24
(1X) Cable: Alligator Clip to banana plug at both ends, RED, 48
(1X) Cable: Alligator Clip to banana plug at both ends, BLK, 48
(1X) RS-232 Serial Cable (9-pin Female @ both ends)
LabVIEW program Frequency Response Main.vi.
1-2
Ch.1: Loudspeakers: Student Guide / Speaker Connection
The speaker diaphragm is a paperlike membrane which can easily be punctured and/or torn. When moving or
positioning the speaker, only touch the metal frame of the speaker avoid contact with the cone diagphragm.
1-3
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
1-4
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
1.5.1.1.1 Signals
All enabled analog signals are plotted for the selected time duration in the upper
graph. The visibility of each signal may be toggled using the checkbox located in the
plot legend.
1-5
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
Note: Phase Plot attempts to remove discontinuities from wrap around angle by
using history. However, this algorithm needs further work.
1-6
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
Speaker/MicrophoneSystem
2/1/2013
14:46
SampleRate(Hz)=25000.00
EffectiveSampleRate(Hz)=25000.00
SpeakerVoltage SpeakerVoltage
/Microphone1 /Microphone2
Bode Bode Bode Bode
Frequency Current Magnitude Phase Magnitude Phase
(Hz) (A) (dB) (deg) (dB) (deg)
99.9995 0.0799 1.6407 19.5292 8.2005 20.5351
99.9994 0.0799 1.6397 19.5257 8.2018 20.5106
99.9994 0.0799 1.6374 19.6155 8.2006 20.4918
149.9992 0.0357 1.9333 292.6505 8.7261 294.4607
149.9991 0.0357 1.9274 67.5491 8.7257 65.5596
149.9992 0.0357 1.9187 67.513 8.7264 65.4995
199.9989 0.0479 0.1852 119.241 7.143 117.642
199.9989 0.0479 0.1799 241.2254 7.1402 242.536
199.9989 0.0479 0.1774 118.752 7.1392 117.468
249.9986 0.0798 4.5678 156.012 2.5153 155.428
Note: Ignore the 2nd column labeled Current (A). This column lists the RMS
current measured from the digital multimeters, which is not being used in
this embodiment of the lab.
1-7
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
1.5.1.2 Snapshot
This panel enables the acquisition of raw data for external analysis. Typically, an
oscilloscope is utilized to determine values for several of the system variables. This
panel provides another tool which collects the raw data in digital format at a specified
sampling rate and duration.
The function generator may be utilized in the Snapshot mode but must be enabled by
toggling the rocker switch on and setting the desired frequency. For tests which do
not utilize the function generator, the function generator must be off or an error will
occur.
Note: At high sampling rates, the memory may max-out before the desired test
duration is attained. For longer duration tests (20-30 seconds), use a
slower sampling rate.
1-8
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
1.5.2 Configuration:
From the tabs located along the upper-left region of the front panel, click on the
Configure tab to view or edit the configuration settings. The default settings/channels
are listed below and should be correct. The address of the connected DAQ chassis
will automatically be detected and corrected. Both programs have a similar
configuration; only a few minor differences
General Parameters
Title Speaker/MicrophoneSys
SampleRate(Hz) 5000
Table 1: General Parameters
Function/Waveform Generator
Enable TRUE
VISAChannel COM1(maychange)
Amplitude(V) 0.05
Table 3: Function/Waveform configuration
1-9
Ch.1: Loudspeakers: Student Guide / LabVIEW Codes
NI 9229 Parameters
SampleMode(Acoustics) ContinuousSamples
SampleMode(Freq.Response) FiniteSamples
Enable TRUE
Name SpeakerVoltage
Channel cDAQ1Mod1/ai0
Min(EU) 10
Max(EU) 10
Gain(EU/V) 1
Offset(EU) 0
EngineeringUnits(EU) Vrms
FormatString %.4e
Enable TRUE
Name SpeakerCurrent
Channel cDAQ1Mod1/ai1
Min(EU) 10
Max(EU) 10
Gain(EU/V) 10
Offset(EU) 0
EngineeringUnits(EU) Arms
FormatString %.4e
Enable FALSE
Name Microphone1
Channel cDAQ1Mod1/ai2
Min(EU) 100
Max(EU) 100
Gain(EU/V) 4.28
Offset(EU) 0
EngineeringUnits(EU) Pa
FormatString %.4e
Enable FALSE
Name Microphone2
Channel cDAQ1Mod1/ai3
Min(EU) 100
Max(EU) 100
Gain(EU/V) 4.28
Offset(EU) 0
EngineeringUnits(EU) Pa
FormatString %.4e
Table 4: Analog Input (NI-9229) Channel Settings
1-10
Ch.1: Loudspeakers: Student Guide / Procedure
1.6 Procedure
1.6.1 Connect/Swap Speaker
Step 1: Turn Techron power amplifier OFF
Step 2: Gently disconnect both alligator clips from existing speaker terminals.
Step 3: Remove speaker from plastic bin contact only the metal frame of the
speaker.
Step 2: Verify the relationship to plot is Impedance with current as the speaker
current as the input and speaker voltage as the output.
1-11
Ch.1: Loudspeakers: Student Guide / Procedure
Step 4: Click on the Take Data button to initiate the frequency sweep.
The program will incrementally sequence through the predefine frequency range and
construct the Bode plot. Between frequencies, the program pauses for the preset
delay to allow the system to attain steady state before acquiring data. The duration
for the test varies but will likely take several minutes.
1-12
Ch.1: Loudspeakers: Student Guide / LabView Tips
1-13