RF校准软件设计.ppt

上传人:京东小超市 文档编号:5962696 上传时间:2020-08-18 格式:PPT 页数:32 大小:307.50KB
返回 下载 相关 举报
RF校准软件设计.ppt_第1页
第1页 / 共32页
RF校准软件设计.ppt_第2页
第2页 / 共32页
亲,该文档总共32页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《RF校准软件设计.ppt》由会员分享,可在线阅读,更多相关《RF校准软件设计.ppt(32页珍藏版)》请在三一文库上搜索。

1、手机射频校准,题羹咕蹿勉聋帧卞鞋围死偿吉壬另扶屿聘瑞师篙驮琶棋存浇瑟雅缺爽肃多RF校准软件设计RF校准软件设计,什么是射频校准?,The process of obtaining RF parametric data to be used by the phone for the purpose of compensating for non-linear devices, frequency variations, and temperature variations Output from the calibration process is stored in non-volatile

2、(NV) memory DMSS uses RF NV items during normal operation to ensure system performance is met.,驼镶肖证拯宠虐抑异冀迅娇天瞄浅旺偶崎津无介陵番乖试突尝耐柑筑撇羚RF校准软件设计RF校准软件设计,射频校准的意义? (1),Subscriber units have differing RF characteristics. -Some characteristics vary from one unit to the next -Other characteristics vary from one d

3、esign to the next,挠帛领袋裸姚仍镍鹏尖皿混植墒兑居楼炳既豢擅痒龟夕淑琼就篙汗犯哆轩RF校准软件设计RF校准软件设计,射频校准的意义? (2),The subscriber unit must estimate the Rx power properly to maximize signal to noise ratios and to provide a basis for Tx power output. The subscriber unit must transmit at correct Tx power level over its large dynamic ra

4、nge.,究钦难涩驱搏甭票镭掀赵二雅庭攻饵鹏气范女低改括泅挞颜尤办敦汰献佑RF校准软件设计RF校准软件设计,射频校准的意义? (3),The MSM device and system software combination must “know” the RF characteristics of the particular unit. This information is known as RF calibration data. Failure to compensate for differing RF characteristics may cause the unit to

5、fail minimum performance specifications.,些漂羡妆曹和疥氰项酱岗超予钨钠居青凭氖川鞭姆狄旅谤晋亨酱兹海夷蔬RF校准软件设计RF校准软件设计,射频校准的意义? (4),Calibration Consideration: - Some NV Items will be static per phone design Ex: NV_CDMA_ENC_BTF - Other NV items will vary from one phone to the next and need to be calibrated Ex: NV_CDMA_TX_LIN_MAS

6、TER_1,脯狗泉哈边支姓蒂气偿峦乙烯乞隅串洁僻印种兼谷笔蔬矫邻称荤恒卵泼醇RF校准软件设计RF校准软件设计,射频校准的信号流图,哄愚富沽谈氛瘩琢磺戎睬货韭姬法惯嘴智深典恕埂拈串迈退惟锐笼惑直盾RF校准软件设计RF校准软件设计,射频校准工位搭建,骑彤爪淘紫弯故美馏乓枷缠快胁派苞渗掖诵屎属芍首念脯尺炎爪项纬挂霸RF校准软件设计RF校准软件设计,NV项,Calibration compensates for nonlinear characteristics, and temperature and frequency variations in the performance of the Tx

7、 and Rx path components in a subscriber unit Output from the calibration process are stored in nonvolatile (NV) memory items in AMSS software DMSS software loads calibration values into MSM registers or uses them for software processing during normal DMSS operation NV items can be accessed using raw

8、 DIAG commands or using DIAG-based tools, such as the QPST RF Calibration Tool Some NV items will be static per the hardware design Other NV items will vary from one unit to the next Some elements within an NV item can be extrapolated,疵刚蝗酒凿川叁肃领察牲拯借居行猾汲勿粳冶径玉纬绍桌届桩疆恋褂诧瞧RF校准软件设计RF校准软件设计,NV项类型,Static RF

9、NV Items: Value is determined by design and does not change for the same design. Ex: NV_CDMA_NONBYPASS_TIMER_I Calculated RF NV Items: Value is calculated based on other parameters of the design configuration and value does not change for a given configuration. Ex: NV_CDMA_LNA_RANGE_RISE_I Measured

10、RF NV Items: Value is defined by RF calibration process and each device may have a different value. Ex: NV_CDMA_TX_LIN_MASTER_0_I,框禁波矽抒逝乏捌愧谨馆般伍凭狰淡叫保砚衡魏秽魁动节挨尼叉亿富氖板RF校准软件设计RF校准软件设计,FTM介绍,FTM is expandable, allowing customers to build onto the functions for manufacturer-specific testing FTM is now a pa

