@@ -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><sectionclass="tool-wrapper"><divid="controlls-container"><divclass="graph-controls"><divclass="music-wrapper"><divid="graph-listen"><p>Listen to:</p><ul><li><labelfor="vinRadioButton"><inputid="vinRadioButton"type="radio"checked="yes"name="listenToWhat"/>v<sub>IN</sub></label></li><li><labelfor="voutRadioButton"><inputid="voutRadioButton"type="radio"name="listenToWhat"/>v<sub>OUT</sub></label></li><li><labelfor="vrRadioButton"><inputid="vrRadioButton"type="radio"name="listenToWhat"/>v<sub>R</sub></label></li></ul></div><inputid="playButton"type="button"value="Play"/></div><divclass="inputs-wrapper"><p>Graph:</p><ul><li><labelfor="vinCheckbox"><inputid="vinCheckbox"type="checkbox"checked="yes"/>v<sub>IN</sub></label></li><li><labelfor="voutCheckbox"><inputid="voutCheckbox"type="checkbox"checked="yes"/>v<sub>OUT</sub></label></li><li><labelfor="vrCheckbox"><inputid="vrCheckbox"type="checkbox"/>v<sub>R</sub></label></li></ul></div></div><divclass="schematic-sliders"><divclass="top-sliders"><p>v<sub>IN</sub>:</p><selectid="musicTypeSelect"size="1"><optionvalue="0">Zero Input</option><optionvalue="1">Unit Impulse</option><optionvalue="2">Unit Step</option><optionselected="selected"value="3">Sine Wave</option><optionvalue="4">Square Wave</option><optionvalue="5">Classical Music</option><optionvalue="6">Folk Music</option><optionvalue="7">Jazz Music</option><optionvalue="8">Reggae Music</option></select><divclass="slider-label"id="vin"/><divclass="slider"id="vinSlider"/><divclass="slider-label"id="freq"/><divclass="slider"id="freqSlider"/></div><divclass="slider-label"id="vs"/><divclass="slider"id="vsSlider"/><divclass="slider-label"id="vbias"/><divclass="slider"id="vbiasSlider"/><divclass="slider-label"id="r"/><divclass="slider"id="rSlider"/><divclass="slider-label"id="k"/><divclass="slider"id="kSlider"/><divclass="slider-label"id="vt"/><divclass="slider"id="vtSlider"/><divclass="slider-label"id="vmax"/><divclass="slider"id="vmaxSlider"/></div></div><divid="graph-container"><canvasid="graph"width="500"height="500">Your browser must support the Canvas element and have JavaScript enabled to view this tool.</canvas><canvasid="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}\).
<canvasid="graph"width="500"height="500">Your browser must support the Canvas element and have JavaScript enabled to view this tool.</canvas>
<canvasid="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