<<

ECE 53A: Fundamentals of Electrical Engineering I

Laboratory Assignment #1: Instrument Operation, Basic Resistor Measurements and Kirchhoff’s Laws Fall 2007

GeneralGuidelines: Recorddataandobservationscarefullyforeachlabmeasurementandexperiment. YoumustobtainLab.Assistant’ssignatureoneachpageofyourlabdatabefore leavingthelab.Signedpagesmustbeincludedinthereport. Makesureyouunderstandtheexperimentprocedurebeforeexecutingit.Youmust obtainenoughdatatocompletethevariouspartsoftheprocedure. RequestLabAssistant’shelptoverifyyourcircuitbeforeturningonthepower suppliesandgenerators. Pleaseoperatetheequipmentinareasonablemanner.Avoidpowersupplyshort circuits.ReportfailurestotheLab.Assistant. Parts: Equipment: Resistorsasneeded Breadboard Digital(DMM) Counter SignalGenerator

Objective: Theobjectiveofthissessionistolearntoproperlyusetheinstrumentsatthelaband toverifytheapplicationofKirchhoff’slawstosimplecircuitsthroughmeasurements.

Instrument Description : DC Power Supply TheDCpowersupplyisusedtogenerateeitheraconstantvoltage(CV)oraconstantcurrent (CC).Thatis,itmaybeusedaseitheraDCvoltagesourceoraDCcurrentsource.Youwillbe usingitprimarilyasavoltagesource.RecallthatDCisanacronymfordirectcurrent.DCmeans constantwithrespecttotime.Thevoltageproducedbyapowersupplyiscontrolledbyaknob labeled voltage .Ifthepowersupplyallowsforcurrentadjustment,currentislimitedbyadjusting theknoblabeled current .Aslongasthecircuitdoesnotattempttodrawmorecurrentthanthe valuesetbythecurrentknob,thevoltagewillremainconstant.Currentlimitingallowsthepower supplytobesetsuchthatthepowersupplydoesnotgeneratemorecurrentthandesired.This canbeusefultopreventdamagetoequipmentandpartswhichmaybeunabletohandle excessivecurrents. Thefunctiongeneratorisusedtoprovidevoltagesthatvarywithtime.Ithasfourprimary :sine,square,triangularandramp.Therearevariousparametersthatcanbevaried foreach,threeofthemareofparticularinterest:

1.Peaktopeakvoltage(010V)

2.Frequency(015MHz)

3.DCoffset

