电子科技大学-数字电路基础-Chapter 3-1 Digital Circuits_第1页
电子科技大学-数字电路基础-Chapter 3-1 Digital Circuits_第2页
电子科技大学-数字电路基础-Chapter 3-1 Digital Circuits_第3页
电子科技大学-数字电路基础-Chapter 3-1 Digital Circuits_第4页
电子科技大学-数字电路基础-Chapter 3-1 Digital Circuits_第5页
已阅读5页,还剩46页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Chapter3

DigitalCircuitsAbinarynumbersystemcontainstwosymbolsandasetofoperationsButwhatdoesa'0'ora'1'looklikeinreallife?Manythingscanrepresents0'sand1's,butweareinterestedinrepresentingthemusing"electricalsignals"Then,howtorepresenta0or1withanelectricalsignal(voltageorcurrent)?Weneedtoknowtheknowledgeoftheelectricalaspectsofdigitalcircuits.3.1LogicSignalsandGatesLogicSignals

-alogicsignalmaylooklikethis…tv(t)vthresholdwedefineathresholdtorepresentwhenweconsiderthesignalaLOGIC0orLOGIC1.Digitaldesignersoftenusethewords“LOW”and“HIGH”inplaceof“0”and“1”.LogicSignalsandGatesHowtogettheHIGHandLOWVoltage?AssignHIGHto0or1?VOUTVINVccR获得高、低电平的基本原理PositiveLogic(正逻辑)10NegativeLogic(负逻辑)10LogicSignalsandGatesLogicCircuit

-acircuitthatproduceslogicoutputsdependingonthelogicinputs

ex)LogicWeneedtoknow-theelectricalbehaviorofthecircuit-thelogicrelationbetweeninputsandoutputsBasicConceptsTwotypesoflogiccircuits:Combinationallogiccircuit(组合逻辑电路)Sequentiallogiccircuit(时序逻辑电路)AlogiccircuitwhoseoutputsdependonlyonitscurrentinputsAlogiccircuitwithmemory,whoseoutputsdependonthecurrentinputsandthesequenceofpastinputsBasiclogicfunctions:AND,OR,NOTBasicLogicFunction:AND000010100111ABZLogicExpression(逻辑表达式)Z=A·BSwitch:1-on,0-offLamp:1-Light,0-outProducea1outputifandonlyifallofitsinputsare1TruthTable

(真值表)&ABZABZ(逻辑符号)ABZLogicSymbolBasicLogicFunction:ORLogicExpressionZ=A+BABZABZProducea1ifandonlyifoneormoreofitsinputare1

≥1ABZABZ000011101111TruthTableLogicSymbolAZ0110LogicExpressionY=A=A’AZRProduceanoutputvaluethatistheoppositeofitsinputvalue.UsuallycalledanInverter

(反相器)1ZAAZBasicLogicFunction:NOTTruthTableLogicSymbolNANDandNORNAND(与非)

LogicExpressionZ=(A·B)’

LogicSymbolNOR(或非)

LogicExpressionZ=(A+B)’

LogicSymbol

&≥1TruthTable&≥1Operation

NAND

NOR

Symbol

ExpressionY=(AžB)’Y=(A+B)’AB

0

0

1

11

Y

1

1

1

0

Y

1

0

0

0

100ComplexLogicfunctionAND-OR-INVERT

(与或非)ABCD&≥1YABYCDF=(AB+CD)’XORandXNORXOR(ExclusiveOR,异或)2-inputgatewhoseoutputis1iftheinputsaredifferent.XNOR(ExclusiveNOR,同或)

2-inputgatewhoseoutputis1iftheinputsaresame.F=AB=A’·B+A·B’F=A⊙B=A·B+A’·B’ABF000011101110XORABF001010100111XNORAB=(A⊙B)’OperationXORXNOR

Symbols

ExpressionY=AB

=AB+ABY=A⊙B=AB+ABAB

0

0

0

1

1

0

11

Y

0

1

1

0

Y

1

0

0

1

=1ABYABYABY=ABYTruthtableAB=A⊙BA⊙B=AB3.2LogicFamiliesLogicGates

-we'veseenthebasiclogicgatesthatweusetoformmorecomplexlogicexpressions

INV,AND,NAND,OR,NOR,XOR,XNORLogicSignaling

-we'veseenhowweuseanelectricalsignaltorepresentandtransmitlogicvaluestAB10101011113.2LogicFamiliesNowwewanttoseehowweactuallycreatethesecircuitsandsignalsusingelectronicsTherearedifferentways(orcircuits)toimplementlogicgatesThecircuitsaredesignedtointerfacewithothercircuitswiththesametypeofdesignAcollectionofIC'sdesignedtointerfacewitheachotheriscalleda"LogicFamily"Themostcommonfamilieswedealwithare:

