This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
university:courses:electronics:electronics-lab-speaker [05 Sep 2019 14:15] – Scopy snapshots for voltage and freq response Pop Andreea | university:courses:electronics:electronics-lab-speaker [05 Apr 2023 18:43] (current) – [Background:] Doug Mercer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Activity: Measuring a Loudspeaker Impedance Profile ====== | + | ====== Activity: Measuring a Loudspeaker Impedance Profile |
===== Objective: ===== | ===== Objective: ===== | ||
Line 16: | Line 16: | ||
Knowing the resonate frequency and the minimum and maximum impedances are important when designing cross over filter networks for multiple driver speakers and the physical enclosure the speakers are mounted in. | Knowing the resonate frequency and the minimum and maximum impedances are important when designing cross over filter networks for multiple driver speakers and the physical enclosure the speakers are mounted in. | ||
+ | |||
+ | Dynamic loudspeakers are abysmally inefficient electro-mechanical conversion devices, as [[wp> | ||
==== Loudspeaker Impedance Model ==== | ==== Loudspeaker Impedance Model ==== | ||
Line 21: | Line 23: | ||
To help understand the measurements we are about to make, a simplified electrical model of a loudspeaker is shown in figure 1. | To help understand the measurements we are about to make, a simplified electrical model of a loudspeaker is shown in figure 1. | ||
- | {{ : | + | <WRAP centeralign> |
<WRAP centeralign> | <WRAP centeralign> | ||
Line 33: | Line 35: | ||
• F< | • F< | ||
- | • R represents the mechanical resistance of a driver' | + | • R represents the mechanical resistance of a driver' |
===== Materials: ===== | ===== Materials: ===== | ||
Line 44: | Line 47: | ||
====Hardware Setup==== | ====Hardware Setup==== | ||
- | First build the circuit shown in Figure | + | Build the circuit shown in figure |
+ | |||
+ | {{ : | ||
+ | <WRAP centeralign> | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
+ | \\ | ||
====Procedure==== | ====Procedure==== | ||
In Scopy, start the Signal generator and generate a sine waveform with 8V peak-to-peak amplitude and 100 Hz frequency. | In Scopy, start the Signal generator and generate a sine waveform with 8V peak-to-peak amplitude and 100 Hz frequency. | ||
- | Using the Voltmeter tool we can calculate the speaker impedance Z at a single frequency by dividing the RMS voltage across the speaker (channel 1 RMS voltage) by the RMS current through the speaker, (channel 2 RMS current). | + | Start the Voltmeter and set both channels to AC (20Hz-800Hz). |
Try setting the signal generator to a few different frequencies and see how the voltage across the speaker and the calculated Z changes. | Try setting the signal generator to a few different frequencies and see how the voltage across the speaker and the calculated Z changes. | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
- | You can plot the calculated impedance Z vs Frequency. The frequency of the signal generator is set in steps of 100 Hz and for each frequency you compute Z. An example plot is shown in Figure | + | You can plot the calculated impedance Z vs Frequency. The frequency of the signal generator is set in steps of 100 Hz and for each frequency you compute Z. The speaker impedance is small, approximately equal to the DC resistance in the linear region but is much higher at the resonance frequency F< |
+ | \\ | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
- | + | ||
- | The speaker impedance is small, approximately equal to the DC resistance in the linear region but is much higher at the resonance frequency F< | + | |
- | =====Frequency response of the loudspeaker===== | + | |
- | In order to plot the frequency response make the connections as shown in Figure 5. | + | |
+ | =====Frequency Response===== | ||
+ | ====Hardware Setup==== | ||
+ | In order to plot the frequency response make the connections as shown in Figure 6. | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
+ | \\ | ||
====Procedure==== | ====Procedure==== | ||
In the Network analyzer tool you will do a logarithmic sweep. | In the Network analyzer tool you will do a logarithmic sweep. | ||
Line 78: | Line 85: | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
- | ===== Directions :===== | ||
- | |||
- | Build the circuit shown in figure 2, preferably using your solder-less breadboard. The loudspeaker can be in an enclosure or not. | ||
- | |||
- | {{ : | ||
- | |||
- | <WRAP centeralign> | ||
- | |||
- | Connect waveform generator 1, and the two scope channels to the loudspeaker circuit as shown. | ||
- | |||
- | =====Procedure: | ||
- | |||
- | Start the Scopy software. Select the Network Analyzer instrument. Set the start frequency to 10Hz and the end frequency to 1KHz. Set the amplitude peak-to-peak to 8 Volts and the offset to 0V. Set the max gain to 1X. Under the Settings drop down tab open the options window and set the settle time to 40 and the FFT window to cosine. | ||
- | |||
- | A few words on why these setting should be adjusted. As the frequency is swept the AWG output is stopped briefly between frequency steps and the signal driving the speaker will be turned off. The speaker is a mechanical system with resonance and this step change in the driving signal will cause it to ring at the resonate frequency. In order to make an accurate measurement at the driving frequency we must wait for the ringing to die out. The amount of time needed will depend on the particular speaker being measured. The 40 mSec suggested above was the correct value for the speaker used in this example. Your results may vary depending on your particular speaker. Switching to the cosine window function gives a more accurate amplitude result. | ||
- | |||
- | Hit the Run button. You should see the frequency response of the voltage across the loudspeaker and the current through the speaker (by measuring the voltage across the 100 ohm resistor). The data on the screen is plotted in dB so the vertical scale is not in volts. An example plot is shown in figure 3. Your speaker will probably look much different than this. | ||
- | |||
- | <WRAP centeralign> | ||
- | |||
- | You can now Export the data, as gain not in dB to make the math easier, to a comma separated values file and load it into a spreadsheet program such as Excel. | ||
- | |||
- | By saving the data as gain the signal generator amplitude (in volts) falls out of the equation. | ||
- | |||
- | {{ : | ||
- | |||
- | Where:\\ | ||
- | G< | ||
- | G< | ||
- | A is the AWG amplitude\\ | ||
- | |||
- | You can calculate the magnitude of the speaker impedance is by dividing the channel 1 voltage gain by the channel 2 voltage gain all multiplied by the 100Ω resistor. An example plot is shown in figure 4. Your speaker will probably look much different than this. | ||
- | |||
- | {{ : | ||
- | |||
- | <WRAP centeralign> | ||
- | |||
- | The speaker impedance is very close to 8Ω in the linear region but is much higher at the resonance frequency F< | ||
===== Questions: ===== | ===== Questions: ===== | ||
Line 128: | Line 97: | ||
==== For further reading: ==== | ==== For further reading: ==== | ||
- | [[http:// | + | [[adi>static/ |
http:// | http:// | ||
- | **Return to Lab Activity [[university: | + | <WRAP round download> |
+ | **Lab Resources: | ||
+ | * Fritzing files: [[downgit> | ||
+ | * LTSpice files: [[downgit> | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | **Return to Lab Activity [[university: | ||