Patent Publication Number: US-4734879-A

Title: Analog computing method of solving a second order differential equation

Description:
BACKGROUND 
     In a semiconductor junction device or a field effect device, it is often required to know the electric field and the depletion width of the device. The maximum electric field determines the maximum voltage that can be applied to the device. The depletion width determines the junction capacitance. To obtain such information analytically, one must solve the Poisson&#39;s equation. 
     In modern semiconductor devices, the impurity concentration is generally not uniform. Impurities are usually introduced to the semiconductor either by ion implantation or thermal diffusion to tailor the device characteristics. These impurities give rise to a nonuniform profile. Such profiles may describe a Gaussian distribution, a complementary error function, or a combination thereof. The Poisson&#39;s equations of such complicated profile are generally not easily solved by analytical methods. If numerical methods are used, the double integration, together with boundary condition determination, may require a large amount of computation time. What is needed is an efficient method to determine the electric field and capacitance of a p-n junction with a uniform impurity concentration background. 
     SUMMARY OF THE INVENTION 
     An object of this invention is to devise a method to analyze the characteristics of a semiconductor p-n junction with nonuniform background impurity concentration efficiently. 
     Another object of this invention is to determine the electric field of a p-n junction. 
     Still another object of this invention is to determine the depletion layer width or junction capacitance of a p-n junction. 
     These objects are obtained with analog computation technique. A time-varying signal is used to simulate the impurity profile. A unique feature of this invention is the automatic generation of the constants of integration in the solution of the Poisson&#39;s differential equation. This is done by adjusting the pulse repetition rate or by using the bisection method iteratively. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     In the drawings: 
     FIG. 1 is a schematic block diagram showing the basic functions of each component block for implementing this invention, featuring a sample-hold functional block. 
     FIG. 2 is a schematic circuit diagram showing how the concept in FIG. 1 is constructed with electronic parts. 
     FIG. 3 is a timing diagram of the various voltages at different points of the circuit shown in FIG. 2. 
     FIG. 4 shows a second embodiment of the present invention where the sample-hold circuit uses a fixed sampling frequency. 
     FIG. 5 shows how the concept of FIG. 4 can be implemented with electronic components. 
     FIG. 6 shows the cross-section of a basic semiconductor p-n junction. The junction may not be abrupt and impurity distribution on the two sides of junction may not be uniform. 
     FIG. 7 is a schematic block diagram showing how the present invention can be used to solve the Poisson&#39;s equation for a two-sided junction with non-uniform impurity distribution. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     When a reverse bias is applied across a semiconductor p-n junction, the potential distribution as a function of distance is governed by the Poisson&#39;s equation. Take the simple case of a static one-dimensional Poisson&#39;s equation 
     
         (d.sup.2 V)/(dx.sup.2)=-(q/ε)N(x)                  (1) 
    
     where V is the voltage, x is the distance, q is the electronic charge, ε is the dielectric constant, and N(x) is the background impurity concentration which may be a function of distance. To find out the potential distribution, one must solve this differential equation. After first integration, ##EQU1## where C 1  is a constant of integration and can be determined by boundary conditions. At the edge of the depletion layer W, the electric field is equal to zero. ##EQU2## The constant of integration C 1 , is then ##EQU3## Next, integrate Eq. (2): ##EQU4## If the voltage at x=0 is taken as zero, C 2  =0. Differential equation (5) can be solved with analog computation technique. 
     After the first integration of the second-order differential equation (1), one must put in the boundary conditions before the next integration. In other words, the value of the constant of integration C 1  in equation (3) must be known. However, at this point in computation, the edge of the depletion layer W is not yet known. Not knowing the value of W, one cannot proceed to integrate equation (5). 
     According to this invention, we propose two novel methods to solve this problem. 
     In the first method, the time of integration is varied until the voltage as expressed in equation (5) is satisfied. The basic block diagram is shown in FIG. 1. In this diagram, there is an integrator 11, an inverter 12, a sample-hold voltage follower 13, a summing amplifier 14, and a second integrator 15. The input signal is a periodic wave 10. The waveshape corresponds the impurity profile N(x) with time t replacing the depth x. The waveform can be rectangular for a uniform background or can assume other shapes for nonuniform background. The period T of this wave is adjustable. 
     This wave is impressed at the input of the first integrator 11 which yields an output at V 1 . If time t is used to simulate distance x, the output V 1  is equal to the integral in equation (3), ##EQU5## 
     At a time t=t 2 , corresponding to the edge of depletion layer width where the electric field dV/dt=0, this boundary condition as given in equation (4) yields an integral ##EQU6## This quantity is a constant for subsequent integration and is held in a sample-hold circuit 13. 
     This constant C 1  is summed with the integral ##EQU7## in the summing amplifier 14 to give an output ##EQU8## This quantity is the electric field as a function of distance. The output of the summer 14 is integrated again in the integrator 15 to yield an output ##EQU9## By adjusting t 2 , the period, this final integral can be varied until the amplitude is equal to the desired applied voltage V A . Then, the time period t 2  is a measure of the depletion layer width W. 
     The actual implementation of the analog computation of the Poisson&#39;s equation is shown in FIG. 2. The integrator 11 consists of an operational amplifier Op1, an input resistor R 1 , integrating capacitor C 1 , a balancing resistor R 4 , initial setting resistors R 2  and R 3 , and an initial setting switch SW1. 
     The setting switch SW1 is controlled by a rectangular clock signal S1. when S1 is high, SW1 is closed. the initial output voltage V 1  is set at zero. When SW1 is subsequently opened, the output voltage begins to integrate. The output voltage is related to the RC time constant and time as follows: ##EQU10## 
     The clock pulse S 1  for controlling SW1 has four durations: t 1 , the reset time, and t 2 , the integration time. During t 1 , V is reset to an initial voltage. During t 2 , the input signal V i  is integrated. The time sequence is repeated during the next two durations t 3 , the resetting time, and t 4 , the integration time. Thus t 1  =t 3 , t 2  =t 4 . 
     A sample-hold circuit 13 consists of a sampling switch SW2, a holding capacitor C 4 , and an operational amplifier Op2. The sampling switch is preferably another MOSFET. When SW2 is closed by applying a clock pulse at the gate, voltage V 1  is charging the sampling capacitor C 4  through a resistor R 5 . V 1  is the voltage at the output of the first integrator. The clock pulse S 2  for controlling SW2 is half the pulse repetition rate of the clock pulse S 1  for controlling SW1. The clock S 2  is timed such that it opens SW2 at the end of integration time t 2  of S 1 . The voltage V 1  (t=t 1 ) at time t 1  is then held by C 4  and is equal to ##EQU11## The voltage is held during subsequent clock cycle of S 1  with resetting time t 3  and integration time t 4  because SW2 is open. This voltage is applied to the noninverting input of an operational amplifier Op2, serving as a voltage follower with output V 2 . 
     The voltage at V 1  is also fed to an inverter consisting of input resistance R 6 , R 7 , and an operational amplifier OP3. Thus, the input voltage V 1  to the inverter is inverted at the output as V 3 . 
     The outputs of the voltage follower Op2 and the output of the inverter Op3 are fed to a summing amplifier 14 through two pass transistors SW3 and SW4 serving as switches. These switches are also controlled by clock pulses S 1 . The summing amplifier is an operational amplifier with two input resistors R 9  and R 10  and a feedback resistor R 15 . 
     During t 4 , when switches SW3 and SW4 are closed, V 2  and V 3  are summed and inverted, appearing as V at the output of Op4. This inverted sum is equal to ##EQU12## 
     This quantity is integrated with an integrator Op5 which is similar to the integrator Op1. The functions of resistors R 11 , R 12 , R 13 , R 14  and C 13  are similar to that of R 1 , R 2 , R 3 , R 4  and C 3  respectively. ##EQU13## The amplitude of V o  can be adjusted by changing the period of the clock pulse. When V is adjusted to be equal to the applied voltage V A , the time t 2  or t 4  corresponds to the depletion layer W. 
     FIG. 3 shows the waveforms at various points described in FIG. 2 for a uniform background. This condition is represented by a rectangular waveform V. When V is first integrated, the output is reset to zero during resetting time t 1 , t 3 , and is a sawtooth during integration time t 2 , t 4 , as shown in V 1 . At the end of integration period t 4 , the sample-hold circuit holds V 2  constant during t 3  and t 4 . During t 4 , V 2  and V 3 , which is the inverse of V 1 , are summed and appear as V at the output of the summing amplifier as a declining sawtooth. When V is integrated again, an output voltage -V is obtained which has a square law relationship with time for uniform background. By adjusting the pulse repetition frequency, the amplitude of |-V| can be varied to be equal to the applied voltage. 
     In FIG. 2, a one-sided step junction with uniform background impurity concentration is assumed. If the background concentration is not uniform, the input waveform should not be a flat-top rectangular wave. The waveform should vary with time corresponding to the impurity profile of the substrate. For instance, an exponential profile N s  exp (-x/x p ) (where N 2  is the surface concentration, x is distance and x p  a characteristic length) should be represented as an exponentially decaying waveform. Such a waveform can be generated with waveform generation techniques well-known to the art. 
     Another embodiment of the present invention is to use a fixed pulse repetition frequency and use a bisection method iteratively to obtain the constant of first integration. The method is shown in FIG. 4. 
     A pulse, whose amplitude is proportional to -qN/ε, is periodically fed to the input of an integrator 21 through a switch SW1. Let us first consider the case where N(x) is uniform. Then, the input is represented as a square-wave. The pulse repetition time should be longer than any conceivable depletion layer width. 
     The output of the integration 21 is ∫ 0  Ndx. To obtain the electric field described by equation (2), the constant of integration should be included. The value of C 1  and ##EQU14## are therefore added in the following adder, 23. At the beginning, the value of C 1  is not known. Sample-hold technique is used to determine the value of C 1 . This is accomplished by using a holding capacitor C h  at the input of the next integrator 24. Another sampling capacitor C s  is switched to the output of the first integrator as long as N(x) is integrated. The initial value of C 1  can be any convenient value, say, C 1  old. The output of the subtractor is fed to a second integrator 24. The output of this integrator is then the voltage as given by equation (5). 
     If this voltage equals the assigned value V A , the input pulse is disconnected from the first integrator 21. At the same time, the sampling capacitor ##EQU15## After switching, the voltage V C  across the parallel C s  and C h  is the average voltage between sampling voltage V S  originally across C s  and the holding voltage V h  originally across C h . If C s  and C h  are of equal value, ##EQU16## 
     When the next input pulse rises again, the sampling capacitor C s  is switched back to the output of the first integrator. Because of holding action, the voltage across C h  now assumes the new value given by equation (9). For every successive iteration, the sampling voltage and the holding voltage get closer. This method is equivalent to the bisection numerical method for digital computers. Finally, after several iterations, steady state will be reached when the sampling voltage and the holding voltage are the same. 
     This basic scheme shown in FIG. 4 can be implemented with conventional integrated circuits and MOSFET transmission gates. A possible circuit schematic diagram is shown in FIG. 5. In this figure, the input switch SW11 in FIG. 4 is a MOSFET transmission gate 22. The integrator 21 is an operatinal amplifier with integrating capacitor C 21  and resistor R 32 . The single pole double throw switch SW12 in FIG. 5 is the complementary MOSFET transmission gates 17 and 18. Transmission gates 22 and 18 are closed when the gate input voltage V G1  is high. The second integrator 24 in FIG. 4 is implemented with another operational amplifier 24 and integrating capacitor C 24  and resistor R 24 . The comparator 25 gives a high output voltage V G1  when its inverting input reaches a given voltage V a . This output voltage and the input voltage V n  are fed to a SET-RESET flip-flop or a latch. The output of the latch in turn controls the transmission gates. The complement of the input pulse is also connected to the RESET input of the latch. During the RESET of the input pulse, the latch is reset to a high output, thereby closing the input switch and connecting the sampling capacitor back to the output of the first integrator. 
     This invention can also be applicable to a two-sided junction as shown in FIG. 6. Take the simple case of a step p-n junction with p-type impurity concentration equal to N a  and n-type impurity concentration equal to N d . Let the distance in p-type be x a  and n-type be x d . When a voltage is applied across the junction, the negative space charge region on the p-type region must be equal and opposite to the positive space charge region in the n-type region. ##EQU17## where W a  and W d  are edges of the depletion region. This integral of impurity concentration is equal to the electric field. If x A  represents the time, the relationship between x a  and x d  can be obtained by differentiating both sides of this equation, i.e., 
     
         N.sub.a =N.sub.d (dx.sub.d /dx.sub.a).                     (11) 
    
     When ##EQU18## is further integrated to obtain V d , one must modify the variable which represents x 1 . One can change the variable as follows: ##EQU19## From equation (11), 
     
         dx.sub.d /dx.sub.a =N.sub.a /N.sub.d.                      (13) 
    
     This quantity can be obtained with a divider. An overall scheme is shown in FIG. 7. The top half of the diagram within the dotted block B 1  is the same as the block diagram shown in FIG. 1. The output voltage V 01  represents the voltage drop across the depletion layer in one side of the junction, say, the n-region. The lower dotted block is the solution of the Poisson equation for the other side of the junction n-region. This block includes a divider D 2  and a multiplier M 2 . As explained previously, the divider divides N a  by N d  to obtain the value dx d  /dx a . The derivative is then multiplied by V a  to obtain V d . This signal is then in the same manner as V a  in the upper block through a sample-hold circuit S/H 2 , an integrator Int 3, and a summing amplifier SUM2. V a  and V a  represent the voltage drops across each side of the junction. The sum is the total voltage V t  across the junction. When the total voltage is adjusted to be equal to the applied voltage, the solution is found.