1)CMOS 2)TTL3.3CMOSLogicCMOSLogiclevels5.0V3.5V1.5V0.0VATypicalLogicCircuit:5-VoltPowerSupplyOtherPower-SupplyVoltages:3.3,2.5or1.8VoltsLogic1(High)Logic0(Low)undefinedMOSFET(MOS晶体管)twotypesofMOSFET's:NMOS,PMOSDrain(漏极)Source(源极)Gate(栅极)Vgs+NMOSSource(源极)Drain(漏极)Gate(栅极)

+VgsPMOS-thesedevicecanbethoughtofasa"voltagecontrolledresistor"-alterthevoltageontheGatetoturnON/OFFthecurrentflowMOSFET(MOS晶体管)twotypesofMOSFET's:NMOS,PMOSDrain(漏极)Source(源极)Gate(栅极)Vgs+NMOSUsually:Vgs>=0

Vgs=0Rds

VeryHigh

OFF(截止状态)

VgsRds

ON(导通状态)MOSFET(MOS晶体管)twotypesofMOSFET's:NMOS,PMOS:Source(源极)Drain(漏极)Gate(栅极)

+VgsPMOSUsually:Vgs<=0

Vgs=0RdsVeryHigh

Off(截止状态)

Vgs

Rds

On(导通状态)MOSFET(MOS晶体管)ThegateofaMOStransistorhasaveryhighimpedance.(overamegohm,大于兆欧)Regardlessofgatevoltage,almostnocurrentbetweengate-sourceorgate-drain (漏电流leakagecurrent,microampereA)ThegateofaMOStransistoriscapacitivelycoupledtothesourceanddrain.

栅极与源和漏极之间有电容耦合。输入信号转换时,电容充放电,功耗较大BasicswitchingcircuitofMOSFETvI+–vO–+iD+VDDRDDGSChoosingproperparameters,LOWInput,OFF,HIGHOutputHIGHInput,ON,LOWOutputBasicCMOSInverterCircuitFunctionalBehavior1、VIN=0.0V VGSN=0.0V,TnOFF VGSP=VIN–VDD=–5.0V,TpON

VOUT

VDD=5.0V2、VIN=VDD=5.0V VGSN=5.0V,TnON VGSP=VIN–VDD=0.0V,TpOFF VOUT

0VDD=+5.0VVOUTVINTpTnGDSSBasicCMOSInverterCircuitVDD=+5.0VVOUTVINTpTnGDSSVDDVINVOUTOnwhenVINislowOnwhenVINishigh(p-channel)(n-channel)CMOSNANDGate

FunctionalBehavior1、EitherInput(AorB)isLow,Then EitherT1,T3isOff EitherT2,T4isOn ZisHigh[ZVDD]2、BothInputs(AandB)areHigh,Then BothT1,T3areOn BothT2,T4areOff ZisLow[Z0V]VDD=+5.0VZABT1T2T4T3CMOSNORGateFunctionalBehavior

1、BothInputs(AandB)areLow,Then BothT1,T3areOff BothT2,T4areOn ZisHigh[ZVDD]2、EitherInput(AorB)isHigh,Then EitherT1,T3isOn EitherT2,T4isOff ZisLow[Z0V]VDD=+5.0VZABT1T2T4T3CMOS

NANDandNORgatesdonothaveidenticalelectricalperformance.Foragivensiliconarea,ann-channeltransistorhaslower“on”resistancethanap-channeltransistor.Therefore,whentransistorsareputinseries,k

n-channeltransistorshavelower“on”resistancethandok

p-channelones.Whoisfaster,k-inputNANDork-inputNORgate?k-inputNANDisfaster,morepopular.Fan-In(扇入)Fan-In,theNumberofInputsthataGatecanhave.TheAdditive“on”ResistanceofseriestransistorslimitstheFan-InofCMOSgates. (导通电阻的可加性限制了CMOS门的扇入数)WhoseFan-Inislarger,NANDorNOR?Typically,Fan-Inis4forNORgatesand6forNANDgates.Fan-In(扇入)AlargenumberofinputscanbemadebycascadinggateswithfewerinputsF=ABCDEFGHNon-invertingGatesVDD=+5.0VAZ(Non-invertingbuffers)非反相缓冲器HowtogetaANDGate?VDD=+5.0VABZCDCMOSAND-OR-INVERTGate

Z=AB+CDCABBADCDX=(A+B)•(C+D)DABCDABCOUT=D+A•(B+C)Challenge:??3.4ElectronicBehaviorofCMOSCircuitsLogicVoltageLevels(逻辑电压电平)DCNoiseMargins

