STANFORDUNIVERSITYDepartmentofElectricalEngineeringProf.BorisMurmannEE214:AnalogIntegratedCircuitDesign-Autumn2007/08-:gm/ID30Lecture4TechnologyCharacterization:fT,gm/gds42Lecture5gm/ID-basedDesign56Lecture6ExtrinsicCapacitance68Lecture7MillerApproximation,ZVTimeConstantAnalysis85Lecture8ElectronicNoise96Lecture9ElectronicNoise(Continued)109Lecture10BackgateEffect,CommonGateStage118Lecture11CommonDrainStage130Lecture12DifferentialPair141Lecture13CurrentMirrors,OffsetVoltage152Lecture14ProcessVariations,Feedback165Lecture15FullyDifferentialAmplifiers,SCCircuits175Lecture16Stability,AnalysisofFeedbackCircuits185Lecture17LoopGainSimulation197Lecture18Two-StageOTA209Lecture19Compensation,NoiseinFeedbackOTAs218Lecture20OTADesignConsiderations233Lecture21StepResponse258Lecture22Slewing275Lecture23FeedbackandPortImpedances,OTAVariants285Lecture24SingleEndedOTAs,OutputStageExamples298Lecture25SupplyInsensitiveBiasing307Lecture26BandgapReference317Lecture27BandgapReference(Continued)323Lecture28TechnologyScaling332Lecture29ClassSummary34812EE214IntroductionB.Murmann1EE214AnalogIntegratedCircuitDesignBorisMurmannStanfordUniversitymurmann@stanford.eduCopyright©2007byBorisMurmannEE214IntroductionB.Murmann2AFewWordsAboutYourInstructor•AssistantProfessorinEEsince2004•PhD,UCBerkeley2003–DigitallyassistedA/Dconversion–Useminimalisticanalogcircuits(lowpower,fast)–Correcterrorsusingdigitalpost-processor•~4yearsworkexperienceinICindustry–MixedsignalICdesign,lowpower,highvoltage•Currentresearch–Digitalcorrectiontechniquesfordataconverters–Sensorinterfaces–Circuitdesigninnewtechnologies•Post-CMOSdevices,organicdevices3EE214IntroductionB.Murmann3EE214Basics(1)•Teachingassistants–MohammadHekmat,BobWiser,RossWalker•Administrativesupport–AnnGuerra,CIS207•Lecturesaretelevised–Butpleasecometoclasstokeepthediscussioninteractive!•Webpage:–Checkregularly,especiallybulletinboard–Registerforonlineaccesstogradesandsolutions•Onlyenrolledstudentscanregister;wemanuallycontroltheaccesslistbasedonAxessdataEE214IntroductionB.Murmann4EE214Basics(2)•Requiredtext–AnalysisandDesignofAnalogIntegratedCircuits,4thEdition,Gray,Hurst,LewisandMeyer,Wiley,2001.(OnreserveinEngineeringLibrary)•Courseprerequisites–EE101Borequivalent–Basicdevicephysicsandmodels•PNjunctions,MOSFETs,BJTs–Basiclinearsystems•Frequencyresponse,poles,zeros–Someexposuretoacircuitsimulator,basicUnixcommands–MayconsiderconcurrentenrollmentinEE114Xtobrushupontheabove(primarilyforundergraduates)4EE214IntroductionB.Murmann5Assignments•Homework(20%)–HandedoutonMondays,duefollowingMondayinclass–Latepolicy•Scoredrops0.5dBperhourafterdeadline–LowestHWscorewillbedropped–Policyforoff-campusstudents:Fax/emailtoSCPDbeforedeadlinestatedonhandout•MidtermExam(30%)•Project(20%)–DesignofanamplifierusingHSpice(nolayout)–Workinteamsoftwo•OKtodiscusswithotherteams,butnofileexchange!•FinalExam(30%)EE214IntroductionB.Murmann6HonorCode•Pleaserememberyouareboundbythehonorcode–Iwilltrustyounottocheat–Iwilltrynottotemptyou•Butifyouarefoundcheatingitisveryserious–Thereisaformalhearing–YoucanbethrownoutofStanford•Saveyourselfandmeahugehassleandbehonest•Formoreinfo–•TheTAswillnotgiveyoutheanswertimestwo…•TheywillalsoNOTdebugyourSpicedeck–Figuringoutwhat'swrongwithyourcircuitisanessentialcomponentofthisclassEE214IntroductionB.Murmann8CircuitSimulation•WewillHSpiceforcircuitsimulation–Youcanuseothertoolsatownrisk–CADBasicsdocumentandexamplesimulationfilesareprovidedoncoursewebsiteandincoursedirectory•PlotHSpiceresultsusingMatlab(HSpiceToolbox)–Toolboxisinstalledincoursedirectory•SeeCADBasicsdocumentforsetupinfo–CandownloadtoolboxfromMikePerrott'shomepage(MIT)•EE214Technology–0.35μmCMOS–BSIM3v3modelsprovidedonwebsiteandincoursedirectory•Firstreviewsession(thisweek)willfocusonsimulationbasics6EE214IntroductionB.Murmann9TheSpiceMonkeyProblem(1)•Whatmostpeopleknow–Evenaverylargenumberofmonkeysrandomlyarrangingcharacterswillnevermanagetowriteaninterestingbook•Whatsomepeopletendtoforget–EvenaverylargenumberofSpiceMonkeysrandomlytweakingcircuitswillnevermanagetodesignarobust,optimizedIC[CourtesyIsaacMartinez]EE214IntroductionB.Murmann10TheSpiceMonkeyProblem(2)•Simplyput–Spiceisnothingbutacalculatorthatletsyouevaluateandtestyourideas–Thereisnoneedtosimulateanythingunlessyoualreadyknowthe(approximate)answer!–Mustalwaysbeawareofmodelinglimitations•Especiallyintheintegratedcircuitsarena,uneducated,purelysimulatordrivendesigncanbecostly–Masksetscostupto$2Million(90nmproduction)–Turnaroundtimeisontheorderofmonths–Ifyourchipdoesn'twork,youcannotsimplysendthecustomerapatch…7EE214IntroductionB.Murmann11AnalysisversusDesign•Unlikecommonperception,analogcircuitanalysisanddesignisnotblackmagic•Circuitanalysi