Commit 46e046a9 by Dave St.Germain

LMS-1907

parent c4cc212d
......@@ -7,7 +7,95 @@ that need to be checked.</p><p>In the lab below, you will find:</p><ul><li><p>A
various types of music) by using the \(v_\mathrm{IN}\)
drop-down menu and the associated sliders. (The parameter \(V_\mathrm{MAX}\)
sets the maximum range on the plots.)</p></li><li><p>The "Play" button which lets you listen to the selected voltage
waveform as sound. Try it out!</p></li></ul><section class="tool-wrapper"><div id="controlls-container"><div class="graph-controls"><div class="music-wrapper"><div id="graph-listen"><p>Listen to:</p><ul><li><label for="vinRadioButton"><input id="vinRadioButton" type="radio" checked="yes" name="listenToWhat"/>v<sub>IN</sub></label></li><li><label for="voutRadioButton"><input id="voutRadioButton" type="radio" name="listenToWhat"/>v<sub>OUT</sub></label></li><li><label for="vrRadioButton"><input id="vrRadioButton" type="radio" name="listenToWhat"/>v<sub>R</sub></label></li></ul></div><input id="playButton" type="button" value="Play"/></div><div class="inputs-wrapper"><p>Graph:</p><ul><li><label for="vinCheckbox"><input id="vinCheckbox" type="checkbox" checked="yes"/>v<sub>IN</sub></label></li><li><label for="voutCheckbox"><input id="voutCheckbox" type="checkbox" checked="yes"/>v<sub>OUT</sub></label></li><li><label for="vrCheckbox"><input id="vrCheckbox" type="checkbox"/>v<sub>R</sub></label></li></ul></div></div><div class="schematic-sliders"><div class="top-sliders"><p>v<sub>IN</sub>:</p><select id="musicTypeSelect" size="1"><option value="0">Zero Input</option><option value="1">Unit Impulse</option><option value="2">Unit Step</option><option selected="selected" value="3">Sine Wave</option><option value="4">Square Wave</option><option value="5">Classical Music</option><option value="6">Folk Music</option><option value="7">Jazz Music</option><option value="8">Reggae Music</option></select><div class="slider-label" id="vin"/><div class="slider" id="vinSlider"/><div class="slider-label" id="freq"/><div class="slider" id="freqSlider"/></div><div class="slider-label" id="vs"/><div class="slider" id="vsSlider"/><div class="slider-label" id="vbias"/><div class="slider" id="vbiasSlider"/><div class="slider-label" id="r"/><div class="slider" id="rSlider"/><div class="slider-label" id="k"/><div class="slider" id="kSlider"/><div class="slider-label" id="vt"/><div class="slider" id="vtSlider"/><div class="slider-label" id="vmax"/><div class="slider" id="vmaxSlider"/></div></div><div id="graph-container"><canvas id="graph" width="500" height="500">Your browser must support the Canvas element and have JavaScript enabled to view this tool.</canvas><canvas id="diag1" width="500" height="500">Your browser must support the Canvas element and have JavaScript enabled to view this tool.</canvas></div></section><br/><h2>Experiment 1: Distorted output</h2><p>Begin by selecting a sine wave input in the drop-down menu for \(v_\mathrm{IN}\).
waveform as sound. Try it out!</p></li></ul>
<section class="tool-wrapper">
<div id="controlls-container">
<div class="graph-controls">
<div class="music-wrapper">
<div id="graph-listen">
<fieldset>
<p>Listen to:</p>
<ul>
<li>
<input id="vinRadioButton" type="radio" checked="yes" name="listenToWhat"/>
<label for="vinRadioButton">v<sub>IN</sub></label>
</li>
<li>
<input id="voutRadioButton" type="radio" name="listenToWhat"/>
<label for="voutRadioButton">v<sub>OUT</sub></label>
</li>
<li>
<input id="vrRadioButton" type="radio" name="listenToWhat"/>
<label for="vrRadioButton">v<sub>R</sub></label>
</li>
</ul>
</fieldset>
</div>
<input id="playButton" type="button" value="Play"/>
</div>
<div class="inputs-wrapper">
<p>Graph:</p>
<ul>
<li>
<input id="vinCheckbox" type="checkbox" checked="yes"/>
<label for="vinCheckbox">v<sub>IN</sub></label>
</li>
<li>
<input id="voutCheckbox" type="checkbox" checked="yes"/>
<label for="voutCheckbox">v<sub>OUT</sub></label>
</li>
<li>
<input id="vrCheckbox" type="checkbox"/>
<label for="vrCheckbox">v<sub>R</sub></label>
</li>
</ul>
</div>
</div>
<div class="schematic-sliders">
<div class="top-sliders">
<fieldset>
<p>v<sub>IN</sub>:</p>
<select aria-label="Wave Type" id="musicTypeSelect" size="1">
<option value="0">Zero Input</option>
<option value="1">Unit Impulse</option>
<option value="2">Unit Step</option>
<option selected="selected" value="3">Sine Wave</option>
<option value="4">Square Wave</option>
<option value="5">Classical Music</option>
<option value="6">Folk Music</option>
<option value="7">Jazz Music</option>
<option value="8">Reggae Music</option>
</select>
<div class="slider-label" id="vin" />
<div aria-labelledby="vin" class="slider" id="vinSlider"/>
<div class="slider-label" id="freq"/>
<div aria-labelledby="freq" class="slider" id="freqSlider"/>
</fieldset>
</div>
<fieldset>
<div class="slider-label" id="vs"/>
<div aria-labelledby="vs" class="slider" id="vsSlider"/>
<div class="slider-label" id="vbias"/>
<div aria-labelledby="vbias" class="slider" id="vbiasSlider"/>
<div class="slider-label" id="r"/>
<div aria-labelledby="r" class="slider" id="rSlider"/>
<div class="slider-label" id="k"/>
<div aria-labelledby="k" class="slider" id="kSlider"/>
<div class="slider-label" id="vt"/>
<div aria-labelledby="vt" class="slider" id="vtSlider"/>
<div class="slider-label" id="vmax"/>
<div aria-labelledby="vmax" class="slider" id="vmaxSlider"/>
</fieldset>
</div>
</div>
<div id="graph-container">
<canvas id="graph" width="500" height="500">Your browser must support the Canvas element and have JavaScript enabled to view this tool.</canvas>
<canvas id="diag1" width="500" height="500">Your browser must support the Canvas element and have JavaScript enabled to view this tool.</canvas>
</div>
</section>
<br/>
<h2>Experiment 1: Distorted output</h2>
<p>Begin by selecting a sine wave input in the drop-down menu for \(v_\mathrm{IN}\).
Then, adjust the sliders to the baseline (default) setting shown below.</p><p>Baseline setting of sliders:</p><ul><li>Peak to peak voltage: \(v_\mathrm{IN}=3~\mathrm{V}\),</li><li>Frequency: \(f = 1000~\mathrm{Hz}\),</li><li>Supply voltage: \(V_\mathrm{S}=1.6~\mathrm{V}\),</li><li>Input bias voltage: \(V_\mathrm{BIAS}=2.5~\mathrm{V}\),</li><li>Pull-up resistor: \(R = 10~\mathrm{k}\Omega\),</li><li>MOSFET parameter: \(K=\frac{1~\mathrm{mA}}{\mathrm{V}^2}\),</li><li>MOSFET threshold voltage: \(V_\mathrm{T} = 1~\mathrm{V}\),</li><li>Vertical plot range: \(V_\mathrm{MAX} = 2~\mathrm{V}\).</li></ul><p>You should observe in the plot that with the baseline settings,
the amplifier produces a distorted sine wave signal for
\(v_{OUT}\). Next, go ahead and select one of the music signals as the input and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment