function. According to the relationship between the
transformed function and the original Gaussian
function, the corresponding parameters of the Gaussian
function can be obtained as follow:
2
000
2
exp , ,
42
bb
Icx w
aaa
=− =− =−
(3)
The position of the sampling point on the actual
detector array is given, and the facula wobbles within
a certain range. For the convenience of calculation, it
is assumed that the facula is fixed, and sampling points
are set uniformly. In this way, three parameters are
involved in the distribution of sampling points, as
shown in Figure 1. They are d, wr, and h, which stand
for the interval of sampling points, the ratio of
sampling point range to facula diameter, and the
distance between the facula center and the sampling
point on the left side of it. Parameters of d and wr are
related to the design of detector array. Parameter of h
changes randomly in the actual measurement, with the
range of 0~d/2.
Figure 1: Physical meaning of parameters in simulation
calculation.
For each set of d, wr and h, the coordinates x
i
of each
sampling point can be determined. Then the true value
I(x
i
) of each sampling point can be obtained by
substituting x
i
to formula (1). There is a certain
measurement error for each sampling points, which
follows the normal distribution with the mean value of
0 and the standard deviation of δ
0
. A group of random
error values δ
i
(i=1, 2, … , n, n is the number of
sampling points) that meet the above normal
distribution are selected, so the measured value of each
sampling point is I'(x
i
)= I(x
i
)*(1+δ
i
). Substituting it
into formula (2), z'(x
i
)=ln(I'(x
i
)) is obtained. In
MATLAB, the least square fitting of (x
i
,z'(x
i
)) is
carried out using the polyfit function (Shenyong Ruan,
Yongli Wang, Qunfang Sang, 2004), and three
coefficients of a
1
, b
1
and c
1
are obtained. Then, the
fitting coefficients x
01
, w
01
and I
01
are calculated
according to formula (3). Here, the subscript "1"
represents the fitting result.
Therefore, the power density distribution function
obtained by fitting is:
()
2
01
101
2
01
2
() exp
xx
Ix I
w
−
=⋅ −
(4)
Compared with the true value in formula (1), the fitting
error values of facula center (x
01
-x
0
), facula radius
(w
01
-w
0
), and center power density (I
01
-I
0
) are obtained.
A number of m groups of random error are selected,
and a group of fitting error, such as (x
01
-x
0
)
j
, (w
01
-w
0
)
j
and (I
01
-I
0
)
j
, j = 1, 2, ... , m, is obtained for each group
of random error according to the above process. Then
the fitting error under the conditions of d, wr and h is
acquired by the standard deviation of m groups of
fitting error values is calculated.
2.2 Initial Conditions of
One-dimensional Simulation
The initial conditions used in the calculation are:
1) The facula center x
0
=0. The facula radius w
0
=50mm.
The center power density I
0
=100mW/cm
2
.
2) The ratio of the sampling point range to the facula
diameter wr=2. The sampling point interval d is
changed from 30mm to 60mm, and the step is 1mm.
The distance between the facula center and the
sampling point on the left side of it h is changed from
0 to d/2, and the step is d/8.
3) the standard deviation of sampling point error is
δ
0
=15%.
4) The number of groups of random error m = 10000.
2.3 Results of One-dimensional
Simulation
When d=30mm, wr=2, h=0mm, a group of random
error of sampling points is selected, and the fitting
result for the measured values of sampling points is as
Figure 2:
Figure 2: Result of one-dimensional fitting.