Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
university:courses:electronics:electronics-lab-speaker [23 Aug 2019 14:07] Antoniu Miclausuniversity:courses:electronics:electronics-lab-speaker [06 Sep 2019 14:31] – replaced Z plot Pop Andreea
Line 41: Line 41:
 1 - Loudspeaker, it is best if the speaker is one with a cone diameter larger than 4 inches such that is has a relatively low resonant frequency. 1 - Loudspeaker, it is best if the speaker is one with a cone diameter larger than 4 inches such that is has a relatively low resonant frequency.
  
-===== Directions :=====+=====RMS Voltage measurement===== 
 +====Hardware Setup====
  
 Build the circuit shown in figure 2, preferably using your solder-less breadboard. The loudspeaker can be in an enclosure or not. Build the circuit shown in figure 2, preferably using your solder-less breadboard. The loudspeaker can be in an enclosure or not.
Line 47: Line 48:
 {{ :university:courses:electronics:alz_f2.png?600 |}} {{ :university:courses:electronics:alz_f2.png?600 |}}
  
-<WRAP centeralign> Figure 2 Speaker measurement set up </WRAP>+<WRAP centeralign> Figure 2Speaker measurement set up </WRAP>
  
-Connect waveform generator 1, and the two scope channels to the loudspeaker circuit as shown+{{ :university:courses:electronics:loudspeaker_bb_voltage_meas.png?900 |}} 
 +<WRAP centeralign>Figure 3: Speaker measurement setup for V<sub>L</sub> and I<sub>L</sub></WRAP> 
 +\\ 
 +====Procedure====
  
-=====Procedure:=====+In Scopy, start the Signal generator and generate a sine waveform with 8V peak-to-peak amplitude and 100 Hz frequency.
  
-Start the Scopy softwareSelect the Network Analyzer instrument. Set the start frequency to 10Hz and the end frequency to 1KHzSet the amplitude peak-to-peak to 8 Volts and the offset to 0VSet 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+Start the Voltmeter and set both channels to AC (20Hz-800Hz)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) The RMS current can be computed as the RMS voltage on channel 2 divided to the parallel equivalent resistance of R1 and R2. 
 +Try setting the signal generator to a few different frequencies and see how the voltage across the speaker and the calculated Z changes.
  
-A few words on why these setting should be adjustedAs 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.+{{ :university:courses:electronics:voltmeter_8vpp_100ohm.png?900 |}} 
 +<WRAP centeralign>Figure 4: RMS voltage across the loudspeaker</WRAP>
  
-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.+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<sub>S</sub> An example plot is shown in Figure 5. Your speaker will probably look different than this. 
 +\\
  
-<WRAP centeralign> Figure 3 Example sweep </WRAP>+{{ :university:courses:electronics:plot_of_calculated_impedance.png?600 |}}
  
-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.+<WRAP centeralign>Figure 5: Example Plot of Calculated Impedance</WRAP>
  
-By saving the data as gain the signal generator amplitude (in volts) falls out of the equation.+=====Frequency Response===== 
 +====Hardware Setup==== 
 +In order to plot the frequency response make the connections as shown in Figure 6. 
 +{{ :university:courses:electronics:loudspeaker_bb_freq_resp.png?900 |}} 
 +<WRAP centeralign>Figure 6: Breadboard Connections for plotting the frequency response</WRAP> 
 +\\ 
 +====Procedure==== 
 +In the Network analyzer tool you will do a logarithmic sweep.  Set the start frequency to 100 Hz and the stop frequency to 1 kHz. Set the phase to vary from -30 to 30 degrees and the magnitude from 0 to 10 dB.
  
-{{ :university:courses:electronics:alz_e1.png?300 |}} 
  
-Where:\\ +{{ :university:courses:electronics:freq-resp_100ohm.png?900 |}} 
-G<sub>1</sub> is the channel 1 gain ( voltage across speaker )\\ + 
-G<sub>2</subis the channel 2 gain ( voltage across 100Ω )\\ +<WRAP centeralign>Figure 7: Frequency sweep of the loudspeaker circuit</WRAP>
-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. 
  
-{{ :university:courses:electronics:alz_f4.png?550 |}} 
  
-<WRAP centeralign> Figure 4 Calculated example impedance plot </WRAP> 
  
-The speaker impedance is very close to 8Ω in the linear region but is much higher at the resonance frequency F<sub>S</sub>. 
  
 ===== Questions: ===== ===== Questions: =====
Line 90: Line 98:
 http://en.wikipedia.org/wiki/Electrical_characteristics_of_dynamic_loudspeakers http://en.wikipedia.org/wiki/Electrical_characteristics_of_dynamic_loudspeakers
  
-**Return to Lab Activity [[university:courses:electronics:labs|Table of Contents]].**+<WRAP round download> 
 +**Lab Resources:** 
 +  * Fritzing files:  
 +  * LTSpice files:  
 +</WRAP> 
 + 
 + 
 + 
 +**Return to Lab Activity [[university:courses:electronics:labs|Table of Contents]]**
  
  
university/courses/electronics/electronics-lab-speaker.txt · Last modified: 05 Apr 2023 18:43 by Doug Mercer