Tosetanyofthesefeatures,usetheknoblabeledwiththefeatureyouwishtomodify. Digital Multimeter Thedigitalmultimetermeasuresvoltage,currentandresistance.Thereareseparatesettingsfor measuringACandDCvalues.Ifyouexaminethefrontpanel,youwillfindprimaryfunctionsare selectedusingamultipositionknob.Functionsareaccessedbyselectingthedesired measurement.Forexample,tomeasureDCvoltage,youselectthe DCV option.TomeasureDC current,youoption DCA(orDCmA) .Themultimeteralsohasthecapabilityofmeasuringother quantitiessuchasresistance.Therearethreealignedholes(bananajacks)inthemultimeter.To measurevoltage,placethepositiveterminalintheholemarkedwitha +V ,withthenegative terminalinthe GND(orV) hole.Thepositiveholeisred,andthenegativeisblack.Tomeasure currentplacetheterminal(theterminalatwhichcurrententersthemultimeter)intheholelabeled A(ormA) ,andtheotherterminalinthe GND hole.Ifthemultimeterisnotautoranging,youneed toselecttheproperrangeusingtheknobuntilyouidentifytherequiredrange(forexample: 200mV,2V,20V,200Vforavoltagemeasurement).Whenthevalueyouaremeasuringisstable onthedisplay,readthevalue. Oscilloscope Anoscilloscopeisusedtoviewavoltagewaveformonascreen.Anelectronbeamisgenerated inthecathoderaytube,directedatthebackofthescreen,andsweptintimealongtheXAxis.A voltageappliedtothescopeprobesisamplifiedandappliedtoapairofhorizontalmetalplates throughwhichtheelectronbeampasses.Thisvoltagedeflectsthebeamintheverticaldirection (YAxis).Thesweepintheelectronbeamcombinedwithverticaldeflectionresultsinthe appearanceofawaveformonthescreenofthescope.Thescopehastwoprobes:onefor Channel1andoneforChannel2.Theprobesareveryexpensive(approx.$200each),soplease becarefulwiththem.Eachchannelhasaverticalplacementknobusedtomovethewaveformfor thatchannelupanddown.Eachchannelalsohasaknobusedtoselecttheverticalscaleofthe waveformintermsofvoltsperdivision.Divisionsarethevisiblegridlinesontheoscilloscope screen.Theknobusedtosetthehorizontalscale(intimeperdivision)controlsbothchannels. SomemeasurementsmadeinthislabcanbeperformedautomaticallyusingtheAutoscale feature.Whenyouwanttocaptureawaveformonthescreen,thefirstthingtothinkofisAuto scale.Thistakesthewaveformattheinputanddisplaysitsothattheentirepeaktopeakvoltage isdisplayedaswellasseveralperiods.However,youmustbecarefulwiththisfeatureandmake suretheinstrumenthascapturedtherightwaveformyouaretryingtovisualize.Tomeasure voltage,pushthebuttonmarkedvoltagewhichislocatedtotherightofthescreennearthetopof thefrontpanel.Thiswillbringupamenuatthebottomofthescreen,listingavailablevoltage measurements.Thefirstchoiceistoselecteitherchannel1or2formeasurement.Afterthat,you mayselect:PeaktoPeakvoltage(Vpp),averagevoltage(Vave),orrmsvoltage(Vrms).By pressingthecorrespondingsoftkeys,youwillautomaticallygettheselectedmeasurement.For morechoices,pressthesoftkeylabeledNextMenu.Thenextmenuwillallowyoutoselectother voltagemeasurements.Timemeasurementscanbeobtainedbypressingthe Time button (locatednexttothe voltage button).Thiswillgiveyouthefollowingmenuoptions:Frequency, Period,DutyCycle,+Width,Width,RiseTime,Fall Time,DelayandPhaseDifference.Thislast command,PhaseDifference,isusefulforcomputingthedifferenceinphasebetweenwaveforms onchannels1and2. Breadboards/Prototyping boards (Proto-boards) Solderlessbreadboardsarethemosttypicaloptiontoprototypeelectroniccircuits.Aprototypeis aninitialrealimplementationofacircuit.Itisusedtoevaluateadesignandtestactual performanceundercertaintestconditions.Breadboardsusuallyconsistofarectangularplastic enclosure.Onthesurfaceofabreadboard,therearemanyholesforpluggingincomponents (refertoFig.1).

ThebreadboardconsistsofmetalstripsrunningunderneaththeenclosureasshowninFig.2. Thesestripsareusedasinterconnectionpoints(nodes)tobuildcircuits.Theycanbeaccessed throughtheappropriateholes.

ThehorizontalstripsshowninFig.2areoftenusedforpowersupplyvoltages(i.e.V+,GND)and theverticalstripsareforthecomponents. Procedure: Discusswithyourteamhowyouwouldgoaboutmeasuringvoltageacrossandcurrentthrougha resistorusingthemultimeter.Howwouldyouplacetheleads?Thefollowinghintsmaybehelpful:

1.Asa,themultimetermust(ideally)haveinfiniteresistance.

2.Asan,themultimetermust(ideally)havezeroresistance. Ifnotsureaboutthemeasurementsconnection,asktheTeachingAssistant(TA). II. Experiment - Resistance Measurement Mostresistorshavefourcoloredbands.Thefirstthreebandsindicatethenominalvalueofthe resistorandthefourthbandindicatesthetoleranceinvalue.Thefirsttwobandsformthe mantissa,andthethirdtheexponentof10.

Color Value

Black 0

Brown 1

Red 2

Orange 3

Yellow 4

Green 5

Blue 6

Violet 7

Grey 8

White 0

