Академический Документы
Профессиональный Документы
Культура Документы
Lab
Manual
Fall
2015
LabManualfortheIntroductiontoElectricalEngineering
UTEID:
Name:
The University of Texas at Austin
Department of Electrical & Computer Engineering
Table of Contents
1.0Introduction.........................................................................................................................................3
2.0EE302LabSchedule..............................................................................................................................4
3.0Grading.................................................................................................................................................5
4.0EngineeringNotebookGuidelines........................................................................................................5
Lab1:IntroductiontoLabView1&myDAQ..........................................................................................7
Assignment:BuildVItoCalculateAreaofaTriangle.......................................................................10
Lab2:IntroductiontoLabView2.........................................................................................................13
Assignment:BuildaVItoconverttemperature..............................................................................13
Lab3:DigitalMultimeterandVoltageGenerator...............................................................................16
Assignment:BuildaDigitalMultimeter...........................................................................................16
Assignment:Buildingavoltagegenerator.......................................................................................20
Lab4:MultisimSimulationofCircuits.................................................................................................24
Assignment1:GettingorientedtoMultiSim...................................................................................28
Assignment2:Simulatingthesecondcircuit...................................................................................31
Assignment3:SimulatingtheThirdcircuit......................................................................................32
Lab5:AudioEqualizer..........................................................................................................................40
Assignment1:Designtheaudioequalizer.......................................................................................40
Lab6:BreadboardandMeasurements...............................................................................................44
Assignment1:Buildthecircuit........................................................................................................49
Assignment2:Measurementsonthesecondcircuit.......................................................................50
Lab7:SolderingandKitAssembly.......................................................................................................60
Assignment1:Practicesoldering.....................................................................................................60
Assignement2:Soldercomponentstotheboard...........................................................................60
Lab8:SolarPowerDataLogging.......................................................................................................63
Assignment1:ExperimentalProcedures.........................................................................................66
Lab9:IntroductionofFinalProject(RobotCar)..................................................................................70
Introduction.....................................................................................................................................70
GradeBreakdown............................................................................................................................70
SubSystemOverview......................................................................................................................71
TrainingModule...............................................................................................................................71
ObstacleCourse...............................................................................................................................72
2
TrainingModule1:Rock,Paper,Scissors.............................................................................................73
Assignment1:BuildingtheCircuit...................................................................................................70
Subsystem:LineFollower.....................................................................................................................77
Lab10:ProficiencyExam......................................................................................................................80
Lab11:TheveninEquivalentCircuits...................................................................................................85
Assignment1:Constructthefirstcircuit..........................................................................................86
Assignment2:Constructthesecondcircuit....................................................................................87
Lab12:FinalProject(MotorControl,CollisionDetection)..................................................................96
Subsystem:MotorControl...................................................................................................................96
Subsystem:CollisionDetection............................................................................................................97
Lab13:FinalProject...........................................................................................................................101
Assignment1:BuildingtheCircuit.................................................................................................101
Subsystem:PathLogic........................................................................................................................104
5.0Appendices.......................................................................................................................................108
AppendixA:MultimeterBasics..........................................................................................................108
AppendixB:KeepinganEngineeringNotebook................................................................................112
AppendixC:ContributionChartforFinalProject..............................................................................112
1.0 Introduction
ThismanualisdesignedtoaccompanytheEE302,IntroductiontoElectricalandComputerEngineering,
labsection.YouwillfindcompletedescriptionsofthelabsforEE302andagreatdealofinformationabout
yourprojects.Youareencouragedtoreadthismanualanduseitasaresourcetoenhanceyourlab
experienceinthiscourse.
The following sections describe each of the circuit laboratory sessions for the semester.
DAYYOURLABMEETS
LABACTIVITY
Lab1:IntrotoLabVIEW1andmyDAQ
Lab2:IntrotoLabVIEW2
Lab3:DigitalMultimeterandVoltage
Generator
Lab4:MultisimSimulationofCircuits
Lab5:AudioEqualizer
Lab6:BreadboardandMeasurements
Lab7:SolderingandKitAssembly
Lab8:SolarPowerDataLogging
Lab9:FinalProjectRobotCarI
Lab10:ProficiencyExam
Lab11:TheveninEquivalentCircuits
Lab12:FinalProjectRobotCarII
Mon.
8/31
9/14
9/21
9/28
10/5
10/12
10/19
10/26
11/2
11/9
11/16
11/23
11/30
Tues.
9/1
Wed.
9/2
Thurs.
9/3
Fri.
9/4
9/8
9/9
9/10
9/11
9/15
9/16
9/17
9/18
9/22
9/23
9/24
9/25
9/29
9/30
10/1
10/2
10/6
10/7
10/8
10/9
10/13
10/14
10/15
10/16
10/20
10/21
10/22
10/23
10/27
10/28
10/29
10/30
11/3
11/4
11/5
11/6
11/10
11/11
11/12
11/13
11/17
11/18
11/19
11/20
Lab13:FinalProjectRobotCarIII*
12/1
12/2
12/3
12/4
*Mondaylabsectionswillhavetheirfinallabprojectsdueattheendofthelastweekofclass(12/4).All
othersectionswillhavetheirfinallabprojectsdueatthelastscheduledlabmeeting.
4
3.0 Grading
ThelaboratoryforEE302countsas20%ofyourfinalclassgrade.Yourgradeforthelaboratorywillbe
determinedasfollows:
Category
%ofLabGrade
Attendance
Participation
Prelabs
LabReport
LabNotes
ProficiencyExam
FinalProject(Demonstration+Finalreport)
Total
20%
5%
10%
20%
10%
15%
20%(15%+5%)
100%
GuidelineforEngineeringNotebook
Learningtokeepanengineeringnotebookisanessentialskillthatyouwillusethroughoutyour
educationalexperienceatUT.Fortheteamproject,eachstudentisencouragedtokeepanengineering
notebook,whichchronicleshisorherworkinthelabs.Allinformation,whichmaybepertinenttothe
projectorlabs,shouldbewrittenhere.Youwilluseyournotebooktorecordyourmeasurementsand
otherdatafortheEElabs.HerearesomeguidelinestakenlargelyfromworkdonebyClifKussmaulwhen
hewasanassistantprofessoratMoravianCollege.HeiscurrentlyanassistantProfessorofComputer
ScienceatMuhlenbergCollege.
Engineeringnotebooksareusedinindustrytorecordwhatworkwasdone(incasetheauthorleaves
theprojectorcompany)andwhenworkwasdone(forpatentandcopyrightmatters).Ultimately,your
engineeringnotebookshouldallowanotherknowledgeablestudenttobeabletoexactlyrepeatthework
youhaveperformed.Herearesomebasicguidelinesyouneedtofollow:
Thenotebookmustbepermanentlybound(gluedorsewn).Thebookstorehasseveralstyles
fromwhichtochoose.Spiralboundorlooseleafnotebooksarenotacceptable.
Thenotebookmustbeclearlylabeledwithyournameandthesemester.
Everythingmustbewritteninpermanentink(itmaybeusefultohaveseveralcolorpens).
Everypagemustbenumberedconsecutively,inparttoprovethatyouhavenotaddedor
removedpagesafterthefact.
5
Leaveseveralpagesatthebeginningforatableofcontentssoyoucanlocatekeyinformation
quickly.
Startanewpageeachdayyouworkonthiscourse,andatthetopofthepageclearlyindicate
thedateandhoursyouworked.
Whenyoufinishworkfortheday,drawalinethroughanyspaceleftonthepage.
Donotleaveanyblankpages.
Describeallworkyoudoforthecourse,includingreadings,research,design,coding,
documentation,test,teammeetings,classmeetings,etc.Includesketches,memos,relevant
codelistings,etc.Youshouldgluethemintothenotebook.
Thenotebookismeanttobeapermanentrecordofwhatyouhavedone.Itmustbeneat
enoughforyouorsomeoneelsetounderstandwhatyouhavedoneayearormorelater.Do
notworkonotherpaperandthentranscribeitintoyournotebook!
YournotebookshouldbekeptuptodateatalltimesandbroughttoEVERYlabsession.An
exampleofwhatwouldgointoanengineeringnotebookbaseduponthislabisasshown
below:
Laboratorydatasuchasmeasuredcurrents,voltages,resistancesandtheproceduresyoumay
haveusedtomeasurethesequantities.
Studentsshouldensurethattheygothroughtheappropriatelabnoteanddothenecessaryprelabs
beforecomingforthelabs.
Alsoinfillinginthelabnotes,makesuregraphsandtablesarewellinterpretedintheThoughtsor
Datasectionofthenotes.Andthemainconceptsshouldbewellhighlighted.
Lab Goals:
Learn the basics of LabView programming and to design a simple VI
(Virtual Instrument).
o Compute the area of a triangle, How to use MathScript
Learn the LabView Environment and Graphical Programming
Required Lab Material:
NI myDAQ kit
Due at the end of Lab:
A copy of the simple VI you designed
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12
Step 13
Step 14
After installing the SW and drivers, go to the UT Engineering webpage and from the Information
Technology Group(ITG) there are directions on how to obtain a student license to Labview 2010 and
Multisim. http://www.engr.utexas.edu/itg/products/435labview
You do not need to download the software from the website again. Just obtain the license and go
to NI License Manager under National Instruments in All programs. Click active on the top left hand
corner and apply the license information you obtained from ITG
Refertohttp://decibel.ni.com/content/groups/mydaqtogainmoreideasonhowtoutilizetheNI
myDAQoutsideofthelab.
Reference:
LabVIEWIntroduction3HourCourseware
https://lumen.ni.com/nicif/us/academiclv3hr/content.xhtml
http://www.ni.com/mydaq/
http://decibel.ni.com/content/groups/mydaq
1. Google"utexasLabVIEW"andinstallLabVIEWinyoursystem.Orusethislinktodownload
LabVIEWhttp://www.engr.utexas.edu/itg/products/435labview.
**Note:youneedtoinstallLabVIEWonawindowssystem,asNIMyDAQworksonlywith
Windowssystem.
2. Inthesamepageyou'llfind"StudentLicenseInstructionsforWindows",usethattoget
LabVIEWlicenseonyoursystem.Ifyoudon'tdothisyourLabVIEWlicensewillexpirein30
days.
3. Openthislink:www.ni.com/lv101 .
4. Go to LabVIEW Basic Concepts.
5. Go through: 1. LabVIEW Environment, 2. Graphical Programming. Go through detailed
explanation and Model Quiz for both sections.
6. Develop your own VI for "area of triangle" program. The front panel should look like
Figure 1 (You can add decorations and colors n other things to your VI). Be sure to put
your name and UTEID.
10
TA Signature:______________________________________________________________________________________
11
LabNote
Procedure / DATA
12
Date
. 2015
Lab 2: Introduction to LabView 2
Lab Goals:
Learn about LabView Programming Tools, Debugging and Handling
Errors, Data Types and Structures, and Execution Structures.
Design a Temperature Convertor using the Case Structure, Enum,
and While Loop data structures.
Due at the end of Lab:
A copy of the simple VI you designed
1. Gotohttp://www.ni.com/lv101andreadthesectionsonProgrammingTools,Debugging
andHandlingErrors,DataTypesandStructures,adExecutionStructures.
2. Dotheendofthemodulequizforeachoftheabovesections.
3. DesignaVIthatutilizesanEnum,CaseStructure,andWhileLooptodothefollowing
conversions:
CelsiustoFahrenheit
FahrenheittoCelsius
CelsiustoKelvin
Fahrenheittokelvin
**Note:Lookuptheappropriatetemperatureconversions(viaGoogle,Bing,etc.)**
4. SavetheVI.Ex:your_name_lab2.vi
5. CallyourTAovertoverifythefunctionalityofyourVI
13
Figure 1: Temperature Converter, Front panel
Figure 2: Temperature Converter, Block diagram
TASignature:___________________________________________________________________
14
LabNote
Procedure / DATA
15
Date
. 2015
Lab Goals:
Learn how to use your myDAQ as a Digital Multimeter (DMM)
Learn how to output a signal to a specified output port on the myDAQ
and verify its functionality.
Design a Digital Multimeter and Voltage Generator to be used on later
labs.
Required Lab Material:
NI myDAQ kit
Due at the end of Lab:
A copy of the simple VI you designed
Create a voltmeter
1. On block diagram, Use Quick Drop (CtrlSpace) to find Multimeter Select NI ELVISmx
Digital Multimeter. Its called an Express VI because it has its own configuration screen
which comes up automatically.
2. Configure for DC Voltage measurement, Auto scale
3. Expand the Express VI down to see all the input/output terminals
4. Right click on Device Name input and CreateControl (this places control on front panel)
5. On front panel, use Quick Drop to find Waveform Chart and Numeric Indicator
6. On block diagram, wire together as shown.
16
7. On block diagram, use Quick Drop to find While Loop. Drag loop around your code
8. Right click on Conditional terminal and CreateControl (this places stop button on front
panel )
Figure 3.1: Multimeter, Front Panel
Figure 3.2: Multimeter, Block Diagram
14. Add Voltage, Current ,and Resistance as the three items on the list
15. On block diagram, wire the Enum to the Case Selector ( denoted by )
16. .Right click on border of Case and select Add Case for Every Value ( This will create all
three cases you need, neatly labeled to match the Measurement Type list. )
Figure 3.3: Front Panel
Figure 3.4: Block Diagram
18
Figure 3.5: Enum Properties Menu
17. Add NI ELVISmx Digital Multimeter.vi to the Current case (Figure 3.6), and setup the
measurement as shown. The NI myDAQ has an internal shunt resistor to measure current
through the analogtodigital converter.
Figure 3.6: Multimeter VI Properties Menu
18. Add NI ELVISmx Digital Multimeter.vi to the Resistance case (Figure 3.7), and setup the
measurement as shown. Note that in order to measure Resistance using an Analogto
19
Digital converter, you supply an excitation current ( Iex ) through a Shunt Resistor. myDAQ
has an Internal current source, allowing the measurement of Resistance.
19.
20.
21.
22.
23.
24.
Figure 3.7: Multimeter VI Properties Menu
Be sure to wire the Data output of each DAQ Assistant to the white tunnel on the Case
Structure. When all Cases are properly wired, the tunnel will turn solid and your VI should
run.
Now you are ready to test your DMM for all three measurements: Voltage, Current, and
Resistance.
Congratulations! You have just created your own Digital Multimeter using LabVIEW and
myDAQ!
Remember to switch the DMM probes to the correct when you want to measure current.
Test Resistance by touchi8ng probes together. Resistance should go to zero. Or get a
resistor and touch the probes to either side of the resistor.
Save your VI.
We can either create a new VI to generate voltage from myDAQ, or add this function to your
DMM.vi. The steps below show how to add the Voltage Generator to your DMM.vi
1. Use Quick Drop (CtrlSpace) to find the new functions: DAQ Assistant, and Select.
2. Set the DAQ Assistant to Generate Signal Analog Voltage on AO0 (analog output channel
0). Also set Timing Settings to 1 Sample (On Demand). This tells myDAQ to generate a new
output voltage each time the loop executes.
20
3. Select OK to accept all DAQ Assistant settings
4. Right click on the appropriate terminals of the Select function and CreateControl for the
Dial and Enable Output (Boolean switch)
5. Right click on the False input of Boolean switch to the Select and CreateConstant to enter
0 ( sets the Voltage Generator output to zero )
6. Right click on the output of the Select function and CreateIndicator for the Meter
( Displays the voltage output from myDAQ )
Figure 3.8: Block Diagram for Voltage Generator
** The Select function allows you to shut off the Voltage generator while the VI is still running.
Figure 3.9: Final Front Panel
21
Figure 3.10: Final Block Diagram
7. Test your VI by generating a voltage on AO0 (Analog Output channel 0), and testing it with
the DMM.
8. Call your TA over to check you off for completion of the lab.
TA Signature: __________________________________________________________________________________________
Acknowledgement: A Special thanks to Eric Dean (Academic Field Engineer of NI) for the
example DMM and voltage generator.
22
LabNote
Procedure / DATA
23
Date
. 2015
Multisim,aproductofNationalInstruments,(formoreinformation,visittheMultiSimWWWpageat
http://www.ni.com/academic/multisim.htm)isadraganddropschematiccaptureandsimulation
programthatallowsyoutoquicklycreatecompletecircuitsandanalyzethem.WithMultisim,circuits
containingindependentanddependentsources,resistors,andothercircuitelementscanbeinstantly
simulatedattheclickofasinglebutton.
ThesimulationengineofMultisimisBSPICE/XSPICEcompliantwhichisthedefactostandardincircuit
simulation.OtherimportantfeaturesofMultisiminclude:
1. The ability to interact with circuits using Virtual Instruments that look and function like their
realworldcounterparts.Someoftheinstrumentsincludedare:
AmmeterForfast,simplereadoutsofcurrent.
FunctionGeneratorProducessquare,triangular,orsinusoidalvoltages.
MultimeterMeasureACandDCcurrentandvoltage,resistanceanddecibelloss(auto
ranging).
VoltmeterForfast,simpleindicationsofvoltage.
24
2. Multiplewaystoanalyzecircuitssothatyoucanexploreandunderstandthemindepth.Someof
theanalysismethodsinclude:
DCSensitivityDisplayssensitivitytoaparticularparameterandpredictshowvariancesin
manufacturingcanaffectcircuitperformance.
DCSweepComputestheDCoperatingpointofnodesinthecircuitforvariousvaluesof
voltageorcurrentsources.
WorstCaseDeterminesthemostextremevaluestobeexpectedinyourcircuit,giventhe
specifiedtoleranceforeachcomponent.
3. Multisimcontainsapartsdatabasethatincludes16,000differentcomponentsincludingallthe
standardcomponentsplusseveralcategoriesofuniquepartsthatenhanceeachdesign.
ItisnotthegoalofthislabtointroduceyoutoallaspectsofMultisim.Insteadwewillfocusonsome
basicanalysistechniques.YouarefreetocontinuetoexplorethefeaturesofMultisimonyourownsinceit
isavailableonallLearningResourceCentercomputers.WewillalsouseMultiSimintheprelabsforthe
remainingcircuitslabs.
Duringthislab,youwilllearnhowasemiconductordevicecalledazenerdiodecanbeusedasa
reasonablealternativetoavoltagesource.Asabriefintroductiontothesedevices,letsstartbydiscussing
asilicondiode.Adiodeisasemiconductordevicethatconductscurrentinonlyonedirection.Thesymbol
foradiodeisshownatthetopofFigure1.Ifweplaceavoltageofslightlymorethan0.7Vacrossthediode
withthereferenceshowninthefigure,significantcurrentwillflow.Thisiscalledtheforwardbiasregion
andcurrentflowsinthedirectionshown.Thetwoterminalsofthediodearecalledtheanodeandthe
cathode.Ifweapplyanegativevoltageacrossthediode,nocurrentflowsandweenterthereversebias
region.Thediodecharacteristicofconductingcurrentinonlyonedirectionmakesitusefulinmanydevices
includingconvertingACvoltagestoDC.
25
Current
Anode
Cathode
Diode Symbol
Current in Amperes
Reverse Bias
Region
Forward Bias
Region
~0.7 V
(Silicon Diode)
Voltage V in Volts
Figure1:DiodeSymbolandCharacteristic
Letsnowexaminewhathappensifwecontinuetoincreasethenegativevoltageacrossthediode.As
shownin
Figure2,thediodeeventuallyenterstheavalanchebreakdownorZenerRegion.Notethatthis
drawingisnottoscale.Thisregionischaracterizedbyanearconstantvoltageregardlessofthecurrent
flow.Whilealldiodesexhibitthischaracteristic,somediodesarepreciselydesignedtoexploitthis
behavior.Thesedevicesarecalledzenerdiodesandaredesignedtodeliverawidearrayofprecisevoltage
references,muchlikeavoltagesource.
26
Current
Anode
Cathode
Forward Bias
Region
Reverse Bias
Region
~0.7 V
(Silicon Diode)
Voltage V in Volts
Zener Breakdown
Region
Figure2:ZenerDiodeSymbolandCharacteristic
27
1.
Start Multisim by going to Programs > Multisim.
2.
Press ControlW.
This will open up the Parts menu. We will need the following components for this lab: resistors,
voltage sources, and a means of measuring current (multimeter or ammeter) and voltage
(voltmeter). We can get to each of these as follows:
The voltage source should be on the current screen. It is called DC_POWER.
Under Groups, select Basic. Under the basic group we are going to use resistors. These
resistors can be set to any value we want with any tolerance we want. They do not directly
relate to resistors that you would use in a handson lab.
Under Groups, select indicators to get to the voltmeter and ammeter.
Instruments are under the menu Simulate > Instruments.
We can also get to these by selecting the appropriate images at the bottom of the menu bar or
the rightmost side of the workspace. You can move the cursor over these images and the text
explaining which group they belong to will be shown. From this point on, you are left to
yourself to make the circuits and take the measurements. Some images are shown for the first
circuit. Keep the following things in mind when building circuits and taking measurements:
When an item is selected, it can be rotated with ControlR
When the cursor is above the wire of a component, it will turn into a circle. Leftclicking on
the mouse will start the wiring process. Move the cursor to where you want the wire to go
and leftclick the mouse again to end the wiring. To complete a specific path for the wire,
you can leftclick the wire at each point where you want a straight path to go.
For nodes that contain more than two components, you need to create a junction by going
to Place>Junction.
All circuits need a ground wired to them before simulation can begin.
Function key F5 begins and ends a simulation
The schematic for the first circuit is shown below. In this simulation, we will be measuring current
either using ammeters or a multimeter set to the current setting. You may choose either method
you wish.
3.
4.
Place the appropriate components from Figure 3, including a ground, onto the workspace in
Multisim. You can use ControlW to open the Parts Window or go to appropriate icons
around the workspace. When you use virtual resistors, all of them will default to a value of 1
k.
Doubleclick on a resistor.
This opens a window which allows you to change some properties of the resistor. We are
interested in changing the value of each resistor to the ones shown in Figure 3. This is done under
the Value tab of the open window.
5.
Doubleclick on each resistor and change their values to the ones needed for the circuit
shown.
6.
Rotate (using ControlR) the 10 k resistor and one of the 20 k resistors so that they are
vertical.
7.
Doubleclick on the voltage source and change its value to 3.2 volts
8.
Figure 4 shows what your screen might look like at this point.
We now need to decide whether we want to use ammeters or multimeters to measure the
current. Unlike the measurements you did previously, you can place multiple ammeters or
multimeters so that all currents can be measured at once.
9.
Place the appropriate number of ammeters or multimeters on the workspace. Again,
ammeters can be found by hitting ControlW and then selecting indicators under groups.
Multimeters can be found under the Simulate menu (select the Instruments submenu).
10.
Wire the circuit up so that the ammeters/multimeters are in series with the path for which
you want to measure the current. When each component is connected to a wire, the wire
will turn to red and a number may appear.
11.
Figure 5 and Figure 6 show what the circuit may look like using either ammeters or
multimeters.
29
If you chose to use multimeters, you need to do the following steps to set it up to measure current.
If you chose to use ammeters, go to Step 15.
30
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
Build and wire the circuit shown in Figure 7 using virtual resistors.
Use either ammeters or voltmeters to measure the following quantities in the circuit:
current flowing through the top 10 k resistor, the voltage across the 1 k resistor, and the
current flowing through the 5 k resistor. For clarity, assume that the positive references
for voltages are on the left and positive currents flow left to right through the resistors
Change the resistors tolerances to 0 % by double clicking on the component and finding the
tolerance option under the value tab.
31
Run the simulation five times and write down values for each quantity in the appropriate
place of Tables 2a, 2b, or 2c.
Repeat Step 2526 with resistors tolerances of 1 % and 5 %.
Show your TA the results of your simulation and get his or her signature before continuing.
26.
27.
28.
Note: Change the tolerances of all the resistors in the circuit for observable effects.
Assignment 3: Simulating the Third circuit
The last circuit you will simulate is shown below in Figure 8. As discussed in the introduction, we
will briefly introduce a zener diode which can act similar to a voltage source under the right
conditions. The zener diode is a nonlinear device which means its currentvoltage characteristic
curve cannot be modeled as a straight line as demonstrated in. The Zener diode which we will use
in this simulation produces approximately 4.3 V under the right conditions.
1 k
Current
4.3V
510
16V
- Voltage +
200
2 k
Current 1N749A
- Voltage +
510
Vsupply
2 k
200
29.
Build and wire the circuit shown in Figure 9. Include a voltmeter to measure the voltage
across the 4.3 V source with the reference shown and an ammeter to measure the current
32
30.
31.
32.
33.
34.
flowing right to left through the 4.3 V source. (Note: for easy wiring, you can rightclick on
the meters in your circuit, and flip them horizontally.)
Change the resistor tolerance to 0 %.
Run the simulation. Enter the voltage and current into the appropriate place of Table 3 of
the Lab Report.
Replace the 4.3 V source with the zener diode (model number 1N749A) as shown in Figure
8. Repeat Step 31 with supply voltages (Vsupply) of between 20 V in steps of 4 V (i.e., 20 V,
16 V, 12 V, etc.) and place your results in Table 4 in the lab report and in your lab note
section.
Plot the IV characteristics of the diode using the data from Table 4 of the Lab Report. You
should either do a **CLEAR** plot by hand or use a program like EXCEL and paste the
results in the space provided.
Turn in your completed lab report to your TA.
FAQs
Q:
When I simulate my values, why are all the values the same all the time even when I have
tolerances?
A: You must have Use Tolerances option checked under the Simulate menu.
Q:
Why are some of my values reading 0?
A:
Check your connections on your circuit. Chances are something's not connected. Move
around some of your components to make sure the correct parts are connected.
Q:
Why am I not getting my calculated values?
A:
Chances are you probably wired a component or multimeter wrong. In addition, check
you're measuring the appropriate value. If you're measuring current through something,
make sure your meter is connected in series with it. If you're measuring voltage, be sure
your meter is connected parallel with the voltage you're measuring.
Q:
Why can't I find tolerance in my resistors?
A:
Do not use RESISTOR_RATED. Go to BASIC=>RESISTOR, and pick out the appropriate
value from there.
Q:
Which voltage source should I use? Where is ground?
A:
Use DC_POWER under SOURCES (it has two parallel lines). For ground, it's under
SOURCES as well.
33
LabNote
Procedure / DATA
34
Date
. 2015
Name:
EID:
By placing by name and EID above, I am certifying that I determined the answer to the
questions posed below and did not copy my answers from a fellow student.
You will need 2 completed copies of this prelab. One is to be turned in to your TA at the
beginning of the lab session. The other one is to be done in your lab manual.
1.
Find a description on the operation of a diode on the internet (Places to check: How
Stuff Works, Encyclopedia.com, etc. ). You need to refer to at least 3 different sources.
Provide a summary of the information that you find. At the end of your description,
provide the URLs for the sources that you read to write your description
Description
of Diode
Description
of Zener
DiodeOperation
Operation
URLs Referenced
http://
http://
http://
http://
http://
1
36
Table 1: Simulated current values in the circuit in Figure 3 of the Lab. Assume that positive currents flow
left or right or up to down as appropriate. Make sure you use an appropriate number of significant figures
and include your units.
Current through
8.2 k resistor
Current through
10 k resistor
Current through
20 k resistor
Table 2a: Simulated values for the current flowing through the top 10 k resistor in Figure 7 of the Lab.
Make sure you use an appropriate number of significant figures and include your units.
Run #1
Run #2
Run #3
Run #4
Run #5
Table 2b: Simulated values for the voltage across the 1 k resistor circuit in Figure 7 of the Lab.
Make sure you use an appropriate number of significant figures and include your units.
Run #1
Run #2
Run #3
Run #4
Run #5
2
37
Table 2c: Simulated values for the current flowing through the 5 k resistor in Figure 7 of the Lab.
Make sure you use an appropriate number of significant figures and include your units.
0% tolerance 1% tolerance
5% tolerance
Run #1
Run #2
Run #3
Run #4
Run #5
Table 4: Voltage and Current Values for the Diode in Figure 9 of the lab.
Supply Voltage
Diode
Diode
Value (V)
Voltage (V) Current (mA)
3
38
Plot the I-V characteristics of the diode using the data from Table 4. You should either
do a **CLEAR** plot by hand or use a program like EXCEL and paste the results in the
space provided below.
Can you use a Zener Diode to replace a voltage source in a circuit? If so, how well does it
match the operation of an ideal voltage source?
4
39
Required Lab Material:
NI myDAQ kit
A Sound Source (Please, bring your any sound source such as iPod)
Due at the end of Lab:
Demonstration of a working audio equalizer
Lowpass Filter: A lowpass filter is a filter that passes lowfrequency signals but attenuates
(reduces the amplitude of) signals with frequencies higher than the cutoff frequency. The actual
amount of attenuation for each frequency varies from filter to filter.
Highpass Filter: A Highpass filter is a filter that passes high frequencies well but attenuates
(reduces the amplitude of) signal with frequencies lower than the filter's cutoff frequency. The actual
amount of attenuation for each frequency is a design parameter of the filter.
Bandpass Filter: A bandpass filter is a filter that passes frequencies within a certain range and
rejects (attenuates) frequencies outside that range.
Audio Frequency: An audio frequency (abbreviation: AF), or audible frequency is characterized as
a periodic vibration whose frequency is audible to the average human. While the range of frequencies
that any individual can hear is largely related to environmental factors, the generally accepted
standard range of audible frequencies is 20 to 20,000 hertz. Frequencies below 20 Hz can usually be
felt rather than heard, assuming the amplitude of the vibration is high enough. Frequencies above
20,000 Hz can sometimes be sensed by young people, but high frequencies are the first to be affected
by hearing loss due to age and/or prolonged exposure to very loud noises
Design an audio equalizer as shown below to adjust the output audio signal to the speaker.
Use the filter express vi under signal analysis from the functions palette. Also use the Spectral
Measurement express vi to display your signal.
40
Figure 1 shows the template for the Front Panel of your Audio Equalizer. This VI will be provided
by TA. Although the given template provides general concepts to implement an Audio Equalizer, you
need to follow the instructions, modify, and finish building the corresponding block diagram in Figure
2.
TA Signature: ___________________________________________________________________________
Acknowledgement:
ThankstoEricDean(AcademicFieldEngineerofNI)fortheexampleaudioequalizervi.
42
LabNote
Procedure / DATA
43
Date
. 2015
Abreadboard(orprototypingboard)isusedtoquicklyconstructcircuitsfortestingandevaluation.You
willbeusingdifferenttypesofprotoboardsduringyourvariouslabsatUT.Thissectionprovidessome
generalcommentsandsuggestionsforthesebreadboards.
Thebreadboardhasmanystripsofmetal(copperusually)whichrununderneaththeboard.Themetal
stripsareconnectedasoutlinedinorangebelow.Thesestripsconnecttheholesontheboard.Thismakesit
easytoconnectcomponentstogetherandbuildcircuits.Tousethebreadboard,thelegsofcomponents
areplacedintheholes(thesockets).Eachholeisconnectedtooneofthemetalstripsrunningunderneath
theboard.Anodeisapointinacircuitwheretwocomponentsareconnected.Connectionsbetween
44
differentcomponentsareformedbyputtingtheirlegsinacommonnode.Onthebreadboard,anodeisthe
rowofholesthatareconnectedbythestripofmetalunderneath.Thelongread&bluerowofholesare
usuallyusedforpowersupplyconnections.
Herearetwoexamplecircuitsconnectingresistorsinseriesandparallel.
45
TheConcept
Whenbuildinga"permanentcircuit"thecomponentsaretogether(asinanintegrated
circuit),solderedtogether(asonaprintedcircuitboard),orheldtogetherbyscrewsand
clamps(asinhousewiring).Inlab,wewantsomethingthatiseasytoassembleandeasy
tochange.Wealsowantsomethingthatcanbeusedwiththesamecomponentsthat
"real"circuitsuse.Mostofthesecomponentshavepiecesofwireormetaltabsstickingout
ofthemtoformtheirterminals.
HowitWorks
Theheartofthesolderlessbreadboardisasmallmetalclipthatlookslikethis:
Theclipismadeofnickelsilveramaterialwhichisreasonablyconductive,reasonablyspringy,and
reasonablycorrosionresistant.Becauseeachofthepairsoffingersisindependent,wecaninserttheendof
awirebetweenanypairwithoutreducingthetensioninanyoftheotherfingers.Henceeachpaircanhold
awirewithmaximumtension.Tomakeabreadboard,anarrayoftheseclipsisembeddedinaplasticblock
whichholdstheminplaceandinsulatesthemfromeachother,likethis:
46
Theholeintheblockaboveeachpairoffingersholdsthewireaccuratelycenteredintheclip.
Dependingonthesizeandarrangementoftheclips,wegeteitherasocketstriporabusstrip.Thesocket
stripisusedforconnectingcomponentstogether.Ithastworowsofshort(5contact)clipsarrangedone
aboveanother(Figure6).
Thebusstripisusedtodistributepowerandgroundvoltagesthroughthecircuit.Ithasfourlong(25
contact)clipsarrangedlengthwise(Figure7).
Figure 7: Bus Strip
Notethatthemanufacturerelectednottojointheadjacent25contactstripsintoasingle,fulllength,
50contactstrips.Ifthisiswhatyouwant,youwillhavetobridgethecentralgapyourself.
Whenwecombinetwosocketstrips,threebusstrips,andthreebindingpostsonaplasticbase,weget
thebreadboard:
47
A
B
C
D
E
A
B
C
D
E
A
B
C
D
E
F
G
H
I
J
A
B
C
D
E
F
G
H
I
J
A
B
C
D
E
F
G
H
I
J
A
B
C
D
E
F
G
H
I
J
F
G
H
I
J
F
G
H
I
J
Figure 8: Breadboard
Thebreadboardletsusconnectcomponentstogetherandbywiringthebusstripstothebindingposts
andthebindingpoststothepowersupply,toconnectthepowersupplytothecircuit.Nowwhatweneedis
awaytobringconnectionsfromtherestoftheinstrumentsintothebreadboard.
48
Oneofthegoalsofthislabistogiveyouexperiencebuildingacircuitonaprotoboard.Youstudied
someaspectsofthisprocessaspartoftheprelabassignment.Ifyoustillhavequestionsaboutthis,review
theinformationinyourlabmanualordiscusstheprocesswithyourpartners.Theschematicforthefirst
circuitisshownbelowinFigure4.
4. Buildthiscircuitonthebreadboard.GetTAsignature.
5. AportforthepowersupplywillbetheAnalogOutputportofyourNImyDAQ.Theconnectionswill
beAGNDandAO0.
6. ConnectawirefromtheAGNDtothepointDinFigure9.Youmayneedtousemultiplewiresto
makethisconnection.Forclarity,youshouldusewiresofthesamecolor.
7. Connectanotherwire(ofadifferentcolor)fromtheAO0topointAofFigure9.Youmayneedto
usemultiplewirestomakethisconnection.Forclarity,youshouldusewiresofthesamecolor.
8. GetyourTAtoverifythatyourcircuitiscorrect.Ifitis,yourTAwillsigntheappropriateplaceinthe
labreport.
9. WewillnowmeasurevoltagesbetweenpointsA,B,C,andD.Thesevoltagescanbeusedto
calculatethecurrentthroughtheresistors.Youcalculatedtheexpectedvaluesforthesevoltagesas
partofyourprelabassignment.Wewillcomparethoseresultstothoseyouwillmeasure.
10. DrawthecircuitshowninFigure9aboveintheboxprovidedintheLabReport.Includewhereyou
willplacevoltmeters(denotedbyaVinsideacircle;includethepositiveandnegativeterminals)
tomeasureVAB,VBC,andVCD.Youwillhavemorethanonevoltmeterinyourcircuit.
11. EnterthevaluesyoucalculatedfromtheprelabintotheappropriatelocationinTable1oftheLab
Report.
12. Runyourvifromlab3togenerateaDCvoltagetoyourcircuit.
49
13. SettheDCvoltagevalueto5volts.Youcaneitherusetheknobonthefrontpanelofyourviortype
thevalue5V.
14. MeasureVAB,VBC,andVCDusingyourmyDAQandtheDigitalMultimeter(DMM).(Makesureyour
probesareconnectedtotheVoltageslotandnotthecurrentslot).Enterthevoltagemeasuredinto
yournotebookandintheappropriateplaceofTable1oftheLabReport.Makesureyouusean
appropriatenumberofsignificantfiguresandtheunits.ConfirmthatKVLissatisfiedbysumming
yourmeasuredvaluesinthetabletofindVAD.
15. Disassemblethecircuityouhavebuilt.
WewillnowcreateadifferentcircuitwhichisshowninFigure5.
I1
5k
5V
A
I2
20k
I3
20k
I4
10k
Figure10:SecondCircuitforCircuitsILab
1. Buildthiscircuitonthebreadboard.
2. ConnecttheAGNDandAO0wirestotheappropriateplacesinthecircuit.
3. GetyourTAtoverifythatyourcircuitiscorrect.Ifitis,yourTAwillsigntheappropriateplacein
thelabreport.
4. Thistime,wewillmeasurethecurrentsI1,I2,I3,andI4flowingthroughitsresistorbymeasuring
thevoltageacrossitandthencalculatingthecurrentfromthismeasurement.
5. DrawthecircuitshowninFigure10aboveintheboxprovidedintheLabReport.Includewhere
youwillplaceammeters(denotedbyanAinsideacircle;includethepositiveandnegative
terminals)tomeasureI1,I2,I3,andI4.Youwillhavemorethanoneammeterinyourcircuit.
6. EnterthevaluesyoucalculatedfromtheprelabintotheappropriatelocationinTable2ofthe
LabReport.
7. SettheDCvoltagevalueto5volts.Youcaneitherusetheknobonyourviortypethevalue5V
intothespaceprovided.
8. Measurethecurrentvalueflowingthrougheachresistor.UsethecurrentsettingonmyDAQto
dothis.Enterthecurrentmeasuredintobothyournotebookandintheappropriateplaceof
Table2oftheLabReport.Assumethatpositivecurrentsflowfromlefttorightoruptodownas
appropriate.Makesureyouuseanappropriatenumberofsignificantfiguresandtheunits.
RememberthatKCLmustbesatisfied.
50
**Ifyouarehavingtroublegettinganonzerocurrentmeasurement,gototheproperties
menuforyourmultimeterandselectSpecifyRangeto20mAinsteadofAuto**
9. Disassemblethecircuityouhavebuilt.
10. TurninyourcompletedlabreporttoyourTA.
FAQs
Q:
Why wont my circuit work?
A:
Check your connections. Only the 5 holes in a row are connected; the columns are not
connected, and rows across the middle crevasse are not connected!
Q:
Why am I not measuring current correctly?
A:
In the block diagram VI, edit the range option for current to 20mA.
Q:
How do I measure current anyway?
A:
Break the connection, and connect your myDAQ probes in series to complete the connection,
as you would with a resistor. Also, be sure to change your myDAQ red probe into the correct
plug.
Q:
Why do my values fluctuate so much and why am I not getting any good reading?
A:
You need to make a good contact with your probes to the metal leads of the resistors in
order to minimize contact resistance and give a good reading. You may need to press the
meter leads to the resistor terminals or do some other intervention to make it work.
51
LabNote
Procedure / DATA
52
Date
. 2015
Name:
EID:
By placing by name and EID above, I am certifying that I determined the answer to the questions
posed below and did not copy my answers from a fellow student.
***
You will need 2 completed copies of this prelab. One is to be turned in to your TA at the
beginning of the lab session. The other one is to be done in your lab manual.
Required Readings:
1. Determine what the appropriate color bands are for the resistors to be used in this lab. Place your
answers in the table below.
Resistor
1 k
2 k
3 k
5 k
10 k
20 k
First Color
Second Color
Multiplier Color
2. Draw the appropriate schematic diagram in the box provided for each of the following protoboard
circuits.
+10 volts
22
Ground
(a)
1
53
C
C
Ground
BB
E D
+5 volts
(b)
3. Indicate where you'd place a ammeter to measure the current through the voltage source and where
you'd place a voltmeter to measure the voltage of resistor R2 in the diagram below. Place you redrawn circuit in the box provided.
R2
5V
R1
2
54
4.
Use the three circuits below to calculate the quantities requested. Assume that positive current
flows either left to right or up to down as appropriate. Make sure you include units and an
appropriate number of significant figures.
Paramet
Val
(a)
Re-do part (a) assuming that the 5 k resistor is 5.1 k.
Paramet
Val
(b)
3
55
Parameter
Value
I1
I2
I3
I4
(c)
Parameter
Value
I1
I2
I3
I4
(d)
4
56
1
57
Place the drawing asked for in Step 5 in the box below. Also, put your Voltmeters with
appropriate polarity for the measurement.
Table 1: Measured and Calculated voltage values in the circuit in Figure 9 of the Lab. Make sure you
use an appropriate number of significant figures and include your units.
Calculated Voltage
VAB
Measured Voltage
VBC
VCD
2
58
Place the drawing asked for in Step 2 in the box below. Also, put your Ammeters with appropriate
polarity for the measurement.
Table 2: Measured and Calculated current values in the circuit in Figure 10 of the Lab. Make sure
you use an appropriate number of significant figures and include your units.
Calculated Current
Measured Current
I1
I2
I3
I4
3
59
Usingtheinstructionsstartingonpage4ofthekitinstructions,practicesolderingusingthepractice
padsontheedgeofthecircuitboardasshowninFigure2intheinstructions.Beforeproceeding,haveyour
TAinspectyoursolderingtechnique.
Usingtheinstructionsstartingonpage6ofyourkitdocumentation,solderthecomponentstothe
board.Payspecialattentiontotheorientationofthefollowingcomponents,astheymustbeinstalledin
thecorrectorientation:
C6100Felectrolyticcapacitor
IC1555or1455timerintegratedcircuit
C1,C2,C310Felectrolyticcapacitor
Q1,Q22N3904transistors
LEDs
DemonstrateyourworkingboardtoyourTA.Ifyouhaveproblems,askhimorherforassistancein
diagnosingthecause.
60
FAQs
61
LabNote
Procedure / DATA
62
Date
. 2015
Incidentsunlightcanbeconvertedintoelectricitybyphotovoltaicconversionusingasolarpanel,which
consistsofindividualcellsthatarelargeareasemiconductordiodes.Lightisabsorbedinthesilicon,
generatingbothexcessholesandelectrons.Theseexcesschargescanflowthroughanexternalcircuitto
producepowerandtheequivalentcircuitofasinglecellamountstoacurrentsourceasshowninFigure5.
Inelectricalengineering,itisoftenofinterestwhencharacterizingadevicetolookatitscurrentand
voltagerelationship,knownastheIVcharacteristicsofthedevicebecauseofthecurrentversusvoltage
graphsthatarecommonlyusedtorepresentthisrelationship.Similarly,anotherrelationshipthatisof
interestforadeviceisthepowervoltageorPVcharacteristics.
TheIVcharacteristicsofasolarpanelarenonlinearandfollowthegeneralshapeandequationshown
inFigure6.Thecurrentismaximumfortheshortcircuitcondition(i.e.,V=0),andthevoltageismaximum
fortheopencircuitcondition(i.e.,I=0).Maximumpower,Pmax,correspondstoVmandIm.
Solarpanelpoweroutputfacingabrightsun:140W/m2
For24/7poweravailability,deepdischargebatteriesstoreenergyfornighttimeorovercast
daytimeuse.Solarpanelefficiency:14%
Efficiencydecreaseswithhightemperatures.
AneverydayapplicationofsolarpowerissomeoftheLEDflashingsignsfromtheTxDOTin
schoolzones,forinstance.
Vocpercell(refertofigure6):0.50.6V
A12Vbatterychargingpanelhas(refertofigure6):36cells,atotalVoc19V,aVm14V
Eachseriescellinasolarpanelmaycontainmultipleindividualcellsinparalleltoincreasethe
totalsurfaceareaandpowergeneratingcapability.
Solarpowercost:$45/Wperpanel+$45/Wforbatteriesandelectronics
Vm,Im,andtheThveninequivalentresistancevarywithlightlevel,makingoperationat
maximumpowerdifficult.
DCDCconvertersoftenusedtomatchtheloadresistancetotheThveninequivalent
resistanceformaximumpoweroutputandchargestoragebatteriesinawaythatmaximizes
batterylife.
Ideally,asolarpanelshouldbeperpendiculartheincidentraysofthesunandtrackitlikea
sunflowertomaximizeenergycapture.SunpositionsforAustinareshowninFigure7.
Typically,panelsarefixedinpositionfacingtruesouthduetohighwindsurvivabilityand
adjustedonlyseasonallyforaltitude(winterangle=latitude+20,summerangle=latitude
10).ForAustinssuggestedseasonalpanelangles,seeFigure8.
64
65
1. Ifpossible,performtheexperimentsoutsideinfullsunlight.Analternativetothesunistousethe
lampsprovidedinENS212(thepowerlab).
2. Ifyouareperformingtheexperimentinsunlight,orientthepanelsothatitisperpendiculartothe
sun.Shadowsprojectedbythesidesofthepanelwillhelpyoualignit.Holdingapencilalongside
andperpendiculartothepanelisalsohelpful.Theshadowofthepencilwillbeaminimumwhen
thepencilpointsdirectlytowardsthesun.
3. Ifyouareusingalamp,visuallyorientthepanelsothatitisperpendiculartothelamprays.Keep
thepanelatleast12inchesfromthelightbulbtoavoidoverheatingthepanel.Ifyouareusinga
focusedbeam,donotconcentratethelightonasmallpartofthepanel,butinstead,spreadthe
beamovertheentirepanelface.
4. Oncetheexperimentsbegin,donotmovethepanel.
5. Addavoltagedividercircuitacrossthepanelvoltage,whichconsistsoftwohighvalueresisters
connectedinseries.TheTAwillprovidethis.
6. RunwiresfromAI0tooneofthevoltagedividerresisterandalsorunwiresfromAI1tothesensing
resister(10)
7. YouwillusetheVIyoucreatedforprelabtoacquiredata.
8. EnsurethatthefileyouarewritingtoisanExcelfile.Todothis,doubleclickthewritetofilenode
intheblockdiagramandadialogboxwillpopup.SelectMicrosoftExcelundertheFileformat
categoryandcreateafileinaconvenientfolderlocationundertheFilenamecategory.
9. Turnthepotentiometercounterclockwiseuntilitcannotbeturned.
10. StarttheVIandslowlyturnthepotentiometerinaclockwisedirectionuntilyoureachtheend.
11. StoptheVI.
12. YouwillusetheloggeddatatocreateanIVcharacteristicplotandPVcharacteristicplotofthe
SolarpanelonMSExcel.
13. BasedonthedataacquiredyouwillalsousetheequationinFigure3togenerateatheoreticalIV
andPVplot.
14. Haveboththemeasuredplotandthetheoreticalplotonthesamegraphforcomparison.
15. CompletetheSolarPowerLabReportusingthehardcopyyoubroughttolabandturnacopyinto
yourTAattheendoflab.
Acknowledgments:
The solar panels and associated hardware used in this lab were donated by TXU Electric.
The introductory material was taken from Dr. Ewald Fuchs lecture notes for ECEN3170,
Energy Conversion I, University of Colorado at Boulder.
For More Information:
Three excellent web sites for information on solar power are Jade Mountain,
www.jademountain.com, the Texas Solar Energy Society, www.txses.org, and Southwest PV
Systems, www.southwestpv.com.
This lab was created by Dr. Grady on 11/16/01 and modified by Seunghyun Chun on 12/18/2010.
FAQs
LabNote
Procedure / DATA
67
Date
. 2015
1
68
Please, state the Weather Condition (Cloudy, Sunny, or Using a light source in the lab)
Solar Power: I-V plot (Both Theoretical and Measured values in the same plot)
Solar Power: P-V plot (Both Theoretical and Measured values in the same plot)
Explain why there is a difference between the theoretical values and measured values.
2
69
Introduction
Thefinalprojectwillbedoneingroupsof34people.Eachmemberofthegroupwillberesponsible
foroneofthesubsystems.Theoverallgoaloftheprojectistodesignandbuildarobotcarthatwill
automaticallytraverseanobstaclecourse.Asameobstaclecoursecanbefoundacouplepageslater.The
obstaclecoursewillbesplitupintosixphases.Thegradethatyouandyourgroupwillgetdependson
bothhowmanyphasesoftheobstaclecourseyourrobotsuccessfullyclears.Therewillbearobotcar
competitioninthefinaldemonstration;moreover,theawardandprizewillbeendowedtothebest
performedgroup.
Grade Breakdown
Phase
1
2
3
4
5 (Bonus)
6 (Bonus)
70
SubSystem Overview
SteeringLogic
Description:Willworkoncontrollingtheindividualmotorsthatdrivethecar.Needstoaccept
andperformsimplefunctionssuchasturningleft/right90degrees,etc.
TrainingModule1:Rock/Paper/Scissor
LineFollower
Description:WillworkonthecircuitandLabViewtogetthecartofollowadarklineonawhite
surface.InterfacesstronglywiththeSteeringLogicsystem.Needstofigureouthowtogetthecar
tostayontheline,followsharpturns,andgetbacktothelineifitgetsoff.
TrainingModule2:OPAmplogicLab
ProximitySensorLogic
Description:theIRdistancesensorswillbeusedtonavigatethecarthroughthepartofthemaze
thathaswalls.Therewillbenolinestofollow.
GeneralPathAlgorithm
Description:Mainlyasystemsintegrationandprogrammingheavysystem.Willhavetointerface
stronglywitheveryonetomakesurethatthecarfinishesthemaze.
Training Module
Thefinalprojectisdifferentfromyourpreviouslabsinthatyouwillnotgetasetofinstructionsto
followandimplement.Instead,youwillneedtobrainstormwithyourteamtodeterminethebestdesign
foryourrobottocompletetheobstaclecourse.Inordertohelpyouaccomplishthisgoal,wehave
designedspecialtrainingmodulesthateachstudentmustcompletebeforestartingtoworkonyourfinal
project.Eachsubsystemwillhaveitsownassociatedtrainingmodulethatismeanttoexposethe
studentstosomeoftheconceptsandskillsnecessarytocompletetheirsubsystem.Keepinmind,
however,thatmuchofthefinalprojectwillrequireeachstudenttoperformmanysearchesinthe
literatureandonlineinordertocomeupwiththebestsolution.
71
Obstacle Course
Yourcarwillneedtofollowthesolidblacklineasitmakesitswaythroughthecourse.Thenumberof
phasesthatyourcarsuccessfullyclearsdeterminesyourgrade.
Phase1:Straightline.Thecar
mustbeabletofollowastraight
Phase2:Slowturn.
lineforadistance.
Thecarmustbeableto
takeseverallargeangle
Phase3:Sharpturn.
Thecarmustbeabletoa
90degreeturn.
Phase4:Atacertain
sectionofthecourse,the
TAwillintroducean
obstacleinthepathof
yourcar(suchasabook).
Thecarmustbeableto
sensethisandstop
Phase5:Thecarwillnavigatethroughasectionof
movingwhiletheobstacle
themazewithnolinesontheground,onlywalls.The
isthere.TheTAwillthen
proximitysensorshouldpreventthecarfromhittinga
removetheobstacleand
wall.
thecarshouldresumeits
path.
Phase6:Attheendofthecourse,theguideline
willturnred.Thecarshouldstophere.
72
Aflexsensorhastheuniquepropertythatitchangesitsinternalresistancebasedonhowmuchitis
bent.Atypicalflexsensorwillhavearesistanceof20kOhmswhenitisflat.Thisresistancegradually
increasesandthesensorisbentfurther.Typicalrangesofbentresistancesarebetween40kand
60kOhms.Figure1showstheSpectraSymbolFlexSensor.Noticethatthereisagridononesideofthe
sensor.Thegridshouldbefacingoutwardwhenthesensorisbent,astheresistancewillnotchangeif
benttheotherway.
Flexsensorscanbeusedinavarietyofapplications,fromroboticbumperstoplayingtheairguitar,
andonceyouunderstandthebasics,withalittlecreativitythepossibilitiesareendless!
73
Figure1:SpectraSymbolFlexSensor
TheFlexsensorhastwoleads,andsinceitactsmuchlikearesistor,theorientationoftheleadsdoes
notmatter.Anadditionalresistorisrequiredinordertoturnthesensorintoasimplevoltagedivider.The
outputvoltageissenttoanAnalogInputpin.
Figure2:FlexSensorschematicmadeinMultisim
3. FillinChart2ofyourlabreport.
4. CallaTAovertosignyourlabreporttoverifythefunctionalityofyourcircuit.
5. DownloadtheVIforthislabfromblackboard.Itshouldresemblethefollowing.
74
Figure3:FrontPanel
Figure4:BlockDiagram
6. Attachoneflexsensortoyourmiddlefingerandtheothertoyourringfinger.Refertothechart
belowandtheVItodeterminewhichsensorshouldgoonwhichfinger.Thevaluesofthesetwo
sensorswilldeterminethepositionaccordingtoTable1.A1representsabentfinger.For
example,ifthemoveisPaper,thenneithersensorwillbebent,andifthemoveisScissors,then
onlytheringfingershouldbebent.
7. Connectthe0pinstoground.
8. **Ensurethatthegridsideofthesensorisfacingupwards.Youcanattachthesensorstoyour
fingerswithtapeorrubberbands.Experimentwithwhatpositioningofthesensoronthefinger
worksbest.
75
Ring Finger
Bit 1
0
0
1
1
Middle Finger
Bit 0
0
1
0
1
Table1
Decimal Number
0
1
2
3
Game Move
Paper
Invalid
Scissors
Rock
9. Writeinyourlabnotesectiontoindicatewhichfingergoestowhichinputport(AI_0,AI_1).
10. ThesetupscreenfortheDAQAssistantisshowninfigure5.
Figure5:DAQAssistantsetup
11. AstatemachinewasusedtoprogramtheRockPaperScissorsgame.Atthestartofeachgame,
thevalueoftheflexsensorsisreadinontheAnalogInlinesusingtheDAQAssistant.The
voltagesfromtheflexsensorsarethencomparedtoathresholdvoltagethatdetermineswhether
thesensorisbentornot.Thismayvarydependingontherestingandbentresistanceofthe
particularflexsensor.Inourcase,agoodthresholdwas3V.Oncethemoveoftheuseris
determined,thesoftwaredetermineswhowinstheroundanddisplaysapopuptotheuser.If
theplayerpressesstop,thenthestatemachinewillgotoaQuitstate,andtheprogramwill
determinewhowonthemostRockPaperScissorsbattles.Thefrontpanelandblockdiagramare
showninFigure4and5.Taketimetolookthroughthevariousstatesinthisvi.Whenyou
understandhowitworks,playthegame!
12. Playwiththeprogramandthenwhenyouaresatisfiedwithitsperformance,callaTAoverto
verifythefunctionalityofyourgame.
13. Measureresistanceorvoltageforothersensors.
(Photoresistor:resistancemeasurement,IRsensor:directVoltagemeasurementwithwhiteline)
76
Acknowledgement:AspecialthankstoJackieLeverett(SummerELPInternofNI)fortheexample
RockPaperScissorsgame.
Lab Goals:
Learn how a photoresistor works
Hands on experience building a voltage divider
Required Lab Material:
Photoresistor, IR sensor
5x 20k Ohm resistors
Description
UsetheAPIcreatedbytheSteeringsubsystemandaphotoresistorcircuittodetectawhitelineona
blacksurfaceandfollowtheline.Mustdeveloptheoptimalphotoresistor/IRsensorsetuptoaccomplish
thistask.
Thelinewillnotbejustastraightlinebutwillalsohavesharp(90degree)turns.Thispartofthecar
mustenablethecartostayontheline.Ifthecarlosestrackoftheline,thereshouldbeawayforthecar
tofindthelineagainandcontinueinthecorrectdirection.
Suggested Reading
Photoresistor
o http://www.societyofrobots.com/schematics_photoresistor.shtml
Photocelldatasheet
o http://www.advancedphotonix.com/ap_products/pdfs/PDVP8103.pdf
Deliverables
Buildthephotoresistorarraytokeeptrackofthewhitelineduringoperation.Couldpotentiallyuse
anarrayofphotoresistorstobettertheperformanceofthissubsystem.Thealgorithmwillvary
accordingly.
FollowLine(Boolean)
Follows the line as long as the Boolean is set
to true.
FindLine()
Searches for the line
77
LabNote
Procedure / DATA
78
Date
. 2015
Name:
EID:
By placing by name and EID above, I am certifying that I determined the answer to the
questions posed below and did not copy my answers from a fellow student.
You will need 2 completed copies of this prelab. One is to be turned in to your TA at the
beginning of the lab session. The other one is to be done in your lab manual.
Vai_0 =
Figure 1
3. Draw a circuit diagram for the following. Omit the AI_0 wire. Instead, draw where you would
place your voltage meter to obtain the voltage at AI_0
1
79
Rflex (kOhms)
20
40
60
Vai_0 (Multisim)
6. Do the simulated values in Multisim match the calculated values from your equation in Q2?
Why or why not?
2
80
Submitted by (Print names)
1
81
Halfway bent
Fully bent
Halfway bent
Fully bent
Question: Do the values calculated in the prelab from an analytical approach, simulated in
Multisim and measured on the breadboard match? Why or why not?
White
Red
20 cm
30 cm
TA Signature:
Question: How do you apply above measured values of your sensors for the sensor system for
your robot car? Please, describe your thoughts concisely.
3
83
The goal of this exam is to measure your abilities to build a circuit on a breadboard based on a
circuit schematic and accurately measure currents and voltages from this circuit. The circuit you
are to build is shown below:
Your MUST have a TA check your circuit BEFORE moving onto the measurements.
r
Build this circuit using the breadboard and resistors provided. Use the multimeter provided to
fill in the table below. The value of DC will be provided to you by your TA.
Quantity
Value
(include units)
Verification
By TA
Notes
1. All resistors have a tolerance of 5%
2. You may write any information that you want on this sheet.
You CANNOT use MultiSim, the circuit simulation package
3. All values placed in the table above MUST BE CONFIRMED by TAs.
NO EXCEPTIONS!
4. If you blow a fuse in the multimeter when taking a measurement, you will not receive any
credit for that measurement or any measurements that would still need to be taken.
5. All resistors must be returned to the packet provided at the end of the exam.
84
85
1k
1.5k
9V
6V
1k
1.5k
330
1k
1.5k
RL=470
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
86
Assignment 2: Construct the second circuit
1.5 k
1.5 k
1.5 k
2.2 k
5.1k
1.5 k
15V
1.5 k
RL=1.0 k
5V
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
87
FAQs
88
LabNote
Procedure / DATA
89
Date
. 2015
Name:
EID:
By placing my name and EID above, I am certifying that I determined the answer to
the questions posed below and did not copy my answers from a fellow student.
You will need 2 completed copies of this prelab. One is to be turned in to your TA at
the beginning of the lab session. The other one is to be done in your lab manual.
Questions
1. Select the correct choice to complete the following two sentences:
a. To find the Thvenin equivalent voltage of a circuit, one must measure the
open circuit (i.e. no load) output (voltage / current).
2. Derive and draw the Thvenin equivalent circuit (i.e. find Thvenin voltage and
Thvenin resistance) for the circuit in Figure 1 of your lab manual, that has a load
resistance of 470 . (The 470 resistor is the load resistor and should NOT be
included in your Thvenin equivalent circuit calculations.)
Show your work in order to get full credit.
3. Using Multisim, derive and draw the Thvenin equivalent circuit (i.e. find Thvenin
voltage and Thvenin resistance) for the circuit of Figure 2. To use Multisim, you
will need to enter the circuit of Figure 2 and use a virtual voltmeter to measure the
open-circuit voltage. The diagram below shows what your simulation should look
like. Double click on the virtual voltmeter and change the resistance to 10 M.
Print your simulated results showing your voltage measurement and attach this
print to the Prelab. To complete the derivation of the Thvenin equivalent circuit,
you will need to measure the short-circuit current using a virtual ammeter,
measured at the output terminals. Print your simulated circuit showing the current
measurement and attach it to the Pre-lab.
Hints:
To measure short-circuit current remember that the internal resistance of an ideal
ammeter is zero ohms. To measure the short-circuit current, you can simply place
the ideal ammeter across the load terminals.)
In Multisim, you can select the circuit you have entered, copy it, and paste to
create an exact copy. You can then use the original circuit and the copy to
simulate VOC and ISC simultaneously.
1
90
Remember that VTH = Voc, the open-circuit voltage and RTH = Voc/ISC, the shortcircuit current.
4. Enter your Thvenin equivalent circuit into Multisim. Your circuit will look like the
one below with your derived values for VTH and RTH substituted in the circuit. Using
a virtual voltmeter and virtual ammeter, measure the open-circuit voltage and shortcircuit current. Confirm that these measurements are identical to those measured in
step 3. Print out your simulated results and attach them to the pre-lab.
2
91
1
92
Quantity
Open Circuit Voltage VOC
3. Draw the Thvenin Equivalent circuit you derived in the assignment 1 (Step 9).
RL
100
470
1 k
3.9 k
10 k
2
93
Quantity
Open Circuit Voltage VOC
3. Draw the Thvenin Equivalent circuit you derived in Task 2 (Step 8).
Assignment 2
RL
100
470
1 k
3.9 k
10 k
Power (mW)
3
94
3.0
2.5
2.0
1.5
1.0
0.5
Power
2000
4000
6000
8000
10000
4. Record your measured values for Step 11 in the following table. Be certain to record the
quantities measured and their units.
4
95
Description
Responsibleforthereliableimplementationofsteeringfunctionsaswellasbuildingthecircuitto
controlthemotors.Thissubsystemcontributesgreatlytothesuccessoftheproject.Withoutreliable
steeringthecarwillnotbeabletocompletethecourse.
Suggested Reading
Thefollowingdocumentsmayhelpyoucompleteyourtask:
HBridge
o http://en.wikipedia.org/wiki/H_bridge
L293DHBridgedatasheet
o http://www.parallax.com/Portals/0/Downloads/docs/prod/compshop/60300019
L293DDatasheet.pdf
DCMotor
o http://en.wikipedia.org/wiki/DC_motor
Deliverables
MustcreateanAPIforturningfunctionsthattheothersubsystemscancall.Canpotentiallyutilize
theWheelEncodertoensurereliabilityofthesteering.Needtoalsobuildthecircuittocontrolthe
motors.
TurnCounterClockwise()
When called, the car should turn counter
clockwise
96
TurnClockwise()
Stop()
Forward()
Backward()
Pause()
Resume()
**Thesearejusttheminimumintermsofsteeringfunctions.Dependingonyourspecific
implementationyoumightwanttoimplementmorecomplicatedfunctionsthatcombinethecore
functions.
Description
ProgramandbuildthecircuittoutilizetheIRsensorsandavoidobstaclesinthepath.Therewillbea
sectionofthemazethatwillincludeasectionwithnolineandthecarwillhavetomovethroughthat
areawithouthittingthewalls.Also,wewillrandomlyputdownaroadblockintheroadatsomepointin
themazeandthecarwillhavetostopandwaitfortheobstacletoclear.
**NeedstocallfunctionsfromtheSteeringAPI
97
Suggested Reading
SharpIRRangeFinderDatasheet
o http://www.sparkfun.com/datasheets/Sensors/Infrared/gp2y0a02yk_e.pdf
FormulaNode
o http://zone.ni.com/reference/enXX/help/371361D01/glang/formula_node/
Threshold1DArray
o http://zone.ni.com/reference/enXX/help/371361D01/glang/threshold_1d_array/
InRangeandCoerce
o http://zone.ni.com/reference/enXX/help/371361E01/glang/in_range_and_coerce/
Comparison
o http://zone.ni.com/reference/enXX/help/371361E01/lvexpress/comparison/
Deliverables
APIoffunctionsthatutilizeyourIRRangeFindercircuit
Navigate()
The car should be able to navigate between
two walls without crashing. There will be no line
to follow.
ObstacleFound()
An interrupt that stops the motion of the car
when an obstacle is in front of the car.
Need to resume operation of the car when
obstacle is removed.
98
LabNote
Procedure / DATA
99
Date
. 2015
Name:
EID:
By placing by name and EID above, I am certifying that I determined the answer to the questions
posed below and did not copy my answers from a fellow student.
You will need 2 completed copies of this prelab. One is to be turned in to your TA at the
beginning of the lab session. The other one is to be done in your lab manual.
4. Draw a breadboard connection of the Hbridge including myDAQ ports:
100
Aphotodiodeconvertslightintoeithercurrentorvoltage,dependingonthemodeofoperation.
Whenaphotonofsufficientenergystrikesthediode,itexcitesanelectron(photoelectriceffect).
Belowisacircuitdiagramforaphotodiode:
Reviewthephotodiodedatasheetformoreinformationonhowtowirethephotodiodeandits
characteristics.
http://www.optekinc.com/datasheets/OP950.PDF
101
OnthemyDAQOpticalThereminVIusetheMaxandMinPitchknobstosetthehighestandlowest
frequenciestobegenerated.UsetheMaxandMinLevelslidersforPitchandGaintoconfigurethe
amplituderangethatwillbeseenbyeachsensor.Theprogramscalestheoutputfrequencyrangeand
gaintobeequallydistributedacrosstheamplituderangesforthoserespectiveinputs.
ToconfigurevisualpitchmarkersselectthenotesyourwanttodisplayinthePitchMarkersarray
control.ToconfigureautotuneselectthenotesyouwanttotunetointheAutoTunePitchesarray
control.EnableautotunewiththeAutoTunetoggleswitch.
Assignment 1: Building the Circuit
BuildtwoinstancesofthephotodiodeamplifiercircuitasshowinFigure1:
1.
2.
3.
4.
5.
6.
**Note:TheDAQAssistantisconfiguredforthemyDAQunittobenamedDev1.Ifyouhave
configuredyourmyDAQdifferentlyyouwillneedtomodifybothDAQAssistantVIs.
Also,theDAQAssistantVIperformingtheanalogoutputisconfiguredbydefaulttogenerateat
100kS/sandwrite6.5ksamplestothemyDAQatatime.Dependingontheperformanceofyour
computeryoumayexperienceabufferunderflowerror200621becausetheprogramcannotgenerate
datafastenoughforthemyDAQtomaintaincontinuousanalogoutput.
102
Ifyouexperiencethiserroryouwillneedtomodifyone,orboth,ofthefollowingsettings:
1. Increasethe"SamplestoWrite"inthesecondDAQAssistantVIandincreasethe"Numberof
Samples"intheSimulateSignalExpressVI.Bothofthesevaluesshouldbethesame.
2. Decreasethe"Rate(Hz)"inthesecondDAQAssistantVIanddecreasethe"Samplesper
Second"intheSimulateSignalExpressVI.Bothofthesevaluesshouldbethesame.
Itwilltakealittlebitoffiddlingtofigureoutwhichsettingsworkbestwithyourcomputer.Youwant
tohavethelargestsamplingrateandsmallestnumberofsamplestowriteaspossiblebecauseitwill
minimizethesystemdelayfrominputtooutput.
1. TestyoursystemaccordingtoFigure2
2. Whenyouaredone,callaTAovertosignyouoff.
TASignature:_________________________________________________________
Acknowledgement:AspecialthankstoLizSavage(EmployeeofNI)fortheexampleopticaltheremin
circuit.
103
Description
Mainlyasystemsintegrationandprogrammingheavysystem.Willhavetointerfacestronglywith
everyonetomakesurethatthecarfinishesthemaze.Hastodevelopthealgorithmthatwillutilizethe
Steering,LineFollower,andProximitySensorAPIstofinishthemaze.Refertothefollowingpageforthe
sampleobstaclecourse.
Mission
Readthroughthesuggestedreadingandworkthroughtheexamples.Youmayormaynotdecideto
utilizethosefeaturesofLabView.Setupaprojectfileforyourgroupsrobotandcomeupwithan
organizationalstrategy.
Suggested Reading
LabViewSubVI
o http://zone.ni.com/reference/enXX/help/371361E01/lvconcepts/creating_subvis/
TimedLoops
o http://www.facstaff.bucknell.edu/mastascu/elessonshtml/LabVIEW/LabVIEW02Time
dLoop.htm
Deliverables
Flowchartofalgorithm
LabViewcodetotraversetheobstaclecourse
104
LabNote
Procedure / DATA
105
Date
. 2015
Name:
EID:
By placing by name and EID above, I am certifying that I determined the answer to the questions
posed below and did not copy my answers from a fellow student.
You will need 2 completed copies of this prelab. One is to be turned in to your TA at the
beginning of the lab session. The other one is to be done in your lab manual.
4. Label the OpAmp below in a way that makes sense with the OpAmp from the
previous problem:
5. Label each leg of the photodiode as either cathode or anode and indicate where it should
be connected on the Op Amp.
6. (Path Logic) Describe your groups path logic or algorithm. Please, specify the sensor types
(Photoresistor, IR) and those Input/Output ports in your myDAQ. You may mention the number of
myDAQs which you need. Moreover, please, describe your labview algorithm which combines
sensor signals and motor controls.
107
EE302LabManual
P a g e |108
5.0 Appendices
Appendix A: Multimeter Basics
What is a Multimeter?
Ameterisameasuringinstrument.Anammetermeasurescurrent,avoltmetermeasuresthe
potentialdifference(voltage)betweentwopoints,andanohmmetermeasuresresistance.Amultimeter
combinesthesefunctions,andpossiblysomeadditionalonesaswell,intoasingleinstrument.
Typicallyithasthreeports;oneformeasuringvoltageandresistance,oneformeasuringcurrent
whiletherestisusedasacommonportformeasuringalloftheabove.
Mostofthemultimetersusednowadaysaredigitalmultimetersandtheycandisplaymeasurements
uptooneortwodigitsafterthedecimalpoint.
Forsafetyreasons,youmustNEVERconnectamultimetertothemainsupply.
108
EE302LabManual
P a g e |109
Measuring Current
Tostartwith,youmayneedtobreakthecircuitsothatthemultimetercanbeconnectedinseries.
Allthecurrentflowinginthecircuitmustpassthroughtheammeter.AnammeterhasaLOWresistance.
Wecanusethemultimeterasanammeterbyrotatingtheknobandsettingitinthecurrentmeasuring
portionofthemultimeter.
NowwemustconnectoneendoftheredwiretotheportwithmAorAsign.Theotherendofthis
wireshouldbeconnectedtothecurrententeringnode(rednode).Theblackorwhitewireshouldbe
connectedtothemultimeterportwithCOMsign.Theotherendofthiswireshouldbeconnectedtothe
currentleavingnode(blacknode).
Aschematicdiagramshowingtheplacementoftheammeterisshownbelow.
R
R
2V
109
EE302LabManual
P a g e |110
Measuring Voltage
Forvoltagemeasurements,youdonotneedtobreakthecircuit.Tomeasurevoltagedropacrossa
resistorinanelectricalcircuit,onemustconnecttheMultimeterinparallelwiththatparticularresistor.
Inthiscase,amultimeterbehavesmorelikeanactualvoltmeter.AvoltmeterhasaveryHIGHresistance
insideit.Wecanusethemultimeterasavoltmeterbyrotatingtheknobandsettingitinthevoltage
measuringportionofthemultimeter.
NowwemustconnectoneendoftheredwiretotheportwithVsign.Theotherendofthiswire
shouldbeconnectedtothecurrententeringnode(rednode)oftheresistor.Nowtheblackorwhite
wirethatoftenrepresentsNeutralshouldbeconnectedtothemultimeterportwithCOMsign.The
otherendofthiswireshouldbeconnectedtothecurrentleavingnode(blacknode)oftheresistor.
Aschematicdiagramshowingtheplacementofthevoltmeterisshownbelow.
2V
Typically,voltagemeasurementsareusedmuchmoreoftenthancurrentmeasurements.The
processingofelectronicsignalsisusuallythoughtofinvoltageterms.Itisanaddedadvantagethata
voltagemeasurementiseasiertomake.Theoriginalcircuitdoesnotneedtobechanged.Often,the
meterprobesareconnectedsimplybytouchingthemtothepointsofinterest.
110
EE302LabManual
P a g e |111
Measuring Resistance
Anohmmeterdoesnotfunctionwithacircuitconnectedtoapowersupply.Ifyouwanttomeasure
theresistanceofaparticularcomponent,youmusttakeitoutofthecircuitaltogetherandtestit
separately.Amultimeterworksbypassingacurrentthroughthecomponentbeingtested.Thepictures
belowshowtheresistanceof21kresistorsinparallel.
Aschematicdiagramshowingtheplacementoftheohmmeterisshownbelow.
111
EE302LabManual
P a g e |112
EE302LabManual
Serial Number
Lab 1
Circuits Lab I
Lab 2
Circuits Lab II
Lab 3
Circuits Lab III
Lab 4.1
Breadboard and Measurements Prelab
Lab 4.2
Equipment
Lab 4.3
Breadboard and Measurements Lab Report
Meeting 9 Algorithm Brainstorm
P a g e |113
Title
9/02/11
9/9/11
9/16/11
9/23/11
9/24/11
9/24/11
10/14/11
Date
Page Number
4
5
6
8
12
13
18
In industry, you will document numerous entries, and have multiple volumes of engineering
notebooks (i.e. when you reach the last page of your first notebook, you label it volume 1, get a new
one and start volume 2, etc.) over the span of a projects lifetime, which could be several years or
even decades. Also, experiments or labs in industry, are much longer than the twohours allotted
for EE302 Lab. You may have multiple experiments running simultaneously so your serial entries
may not be sequential for a particular experiment in your notebook. If you had to refresh your
memory on something you wrote four years ago relating to a specific result of a fiveweek
experiment, spanning one hundred pages with three other experiments intermingled in that time
frame (after narrowing the experiment down to volume 2 of 7), this could be a painful search if you
did not subdivide your experiment carefully in your table of contents and notebook.
8. Figures and Tables should always be numbered, titled, and entered into your Table of
Contents or a separate List of Figures and Tables immediately following your table of
contents. The reasoning is that any data or information that you deemed important enough to have
grouped into a table, plotted on a graph, or illustrated on a diagram or sketch is important enough to
be indexed. Figures or tables often indicate important results or conclusions, which should be
documented for easy reference in your table of contents.
9. When you paste any pages into your notebook:
Do so with rubber cement or a glue stick, so that it is not easy to rip out the pages for
the reasons presented in step zero above. Many other adhesives such as tape or Elmers
glue are too messy or unreliable as a permanent adhesive.
Sign and date what you paste into your notebook with a portion of the signature
and date on the page you are inserting and the remaining portion of your signature
and date spilling onto the page of your notebook that you are pasting the item into.
The reasoning here is just like signing the back of an envelope that includes an official,
confidential document if the signature is broken, you know the item was tampered with
or is missing from your notebook.
Always include any pasted items into your table of contents or list of figures and
tables. This is done as a further precaution to ensure that the inserted information is
documented as part of the permanent pages of the notebook so that, should something
fall out, you can reglue it where it belongs, or should it be removed, you can prove what
was removed.
EE302LabManual
P a g e |114
11. Print your name, sign, and date EVERY page in your notebook when you enter
information on that page. It is common to do this in the upper right or lower right corner of the
page, and you should be consistent with whatever convention you choose once again. Although a
tedious task, this proves UNDENIABLY that YOU are writing in your notebook on THAT particular
date and consequently, that the work done on that page is YOURS. If you can claim your work, then
you can claim credit for your ideas and prove you did the work first, should you have patent,
copyright, or Nobel Prizewinning thoughts. Simultaneity of inventions is a very common occurrence
in science, and the glory sometimes goes to the person who recorded their ideas a day earlier.
12. Comments on dates: You are going to be writing dates in your notebook constantly.
These dates refer to when you are writing in your notebook, not when you did what you are
writing about! Remember, your notebook is a chronological record and time starts when you put
your pen to the paper.
a. In the table of contents, write the date you entered your actual work into your notebook,
not the date you performed your work or the date you happen to be updating your table
of contents.
b. When you sign and date your notebook, you again write the date you are entering
information on that page, not the date you arrived at that information.
c. When you paste something into your notebook and sign the pasted item, you once again
write the date you are pasting this item into your notebook.
d. In reality, your notebook will be constantly maintained, so usually you are entering
information into your notebook as you are performing the functions you are writing
about, and the dates concur. However, if this is not the case, such as for your labs 1 and 2,
and you are concerned about documenting when you did the labs, you may choose to put
a note at the beginning of your lab writeup stating that the lab was actually performed
on X date in the past. In general, this is a good practice, but your TA will not enforce it
heavily.
e. If you want to add a comment on, or a reference to, a recent development of one of your
past experiments in the margin of the pertinent page of your original experiment, this is
perfectly acceptable, as long as you write Comment in margin/below was added on:,
write the current date, and sign it.
13. The serial number and title written in your table of contents should match EXACTLY to
what you write on the referenced page in your notebook on the first line of the page and be
underlined. The date of your signature, figure, and table numbers and titles should also match
the table of contents. There is obviously no use in having a table of contents if it does not accurately
represent or refer to what is in those pages of your notebook.
14. If there is a significant amount of blank space left on a page that you were writing on
(about 1/8 or more), you should crossout the remaining space or draw a vertical line through
it to demonstrate that no further information will be written on that page. An alternative is to
draw a horizontal line across the page and begin the next entry directly beneath it. In this case, you
must make sure to print your name, sign, and date both portions of the page. Remember that the
dates will be different, if the second entry is not being entered on the same date as the previous one.
So your page looks like:
Lab 1: Part I
Name, signature, Date
Blah, blah, blah
114
EE302LabManual
P a g e |115
Lab 2: Part II
Name, signature, Date
Yaddi, yadda, yah
15. Making mistakes while writing in pen often concerns students. However, you are bound to
make mistakes, which you will crossout by drawing a line through the item ONCE or TWICE. You
should still be able to read your crossedout information. DO NOT BLACK OUT MISTAKES NO
MATTER HOW SURE YOU ARE OF YOUR ERROR. Assume that you arrive at some results after
performing a twoweek experiment and the data just does not seem to be correct. So you blackout
your experiment, since it appears wrong, and pursue a different method for your experiment. A
month later, after you have finished your experiment by means of method two, you realize your logic
was completely faulty in arriving at your results for method two. You remember that you had done a
prior method, which now seems to be correct. So you excitedly turn to method one in your notebook
to try to find your data and procedure because you no longer remember the details, only to find
blackness. There is a chance you might be able to reproduce your discovery if you think back hard
enough, but you still have to do another twoweeks worth of work again. However, if you cannot
remember what you did, you are condemned to starting over. The important fact is that you realized
your error, corrected it, and left it there for posterity in case you need to refer to lessons learned
during your experiment. In summary, dont black out what appear to be errors. Leave them legible in
case the errors turn out to be correct.
16. You should NEVER tear pages out of your notebook. If your notebook was meant to have
pages torn out, step one on keeping a permanently bound notebook would not exist. If your
notebook IS permanently bound and missing pages, this casts doubt as to what was on those pages
and why they were thrown away. Is there missing information to your experiment? Are you hiding a
key discovery from your employer to keep the glory and money to yourself even though you and
your thoughts are considered their intellectual property? Are you sabotaging your project because
you are a disgruntled employee? The bottom line: missing pages bring up questions and speculation,
which diminishes your credibility as an engineer and/or employee. If for some reason you already
tore out pages of your notebook, you should write on one of the adjacent pages where the
discontinuity in your notebook occurs that X number of pages were intentionally torn out of this
notebook because, print your name, sign, and date this comment, and get a TA to sign and date the
comment.
17. It is common practice with engineering notebooks for someone other than yourself,
such as your manager or a colleague in the lab, to validate your work by writing Read and
Understood by: or Witnessed by:, printing their name, signing, and dating your notebook
everywhere you have items pasted into your notebook (similar rules on how to do this apply
to them), and at the end of each major section of your experiment. This serves as a sanity
checkpoint, where they might point out gross errors, in the spirit of collaboration, so that you do not
get too far without realizing your logic, measurements, or calculations are wrong and you need to
start over or make corrections. TAs will be enforcing this loosely in the sense that they will initial
and date those sections of your notebook due to time constraints with the number of students in lab.
Partners or Collaborators (if any) Give credit where it is due if you did not work on
something alone.
Objective What are your goals for the lab? This section should be concise and to the
point.
115
EE302LabManual
P a g e |116
EE302LabManual
P a g e |117
117
EE302LabManual
P a g e |118
14.
15.
16.
17.
18.
19.
20.
118
Complete?
EE302LabManual
P a g e |119
Member 1
Group
Member
Member 2
Collision
Detection
Path
Detection
Other(Specify):
Motor
Control
Member 3
Member 4
Member 5
Now, out of a raw score of 100, assign each group member a grade based on your perception of how much
he/she contributed. Please be honest and explain, especially if you feel like a certain group member is over or
underdeserving.
Member 1
Member 2
Member 3
Member 4
Member 5
Contribution
I, the undersigned, certify that this information stated above is accurate and completed to the best of
my knowledge.
Student Name:
Student Signature:
LabManualfortheIntroductiontoElectricalEngineering
119