已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
3g移动终端基带信号处理器设计与实现摘要:随着数字技术的进步,高速、超大规模集成电路广泛使用,3g移动终端基带信号处理系统正朝着灵活、高度集成化、模块化、通用化的方向发展。基带信号处理器是数字技术与通信技术相结合的产物,它能灵活处理数字基带信号,调制无线信号以便实现同通信网络系统前端基站的无线通信。文章设计了一种基于先进微处理器(arm)、数字信号处理(dsp)和现场可编程门阵列(fpga)体系结构的3g移动终端基带信号处理器。这种体系结构的优点在于当提供更能满足客户需求的先进处理器时,整个系统容易集成,而且可以通过软件方法方便地增加功能,而不必定制只读存储器(rom)编码的新芯片。同时系统使用软件实现联合检测和信号解码功能,通过软件更新轻松实现对系统的任何升级,无需硬件修改。 关键字:3g,信号处理design and realize of 3g mobile termination baseband signal processorabstract:along with digital techniques progress, high speed, the ultra large scale integrated circuit widely uses, the 3g mobile termination baseband signal processing system toward nimble, integrated, modular, the universalized direction is developing highly. the baseband signal processor is the product which the digital technique and the communication unify, it can process the digital baseband signal nimbly, the modulation wireless signal in order to realize with the communication network system front end the base depot wireless communication. along with digital techniques progress, high speed, the ultra large scale integrated circuit widely uses, the 3g mobile termination baseband signal processing system toward nimble, integrated, modular, the universalized direction is developing highly. the baseband signal processor is the product which the digital technique and the communication unify, it can process the digital baseband signal nimbly, the modulation wireless signal in order to realize with the communication network system front end the base depot wireless communication. the article has designed one kind based on advanced microprocessor (arm), digital signal processing (dsp) and scene programmable gate array (fpga) the architecture 3g mobile termination baseband signal processor. this kind of architectures merit lies, when provides can meet the customer need the advanced processor, the overall system easy to integrate, moreover may increase the function conveniently through the software method, but does not need to have custom-made the non-erasable storage (rom) code the new chip. simultaneously the system use software realizes the union examination and the signal decoding function, with ease realizes through the software update to systems any promotion, does not need the hardware to revise.keywords:3g,signal process1设计思路随着实时数字信号处理技术的发展,arm、dsp和fpga体系结构成为3g移动终端实现的主要方式。本文的设计通过arm对目标及环境进行建模、运算,生成网络协议仿真数据库,应用dsp进行数据调度、运算和处理,最后形成所需的调幅、调相、调频等控制字,通过fpga控制收发器芯片产生射频模拟信号。利用数字芯片之间的通用性,arm与dsp间的通信,不仅能实时处理接收和发送的数据,还可以适应不同移动网络的具体要求,同时方便加载新的程序。fpga数字频率合成技术以其在频率捷变速度、相位连续性、相对带宽、高分辨率以及集成化等方面的优异性能,为 3g移动终端射频信号模拟的实现方式提供了选择。 2硬件实现本系统主要部分是arm主控模块、dsp实时数据处理模块和fpga信号生成模块。arm主控模块实现物理层与协议栈的通信,接收高层的指令,执行相应的任务。如协议栈需要在某些子帧中的某个或几个上行时隙发送数据到核心网,在某些子帧中的某个或几个下行时隙接收核心网的数据,这时把所有的指令和数据都存放在同步动态随机存储器(sdram)中,然后通知dsp去执行。dsp实时数据处理模块得到数据和命令后,首先处理发送数据,对数据进行信道编码调制、crc附着、交织、扩频调制等,然后处理接收数据,如信道估计、去干扰、crc校验、信道解码、解扩、唯特比解码等。fpga为信号生成模块,管理26 m时钟,进行分频的任务,控制模拟基带(abb)的自动发送功率控制(apc)、自动接收增益控制(agc)、自动频率控制(afc)等,同时也实时控制射频(rf)的工作。当dsp中的一些算法非常稳定后,可以用fpga来实现这些算法,减少dsp的处理负担。2.1接口arm与dsp的数据交换是通过双口随机存储器(ram)来实现的,起到上下行控制命令、参数和数据等缓存和交换的作用。这里收发双口ram数据线的位数大小为16 bit,sdram 存储大小为128 m。硬件中断信号线8(int8)与硬件中断信号线9(int9)每5ms相互产生一次,等于td-scdma空口信号的子帧中断,同时也可以作为arm与dsp的控制命令、响应来实现arm与dsp之间的通信。fpga的主要的接口有data_out15:0接口,与数模转换器(a/d)接口和与rf接口。data_out15:0接口用来输出fpga运算的结果,与dsp的数据总线挂接在一起,在fpga内部设置一个三态门,开门信号就是 fpga的片选信号ce。当ce不选通的时候,三态门输出为高阻状态,不会影响dsp的数据总线。在每一个样点间隔的时间内,fpga运算出相关值的实部和虚部,将它们分别锁存在4个16 bit的锁存器中,并将与dsp相连的data_ready信号置高电平,表示数据已经准备好。dsp检测到data_ready为高后会进行读操作,用地址总线的高几位产生出片选信号将fpga选通,通过地址总线的低两位a0、a1来选择4个锁存器的其中一个,依次读取实部和虚部两个32位数的高16位和低16位。fpga内部会对dsp的读操作计数,确认数据分4次读出后,则将data_ready置低,直到下一次运算完毕后再抬高。fpga的频率、相位和幅度控制字的设置和控制信号的产生由tms320c5510完成,fpga可以看作是异步存储设备与tms320c5510的外存储器接口 (emif)相连,emif采用32 bit总线。与数模转换器(a/d)接口的a/d一端连接abb,另一端连接fpga,传输要发送的数据和移动网络接收的数据。在与a/d的接口部分中,有 3个输入端rif、ps和clk。rif用来串行输入a/d转换来的样点值;ps为帧同步信号,它在输入到fpga后用来驱动fpga内部的总体控制模块;clock为移位时钟,它控制a/d与fpga之间数据串行传输的移位。与rf接口主要是用来控制发送和接收rf芯片工作。2.2主控模块主控模块负责控制和协调各种工作,arm采用ti公司生产的开放式多媒体应用平台(omap)微处理器,通过集成锁相环倍频系统主频可以达到 66 mhz,最大外部存储空间可达256 mb,片上资源丰富,外围控制能力强性价比高。由它控制dsp模块接收网络发送的命令及参数,实现无线自由的协议通信。2.3实时数据处理模块实时数据处理模块1通过共享内存与arm实现发送的命令、传输参数和数据,根据设定的移动终端工作状态,如cell search、随机接入过程(ra)、专用控制信道(dcch),及目标、环境的实时动态计算fpga的控制字。同时也通过共享内存上报从网络接收的数据和信息传输给arm;通过锁存器向处理板提供控衰减控制信号实现睡眠,来达到省电。dsp采用ti公司c5000系列中的tms320c5510,系统时钟达600 mhz,数据处理速率可以达到4 800 mips。提供32/16 bit主机口,具有两个独立的外部存储器接口,其中emif支持64 bit总线宽度。2.4 fpga模块设计本文的设计采用stratix系列芯片,内嵌多达10 mbit的3种ram块:512 bit容量的小型ram、4 kb容量的标准ram、512 kb的大容量ram。fpga模块具有true_lvds电路,支持低电压差分信号(lvds)、低电压正射极耦合逻辑(lvpecl)、准电流模式逻辑 (pcml)和超传输模式(hypertranport)差分i/o电气标准,且有高速通信接口。本设计提供了完整的时钟管理方案,具有层次化的结构和多达12个锁相环(pll)。stratix系列使用的开发软件是altera公司提供的新一代开发软件quartus ii。该系列芯片的最大特色是内嵌硬件乘法器和乘加结构的可编程dsp模块,适用于实现高速信号处理。这种dsp模块是高性能的嵌入算术单元,它可以配置为硬件乘法器、加减法器、累加器和流水线寄存器。stratix系列具有多达28个dsp模块,可配置为224个嵌入乘法器,可以为大数据吞吐量的应用提供灵活、高效和有价值的方案。这些dsp模块可以实现多种典型的dsp功能,如有相关器、限冲击响应(fir)滤波、快速傅立叶变换(fft)功能和加密/解密功能等,其中相关器算法设计是各种其他算法实现的基础和基本组成部分。移动终端系统接收到的射频信号经过前端预处理后,送到a/d采样,然后通过串行方式输出样点值到fpga2。每个样点值是用10 bit的二进制补码表示的,需先通过一个串/并转换器转化为宽度为10 bit的并行信号。首先样点值要进行的是希尔波特变换,希尔波特变换有多种实现方法,这里采用一个129阶的滤波器来实现,滤波器的抽头系数由 matlab函数remez产生,得到与其正交的另一路信号;然后以这两路信号分别作为实部和虚部,与本地序列进行相关运算,将相关值的实部和虚部送给 dsp做后续处理。这样,dsp才可以通过先对相关值求模,然后对模值出现的峰值的间隔、幅值和数目等信息进行判断和进一步处理,来确定是否捕捉到信号。2.5 pfga与rf的接口、总线及时序控制设计为了增加信道容量、改善带宽效率,td-scdma通过利用上行链路(反向链路)同步、软件无线电和智能天线的技术将时分双工(tdd)与 cdma结合起来。td-scdma要求手机的射频部分具有快速的切换时间、高的动态范围以及发送机和接收机部分的高线性度。max2410是一个完整正交发射器,它由一个正交调制器、可变增益if和rf放大器组成。max2309是一种为基于cdma的单频单模蜂窝电话系统设计的if接收机,其输入频率范围经过优化达到70 mhz300 mhz,在35 db增益下达-33 db,在-35 db增益下达+1.7 db。fpga控制rf主要通过4个rf控制寄存器:a word寄存器、b word寄存器、c word寄存器和d word寄存器。3软件实现移动终端软件包括应用层软件、通信协议软件和物理层软件3部分。应用层软件lay 4-7:包含人机界面(mmi)和系统应用层协议(s/w)部分,mmi为移动终端使用者接口,s/w类似移动终端的操作系统。通信协议软件lay2-3:该部分软件较大,主要为通信协议,主要保证无线通信系统可以在各种状况顺畅互通。物理层软件lay 1:负责协调dsp、其他硬件和软件。物理层软件的设计将能实现节能的特性、多资源、多时隙的处理、数据包和对其他网络系统的监测。在设计物理层软件时的还要对相邻小区的监测,特别是当相邻小区间彼此还没有同步的时候。移动终端软件各个模块主要实现与硬件的对应关系如下:应用层软件lay 4-7和通信协议软件lay 2-3软件的实现主要是在arm中实现,假如lay 4-7需要一些特别高要求的应用时,可以再增加相应的硬件模块,而不影响原有的架构,如增加高要求多媒体的处理和播放;物理层软件lay 1主要在dsp和fpga中实现。在软件编程时arm和dsp可以使用c语言来实现,使用的调试工具为ccs软件,当dsp中有一些算法非常成熟后,移动通信对这块的实时性要求比较高时,应该用汇编语言来实现,在fpga中可以用vhdl语言来实现。在编程是首先尽量定义好各个功能模块的任务,然后定义好各个功能模块的接口参数等,在可以不用全局变量的时候尽量不用。另一个主要挑战是在td-scdma终端里实现联合检测算法,特别是关于算法的时间优化。dsp和fpga之间的任务分配上要有一个合理协调的分工,这样能够最大限度的发挥这两个处理器的功能。在实际软件编程中,算法程序计算量大、编码延时过长,因此需要在保证质量的前提下对算法进行优化。在满足精度要求下,进一步将算法简化,粗化搜索范围来降低计算量;对于高级语言程序代码,用混合汇编、去除嵌套循环等方法进行代码优化,提高代码效率。4 结束语该系统很好的实现了3g移动终端处理功能,但实际环境比仿真环境更复杂,需要给出解决办法,然后再验证。目前该方案实现了384 kb/s工作,使用3个时隙(每个时隙128 kb/s);实现了基于高速下行分组接入(hsdpa)技术提高数据速率,它类似于wcdma和cdma2000标准所提供的速率。开发的3g芯片组能够满足消费者对于改善性能和功能的要求,同时又保持了相同或更低的价格。design and realize of 3g mobile termination baseband signal processor along with digital techniques progress, high speed, the ultra large scale integrated circuit widely uses, the 3g mobile termination baseband signal processing system toward nimble, integrated, modular, the universalized direction is developing highly. the baseband signal processor is the product which the digital technique and the communication unify, it can process the digital baseband signal nimbly, the modulation wireless signal in order to realize with the communication network system front end the base depot wireless communication. along with digital techniques progress, high speed, the ultra large scale integrated circuit widely uses, the 3g mobile termination baseband signal processing system toward nimble, integrated, modular, the universalized direction is developing highly. the baseband signal processor is the product which the digital technique and the communication unify, it can process the digital baseband signal nimbly, the modulation wireless signal in order to realize with the communication network system front end the base depot wireless communication. the article has designed one kind based on advanced microprocessor (arm), digital signal processing (dsp) and scene programmable gate array (fpga) the architecture 3g mobile termination baseband signal processor. this kind of architectures merit lies, when provides can meet the customer need the advanced processor, the overall system easy to integrate, moreover may increase the function conveniently through the software method, but does not need to have custom-made the non-erasable storage (rom) code the new chip. simultaneously the system use software realizes the union examination and the signal decoding function, with ease realizes through the software update to systems any promotion, does not need the hardware to revise.1 design mentality along with the real-time digital signal processing technologys development, arm, dsp and the fpga architecture becomes the fundamental mode which the 3g mobile termination realizes. this article design carries on the modelling, the operation through arm to the goal and the environment, the production network protocol simulation database, carries on the data dispatch, the operation and processing using dsp, finally forms control words and so on amplitude modulation which, phase modulation, frequency modulation needs, produces the radio frequency simulated signal through the fpga control transceiver chip. using digital chip between versatility, arm and dsp correspondence, not can only the real-time processing receive the data which and transmit, but may also adapt the different motion network specific request, simultaneously facilitates loads the new procedure. the fpga digit frequency synthesis technology take it in aspect and so on frequency agility speed, phase continuity, relative bandwidth, high resolution as well as integration outstanding performance, as the 3g mobile termination radio-frequency signal simulation realizes the way to provide the choice.2 hardware realize this systems main part are the arm master control module, the dsp real-time data processing module and fpga signal production module. the arm master control module realizes the physical level and the agreement stacks correspondence, receives the high-level instruction, carries out the corresponding task. if the agreement stack needed in certain sub-frames some either several upward time slot transmission data to the core network, in certain sub-frames some or several downward time slot receive core networks data, by now deposits all instructions and the data in synchronized dynamic random-access memory (sdram), then informed dsp to carry out. after the dsp real-time data processing module obtains the data and the order, first processes the transmission data, carries on the channel coding modulation, crc to the data to adhere to stick cohere, to interweave, the wide frequency modulation and so on, then the processing receive data, like the channel estimated that disturbs, the crc verification, the channel decoding, the despread, only especially compared to the decoding and so on. fpga is the signal production module, manages 26 m clocks, carries on the frequency division the duty, control simulation baseband (abb) automatic transmission power control (apc), automatic reception gain control (agc), automatic frequency control (afc) and so on, simultaneously also real-time control radio frequency (rf) work. when in after dsp some algorithms are stable, may use fpga to realize these algorithms, reduces dsp the processing burden. 2.1 connection arm and the dsp data exchange realizes through pair of mouth stochastic memory (ram), namely figure 1 sdram, plays ascending-descending buffers and the exchange and so on control command, parameter and data role. here receives and dispatches the pair of mouth ram data line the figure size is 16 bit, the sdram memory size is 128 m. the hardware interrupt holding wire 8(int8) produces mutually with hardware interrupt holding wire 9(int9) every 5 ms one time, was equal to that the td-scdma idle talk signal the sub-frame interrupts, simultaneously may also as arm and the dsp control command, the response realizes between arm and the dsp correspondence.the fpga main connection has the data_out15:0 connection, with d/a converter (a/d) connection and with the rf connection.the data_out15:0 connection uses for to output the fpga operation the result, hangs with the dsp data bus meets in the same place, establishes a three states of matter gate in the fpga interior, the enabling signal is fpga selects patches or strips of land as worth saving for seed signal ce. when ce does not select, the three states of matter gate output is the high-resistance condition, will not affect dsp the data bus. in each sampling point gaps time, fpga operates the correlative value the real part and the imaginary component, distinguishes the lock them to have 4 16 bit in the latches, and signal will set at the high level with dsp the connected data_ready, indicated that the data already prepared. dsp examines data_ready is gao houhui carries on reads the operation, produces with address buss high several selects patches or strips of land as worth saving for seed the signal to select fpga, through address buss low two a0, a1 chooses 4 latches, reads the real part and the imaginary component two 32 figures in turn high 16 and low 16. the fpga interior will read the operation counting to dsp, confirmed after the data will be divided 4 read-out, will set at data_ready lowly, finished after the next operation raised again. the fpga frequency, the phase and the scope control words establishment and control signals production completes by tms320c5510, fpga may regard as is the asynchronous storage device and tms320c5510 external memory connection (emif) is connected, emif uses 32 bit main lines. d/a converter (a/d) connections a/d end connection abb, another end connection fpga, the transmission must transmit data and motion network receive data. with in a/d connection part, has 3 input end rif, ps and clk. rif uses for the sampling point value which serial input a/d transforms; ps is the frame synchronizing signal, it in inputs uses for after fpga to actuate the fpga internal overall control module; clock is shifts the clock, it controls between a/d and fpga data serial transmission shifting. the rf connection is mainly uses for to control transmits and receives the rf chip work.2.2 master control module the master control module is responsible to control and to be coordinated each kind of work, arm uses the open style multimedia application platform (omap) microprocessor which ti corporation produces, may achieve 66 mhz through the integrated phase-locked loop frequency multiplication system basic frequency, the biggest exterior storage space may reach 256 mb, on the piece the fruitful in resources, the periphery control stubborn and unyielding person price scaled height of burst. controls the dsp module receive network transmission by it the order and the parameter, realizes the wireless free agreement correspondence. 2.3 real-time data processing module real-time data processing module 1 realizes the transmission order, the transmission parameter and the data through the sharing memory and arm, according to the hypothesis mobile termination active status, like cell search, stochastic turning on process (ra), dedicated control channel (dcch), and the goal, the environment real-time dynamic calculates fpga the control word. simultaneously also gives arm through sharing memory reporting from the network receives data and the intelligence transmission; provides through the latch to the processing board controls the weaken control signal to realize the sleep, achieves the province electricity. dsp uses in ti corporation c5000 series tms320c5510, the system clock reaches 600 mhz, the data processing speed may achieve 4800 mips. provides 32/16 bit main engine mouth, has two independent exterior memory interfaces, emif supports 64 bit main line width2.4 fpga modulesdesign this article the design to use the stratix series chip, in inlays reaches 10 mbit 3 kind of ram blocks: 512 bit capacity small ram, 4 kb capacity standard ram, 512 kb large capacity ram. the fpga module has the true_lvds electric circuit, supports low voltage difference signal (lvds), low voltage emitter-coupled logic (lvpecl), accurate electric current pattern logic (pcml) and ultra mode of transmission (hypertranport) the difference i/o electricity standard, and has the high-speed service connection. this design has provided the complete clock management plan, has the hierarchical structure and reaches 12 phase-locked loop (pll). the stratix series uses development software is the new generation who altera corporation provides develops software quartus ii.this series chips biggest characteristic are in inlay the hardware multiplier and while add the structure the programmable dsp module, is suitable in realizes the high speed signal processing. this kind of dsp module is the high performance inserting arithmetic unit, it may dispose for the hardware multiplier, adds and subtracts the buddhist musical istrument, the accumulator and the assembly line register. the stratix series has reaches 28 dsp modules much, may dispose is 224 inserting multipliers, may provide nimble, highly effective and the valuable plan for the big data volume of goods handled application. these dsp module may realize many kinds of model dsp functions, like has the correlation instrument, to limit the impact on respond the (fir) filter, the fast fournier transformation (fft) function and the encryption/decipher function and so on, the correlation instrument algorithm design is the foundation which and the basic building block each other algorithms realize.the mobile termination system receives after front end the radio-frequency signal passes through pretreats, delivers a/d sampling, then through serial mode output sampling point value to fpga2. each sampling point value is with 10 bit twos complement expressions, must/and the switch transforms through a string
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 历史城镇的旅游规划
- 会计服务应收款规范
- 地下安全防范设施引孔施工合同
- 教育视频监制聘请书
- 肿瘤放疗诊所医师聘用合同
- 金融科技产业房产买卖合同模板
- 海景房二手房买卖合同模板
- 印刷业务员录用合同
- 电力设施租赁合同:电力供应服务
- 设备升级中标合作协议
- 北京市海淀区2023-2024学年高二上学期期末考试 英语 含答案
- 2024年中华人民共和国企业所得税年度纳税申报表(带公式)20240301更新
- DZ∕T 0148-2014 水文水井地质钻探规程(正式版)
- 中国抗日战争史智慧树知到期末考试答案章节答案2024年浙江大学
- 2023年秋季国家开放大学-02154-数据库应用技术期末考试题带答案
- 第二语言习得理论概述
- 水景施工工艺(包括防水)
- DAC数模转换实验报告
- 散货船持证清单
- 师德师风整改台账23668
- 河海大学水资源规划及利用复习知识点.
评论
0/150
提交评论