Thetolerancebandistypicallyeithergoldorsilver.Agoldtolerancebandindicatesthatthe measuredvaluewillbewithin5%ofthenominalvalue.Asilverbandindicates10%tolerance. Forexamplearesistorwithcolorcodebrownblackredsilverindicatesanominalvalueof1k. Thefirsttwobands(brownblack)producethemantissa(10)andthethirdband(red)isthe exponentoften(10 2=100).Sothevalueis10x100=1K.Sincethetolerancebandissilver,we canexpectthemeasuredvalueoftheresistortobebetween900and1100.

1.Select5differentresistors(writedowntheircolorcodedvalues).

2.Placetheresistorsinthebreadboardatyourlabstation.

3.Setthemultimetertomeasureresistance.Todothis,selectthefunction. Determinetheactualvaluesoftheresistor.Thewords``actual"and``measured"maybe usedinterchangeably.

4. Computethepercentdifferencebetweentheactual(measured)valueoftheresistorsand theirnominalvalueasindicatedbyitscolorcode. III . Measuring the Resistance of Your Body 1.Holdingoneprobebetweenthethumbandforefingerofeachhand,measurethe resistanceofyourbodybetweenyourhands.Squeezetheprobestightlysothatgood contactisestablished.Recordthevalueofyourbody'sresistance. 2. Consideringthatacurrentof100200mAthroughyourheartwillalmostcertainlykillyou, howmuchvoltageacrossyourhandswouldbelethal? IV. Experiment: DC measurement and Ohm's Law Recordeachmeasuredvalue. 1.SettheDCpowersupplytoprovide5Vasshowninthedigitaldisplayonthepower supplyfrontpanel.

2.SetthemultimetertomeasureDCvoltage,makingsuretheleadsaresetforvoltage,not currentmeasurement.

3.Measurethevoltageusingthemultimeter.

4.Disconnectthemultimeterfromthepowersupplyandconnecttheoscilloscopeleadsto thepowersupply.

5.Adjustthevolts/divisionknobontheoscilloscopeuntilthevoltageappearsonthescreen. (Thisshouldoccuraround1volt/division.)

6.Measurethevoltagebyusingtheautomaticmeasuringfeaturesoftheoscilloscope.

7.Usingthesamescreen,measurethevoltagebyhand,i.e.countthedivisionsand multiplybythenumberofvoltsperdivision.(Thisnumbercanbefoundintheupperleft cornerofthescreen.)

8.SettheDCpowersupplyto0V.

9.Ifthepowersupplyallowscurrentlimiting,setthecurrentto50mA.

10.Connecta220resistortothepowersupply.

11.ConnectthemultimeteracrosstheresistorandsetittomeasureDCvoltage.

12.Measurethecurrentthroughtheresistorusingthemultimeter.Usethecircuitoffigure1. Figure1.Resistorcurrentmeasurementcircuit

13. Increasethevoltage(slowly)acrosstheresistor.Repeatvoltageandcurrent measurements(perform10observationsforvoltagesbetween1Vand5V).Recordyour measurements.UsingOhm’slaw,determinetheresistancevalueforeachmeasurement. Whatistheaverageresistance?Doesitcorrespondtothenominalvalue?

14.BecarefulwiththeDCpowersupplyleads.Avoidlettingthemtouchatalltimes.When theytouch,ashortcircuitisformed.Considerwhatwouldhappenifyoushortedthewall socket,oracarbattery!Shortcircuitscanbedangerous,andcareshouldbetakento avoidthem.

V. Voltmeter Anidealvoltmeterhasinfiniteresistance:Itisanopencircuit.Althoughitisimpossibletomakea physicalvoltmeterwithinfiniteresistance,aproperlydesignedvoltmeterexhibitsaverylarge internalinputresistance.Insomeexperiments,itisimportanttotakeintoaccountthefinite,non ideal,internalresistance.Todeterminetheinternalresistanceofthevoltmeter,setupthecircuit showninfigure2.Thevoltmeterreadsthevoltageacrossitself,whichincludesitsinternal resistance.Sincethecircuithasonlyasinglebranch,thecurrentflowingthroughtheresistoralso flowsthroughthevoltmeter.Thecurrentisgivenbytheequation: V −V I = s M R (1)

FromOhm'sLaw,ifweknowthecurrent(I)andthevoltage(V M)wecancomputeR M. V M V M RV M R M = = (2) = I VS −V M V −V S M R

