This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Optimisation of photodetectors design:
comparison between Montecarlo
and Genetic Algorithms

Patricia M. E. Vázquez11, Ligia Ciocci Brazzano12, Francisco E. Veiras1, and Patricio A. Sorichetti1 1Universidad de Buenos Aires, Facultad de Ingeniería, Departamento de Física, GLOmAe.
Paseo Colón 850, C1063ACV, Buenos Aires, Argentina.
2Consejo Nacional de Investigaciones Científicas y Técnicas de Argentina (CONICET).
Godoy Cruz 2290, C1425FQB, Buenos Aires, Argentina.
1pvazquez@fi.uba.ar
Abstract

We present Montecarlo and Genetic Algorithm optimisations applied to the design of photodetectors based on a transimpedance amplifier and a photodiode. The circuit performance is evaluated with a merit function and the systematic search method is used as a reference. The design parameters are the feedback network components and the photodiode bias voltage. To evaluate the optimisations, we define the relative difference between its merit and the optimum merit obtained by the systematic search. In both algorithms, the relative difference decreases with the number of evaluations, following a power law. The power-law exponent for the Genetic Algorithm is larger than that of Montecarlo (0.74 vs. 0.50). We conclude that both algorithms are advantageous compared to the systematic search method, and that the Genetic Algorithm shows a better performance than Montecarlo.

Index Terms:
Genetic Algorithm, Montecarlo, Optimisation, Photodetectors, Photodetectors design.
publicationid: pubid: 0000–0000/00$00.00 © 2021 IEEE

I Introduction

Optical detectors based on transimpedance amplifiers (TIAs) [1] are widely used in arrays for measuring displacements [2], in dynamic interferometry [3] [4], in ultrasound generation [5], in optoacoustics imaging and tomography [7] [6] [8].

In the design of optical detectors, the selection of the design parameters values to comply with the specifications is very challenging [1] [9] . A systematic search considering all the combinations of commercially available components will certainly lead to the optimum solution [9]. However, this requires a large amount of calculations with significant computational cost. A popular approach to overcome this problem is trying a reasonable set of design parameters values with a circuit simulation tool, and verifying the performance. If the circuit does not comply with the specifications, we modify some parameters until a satisfactory result is obtained. Although this method is usually adequate for some applications, it does not necessarily lead to the optimum performance. For optical instrumentation designs, where some specifications (such as signal-to-noise ratio) might be quiet stringent, this approach is often not sufficient.

To accurately describe in a quantitative way the performances and compare them, merit functions are a useful tool. Merit functions are implemented in many engineering applications, such as calculations of gasoline compositions [10] [11], lithographic lens [12], or thin films [13].

Montecarlo (MC) is a statistical technique used to obtain approximate solutions to complex mathematical problems, including circuit optimisation. It consists in simulating a large number of random values of the design parameters. Then, the best result is selected with a specific criterion, for example, the higher value of a selected merit function. These MC methods are applied in very different fields, such as biomedical images [14], and optoelectronic designs, for example, avalanche photodiodes [15] [16] [17], and transimpedance amplifiers for optical communications [18] [19].

Genetic Algorithms (GA), used in optimisation problems, follow the steps of the biological evolution and natural selection [20] [21] [22] [23] [24]. In this technique, the set of parameters values that define a circuit is called a chromosome. The algorithm begins with an initial population (first generation). Then, couples are formed, that are the parents of the next generation. The recombination and the natural selection process take place. A fraction of the chromosomes of each generation may be subjected to mutations. Genetic Algorithms are used for a variety of applications, such as the design of analog circuits [25] [26], and integrated circuits [27] [28] [29], materials characterization [30] [31], optical communication systems [32], and LIDAR [33] [34].

In this work, we present two different optimisations of the design of photodetectors based on transimpedance amplifiers: Montecarlo and Genetic Algorithm. The same merit function (defined in a previous work [9]) is used for both optimisation techniques. The optimisation consists in finding the design parameters values that lead to the best photodetector performance, in terms of the constraints: signal-to-noise ratio, bandwidth and phase margin [9] [35]. For this purpose, we use as a reference the systematic search presented in [9]. We compare the results and the computational costs of the optimisations.

This paper is structured as follows. In Section II, we present the specifications and definitions of the design that we optimise in this work. Section III describes the general design method, including the optimisation algorithm, composed by the merit function and a search algorithm. In Section IV, we describe the performance evaluation with the merit function. In Sections V and VI, the optimisations with the Montecarlo and with the Genetic Algorithm are introduced, respectively. In Section VII, we present the results and compare the performances of the two optimisation algorithms, using as a reference the systematic search. Finally, Section VIII summarizes the conclusions.

II SPECIFICATIONS AND DESIGN DEFINITIONS

We propose an optical detector based on a photodiode and an operational amplifier in transimpedance configuration (Fig. 1).

Refer to caption
Figure 1: Photodetector based on a transimpedance amplifier. The feedback network components are shown in red and green. The photodiode bias voltage node is indicated in blue.

The small-signal model and the design equations, including the signal-to-noise ratio and stability analysis, are discussed in detail in a previous article [9].