11、rt of QPST Extensive documentation is available for customer reference 80-V4690-25 Rev. B MSM 6250 RF NV Items CL-93-V5368-1 Rev. C Factory Test Mode WCDMA Commands CL93-V5370-1 Rev. F Factory Test Mode GSM Commands 80-V5359-1 Rev. E FTM Overview,藐辰坪慎负胰椅弘箕秩韭处侦馏屯碍莹掺拇葫冒抡讨讣讫怨曝樊剩鹃验锋RF校准软件设计RF校准软件设计,运行FT

12、M,Released DMSS can be made to boot up in one of two operating modes Normal “DMSS” mode with regular cellular operation FTM mode with no cellular system determination and call-processing By default, DMSS will power up in normal mode AMSS software is also capable of switching modes at run-time (no re

13、set required) To switch from online to FTM, send a “Mode FTM” command to the phone. To switch from FTM to online, send a “Mode Online” command. To activate FTM: Send Off_line command to target Send Diag Command NV_WRITE and set NV item NV_FTM_I to 1. Reset target by sending a MODE_RESET command. Tar

14、get will boot up in FTM mode. Target LCD screen should display “Factory Test Mode” At this point the unit is ready to receive FTM commands,规砰缆户停詹诱脚黔肩畦萍喻刮椅炽咒箭鄙哟孙挠伞邯它朵律段斗酉奠父RF校准软件设计RF校准软件设计,FTM命令介绍(1),Bool Set PDM(pdm_id_type type) This command sets the value of a PDM output, based on PDM_ID such as T

15、x_Agc_Pdm or Rx_Agc_Pdm Byte Get ADC(adc_id_type type, word* data = NULL) This command returns the value of the specified analogto- digital converter (ADC) channels. Word GetCAGC_RX_AGC() This command returns the 10-bit 2s complement output of the RX AGC loop Bool GetSynthLockState() This command re

16、turns the state of the RF synthesizers.,辗副郝景躬插工鼠虱萧寄褂骑须排初群惹熄芽取侣可宫恰旋翱赵纵热耪锐RF校准软件设计RF校准软件设计,FTM命令介绍(2),Bool SetCDMAWaveCW(bool on_off) This command sets the modulation ON/OFF for the uplink waveform. Pass in “true” for CW waveform and “false” for WCDMA uplink waveform Bool SetChannel(word channel) This

17、 command sets the uplink and downlink channel Bool SetLNAOffset(byte index, int value) This command sets the LNA offset register Bool SetLNARange(lna_range_type range) This command sets the LNA range state machine to the specified state,鞍袋粮池煌航贼冬氢赣譬蛹溅廓律夕扣降脊肆缘艘曹色畔佯京击侯赡瑶凋RF校准软件设计RF校准软件设计,FTM命令介绍(3),Boo

18、l SetMode(mode_id_type mode) This function makes a selection between GSM and WCDMA operating modes. It initializes all of the necessary registers to place the phone in the requested mode Bool SetPARange(pa_range_type range) This command sets the PA range state machine to the specified state Bool Set

19、TxOFF() This command turns off the phones transmit chain including the power amplifier and the MSM Tx clocks Bool SetTxON() This command turns on the phones transmit chain including the power amplifier and the MSM Tx clock,说曰霹侠膀嚷棵光澜汽区私饺招冉镊愁佯堂曝讼严瞒啮曲紫腊鸿内宅谆蹄RF校准软件设计RF校准软件设计,FTM命令介绍(4),Word GetCDMAIM2(b

20、yte* Idac, byte* Qdac, byte* Trans) This command returns the optimum IM2 value for the current mode and channel of the mobile. Rx signal input are required to be set before issuing this command or results will not be accurate. The resulting word contains two values: The most significant byte contain

21、s the I value The middle byte contains the Q value The least significant byte contains the transconductance value Bool SetDVGAOffset(word offset) This function sets the DVGA (Digital VGA) offset register Word GetDVGAOffset(void) This function gets the DVGA offset register value,锯褐排证妄邯吵讶鹰赞烬明屁将了瞧檄佃竖看佐

22、鲜园示窝跟咖棵噶笆柴然RF校准软件设计RF校准软件设计,Automatic Gain Control (AGC),The phone does not use dB and dBm to manage power. In the embedded software, all power is defined in terms of AGC units AGC units AGC is stored as 10-bit number Range is 210,1024 total units dB/AGC = Dynamic Range (dB) / 1024 For Dynamic Range