Figure2. Circuitformeasuringvoltmeterresistance.

1.Selecta1Mresistor.

2.Measureitsvalueusingthemultimeter.

3.Setthepowersupplytoprovide10V(Remember, alwaysmeasurethevoltage providedbythepowersupplywitheitherthevoltmeterorthescope.Donotrelyon thedigitaldisplayonthefrontpanelofthepowersupply. )

4.AssemblethecircuitinFigure2.

5.Recordthevoltagemeasuredbythevoltmeter

6. Computetheinternalresistanceofthevoltmeterusingtheappropriateequation. VI. Ammeter Anidealammeterhaszeroresistancesothatthecircuitinwhichithasbeenplacedisnot disturbed.Anidealammeterisashortcircuit.However,aswiththevoltmeter,noammetercan everbeideal,andthereforeallhavesome( hopefully )smallinternalresistance.To determinetheresistanceoftheammeter,youcanusethecircuitinFigure1.AccordingtoOhm's

Law,thecurrentinthiscircuitwillbeI=V/RwhereR=R+R M.Sothecurrentcanbefound usingtheequation: V s I = (3) R + R M

ByusingtheknownquantitiesI,V sand R,wecansolvefortheunknownquantityR M.

Intheprocedurethatfollowsitisextremelyimportantthatyoutakepreciseandaccurate measurements.Recordeachmeasurementaspreciselyastheinstrumentwillallow.

1.Selecta100resistor.Measureandrecorditsactualvalue.

2.Designacircuittomeasuretheinternalresistanceoftheammeter(i.e.assemblethe circuitofFigure1).Setthemultimetertotheammetermodefordccurrentmeasurement. 3.UsetheoscilloscopetomeasurethevoltageacrosstheDCpowersupply.

4.Measurethevalueofthecurrentusingtheammeter.

5. Determine the value of R M from the appropriate equation. VII. Measurement of Time Varying Sources Inthissection,wewillbeusingthefunctiongeneratortoprovideatimevaryingvoltagetobe measuredusingtheoscilloscope. Important :Thefunctiongeneratorhasaninternalresistanceof50.Thevoltagedisplayedonits frontpanelisthevoltagethatwouldappearatitsterminalsifitwereconnectedtoa50load. Underopencircuitconditions,thevoltageacrosstheterminalsofthefunctiongeneratoris twice aslargeasthevalueindicatedonitsfrontpanel.Thisisanimportantconceptandoften misunderstood.

Ifyouarelocatedatalabstationthathasnoprinter,completeitems1517afteroneofthelab stationscontainingaprinterbecomesvacant.

1. Setthefunctiongeneratortoproducea10kHzsquarewavewith4Vppand50%duty cycle.

2. Connecttheoscilloscopechannel1probetotheleadsonthefunctiongenerator.

3. Locatethe VERTICAL sectiononthefrontpaneloftheoscilloscope.Itisthesection whichincludestheconnectionsofthescopeprobestothescope.

4. Pressthesoftkeylabeled 1.Amenuwillappearonthebottomofthescopescreen.The itemsthatappearonthismenuare:channelactivation,coupling,bandwidthlimiter, inversion,vernier,andprobecalibration.Examinethesettingfor probe .Itshouldbeon 10 .Ifitisnot,setthe probe valueto 10 .Thistellsthescopethattheprobereducesthe signalstrengthbyafactorof10.Allofthescopeprobesinthislabare``10x"probes.Itis agoodideatogetinthehabitofcheckingtheprobesettingatthebeginningofeachlab.

5. PressAutoScaleontheoscilloscopetoviewthesignalproducedbythefunction generator.

6. Usingtheautomaticfeaturesoftheoscilloscope,determinethepeaktopeakvoltage. Observethatthemeasuredpeaktopeakvoltageisapproximately twice thepeakto peakvoltageshownonthefrontpanelofthefunctiongenerator.

7. Usingtheautomaticfeaturesoftheoscilloscope,determinethefrequency,andtheperiod ofthesquarewavevoltage.