In this work, the performance variables that define the specifications are the minimum signal-to-noise ratio (at minimum input irradiance), S/NS/N; the highest operating frequencies, BB; and the minimum phase margin value, ϕm\phi_{m}; and their tolerances. An additional constraint is that we only use commercial components that have standard values within a given tolerance (for example, ±10%\pm 10\%, ±5%\pm 5\%, etc).

The design parameters that we optimise are the feedback network components: the resistance RfR_{f} and the capacitance CfC_{f}, and the photodiode bias voltage, VDV_{D}. Must be remarked that the photodiode capacitance, CDC_{D}, depends on the VDV_{D} applied to the photodiode. This can be seen in the Diode Capacitance vs. Reverse Voltage plot of the photodiode, CD=f(VD)C_{D}=f(V_{D}), from the manufacturers datasheet.

In Section III, we explain the general design method of photodetectors, using a merit function and a search algorithm.

III GENERAL DESIGN METHOD

We propose a general design methodology of photodetectors (Fig. 2).

Refer to caption
Figure 2: Flow diagram of the general photodetectors design method.

We first take into consideration the specifications, i.e. the required values of the performance variables. We define the design parameters, whose values we optimise to satisfy the specifications.

The first step is to set the initial values of the design parameters. Then, the optimisation algorithm (merit function and Search algorithm) is applied. The output of the optimisation algorithm gives the performance variables values with their merits. If the specifications are satified, we select the optimised design parameters values. On the contrary, if the specifications are not satisfied but they can be relaxed, a new optimisation can be carried out. If it were not possible to relax the specifications, the design parameters must be redefine.

In the next section, we present the merit function to evaluate the performance variables values.

IV MERIT FUNCTION

We evaluate the performance achieved by a given set of design parameters values with the following global merit function, introduced in a previous work [9]:

Merit=M(x1)M(x2)M(xN),Merit=M(x_{1})M(x_{2})...M(x_{N}), (1)

where MeritMerit indicates the global degree of compliance with the specifications, and M(xi)M(x_{i}) is the merit corresponding to the performance variable, xix_{i}. We calculate merit evaluating the values of the performance variables that define the specifications; in this work, S/NS/N, BB and ϕm\phi_{m}. The latter are obtained as functions of the design parameters (RfR_{f}, CfC_{f}, and VDV_{D}) [9]. For each performance variable, the specification defines an optimum value, xoptx_{opt}, and its tolerance defines an acceptable region.

Refer to caption
Figure 3: Upper panel: unilateral merit function; lower panel: bilateral merit function. We choose these functions to weight the performance variables (xx).

If the performance variable, xx, has an acceptable region limited by a lower bound, xminx_{min}, and an optimum, xoptx_{opt}, above which a higher value has no advantage, we propose the unilateral merit function (Fig. 3, upper panel), as follows:

