上海交通大学硕士学位论文便携式DVB_T数字电视接收一体机软件系统设计姓名:程蓉申请学位级别:硕士专业:软件工程指导教师:陈英;王国中20080501DVB_TDVB_TDVB_TCONEXANTCx24156DVBTCx24156ARM920TNucleusPLUS1DIBCOM3000MpcConexant2OSDpcbDVB_TCx24156ARM920TNucleusPLUSTHEDESIGNOFTHESOFTWAREFORDVB_TPORTABLEDIGTALTVRECEIVERABSTRACTWiththerapiddevelopingofthedigitalbroadcastingtechnology,digitalTVbegantoappearintheordinaryfamily.Consumercanenjoythousandsofprogramsalongwithallkindsofteletextinformationintheirownhomenow,andthesoundandimagequalityoftheprogramsareallDVDquality.InthebigfamilyofthedigitalTVfield,hasachievedmoreandmorerecognitiononbothtransfermodeandreceivingtechnology,becauseofitswirelessandmobilereceivingfuture,especialofitssubstituteforcurrentanalogTVbroadcasting.TheDVB_TportabledigitalTVreceiverisusedastheuser-endequipmentinthedigitaltelevisionbroadcasting,whichcanprovideDVB_Tdigitaltelevisionprogrameverywhere.ThemarketoftheDVB_TportabledigitalTVreceiverwillbelively.TheDVB_TportabledigitalTVreceiverisdesignedanddevelopedbasedontheCx24156systemcontrolchipofConexantSystems,Inc.,withARM920TkernelusedfortheCx24156mainchipandNucleusPLUSembeddedOSchosenastheoperatingsystem.ThethesisfirstlyintroducesthepresentsituationandthefutureofthedevelopmentofthedigitalTVindustry.Thenthearchitecturesofhardwareandsoftwarearebrieflydescribed.Andthedesignofcodeloaderandapplicationprogramusedinthesoftwaresystermareanalyzedthoroughly.Thenthethesisputsmoreemphasisthesectionofauthor’smainreserch1TransplantthedrivercodeofDIBCOM3000demodulatorrunningatPCintotheConexantembeddedplayform2ModifytheOSDapplicationprogramaccordingtothehabitoftheuser.Exceptingthis,thethesisdiscussesthesoftwaredevelopmentenvironmentandthedebugsteps.ThefeasibilityofmethodsfordesigningandimplementingtheDVB_TportabledigitalTVreceiverdescribedinthispaperhasbeenprovedbyexperimentsandpractice.TheDVB_TportabledigitalTVreceiverisdevelopedsuccessfually,andcanbeturnedintopracticalproduct.Inthisproject,theauthorisalsoinchargeofthedrawingoftheschematicandpcbexceptfortheabove_mentionedsoftwarework.KEYWORDS:DVB_T,portable,Cx24156mainchip,ARM920Tcore,NucleusPLUS11,!1.1(1)ATSC8-VSB(2)DVB-TCOFDM(3)ISDB-TBST-OFDMATSC8-VSBQAMAWGNDVB-TCOFDM2DVB:(DVB-S)(DVB-C)DVB-TDVB-SDVB-CMPEG-2DVB_TCOFDM30200DVB_TISDB-T(IntegratedServiceDigitalBroadcasting)OFDMBSTBST20021.2COFDMDVB-TDVB-TMPEG2DVB-TDVB_TDVB_T1.312DVB-T3DVB_T;4DVB_T5pc6732DVBDVB_TDVB_T2.1DVBDVB128519939DVBGETSI1DVBDVBDVB:2.1.1MPEG2(ISO/IEC138181/2/3)13818DVB138181(System)138182(Video)1.5Mb/s60Mb/s138183(Audio)MPEG1111723EN300468DVB(DVBSI)MPEG-2PSI42.1.2DVBDVBDVBDVBS(EN300421),DVBC(EN300429)DVBT(EN300744)DVBQPSKQAMCOFDM2.1.3DVBCAConditionalAccessCADVBETR289DVBCADVBCADVBDVB-CADVBTSPES00011011DVBPES12PES1843TSPESTS4TSCACA_PIDDVBCAECMEntitlementControlMessagesEMMEntitlementManagementMessagesCACMTCAMessageTableDVBDVBCI52.2COFDM1HDTVUHF/VHF:PAL2COFDMHDTVPAL7.6MHZMPEG-2HDTVDVB-TCOFDMCOFDMCOFDMAWGNCOFDMzzzzCOFDM2342-362.3MPEG-22.3.1MPEG-2MPEG-2199411MPEG-2310031(ISO/IEC13818-1System):2(ISO/IEC13818-2Video):1.560Mbit/s3(ISO/IEC13818-3Audio):MPEG-111172-3(5.1)MPEG-22.3.2MPEG-2MPEG-221ESMPEG-2ESPESPESPSProgramStreamTSTransportStreamPS,DVDTSPESTSTSTS7PSMUXTSMUXESESPESPES2-1MPEG-2Fingure2-1MPEG-2SystemTranslationLayerStructure2.3.3MPEG-2TSTS42-21l113PIDProgramidentifier224PESPSITS/PID015TSPID5FCROFCR3183381111322481115424288832-2MPEG-2TSFingure2-2MPEG-2TSPackageStructure81PCRPCRMPEG-2PCRMPEG-21TSPSI20PIDPSI3PATPIDPATPIDPMTPIDPMTPIDCAT2TSPSIDVBSIServiceInformationPSISI4NITIRDSDTEITTDTIRD3PCRProgramClockReferencePCR9PCR100msPCRPCRTS(AdaptationField)PCRMPEG-2PCRPCR2.4DVBCOFDMMPEG-2103DVB_TTunerCOFDMMPEG2DVB-TMPEG2DVB-TDVB-TDVB_TAVDVB_T3.1zCOFDMDVB-TzMPEG2z7z12VzzEPG;EPG3.2MPEG2MPEG2711DVB-T3-1DVB-TDVB-TCOFDMTSSocSOCMPEG2TS...73-1DVB-TFingure3-1DVB_TPortableDigitalTVReceiverSystemFrameSocARM9CPUTSMPEG2CPUTSPATPMTNITEITMPEG2CVBS7CVBSSCARLER7123.33.3.13-2DVB-TFingure3-2DVB_TPortableDigitalTVReceiverHarewarePrincipleFrame3-2ThompsonDVB-TDTT7570ENV57H13D5COFDMMPEG2ConexantCX22702DVB-TDIBCOMDIBCOM3000MMPEG2ConexantARM920TCPUMPEG2SOCSystemOnChipTSCx2415XEEPROMFlashSDRAMMPEG2MLCD-PW070DS17CVBSSCARLER13INVERTER712V1.8V3.3V5V32V12V12V3.3.23-3Fingure3-3DetailedHarewarePrincipleFrame&WorkFlowTUNER(Demodulator)MPEGDEMUXMPEGPESPESPESPESPESVIDEODECODERMPEG-2VIDEOENCODERPESAUDIODECODERMPEGAC3SPDIFPCMPCMAUDIODACPCM143.4I2CI2CSDASCLCPUICICIC100kbpsI2CCPUI2C1SCLSDA2SCLSDA3IC8bitICCPUCPUByteByteACK3.5tunermpgeIICIICIPQP154DVB_T4.1ADSPCMulti-ICE4-14-1Fingure4-1IntegratedDevelopmentEnviroment4.1.1:zzPCzzzzPC/164.1.2ADS1.2ARMDeveloperSuite1.2ARMARMADSARMRISCCC++ARMADSAXDWindowsUNIXARMWindowsUNIXCC++CodeWarriorIDEWindowsCodeWarriorIDEUNIX:.:4.2DVB-TDVB-TDVB-TDVB-TCOFDMMPEG-2DVB-TDVB-Tzzz17zzzzzz4.3ARM920TNucleus+ARMASD1.2Multi-ICE4-24-2DVB-TFingure4-2DVB_TPortableDigitalTVReceiverSoftwareSystemFrame4-2ConexantSTBChip-SetConexantBoardSupportPackageBSPCoreDeviceDriversEEPROMFLASHMEPG-2TSIICRS232NucleusRTOSCKernelAdaptionLayerKAL18ApplicationMPEG4-3Fingure4-3LevelsDivide&ModuleManagement4.4194-1List4-1MianSystemFunctionModules123nCODEL