8. Measurethepeaktopeakvoltagebyhand,i.e.counttheverticaldivisionsfromthe minimumtothemaximumandmultiplybythenumberofvoltsperdivision.The voltsper division settingisshownintheupperleftcornerofthescopescreen.

9. Usingthesamescreen,measuretheperiodofthesquarewave,i.e.countthenumberof horizontaldivisionsinoneperiodofthesinewave.The timeperdivision settingis shownatthetoprightcenterofthescopescreen.

10.Usingtheformulafrequency=1/period,determinethefrequencyofthesquarewave.

11.Connectthefunctiongeneratoracrossa50resistor.Leavethesettingsonthefunction generatorunchanged.

12.Connecttheoscilloscopechannel1probeacrosstheresistor(andfunctiongenerator). 13.PressAutoScaleontheoscilloscopetoviewthesignalproducedbythefunction generator.

14.Usingtheautomaticfeaturesoftheoscilloscope,determinethepeaktopeakvoltage. Observethatthemeasuredpeaktopeakvoltageisapproximately thesame asthe peaktopeakvoltageshownonthefrontpanelofthefunctiongenerator.Hence,the voltageattheterminalsofthefunctiongeneratoris loaddependent .Wheneveryouuse thefunctiongeneratortoprovideavoltagewaveformanddesireaspecific,you must useeitherthemultimeterorthescopetosetthedesiredvoltagebecausethevalue shownonthefrontpanelofthefunctiongeneratorisvalidonlyfora50load.

15.Pressthe Print/Utility softkeyonthescope.Itislocatedtotherightof Autoscale .Then pressthe RS232Menu softkey.Makesurethe resolution issetto low .Pressthe previousmenu softkey.

16.Turnontheprinter.Waitafewmomentsandthenpressthe printscreen softkeyonthe scope.Aprintoutofthewaveformshownonthescopescreenshouldresult.Feelfreeto usetheprintertoobtainscopetracesasneededtodocumentyourlaboratory experiments.

17. Comparethevaluesforthepeaktopeakvoltageandfrequencythatwere1)specifiedby thefunctiongenerator,2)measuredbytheoscilloscopeand3)measuredbyhand.Do themeasurementsmadebyhanddifferfromthosemadebytheoscilloscope?Whichdo youthinkaremoreaccurate?Justifyyouranswer.

Kirchhoff’s Laws - Design and Simulation: 1. Design2voltagedividerand2currentdividercircuitsusinga6voltsourceand: a. Twodifferentresistors. b. Twoequalresistors. Make sure the resistor values selected in (a, b) and their associated currents correspond to power levels below the maximum resistor power rating (1/4 W typical). 2. Designanonseriesparallel(bridge)circuitsimilartothecircuitinFig.P1.39oftheTextbook. Substitutethepowersupplywith6voltsandtheresistorsasfollows:3 →2 .2K,6 →4.7K

and4→3.3K.SelectvaluesofR 1andR 2suchthat i>0mA.FindR 1andR 2toobtain i=0 mA.Isitpossibletofindmorethan1setofvalues{R 1, R 2}thatsatisfythiscondition? Inthislaboratoryexperiment,youwillbuildatotaloffivecircuits.

UsingthevaluesofthevoltmeterandammeterinternalresistancethatyoumeasuredinLab1,usePSpiceto simulatethefourcircuitsandcomparetheresultstothetheoreticalandmeasuredvalues.Donotforgettodraw thecircuitswiththenodeslabeledastheywerecodedinPSpice.

IX. Experiment - Voltage Divider 1.Obtainresistorsforyourdesignedvaluesfromthepartsbin.Ifyoudonotfindtheexact values,recalculatethe(theoretical)associatedcurrentsandvoltagesandincludethemin yourreport.

2.Measuretheresistorvaluesusingthemultimeterasanohmmeter.

3.Buildthevoltagedividercircuitusingtheresistorsonalabbreadboard.

4.Setthepowersupplyto6V.Usethevoltmetertoensurethepropersetting.

5.Usingthevoltmeter,measurethevoltageacrosseachresistor.Recordthesevalues,as always,andverifyKirchhoff'sVoltageLaw(KVL).

