"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from math import pi\n",
"\n",
"#Variable declaration\n",
"f = 900e6 #Frequency (Hz)\n",
"length = 25e-3 #Length of antenna (m)\n",
"len_cell = 110e-3 #Length of handset chassis (m)\n",
"c = 3e8 #Speed of light (m/s)\n",
"del_L = 0.5 #Peak to Peak measurement uncertainty (dB)\n",
"\n",
"#Calculations\n",
"Dm = length + len_cell #Maximum Dimension of antenna (m)\n",
"wave_lt = c/f #Wavelength (m)\n",
"r_rnf = (wave_lt/(2*pi)) #Outer boundary of reactive near field (m)\n",
"\n",
"r_ff = 2*(Dm**2)/wave_lt #Fraunhofer region (m)\n",
"\n",
"r2_ff = r_rnf/(10**(del_L/40)-1) \n",
" #Minimum distance where effect of near field is small (m)\n",
"\n",
"r3_ff = 2*Dm/(10**(del_L/10)-1)\n",
" #Minimum distance where effect of rotation of AUT is small (m)\n",
"\n",
"#Result\n",
"print \"The Outer boundary of reactive near field is at a distance\", round(r_rnf,3),\"m\"\n",
"print \"The Fraunhofer region starts at a distance\", round(r_ff,3),\"m\"\n",
"print \"The Minimum distance where effect of near field is small enough is\",\\\n",
" round(r2_ff,1),\"m\"\n",
"print \"The Minimum distance where effect of rotation of AUT is small enough \\\n",
"is\", round(r3_ff,1),\"m\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The Outer boundary of reactive near field is at a distance 0.053 m\n",
"The Fraunhofer region starts at a distance 0.109 m\n",
"The Minimum distance where effect of near field is small enough is 1.8 m\n",
"The Minimum distance where effect of rotation of AUT is small enough is 2.2 m\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"
Example 21-2.2, Page number: 720
"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from math import pi\n",
"\n",
"#Variable declaration\n",
"horn_len = 350e-3 #Length of horn (m)\n",
"ap_wid = 200e-3 #Aperture width (m)\n",
"ap_hei = 150e-3 #Aperture height (m)\n",
"del_L = 0.2 #Peak to peak uncertainty (dB)\n",
"f = 10e9 #Frequency (Hz)\n",
"c = 3e8 #Speed of light (m/s)\n",
"\n",
"#Calculations\n",
"wave_lt = c/f #Wavelength (m)\n",
"r_rnf = wave_lt/(2*pi) ##Outer boundary of reactive near field (m)\n",
"\n",
"r_ff = 2*(ap_wid**2)/wave_lt #Fraunhofer region (m)\n",
"\n",
"r2_ff = r_rnf/(10**(del_L/40)-1) \n",
" #Minimum distance where effect of near field is small (m)\n",
"\n",
"r3_ff = 2*horn_len/(10**(del_L/10)-1)\n",
" #Minimum distance where effect of rotation of AUT is small (m)\n",
"\n",
"#Result\n",
"print \"The Outer boundary of reactive near field is at a distance\", round(r_rnf,4),\"m\"\n",
"print \"The Fraunhofer region starts at a distance\", round(r_ff,1),\"m\"\n",
"print \"The Minimum distance where effect of near field is small enough is\",\\\n",
" round(r2_ff,2),\"m\"\n",
"print \"The Minimum distance where effect of rotation of AUT is small enough \\\n",
"is\", round(r3_ff,1),\"m\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The Outer boundary of reactive near field is at a distance 0.0048 m\n",
"The Fraunhofer region starts at a distance 2.7 m\n",
"The Minimum distance where effect of near field is small enough is 0.41 m\n",
"The Minimum distance where effect of rotation of AUT is small enough is 14.9 m\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"
Example 21-2.3, Page number: 721
"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable declaration\n",
"D = 0.5 #Antenna diameter (m)\n",
"f = 300e9 #Frequency (Hz)\n",
"c = 3e8 #Speed of light (m/s)\n",
"\n",
"#Calculations\n",
"wave_lt = c/f #Wavelength (m)\n",
"r_ff = 2*(D**2)/wave_lt #Fraunhofer region (m)\n",
"\n",
"#Result\n",
"print \"The Fraunhofer region starts at a distance\", r_ff,\"m\"\n",
"print \"At 300 GHz the attenuation of the atmosphere is around 10dB/km making\\\n",
" the measurement difficult in full-size ranges\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The Fraunhofer region starts at a distance 500.0 m\n",
"At 300 GHz the attenuation of the atmosphere is around 10dB/km making the measurement difficult in full-size ranges\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"