版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
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(截止狀態(tài))
VgsRds
ON(導通狀態(tài))MOSFET(MOS晶體管)twotypesofMOSFET's:NMOS,PMOS:Source(源極)Drain(漏極)Gate(柵極)
+VgsPMOSUsually:Vgs<=0
Vgs=0RdsVeryHigh
Off(截止狀態(tài))
Vgs
Rds
On(導通狀態(tài))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(漏極開路輸出、三態(tài)輸出)ElectricalNotlogic(Table3-3)DataSheet(數據表)Specifications(規(guī)格說明)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(高態(tài)扇出,低態(tài)扇出)】DCFan-outandACFan-out
(直流扇出和交流扇出)74HCTDrives74LSLOWFan-Out
(低態(tài)扇出):Fan-OUT
HIGHFan-Out(高態(tài)扇出):“excess”drivingcapability:(高態(tài)剩余驅動能力)CMOS
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 長江職業(yè)學院《中外版畫史與經典作品欣賞》2023-2024學年第一學期期末試卷
- 云南大學滇池學院《畜牧試驗設計與統計分析1》2023-2024學年第一學期期末試卷
- 校園安全管理規(guī)定與實施細則
- 2022年全國碩士研究生招生考試(思想政治理論)真題(含答案)
- 業(yè)務操作-房地產經紀人《業(yè)務操作》模擬試卷1
- 房地產交易制度政策-《房地產基本制度與政策》預測試卷2
- 趣味數學游戲教學模板
- 公司員工生日晚會主持稿
- 二零二五版品牌合作承諾協議書模板
- 2024-2025學年陜西省渭南市高一(上)期末數學試卷(含答案)
- 物業(yè)工程管理安全培訓課件
- 《文化苦旅》讀書分享 PPT
- 氧化鋁生產工藝教學拜耳法
- 2023年十八項醫(yī)療核心制度考試題與答案
- 氣管切開患者氣道濕化的護理進展資料 氣管切開患者氣道濕化
- GB/T 12706.1-2020額定電壓1 kV(Um=1.2 kV)到35 kV(Um=40.5 kV)擠包絕緣電力電纜及附件第1部分:額定電壓1 kV(Um=1.2 kV)和3 kV(Um=3.6 kV)電纜
- 管理模板:某跨境電商企業(yè)組織結構及部門職責
- 底架總組裝工藝指導書
- 簡單臨時工勞動合同模板(3篇)
- 聚酯合成反應動力學
- 上??萍即髮W,面試
評論
0/150
提交評論