6.Commentontheaccuracyofmeasurementsmadeconsideringtheinternalresistanceof thevoltmeter. 7.Createatablepresentingtheoreticalandmeasuredvoltagesalongwithpercenterror. Consider whether your theoretical values for the voltages across each resistor should include the effect of the voltmeter internal resistance. Important Note: When you are calculating percent error, you should avoid cases in which the theoretical value is zero since the percent error is meaningless. To calculate percent error between theoretical andexperimentalverificationofKVL,usethesourcevoltageasthereference.For example, in the measurements made in this section, the theoretical value (and measured value!) for the voltage across the supply is 6V. Themeasuredvalueisthesameasthe theoretical value because you used the voltmeter to set the power supply voltage to 6V. To obtain the KVL measured voltage, you can add the voltage across resistors. Compare with6V.

8. Repeattheprocedurefortheequalvalueresistorsvoltagedivider .

9. Performstep8for2resistorsof10Meach.Inthiscase,doyouneedtoincludethe effectofthevoltmeter? X. Experiment - Current Divider 1. Obtainresistorsforyourdesignedvaluesfromthepartsbin.Ifyoudonottofindthe exact values, recalculate the (theoretical) associated currents and voltages and include theminyourreport.

2.Measuretheresistorvaluesusingthemultimeterasanohmmeter.

3.Buildthecurrentdividercircuitusingtheresistorsonalabbreadboard.

4. Setthepowersupplyto6V.Usethevoltmetertoensurethepropersetting.

5.Measurethevoltageacrosstheresistors.Recordthisvalue.

6.Configurethemultimetertomeasurecurrent.Rememberthatthisrequirestwothings: Removetheterminaloftheredprobefromthevoltage/resistancemeasuringreceptacle andinsertitinthecurrentmeasuringreceptacleonthefrontpanelofthemultimeter. ThenpresstheDCcurrentbutton,alsoonthefrontpanelofthemultimeter.

7.Measurethecurrentthroughthe6Vsource.Rememberthatyouhaveto break thecircuit andinserttheammeterin series withthe6Vsourcetoallowthecurrenttoflowthrough theammeter.

8.Measurethecurrentthrougheachresistor.

9.VerifyKirchhoff'sCurrentLaw(KCL).Rememberthatatheoreticalvalueofzero producesameaninglesspercenterror.

10.Repeattheprocedurefortheequalvalueresistorsdividercircuit.

11. Repeattheprocedurefortheequalvalueresistorcurrentdividerwith2resistorsof10 each. NOTE:Beforeyouperformthemeasurementsforthiscurrentdivider,placea 10Kresistorinserieswiththecurrentdividerinordertoavoidexceedingthe resistorspowerrating. Makesureyourecordthevoltagesacrosstheseries 10K resistorandthevoltageofthecurrentdivider.VerifyKirchhoff’sVoltageLaw(KVL).

12. Commentontheaccuracyofthecurrentmeasurementsmade(considertheinternal resistanceoftheammeter). XI. Experiment - Bridge Circuit

1.Obtainresistorsclosetoyourdesignedvaluesfromthepartsbin.Ifyoudonottofindthe exactvalues,recalculatethe(theoretical)associatedcurrentsandvoltagesandinclude theminyourreport.

2. Measuretheresistorvaluesusingthemultimeterasanohmmeter. 3.

Buildthebridgecircuitusingtheresistorsonalabbreadboard.

4.Setthepowersupplyto6V.Usethevoltmetertoensurethepropersetting.

5.Measurethevoltageacrosseachresistor.Recordthesevalues.

6.Configurethemultimetertomeasurecurrent.Rememberthatthisrequirestwothings: Removetheterminaloftheredprobefromthevoltage/resistancemeasuringreceptacle andinsertitinthecurrentmeasuringreceptacleonthefrontpanelofthemultimeter. ThenpresstheDCcurrentbutton,alsoonthefrontpanelofthemultimeter.

7.Measurethecurrenti.Rememberthatyouhaveto break thecircuitandinsertthe ammeterin series withthe3.3Ktoallowthecurrenttoflowthroughtheammeter.

8.VerifyKirchhoff'sVoltageLaw(KVL).

9.Repeattheprocedureforallthedesignedvaluesforthebridgecircuit.