湖南大学硕士学位论文基于CAN总线的视频监控系统数字控制模块设计姓名:陈卫国申请学位级别:硕士专业:@指导教师:戴瑜兴20070802CANICAN189C512A/D316845CANRS-485PELCO-PCANSJA1000689C51Proteus89C51Proteus7CANCANDVRCANIIAbstractThevideomonitoringsystemiswidelyusedinourcountry.Theresearchondigitizedcontroltechnologiesofvideomonitoringsystemanditsapplicationsturnsouttobeanimportantresearchsubject.Thispaperpreciselyconductsthespecialtopicresearchinviewofsomeimportanttechnologiesofthedigitizedcontrolmodule.1ACmotorcontrolcircuitofPANTILTisdesigned,whichspeediscontrolledbyAT89C51MCU.DCmotorcontrolcircuitofLENSisdesignedtoo.2Thehardwareandsoftwareofautomatictemperaturecontrolisdesigned,whichusedincameraprotectboxwithoutA/DIC.AkindofsinglewirecommunicationICisusedinthecircuit.So,theprogramisgiven.3Amethodofvideoswitchwithoutpictureshockisdiscussedinthispaper,and16x8videoswitchcircuitisdesigned.AT89C51cancarryouttimesequencelogicalcontrolwiththesyncsignalsbyrequest.4Themoduleofreal-timeclockisdesigned,inwhich,LCMisused,akindofthree-wirecommunicationICisusedtoo.5CAN-busisusedindigitizedcontrolmoduleofvideomonitoringsystem,replaceofRS-485.Asaresult,thecontroloftherotationofseveralpan-tilt-zoomsbasedonPELCO-Pprotoco1isrealized6SimulationofAutomatictemperaturecontrolsystemandreal-timeclocksystemusingAT89C51asmicroprocessorsisrealized.7TestofCAN-busnodeisfinished.Thesysteminthispaperiscompartmentalizedtobethreeparts:MatrixSwitcher,TerminalDecoderandCANcommunicationsystem,byresearchofnewtechnologies,communicationability,credibility,agility,reliabilityisimproved,addingnewfunction,theresultcanbeconsultedinthedesignofproductsuchasMatrixSwitcher,TerminalDecoderDVR,RemoteVideoMonitoringSystem.KeyWords:VideoMonitoringSystemDigitizedControlModuleMatrixSwitcherTerminalDecoderCAN-BUSCAN1______2-1-11.11.[1][2]MPEG-4SDH[3]20062007[4][5]2002[6]20044212007419200751[7]1.12.2005702090ADPELCOPhilips()()PanasonicCAN-2-1.190[8]RS485CAN1.21.2.11.75PC-3-1km2.9OwebPC1.2.21.()2.3.CAN-4-[9]~[19]4.1.3CANCAN412DS18B20Proteus3AT89C51MT8816LM1881,AT89C51DS1302Proteus4CANCANSJA1000CAN82C250CANPELCO-PCANDP51-PROCANPACKSJA1000-5-AT89C5122.12.1.1424V220V12V36V9V2.1.22.182562.12.1.3,1CAN-6-CAN2(ZOOM)(FOUCS)(IRIS)3//()2.1.42.22,[20][21]2.22.22.2.1;220V24V415(COM)(COM)-7-MOTORACMC1413T4-B220Ω360Ω+5V220VU1MOC3041220V2.12.1COMUPDOWNLEFTRIGHT220V0000220V0000220V0000220V00002.2.22.3()[21][26]2.32.3MOC3041STMicroelectronicsT4RC2.2.31AT89C5150Hz/2.42.4CAN-8-ABCtU7OPTOISO1R15120KR13390R1210KR142.7KR16120K2WQ2TRIACD110VMG1MOTORAC~220VQ19012+5VP2.71234D5BRIDGE1250Hz2.52.529013UA=UBE0.7VQ2Q3BCUA=UBE0.7VQ2Q3BC2.62.632.7/2.7-9-1GP2.7t2AT89C51P2.79012GP2.790122.82.842.9112.3(W)(T)12V+12V4(ZOOM)(FOUCS)(IRIS)1(COM)(COM)T/WIRIS+/IRIS-FOUCS+/FOULS-CAN-10-/11/1256usNY2.92.102.1012ZOOM2.2FOUCSIRIS2.10:-11-U14:A4N35(1)U14:B4N35(2)R22470R23470U13:AMC1413U13:BMC1413+5V12Q4Q5+12V-12VR24330R25330+12VOUTP2.5P2.42.102.212ZOOM1012V01-12V00HTHUDN2952BMB3863L298T6~12V6~12V2.42.1112VCAN-12-U104N35(1)R26470U1MC1413+5V+12VIRF620SCR+12VC_OUTP2.32.112.5DS18B20,,A/D,,,,-551250.625[27][28]2.5.1DS18B201DS18B20DS18B20912DS18B2012DS18B20343.05.5V5691278-13-9DS18B203PR-358SOIC2.1264ROMTHTL8CRCVDDCI/O2.12DS18B20VDD2DS18B20RAMEERAMRAM82.13LSBMSBTH1TL2CRC2.13RAM31ROMROMReadROM[33H],64,DS1820,CAN-14-MatchROM[55H]DS1820,64,DS1820SkipROM[0CCH],64SearchROM[0F0H]DS1820,DS182064AlarmSearch[0ECH],,SearchROM2RAMROMConverT[44H],500ms,500ms9ReadScratchpad[0BEH]9WriteScratchpad[4EH]34,CopyScratchpad[48H]34EEP2ROMRecallE2[0B8H]EEPROM34,ReadPowerSupply[0B4H]DS1820,,DS18200,,DS182014DS18B20DS18B202.142.1412DS18B20-15-28.0DQ2VCC3GND1U15DS18B20XTAL218XTAL119ALE30EA31PSEN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.01P1.12P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C5110022.14DS18B202.5.2AT89C51DS18B202.152.152.5.3DS18B2012MHz1DS18B2089C51DSl8B20DS18B20DS18B20CAN-16-DS18B20SKIPROM[CCH][44H]DS18B20SKIPROM[CCH][BEH]R0R115us~60us480usDS18B20DS18B20480us~960usP1.72.162.16DS18B202DS18B2016120.0625/LSB2.172.17DS18B20-17-3DS18B20LSB3222120212−22−32−42−MSBSSSSS625242DS18B202.5.41KeilVision2Proteus6Professional2(1)KeilVision2HEX2Proteus6ProfessionalHEXKeilVision22.18Proteus6Professional2.193DS18B20R0R1DS18B202.32.3DS18B20DS18B20R0R1112C0000C12229D0011D293502003325041004006641005-3110FEE1-312.3DS18B20CAN-18-2.18HEX2.19-19-2.5.512.202.202B348484848DS18B20.DSNDS18B20.HEXDCAN-20-33.1()()(Multiplexer)(Router)(CrosspointArrayMatrix)MNMNMN[29][30]3.1.1MAX453MAX454CD4053MAX455CD4051CD406788MAX456168MT881616l6AD81161MAX4568MAX4551MT8816l6CD405lMAX453MAX454MAX455MAX456AD8116CD4053CD4051CD4067MT8816-21-LM1881MT8816168CANMT88l6[31][32][33][34]3.1.2AT89C51MT88161683.13.1MT88l6LM1881MT88163.23.2.1MT8816MT8816MITEL-3dBCAN-22-7TO128816AX0AX1AX2AX3AY1AY2AY3CSSTROBE1128DATARESET1128YiI/O(i=0-7)VDDVEEVSSXiI/O(i=0~15)45MHz16x81287128128STROBE7128STROBEDATADATADATA1DATA0CSMT8816MT8816MT88165V12VMT88163.23.2MT88161.M