电子线路CAD宋瑾songjin2012@suda.edu.cn第四课:层次原理图设计(多图纸设计1)•层次原理图的提出•层次原理图设计的结构•层次原理图的实现•维护层次结构•层次原理图之间的切换•技巧•思考与小结层次原理图的提出•将整个系统的电路绘制在一张原理图上。这种方法适用于规模较小、逻辑结构较简单的系统电路设计。P1.0/T21P1.1/T2EX2P1.2/ECI3P1.3/CEX04P1.4/CEX15P1.5/CEX26P1.6/CEX37P1.7/CEX48RST9P3.0/RxD10P3.1/TxD11P3.2/INT012P3.3/INT113P3.4/T014P3.5/T115P3.6/WR16P3.7/RD17XTAL218XTAL119VSS20P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427P2.7/A1528PSEN29ALE/PROG30EA/VPP31P0.7/AD732P0.6/AD633P0.5/AD534P0.4/AD435P0.3/AD336P0.2/AD237P0.1/AD138P0.0/AD039VCC40MCUP89C51RC2HBPK1f2g3e4d5K6c8DP7b9a10DS13DpyRed-CCA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U20CD4511BCNA01A12A23OE24OE35OE16Y77GND8Y69Y510Y411Y312Y213Y114Y015VDD16U25MC74HC138ADK1f2g3e4d5K6c8DP7b9a10DS14DpyRed-CCK1f2g3e4d5K6c8DP7b9a10DS15DpyRed-CCK1f2g3e4d5K6c8DP7b9a10DS16DpyRed-CCK1f2g3e4d5K6c8DP7b9a10DS17DpyRed-CCA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U21CD4511BCNA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U22CD4511BCNA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U23CD4511BCNA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U24CD4511BCN1KR97Res21KR98Res21KR99Res21KR100Res21KR101Res21KR102Res21KR103Res21KR104Res21KR105Res21KR106Res21KR107Res21KR108Res21KR109Res21KR110Res21KR112Res21KR113Res21KR114Res21KR115Res21KR116Res21KR117Res21KR118Res21KR119Res21KR120Res21KR121Res21KR122Res21KR123Res21KR124Res21KR125Res21KR127Res21KR128Res21KR129Res21KR130Res21KR131Res21KR132Res21KR133Res2K1f2g3e4d5K6c8DP7b9a10DS18DpyRed-CCA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U26CD4511BCN1KR134Res21KR135Res21KR136Res21KR137Res21KR138Res21KR139Res21KR140Res212Y3XTALC23CapC24CapC1+1VDD2C1-3C2+4C2-5VEE6T2OUT7R2IN8R2OUT9T2IN10T1IN11R1OUT12R1IN13T1OUT14GND15VCC16U27MAX232ACPE10uFC21CapPol1S3SW-DPST4K7R141Res21KR142Res21234567891110J6DConnector9123J5PWR2.5Q3NPNLS3Bell1KR143Res210uFC20CapPol110uFC22CapPol110uFC19CapPol110uFC25CapPol11KR111Res21KR126Res2AD0AD1AD2AD3AD4AD5AD6AD7AD0AD2AD3AD1AD0AD2AD3AD1AD0AD2AD3AD1AD4AD5AD6AD7AD4AD5AD6AD7AD4AD5AD6AD7GNDBellBellVCCGNDGNDGNDVCCVCCVCCVCCVCCVCCGNDGNDGNDGNDGNDGNDGNDVCCVCCVCCVCCVCCVCCVCCGNDGNDVCCGNDT1INR1OUTR1OUTT1INXTAL1XTAL2XTAL1XTAL2VCCRSTRSTGNDVCCIN13OUT2GNDU19MC7805K10uFC16CapPol1C18CapC17CapVCCGNDVCCAD12AD13AD14AD15AD12AD13AD14AD15AD[0...3]AD[0...7]AD[4...7]AD[12...15]GND•对于大规模的电路系统来说,由于所包含的电器对象数量繁多,结构关系复杂,很难在一张原理图上完整地绘制出来,其错综复杂的结构也非常不利于电路的阅读、分析与检查。123J5+9VIN13OUT2GNDU19MC7805K10uFC16CapPol1C18CapC17CapGNDD1LED2330R144Res2VCCPowerC1+1VDD2C1-3C2+4C2-5VEE6T2OUT7R2IN8R2OUT9T2IN10T1IN11R1OUT12R1IN13T1OUT14GND15VCC16U27MAX232ACPE1234567891110J6DConnector9Q3NPNLS3Bell1KR143Res210uFC20CapPol110uFC22CapPol110uFC19CapPol110uFC25CapPol1VCCGNDGNDGNDVCCGNDGNDR1OUTT1INBellCommunicationP1.0/T21P1.1/T2EX2P1.2/ECI3P1.3/CEX04P1.4/CEX15P1.5/CEX26P1.6/CEX37P1.7/CEX48RST9P3.0/RxD10P3.1/TxD11P3.2/INT012P3.3/INT113P3.4/T014P3.5/T115P3.6/WR16P3.7/RD17XTAL218XTAL119VSS20P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427P2.7/A1528PSEN29ALE/PROG30EA/VPP31P0.7/AD732P0.6/AD633P0.5/AD534P0.4/AD435P0.3/AD336P0.2/AD237P0.1/AD138P0.0/AD039VCC40MCUP89C51RC2HBPA01A12A23OE24OE35OE16Y77GND8Y69Y510Y411Y312Y213Y114Y015VDD16U25MC74HC138ADAD0AD1AD2AD3AD4AD5AD6AD7GNDGNDVCCVCCVCCAD12AD13AD14AD15AD12AD13AD14AD15AD[12...15]AD[0...7]12Y3XTALC23CapC24Cap10uFC21CapPol1S3SW-DPST4K7R141Res21KR142Res2GNDVCCGNDWRWRAD[0...7]BellR1OUTT1INY5Y6Y7MCUK1f2g3e4d5K6c8DP7b9a10DS13DpyRed-CCA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U20CD4511BCNK1f2g3e4d5K6c8DP7b9a10DS14DpyRed-CCK1f2g3e4d5K6c8DP7b9a10DS15DpyRed-CCK1f2g3e4d5K6c8DP7b9a10DS16DpyRed-CCK1f2g3e4d5K6c8DP7b9a10DS17DpyRed-CCA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U21CD4511BCNA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U22CD4511BCNA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U23CD4511BCNA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U24CD4511BCN1KR97Res21KR98Res21KR99Res21KR100Res21KR101Res21KR102Res21KR103Res21KR105Res21KR104Res21KR106Res21KR107Res21KR108Res21KR109Res21KR110Res21KR112Res21KR113Res21KR114Res21KR115Res21KR116Res21KR117Res21KR118Res21KR119Res21KR120Res21KR121Res21KR122Res21KR123Res21KR124Res21KR125Res21KR127Res21KR128Res21KR129Res21KR130Res21KR131Res21KR132Res21KR133Res2K1f2g3e4d5K6c8DP7b9a10DS18DpyRed-CCA7B1C2D6LE5BI4LT3a13b12c11d10e9f15g14VDD16GND8U26CD4511BCN1KR134Res21KR135Res21KR136Res21KR137Res21KR138Res21KR139Res21KR140Res21KR111Res21KR126Res2AD0AD2AD3AD1AD0AD2AD3AD1AD0AD2AD3AD1AD4AD5AD6AD7AD4AD5AD6AD7AD4AD5AD6AD7VCCVCCVCCVCCVCCVCCGNDGNDGNDGNDGNDGNDGNDVCCVCCVCCVCCVCCVCCAD[0...7]AD[0...7]Y5Y6Y7DSPZ80ProcessorMemoryCPUClockSerialInterfaceSerialBaudClockPowerSupplyProgrammablePeripheralInterfaceCPUSection层次原理图设计的结构电路图(一)输出端口(Port)层次式电路图信号连接信号连接信号连接电路图(三)电路图(五)电路图(四)电路方块图B电路图(二)电路方块图A电路方块图D电路方块图C信号连接输出端口(Port)电路方块图进出点(SheetEntry)母图(root)用户可以将整个产品系统划分为若干个子系统,每一个子系统可以划分为若干个功能模块,而每一个功能模块还可以再细分为若干个基本的小模块,这样依次细分下去,把整个系统划分成了多个层次,电路设计由繁变简。理论上,同一个项目中可以包含无限分层深度的无限张电路原理图。层次原理图的实现自上而下自下而上在电子产品的开发过程中,采用不同的逻辑模块,进行不同的组合,会形成功能完全不同的电子产品系统。用户完全可以根据自己的设计目标,先选取或者先设计若干个不同功能的逻辑模块,之后通过灵活组合,来最终形成符合设计需求的完整电子系统。这样一个过程,可以借助于自下而上的层次设计方式来完成。维护层次结