数字电路实际中应用对9600波特率的串行通信基波信号调制成频率为48kHz的2DPSK调制波,要求若是数据0,则载波与前面载波反相。调制波示意图0011111.设计2DPSK调制电路数字电路实际中应用CPLD调制电路CLKDATA2fabcd数字电路实际中应用设计的电路如图所示0110000110001CLKDATA2fabcd数字电路实际中应用EA/VP31X119X218RESET9RD17WR16INT012INT113T014T115P101P112P123P134P145P156P167P178P0039P0138P0237P0336P0435P0534P0633P0732P2021P2122P2223P2324P2425P2526P2627P2728PSEN29ALE/P30TXD11RXD10IC40189C51VCC12345678IC408MAX813VCCR4271kC40322uR426200VCCRESETC40230pC40130p1234S401R4072kX40124MHZD4014148D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40374LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40274LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40474LS373341413IC405BTIL199R4155KR4022KVCC561211IC405CTIL199R4165KR4032KVCC78109IC405DTIL199R4175KR4042KVCC121615IC406ATIL199R418100R4052KVCC+24V341413IC406BTIL199R419100R4062KVCC+24V561211IC406CTIL199R420100R4082KVCC+24V78109IC406DTIL199R421100R4092KVCC+24V121615IC407ATIL199R422100R4102KVCC+24V341413IC407BTIL199R423100R4112KVCC+24V561211IC407CTIL199R424100R4122KVCC+24V78109IC407DTIL199R425100R4132KVCC+24V121615IC405ATIL199R4145KR4012KVCC+24VPLCGGND+5V+15V-15VTX0TX11234567891011121314151617181920CN120PINAD0CONVCLKAD1DSENDSCLKDSDIDATDCDR428120PLCBPLCAR429620R43062012345678GNDBAVCCRO/REDEDIIC409MAX485VCCVCC123CN23PINPLCBPLCAGNDWDGWDG12348765ONDIP1234SW401SW-4VCCR4312kR4322kR4332kR2402kTXCSTXCSABCDCDO12348765ONDIP1234SW402SW-4地址检测器地址并行输出部分图纸2.分析实际中出现的问题74HC373八D锁存器Q’7核心电路是8个传输门控D锁存器。LE=1,Q’i=Di每一个D锁存器输出都带三态门。OE=1,输出高阻;OE=0,Qi=Q’i74HC373内部逻辑图74373功能:LE=1时数据输入,在LE↓锁存;OE=0时,输出被锁存的数据。数字电路实际中应用数字电路实际中应用D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40374LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40274LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40474LS373341413IC405BTIL199R4155KR4022KVCC561211IC405CTIL199R4165KR4032KVCC78109IC405DTIL199R4175KR4042KVCC121615IC406ATIL199R418100R4052KVCC+24V341413IC406BTIL199R419100R4062KVCC+24V561211IC406CTIL199R420100R4082KVCC+24V78109IC406DTIL199R421100R4092KVCC+24V121615IC407ATIL199R422100R4102KVCC+24V341413IC407BTIL199R423100R4112KVCC+24V561211IC407CTIL199R424100R4122KVCC+24V78109IC407DTIL199R425100R4132KVCC+24V121615IC405ATIL199R4145KR4012KVCCD03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40374LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40274LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40474LS373341413IC405BTIL199R4155KR4022KVCC561211IC405CTIL199R4165KR4032KVCC78109IC405DTIL199R4175KR4042KVCC121615IC406ATIL199R418100R4052KVCC+24V341413IC406BTIL199R419100R4062KVCC+24V561211IC406CTIL199R420100R4082KVCC+24V78109IC406DTIL199R421100R4092KVCC+24V121615IC407ATIL199R422100R4102KVCC+24V341413IC407BTIL199R423100R4112KVCC+24V561211IC407CTIL199R424100R4122KVCC+24V78109IC407DTIL199R425100R4132KVCC+24V121615IC405ATIL199R4145KR4012KVCC光电耦合器接法1.输入低电平LED发光,对应输出高电平01接法2.输入高电平LED发光,对应输出低电平10数字电路实际中应用D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40374LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40274LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40474LS373341413IC405BTIL199R4155KR4022KVCC561211IC405CTIL199R4165KR4032KVCC78109IC405DTIL199R4175KR4042KVCC121615IC406ATIL199R418100R4052KVCC+24V341413IC406BTIL199R419100R4062KVCC+24V561211IC406CTIL199R420100R4082KVCC+24V78109IC406DTIL199R421100R4092KVCC+24V121615IC407ATIL199R422100R4102KVCC+24V341413IC407BTIL199R423100R4112KVCC+24V561211IC407CTIL199R424100R4122KVCC+24V78109IC407DTIL199R425100R4132KVCC+24V121615IC405ATIL199R4145KR4012KVCC电路由74373和光耦组成。目的是单片机检测到的20位地址送给3片74LS373,从上到下分别为高、中、低位地址,并通知PLC。PLC输出①、②、③、④,①=1表示已经读到了地址,②、③、④分别=1,分别让高、中、低74LS373使能读出高、中、低位地址,平时②=1,③、④=0。⑴~⑻为PLC输入数据线①②③④⑴⑵⑶⑷⑸⑹⑺⑻数字电路实际中应用D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40374LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40274LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40474LS373341413IC405BTIL199R4155KR4022KVCC561211IC405CTIL199R4165KR4032KVCC78109IC405DTIL199R4175KR4042KVCC121615IC406ATIL199R418100R4052KVCC+24V341413IC406BTIL199R419100R4062KVCC+24V561211IC406CTIL199R420100R4082KVCC+24V78109IC406DTIL199R421100R4092KVCC+24V121615IC407ATIL199R422100R4102KVCC+24V341413IC407BTIL199R423100R4112KVCC+24V561211IC407CTIL199R424100R4122KVCC+24V78109IC407DTIL199R425100R4132KVCC+24V121615IC405ATIL199R4145KR4012KVCC①.单片机每隔35ms检测一次地址,检测后通过并行口输出地址反码,先送高位,高位地址的最高位D7=1(反码=0)表示有新检测地址;然后再送中、低位地址。②.PLC②=1,检测⑻=1,得知有新地址,便开始一轮读地址,先读高位,然后②③④=010读出中位,最后②③④=001读出低位,读完后①②③④=1000通知单片机已经读完地址。再①②③④=0100准备下一轮。①②③④⑴⑵⑶⑷⑸⑹⑺⑻数字电路实际中应用D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40374LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40274LS373D03Q02D14Q15D27Q26D38Q39D413Q412D514Q515D617Q616D718Q719OE1LE11IC40474LS373341413IC405BTIL199R4155KR4022KVCC561211IC405CTIL199R4165KR4032KVCC78109IC405DTIL199R4175KR4042KVCC121615IC406ATIL199R