您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 基于ATmega16的AD7705多通道模拟量采集系统设计
ATmega16AD77051121.0300212.030024ATmega16AD7705CPLDEPM306432。、AD7705。。AD7705ATmega16TP391A1000-3932201104-0466-04、DCSI/OA/D。A/D。16A/DAD7705、。AT-mega1632。。①1A/DAD7705AD7705Σ-Δ16。、。、DSP3。、。。2ATmega16ATmega16Atmel8AVRRISC8CMOS。16KFlashRWW512EEPROM1KSRAM32I/O32JTAG3/T/C/1USART1SPI1。3、AD7705、ATmega16。3.11+5V+3.3V。78L05、Z33D1、D25VD8、D93.3V。C14、C17C15、C16+12V。13.2AD7705AD77052。2.4576MHzY120pF66438①2010-12-2250679050。VDD+5V。AN1+AN1-AN2+AN2-。REF192ADAD77052.5V60.1μF10μF。AD7705Atmega16CS—PD4、RESET—PD5、DRRY—PB3、DIN—PB5、DOUT—PB6SCLK—PB7。2AD77053.3ATmega16ATmega163VCC+5V8MHz。PB5SPIPB6PB7SPI。PB3、PD4、PD5。AVCCLCVCCL110μHC11100nFLC、。AD7705SPIAD7705A/D。3ATmega163.4ATmega16AT-mega16PA4~PA032。CPLDEPM30645/32VHDL3.3VPA4~PA0PD7TD0~TD31。EPM3064EEPROMCMOSCPLD64100TQFP66I/O。PD75/320~31。DS2Y-S8、9AD77051AN1+AN1-4、130AI0+AI0-。PNPQ1TD0D1。1~31AI1~AI31。PD7324CPLDEPM3064。443SPI、AD7705、2。ATmega16SPIAD7705AD7705、、ATmega16AD7705。5。4.1SPIATmega16SPIvoidspi_initvoidDDRB|=1<<PB5|1<<PB7//MOSISCK7644.ATmega16AD77055DDRB&=~1<<PB6//MISOPORTB|=1<<PB6//SPCR=1<<SPE|1<<MSTR|1<<SPR0//SPI0.5MHz4.2AD7705AD7705。AD77051datavoidwr_7705unsignedchardataSPDR=data//whileSPSR&1<<SPIF//AD77052unsignedintrd_7705voidunsignedinttemp//wr_77050x38//1SPDR=1//whileSPSR&1<<SPIF//temp=SPDR<<8//SPDR=1//whileSPSR&1<<SPIF//temp|=SPDR//returntempAD7705voidinit_7705voidwr_77050x20//wr_77050x00//20Hzwr_77050x10//wr_77050x44//14.31AD7705。1DRDY2DRDY01voidtimer1_initvoidTCCR1B=0x00//TCCR1A=0x00//TCNT1H=0xF6//TCNT1L=0x3B//120msTCCR1B=0x04//256TIMSK|=BITTOIE1//1voidtimer1_ovf_isrvoidifDRRY==0//ADvo=rd_7705//ADvo5、、。RS232。32。48786438CP11“RAD”、“CTL”、“STSY”。CPUa.SystemStatusALLCOPYCPUb.CPUCP11“START/STOP”“”c.CP11、CP11d.CPUCP11。CPUCP11“RAD”、“CTL”“*”。。a.b.CP11CP11“START/STOP”“”CP11。CP11CP11。PID。a.b.、cc.FeedbackControld.。。。4CENTUM-XL。DCS、、、。468、。1.J.2006371104~107.2.DSPJ.2008393289~291.DesignofMulti-channelAnalogAcquisitionSystemYANRui-jie1LIHai-xiang1HAORui-xia21.ShanxiVocationalCollegeofPowerTechnologyTaiyuan030021China2.TaiyuanUniversityofTechnologyTaiyuan030024ChinaAbstractA32-channelanalogacquisitionsystemwhichhasmicrocontrollerATmega16coredandtheAD7705beenafront-endacquisitionchipandtheCPLDEPM3064beenalogicswitcharraywasdesignedincludingthepresenceofhardwarecircuitthedriverproceduresandapplicationsoftwareandsomeproblemstheAD7705encounteredinpractice.Thetestingresultsshowthatthesystemcancompletemulti-pointandmulti-parametermeasurementsaftercombiningwithothermeasuringdevices.KeywordsanalogacquisitionsystemsAD7705MCUATmega16multi-channel7844.DCS
本文标题:基于ATmega16的AD7705多通道模拟量采集系统设计
链接地址:https://www.777doc.com/doc-4975394 .html