phys3330 lab3 sp16 - university of colorado boulder · rc low- and high-pass filters the response...
TRANSCRIPT
1
FILTERSLAB3INTRO:MEASURINGTHEFREQUENCYDEPENDANCEOFLOWPASS,HIGHPASS,ANDBANDPASSFILTERS.
GOALS
Inthislab,youwillcharacterizethefrequencydependenceofthreepassivefilters.Youwillgainmoreexperiencemodelingboththeresponseofthefiltersandhowyourmeasurementtoolsaffectyourmeasurements.
Proficiencywithnewequipment:
o Oscilloscopeprobeo Capacitorsandinductors
§ Identifypolarizedcapacitorsanddeterminethecorrectinstallationorientation§ MeasurecapacitanceandinductancewithanLCRmeter.
Modelingthephysicalsystem:
o Developmathematicalmodelsoffrequencydependentvoltagedividerso Determinethelimitationsofthesemodelsandrangeofapplicability
Modelingmeasurementsystems:
o Refinethemodelofscopemeasurementtooltoincludecapacitanceofthecoaxcableo Refinethemeasurementsystemtoreducetheeffectofthecapacitanceofacoaxcable
DEFINITIONSScopeprobe–atestprobeusedtoincreasetheresistiveimpedanceandlowerthecapacitiveimpedancecomparedtoasimplecoaxcableprobe.Passband–therangeoffrequenciesthatcanpassthroughafilterwithoutbeingattenuated.Attenuationband-therangeoffrequenciesthatafilterattenuatesthesignal.Cutofffrequency(orcornerfrequencyor3dBfrequency),fc–thefrequencyboundarybetweenapassbandandanattenuationband.fcisthefrequencyatthehalf-powerpointor3dBpoint,wherethepowertransmittedishalfthemaximumpowertransmittedinthepassband.Theoutputvoltageamplitudeatf=fcis1 / 2 =70.7%ofthemaximumamplitude.
Lowpassfilter–afilterthatpasseslow-frequencysignalsandattenuates(reducestheamplitudeof)signalswithfrequencieshigherthanthecutofffrequency
Highpassfilter–afilterthatpasseshigh-frequencysignalsandattenuates(reducestheamplitudeof)signalswithfrequencieslowerthanthecutofffrequency
Bandpassfilter–adevicethatpassesfrequencieswithinacertainrangeandrejects(attenuates)frequenciesoutsidethatrange.
2
BandpassfilterBandwidth–therangeoffrequenciesbetweentheupper(f+)andlower(f–)halfpower(3dB)points:
bandwidth∆f=f+–f–.
APPLICATIONSOFFILTERS Afrequentprobleminphysicalexperimentsistodetectanelectronicsignalwhenitishiddeninabackgroundofnoiseandunwantedsignals.Thesignalofinterestmaybeataparticularfrequency,asinanNMRexperiment,oritmaybeanelectricalpulse,asfromanuclearparticledetector.Thebackgroundgenerallycontainsthermalnoisefromthetransducerandamplifier,60Hzpowerpickup,transientsfrommachinery,radiationfromradioandTVstations,cellphoneradiation,andsoforth.Thepurposeoffilteringistoenhancethesignalofinterestbyrecognizingitscharacteristictimedependenceandtoreducetheunwantedbackgroundtothelowestpossiblelevel.Aradiodoesthiswhenyoutunetoaparticularstation,usingaresonantcircuittorecognizethecharacteristicfrequency.Thesignalyouwantmaybelessthan10-6ofthetotalradiationpoweratyourantenna,yetyougetahighqualitysignalfromtheselectedstation. Manyexperimentsrequirespecificfiltersdesignedsothatthesignalfromthephenomenonofinterestliesinthepass-bandofthefilter,whiletheattenuationbandsarechosentosuppressthebackgroundandnoise. Thisexperimentintroducesyoutothefilteringpropertiesofsomewidelyusedbutsimplecircuits,employingonlyaresistorandcapacitorforhigh-andlow-passfiltersandanLCRcircuitforband-pass.
FILTERBASICSRCLow-andHigh-passfiltersTheresponseofRClow-passandhigh-passfilterstosinewavesisdiscussedinFCSections3.9&3.10.The3dBfrequencyis
fc =1
2πRC,
wherefcisthe3dBorhalf-powerpoint.
Theresponseofthefilterstoasquarewaveinthetimedomainisalsointeresting.
ParallelLCRBand-passfiltersSeeFCSection3.12(H&HSection1.22).TheresonantfrequencyandQaregivenby
f0 =1
2π LCQ =ω0RC =
f0Δf
whereω0=2πf0.Theresonantfrequency,f0,isthecenterfrequencyofthepassband,andtheQisequaltotheratioofthecenterfrequencytothebandwidth∆f.(ThesedefinitionsareexactlytrueonlyifQ>>1). ForaresonantLCRcircuitthecharacteristicimpedance,Z0,isthemagnitudeoftheimpedanceoftheinductororthecapacitorattheresonantfrequency:
CL
CLZ ===
000
1ω
ω
USEFULREADINGS1. FCSections3.4–3.18and10.1–10.62. H&HChapter1,especiallysections1.13-1.24.YouwillmakefrequentuseofthelasttopicinSection1.18,
“VoltageDividersGeneralized.”AppendixAonoscilloscopeprobes.
3
LABPREPACTIVITIES
AnswerthefollowingquestionsusingMathematica.SavethecompletenotebookasapdfandturnitintoD2Lbymidnightthedaybeforeyourlabsectionmeets.Bringanelectroniccopyofyournotebooktolab,preferablyonyourownlaptop.Youwilluseittoplotyourdataduringthelabsession.
Question1
Low-andHigh-passfiltersa. DefinefunctionsinMathematicatocalculatethecut-offor3dBfrequency,fc,forthelow-andhigh-
passfiltersinFigure1(a)and(b).Theinputparameterstothisfunctionshouldbetheresistanceandcapacitanceofyourcircuit.Evaluatethefunctionsusingthenominalvaluesshownintheschematic.Duringthelab,youcaninputtheexactvaluesofyourcomponentsandthusquicklypredictthe3dByouexpectforyourcircuit.
b. CreatetwoBodeplots(oneforeachfilter)ofthefrequencyresponseofthelow-(1a)andhigh-pass(1b)filtersinFigure1.ABodeplotisalog-logplotof(Vout/Vin)versusfrequency.SeeH&HFig.4.31foranexample.Makesuretoincludealargeenoughrangeinfrequencytoseeboththepassandattenuationbands.HINT:DetailsaboutmakingplotsprettyareincludedinLabSkillActivity#2.
c. Duringthelabsection,youwillenteryourmeasurementsintoyourMathematicanotebookandplotthemwithyourmodelpredictions.Toprepareforthis,createalistof“fakedata”andplotitonyourBodeplots.Thiswillallowyoutocompareyourmodelandmeasurementsinrealtimeavoidinglosttimetakinglotsofdatawhensomethingiswrongwithyourcircuit.Thepointofthispartisjusttohaveyoucreateworkingcodetoenteralistofdataandplotitalongwiththefunction.Thenumericalvaluesofthefakedateareunimportant.HINT:ThereisahelpfulguideonourwebsiteundertheHINTSTabtitled“PlottingdataandtheorytogetherinMathematica.”
Question2
Band-passFiltersa. DefinefunctionsinMathematicatocalculatetheresonantfrequencyf0,thecharacteristic
impedanceZ0,andthequalityfactorQfortheband-passfilterinFigure1(c).Evaluatethefunctionsusingthenominalvaluesshownintheschematic.
b. CreateaBodeplotshowingthepredictedgain(|Vout/Vin|)versusfrequencyoftheband-passfilter.Makesuretoincludealargeenoughrangeinfrequencytoseeboththepassandattenuationbands.
c. Createalistof“fakedata”andplotitonyourBodeplots.Thepointofthispartisjusttohaveyoucreateworkingcodetoenteralistofdataandplotitalongwiththefunction.Thenumericalvaluesofthefakedateareunimportant.
Question3 Labactivitiesa. Readthroughallof the labstepsand identify thestep (or sub-step) thatyou thinkwillbe the
mostchallenging.b. Listatleastonequestionyouhaveaboutthelabactivity.
Figure1Filters.(a)low-pass,(b)high-pass,and(c)band-pass
(c)
4
SETTINGUPTHECIRCUITSANDPREDICTINGTHEBEHAVIOR
Figure2.GeneralVoltageDividers.(a)resistivedivider,(b)low-passfilter,(c)high-passfilter,and(d)band-passfilter.Step1 BuildingtheCircuits
a. GatherallthecomponentstobeabletobuildthefourcircuitsshowninFig.2Ifyou
cannotfindcomponentsinstockwiththespecifiedvalues,takethenearestinvaluethatyoucanfind,within30%ifpossible.
o Resistivedivider:R1=10kΩ,R2=6.8kΩo Low-passfilter:R=10kΩ,C=1000pFo High-passfilter:R=10kΩ,C=1000pFo Band-passfilter:R=10kΩ,C=.01µF,L=10mH
b. Measureallcomponentsbeforeplacingthemintothecircuit.Recordthevaluesinyourlabbook.Drawdiagramsofallthecircuits.Makesuretousethesamelabelsonthediagramsandforthevaluesofthecomponents.
c. Buildallfourcircuitsonyourproto-board(makesuretheyareallseparate)Step2 UsetheMathematicamodelstopredictthebehaviorofthefilters.
a. Calculatetheexpectedattenuationofthedivider.b. Calculatetheexpectedvaluesofthecut-offfrequenciesforthehigh-andlow-passfilters
usingtheactualcomponentvalues.c. Calculatetheexpectedresonantfrequencyf0andqualityfactorQfortheband-passfilter
usingtheactualcomponentvalues.HINT:Youshouldhavealreadydonethesecalculationsinyourlabprepnotebook.Justentertheexactvaluesofyourcomponents.
Step3 UsetheMathematicamodelstoplottheexpectedthebehaviorofthefilters.
a. Plotyourmathematicalmodelsofallthreefiltercircuits(threeindependentplots)usingyouractualcomponentvalues.Thefrequencyrangeshouldcoveratleastf=10-3fc(orf0)
tof=103fc(orf0)toshowthefullbehavior.b. Afterthe lab iscompletedandyouhaveyourmeasurementsontheseplotsaswell,you
willprintofftheplotsandtapethemintoyourlabbook.Makesuretoleaveroominyourlabbookfortheplots.
HINT:Youshouldhavealreadymade theseplots inyour labprepnotebook. Justenter theexactvaluesofyourcomponents.
5
SETTINGUPTESTANDMEASUREMENTEQUIPMENT
Step4
Preparetotestthecircuits a. ConnectthecircuitboardtothefunctiongeneratorandtheoscilloscopeasshowninFig.
3.Itisalwayshelpfultodisplayboththeinputvoltageaswellastheoutputvoltageonthescopeatthesametime.
b. Testyoursetupbycreatinga1kHzsinewaveat1voltp-pusingthefunctiongeneratorandconfirmthewaveformfrequencyandamplitudebymeasuringthesignalonthescope.TriggerthescopeontheSync.outputofthefunctiongenerator.
Figure3.TestandMeasurementSet-up.
RESISTIVEVOLTAGEDIVIDER
Step5
a. Measurethefrequencydependenceofthevoltagedividera. Connectthesignalfromthefunctiongeneratortotheinputofthevoltagedivider.
Measurethetransferfunction(attenuation)(=Vout/Vin)overalargerangeinfrequency(1kHzto15MHzinapproximatelydecade(X10)steps).Recordyourmeasurementsinyourlabbook.
b. Atlowfrequencies(1kHz),compareyourmeasuredvalueoftheattenuationtowhatyourmodelpredictedusingyouractualcomponentvalues.Doesyourmeasurementagreewithyourprediction?Explicitlyrecordwhatcriteriayouusedtodeterminewhetherornotthemodelandmeasurementsagree.
Step6 b. Refiningthemeasurementsystemofthevoltagedivider
a. Ifthereisahighfrequencycut-off(3dBfrequency),measureitsvalue(wherethevoltageisreducedto0.7ofthelowfrequencyvalue).Recordthecut-offfrequency.
b. Avoltagedividercontainingonlyresistorsshouldnothaveanyfrequencydependence.However,acoaxcablehasacapacitanceof~25pF/foot.Youcouldrefineyourmodeltoincludethiscapacitance.However,inthiscase,refineyourphysicalsysteminsteadbyusingascopeprobe(seedefinitions)inplaceofthecoaxcabletoreducethecapacitanceofthemeasurementprobe.Repeatthemeasurements(andrecordtheminyourlabbook)ofQuestion5part(a)usingthe10xprobetomeasuretheoutputofthecircuit.Notethattheoscilloscopeknowswhenthe10Xprobeisattachedandautomaticallyadjuststhescalestogivethecorrectvalue.
c. Doesyouoriginalmodelofjusttworesistorsnowpredictthebehaviorofthecircuitwhenyouusea10Xprobe?
6
LOWANDHIGHPASSFILTERS
Youhaveshownwithdatathatthe10Xprobeperturbsyourmeasurementslessthanthecoaxcable.Usetheprobefortherestofyourmeasurements.Step7
c. Measurethefrequencydependenceofthefilters.a. Determineandrecordthecut-offfrequencyforthelow-andhigh-passfilter.Compare
yourmeasuredhalfpowerpoint(Vout/Vin=0.707)withthecut-offfrequencycomputedfromtheactualcomponentvaluesused.Includeyourcomparisoninyourlabbook.
b. Measureandrecordtheattenuationvs.frequencyatdecadeintervalsfromf=10-3fctof
=103fcifpossible.TestthepredictedfrequencyresponsebyplottingyourdatapointsdirectlyonyourtwoBodeplots.Doesthemodelagreewithyourdata?Explicitlyrecordwhatcriteriayouusedtodeterminewhetherornotthemodelandmeasurementsagree.
BANDPASSFILTER
Step8
a. Measurethefrequencydependenceoftheband-passfilter.a. Onresonance,Voutwillbeamaximumandthephaseshiftbetweentheinputandoutput
waveformswillbezero.Findtheresonantfrequencyfobothways.Adjustthefrequencysothat(1)theoutputhasmaximumamplitude(Vout/Vin=max),(2)thereiszerophasedifferencebetweenVoutandVin.Recordbothmeasurements.Whichmethodismoreprecise?
b. TheLCRmetermeasuredtheinductanceofyourinductorataparticularfrequency.Yourinductor’sinductancechangesslightlyatdifferentfrequencies.UseyourmeasurementsoffotogetamoreaccuratemeasureofLonresonancebydoingthefollowing.Comparethemeasuredfowiththeexpectedvalue .Refinethemodeloftheinductorby
calculatingacorrectedvalueofLfromthemeasuredvaluesoffoandC,andusethisrefinedvaluebelow.ComparethisvalueofLtothevalueyoumeasureusingtheLCRmeterinthelab.
c. DeterminethequalityfactorQbymeasuringthefrequenciesatthetwohalf-powerpointsf+andf–aboveandbelowtheresonanceatfo.Recordyourmeasurements.Recallthat
Q =Resonant frequency f 0
Bandwidth ΔfwhereΔf=f+–f–.
HINT:Thehalf-powerpointsarewhereVout= 𝑽𝒐𝒖𝒕 (𝒎𝒂𝒙)/ 𝟐not 𝑽𝒊𝒏 / 𝟐.d. ComparethemeasuredvalueofQwiththatpredictedfrommeasurementsofcomponent
values.Dotheyagree?e. ItiscommoninallelectricalcircuitstofindQvaluesthataresomewhatlowerthanvalues
youpredictusingmeasuredcomponentvalues.Thisisduetoadditionallossesinthecircuit,inthiscaselossesareintheinductor.Measuretheinductor’s“equivalentseriesresistance”(ESR)usingaDMM.Youcanrefineyourmodelbyincludingthisresistanceinyourcircuit.Drawaschematicthatincludesthisresistor.WhatisthepredictedQwhenyouincludethisresistanceinyourmodel?HINT:Seehintssectionbelow.DoesthishavebetteragreementwithyourmeasuredQ?
f. Measurethetransferfunction(attenuation)(=Vout/Vin)asfunctionoffrequency.Useyourmodelpredictiontodecidewhatvaluesoffrequencytotakedata.Plotyourmeasurementsonthesamegraphasyourmodel.Note,yourtransferfunctiondidnotincludetherefinedvalueofQ.
1 / 2π LC( )
7
HINTS:REFINEDLCRBAND-PASSFILTERMODEL
Inductorsoftenhaveconsiderableresistanceastheyarejustwireswrappedaroundaferritecore.Onecanincludethisresistanceasaresistorinserieswiththeinductor.TherefinedmodeloftheQofthissystemis
𝑄!"#$%"& =𝑅𝑅!
𝑅 𝐶𝐿 +
1𝑅!
𝐿𝐶
whereRListheequivalentseriesresistanceoftheinductor.Thisisnon-trivialtoderive.