ECE354 Laboratory - Spring 2014
The schedule for the lab is ...
Labs are bi-weekly (every second week)
PRA 01 Fri 3-6pm SF2201 (starts Jan 10)
PRA 02 Fri 3-6pm SF2201 (starts Jan 17)
Section | Day | Time | Lab 0 | Lab 1 | Lab 2 | Lab 3 | Lab 4 | Lab 5 |
PRA01 | Fri | 3-6pm | Jan 10 | Jan 24 | Feb 7 | Feb 28 | Mar 14 | Mar 28 |
PRA02 | Fri | 3-6pm | Jan 17 | Jan 31 | Feb 14 | Mar 7 | Mar 21 | Apr 4 |
First read the intro information: intro.pdf
Note that EACH student must hand in a separate preparation (so that each student
understands the lab). (the intro states that each group hands in a lab but that is incorrect).
The labs are here: lab0.pdf, lab1.pdf, lab2.pdf, lab3.pdf, lab4.pdf, lab5.pdf
Some datasheets are here: ALD1101.pdf, ALD1102.pdf, IRF510.pdf, IRF9510.pdf
For Lab 1 prep, solution for analysis portion is here: lab1_prep.pdf and lab1_prep_notes.pdf
For Lab 2 prep, note that transistor parameters are given in ECE331_354.lib model file (including VA and unCox(W/L))
For Lab 4 prep, solution for analysis portion is here: lab4_prep.pdf
For Lab 5 prep, solution for analysis portion is here: lab5_prep.pdf
1. Download LTspice IV
Windows version of LTspice: LTspiceIV.exe
Mac os x version of LTspice: LTspiceIV.dmg
2. Download and open the following simple circuit file: rc_highpass.asc
Click on the little running fellow to run the simulation.
3. Try changing the simulation time, frequency, resistor and capacitor values, etc.
4. Download the following symbol and model files: ALD1101.asy,ALD1102.asy,IRF510.asy,IRF9510.asy, ECE331_354.lib
Put the files into a directory called "circuit_sim" (or whatever you choose to name it).3. Download and open sample.asc.
Right click on the .lib statement in the schematic to edit the location of the
SPICE model library to point at the "circuit_sim" directory you created.
Try running a simulation and plot an Id versus Vds
curve of the transistor in the schematic to make sure that both the symbol
and model libraries have been properly installed.
5. Right click on the .dc statement to change the voltage source to sweep to
VG. Run a simulation again and try plotting an Id versus Vgs curve.
Quick tips on LTspice:
- Right click (not double click) on an item to edit its property.
- You can choose the type of simulation (transcient, ac analysis, dc sweep, etc) under "simulate" - "edit simulation cmd"
- After a simulation, click on a net or device terminal of interest to plot the
voltage or current, respectively.
- A single voltage source can be used as different kinds voltage sources by
changing its property.
- Try to label important nets such as input and output
- You can view the spice netlist under "view" - "spice netlist".
Useful shortcuts:
F3: draw a line
F2: add a component
F7: move
F8: drag
F9: undo
F4: label net
Ctrl+E: flip sideways
Ctrl+R: rotate
ESC: cancel
Ctrl+C: copy
Ctrl+X: cut
There is a LTspice tutorial website located at http://denethor.wlu.ca/ltspice/ and http://ltwiki.org/index.php5?title=SPICE_and_LTspice_Courseware_and_Tutorials
and also some LTspice tutorials available here: scad3.pdf and LTSpiceShortGuide.pdf
(it used to be called switcherCAD)
Finally, a generic spice manual can be found at http://www.eecg.utoronto.ca/~johns/spice/index.html