logo资料库

GSM手机调试.pdf

第1页 / 共9页
第2页 / 共9页
第3页 / 共9页
第4页 / 共9页
第5页 / 共9页
第6页 / 共9页
第7页 / 共9页
第8页 / 共9页
资料共9页,剩余部分请下载后查看
AFC 的校准 2005-1-25 16:11:01 ID = 0 2005-1-25 16:11:03 Agilent 663x2 ok < initialize (init) 2005-1-25 16:11:03 Agilent Equipment < initial successfully 2005-1-25 16:11:03 =============== Write initial value to flash begin =============== 2005-1-25 16:11:03 TimerCal->Enabled -1= 0 2005-1-25 16:11:03 Target < Write path loss to NVRAM 2005-1-25 16:11:03 TimerCal->Enabled -2= 0 2005-1-25 16:11:03 Target< Write AFC value to NVRAM(写入初始值,比如 scorpio 的是 4672) 2005-1-25 16:11:03 ================ Write initial value to flash end ================ 2005-1-25 16:11:03 ==================AFC calibration begin ===================== 2005-1-25 16:11:03 Agilent 8960< Band = EGSM band(设置仪器) 2005-1-25 16:11:03 Agilent 8960< BCH ARFCN = 70 2005-1-25 16:11:03 Agilent 8960< cell power = -60 2005-1-25 16:11:03 Target < ARFCN = 70, dac value = 4000, gain = 200, testing number = 10 2005-1-25 16:11:03 TimerCal->Enabled 2= 0 2005-1-25 16:11:04 TimerCal->Enabled 3= 0 26MHz VC-TCXO 的 AFC 校准过程 1) 按照上面写入的初始值 DAC1=4672,测量手机的频率 f1; 2) 在 DAC1 的上面加上一定的步长得到 DAC2,测量手机频率 f2; 3) 计算斜率 Slope,公式如下 根据 Slope 算出 26M 对应的 DAC 值,校准结束。 2005-1-25 16:11:04 ==============AFC calibration end ====================== 2005-1-25 16:11:04 ==============AFC calibration check begin ================ 对根据 Slope 得到的值进行测试,此例得到的是 DAC 值是 4395,Slope 是 2.77399,下面 将对这两个结果检测看是否在目标范围之内,包括 4000 default value = 4395 2005-1-25 16:11:04 Target> slope inv = 1476 2005-1-25 16:11:04 TimerCal->Enabled 4= 0 2005-1-25 16:11:04 Target< Write AFC value to NVRAM
2005-1-25 16:11:04 Target< Write AFC value to NVRAM 2005-1-25 16:11:04 ===============AFC calibration check end ==================== 2005-1-25 16:11:04 Target < Set AFC DAC = 4395 2005-1-25 16:11:04 ================Path loss calibration begin =================== 接收信道补偿的校准 2005-1-25 16:11:04 Agilent 8960< band = EGSM 2005-1-25 16:11:05 Agilent 8960< BCH ARFCN = 15 2005-1-25 16:11:05 Agilent 8960< Power = -60 2005-1-25 16:11:05 Target < PM : ARFCN = 15, sample per frame = 4, gain = 200, frames = 5 2005-1-25 16:11:05 TimerCal->Enabled 1= 0 2005-1-25 16:11:05 Target > power = -486 2005-1-25 16:11:05 delta L = 6 2005-1-25 16:11:05 Agilent 8960< BCH ARFCN = 30 2005-1-25 16:11:05 Agilent 8960< Power = -60 2005-1-25 16:11:05 Target < PM : ARFCN = 30, sample per frame = 4, gain = 200, frames = 5 2005-1-25 16:11:05 TimerCal->Enabled 1= 0 2005-1-25 16:11:05 Target > power = -488 2005-1-25 16:11:05 delta L = 8 2005-1-25 16:11:05 Agilent 8960< BCH ARFCN = 45 2005-1-25 16:11:05 Agilent 8960< Power = -60 2005-1-25 16:11:05 Target < PM : ARFCN = 45, sample per frame = 4, gain = 200, frames = 5 2005-1-25 16:11:05 TimerCal->Enabled 1= 0 2005-1-25 16:11:05 Target > power = -490
ADC 的校准 1)根据原理图,对于 ADC 的校准主要利用了 ADC0 和 ADC3 这两个模数转换通道(分别对应 电池 VBAT 和 Charge 端,其余两个通道的值校准后直接用 ADC0 的校准参数,不单独做校准。 2)校准的过程:先控制电源供电电压分别为 3.4V 和 4.2V,则可以得到两个对应的 ADC 值, 根据这两组值分别计算出 ADC0 和 ADC3 的 slop 和 offset 值,知道了 slop 值和 offset 值, 就可以得到每个输入电压的值。 3) 准后的检测:主要检测 slop 和 offset 值是否超出范围,还有 ADC current limit check 和ADC voltage limit check 两项功能,分别检测通过电阻RESISTANCE的电流,还有在ADC0 和ADC3之处得到的电压差。 4)通过检测后就可以把校准参数写到手机里了。 2005-1-25 16:18:36 ================ADC calibration begin ===================== 2005-1-25 16:18:36 set Agilent 663x2 set vlotage = 3.4 2005-1-25 16:18:36 set Agilent 663x2 measure vlotage = 3.41122 2005-1-25 16:18:36 BATTERY_ADC_Output[0] = 625.948974609375 2005-1-25 16:18:36 CHARGER_ADC_Output[0] = 624.679016113281 2005-1-25 16:18:36 set Agilent 663x2 set vlotage = 4.2 2005-1-25 16:18:36 set Agilent 663x2 measure vlotage = 4.21372 2005-1-25 16:18:36 BATTERY_ADC_Output[1] = 774.361022949219 2005-1-25 16:18:36 CHARGER_ADC_Output[1] = 772.705017089844 2005-1-25 16:18:36 BATTERY_ADC_Slope = 5407 2005-1-25 16:18:36 BATTERY_ADC_Offset = 26562 2005-1-25 16:18:36 CHARGER_ADC_Slope = 5421 2005-1-25 16:18:36 CHARGER_ADC_Offset = 24620 2005-1-25 16:18:36 Start writting ADC slope and offset to flash 2005-1-25 16:18:37 Target< Write ADC slope and offset to flash ok 2005-1-25 16:18:37 =================ADC calibration end ====================== 2005-1-25 16:18:37 ===============ADC current limit check begin ================= 2005-1-25 16:18:37 BATTERY_ADC_Output[2] = 774.306030273438 2005-1-25 16:18:37 BATTERY_ADC_Predict_Voltage = 4.21323490142822 2005-1-25 16:18:37 CHARGER_ADC_Output[2] = 772.708984375 2005-1-25 16:18:37 CHARGER_ADC_Predict_Voltage = 4.21347522735596 2005-1-25 16:18:37 PASS 0.000600814819335938 2005-1-25 16:18:37 ==============ADC current limit check end =================== 2005-1-25 16:18:37 ==============ADC voltage limit check begin ================= 2005-1-25 16:18:37 set Agilent 663x2 set vlotage = 3.6 2005-1-25 16:18:37 set Agilent 663x2 measure vlotage = 3.61138 2005-1-25 16:18:37 BATTERY_ADC_Output[2] = 662.25 2005-1-25 16:18:37 BATTERY_ADC_Predict_Voltage = 3.6073477268219 2005-1-25 16:18:37 CHARGER_ADC_Output[2] = 660.859985351563 2005-1-25 16:18:37 CHARGER_ADC_Predict_Voltage = 3.60714197158813 2005-1-25 16:18:37 Pass : ADC calibration check battery channel vlotage difference = : ADC calibration check current difference, difference =
0.00403237342834473 2005-1-25 16:18:37 Pass: ADC calibration check slope and offset . BATTERY ADC slope = 5407 min battery ADC slope = 5250 max battery ADC slope = 5550 2005-1-25 16:18:37 ===============ADC voltage limit check end ================= 2005-1-25 16:18:39 set Agilent 663x2 set vlotage = 3.8 手动校准 ADC 1)先校准 ADC0 通道,先在[Point1]输入 3400,并把电源电压设置成 3.4V,按下[START], 可以看到软件将计算出 ADC 值 641.7;然后在[Point2]输入 4200,设置电源并按下[START]; 将看到软件计算出的 SLOP 和 OFFSET 结果,然后再按[APPLY]把这两个参数写到 ADC0 去, 其他 ADC1 和 ADC2 用的值跟 ADC0 一样,不再单独校准。 2)再校准 ADC3,方法同 ADC0 一样,最后把参数写到手机。
The following is a template format of configuration file. [8960 Initialization] 8960 GPIB Address = GPIB0::15::INSTR Time Out = 5000 GSM400 cable loss = -1.0 GSM850 cable loss = -1.0 GSM900 cable loss = -1.0 DCS1800 cable loss = -1.5 PCS1900 cable loss = -1.5 ;”8960 GPIB Address” is GPIB address of Agilent 8960. ;”GSM900 cable loss” is cable loss between Agilent 8960 and MS at GSM900 bank. [Frequency Bank] // specify the band supported by MS bank = 0x1C ; GSM450 0x01 ; GSM850 0x02 ; GSM900 0x04 ; DCS1800 0x08 ; PCS1900 0x10 ; The meaning of “0x1C” is that META will do GSM900, DCS1800 and PCS1900 bank auto calibration. [C0 for each Bank] //specify the TX level testing ARFCN for each bank arfcn_C0_GSM = 60 arfcn_C0_DCS = 750 arfcn_C0_PCS = 660 ;Channel number for GSM, DCS and PCS bank. [Downlink power] //specify the downlink cell power used in testing P_DL = -60 [RX measurement samples] //specify the parameter for PM testing N_PM = 5 M_PM = 4 ; refer to section 3.2.1 for the limitation N_PM * M_PM <=2000 ; N_PM is testing frames number of RX ; M_PM is samples per frame. Max value is 4. [RX path loss table] GSM900_MAX_RX_LOSS = 5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.0000, GSM900_MIN_RX_LOSS = -5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.0000, ; GSM900_MAX_RX_LOSS is the maximum limitation of GSM900 RX path loss ; GSM900_MIN_RX_LOSS is the minimum limitation of GSM900 RX path loss DCS1800_MAX_RX_LOSS = 5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.0000, DCS1800_MIN_RX_LOSS= -5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.0000,
; DCS1800_MAX_RX_LOSS is the maximum limitation of DCS1800 RX path loss ; DCS1800_MIN_RX_LOSS is the minimum limitation of DCS1800 RX path loss PCS1900_MAX_RX_LOSS = 5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.000,5.0000, PCS1900_MIN_RX_LOSS= -5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.000,-5.0000, ; PCS1900_MAX_RX_LOSS is the maximum limitation of PCS1900 RX path loss ; PCS1900_MIN_RX_LOSS is the minimum limitation of PCS1900 RX path loss [AFC Calibration] //specify the AFC testing paramter N_AFC = 5 DAC1=4000 DAC2=4500 ; N_AFC is testing frames number of AFC [AFC table] MAX_INIT_AFC_DAC = 65535 MIN_INIT_AFC_DAC = 0 MAX_AFC_SLOPE = 5.000 MIN_AFC_SLOPE = 0.000 ; MAX_INIT_AFC_DAC is the maximum limitation of initial AFC DAC value ; MIN_INIT_AFC_DAC is the minimum limitation of initial AFC DAC value ; MAX_AFC_SLOPE is the maximum limitation of AFC slope ; MIN_AFC_SLOPE is the minimum limitation of AFC slope [TX PCL table] //specify TX level specification GSM900_CAL_PCL = 17, 12, 5, ; Calibrated PCL of 3 point PCL calibration GSM900_PCL = 19,18,17,16,15,14,13,12,11,10,9,8,7,6,5, ; Calibrated PCL of full PCL calibration GSM900_CHECK_PCL = 19,18,17,16,15,14,13,12,11,10,9,8,7,6,5, ; Specify the PCL need to be check when do APC calibration check GSM900_MAX_P = 5.5, 7.5, 9.5,11.5,13.5,15.5,17.5,19.5,21.5,23.5,25.5,27.5,29.5,31.5,32.8, ; MAX power level GSM900_WANTED_P = 5.0,7.0,9.0,11.0,13.0,15.0,17.0,19.0,21.0,23.0,25.0,26.7,28.7,30.2,32.2, ; Idea power level for each PCL GSM900_MIN_P = 5,7,9,11,13,15,17,19,21,23,25,26.5,28.5,30,31.5, ; Min power level GSM900_C = 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, ; A weighted value is used for TX power level calibration. Please refer to section 4.2.4. GSM900_CORRECTION = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, ; Correction using when doing 3 PCL calibration DCS1800_CAL_PCL = 13, 8, 1, DCS1800_PCL = 15,14,13,12,11,10, 9, 8, 7, 6, 5,4,3,2,1,0, DCS1800_CHECK_PCL = 15,14,13,12,11,10, 9, 8, 7, 6, 5,4,3,2,1,0, DCS1800_MAX_P = 1, 2.5, 4.5,6.5,8.5,10.5,12.5,14.5,16.5,18.5,20.5,22.5,24.5,26.5,28.5,29.8, DCS1800_WANTED_P = 0.5,2.5,4.5,6.5,8.5,10.0,12,14,16,18,20,22,24,25.5,27.5,29.2,
DCS1800_MIN_P = 0,2,4,6,8,10,12,14,16,18,20,22,24,25,27,28, DCS1800_C = 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, DCS1800_CORRECTION = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, PCS1900_CAL_PCL = 13, 8, 1, PCS1900_PCL = 15,14,13,12,11,10, 9, 8, 7, 6, 5,4,3,2,1,0, PCS1900_CHECK_PCL = 15,14,13,12,11,10, 9, 8, 7, 6, 5,4,3,2,1,0, PCS1900_MAX_P = 0.5, 2.5, 4.5,6.5,8.5,10.5,12.5,14.5,16.5,18.5,20.5,22.5,24.5,26.5,28.5,30.5, PCS1900_WANTED_P = 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30, PCS1900_MIN_P = -0.5,1.5,3.5,5.5,7.5,9.5,11.5,13.5,15.5,17.5,19.5,21.5,23.5,25.5,27.5,29.5, PCS1900_C = 1,2,2,3,4,5,7,9,10,13,13,13,14,14,15,20, PCS1900_CORRECTION = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, TSC = 5 Recursive Times = 5 ; the maximum times to calibrate one power level APC Delta = 0.1 ; if power level is in the range of (wanted power level – APC delta, wanted power level + APC delta), jump to calibrate next power level ; TSC is the cell TSC value in Agilent 8960 ; WANTED_P is wanted power in dBm for corresponding PCL ; MAX_P is MAX limitation power in dBm for corresponding PCL ; MIN_P is MIN limitation power in dBm for corresponding PCL ; C is a weighted value used for TX power level calibration. Please refer to section 4.2.4. ; MAX_P, WANTED_P, MIN_P and C can be integer or floating point. [ADC table] ADC_V1 = 3400 ADC_V2 = 4200 ADC_CHECK_VOLTAGE = 3600 NORMAL_VOLTAGE = 3800 MAX_BATTERY_ADC_SLOPE = 5300.0 MIN_BATTERY_ADC_SLOPE = 5100.0 MAX_BATTERY_ADC_OFFSET = 100000000 MIN_BATTERY_ADC_OFFSET = 0 BATTERY_CHANNEL = 0 CHARGER_CHANNEL = 3 ADC_RESISTANCE = 0.33 MAX_VOLTAGE_DIFFERENCE = 0.04 MAX_CURRENT_DIFFERENCE = 0.02 ADC_MEASUREMENT_COUNT = 1000 ; ADC_V1 is the voltage of ADC calibration point 1, unit = mV ; ADC_V2 is the voltage of ADC calibration point 2, unit = mV ; ADC_CHECK_VOLTAGE is the voltage of ADC calibration voltage check, unit = mV ; NORMAL_VOLTAGE is the voltage of power supply after calibration finish, unit = mV ; MAX_BATTERY_ADC_SLOPE is the maximum limitation of battery ADC slope ; MIN_BATTERY_ADC_SLOPE is the minimum limitation of battery ADC slope ; MAX_BATTERY_ADC_OFFSET is the maximum limitation of battery ADC offset
分享到:
收藏