Mu(x)={0for xxmin,1(xxoptxminxopt)2for xminx<xopt,1for xoptx.M_{u}(x)=\begin{cases}0&\text{for }x\leq x_{min},\\ 1-\big{(}\frac{x-x_{opt}}{x_{min}-x_{opt}}\big{)}^{2}&\text{for }x_{min}\leq x<x_{opt},\\ 1&\text{for }x_{opt}\leq x.\end{cases} (2)

In this work, the merits of S/NS/N and ϕm\phi_{m} are defined by the Unilateral merit functions, MuS/NM_{uS/N} and MuϕmM_{u\phi_{m}}, respectively. It is easy to see that an analogous unilateral merit function may be defined if the acceptable region has an upper bound.

On the other hand, if the performance variable, xevalx_{eval}, has an acceptable region limited by lower and upper bounds, xminx_{min} and xmaxx_{max}, we use the Bilateral merit function (Fig. 3, lower panel):

Mb(x)={0for xxmin,1(xxoptxminxopt)2for xminx<xopt,1(xxoptxmaxxopt)2for xoptx<xmax,0for xmaxx.M_{b}(x)=\begin{cases}0&\text{for }x\leq x_{min},\\ 1-\big{(}\frac{x-x_{opt}}{x_{min}-x_{opt}}\big{)}^{2}&\text{for }x_{min}\leq x<x_{opt},\\ 1-\big{(}\frac{x-x_{opt}}{x_{max}-x_{opt}}\big{)}^{2}&\text{for }x_{opt}\leq x<x_{max},\\ 0&\text{for }x_{max}\leq x.\end{cases} (3)

In this work, the tolerance of BB defines the lower and upper bounds of its acceptable region; therefore, the bilateral merit function is MbBM_{bB}.

In the following sections, we introduce algorithms to search for the optimum merit.

V OPTIMISATION WITH MONTECARLO ALGORITHM

In this section, we present a Montecarlo algorithm to find the optimum photodetector design parameters values (Fig. 4).

Refer to caption
Figure 4: Flow diagram of the Montecarlo algorithm.

As defined above, the design parameters are the feedback network components, RfR_{f} and CfC_{f}, and the photodiode bias voltage, VDV_{D}. Another constraint of our photodetector design is that the components must have commercial values.

We select the 7272 commercial values from the 5%5\% tolerance series for RfR_{f} and CfC_{f}. For the bias voltage values, we discretize the photodiode reverse voltage range (from the manufacturer datasheet) into 7272 values.

From the space of

N3DP=72×72×723.7×105N_{3DP}=72\ \times 72\ \times 72\approx 3.7\times 10^{5} (4)

design parameters values, the algorithm is initialized with NMCN_{MC} sets of random design parameters values (each one with a RfR_{f}, a CfC_{f}, and a VDV_{D} values). For each set of design parameters values, we calculate the performance variables: BB, S/NS/N, and ϕm\phi_{m} (these calculations are detailed in [9]). Then, we calculate the Unilateral merits corresponding to S/NS/N and ϕm\phi_{m}, MuS/NM_{uS/N} and MuϕmM_{u\phi_{m}}, as in Eq. (2); and the Bilateral merit of BB, MbBM_{bB}, as in Eq. (3). The global MeritMerit is calculated as in Eq. (1). Finally, we select the set of design parameters values with the maximum global merit.

In Section VI, we introduce a Genetic Algorithm for the design optimisation of photodetectors based on transimpedance amplifiers, using the same merit function.

VI OPTIMISATION WITH GENETIC ALGORITHM

We present a Genetic Algorithm to optimise the search of the design parameters values (Fig. 5) for an optical detector based on a photodiode and a transimpedance amplifier (Fig. 1). To compare the performance of the Genetic Algorithm optimisation with that of Montecarlo, we use the same design example and specifications of the previous section. Thus, the design parameters are RfR_{f}, CfC_{f} and VDV_{D}. For the feedback network components, we select 7070 RfR_{f} commercial values and 2727 CfC_{f} commercial values from the 5%5\% tolerance series, and the VDV_{D} are 7070 discrete values from the photodiode operation range. This is the same set of values that was used for the optimisation with Montecarlo algorithm.

We initialize the algorithm by randomly choosing the First Generation of Chromosomes [22]. For this purpose, we randomly select design parameters values that lead to NCN_{C} circuits with non-zero merit.

Then, Natural Selection takes place choosing which chromosomes are apt to survive. The merit evaluation of the chromosomes is carried out, using the merit function introduced in Section IV. In our design, couples (the parents of the next generation) are formed with a proportional selection method [22] [24] [36]. First, a chromosome is randomly selected. Then, the chromosome can be chosen as a parent with a probability proportional to its merit value. This method allows to choose the best individuals with a higher probability, and also allows chromosomes with zero merit to be chosen. This helps maintaining the diversity of the population. In our selection method, a parent can be selected for more than one couple. The total amount of couples is NC/2N_{C}/2.

Refer to caption
Figure 5: Flow diagram of the optimisation with the Genetic Algorithm, initialized with NCN_{C} chromosomes.

Each couple has two descendants. For this purpose, the recombination occurs, so that descendants contain a random amount of genetic content (in our case, design parameters values) from each one of the two parents. Then, considering that in this example there are three design parameters, recombination can take place in three different modes (A, B or C), as shown in this example:

Couple 1{Parent 1:Rf1Cf1VD1|Parent 2:Rf2Cf2VD2.\centering\textbf{Couple 1}\begin{cases}\textbf{Parent 1:}\ R_{f1}C_{f1}V_{D1}\ |\ \textbf{Parent 2:}\ R_{f2}C_{f2}V_{D2}.\end{cases}\@add@centering
{Descendant 1|Descendant 2(A)Rf1Cf2VD2|Rf2Cf1VD1,(B)Rf1Cf1VD2|Rf2Cf2VD1,(C)Rf1Cf2VD1|Rf2Cf1VD2.\centering\begin{cases}\ \ \ \ \textbf{Descendant 1}\ \ |\ \ \textbf{Descendant 2}\\ \ \textbf{(A)}\ R_{f1}C_{f2}V_{D2}\ \ |\ \ R_{f2}C_{f1}V_{D1},\\ \ \textbf{(B)}\ R_{f1}C_{f1}V_{D2}\ \ |\ \ R_{f2}C_{f2}V_{D1},\\ \ \textbf{(C)}\ R_{f1}C_{f2}V_{D1}\ \ |\ \ R_{f2}C_{f1}V_{D2}.\end{cases}\@add@centering (5)

This means that each couple (such as Couple 1, formed by Parent 1 and Parent 2) reproduces into two descendants from the next generation (Descendant 1 and Descendant 2), by randomly recombining as in modes (A), (B), or (C) (Eq. (5)). Therefore, we recombine the chromosomes from the selected couples, leading to the creation of the Second Generation.

To avoid the convergence to local maxima and to increase the diversity, mutations are introduced. We aim to find the maximum merit possible in our search of the optimised design parameters values (the optimised chromosome). Mutations are random changes of the design parameters values, that are applied to a percentage of chromosomes, MUTMUT, of our descendants generation (from the Second Generation onwards).

We preset the maximum number of generations, GENGEN. When the Genetic Algorithm reaches the generation number GENGEN, it stops and we select as the optimised chromosome the one with the maximum merit from all the generations.

In the next section, we show the results obtained from the two different optimisations: Montecarlo algorithm and the Genetic Algorithm.

VII RESULTS

We compare the performance of the Montecarlo algorithm and the Genetic Algorithm, using as a reference the systematic search presented in a previous work [9]. We use these algorithms to search for the optimised design parameters values for optical detectors based on a photodiode and a transimpedance amplifier (Fig. 1). We present a design example to compare the three search algorithms with the definitions from Section II, and the following specifications:

{S/N>10dB,B=(22±2)kHz,ϕm>45.\begin{cases}S/N>10\ \text{dB},\\ B=(22\pm 2)\ \text{kHz},\\ \phi_{m}>45^{\circ}.\end{cases} (6)

A constraint is that we only use commercial components from the 5%5\% tolerance series. We choose to work with a PIN photodiode, BPW34 [37], and a low-noise operational amplifier, OP07 [38]. The design parameters are the feedback network components, RfR_{f} and CfC_{f}, and the photodiode bias voltage, VDV_{D}. In a previous work [9], we detailed this same photodetector small-signal model, and its noise and stability analysis. In that work, we introduced a merit function, that we also use in this work, and the systematic search method of the optimum design parameters. In [9], the design parameters were the feedback network components values, considering all the possible combinations of the RfR_{f} and CfC_{f} commercial values (5%5\% tolerance series). It must be remarked that the specifications in [9] are the same as in this work.

First, we use the systematic search method to determine the optimum design parameters values of the photodetector. Considering that there are 7272 commercial components values in the 5%5\% tolerance series, we discretize the allowable VDV_{D} values of the photodiode into 7272 values. Then, all the possible combinations of design parameters values, RfR_{f}, CfC_{f} and VDV_{D}, in this case, lead to N3DP3.7×105N_{3DP}\approx 3.7\times 10^{5} computational evaluations (Eq. 4). The optimum design parameters of the systematic search are

{Rf=620kΩ,Cf=3.6pF,VD=14.79V,\centering\begin{cases}R_{f}=620\ $k$\Omega,\\ C_{f}=3.6\ $pF$,\\ V_{D}=14.79\ $V,$\end{cases}\@add@centering (7)

and the resulting performance values are

{Meritsyst=0.9338,S/N=71dB,B=22.01kHz,ϕm=90.\centering\begin{cases}Merit_{syst}=0.9338,\\ S/N=71\ $dB,$\\ B=22.01\ $kHz,$\\ \phi_{m}=90^{\circ}.\\ \end{cases}\@add@centering (8)

The merits corresponding to the performance variables are

{M(S/N)=0.9338,M(B)=1,M(ϕm)=1.\centering\begin{cases}M(S/N)=0.9338,\\ M(B)=1,\\ M(\phi_{m})=1.\\ \end{cases}\@add@centering (9)

The computational time of the systematic search is t=27.1t=27.1 s. Since there are three design parameters, the domain of the merit function, MeritsystMerit_{syst}, is 3D. Then, to visualize the results, we plot 2D projections of the merit function.

Refer to caption
Figure 6: Systematic search merits as a function of the feedback network components, CfC_{f} and RfR_{f}, evaluated at the optimum VDV_{D} value. The optimum global merit value, MeritsystMerit_{syst}, is indicated with a black square.
Refer to caption
Figure 7: Systematic search merits as a function of the feedback capacitance, CfC_{f}, and the photodiode bias voltage, VDV_{D}, evaluated at the optimum RfR_{f} value. The optimum global merit value, MeritsystMerit_{syst}, is indicated with a black square.
Refer to caption
Figure 8: Systematic search merits as a function of the feedback network resistance, RfR_{f}, and the photodiode bias voltage, VDV_{D}, evaluated at the optimum CfC_{f} value. The optimum global merit value, MeritsystMerit_{syst}, is indicated with a black square.

For each projection, we consider the optimum value of one of the design parameters and we plot the merit as a function of the other two (Figs. 6, 7 and 8). In addition, the optimum global merit value, MeritsystMerit_{syst}, is indicated. From the figures, we see that the optimum lies within a narrow, well-defined region.

From these results, we conclude that including VDV_{D} as a design parameter significantly improves the photodetector performance compared to [9], where RfR_{f} and CfC_{f} were the only design parameters. MeritsystMerit_{syst} increases from 0.87 to 0.93, and the signal-to-noise ratio improves from 3131 dB to 7171 dB.

Refer to caption
Figure 9: Normalized cumulative distribution, F(ϵ)F(\epsilon), of the percent relative differences, ϵ\epsilon, between MeritsystMerit_{syst} and the Montecarlo optimised result, MeritMerit. Each plot corresponds to 10001000 MC experiments with different numbers of sets of random design parameters values, NMCN_{MC}. The green line indicates F(ϵ)=0.95F(\epsilon)=0.95.

We define ϵ\epsilon, the percent relative difference between the optimum merit obtained by the systematic search, MeritsystMerit_{syst}, and the optimised result, MeritMerit, applying the optimisation algorithm (in this work, Montecarlo or Genetic Algorithm):

ϵ=100MeritsystMeritMeritsyst, 0%<ϵ<100%;\epsilon=100\frac{Merit_{syst}-Merit}{Merit_{syst}},\ \ 0\%<\epsilon<100\%; (10)

clearly, MeritMerit and, therefore, ϵ\epsilon are random variables. A useful parameter is ϵ95\epsilon_{95}, defined by:

P(ϵ<ϵ95)=95%,P(\epsilon<\epsilon_{95})=95\%, (11)

that is to say, in 95%95\% of the experiments, ϵ\epsilon is lower than ϵ95\epsilon_{95}.

We run 10001000 times the Montecarlo search algorithm to carry out a statistical analysis of the results. Each run of the Montecarlo search algorithm is a MC experiment. In each MC experiment are evaluated NMCN_{MC} sets of random values of the design parameters (Fig. 4).

In Fig. 9, we show the normalized cumulative distribution, F(ϵ)F(\epsilon), corresponding to 1000 Montecarlo experiments, with different values of NMCN_{MC}.

TABLE I: Montecarlo search algorithm results.
NMCN_{MC} ϵ95\epsilon_{95} (%) tt (s)
100100 >99>99 0.0140.014
500500 5858 0.0430.043
10001000 3838 0.0800.080
30003000 2121 0.240.24
1000010000 1010 0.720.72

Table I summarizes the ϵ95\epsilon_{95} values and computation times for each NMCN_{MC}. We see, in Fig. 10,

Refer to caption
Figure 10: ϵ95\epsilon_{95} as a function of the number of sets of random design parameters values, NMCN_{MC}.

that ϵ95\epsilon_{95} follows a power law with NMCN_{MC}, that is

ϵ95NMCβ,\epsilon_{95}\propto N_{MC}^{-\beta}, (12)

with β0.50\beta\approx 0.50, while tt linearly increases. For example, in a MC experiment with 1000010000 random sets of design parameters, ϵ95\epsilon_{95} is 10%10\%. Clearly, the result is close to the optimum merit value from the systematic search, with 3737 times less evaluations (10410^{4} vs. N3DP3.7×105N_{3DP}\approx 3.7\times 10^{5}).

Refer to caption
Figure 11: Normalized cumulative distribution, F(ϵ)F(\epsilon), of the percent relative differences, ϵ\epsilon, between MeritsystMerit_{syst} and the Genetic Algorithm optimised chromosome result, MeritMerit. The blue line indicates F(ϵ)=0.95F(\epsilon)=0.95. (a) Each plot corresponds to 200200 GA experiments with different numbers of chromosomes (NCN_{C}), 2020 generations, and 5%5\% mutations. (b) Each plot corresponds to 10001000 GA experiments with 10001000 chromosomes, different numbers of generations (GENGEN), and 5%5\% mutations. (c) Each plot corresponds to 10001000 GA experiments with 10001000 chromosomes, 55 generations, and different percentages of mutations, MUTMUT.

The three numerical parameters that determine the performance of the Genetic Algorithm are the number of chromosomes, NCN_{C}; the number of generations, GENGEN; and the percentage of mutations, MUTMUT (cf. the flow diagram in Fig. 5). A GA experiment is a run of the Genetic Algorithm, for fixed values of NCN_{C}, GENGEN and MUTMUT. The number of circuit evaluations in each GA experiment, EvalGAEval_{GA}, is useful to measure its computational cost. For the Genetic Algorithm,

EvalGA=GENNC.Eval_{GA}=GEN\cdot N_{C}. (13)

This allows the comparison with other algorithms. For instance, the systematic search algorithm requires N3DP3.7×105N_{3DP}\approx 3.7\times 10^{5} circuit evaluations.

To evaluate the algorithm performance, we determine the ϵ95\epsilon_{95} for different values of of NCN_{C}, GENGEN and MUTMUT. In Fig. 11 (a), we plot the normalized cumulative distribution, F(ϵ)F(\epsilon) (Eq. 10). Results are shown from 200200 GA experiments, with different NCN_{C} values (100100, 500500 and 10001000), 2020 generations, and 5%5\% mutations. In this figure, we can see that the ϵ95\epsilon_{95} clearly improves with increasing NCN_{C}.

TABLE II: Genetic Algorithm results.
NCN_{C} GENGEN MUT(%)MUT\ (\%) EvalGAEval_{GA} ϵ95(%)\epsilon_{95}(\%) tt (s)
100100 2020 55 20002000 15.615.6 1.01.0
500500 2020 55 1000010000 5.105.10 4.64.6
10001000 2020 55 2000020000 2.692.69 9.19.1
10001000 1010 55 1000010000 2.382.38 8.28.2
10001000 100100 55 100000100000 2.442.44 15.015.0
10001000 10001000 55 10000001000000 3.123.12 88.088.0
10001000 55 0 50005000 2.442.44 7.67.6
10001000 55 55 50005000 2.702.70 7.57.5
10001000 55 2020 50005000 2.692.69 7.57.5

These results are shown in the first three rows of Table II, where we summarize the GA results. From this table follows that EvalGAEval_{GA} and the computation time of the GA experiment, tt, increase with NCN_{C}.

Fig. 11 (b) shows that ϵ95\epsilon_{95} does not appreciably change when the GENGEN value goes from 1010 to 10001000, for NC=1000N_{C}=1000 and MUT=5%MUT=5\%.

Refer to caption
Figure 12: ϵ95\epsilon_{95} as a function of the number of generations, GENGEN. Each plot corresponds to 10001000 GA experiments with different numbers of chromosomes (NCN_{C}), and different percentages of mutations (MUTMUT).

In Fig. 12, we confirm that ϵ95\epsilon_{95} is approximately constant whith GENGEN, for different NCN_{C} values. As indicated in rows 4 to 6 of Table II, EvalGAEval_{GA} and tt increase significantly with GENGEN.

Similarly, varying MUTMUT from 0 to 20%20\% does not alter ϵ95\epsilon_{95} appreciably (Fig. 11 (c) and rows 7 to 9 of Table II).

Refer to caption
Figure 13: ϵ95\epsilon_{95} as a function of the number of chromosomes, NCN_{C}. Each plot corresponds to GA experiments with different numbers of generations (GENGEN), and different percentages of mutations (MUTMUT).

As shown in the log-log graph of Fig. 13, ϵ95\epsilon_{95} follows a power law with NCN_{C}, that is

ϵ95NCβ,\epsilon_{95}\propto N_{C}^{-\beta}, (14)

with β0.74\beta\approx 0.74, independently of GENGEN and MUTMUT.

In summary, when using the Genetic Algorithm to optimise the design of photodetectors with three design parameters, it is best to select a large NCN_{C} value, for example, 10001000 chromosomes, and a low GENGEN value, like 1010 generations, since it leads to a lower ϵ95\epsilon_{95} and less computational cost.

Refer to caption
Figure 14: Optimised chromosomes from the Genetic Algorithm experiment (NC=1000N_{C}=1000, GEN=10GEN=10, MUT=5%MUT=5\%, and ϵ95=2.38%\epsilon_{95}=2.38\%), that lead to circuits with ϵϵ95\epsilon\leq\epsilon_{95}. The result marked with an asterisk corresponds to the optimum from systematic search.

We compare the results of the systematic search and the Genetic Algorithm with a graphical representation in the design parameters space (RfR_{f}, CfC_{f} and VDV_{D}). The numerical parameters of the GA experiment, in Fig. 14, correspond to the fourth row of Table II (NC=1000N_{C}=1000, GEN=10GEN=10, MUT=5%MUT=5\%, and ϵ95=2.38%\epsilon_{95}=2.38\%). In the figure, we plot with circles the circuits with ϵϵ95\epsilon\leq\epsilon_{95} (i.e. Merit0.9116Merit\geq 0.9116). We can see that they are all concentrated in a small region of the plot. Also, in the figure an asterisk indicates the optimum circuit from the systematic search algorithm (Meritsyst=0.9338Merit_{syst}=0.9338).

From the comparison of the Montecarlo and Genetic Algorithm results (Tables I and II) with the same number of evaluations (10×10310\times 10^{3}), we see that GA with NC=1000N_{C}=1000 has a much lower ϵ95\epsilon_{95} than MC (2.38%2.38\% vs. 10%10\%). However, the GA takes longer than MC (8.28.2 s vs. 0.720.72 s). It must be remarked that both, Montecarlo and Genetic Algorithm, have a significantly lower computational cost than the systematic search (10×10310\times 10^{3} vs. 3.7×1053.7\times 10^{5} evaluations).

VIII CONCLUSIONS

In this work, we present Montecarlo and Genetic Algorithms for the optimisation of the design of photodetectors based on a transimpedance amplifier and a photodiode. The specifications are the signal-to-noise ratio, highest operating frequency, and phase margin. An additional requirement is to use commercial components values from the 5%5\% tolerance series. The design parameters are the components of the feedback network and the photodiode bias voltage. We define a merit function that allows a quantitative comparison of the compliance with the design requirements. The systematic search algorithm is used as a reference for the comparison of both optimisation algorithms. We apply the optimisation algorithms to the same design example and compare their performances.

The systematic search is used to find the design that has the highest possible merit. It requires the calculation of all the possible combinations of the design parameters values. The systematic search for the design example in this work requires approximately 3.7×1053.7\times 10^{5} evaluations. This method has the highest computational cost compared to the Montecarlo and Genetic Algorithm.

To evaluate the performance of each optimisation algorithm, we define the percent relative difference, ϵ\epsilon, between the optimum merit (obtained by the systematic search) and the merit of the circuit optimised by the algorithm. It must be noted that ϵ\epsilon is a random variable. The performance metric is given by ϵ95\epsilon_{95}, that is the value of ϵ\epsilon not exceeded in 95%95\% of the algorithm runs.

For the Montecarlo algorithm with 10410^{4} random sets of design parameters values, ϵ95\epsilon_{95} is 10%10\%. The Montecarlo search has a significantly lower computational cost than the systematic search, since it gives good results even with about 3%3\% of the systematic search evaluations. Interestingly, ϵ95\epsilon_{95} follows a power law, decreasing with exponent 0.500.50 with the number of random sets of design parameters values.

The Genetic Algorithm is based on the evolution of a number of random sets of the design parameters values (chromosomes) during a given number of generations and subject to mutations. This algorithm requires a total amount of computational evaluations that is the product of the number of chromosomes and the number of generations. Increasing the number of chromosomes lowers ϵ95\epsilon_{95}, improving the performance of the Genetic Algorithm. It must be remarked that a large number of generations increases the computational cost without significantly improving ϵ95\epsilon_{95}. In this work, we find that the percentage of mutations does not influence the results. Remarkably, ϵ95\epsilon_{95} for the Genetic Algorithm also follows a decreasing power law with exponent 0.740.74 with the number of chromosomes.

We simulate the design example of this work through the evolution of 10001000 chromosomes during 10 generations (5%5\% mutations). In this case, the Genetic Algorithm requires 1000010000 evaluations resulting in ϵ95\epsilon_{95} of 2.38%2.38\%. With the same amount of evaluations, the Montecarlo experiment results in ϵ95\epsilon_{95} of 10%10\%. Even though for the same number of evaluations the Genetic Algorithm takes more computation time than Montecarlo, the ϵ95\epsilon_{95} is significantly lower. Since the power law exponent of the Genetic Algorithm is larger than that of Montecarlo (0.740.74 vs. 0.500.50), to obtain the same ϵ95\epsilon_{95} (2.38%2.38\%), would take 176000176000 evaluations for the Montecarlo algorithm.

We conclude that the merit function together with the optimisations based on Genetic Algorithm or Montecarlo are useful, robust and efficient tools for the design of analog circuits. It must be remarked that the higher power law exponent of the Genetic Algorithm is an advantage for its application to more challenging design problems with more parameters or constraints.

IX ACKNOWLEDGMENT

This work was supported by grants from Universidad de Buenos Aires (UBACyT 20020190100275BA and 20020190100032BA), CONICET (11220200102112CO) and by ANPCyT (PICT-2020-SERIEA-03741). One of the authors (Patricia M. E. Vázquez) thanks Facultad de Ingeniería de la Universidad de Buenos Aires for a Peruilh FIUBA Doctoral scholarship.

References

  • [1] J. G. Graeme, Photodiode Amplifiers: Op Amp Solutions. McGraw-Hill Education, 1996.
  • [2] P. A. Sorichetti, C. L. Matteo, and A. J. Marzocca, Optimization of sensor arrays for beam position estimation, Sensors and Actuators A, vol. 87, no. 1-2, pp. 11–18, 2000.
  • [3] L. M. Riobó, F. E. Veiras, P. A. Sorichetti, and M. T. Garea, Wideband quad optical sensor for high-speed sub-nanometer interferometry, Appl. Opt., vol. 56, no. 3, pp. 397–403, 2017.
  • [4] L. Riobó, F. Veiras, M. Garea, and P. Sorichetti, Wideband transimpedance amplifiers for optoelectronics: Applications to dynamic interferometry, Elektron, vol. 1, no. 1, 2017.
  • [5] M. G. González, L. M. Riobó, L. Ciocci Brazzano, F. E. Veiras, P. A. Sorichetti, and G. D. Santiago, Generation of sub-microsecond quasi-unipolar pressure pulses, Ultrasonics, vol. 98, pp. 15–19, 2019.
  • [6] R. M. Insabella, M. G. González, E. O. Acosta, and G. D. Santiago, Dielectric antenna effects in integrating line piezoelectric sensors for optoacoustic imaging, Measurement Science and Technology, vol. 31, no. 12, p. 125103, 2020.
  • [7] R. M. Insabella, M. G. González, L. M. Riobó, K. Hass, and F. E. Veiras, Software-defined optoacoustic tomography, Appl. Opt., vol. 59, no. 3, pp. 706–711, 2020.
  • [8] L. Riobó, Y. Hazan, F. Veiras, M. Garea, P. Sorichetti, and A. Rosenthal, Noise reduction in resonator-based ultrasound sensors by using a CW laser and phase detection, Opt. Lett., vol. 44, no. 11, pp. 2677–2680, 2019.
  • [9] P. M. E. Vázquez, F. E. Veiras, L. C. Brazzano, and P. A. Sorichetti, Design method of optical detection systems based on transimpedance amplifiers, Review of Scientific Instruments, vol. 92, no. 11, p. 114704, 2021.
  • [10] M. A. Ershov, V. D. Savelenko, N. S. Shvedova, V. M. Kapustin, T. M. Abdellatief, N. V. Karpov, E. V. Dutlov, and D. V. Borisanov, An evolving research agenda of merit function calculations for new gasoline compositions, Fuel, vol. 322, p. 124209, 2022.
  • [11] T. M. Abdellatief, M. A. Ershov, V. D. Savelenko, V. M. Kapustin, U. A. Makhova, M. A. Abdelkareem, and A. Olabi, A novelty detection diagnostic methodology for merit function calculations for various individual gasoline components, Fuel, vol. 344, p. 128050, 2023.
  • [12] C. J. Progler and D. M. Byrne, Merit functions for lithographic lens design, Journal of Vacuum Science Technology B: Microelectronics and Nanometer Structures Processing, Measurement, and Phenomena, vol. 14, no. 6, pp. 3714–3718, 11 1996.
  • [13] J. A. Dobrowolski, F. C. Ho, A. Belkind, and V. A. Koss, Merit functions for more effective thin film calculations, Appl. Opt., vol. 28, no. 14, pp. 2824–2831, Jul 1989.
  • [14] A. Z. Kyme, M. S. Judenhofer, K. Gong, J. Bec, A. Selfridge, J. Du, J. Qi, S. R. Cherry, and S. R. Meikle, Open-field mouse brain PET: design optimisation and detector characterisation, Phys Med Biol, vol. 62, pp. 6207–6225, 2017.
  • [15] F. Ma, S. Wang, X. Li, K. A. Anselm, X. G. Zheng, A. L. Holmes, and J. C. Campbell, Monte Carlo simulation of low-noise avalanche photodiodes with heterojunctions, Journal of Applied Physics, vol. 92, no. 8, pp. 4791–4795, 2002.
  • [16] S. C. Liew Tat Mun, C. H. Tan, Y. L. Goh, A. R. J. Marshall, and J. P. R. David, Modeling of avalanche multiplication and excess noise factor in In 0.52 Al 0.48 As avalanche photodiodes using a simple Monte Carlo model, Journal of Applied Physics, vol. 104, no. 1, p. 013114, 2008.
  • [17] Z. Zheng, Y. Mai, and G. Wang, Monte carlo study of device characteristics of GaN-based avalanche photodiode devices, Journal of Applied Physics, vol. 106, no. 2, p. 023716, 2009.
  • [18] S. Zohoori, M. Dolatshahi, M. Pourahmadi, and M. Hajisafari, A CMOS, low-power current-mirror-based transimpedance amplifier for 10 gbps optical communications, Microelectronics Journal, vol. 80, pp. 18–27, 2018.
  • [19] E. Semsar Parapari, Z. Daie Koozehkanani, and S. Toofan, A 10-GHz inductorless modified regulated cascode transimpedance amplifier for optical fiber communication, Microelectronics Journal, vol. 114, p. 105123, 2021.
  • [20] N. Hesam Mahmoudi Nezhad, Optical system optimization using genetic algorithms, Delft. The Netherlands, May 2014, supervisors- Thijssen, Jos and Bociort, Florian.
  • [21] E. Wirsansky, Hands-On Genetic Algorithms with Python: Applying genetic algorithms to solve real-world deep learning and artificial intelligence problems. Packt Publishing, 2020.
  • [22] A. Di Rado and G. Podestá, Algoritmos genéticos binarios con control de diversidad. Buenos Aires, Argentina: Facultad de Ciencias Exactas y Naturales, Departamento de Computación, Universidad de Buenos Aires, 2014, Computer Science Degree Thesis. Director: Tetzlaff, Tomás.
  • [23] R. L. Haupt and S. E. Haupt, Practical Genetic Algorithms, 2nd ed. John Wiley Sons, Inc., 2004.
  • [24] D. Thierens and D. Goldberg, Convergence models of genetic algorithm selection schemes, in Parallel Problem Solving from Nature — PPSN III, Y. Davidor, H.-P. Schwefel, and R. Männer, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 1994, pp. 119–129.
  • [25] Y. Jiang, J. Ju, X. Zhang, and B. Yang, Automated analog circuit design using genetic algorithms, in 2009 3rd International Conference on Anti-counterfeiting, Security, and Identification in Communication, 2009, pp. 223–228.
  • [26] M. W. Cohen, M. Aga, and T. Weinberg, Genetic algorithm software system for analog circuit design, Procedia CIRP, vol. 36, pp. 17–22, 2015, CIRP 25th Design Conference Innovative Product Creation. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S2212827115000360
  • [27] E. Abdo, S. Muttlak, A. Sabaawi, and M. Missous, Design and optimization of 0.18 μ\mum CMOS transimpedance amplifier for 20 Gbps optical communications using genetic algorithm, Journal of Engineering Science and Technology, vol. 17, 07 2021.
  • [28] S. Devi, G. Tilwankar, and R. Zele, Automated design of analog circuits using machine learning techniques, in 2021 25th International Symposium on VLSI Design and Test (VDAT), 2021, pp. 1–6.
  • [29] K. Settaluri, Z. Liu, R. Khurana, A. Mirhaj, R. Jain, and B. Nikolic, Automated design of analog circuits using reinforcement learning, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 41, no. 9, pp. 2794–2807, 2022.
  • [30] W. Paszkowicz, Genetic algorithms, a nature-inspired tool: Survey of applications in materials science and related fields, Materials and Manufacturing Processes, vol. 24, no. 2, pp. 174–197, 2009.
  • [31] S. Boggi, A. C. Razzitte, and W. G. Fano, Simulación numérica de la permeabilidad magnética aplicada a ferritas utilizando algoritmos genéticos, 2014 IEEE Biennial Congress of Argentina (ARGENCON), pp. 202–206, 2014.
  • [32] T. Kamalakis, L. Dogkas, and F. Simou, Optimization of a discrete multi-tone visible light communication system using a mixed-integer genetic algorithm, Optics Communications, vol. 485, p. 126741, 2021.
  • [33] D. Muhire, L. Frey, and A. Daami, Wide-angle emission grating using a supervised genetic optimization for LIDAR integration, in Physics and Simulation of Optoelectronic Devices XXX, vol. 11995. SPIE, 2022, pp. 103–114.
  • [34] J. Lee, K. Son, C. Lee, I. Hwang, B. Jang, E. K. Lee, D. Shim, H. Byun, C. Shin, O. Tatsuhiro et al., Real-time LIDAR imaging by solid-state single chip beam scanner. Electronic Imaging, vol. 34, no. 16, pp. 172–1, 2022.
  • [35] R. H. Kingston, Detection of Optical and Infrared Radiation. Springer-Verlag, 1978.
  • [36] J. J. Grefenstette, Proportional selection and sampling algorithms, 1997.
  • [37] Vishay Semiconductors, BPW34 Silicon PIN photodiode datasheet, https://www.vishay.com/docs/81521/bpw34.pdf. [Online]. Available: https://www.vishay.com/docs/81521/bpw34.pdf
  • [38] Analog Devices, OP07 Ultralow offset voltage operational amplifier datasheet, https://www.analog.com/media/en/technical- documentation/data-sheets/OP07.pdf.