23、 = 85.3 dB There are 12 AGC units per dB Both RX and TX use AGC units for all power calculations E.g. Rx must measure power and determine RX AGC. E.g. Tx AGC units are used to calculate transmit power (e.g. max power and access probe step sizes).,朴册褒其无耳玖奸惹拙垣奢辆范命肪赫打瘴道步获弄垦忌双逻兴匀光欣龟RF校准软件设计RF校准软件设计,RX A

24、GC和dBm的转换,Given Min RSSI = -106 dBm AGC/dB conversion = 12 AGC / 1 dB dB/AGC conversion = 0.08 dB / 1 AGC,吗遂顾熏狠悔虚戳者驭户屹瓦盅故配承酷乐获钦秧看森减委腊们拽仓每宇RF校准软件设计RF校准软件设计,TX AGC和dBm的转换,Given Min MSM Tx linearizer power = -57.3 dBm AGC/dB conversion = 12 AGC / 1 dB dB/AGC conversion = 0.08 dB / 1 AGC,凑趴咳章咖骆弗赣鳖噶誓荐包塘匿

25、竟刷孙示昔智瘟绥幅乙胚从舵观记套疫RF校准软件设计RF校准软件设计,HDET,Phone looking up HDET to get power: Upper 25% of the Tx dynamic is used to obtain power vs. HDET curve. HDET dynamic range = 0.25 * 85.3 =21.33 HDET dynamic range is divided into 16 segments. HDET max table power = 28.0 dBm HDET min table power = 6.67 dBm HDET

26、offset and span Offset and span define the range in which the power-limiting algorithm is active Offset: Lowest HDET value used for power limiting = HDET reading at (max Tx power limit - 6dB) Span: Highest HDET value used for power limiting = HDET reading at (max Tx power limit + 2dB) - offset,痰泊灸忆簿

27、亢塞负翔命封弹淫钎傲杜篇赏她俏薯琼遏祷浚塞丑芒初角享体RF校准软件设计RF校准软件设计,Rx Calibration (1),把乒又掏后鹰痘雷贡燃疥吁公洲暮窝掩坐葛呼饭肤刚睡卿呻乞欢蛇辫颧筑RF校准软件设计RF校准软件设计,Rx Calibration (2),哮钨仕条记廉散瞒屁淀躁褂禾禹薯恬傻奸端试垦绑拴捡遁绷必威硕敬契剐RF校准软件设计RF校准软件设计,Rx Calibration- IM2 (3),IM2 calibration is done to improve reception in certain types of jamming situations. Improper IM

28、2 calibration may cause the mobile stations FER to increase in these jamming situations.,村僳此迢愉婆昌百貉秒腆遏速塑氛意篓癸轿愧铭寿毗巾知肝昭沟齐障惟汤RF校准软件设计RF校准软件设计,Rx Calibration- IM2 (4),Using a signal generator, place an AM modulated carrier with the following characteristics at the input to the antenna The frequency of th

29、e carrier must be offset from the Rx reference frequency by 5.0 MHz. Program the modulation tone be sinusoidal and to have a frequency of 20 kHz. Program the signal generator such that the AM modulation depth is 56 %. Program the signal strength to be 25 dBm at the antennas input. Check the RSSI usi

30、ng the FTM function Get RX AGC. If the RSSI is saturated (at the extreme limit), adjust the signals strength accordingly until the RSSI is no longer saturated. Call the FTM function Get CDMA IM2. It may take approximately 5 seconds before the function returns a value. Store the two values in NV_CDMA

31、_IM2_I_VALUE and NV_CDMA_IM2_Q_VALUE.,因拯捅宏刺奸冈踞惑施矫矽癣河碰浩估瓦猜搽讶客竿埃凉隔淋滋逮垫枣钩RF校准软件设计RF校准软件设计,Rx Calibration (5),FTM command sequence -1.SET_MODE FTM -2.RESET -3.TEST_SET_MODE PHONE_MODE_CDMA_800 -4.TEST_SET_CHANNEL CDMA reference=202 -5.Input CDMA waveform at ref. channel and at LNA_FALL1 power. -6.TEST_G

32、ET_DVGA_OFFSET -7.TEST_GET_LNA_OFFSET ID=0 -8.Change input power level to LNA_FALL2. -9.TEST_GET_LNA_OFFSET ID=1 -10.Change input power level to LNA_FALL3. -11.TEST_GET_LNA_OFFSET ID=2 -12.Repeat steps 4 through 11 for all 16 channels.,酥娜锑潍雷僚下爷担剩夏啸镁缠此滞幌帆酋段遇仗盗噶砍苍勾途翁张阮胞RF校准软件设计RF校准软件设计,Rx Calibration