(直流噪声容限)Fan-Out(扇出)Speed,PowerConsumption

(速度、功耗)Noise,ElectrostaticDischarge

(噪声、静电放电)Open-DrainOutputs,ThreeStateOutputs(漏极开路输出、三态输出)ElectricalNotlogic(Table3-3)DataSheet(数据表)Specifications(规格说明)3.5CMOSStaticElectricalBehaviorCMOSStaticBehavior

-"Static"or"DC"referstothegate'soperationwhentheinputsareNOTchanging

-alsocalled"SteadyState”CMOSDynamicBehavior

-Alsocalled"AC"performance3.5.1LogicLevelsandNoiseMarginsLogicLevelsandNoiseMarginsVOUTVIN5.01.53.55.0Typicalinput-outputtransfercharacteristicofaCMOSinverterVDD=+5.0VVOUTVINTpTn0101LogicLevelsSpecificationsHIGHABNOMALLOWVOLmaxVILmaxVIHminVOHminVCC-0.1Vground+0.1V0.7VCC0.3VCC3.5.1LogicLevelsandNoiseMarginsDCNoiseMargin(多大的噪声会使最坏输出电压被破坏得不可识别)3.5.1LogicLevelsandNoiseMarginsVDDVoutHIGHVOHminVSSLOWVOLmaxVDDHIGHVIHminVSSLOWVILmaxVinNoiseMarginNoiseMarginHIGHStateNoiseMargin:(VOHmin-VIHmin)

LOWStateNoiseMargin:(VILmax-VOLmax)LeakageCurrentRegardlessofthevoltageappliedtotheinputofaCMOSdevice,theinputconsumesverylittlecurrent.Onlytheleakagecurrentofthetransistors’gates.thereisaspecificationthattellsushowmuchcurrentcanbeexpectedtoflow--IIH

:MaximumcurrentflowingwhendrivingaHIGH--IIL

:MaximumcurrentflowingwhendrivingaLOW3.5.1LogicLevelsandNoiseMargins3.5.2CircuitBehaviorwithResistiveLoadsVCCAZVCCRThevRpRnVThev

+VOUTVINResistiveLoads

-RequirenontrivialamountsofcurrenttooperateCMOSDrivingaLOWVOUT<=VOLmaxTheOutputsinkCurrent-Sinkingcurrent(吸收电流或灌电流)

IOLmax:MaximumcurrentthatcanbesinkedwhendrivingaLOW3.5.2CircuitBehaviorwithResistiveLoadsVCC=+5.0VRp>1MRnResistiveLoadsVOLmaxIOLmaxCMOSDrivingaHIGHVOUT>=VOHminTheOutputsourceCurrent-Sourcingcurrent(提供电流或拉电流)

IOHmax:MaximumcurrentthatcanbesourcedwhendrivingaHIGH3.5.2CircuitBehaviorwithResistiveLoadsVCC=+5.0VRpRn>1MResistiveLoadsVOHminIOHmax3.5.2CircuitBehaviorwithResistiveLoadsVOUT=0VCC=+5.0VRThevVThev

+VIN=1CMOSDrivingaLOWEstimatetheSinkingcurrent3.5.2CircuitBehaviorwithResistiveLoadsVCC=+5.0VRThevVThev

+VOUT=1VIN=0CMOSDrivingaHIGHEstimatetheSourcecurrent:3.5.3CircuitBehaviorwithNon-idealInputsSofar,wehaveassumedthattheHIGHandLOWinputstoaCMOScircuitareidealvoltages,veryclosetothepower-supplyrails.Iftheinputvoltageisnotclosetothepower-supplyrail-The“ON”transistormaynotbefully“ON”-The“OFF”transistormaynotbefully“OFF”Thesetwoeffectscombinetomovetheoutputvoltageawayformthepower-supplyrail.3.5.3CircuitBehaviorwithNon-idealInputsVCC=+5.0V4002.5kVIN1.5VVOUT4.31VVCC=+5.0V4k200VIN3.5VVOUT0.24V输出电压变坏(有电阻性负载时更差)更糟糕的是:输出端电流,功耗3.5.4Fan-outFan-Out: -TheNumberofInputsthatthegatecandrivewithoutexceedingitsworst-caseloadingspecifications.Fan-outmustbeexaminedforbothpossibleoutputstates,HIGNandLOWOverallFan-out=Min(HIGH-stateandLOW-state)

【总扇出=min(高态扇出,低态扇出)】DCFan-outandACFan-out

(直流扇出和交流扇出)74HCTDrives74LSLOWFan-Out

(低态扇出):Fan-OUT

HIGHFan-Out(高态扇出):“excess”drivingcapability:(高态剩余驱动能力)CMOS

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论