Chapter 3: Oscillators and Waveform-Shaping Circuits
Total Page:16
File Type:pdf, Size:1020Kb
mywbut.com CHAPTER3:OSCILLATORSANDWAVEFORM-SHAPING CIRCUITS Inthedesignofelectronicsystems,theneed frequentlyarises forsignals havingprescribed standardwaveforms(e.g.,sinusoidal, square,triangle,pulse,etc).Thesewaveformsarecommonly usedincomputers,controlsystems,communicationsystemsandtestmeasurementsystems. Therearetwocommonwaysforgeneratingsinusoids: 1. Positivefeedbackloopwithnon-lineargainlimiting 2. Appropriatelyshapingotherwaveformssuchasatrianglewaves. Circuitsthatdirectlygeneratesquare,triangleandpulsewaveformsgenerallyemploycircuit blocksknownasmultivibrators.Threebasictypesarebistable,astableandmonostable. I.SINUSOIDALOSCILLATORS: Commonly referred to as linear sine-wave oscillators although some forms of non-linearity havetobeemployedtolimittheoutputamplitude.Analysisofthecircuitsismoredifficultass-plane analysis cannot be directly applied to the non-linear part of the circuit. The basic structure of a sinusoidal oscillator consists of an amplifier and a frequency selective network connected in a positivefeedbackloop. AmplifierA xS + Σ xO + xf Freq.Selective networkβ Figure1:Basicstructureofasinusoidaloscillator. Apositive-feedbackloopisformedbyanamplifierandafrequency-selectivenetwork.Inan actualoscillatorcircuit,noinputsignalwillbepresent;hereaninputsignalxsisemployedtohelp explaintheprincipleofoperation.NotethatthefeedbacksignalXFissummedwithapositivesign: A(s) A (s) = f 1− A(s) β (s) Theloopgainis: )s(L =A(s) β (s) Andthecharacteristicequationcanbewrittenas: 1-L(s)=0 If at a specific frequency f0, the loop gain Aβ is equal to unity, it follows that Af will be infinite.Suchacircuitisbydefinitionanoscillator. 1 mywbut.com Thusforthesinusoidaloscillatoratω0: L(jω0 ) = A(j ω0 ) ⋅β (jω 0 ) = 1 ThisconditioniscalledBarkhausenCriteriaforoscillation,inwhich: “UNITYGAIN,ZEROPHASESHIFT” It should be noted that the frequency of oscillation ω0 is determined by the phase characteristics of the feedback loop. The loop oscillates at the frequency for which the phase is ZERO.Thesteeperthephaseshiftasafunctionoffrequencyφ(ω),themorestablethefrequencyof oscillation. NON-LINEARAMPLITUDECONTROL: Generally, it is difficult to design circuits with Aβ=1 as circuit parameters vary with temperature,time,andcomponentvalues. If Aβ<1 oscillatorceases, If Aβ>1 oscillationgrowsuntilcircuitsaturates. ItisrequiredtohaveamechanismtoforceAβ=1.Thisisaccomplishedbyemployinganon- linearcircuitforgaincontrol: -DesigncircuitwithAβ>1asvoltageofoscillationincreases,gaincontrolmechanismkicks inandreducesgainto1. -Design circuit with right half plane poles. The gain control pulls the poles back to the imaginaryaxis. Twoapproaches: 2 mywbut.com 1. The first approach uses a limiter circuit, oscillations are allowed to grow until the level reaches the limiter set value. Once the limiter comes intooperation, the amplitude remains constant.Thelimitershouldbedesignedtominimizenon-lineardistortion. 2. The second method uses a resistive element in the feedback loop whose resistance can be controlled bythesinusoidaloutputamplitude.DiodesorJFETs(operating intrioderegion) arecommonlyused. Apopularlimitercircuitforamplitudecontrolcanbeseenbelow: 3 mywbut.com II.OPAMP-RCOSCILLATORS: 1.WIEN-BRIDGEOSCILLATOR The loop gain can be found by multiplying the transfer function of the feedback path, Va(s)/V0(s),bytheamplifiergain. R Z L(s)= [1 + 2 ] P R1 ZZPS+ R 1+ 1 R L( jω ) = 2 1 3+ j( ω RC − ) ωRC Theloopgainwillbearealnumber(i.e.,thephasewillbezero)atonefrequency ω0given by: 1 ω0RC = ω0RC 1 ω = 0 RC Toobtain sustained oscillation at this frequency, the magnitude of the loop gain should be unitywhichcanbeachievedbysetting: R 2 = 2 R1 Toensurethatoscillationstarts,onechoosesR2/R1slightlygreaterthan2. 4 mywbut.com Theamplitudeoftheoscillationcanbecontrolledusinganon-linearlimiterasseenbelow. 2.PHASESHIFTOSCILLATOR Figure 12.7 shows the basic structureof the phase shift oscillator. It consists of a negative gainamplifier(-K)withathree-section(3rdorder)RCladdernetworkinthefeedback. ThecircuitwilloscillateatthefrequencyforwhichthephaseshiftoftheRCnetworkis180O. Onlyatthisfrequencywillthephaseshiftaroundtheloopbe0O(360O).ThreeRCsectionsare requiredtoproducea180Ophaseshiftatafinitefrequency. ThevalueofK ischosentobeslightly higherthanthe inverseofthe magnitudeoftheRC networktransferfunctionatthefrequencyofoscillation. 5 mywbut.com 3.ACTIVEFILTERTUNEDOSCILLATOR In this type of filter, Figure 12-10, a filter is used to select a particular frequency in the spectrumofasquarewave(usuallythefundamentalfrequency).Outputofthefilterisasinewaveand istakenastheoutputoftheoscillator.Theoutputisfedbacktoalimiterwhichisusedtoconverta sinewavetoasquarewave.Thesquarewavesignalthenbecomestheinputofthefilter. The actual circuit is shown in Figure 10.11, the limiter is a pair of diodes to have a squarewave at v2. This filter is an active filter (we will study this filter later) to select the fundamentalfrequencyandprovidestheoutputatv1. Theop-ampRCoscillatorcircuitsareuseful foroperation inthe10Hz-1MHzrangedueto limitations inpassive componentsize(low frequency)andop-amp slewrate(high frequency).For higher frequencies, circuits that employ transistors together with LC tuned circuits or crystals are commonlyused. 6 mywbut.com III.LCANDCRYSTALOSCILLATORS: OscillatorsutilizingtransistorsandLCtunedcircuitsorcrystalsareusefulforoperationinthe rangefrom100KHzto500MHz.TheyexhibithigherQthanRCtypes(morestable).However,LC oscillatorsaredifficulttotuneoverwiderangeoffrequencyandcrystaloscillatoroperatesatasingle frequency. The extremely stable response of the crystal oscillators has made them very popular, particularlyfordigitaltimingsignals. LCTUNEDOSCILLATOR Two common used configurations are the Colpitts and the Hartley oscillators. The basic circuitstructureswithoutbiasingcanbeseenbelow. 7 mywbut.com BothcircuitsutilizeaparallelLCcircuitconnectedbetweenthecollectorandthebasewitha fraction of the tuned circuit voltage fed tothe emitter of the transistor. The resistor R models the lossesoftheinductor,theloadresistanceoftheoscillatorandtheoutputresistanceofthetransistor. If the frequency of operation is sufficiently low, we can neglect the transistor parasitic capacitances. The frequency of oscillation is determined by the resonant frequency of the parallel tunedcircuit(alsoknownasatankcircuit).FortheColpittsoscillator: 1 ω0 = CC (L 1 2 ) CC1+ 2 FortheHartleyoscillator 1 ω0 = C(L1+ L 2 ) The ratio L1/L2 or C1/C2 determines the feedback factor and thus must be adjusted in conjunctionwiththetransistorgaintoensurethatoscillationswillstart. To determine the oscillation condition for the Colpitts oscillator, we replace the transistor with its equivalent circuit. To simplify the analysis, we neglect the transistor capacitances except capacitanceCBEisapartofC2. 8 mywbut.com Anodeequationatthetransistorcollector(C)yields: 1 sC V+ g V + ( +sC)(1 + sLC)V2 = 0 2π m π R 1 2 π SinceVπ≠0(oscillationshavestarted),itcanbeeliminated(i.e.,theothertermsarezero). C 1 s3 LC C+ s2 (L 2 )+ s(C + C ) + (g +) = 0 1 2 R 1 2 m R 2 1 ω LC2 3 g( m + − )+ j[(C ω1 + C) 2 − ω LCC]01 2 = R R Foroscillationstostart,boththerealandimaginarypartsmustbezero. Settingtheimaginaryparttozerogives 1 ω0 = CC2 (L 1 ) CC1+ 2 whichistheresonantfrequencyofthetankcircuit. Settingtherealparttozeroyields C2 = gm R C1 Forsustainedoscillation,themagnitudeofthegainfromthebasetocollector(gmR)mustbe equaltotheinverseofthevoltageratioprovidedbythecapacitivedivider: v C be = 1 vce C2 Foroscillationtostart,theloopgainmustbegreaterthanunitywhichisequivalentto C2 gm R > C1 Asoscillationgrows inamplitude,thetransistorsnon-linearcharacteristicsreducethe loop gain to unity, thus sustaining oscillations. An example of a complete Colpitts oscillator is shown below 9 mywbut.com Theradiofrequencychoke(RFC)inthisoscillatorprovidesahighreactanceatω0butalow DCresistance.Unliketheop-amposcillatorsthatincorporatespecialamplitudecontrolcircuitry,LC tunedoscillatorsutilizethenon-linearic-vbecharacteristicsoftheBJT(oridversusvgsforFET)for amplitudecontrol.Astheoscillationsgrow,theeffectivegainofthetransistorisreducedbelowits smallsignalvalue.TheLCtunedoscillatorsareknownasself-limitingoscillators. Relianceonthenon-linearcharacteristicsoftheBJT(ortheFET)impliesthatthecollector (drain) current waveform will be nonlinearity distorted. Nevertheless, sinusoidal of high purity becauseofthefilteringactionoftheLCtunedcircuit. CRYSTALOSCILLATORS A piezoelectric crystal, such as quartz, exhibits electro-mechanical resonant characteristics thatareverystable(withtimeandtemperature)andhighselectivity(havingveryhighQfactor).The circuitsymbolofacrystalisshownbelow. The resonant properties are characterized by a large inductance L (as high as hundreds of Henrys),averysmallseriescapacitanceCs(assmallas0.0005pF),aseriesresistancerrepresentinga Qfactor(Q=ω0L/rthatcanbeashighasfewhundredthousand)andaparallelcapacitanceCp(afew picoFarad). 10 mywbut.com CapacitanceCprepresentstheelectrostaticcapacitancebetweenthetwoparallelplatesofthe crystal(Cp>>Cs).SincetheQfactorissohigh,wecanneglecttheresistancerandexpressthecrystal impedanceas: 1 )s(Z = 1 sCp + sL+ 1/sCs whichcanbemanipulatedtotheform 1 s2 + 1 LC )s(Z = s sC CCp+ s p s2 + L(Cp C s ) weseethatthecrystalhastworesonantfrequencies: