重庆大学本科学生毕业设计(论文)基于PC机声卡的数据传输系统设计与实现学生:陈毅学号:20094982指导教师:曾孝平专业:集成电路设计与集成系统重庆大学通信工程学院二O一三年六月GraduationDesign(Thesis)ofChongqingUniversityDesignandImplementationofDataTransmissionSystembasedonSoundCardUndergraduate:YiChenSupervisor:Prof.Xiao-pingZengMajor:IntegratedCircuitDesignandIntegratedSystemCollegeofCommunicationEngineeringChongqingUniversityJune2013重庆大学本科学生毕业设计(论文)中文摘要I摘要软件无线电概念(SDR)从90年代提出至今,由于其灵活性和可重配置性特点符合通信的发展趋势,一直是通信系统设计及研究的热点[1]。另一方面,超大规模集成电路技术的发展使得个人计算机和PC声卡性能不断提升而成本不断降低,这使得利用计算机和声卡进行虚拟仿真和信号处理也越来流行。本文基于软件无线电思想,利用计算机和PC声卡搭建一个通信仿真验证平台。该通信仿真验证平台在计算机上用可重复利用的代码动态配置各通信功能模块,并以DQPSK通信为例验证了整个系统功能的完整性与可行性。本文首先从原理上介绍整个通信仿真验证平台的模块构成,主要包括信源的可变长度编码,信道的卷积编码和维特比译码,DQPSK调制与解调,脉冲成型,载波同步和位同步;接着,介绍该仿真验证平台的搭建和界面设计,及其MFC实现与通信测试。该仿真验证平台采用模块化编写方法,具有简单易实现、波形可视化、可软件重配置等优点,主要适用于性能适中、成本较低的应用场合,如通信教学实验、业余无线电等。不仅如此,该平台所用的声卡是计算机的一个模拟接口,可以扩展用于电台和电话网中进行通信,因此具有一定的应用前景。关键词:声卡,通信仿真验证平台,卷积码和维特比译码,DQPSK重庆大学本科学生毕业设计(论文)ABSTRACTIIABSTRACTSinceputforwardinthe90s,SoftwareDefinedRadio(SDR)hasalwaysbeenthefocusofthedesignandresearchofcommunicationsystem,becauseithasthecharacteristicsofflexibilityandreconfiguration.Furthermore,duetothedevelopmentoflargescaleintegratedcircuittechnology,theperformanceofcomputerandsoundcardareconstantlyimprovedwiththedroppingdowncost,whichleadstotheuseofcomputerandsoundcardforvirtualsimulationandsignalprocessingbecomingmoreandmorepopular.ThisthesisaimtobuildacommunicationsimulationplatformbasedontheideaofSDRwiththeuseofcomputerandsoundcard.Thecommunicationsimulationplatformcanreusecodesothatdynamicallyconfigureeachcommunicationalmoduleoncomputer,andverifytheintegrityandfeasibilityofthewholesystemwiththeexampleofDQPSK.Thefirstpartofthethesisintroducesthemainelementsofthecommunicationsimulationplatform:thesourceVariable-lengthcoding,ChannelconvolutioncodingandViterbidecoding,DQPSKmodulationanddemodulation,pulseshaping,carriersynchronizationandbitsynchronization.Andthenextpartintroducesthestructureofthesimulationplatform,thedesignofGUIandtheMFCcommunicationtest.Thiscommunicationsimulationplatformiscompiledwithmodularmethod,whichhassomanyadvantagesliketheconvenienceoftheimplement,thevisualizationofthewaveform,thereconfigurationofsoftware,etc.Inaddition,thiscommunicationsimulationplatformismainlyappliedtotheoccasionthattheperformancerequirementismoderateandthecostislowlikecommunicationteachingexperimentsandamateurradio.Intheend,thesoundcardappliedintheplatformisananaloginterfaceofcomputerwhichcanalsobeappliedtotheradioandthenetworkoftelephoneforcommunication.Accordingly,thiscommunicationsimulationplatformwillbeusedinsomepotentialapplicationscenarios.Keywords:soundcard,communicationsimulationplatform,convolutioncodingandViterbidecoding,DQPSK重庆大学本科学生毕业设计(论文)目录III目录摘要..........................................................................................................................................IABSTRACT.................................................................................................................................II1绪论...........................................................................................................................................11.1选题背景意义.......................................................................................................................11.2论文主要内容.......................................................................................................................21.3总体方案设计.......................................................................................................................32数字编译码...........................................................................................................................52.1信源编译码...........................................................................................................................52.2信道编译码...........................................................................................................................62.2.1差错控制技术概述....................................................................................................62.2.2卷积码编码的实现....................................................................................................72.2.3维特比译码的实现....................................................................................................93数字调制解调与同步....................................................................................................113.1DQPSK数字调制实现........................................................................................................113.1.1DQPSK调制.............................................................................................................113.1.2脉冲成型..................................................................................................................123.2DQPSK数字解调实现........................................................................................................163.3系统同步.............................................................................................................................183.3.1载波同步........