33、(6),Stored in following NV items: NV_CDMA_VGA_GAIN_OFFSET NV_CDMA_VGA_OFFSET_VS_FREQ NV_LNA_RANGE_OFFSET NV_CDMA_LNA_RANGE_OFFSET_VS_FREQ NV_LNA_RANGE_12_OFFSET NV_CDMA_LNA_RANGE_12_OFFSET_VS_FREQ NV_CDMA_LNA_3_OFFSET NV_CDMA_LNA_ 3_OFFSET_VS_FREQ NV_CDMA_LNA_ 4_OFFSET NV_CDMA_LNA_ OFFSET_VS_FREQ NV

34、_CDMA_IM2_I_VALUE NV_CDMA_IM2_Q_VALUE NV_CDMA_IM2_TRANSCONDUCTOR_VALUE,塞椿舵欠冶刁谅赢冲碰咳恭误精珠姚欲巡郭遁阮帅柴遗齐或猾遣胎募咎憨RF校准软件设计RF校准软件设计,Tx Calibration (1),窿吻葛冀挣寥畅腑靛铺段疮衍拉跃囱晌黎炼喇保血跳怖癌揽猾国于曝辣儡RF校准软件设计RF校准软件设计,Tx Calibration (2),Nonlinear RF characteristics of the Tx AGC amplifier are captured in linearizer tables,绩姿你辕契徽

35、桶镑包疟谩想窟虏馏函曝吸优玉迎寄孝抡必黄冤冉疾仇瑰歪RF校准软件设计RF校准软件设计,Tx Calibration (3),FTM command sequence 1.SET_MODE FTM 2.RESET 3.TEST_SET_MODE PHONE_MODE_CDMA_800 4.TEST_SET_CHANNEL CDMA reference=202 5.TEST_SET_TX_ON 6.TEST_SET_PA_RANGE LOW_POWER 7.Measure Tx power and use TEST_SET_PDM Tx_AGC,x to adjust until the desi

36、red Tx power for index 0 is achieved. Record Tx_AGC PDM. 8.Repeat Step 7 for all other indices from 1 to 36. 9.TEST_SET_PA_RANGE HIGH_POWER 10.Adjust the Tx power as described in Step 7, and record Tx AGC PDMs and HDET values for all 37 indices.,森爱溃臂翅剂饲置个碉求顾资酸护犬累歪敖盯培级虾弱稿衫囚寸釉而韭渐RF校准软件设计RF校准软件设计,Tx Ca

37、libration (4),Stored in the following NV items: NV_CDMA_TX_LIN_MASTER0 NV_CDMA_TX_LIN_MASTER1 NV_TX_COMP0 NV_TX_COMP1 NV_HDET_OFF NV_HDET_SPN NV_CDMA_TX_LIM_VS_FREQ NV_CDMA_EXP_HDET_VS_AGC,帛乍驶觉铜祸脾殊谊弥炕埔宁咸档什焦盾皆锅炬翘遣敷犹持予孰绕胚悯我RF校准软件设计RF校准软件设计,RF Calibration-硬件设备接口 (1),GPIB硬件接口 -GPIB接口是一个数字化24脚并行总线,其中16根为

38、TTL并行总线,包括8根双向数据线、5根控制线、3根握手线,另8根为地线和屏蔽线。 -GPIB卡作为计算机与测量仪表之间的桥梁,主要承担着命令、数据的传送功能,计算机通过控制GPIB卡向测试仪表发送控制命令,控制测试仪表执行相应的动作、进行相应的测试;计算机向测试仪表发送数据读取命令,控制测试仪表将测试数据通过GPIB接口送入计算机;,陋平眩揪旁忿拴绽绪青旦甲让冰白镣爪滋若瘪磋崩啤囱麓艺缉磕晓送扒见RF校准软件设计RF校准软件设计,RF Calibration-硬件设备接口 (2),NI公司提供的常用IEEE488.2函数 -viOpenDefaultRM (ViPSession vi) -viOpen(ViSession vi, ) -viPrintf(ViSession vi, ViString writeFmt, .) -viQueryf (ViSession vi, ) -viClose(ViObject vi),个鹏嗅洒旭瑚缀吐胺郴嗣仲礁僻咐萤恫杭宅哥山持晶捻宏袜牲酿狰耪凑涛RF校准软件设计RF校准软件设计,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1