《0727@52RD-MTK校准过程.docx》由会员分享,可在线阅读,更多相关《0727@52RD-MTK校准过程.docx(8页珍藏版)》请在第壹文秘上搜索。
1、AFC的校准2005-1-2516:11:01ID=O2005-1-2516:11:03Agilent663x2okinitialize(init)2005-1-2516:11:03AgilentEquipmentEnabled-I=02005-1-2516:11:03TargetEnabled-2=02005-1-2516:11:03TargetWriteAFCvaluetoNVRAM(写入初始值,比如scorpio的是4672)2005-1-2516:11:03=Writeinitialvaluetoflashend=2005-1-2516:11:03=AFCcalibrationbegi
2、n=2005-1-2516:11:03Agilent8960Band=EGSMband(设置仪器)2005-1-2516:11:03Agilent8960BCHARFCN=702005-1-2516:11:03Agilent8960cellpower=-602005-1-2516:11:03TargetEnabled2=02005-1-2516:11:04TimerCal-Enabled3=026MHzVC-TCXO的AFC校准过程1)依据上面写入的初始值DACl=4672,测量手机的频率fl;2)在DACl的上面加上肯定的步长得到DAC2,测量手机频率Note:Slope=3)计算斜率SIo
3、Pe,公式如下whereDAC1andDAC2areAFCDACvalue,andMandNf、areaveragedfrequencyerrormeasuredattargetside.依据Slope算出26M对应的DAC值,校准结束。2005-1-2516:11:04=AFCcalibrationend=2005-1-2516:11:04=AFCcalibrationcheckbegin=对依据SSpe得到的值进行测试,此例得到的是DAC值是4395,Sk)Pe是2.77399,下面将对这两个结果检测看是否在目标范围之内,包括4000DAC5000,lSlope4,Fedefaultval
4、ue=43952005-1-2516:11:04Targetslopeinv=14762005-1-2516:11:04TimerCal-Enabled4=02005-1-2516:11:04TargetWriteAFCvaluetoNVRAM2005-1-2516:11:04TargetWriteAFCvaluetoNVRAM2005-1-2516:11:04=AFCcalibrationcheckend=2005-1-2516:11:04TargetSetAFCDAC=43952005-1-2516:11:04=Pathlosscalibrationbegin=接收信道补偿的校准2005-
5、1-2516:11:04Agilent8960band=EGSM2005-1-2516:11:05Agilent8960BCHARFCN=152005-1-2516:11:05Agilent8960Power=-602005-1-2516:11:05TargetEnabled1=02005-1-2516:11:05Targetpower=-4862005-1-2516:11:05delta1.=62005-1-2516:11:05Agilent8960BCHARFCN=302005-1-2516:11:05Agilent8960Power=-602005-1-2516:11:05TargetE
6、nabledI=O2005-1-2516:11:05Targetpower=-4882005-1-2516:11:05delta1.=82005-1-2516:11:05Agilent8960BCHARFCN=452005-1-2516:11:05Agilent8960Power=-602005-1-2516:11:05TargetEnabledI=O2005-1-2516:11:05Targetpower=-490ADC的校准1)依据原理图,对于ADC的校准主要利用了ADCo和ADC3这两个模数转换通道(分别对应电池VBAT和Charge端,其余两个通道的值校准后干脆用ADCO的校准参数,不
7、单独做校准。2)校准的过程:先限制电源供电电压分别为3.4V和4.2V,则可以得到两个对应的ADC值,依据这两组值分别计算出ADCO和ADC3的slop和offset值,知道了slop值和offset值,就可以得到每个输入电压的值。3)准后的检测:主要检测SIOP和OffSet值是否超出范围,还有ADCCUIrentlimitcheck和ADCVOItageIimitCheCk两项功能,分别检测通过电阻RESlSTANCE的电流,还有在ADCO和ADC3之处得到的电压差。4)通过检测后就可以把校准参数写到手机里了。2005-1-2516:18:36=ADCcalibrationbegin=20
8、05-1-2516:18:36setAgilent663x2setvlotage=3.42005-1-2516:18:36setAgilent663x2measurevlotage=3.411222005-1-2516:18:36BATTERY_ADCJDUtPUt=625.9489746093752005-1-2516:18:36CHARGER_ADC_Output0=624.6790161132812005-1-2516:18:36setAgilent663x2setvlotage=4.22005-1-2516:18:36setAgilent663x2measurevlotage=4.21
9、3722005-1-2516:18:36BATTERY_ADC_Outputl=7743610229492192005-1-2516:18:36CHARGER_ADC_Output1=772.7050170898442005-1-2516:18:36BATTERY_ADC_Slope=54072005-1-2516:18:36BATTERY_ADC_Offset=265622005-1-2516:18:36CHARGER_ADC_Slope=54212005-1-2516:18:36CHARGER_ADC_Offset=246202005-1-2516:18:36StartwrittingAD
10、Cslopeandoffsettoflash2005-1-2516:18:37TargeKWriteADCslopeandoffsettoflashok2005-1-2516:18:37=ADCcalibrationend=2005-1-2516:18:37=ADCcurrentlimitcheckbegin=2005-1-2516:18:37BATTERY_ADC_Outputl2=774.3060302734382005-1-2516:18:37CHARGER_ADC_Output2=772.7089843752005-1-2516:18:37=ADCcurrentlimitchecken
11、d=2005-1-2516:18:37=ADCvoltagelimitcheckbegin=2005-1-2516:18:37setAgilent663x2setvlotage=3.62005-1-2516:18:37setAgilent663x2measurevlotage=3.611382005-1-2516:18:37BATTERY_ADC_Output2=662.252005-1-2516:18:37BATTERY_ADC_Predict_Vbltage=3.60734772682192005-1-2516:18:37CHARGER_ADC_Output2=660.8599853515
12、632005-1-2516:18:37Pass:ADCcalibrationcheckbatterychannelvlotagedifference=0.004032373428344732005-1-2516:18:37Pass:ADCcalibrationcheckslopeandoffset.BATTERYADCslope=5407minbatteryADCslope=5250maxbatteryADCslope=55502005-1-2516:18:37=AEX2voltagelimitcheckend=2005-1-2516:18:39setAgilent663x2setvlotage=3.8手动校准ADC1)先校准ADCO通道,先在Pointl输入3400,并把电源电压设置成3.4V,按下START,可以看到软件将计算出ADC值641.7;然后在Point2输